Gold theme
Style sheet path:
node_modules/eunomia-elements/styles/themes/prebuilt-themes/gold/eunomia-gold.theme.scss
Class names:
eunomia-gold-theme
eunomia-gold-theme--dark
Sass import:
@include eunomia-gold-theme();
@include eunomia-gold-dark-theme();
On this site, select "Gold" from the toolbar's theme
picker to preview it live: every swatch below is instead scoped to
this theme directly (via data-brand="gold"), so it
always shows Gold's real colors regardless of what's
active in the toolbar.
Primary & secondary
light
| 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 950 | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Primary | #e3cf8f | #ddc477 | #d7ba5f | #cfad41 | #cca834 | #c9a227 | #bd9825 | #b18f22 | #95781d | #7f6619 | #695414 |
| Secondary | #8499ab | #6a839a | #506d88 | #2e5271 | #204668 | #123a5e | #113758 | #103353 | #0d2b46 | #0b253b | #091e31 |
dark
| 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 950 | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Primary | #6a5922 | #806b2a | #977e31 | #b3963b | #c0a13e | #ccab42 | #cfaf4d | #d2b559 | #d9c073 | #dec988 | #e5d39c |
| Secondary | #576978 | #697e91 | #7b94ab | #93b2cc | #9cbdda | #a7c9e7 | #accde9 | #b1cfea | #bdd7ee | #c8def0 | #d1e3f3 |
Grey scale
Shared shape across every theme; only the primary/secondary hue above actually changes per brand.
light
| 0 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 |
|---|---|---|---|---|---|---|---|---|---|
grey-0 | grey-100 | grey-200 | grey-300 | grey-400 | grey-500 | grey-600 | grey-700 | grey-800 | grey-900 |
dark
| 0 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 |
|---|---|---|---|---|---|---|---|---|---|
grey-0 | grey-100 | grey-200 | grey-300 | grey-400 | grey-500 | grey-600 | grey-700 | grey-800 | grey-900 |
Semantic states
Success/warning/critical/info: identical across every theme (they're
brand-independent), but not across modes. -100 is the opaque
anchor (computed separately per mode so it clears WCAG AA against
that mode's surface), and -90/-50/-30 are alpha overlays of the
light-mode anchor, reading correctly on both surfaces from the same
declaration. See
light
| 100 | 90 | 50 | 30 | |
|---|---|---|---|---|
| Success | ||||
| Warning | ||||
| Critical | ||||
| Info |
dark
| 100 | 90 | 50 | 30 | |
|---|---|---|---|---|
| Success | ||||
| Warning | ||||
| Critical | ||||
| Info |
Neutral tokens
Surface, text, and border tokens, also shared across every theme.
light
--eun-surface-color | |
--eun-text-color | |
--eun-text-secondary | |
--eun-border-color | |
--eun-disabled-color |
dark
--eun-surface-color | |
--eun-text-color | |
--eun-text-secondary | |
--eun-border-color | |
--eun-disabled-color |
Surface tint
Unlike the neutral tokens above, these mix a small amount of this
theme's own primary-500 into the surface/border/hover tokens — opt-in
for when a component wants to read as "Gold" rather than
neutral. See
light
--eun-surface-tint | |
--eun-border-tint | |
--eun-content-hover-tint | |
--eun-content-pressed-tint |
dark
--eun-surface-tint | |
--eun-border-tint | |
--eun-content-hover-tint | |
--eun-content-pressed-tint |
Decorative scales
Static accents (tags, charts, illustrations): 7 steps, brand-independent
but not mode-independent, each hue's dark variant inverts the light
scale's lightness curve so 100/700 stay usable as a
background/foreground pair on a dark surface. Full chart on
light
| 100 | 200 | 300 | 400 | 500 | 600 | 700 | |
|---|---|---|---|---|---|---|---|
| Red | |||||||
| Purple | |||||||
| Yellow | |||||||
| Blue | |||||||
| Green | |||||||
| Pink |
dark
| 100 | 200 | 300 | 400 | 500 | 600 | 700 | |
|---|---|---|---|---|---|---|---|
| Red | |||||||
| Purple | |||||||
| Yellow | |||||||
| Blue | |||||||
| Green | |||||||
| Pink |
All decorative/state/grey/neutral tables above render with this
theme's own compiled CSS (via data-brand="gold"),
not the toolbar's current selection. See