| | |
| | | fill: themeMode === 'dark' ? '#f1f2f6' : '#1e272e', |
| | | fontSize: Math.max(16, 22 / currentScale), |
| | | fontWeight: 600, |
| | | letterSpacing: 0.5, |
| | | stroke: themeMode === 'dark' ? '#1e272e' : '#ffffff', |
| | | strokeThickness: Math.max(1, 2 / currentScale), |
| | | dropShadow: true, |
| | | dropShadowColor: themeMode === 'dark' ? '#00000066' : '#95a5a6', |
| | | dropShadowBlur: 1.5, |
| | | dropShadowAngle: Math.PI / 4, |
| | | dropShadowDistance: 2, |
| | | letterSpacing: 10, |
| | | // stroke: themeMode === 'dark' ? '#1e272e' : '#ffffff', |
| | | // strokeThickness: Math.max(1, 2 / currentScale), |
| | | // dropShadow: true, |
| | | // dropShadowColor: themeMode === 'dark' ? '#00000066' : '#95a5a6', |
| | | // dropShadowBlur: 1.5, |
| | | // dropShadowAngle: Math.PI / 4, |
| | | // dropShadowDistance: 2, |
| | | }); |
| | | const label = new PIXI.Text(text ?? '', labelStyle); |
| | | label.anchor.set(0.5); |