| 1 | // Temas de color. Cada tema define la paleta completa de la escena y de la |
| 2 | // UI (variables CSS). Los temas `light: true` cambian el blending aditivo |
| 3 | // por normal (sobre fondo claro lo aditivo desaparece) y contienen el bloom. |
| 4 | // |
| 5 | // Campos: |
| 6 | // roleColor aristas por nivel · hi: color HDR de resaltado de aristas |
| 7 | // fileBase/fileHi celdas de fichero (reposo / seleccionada) |
| 8 | // glass/glassHi cristal fresnel (reposo / encendido) |
| 9 | // ground placa de circuito: fondo, rejilla y pistas A/B con sus pads |
| 10 | // facade texto del árbol impreso en fachada |
| 11 | // labels serigrafiados de leyenda (distrito / urbanización / tejado) |
| 12 | // beam/fill/slab haces blast · rellenos encendidos · forjados |
| 13 | // css variables de la interfaz (--cyan, --panel-bg, …) |
| 14 | |
| 15 | export const THEMES = { |
| 16 | hacker: { |
| 17 | label: 'Hacker', |
| 18 | light: false, |
| 19 | background: 0x020309, fog: 0x030510, |
| 20 | bloom: { strength: 0.65, threshold: 0.85 }, |
| 21 | roleColor: { |
| 22 | distrito: [0.16, 0.07, 0.30], urbanizacion: [0.13, 0.09, 0.30], |
| 23 | edificio: [0.10, 0.30, 0.36], planta: [0.06, 0.20, 0.26], |
| 24 | apartamento: [0.05, 0.16, 0.21], habitacion: [0.045, 0.13, 0.18], |
| 25 | archivador: [0.04, 0.11, 0.15], cajon: [0.035, 0.10, 0.13], |
| 26 | }, |
| 27 | hi: [0.28, 3.0, 3.6], |
| 28 | fileBase: [0.05, 0.22, 0.28], fileHi: [1.0, 5.0, 6.0], |
| 29 | glass: [0.12, 0.55, 0.65], glassHi: [0.3, 2.4, 2.8], |
| 30 | ground: { |
| 31 | bg: '#04050b', grid: 'rgba(50, 80, 140, 0.07)', |
| 32 | traceA: [112, 60, 235], traceB: [40, 200, 235], |
| 33 | padA: [170, 120, 255], padB: [120, 240, 255], |
| 34 | }, |
| 35 | facade: { |
| 36 | text: 'rgba(140, 232, 250, 0.72)', hot: '#c8ffff', |
| 37 | hotGlow: 'rgba(0,255,255,0.9)', hotBg: 'rgba(0,255,255,0.16)', |
| 38 | }, |
| 39 | labels: { district: '#a86cff', urb: '#8a7bff', building: '#49e8ff' }, |
| 40 | beam: [2.6, 1.1, 0.25], beamIn: [3.4, 0.5, 0.8], fill: [0.08, 0.75, 0.95], slab: [0.1, 0.5, 0.6], |
| 41 | gitColors: { M: [0.95, 0.65, 0.10], A: [0.15, 0.85, 0.45], U: [0.20, 0.90, 0.30], R: [0.30, 0.55, 1.00], D: [1.00, 0.25, 0.25] }, |
| 42 | ownerHsl: { s: 0.85, l: 0.55, offset: 24 }, |
| 43 | css: { |
| 44 | cyan: '#2ee6ff', 'cyan-dim': 'rgba(46, 230, 255, 0.55)', |
| 45 | 'panel-bg': 'rgba(3, 10, 16, 0.82)', 'panel-border': 'rgba(46, 230, 255, 0.22)', |
| 46 | text: '#bfeef6', |
| 47 | }, |
| 48 | }, |
| 49 | |
| 50 | factorial: { |
| 51 | label: 'Factorial', |
| 52 | // solo los dos colores de marca sobre fondo oscuro: radical red #E51943 |
| 53 | // dominante y verde #007C85 como secundario estructural |
| 54 | light: false, |
| 55 | uiLight: true, // paneles de la interfaz en claro |
| 56 | background: 0x0e0309, fog: 0x140510, |
| 57 | bloom: { strength: 0.65, threshold: 0.85 }, |
| 58 | roleColor: { |
| 59 | distrito: [0.00, 0.30, 0.33], urbanizacion: [0.02, 0.26, 0.29], |
| 60 | edificio: [0.46, 0.07, 0.15], planta: [0.34, 0.06, 0.12], |
| 61 | apartamento: [0.28, 0.06, 0.11], habitacion: [0.22, 0.07, 0.11], |
| 62 | archivador: [0.16, 0.09, 0.11], cajon: [0.10, 0.11, 0.12], |
| 63 | }, |
| 64 | hi: [3.8, 0.42, 1.1], |
| 65 | fileBase: [0.34, 0.05, 0.11], fileHi: [4.8, 0.5, 1.4], |
| 66 | glass: [0.55, 0.10, 0.20], glassHi: [2.6, 0.30, 0.85], |
| 67 | ground: { |
| 68 | bg: '#0c0207', grid: 'rgba(229, 25, 67, 0.07)', |
| 69 | traceA: [229, 25, 67], traceB: [0, 156, 167], |
| 70 | padA: [255, 90, 125], padB: [60, 200, 210], |
| 71 | }, |
| 72 | facade: { |
| 73 | text: 'rgba(255, 150, 175, 0.72)', hot: '#ffd0da', |
| 74 | hotGlow: 'rgba(229,25,67,0.9)', hotBg: 'rgba(229,25,67,0.18)', |
| 75 | }, |
| 76 | labels: { district: '#00b8c4', urb: '#2cc5cf', building: '#ff4a6e' }, |
| 77 | beam: [3.2, 0.6, 0.9], beamIn: [0.4, 2.6, 2.8], fill: [0.95, 0.15, 0.35], slab: [0.45, 0.10, 0.18], |
| 78 | gitColors: { M: [1.00, 0.25, 0.40], A: [0.20, 0.95, 0.85], U: [0.00, 0.85, 0.90], R: [0.95, 0.85, 0.90], D: [0.60, 0.05, 0.10] }, |
| 79 | ownerHsl: { s: 0.70, l: 0.60, offset: 340 }, |
| 80 | css: { |
| 81 | cyan: '#E51943', 'cyan-dim': 'rgba(229, 25, 67, 0.55)', |
| 82 | 'panel-bg': 'rgba(252, 251, 249, 0.88)', 'panel-border': 'rgba(0, 124, 133, 0.35)', |
| 83 | text: '#16444a', |
| 84 | }, |
| 85 | }, |
| 86 | |
| 87 | synthwave: { |
| 88 | label: 'Synthwave', |
| 89 | light: false, |
| 90 | background: 0x0d0221, fog: 0x190b33, |
| 91 | bloom: { strength: 0.8, threshold: 0.8 }, |
| 92 | roleColor: { |
| 93 | distrito: [0.30, 0.05, 0.25], urbanizacion: [0.26, 0.06, 0.24], |
| 94 | edificio: [0.36, 0.08, 0.30], planta: [0.26, 0.06, 0.22], |
| 95 | apartamento: [0.22, 0.05, 0.18], habitacion: [0.18, 0.05, 0.15], |
| 96 | archivador: [0.15, 0.04, 0.12], cajon: [0.12, 0.04, 0.10], |
| 97 | }, |
| 98 | hi: [3.6, 0.5, 2.2], |
| 99 | fileBase: [0.30, 0.10, 0.05], fileHi: [5.0, 2.2, 0.4], |
| 100 | glass: [0.55, 0.15, 0.45], glassHi: [2.8, 0.5, 1.8], |
| 101 | ground: { |
| 102 | bg: '#0c0220', grid: 'rgba(255, 80, 180, 0.06)', |
| 103 | traceA: [255, 60, 170], traceB: [255, 150, 40], |
| 104 | padA: [255, 130, 210], padB: [255, 200, 90], |
| 105 | }, |
| 106 | facade: { |
| 107 | text: 'rgba(255, 170, 220, 0.70)', hot: '#ffd9f0', |
| 108 | hotGlow: 'rgba(255,80,200,0.9)', hotBg: 'rgba(255,80,200,0.16)', |
| 109 | }, |
| 110 | labels: { district: '#ff9a3c', urb: '#ff7bd5', building: '#ff4fc3' }, |
| 111 | beam: [3.2, 1.4, 0.2], beamIn: [0.5, 2.8, 1.2], fill: [0.95, 0.20, 0.65], slab: [0.5, 0.12, 0.4], |
| 112 | gitColors: { M: [1.00, 0.60, 0.10], A: [0.20, 0.90, 0.60], U: [0.30, 1.00, 0.75], R: [0.50, 0.70, 1.00], D: [1.00, 0.20, 0.30] }, |
| 113 | ownerHsl: { s: 0.90, l: 0.65, offset: 300 }, |
| 114 | css: { |
| 115 | cyan: '#ff4fc3', 'cyan-dim': 'rgba(255, 79, 195, 0.55)', |
| 116 | 'panel-bg': 'rgba(16, 3, 34, 0.84)', 'panel-border': 'rgba(255, 79, 195, 0.28)', |
| 117 | text: '#ffd6ef', |
| 118 | }, |
| 119 | }, |
| 120 | |
| 121 | matrix: { |
| 122 | label: 'Matrix', |
| 123 | light: false, |
| 124 | background: 0x010401, fog: 0x021006, |
| 125 | bloom: { strength: 0.7, threshold: 0.85 }, |
| 126 | roleColor: { |
| 127 | distrito: [0.04, 0.22, 0.06], urbanizacion: [0.04, 0.20, 0.06], |
| 128 | edificio: [0.06, 0.34, 0.10], planta: [0.04, 0.24, 0.07], |
| 129 | apartamento: [0.035, 0.20, 0.06], habitacion: [0.03, 0.16, 0.05], |
| 130 | archivador: [0.025, 0.13, 0.04], cajon: [0.02, 0.11, 0.035], |
| 131 | }, |
| 132 | hi: [0.5, 3.8, 0.9], |
| 133 | fileBase: [0.06, 0.26, 0.08], fileHi: [1.2, 6.0, 1.6], |
| 134 | glass: [0.10, 0.55, 0.18], glassHi: [0.4, 2.8, 0.7], |
| 135 | ground: { |
| 136 | bg: '#020703', grid: 'rgba(40, 140, 60, 0.08)', |
| 137 | traceA: [30, 160, 60], traceB: [120, 230, 120], |
| 138 | padA: [80, 220, 100], padB: [190, 255, 190], |
| 139 | }, |
| 140 | facade: { |
| 141 | text: 'rgba(140, 250, 160, 0.72)', hot: '#d8ffd8', |
| 142 | hotGlow: 'rgba(60,255,120,0.9)', hotBg: 'rgba(60,255,120,0.14)', |
| 143 | }, |
| 144 | labels: { district: '#3fcf6a', urb: '#5fdf85', building: '#8cfa9f' }, |
| 145 | beam: [2.4, 3.0, 0.3], beamIn: [3.4, 1.2, 0.3], fill: [0.15, 0.9, 0.3], slab: [0.08, 0.45, 0.14], |
| 146 | gitColors: { M: [1.00, 0.85, 0.20], A: [0.25, 0.90, 0.35], U: [0.40, 1.00, 0.45], R: [0.80, 1.00, 0.80], D: [1.00, 0.30, 0.20] }, |
| 147 | ownerHsl: { s: 0.60, l: 0.60, offset: 90 }, |
| 148 | css: { |
| 149 | cyan: '#41ff7a', 'cyan-dim': 'rgba(65, 255, 122, 0.55)', |
| 150 | 'panel-bg': 'rgba(2, 12, 5, 0.84)', 'panel-border': 'rgba(65, 255, 122, 0.25)', |
| 151 | text: '#c0f5cc', |
| 152 | }, |
| 153 | }, |
| 154 | |
| 155 | glaciar: { |
| 156 | label: 'Glaciar', |
| 157 | light: false, |
| 158 | background: 0x050a14, fog: 0x081020, |
| 159 | bloom: { strength: 0.6, threshold: 0.87 }, |
| 160 | roleColor: { |
| 161 | distrito: [0.08, 0.14, 0.34], urbanizacion: [0.08, 0.13, 0.30], |
| 162 | edificio: [0.16, 0.30, 0.46], planta: [0.11, 0.22, 0.36], |
| 163 | apartamento: [0.09, 0.18, 0.30], habitacion: [0.08, 0.15, 0.25], |
| 164 | archivador: [0.07, 0.13, 0.21], cajon: [0.06, 0.11, 0.18], |
| 165 | }, |
| 166 | hi: [1.8, 2.8, 4.2], |
| 167 | fileBase: [0.14, 0.20, 0.30], fileHi: [3.0, 4.5, 6.5], |
| 168 | glass: [0.30, 0.45, 0.65], glassHi: [1.2, 2.0, 3.0], |
| 169 | ground: { |
| 170 | bg: '#060c18', grid: 'rgba(120, 160, 220, 0.07)', |
| 171 | traceA: [70, 120, 230], traceB: [200, 225, 255], |
| 172 | padA: [130, 180, 255], padB: [240, 248, 255], |
| 173 | }, |
| 174 | facade: { |
| 175 | text: 'rgba(200, 225, 255, 0.72)', hot: '#ffffff', |
| 176 | hotGlow: 'rgba(170,210,255,0.95)', hotBg: 'rgba(170,210,255,0.16)', |
| 177 | }, |
| 178 | labels: { district: '#7aa2ff', urb: '#9ab8ff', building: '#cfe2ff' }, |
| 179 | beam: [2.8, 2.2, 0.8], beamIn: [3.4, 0.8, 0.6], fill: [0.45, 0.65, 1.0], slab: [0.25, 0.38, 0.6], |
| 180 | gitColors: { M: [1.00, 0.70, 0.30], A: [0.40, 0.85, 0.95], U: [0.50, 0.95, 1.00], R: [0.60, 0.70, 1.00], D: [1.00, 0.35, 0.35] }, |
| 181 | ownerHsl: { s: 0.65, l: 0.65, offset: 200 }, |
| 182 | css: { |
| 183 | cyan: '#9cc8ff', 'cyan-dim': 'rgba(156, 200, 255, 0.55)', |
| 184 | 'panel-bg': 'rgba(5, 12, 24, 0.84)', 'panel-border': 'rgba(156, 200, 255, 0.25)', |
| 185 | text: '#dbe9ff', |
| 186 | }, |
| 187 | }, |
| 188 | }; |