Eunomia v1.0.0-beta.2
AllAngularReactNext.jsJavaScriptVue
EunomiaSalmonForestVioletOceanGoldFireCustom…
🇬🇧 English🇫🇷 Français

Violet theme

Style sheet path:

node_modules/eunomia-elements/styles/themes/prebuilt-themes/violet/eunomia-violet.theme.scss

Class names:

eunomia-violet-theme
eunomia-violet-theme--dark

Sass import:

@include eunomia-violet-theme();
@include eunomia-violet-dark-theme();

On this site, select "Violet" from the toolbar's theme picker to preview it live: every swatch below is instead scoped to this theme directly (via data-brand="violet"), so it always shows Violet's real colors regardless of what's active in the toolbar.

Primary & secondary

light

50100200300400500600700800900950
Primary
#b38feb
#a378e7
#9360e3
#7f42de
#7635db
#6d28d9
#6626cc
#6023bf
#511ea1
#451989
#391571
Secondary
#82d0d0
#67c6c6
#4dbcbc
#2bb0af
#1caaa9
#0ea5a4
#0d9b9a
#0c9190
#0a7a79
#096867
#075655

dark

50100200300400500600700800900950
Primary
#3a1b69
#45207f
#512695
#612db1
#6830be
#8b5bd5
#763fcd
#804cd0
#9368d7
#a47ede
#b495e3
Secondary
#357777
#409191
#4baaaa
#59cac9
#60d8d8
#65e6e5
#6fe7e7
#78e9e8
#8dedec
#9eefee
#aff2f1

Grey scale

Shared shape across every theme; only the primary/secondary hue above actually changes per brand.

light

0100200300400500600700800900
grey-0
grey-100
grey-200
grey-300
grey-400
grey-500
grey-600
grey-700
grey-800
grey-900

dark

0100200300400500600700800900
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 & dark via transparency.

light

100905030
Success
 
 
 
 
Warning
 
 
 
 
Critical
 
 
 
 
Info
 
 
 
 

dark

100905030
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 "Violet" rather than neutral. See Foundations: Neutral tokens.

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 Foundations: Color.

light

100200300400500600700
Red
 
 
 
 
 
 
 
Purple
 
 
 
 
 
 
 
Yellow
 
 
 
 
 
 
 
Blue
 
 
 
 
 
 
 
Green
 
 
 
 
 
 
 
Pink
 
 
 
 
 
 
 

dark

100200300400500600700
Red
 
 
 
 
 
 
 
Purple
 
 
 
 
 
 
 
Yellow
 
 
 
 
 
 
 
Blue
 
 
 
 
 
 
 
Green
 
 
 
 
 
 
 
Pink
 
 
 
 
 
 
 

All decorative/state/grey/neutral tables above render with this theme's own compiled CSS (via data-brand="violet"), not the toolbar's current selection. See all prebuilt themes or Foundations: Color for the brand-independent reference.