feat(ui,manager): looks: light / dark / device, palettes and styles, chosen in the manager's profile menu (platform-v2 step 6.15)
- @xenia/ui theme.js: a look = mode (light | dark | system) + palette (data-palette) + style (data-style); applyLook / getStoredLook (per device), 'system' resolved with matchMedia and followed live, so a palette is just a light and a dark token block; applyTheme kept for older callers (keeps palette and style) - tokens.css: 'Palettes' (first: Nord, light + dark, every colour and the nav rail) and 'Styles' (first: sharp: small corners, 1.5px borders, flat cards); --x-border-width used by every component and Tailwind's 'border' - contrast test: every palette in both modes (+ the nav rail); it caught the default rail's active item at 3.7:1 -> 5.5:1 - manager: the saved look applied at start (was light only); profile menu -> Look: Light / Dark / Device, Colours (Xenia, Nord), Shapes (Rounded, Sharp), applied at once and kept on this device - e2e: manager_look.mjs (every page in light and dark, no large near-white area in dark, contact sheets; 'nord-sharp' adds that look; in run-all), manager.mjs 'look:' (dark at once, kept after a reload, Device follows the device) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -76,6 +76,23 @@
|
||||
"mismatch": "Οι δύο κωδικοί δεν ταιριάζουν.",
|
||||
"pin": "4 έως 6 ψηφία.",
|
||||
"pinMismatch": "Τα δύο PIN δεν ταιριάζουν."
|
||||
},
|
||||
"look": "Εμφάνιση",
|
||||
"mode": "Φωτεινή ή σκοτεινή",
|
||||
"modes": {
|
||||
"light": "Φωτεινή",
|
||||
"dark": "Σκοτεινή",
|
||||
"system": "Συσκευής"
|
||||
},
|
||||
"palette": "Χρώματα",
|
||||
"palettes": {
|
||||
"default": "Xenia",
|
||||
"nord": "Nord"
|
||||
},
|
||||
"style": "Σχήματα",
|
||||
"styles": {
|
||||
"rounded": "Στρογγυλά",
|
||||
"sharp": "Γωνιώδη"
|
||||
}
|
||||
},
|
||||
"login": {
|
||||
|
||||
Reference in New Issue
Block a user