@almadar/ui 2.1.3 → 2.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -168,9 +168,160 @@
168
168
  }
169
169
 
170
170
  /* ==========================================================================
171
- * LIGHT MODE (alias to dark game has no light mode)
171
+ * LIGHT MODE — "Sunlit Manuscript"
172
+ *
173
+ * Warm parchment surfaces, dark-ink text, gold accents retained.
174
+ * Surface hierarchy (lightest → darkest):
175
+ * background → card/surface → elevated (hover) → muted
172
176
  * ========================================================================== */
173
177
  [data-theme="trait-wars-light"] {
174
- /* Trait Wars is dark-only. Light selector inherits dark values so the
175
- theme switcher doesn't break if someone selects "light". */
178
+ /* Shadows warm sepia */
179
+ --shadow-main:
180
+ 0 4px 14px rgba(139, 115, 85, 0.12), 0 1px 3px rgba(0, 0, 0, 0.06);
181
+ --shadow-sm: 0 2px 4px rgba(139, 115, 85, 0.08);
182
+ --shadow-lg:
183
+ 0 8px 30px rgba(139, 115, 85, 0.16), 0 4px 10px rgba(0, 0, 0, 0.06);
184
+ --shadow-inner: inset 0 1px 3px rgba(0, 0, 0, 0.08);
185
+ --shadow-none: none;
186
+ --shadow-hover:
187
+ 0 12px 40px rgba(139, 115, 85, 0.20), 0 4px 12px rgba(201, 168, 76, 0.10);
188
+ --shadow-active: 0 2px 8px rgba(139, 115, 85, 0.12);
189
+
190
+ /* Border radius — same as dark */
191
+ --radius-none: 0px;
192
+ --radius-sm: 4px;
193
+ --radius-md: 6px;
194
+ --radius-lg: 8px;
195
+ --radius-xl: 12px;
196
+ --radius-full: 9999px;
197
+
198
+ /* Border width */
199
+ --border-width: 1px;
200
+ --border-width-thin: 1px;
201
+ --border-width-thick: 2px;
202
+
203
+ /* ======================================================================
204
+ * CORE COLORS
205
+ * ====================================================================== */
206
+
207
+ /* Primary — Deep gold (darker for contrast on light surfaces) */
208
+ --color-primary: #9e7e1e;
209
+ --color-primary-hover: #b8940f;
210
+ --color-primary-foreground: #faf6ee;
211
+
212
+ /* Secondary — Light parchment */
213
+ --color-secondary: #f0e8d8;
214
+ --color-secondary-hover: #e6dbc4;
215
+ --color-secondary-foreground: #3a2f22;
216
+
217
+ /* Accent — Teal resonance (same hue, darker for contrast) */
218
+ --color-accent: #0d9488;
219
+ --color-accent-foreground: #faf6ee;
220
+
221
+ /* Muted — Faded parchment */
222
+ --color-muted: #ede4d0;
223
+ --color-muted-foreground: #7a6a50;
224
+
225
+ /* Surfaces — warm parchment hierarchy */
226
+ --color-background: #faf6ee;
227
+ --color-foreground: #2a1f14;
228
+ --color-card: #ffffff;
229
+ --color-card-foreground: #2a1f14;
230
+ --color-surface: #f5efe3;
231
+
232
+ /* Borders & Inputs */
233
+ --color-border: #d4c4a8;
234
+ --color-input: #e6dbc4;
235
+ --color-ring: #9e7e1e;
236
+
237
+ /* Semantic colors — warm-shifted for parchment */
238
+ --color-error: #b91c1c;
239
+ --color-error-foreground: #faf6ee;
240
+ --color-success: #15803d;
241
+ --color-success-foreground: #faf6ee;
242
+ --color-warning: #b45309;
243
+ --color-warning-foreground: #2a1f14;
244
+ --color-info: #0d9488;
245
+ --color-info-foreground: #faf6ee;
246
+
247
+ /* ======================================================================
248
+ * GAME-SPECIFIC TOKENS
249
+ * ====================================================================== */
250
+
251
+ /* Gold hierarchy (dark → light for light mode) */
252
+ --tw-gold: #9e7e1e;
253
+ --tw-gold-mid: #b8940f;
254
+ --tw-gold-dim: #d4c4a8;
255
+ --tw-gold-dark: #e6dbc4;
256
+
257
+ /* Text hierarchy (dark → light) */
258
+ --tw-text-primary: #2a1f14;
259
+ --tw-text-secondary: #5a4a36;
260
+ --tw-text-dim: #8a7a60;
261
+
262
+ /* Surface hierarchy (dark → light) */
263
+ --tw-surface-elevated: #f0e8d8;
264
+ --tw-surface-hover: #e6dbc4;
265
+
266
+ /* Faction: Resonator (player) */
267
+ --tw-faction-resonator: #7c3aed;
268
+ --tw-faction-resonator-glow: rgba(124, 58, 237, 0.15);
269
+
270
+ /* Faction: Dominion (enemy) */
271
+ --tw-faction-dominion: #b91c1c;
272
+ --tw-faction-dominion-glow: rgba(185, 28, 28, 0.15);
273
+
274
+ /* Faction: Neutral */
275
+ --tw-faction-neutral: #78716c;
276
+
277
+ /* Tier colors — slightly darker for light bg contrast */
278
+ --tw-tier-1: #7a6340;
279
+ --tw-tier-2: #808080;
280
+ --tw-tier-3: #9e7e1e;
281
+ --tw-tier-4: #b8940f;
282
+
283
+ /* Combat */
284
+ --tw-health: #b91c1c;
285
+ --tw-health-bg: rgba(185, 28, 28, 0.1);
286
+ --tw-heal: #15803d;
287
+ --tw-heal-bg: rgba(21, 128, 61, 0.1);
288
+ --tw-mana: #6d28d9;
289
+ --tw-mana-bg: rgba(109, 40, 217, 0.1);
290
+
291
+ /* ======================================================================
292
+ * TYPOGRAPHY
293
+ * ====================================================================== */
294
+ --font-family:
295
+ "Cinzel", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
296
+ --font-weight-normal: 400;
297
+ --font-weight-medium: 500;
298
+ --font-weight-bold: 700;
299
+ --letter-spacing: 0.01em;
300
+ --line-height: 1.5;
301
+
302
+ /* Icon styling — dark gold */
303
+ --icon-stroke-width: 1.75;
304
+ --icon-color: #9e7e1e;
305
+
306
+ /* Transitions */
307
+ --transition-fast: 150ms;
308
+ --transition-normal: 300ms;
309
+ --transition-slow: 500ms;
310
+ --transition-timing: cubic-bezier(0.4, 0, 0.2, 1);
311
+
312
+ /* Hover/Active transforms */
313
+ --hover-scale: 1.01;
314
+ --hover-translate-y: -1px;
315
+ --hover-translate-x: 0;
316
+ --active-scale: 0.99;
317
+ --active-translate-y: 0;
318
+
319
+ /* Focus ring — gold */
320
+ --focus-ring-width: 2px;
321
+ --focus-ring-offset: 2px;
322
+ --focus-ring-color: #9e7e1e;
323
+
324
+ /* Apply background and foreground colors */
325
+ background-color: var(--color-background);
326
+ color: var(--color-foreground);
176
327
  }