3 colors Colors
Colors come in layers: a palette, semantic tokens built from it, and components that read the tokens.
Palette. The ramps below (--color-blue-06, --color-graphite-03) live in the
nested SCSS map $colors and are emitted on :root as CSS variables by the
cssvars mixin. They are the same in every theme. In Sass, color('blue', '06')
returns a palette value at compile time, which the theme maps need for alpha mixes.
Semantic tokens. --color-text or --page-bg shows intent, where
--color-ink-09 doesn't. Each token has a light and a dark value, defined in the
two maps in config/themes/ and emitted by _theme.scss: the light map on :root and
[data-theme="light"], the dark map on [data-theme="dark"]. The build fails if the maps don't have the
same keys.
Components read semantic tokens only. Outside config/, stylelint rejects hex and
named colors, rgb() and hsl(), raw palette variables such as
var(--color-blue-06), and color(), except in the files exempted in
.stylelintrc. See the Theming section of docs/frontend.md.
The first sections below list the semantic color tokens. A swatch shows the token's
light value and its description gives the dark value. The palette ramps follow.
Shadows, filters, the focus ring, the inverse-surface gradient, and the protocol-*
tokens can't be shown as swatches, so they appear only in the theme maps.
../kitsune/sumo/static/sumo/scss/config/_color-swatches.scss, line 1
3.1 colors.surfaces Surfaces
Backgrounds for the page and the things on it. --color-inverse-bg is the dark ink
surface of inverse cards and banners; in the dark theme --surface-inverse-image
adds a gradient on top of it (none in light). In the dark theme, surfaces that pass
their background to an elevation mixin are painted with --surface-elevated-image
(graphite-06 to graphite-05) over --surface-elevated-bg (--card-bg); both are
initial in light, so those surfaces keep their own background.
-
var(--page-bg)#FFFFFFDark: #1C1E23 (graphite-03)
-
var(--card-bg)#FFFFFFDark: #282B32 (graphite-05)
-
var(--color-surface)#FFFFFFDark: #282B32 (graphite-05)
-
var(--color-surface-raised)#FFFFFFDark: #32353D (graphite-07)
-
var(--color-shade-bg)#F9F9FBDark: #22252A (graphite-04)
-
var(--color-callout-bg)#EDEDF0Dark: #22252A (graphite-04)
-
var(--color-field-bg)#FFFFFFDark: #16181D (graphite-02)
-
var(--color-link-active-bg)#EDEDF0Dark: #32353D (graphite-07)
-
var(--color-inverse-bg)#20133ADark: #322F5A
-
var(--color-moz-inverse-bg)#20123ADark: #20123A
../kitsune/sumo/static/sumo/scss/config/themes/_light.scss, line 4
3.2 colors.text Text
Text colors, including text on inverse surfaces (--color-inverse) and on accent
fills (--color-text-on-accent). The --color-moz-* tokens are Mozilla brand text.
-
var(--color-text)#42435ADark: #E0E0E6 (light-gray-04)
-
var(--color-text-light)#5E5E72Dark: #B7BBC1 (graphite-11)
-
var(--color-secondary)#7A7A8BDark: #B7BBC1 (graphite-11)
-
var(--color-heading)#20133ADark: #F9F9FB (light-gray-02)
-
var(--color-inverse)#FFFFFFDark: #F9F9FB (light-gray-02)
-
var(--color-text-on-accent)#FFFFFFDark: #FFFFFF
-
var(--color-moz-heading)#000000Dark: #F9F9FB (light-gray-02)
-
var(--color-moz-text)#000000Dark: #F9F9FB (light-gray-02)
../kitsune/sumo/static/sumo/scss/config/themes/_light.scss, line 29
3.3 colors.links Links
Link colors for the default, hover, and visited states, and the inverse variants
for links on inverse surfaces. --color-click and --color-link have the same value.
-
var(--color-link)#0060DFDark: #8FBEFA (azure-03)
-
var(--color-click)#0060DFDark: #8FBEFA (azure-03)
-
var(--color-link-hover)#0250BBDark: #B0D4FF (azure-02)
-
var(--color-link-visited)#B933E1Dark: #BFA9DB (lavender)
-
var(--color-link-inverse-visited)#F6B8FFDark: #BFA9DB (lavender)
-
var(--color-link-inverse-active-bg)rgba(237, 237, 240, 0.2)Dark: rgba(237, 237, 240, 0.2)
../kitsune/sumo/static/sumo/scss/config/themes/_light.scss, line 48
3.4 colors.accent Accent
Fills for primary actions, such as primary buttons. Text on these fills is
--color-text-on-accent.
-
var(--color-accent)#0060DFDark: #396ED6 (azure-04)
-
var(--color-accent-hover)#0250BBDark: #2D60C3 (azure-05)
-
var(--color-accent-active)#073072Dark: #2D60C3 (azure-05)
../kitsune/sumo/static/sumo/scss/config/themes/_light.scss, line 65
3.5 colors.borders Borders and fields
Dividers, control borders, and the states of form fields.
-
var(--color-border)#EDEDF0Dark: #3A3D43 (graphite-08)
-
var(--color-border-interactive)#CDCDD4Dark: #83868D (graphite-10)
-
var(--field-border-color-default)#9595A2Dark: #83868D (graphite-10)
-
var(--field-border-color-hover)#0250BBDark: #8FBEFA (azure-03)
-
var(--field-border-color-disabled)#CDCDD4Dark: #3A3D43 (graphite-08)
-
var(--field-background-color-disabled)#F9F9FADark: #22252A (graphite-04)
-
var(--field-color-disabled)#CDCDD4Dark: #5A5E66 (graphite-09)
-
var(--checkbox-checked-color)#0060DFDark: #396ED6 (azure-04)
../kitsune/sumo/static/sumo/scss/config/themes/_light.scss, line 79
3.6 colors.status Status
Feedback colors. The --status-*-bg and --status-*-text tokens are used in pairs.
In the light theme the -bg tokens are translucent over the page and the -text
tokens are opaque.
-
var(--color-success)#3FE1B0Dark: #83D5AD (sage-01)
-
var(--color-warning)#FFEA80Dark: #3B342B
-
var(--color-error)#FF6A75Dark: #FF9AA2 (red-03)
-
var(--color-error-hover)#E12850Dark: #FFBDC5 (red-02)
-
var(--status-info-bg)rgba(0, 96, 223, 0.08)Dark: #2A313D
-
var(--status-info-text)#0060DFDark: #8FBEFA (azure-03)
-
var(--status-success-bg)rgba(0, 135, 135, 0.1)Dark: #193729 (sage-02)
-
var(--status-pending-bg)rgba(255, 213, 103, 0.2)Dark: #3B342B
-
var(--status-pending-text)#CC3D00Dark: #F6BC5D
-
var(--status-neutral-bg)rgba(149, 149, 162, 0.12)Dark: #2E3035
-
var(--status-neutral-text)#5E5E72Dark: #B7BBC1 (graphite-11)
-
var(--status-error-bg)rgba(255, 79, 95, 0.08)Dark: #3C2C32
-
var(--status-error-text)#C50043Dark: #FF9AA2 (red-03)
../kitsune/sumo/static/sumo/scss/config/themes/_light.scss, line 97
3.7 colors.green Green
-
var(--color-green-01)#E3FFF3color('green', '01')
-
var(--color-green-02)#D1FFEEcolor('green', '02')
-
var(--color-green-03)#B3FFE3color('green', '03')
-
var(--color-green-04)#87FFD1color('green', '04')
-
var(--color-green-05)#53FFBCcolor('green', '05')
-
var(--color-green-06)#3FE1B0color('green', '06')
-
var(--color-green-07)#2AC3A2color('green', '07')
-
var(--color-green-08)#008787color('green', '08')
-
var(--color-green-09)#005E5Ecolor('green', '09')
-
var(--color-green-10)#084036color('green', '10')
../kitsune/sumo/static/sumo/scss/config/_color-swatches.scss, line 32
3.8 colors.blue Blue
-
var(--color-blue-01)#ABF2FFcolor('blue', '01')
-
var(--color-blue-02)#80EBFFcolor('blue', '02')
-
var(--color-blue-03)#00DDFFcolor('blue', '03')
-
var(--color-blue-04)#00B3F4color('blue', '04')
-
var(--color-blue-05)#0090EDcolor('blue', '05')
-
var(--color-blue-06)#0060DFcolor('blue', '06')
-
var(--color-blue-07)#0250BBcolor('blue', '07')
-
var(--color-blue-08)#054096color('blue', '08')
-
var(--color-blue-09)#073072color('blue', '09')
-
var(--color-blue-10)#0A204Dcolor('blue', '10')
../kitsune/sumo/static/sumo/scss/config/_color-swatches.scss, line 61
3.9 colors.violet Violet
-
var(--color-violet-01)#E7DFFFcolor('violet', '01')
-
var(--color-violet-02)#D9BFFFcolor('violet', '02')
-
var(--color-violet-03)#CB9EFFcolor('violet', '03')
-
var(--color-violet-04)#C688FFcolor('violet', '04')
-
var(--color-violet-05)#AB71FFcolor('violet', '05')
-
var(--color-violet-06)#9059FFcolor('violet', '06')
-
var(--color-violet-07)#7542E4color('violet', '07')
-
var(--color-violet-08)#592ACBcolor('violet', '08')
-
var(--color-violet-09)#45278Dcolor('violet', '09')
-
var(--color-violet-10)#321C64color('violet', '10')
../kitsune/sumo/static/sumo/scss/config/_color-swatches.scss, line 90
3.10 colors.purple Purple
-
var(--color-purple-01)#F7E2FFcolor('purple', '01')
-
var(--color-purple-02)#F6B8FFcolor('purple', '02')
-
var(--color-purple-03)#F68FFFcolor('purple', '03')
-
var(--color-purple-04)#F564FFcolor('purple', '04')
-
var(--color-purple-05)#D74CF0color('purple', '05')
-
var(--color-purple-06)#B933E1color('purple', '06')
-
var(--color-purple-07)#952BB9color('purple', '07')
-
var(--color-purple-08)#722291color('purple', '08')
-
var(--color-purple-09)#4E1A6Acolor('purple', '09')
-
var(--color-purple-10)#2B1141color('purple', '10')
../kitsune/sumo/static/sumo/scss/config/_color-swatches.scss, line 119
3.11 colors.pink Pink
-
var(--color-pink-01)#FFDFF0color('pink', '01')
-
var(--color-pink-02)#FFB4DCcolor('pink', '02')
-
var(--color-pink-03)#FF8AC6color('pink', '03')
-
var(--color-pink-04)#FF6BBAcolor('pink', '04')
-
var(--color-pink-05)#FF4AA2color('pink', '05')
-
var(--color-pink-06)#FF2A8Acolor('pink', '06')
-
var(--color-pink-07)#E21587color('pink', '07')
-
var(--color-pink-08)#C60184color('pink', '08')
-
var(--color-pink-09)#7F155Bcolor('pink', '09')
-
var(--color-pink-10)#50134Bcolor('pink', '10')
../kitsune/sumo/static/sumo/scss/config/_color-swatches.scss, line 148
3.12 colors.red Red
-
var(--color-red-01)#FFDFE7color('red', '01')
-
var(--color-red-02)#FFBDC5color('red', '02')
-
var(--color-red-03)#FF9AA2color('red', '03')
-
var(--color-red-04)#FF848Bcolor('red', '04')
-
var(--color-red-05)#FF6A75color('red', '05')
-
var(--color-red-06)#FF4F5Fcolor('red', '06')
-
var(--color-red-07)#E12850color('red', '07')
-
var(--color-red-08)#C50043color('red', '08')
-
var(--color-red-09)#810220color('red', '09')
-
var(--color-red-10)#440306color('red', '10')
../kitsune/sumo/static/sumo/scss/config/_color-swatches.scss, line 177
3.13 colors.orange Orange
-
var(--color-orange-01)#FFF4DEcolor('orange', '01')
-
var(--color-orange-02)#FFD5B2color('orange', '02')
-
var(--color-orange-03)#FFB587color('orange', '03')
-
var(--color-orange-04)#FFA266color('orange', '04')
-
var(--color-orange-05)#FF8A50color('orange', '05')
-
var(--color-orange-06)#FF7139color('orange', '06')
-
var(--color-orange-07)#E25820color('orange', '07')
-
var(--color-orange-08)#CC3D00color('orange', '08')
-
var(--color-orange-09)#9E280Bcolor('orange', '09')
-
var(--color-orange-10)#7B1504color('orange', '10')
../kitsune/sumo/static/sumo/scss/config/_color-swatches.scss, line 206
3.14 colors.yellow Yellow
-
var(--color-yellow-01)#FFFFCCcolor('yellow', '01')
-
var(--color-yellow-02)#FFFF98color('yellow', '02')
-
var(--color-yellow-03)#FFEA80color('yellow', '03')
-
var(--color-yellow-04)#FFD567color('yellow', '04')
-
var(--color-yellow-05)#FFBD4Fcolor('yellow', '05')
-
var(--color-yellow-06)#FFA437color('yellow', '06')
-
var(--color-yellow-07)#E27F2Ecolor('yellow', '07')
-
var(--color-yellow-08)#C45A27color('yellow', '08')
-
var(--color-yellow-09)#A7341Fcolor('yellow', '09')
-
var(--color-yellow-10)#960E18color('yellow', '10')
../kitsune/sumo/static/sumo/scss/config/_color-swatches.scss, line 235
3.15 colors.light-gray Light Gray
-
var(--color-light-gray-01)#FFFFFFcolor('light-gray', '01')
-
var(--color-light-gray-02)#F9F9FBcolor('light-gray', '02')
-
var(--color-light-gray-03)#F0F0F4color('light-gray', '03')
-
var(--color-light-gray-04)#E0E0E6color('light-gray', '04')
-
var(--color-light-gray-05)#CFCFD8color('light-gray', '05')
-
var(--color-light-gray-06)#BFBFC9color('light-gray', '06')
-
var(--color-light-gray-07)#AFAFBAcolor('light-gray', '07')
-
var(--color-light-gray-08)#9F9FADcolor('light-gray', '08')
-
var(--color-light-gray-09)#8F8F9Ecolor('light-gray', '09')
-
var(--color-light-gray-10)#80808Fcolor('light-gray', '10')
../kitsune/sumo/static/sumo/scss/config/_color-swatches.scss, line 264
3.16 colors.dark-gray Dark Gray
-
var(--color-dark-gray-01)#5B5B66color('dark-gray', '01')
-
var(--color-dark-gray-02)#52525Ecolor('dark-gray', '02')
-
var(--color-dark-gray-03)#4A4A55color('dark-gray', '03')
-
var(--color-dark-gray-04)#42414Dcolor('dark-gray', '04')
-
var(--color-dark-gray-05)#3A3944color('dark-gray', '05')
-
var(--color-dark-gray-06)#32313Ccolor('dark-gray', '06')
-
var(--color-dark-gray-07)#2B2A33color('dark-gray', '07')
-
var(--color-dark-gray-08)#23222Bcolor('dark-gray', '08')
-
var(--color-dark-gray-09)#1C1B22color('dark-gray', '09')
-
var(--color-dark-gray-10)#15141Acolor('dark-gray', '10')
../kitsune/sumo/static/sumo/scss/config/_color-swatches.scss, line 293
3.17 colors.marketing-gray Marketing Gray
-
var(--color-marketing-gray-01)#F9F9FAcolor('marketing-gray', '01')
-
var(--color-marketing-gray-02)#EDEDF0color('marketing-gray', '02')
-
var(--color-marketing-gray-03)#CDCDD4color('marketing-gray', '03')
-
var(--color-marketing-gray-04)#B1B1BCcolor('marketing-gray', '04')
-
var(--color-marketing-gray-05)#9595A2color('marketing-gray', '05')
-
var(--color-marketing-gray-06)#7A7A8Bcolor('marketing-gray', '06')
-
var(--color-marketing-gray-07)#5E5E72color('marketing-gray', '07')
-
var(--color-marketing-gray-08)#42435Acolor('marketing-gray', '08')
-
var(--color-marketing-gray-09)#1F2033color('marketing-gray', '09')
-
var(--color-marketing-gray-10)#141422color('marketing-gray', '10')
../kitsune/sumo/static/sumo/scss/config/_color-swatches.scss, line 322
3.18 colors.ink Ink
-
var(--color-ink-01)#393473color('ink', '01')
-
var(--color-ink-02)#342F6Dcolor('ink', '02')
-
var(--color-ink-03)#312A64color('ink', '03')
-
var(--color-ink-04)#2E255Dcolor('ink', '04')
-
var(--color-ink-05)#2B2156color('ink', '05')
-
var(--color-ink-06)#291D4Fcolor('ink', '06')
-
var(--color-ink-07)#271948color('ink', '07')
-
var(--color-ink-08)#20123Acolor('ink', '08')
-
var(--color-ink-09)#20133Acolor('ink', '09')
-
var(--color-ink-10)#1D1133color('ink', '10')
../kitsune/sumo/static/sumo/scss/config/_color-swatches.scss, line 351
3.19 colors.graphite Graphite
-
var(--color-graphite-01)#101318color('graphite', '01')
-
var(--color-graphite-02)#16181Dcolor('graphite', '02')
-
var(--color-graphite-03)#1C1E23color('graphite', '03')
-
var(--color-graphite-04)#22252Acolor('graphite', '04')
-
var(--color-graphite-05)#282B32color('graphite', '05')
-
var(--color-graphite-06)#2C2F36color('graphite', '06')
-
var(--color-graphite-07)#32353Dcolor('graphite', '07')
-
var(--color-graphite-08)#3A3D43color('graphite', '08')
-
var(--color-graphite-09)#5A5E66color('graphite', '09')
-
var(--color-graphite-10)#83868Dcolor('graphite', '10')
-
var(--color-graphite-11)#B7BBC1color('graphite', '11')
-
var(--color-graphite-12)#C9CCD2color('graphite', '12')
../kitsune/sumo/static/sumo/scss/config/_color-swatches.scss, line 380
3.20 colors.azure Azure
-
var(--color-azure-01)#D6E6FFcolor('azure', '01')
-
var(--color-azure-02)#B0D4FFcolor('azure', '02')
-
var(--color-azure-03)#8FBEFAcolor('azure', '03')
-
var(--color-azure-04)#396ED6color('azure', '04')
-
var(--color-azure-05)#2D60C3color('azure', '05')
../kitsune/sumo/static/sumo/scss/config/_color-swatches.scss, line 413
3.21 colors.lavender Lavender
-
var(--color-lavender)#BFA9DB
../kitsune/sumo/static/sumo/scss/config/_color-swatches.scss, line 432
3.22 colors.sage Sage
-
var(--color-sage-01)#83D5ADcolor('sage', '01')
-
var(--color-sage-02)#193729color('sage', '02')
../kitsune/sumo/static/sumo/scss/config/_color-swatches.scss, line 441
3.23 colors.callout-warning Warning callout
The tinted card used by the scam banner and by KB warnings. The callout mixin composes
its background gradient from the three --callout-warning-bg-* stops, with
--callout-warning-bg-mid-at placing the middle one, so text is checked against each
stop. The ring and shadow can't be shown as swatches, so they appear only in the
theme maps.
-
var(--callout-warning-bg-start)#FFF6E2Dark: #48433B
-
var(--callout-warning-bg-mid)#FFFBF2Dark: #36352F
-
var(--callout-warning-bg-end)#FFFDF9Dark: #303134
-
var(--callout-warning-edge)#EFA831Dark: #F6BC5D
-
var(--callout-warning-icon-bg)#FFEBC2Dark: #615440
-
var(--callout-warning-icon)#AF6700Dark: #F6BC5D
-
var(--callout-warning-heading)#20133ADark: #F9F9FB (light-gray-02)
-
var(--callout-warning-text)#42435ADark: #E0E0E6 (light-gray-04)
-
var(--callout-warning-action-bg)#FFFFFFDark: transparent
-
var(--callout-warning-action-border)#B07A20Dark: rgba(246, 188, 93, 0.55)
-
var(--callout-warning-action-text)#6B4300Dark: #FFD58A
-
var(--callout-warning-action-hover-bg)#FFF6E3Dark: rgba(246, 188, 93, 0.1)
../kitsune/sumo/static/sumo/scss/config/themes/_light.scss, line 123
3.24 colors.card-landing Landing card
The product and article cards. Only the text and divider colors can be shown as swatches; the logo plate, the highlight layer, and the hover ring and shadow appear in the theme maps only.
-
var(--landing-card-desc-text)#5E5E72Dark: #B7BBC1 (graphite-11)
-
var(--landing-card-divider)#E0E0E6Dark: #3A3D43 (graphite-08)
../kitsune/sumo/static/sumo/scss/config/themes/_light.scss, line 149
3.25 colors.topic-card Topic card
The topic cards on product pages and in the AAQ topic step. The title, article link, and divider colors, the card border, and the icon plate can be shown as swatches; the shadow appears in the theme maps only.
-
var(--topic-card-title)#20133ADark: #F9F9FB (light-gray-02)
-
var(--topic-card-link)#42435ADark: #C9CCD2 (graphite-12)
-
var(--topic-card-border)#DDDDDDDark: #3A3D43 (graphite-08)
-
var(--topic-card-divider)#EDEDF0Dark: #3A3D43 (graphite-08)
-
var(--topic-card-plate-bg)#F3F3F7Dark: rgba(255, 255, 255, 0.07)
../kitsune/sumo/static/sumo/scss/config/themes/_light.scss, line 162
3.26 colors.kb-reading KB reading
KB article content in #doc-content: the table of contents rule, the metadata rule, notes,
Firefox UI label chips, and keycaps. Forum posts share the parser's classes and keep the menu
label colors. The keycap edge is a shadow, so it appears in the theme maps only.
-
var(--kb-toc-rule)#CDCDD4Dark: #3A3D43 (graphite-08)
-
var(--kb-metadata-rule)#EDEDF0Dark: #3A3D43 (graphite-08)
-
var(--kb-note-bg)#F7F7FADark: #22252A (graphite-04)
-
var(--kb-note-edge)#0060DFDark: #8FBEFA (azure-03)
-
var(--kb-chip-bg)#EEF4FDDark: rgba(143, 190, 250, 0.1)
-
var(--kb-chip-border)rgba(0, 96, 223, 0.22)Dark: rgba(143, 190, 250, 0.24)
-
var(--kb-chip-text)#0A3F8FDark: #D6E6FF (azure-01)
-
var(--kb-keycap-bg)transparentDark: #3A3D43 (graphite-08)
-
var(--kb-keycap-border)#CDCDD4Dark: rgba(255, 255, 255, 0.1)
-
var(--kb-keycap-text)#5E5E72Dark: #F0F0F4 (light-gray-03)
-
var(--kb-menu-bg)#EDEDF0Dark: #32353D (graphite-07)
-
var(--kb-menu-text)#141422Dark: #F9F9FB (light-gray-02)
-
var(--kb-separator)#000000Dark: #83868D (graphite-10)
../kitsune/sumo/static/sumo/scss/config/themes/_light.scss, line 179
3.27 colors.wiki-article Wiki article
The topics sidebar nav, the contributors list, and the helpful survey. The survey arrow shadow appears in the theme maps only.
-
var(--topics-nav-item-bg)#F3F3F3Dark: #282B32 (graphite-05)
-
var(--topics-nav-edge)#E7E7E7Dark: #3A3D43 (graphite-08)
-
var(--topics-nav-edge-selected)#000000Dark: #F9F9FB (light-gray-02)
-
var(--doc-contributors-user-link)#EEEEEEDark: #C9CCD2 (graphite-12)
../kitsune/sumo/static/sumo/scss/config/themes/_light.scss, line 204
3.28 colors.hero Hero
The home and product landing heroes that carry has-aurora. Links in the hero use
--hero-link so they stay readable over the glow. The --hero-art-* tokens are for a hero
drawn over product art, which keeps white text in both themes, with a translucent link hover
and underline, and lifts its searchbox with a shadow; in the dark theme the searchbox takes
the field surface. No hero uses them yet. The aurora background, the hero bottom edge, and
the searchbox shadow can't be shown as swatches, so they appear only in the theme maps.
-
var(--hero-link)#0250BBDark: #8FBEFA (azure-03)
-
var(--hero-art-link-hover)rgba(255, 255, 255, 0.8)Dark: rgba(255, 255, 255, 0.8)
-
var(--hero-art-underline)rgba(255, 255, 255, 0.6)Dark: rgba(255, 255, 255, 0.6)
-
var(--hero-art-searchbox-bg)#FFFFFFDark: #16181D (graphite-02)
../kitsune/sumo/static/sumo/scss/config/themes/_light.scss, line 219
3.29 colors.brand-callout Brand callout
The support callout ("Still need help?"), built by the brand-callout mixin. It looks the same
in both themes except for its shadow. The theme maps compose the surface from the three stop colors
and the glow, so text is checked against each stop. The gradients, rim, shadows, and chip ring
can't be shown as swatches, so they appear only in the theme maps. The Enterprise theme's base and
icon-side glow (--enterprise-callout-base, --enterprise-callout-glow) are lighter in light.
-
var(--brand-callout-stop-start)#20123ADark: #20123A
-
var(--brand-callout-stop-mid)#2A1852Dark: #2A1852
-
var(--brand-callout-stop-end)#36206ADark: #36206A
-
var(--brand-callout-glow)rgba(144, 89, 255, 0.38)Dark: rgba(144, 89, 255, 0.38)
-
var(--brand-callout-title)#FFFFFFDark: #FFFFFF
-
var(--brand-callout-text)rgba(255, 255, 255, 0.8)Dark: rgba(255, 255, 255, 0.8)
-
var(--brand-callout-chip-bg)rgba(255, 255, 255, 0.1)Dark: rgba(255, 255, 255, 0.1)
-
var(--brand-callout-action-bg)#FFFFFFDark: #FFFFFF
-
var(--brand-callout-action-hover-bg)#EEEAFBDark: #EEEAFB
../kitsune/sumo/static/sumo/scss/config/themes/_light.scss, line 238
3.30 colors.header Header
The site header: its bar, menu titles and their active underline, the mobile menu
separators, the "Download Firefox" and "Sign In/Up" buttons, and the unread message badge.
The light values are Protocol's and the buttons' own. "Download Firefox" uses
--header-button-text on --header-cta-bg, and both buttons use --header-button-hover-bg
and --header-button-active-bg when hovered and pressed. The menu icons use --color-icon, and
the logo stays an image that --icon-image-filter recolors in dark. The bottom shadow and the
button highlight appear in the theme maps only.
-
var(--header-bg)#FFFFFFDark: #101318 (graphite-01)
-
var(--header-text)#000000Dark: #F9F9FB (light-gray-02)
-
var(--header-underline)#000000Dark: #8FBEFA (azure-03)
-
var(--header-separator)#CDCDD4Dark: #3A3D43 (graphite-08)
-
var(--header-divider)#EDEDF0Dark: rgba(255, 255, 255, 0.07)
-
var(--header-skip-link-bg)rgba(255, 255, 255, 0.9)Dark: rgba(16, 19, 24, 0.9)
-
var(--header-cta-bg)#0060DFDark: #282B32 (graphite-05)
-
var(--header-secondary-border)#0060DFDark: #5A5E66 (graphite-09)
-
var(--header-secondary-bg)#FFFFFFDark: transparent
-
var(--header-secondary-text)#0060DFDark: #F9F9FB (light-gray-02)
-
var(--header-button-text)#FFFFFFDark: #F9F9FB (light-gray-02)
-
var(--header-button-hover-bg)#0250BBDark: #3A3D43 (graphite-08)
-
var(--header-button-active-bg)#073072Dark: #3A3D43 (graphite-08)
-
var(--unread-badge-bg)#FF0000Dark: #E12850 (red-07)
-
var(--unread-badge-text)#FFFFFFDark: #FFFFFF
../kitsune/sumo/static/sumo/scss/config/themes/_light.scss, line 262
3.31 colors.dropdown Dropdown menus
The header's menu panels and the mzp-c-menu-list menus (the "more options" menus on posts).
Panel links use --dropdown-link, item titles keep --color-heading and turn
--dropdown-title-hover when hovered, and "View all" links keep --color-link. Below the
medium breakpoint a panel opens inside the mobile menu on --header-bg. The mzp-c-menu-list
menus sit on --color-surface with a --color-link-active-bg hover. The panel edge is its top
border. The shadows and the item hover ring appear in the theme maps only.
-
var(--dropdown-bg)#FFFFFFDark: #16181D (graphite-02)
-
var(--dropdown-edge)#EDEDF0Dark: rgba(255, 255, 255, 0.06)
-
var(--dropdown-title-hover)#000000Dark: #F9F9FB (light-gray-02)
-
var(--dropdown-link)#000000Dark: #C9CCD2 (graphite-12)
-
var(--dropdown-link-hover)#000000Dark: #F9F9FB (light-gray-02)
../kitsune/sumo/static/sumo/scss/config/themes/_light.scss, line 293
3.33 colors.notification Notification bar
The Protocol notification bar behind flash messages and page notices. A bar with no variant
or with mzp-t-info uses the plain tokens, and the dismiss strip beside the text uses the
-button-bg and -button-hover-bg tokens. In the dark theme the variants use the status
colors and the strip is a translucent white overlay on the bar. The dismiss icon
(--notification-close-icon) is a white image in the dark theme and appears in the theme maps
only, and the lighter red (--notification-error-soft-bg) is the report abuse modal's error.
-
var(--notification-bg)#EDEDF0Dark: #2E3035
-
var(--notification-text)#000000Dark: #B7BBC1 (graphite-11)
-
var(--notification-button-bg)#B1B1BCDark: rgba(255, 255, 255, 0.08)
-
var(--notification-button-hover-bg)#9595A2Dark: rgba(255, 255, 255, 0.14)
-
var(--notification-success-bg)#88FFD1Dark: #193729 (sage-02)
-
var(--notification-success-text)#000000Dark: #83D5AD (sage-01)
-
var(--notification-success-button-bg)#2AC3A2Dark: rgba(255, 255, 255, 0.08)
-
var(--notification-success-button-hover-bg)#008787Dark: rgba(255, 255, 255, 0.14)
-
var(--notification-error-bg)#FF848BDark: #3C2C32
-
var(--notification-error-text)#000000Dark: #FF9AA2 (red-03)
-
var(--notification-error-button-bg)#E22850Dark: rgba(255, 255, 255, 0.08)
-
var(--notification-error-button-hover-bg)#C50042Dark: rgba(255, 255, 255, 0.14)
-
var(--notification-error-soft-bg)#FF9AA2Dark: #3C2C32
-
var(--notification-warning-bg)#FFEA80Dark: #3B342B
-
var(--notification-warning-text)#000000Dark: #F6BC5D
-
var(--notification-warning-button-bg)#FFBD4FDark: rgba(255, 255, 255, 0.08)
-
var(--notification-warning-button-hover-bg)#FFA436Dark: rgba(255, 255, 255, 0.14)
-
var(--notification-click-bg)#0060DFDark: #2A313D
-
var(--notification-click-text)#FFFFFFDark: #8FBEFA (azure-03)
-
var(--notification-click-button-bg)#054096Dark: rgba(255, 255, 255, 0.08)
-
var(--notification-click-button-hover-bg)#073072Dark: rgba(255, 255, 255, 0.14)
../kitsune/sumo/static/sumo/scss/config/themes/_light.scss, line 330
3.34 colors.form-controls Form controls
Text fields, selects, checkboxes, radios, toggles, and range inputs. A field's validation color
draws its ring and its error text, and its icon is drawn in the same color. The validation icons,
the select chevron, and the checkbox and radio marks are images drawn in each theme's colors; they,
the validation rings, the dark field inset, and the dark-only native control accent (--control-accent)
and placeholder color (--field-placeholder, graphite-10 at full opacity) appear in the theme maps only.
-
var(--field-text)#0C0C0DDark: #E0E0E6 (light-gray-04)
-
var(--field-label-color-disabled)#D0D0D7Dark: #5A5E66 (graphite-09)
-
var(--field-error-color)#C50043Dark: #FF9AA2 (red-03)
-
var(--field-warning-color)#FFD567Dark: #F6BC5D
-
var(--field-success-color)#2AC3A2Dark: #83D5AD (sage-01)
-
var(--toggle-bg-color)#CDCDD4Dark: #83868D (graphite-10)
-
var(--toggle-knob)#FFFFFFDark: #FFFFFF
-
var(--toggle-disabled-bg)#EDEDF0Dark: #32353D (graphite-07)
-
var(--toggle-disabled-knob)#B1B1BCDark: #5A5E66 (graphite-09)
-
var(--range-slider-pip-color)#0060DFDark: #8FBEFA (azure-03)
-
var(--range-slider-pip-color-hover)#0250BBDark: #B0D4FF (azure-02)
-
var(--range-slider-pip-color-disabled)#B1B1BCDark: #5A5E66 (graphite-09)
-
var(--range-slider-bg)rgba(0, 96, 223, 0.3)Dark: rgba(143, 190, 250, 0.3)
-
var(--range-slider-bg-disabled)#EDEDF0Dark: #32353D (graphite-07)
../kitsune/sumo/static/sumo/scss/config/themes/_light.scss, line 366
3.36 colors.text-components Text components
The destructive "close account" link, form error lists, the KB survey's "Required" note, and
the topics section heading. In the dark theme, underlined links get a thin underline in a 35%
tint of their own color with more offset; those tokens are initial in light and appear only
in the theme maps.
-
var(--rule-color)#42435ADark: #3A3D43 (graphite-08)
-
var(--warning-link)#C50043Dark: #FF9AA2 (red-03)
-
var(--warning-link-hover)#810220Dark: #FFBDC5 (red-02)
-
var(--errorlist-bg)#FFBDC5Dark: #3C2C32
-
var(--survey-required-text)#FF0000Dark: #FF9AA2 (red-03)
-
var(--topics-section-heading)#333333Dark: #F9F9FB (light-gray-02)
../kitsune/sumo/static/sumo/scss/config/themes/_light.scss, line 413
3.37 colors.tables Tables and utilities
Highlighted table cells on revision and dashboard tables (the yellow cells use
--color-warning) and the .light-grey-bg utility.
-
var(--table-success-bg)#B3FFE3Dark: #193729 (sage-02)
-
var(--light-grey-bg)#F9F9FADark: #22252A (graphite-04)
../kitsune/sumo/static/sumo/scss/config/themes/_light.scss, line 432
3.39 colors.icons-media Icons and media
The icons that templates draw through the icon macro, the header's menu icons, and the
expand markers of collapsible sections use --color-icon; the "linked in product" info icon uses
--color-icon-info, the info status color. Content images in KB articles and forum posts take
--media-content-image-filter, a radius, and a rim; the vertical gap moves from padding to margin
in dark so the rim hugs the image. Question and answer images take the filter, radius, and rim
only. The collapsible KB sections' "+" is an image drawn in each theme's color
(--kb-section-icon). The logo and the search suggestions that instant_search.js renders keep
their images, which --icon-image-filter recolors in dark. Everything but the colors
below appears in the theme maps only.
-
var(--color-icon)#000000Dark: #F9F9FB (light-gray-02)
-
var(--color-icon-info)#0060DFDark: #8FBEFA (azure-03)
../kitsune/sumo/static/sumo/scss/config/themes/_light.scss, line 467
3.40 colors.tom-select Tom Select
The tag, group, related-document, and recipient pickers built on Tom Select: the control, its
items, and the dropdown. Light keeps Tom Select's default theme, in which items and the single-select
control are gradients (--tom-select-item-image, --tom-select-item-active-image,
--tom-select-single-image), so the item swatches show the color under the gradient. Dark is
flat: the gradients are none and items are accent pills. The -disabled-active- colors show on
an active item of a disabled control. The recipient autocomplete keeps its grey chips
(--user-autocomplete-item-*). The gradients and shadows appear in the theme maps only.
-
var(--tom-select-text)#303030Dark: #E0E0E6 (light-gray-04)
-
var(--tom-select-control-bg)#FFFFFFDark: #16181D (graphite-02)
-
var(--tom-select-border)#D0D0D0Dark: #83868D (graphite-10)
-
var(--tom-select-control-disabled-bg)#FAFAFADark: #22252A (graphite-04)
-
var(--tom-select-single-border)#B8B8B8Dark: #83868D (graphite-10)
-
var(--tom-select-caret)#808080Dark: #B7BBC1 (graphite-11)
-
var(--tom-select-item-bg)#1DA7EEDark: #396ED6 (azure-04)
-
var(--tom-select-item-text)#FFFFFFDark: #FFFFFF
-
var(--tom-select-item-border)#0073BBDark: #2D60C3 (azure-05)
-
var(--tom-select-item-active-bg)#92C836Dark: #2D60C3 (azure-05)
-
var(--tom-select-item-active-border)#00578DDark: #8FBEFA (azure-03)
-
var(--tom-select-item-disabled-text)#999999Dark: #5A5E66 (graphite-09)
-
var(--tom-select-item-disabled-border)#E6E6E6Dark: #3A3D43 (graphite-08)
-
var(--tom-select-item-disabled-active-text)#FFFFFFDark: #5A5E66 (graphite-09)
-
var(--tom-select-item-disabled-active-bg)#D2D2D2Dark: #22252A (graphite-04)
-
var(--tom-select-item-disabled-active-border)#AAAAAADark: #3A3D43 (graphite-08)
-
var(--tom-select-remove-hover-bg)rgba(0, 0, 0, 0.05)Dark: rgba(0, 0, 0, 0.15)
-
var(--tom-select-dropdown-bg)#FFFFFFDark: #16181D (graphite-02)
-
var(--tom-select-highlight)rgba(125, 168, 208, 0.2)Dark: rgba(143, 190, 250, 0.2)
-
var(--tom-select-option-active-bg)#F5FAFDDark: #32353D (graphite-07)
-
var(--tom-select-option-active-text)#495C68Dark: #F9F9FB (light-gray-02)
-
var(--tom-select-create-text)rgba(48, 48, 48, 0.5)Dark: #B7BBC1 (graphite-11)
-
var(--tom-select-optgroup-border)#F0F0F0Dark: #3A3D43 (graphite-08)
-
var(--tom-select-optgroup-column-border)#F2F2F2Dark: #3A3D43 (graphite-08)
-
var(--tom-select-header-close-hover)#000000Dark: #F9F9FB (light-gray-02)
-
var(--user-autocomplete-item-bg)#EFF2F7Dark: #32353D (graphite-07)
-
var(--user-autocomplete-item-active-bg)#E4E8EEDark: #3A3D43 (graphite-08)
../kitsune/sumo/static/sumo/scss/config/themes/_light.scss, line 487
3.41 colors.kb-editor KB editor
The KB editing and review pages: the summary and message character counters (is-over-limit
marks a counter past its limit), the draft-saving bars, the revision lists of the history and
recent revisions pages, the preview and review panels, the translation source fields, and the
editor toolbar's link type-ahead and media picker. The draft bars keep their Bootstrap colors and
striped image in light and use the status colors, flat, in dark. The history icons are images drawn
in each theme's colors, as is the toolbar sprite (--markup-toolbar-image, a light-gray-02 copy in
dark). These images, the striped image, and the shadows appear in the theme maps only.
-
var(--character-count-text)#000000Dark: #E0E0E6 (light-gray-04)
-
var(--character-count-over-limit-text)#FF0000Dark: #FF9AA2 (red-03)
-
var(--draft-alert-bg)#FFFFEEDark: #3B342B
-
var(--draft-alert-error-bg)#F2DEDEDark: #3C2C32
-
var(--draft-alert-error-border)#EBCCD1Dark: #3C2C32
-
var(--draft-alert-error-text)#A94442Dark: #FF9AA2 (red-03)
-
var(--draft-alert-info-bg)#FCF8E3Dark: #3B342B
-
var(--draft-alert-info-border)#FAF2CCDark: #3B342B
-
var(--draft-alert-info-text)#8A6D3BDark: #F6BC5D
-
var(--draft-alert-success-bg)#DFF0D8Dark: #193729 (sage-02)
-
var(--draft-alert-success-border)#D6E9C6Dark: #193729 (sage-02)
-
var(--draft-alert-success-text)#3C763DDark: #83D5AD (sage-01)
-
var(--revision-list-row-alt-bg)#F2F2F2Dark: #22252A (graphite-04)
-
var(--revision-list-header-text)#666666Dark: #B7BBC1 (graphite-11)
-
var(--revision-list-creator-text)#333333Dark: #E0E0E6 (light-gray-04)
-
var(--revision-list-locale-bg)#DDDDDDDark: #3A3D43 (graphite-08)
-
var(--preview-exit-hover-text)#999999Dark: #B7BBC1 (graphite-11)
-
var(--translate-source-heading)#333333Dark: #F9F9FB (light-gray-02)
-
var(--translate-source-border)#999999Dark: #83868D (graphite-10)
-
var(--editor-autocomplete-bg)#FFFFFFDark: #16181D (graphite-02)
-
var(--media-picker-item-border)#FFFFFFDark: transparent
-
var(--media-picker-item-hover-bg)#F0F0F0Dark: #32353D (graphite-07)
-
var(--media-picker-item-active-border)#9ACCF7Dark: #8FBEFA (azure-03)
-
var(--media-picker-item-selected-bg)#DAEDF6Dark: #2A313D
../kitsune/sumo/static/sumo/scss/config/themes/_light.scss, line 530
3.42 colors.codemirror CodeMirror
The KB editor's wiki-markup editor and its hint list. The editor keeps CodeMirror's default theme,
and SUMO's rules under #editor color its surface, gutter, cursor, selections, and the classes of
the SUMO markup mode: --codemirror-syntax colors the markup's delimiters and tag names. Italic,
underlined, and struck-through text keep --codemirror-text. The hint list's shadow appears in the
theme maps only.
-
var(--codemirror-bg)#FFFFFFDark: #16181D (graphite-02)
-
var(--codemirror-text)#666666Dark: #C9CCD2 (graphite-12)
-
var(--codemirror-border)#F7F7F7Dark: #3A3D43 (graphite-08)
-
var(--codemirror-gutter-bg)#F7F7F7Dark: #22252A (graphite-04)
-
var(--codemirror-gutter-border)#DDDDDDDark: #3A3D43 (graphite-08)
-
var(--codemirror-line-number)#999999Dark: #B7BBC1 (graphite-11)
-
var(--codemirror-cursor)#000000Dark: #F9F9FB (light-gray-02)
-
var(--codemirror-secondary-cursor)#C0C0C0Dark: #83868D (graphite-10)
-
var(--codemirror-selection-bg)#D9D9D9Dark: #3A3D43 (graphite-08)
-
var(--codemirror-selection-focused-bg)#D7D4F0Dark: #334052
-
var(--codemirror-invalid-char)#FF0000Dark: #FF9AA2 (red-03)
-
var(--codemirror-quote-bg)#000000Dark: #3A3D43 (graphite-08)
-
var(--codemirror-quote-text)#FFFFFFDark: #F9F9FB (light-gray-02)
-
var(--codemirror-syntax)#D98484Dark: #E9A1A1
-
var(--codemirror-link)#5757C2Dark: #8FBEFA (azure-03)
-
var(--codemirror-bold)#000000Dark: #F9F9FB (light-gray-02)
-
var(--codemirror-comment)#009900Dark: #83D5AD (sage-01)
-
var(--codemirror-hints-bg)#FFFFFFDark: #32353D (graphite-07)
-
var(--codemirror-hints-border)#C0C0C0Dark: #5A5E66 (graphite-09)
-
var(--codemirror-hint-text)#000000Dark: #E0E0E6 (light-gray-04)
-
var(--codemirror-hint-active-bg)#0088FFDark: #396ED6 (azure-04)
-
var(--codemirror-hint-active-text)#FFFFFFDark: #FFFFFF
../kitsune/sumo/static/sumo/scss/config/themes/_light.scss, line 570
3.43 colors.diff Revision diff
The line diffs on the compare, review, and translate pages and in the editor's changes preview.
Changed lines are tinted (--diff-removed-line-bg, --diff-added-line-bg), and the text that
changed within them is marked more strongly (--diff-removed-bg, --diff-added-bg).
-
var(--diff-border)#DDDDDDDark: #3A3D43 (graphite-08)
-
var(--diff-text)#666666Dark: #C9CCD2 (graphite-12)
-
var(--diff-output-text)#333333Dark: #E0E0E6 (light-gray-04)
-
var(--diff-gutter-bg)#ECECECDark: #22252A (graphite-04)
-
var(--diff-gutter-text)#AAAAAADark: #B7BBC1 (graphite-11)
-
var(--diff-removed-line-bg)#FFDDDDDark: #3C2C32
-
var(--diff-added-line-bg)#DDFFDDDark: #193729 (sage-02)
-
var(--diff-removed-bg)#FFAAAADark: #883736
-
var(--diff-removed-text)#000000Dark: #F9F9FB (light-gray-02)
-
var(--diff-added-bg)#AAFFAADark: #216133
-
var(--diff-added-text)#000000Dark: #F9F9FB (light-gray-02)
../kitsune/sumo/static/sumo/scss/config/themes/_light.scss, line 606
3.44 colors.forums Forums and questions
The support and contributor forums and the Ask a Question flow: the questions list's tag filter,
tag chips, the borders and dividers of question lists, threads and answers, the "Chosen Solution"
and "Solved" labels (--solution-label-bg under heading text; --color-success stays the accent
and text color), the chosen answer's card, the upload thumbnails, the support-channel badges, and
the support switcher.
The thread and question dividers keep their light colors (body text and heading) and are
graphite-08 in dark. A Tom Select tag link takes its item's color, so a disabled control dims its
tags. The chosen answer's card is a 5% mix of --color-success into --color-shade-bg in each
theme. The focus ring and shadows appear in the theme maps only.
-
var(--sidebar-tags-hover-bg)rgba(0, 0, 0, 0.07)Dark: rgba(255, 255, 255, 0.08)
-
var(--sidebar-tags-count-bg)#F0F0F4Dark: #32353D (graphite-07)
-
var(--sidebar-tags-count-selected-bg)rgba(0, 96, 223, 0.12)Dark: rgba(143, 190, 250, 0.16)
-
var(--sidebar-tag-chip-remove-hover-bg)rgba(0, 96, 223, 0.15)Dark: rgba(143, 190, 250, 0.2)
-
var(--tag-chip-bg)#F0F0F4Dark: #32353D (graphite-07)
-
var(--tag-chip-hover-bg)#E0E0E6Dark: #3A3D43 (graphite-08)
-
var(--tag-clear-hover-bg)rgba(255, 0, 0, 0.05)Dark: #3C2C32
-
var(--thread-border)#E0E0E6Dark: #3A3D43 (graphite-08)
-
var(--question-divider)#42435ADark: #3A3D43 (graphite-08)
-
var(--karma-titles-divider)#20133ADark: #3A3D43 (graphite-08)
-
var(--solution-label-bg)#3FE1B0Dark: #193729 (sage-02)
-
var(--answer-vote-hover-bg)rgba(0, 96, 223, 0.12)Dark: rgba(143, 190, 250, 0.16)
-
var(--answer-pinned-hint-text)#008787Dark: #83D5AD (sage-01)
-
var(--answer-pinned-hint-hover-text)#005E5EDark: #83D5AD (sage-01)
-
var(--attachment-overlay-bg)#CCCCCCDark: #3A3D43 (graphite-08)
-
var(--attachment-delete-bg)#000000Dark: #000000
-
var(--attachment-delete-text)#FFFFFFDark: #FFFFFF
-
var(--attachment-progress-border)#CCCCCCDark: #3A3D43 (graphite-08)
-
var(--channel-badge-support-bg)rgba(63, 225, 176, 0.08)Dark: #193729 (sage-02)
-
var(--aaq-form-divider)#CDCDD4Dark: #3A3D43 (graphite-08)
../kitsune/sumo/static/sumo/scss/config/themes/_light.scss, line 629
3.45 colors.community Community
Group pages and their tickets and avatar pages, the "My questions" company tickets widget, the
private-messages table, the moderation queue, the top-contributors select, and the KBox dialogs. In
the dark theme group cards and sections and KBox dialogs use the elevated surface, and member cards
sit transparent on it; the leader cards keep their light gradient and are elevated surfaces in dark
with a sage tint. The avatar preview overlay sits on the image and keeps its colors.
Remove links, required marks, and the avatar form's error edge are --group-error-text; the error
messages take --status-error-text. The select's check mark is an image drawn in each theme's color
(--community-select-check-icon). The gradients, shadows, and the check mark appear in the theme
maps only.
-
var(--group-divider)#CDCDD4Dark: #3A3D43 (graphite-08)
-
var(--group-inset-bg)#F9F9FADark: #22252A (graphite-04)
-
var(--group-badge-bg)#EDEDF0Dark: #32353D (graphite-07)
-
var(--group-visibility-badge-bg)#80EBFFDark: #2A313D
-
var(--group-hierarchy-marker)#9595A2Dark: #83868D (graphite-10)
-
var(--group-tree-leaf)#B1B1BCDark: #5A5E66 (graphite-09)
-
var(--group-leader-badge-bg)#3FE1B0Dark: #193729 (sage-02)
-
var(--group-leader-badge-text)#FFFFFFDark: #83D5AD (sage-01)
-
var(--group-error-text)#E12850Dark: #FF9AA2 (red-03)
-
var(--group-error-text-hover)#C50043Dark: #FFBDC5 (red-02)
-
var(--group-action-hover-bg)#ABF2FFDark: rgba(143, 190, 250, 0.16)
-
var(--group-form-errors-bg)#FFDFE7Dark: #3C2C32
-
var(--group-avatar-overlay-bg)rgba(0, 0, 0, 0.7)Dark: rgba(0, 0, 0, 0.7)
-
var(--group-avatar-overlay-text)#FFFFFFDark: #FFFFFF
-
var(--company-tickets-widget-text)#1F2033Dark: #F9F9FB (light-gray-02)
-
var(--messages-table-bg)#FFFFFFDark: #1C1E23 (graphite-03)
-
var(--messages-table-border)#DDDDDDDark: #3A3D43 (graphite-08)
-
var(--messages-table-header-bg)#EEEEFFDark: #2A313D
-
var(--flagged-item-bg)#F0F0F4Dark: #22252A (graphite-04)
-
var(--flagged-content-bg)#F9F9FBDark: #282B32 (graphite-05)
-
var(--flagged-content-heading)#1C1B22Dark: #F9F9FB (light-gray-02)
-
var(--flagged-content-text)#1C1B22Dark: #E0E0E6 (light-gray-04)
-
var(--community-select-border)#D4D4D4Dark: #3A3D43 (graphite-08)
-
var(--community-select-divider)#E0E0E0Dark: #3A3D43 (graphite-08)
-
var(--community-select-option-hover-bg)#005CB8Dark: #396ED6 (azure-04)
-
var(--kbox-overlay-bg)rgba(0, 0, 0, 0.85)Dark: rgba(0, 0, 0, 0.85)
-
var(--legacy-blue-text)#2BBAE7Dark: #2BBAE7
../kitsune/sumo/static/sumo/scss/config/themes/_light.scss, line 667
3.46 colors.dashboards Dashboards and charts
The KB and localization dashboards (readout tables, progress bars, status glyphs and readout mode
tabs), the Chart.js charts on the KPI, metrics and article history pages, and the retention grid.
sumo/js/charts/theme.js reads the --chart-* tokens into Chart.js (text, grid, tooltip and series
colors) and redraws live charts on sumo:themechange. --chart-1 to --chart-11 are the
categorical series, cycled in order; the vote tokens color the article history chart. The retention
grid's cells use --chart-heat-1 (0–9%) to --chart-heat-10 (90% and up). The dark ramp inverts
the light one: the ends are vivid and the middle is dark and muted, as the light middle is pale.
-
var(--dashboard-muted-text)#999999Dark: #B7BBC1 (graphite-11)
-
var(--dashboard-percent-track)#F3F3F3Dark: #32353D (graphite-07)
-
var(--dashboard-percent-fill)#DFDFDFDark: #83868D (graphite-10)
-
var(--dashboard-status-update)#F8E687Dark: #F8E687
-
var(--dashboard-status-out-of-date)#FFA500Dark: #F6BC5D
-
var(--dashboard-status-untranslated)#FF0000Dark: #FF9AA2 (red-03)
-
var(--dashboard-status-ok)#ADD575Dark: #ADD575
-
var(--readout-mode-bg)#EDEDF0Dark: #32353D (graphite-07)
-
var(--readout-mode-hover-bg)#F9F9FADark: #3A3D43 (graphite-08)
-
var(--readout-mode-active-hover-bg)#4978BCDark: #2D60C3 (azure-05)
-
var(--chart-text)#666666Dark: #B7BBC1 (graphite-11)
-
var(--chart-grid)rgba(0, 0, 0, 0.1)Dark: rgba(255, 255, 255, 0.1)
-
var(--chart-tooltip-bg)rgba(0, 0, 0, 0.8)Dark: #32353D (graphite-07)
-
var(--chart-tooltip-text)#FFFFFFDark: #F9F9FB (light-gray-02)
-
var(--chart-tooltip-border)rgba(0, 0, 0, 0)Dark: #5A5E66 (graphite-09)
-
var(--chart-tooltip-swatch-bg)#FFFFFFDark: #32353D (graphite-07)
-
var(--chart-1)#5D84B2Dark: #87ACD7
-
var(--chart-2)#AA4643Dark: #D97A74
-
var(--chart-3)#89A54EDark: #AAC476
-
var(--chart-4)#80699BDark: #AA95C5
-
var(--chart-5)#3D96AEDark: #6FBAD1
-
var(--chart-6)#DB843DDark: #F6A669
-
var(--chart-7)#92A8CDDark: #AFC3E5
-
var(--chart-8)#A47D7CDark: #C8A3A2
-
var(--chart-9)#B5CA92Dark: #C6DAA7
-
var(--chart-10)#C98531Dark: #E7A862
-
var(--chart-11)#DB75C2Dark: #F698DD
-
var(--chart-votes-yes)#21DE2BDark: #65EC63
-
var(--chart-votes-no)#DE2B21Dark: #FF6F5E
-
var(--chart-votes-helpful)#2B21DEDark: #7195FF
-
var(--chart-heat-1)#EE2820Dark: #BF3B35
-
var(--chart-heat-2)#F25743Dark: #A6371F
-
var(--chart-heat-3)#F58667Dark: #8A3606
-
var(--chart-heat-4)#F9B58BDark: #683904
-
var(--chart-heat-5)#FDE4AFDark: #4B3703
-
var(--chart-heat-6)#E3F1B6Dark: #3A3E03
-
var(--chart-heat-7)#AADA9FDark: #2B5214
-
var(--chart-heat-8)#72C489Dark: #0C652B
-
var(--chart-heat-9)#39AD72Dark: #0B7446
-
var(--chart-heat-10)#00975CDark: #0E8259
-
var(--retention-grid-line)#DDDDDDDark: #3A3D43 (graphite-08)
-
var(--retention-heading-bg)#FFFFFFDark: #1C1E23 (graphite-03)
-
var(--retention-empty-bg)#F4F4F4Dark: #22252A (graphite-04)
-
var(--retention-cell-text)#222222Dark: #F9F9FB (light-gray-02)
-
var(--retention-legend-text)#333333Dark: #F9F9FB (light-gray-02)
../kitsune/sumo/static/sumo/scss/config/themes/_light.scss, line 712
3.47 colors.contribute Contribute app
The Svelte contribute pages: their text, the step and link tiles, the pink step numbers, and the
fact panel. In the dark theme the tiles are cards and the fact panel is the inverse surface, with
--surface-inverse-image on top. The tile shadow appears in the theme maps only.
-
var(--contribute-text)#15141ADark: #E0E0E6 (light-gray-04)
-
var(--contribute-tile-bg)#FFFFFFDark: #282B32 (graphite-05)
-
var(--contribute-accent)#FF298ADark: #FF298A
-
var(--contribute-accent-text)#FFFFFFDark: #FFFFFF
-
var(--contribute-fact-bg)#241541Dark: #322F5A
-
var(--contribute-fact-text)#FFFFFFDark: #F9F9FB (light-gray-02)
../kitsune/sumo/static/sumo/scss/config/themes/_light.scss, line 774
3.48 colors.wizard Device-migration wizard
The wizard in KB articles and its reminder dialog. Its shadow-DOM sheets compile Protocol's form
and button styles, which the wizard overrides with these tokens and the field, button and focus
tokens; in the dark theme the wizard and the dialog are elevated surfaces. The step marker and the
select caret are images drawn in each theme's color. The black icons take --icon-image-filter,
and the blue info icon --wizard-info-icon-filter, which recolors it to about azure-03 in dark. The
shadows, focus ring, images, and filters appear in the theme maps only.
-
var(--wizard-text)#15141ADark: #E0E0E6 (light-gray-04)
-
var(--wizard-step-active-bg)rgba(0, 96, 223, 0.1)Dark: rgba(143, 190, 250, 0.16)
-
var(--wizard-progress-track)#F0F0F4Dark: #22252A (graphite-04)
-
var(--wizard-disqualified-overlay-bg)rgba(240, 240, 244, 0.3)Dark: rgba(40, 43, 50, 0.3)
-
var(--wizard-disqualification-bg)#F0F0F4Dark: #32353D (graphite-07)
-
var(--wizard-divider)#F0F0F4Dark: #3A3D43 (graphite-08)
-
var(--wizard-warning-bg)rgba(255, 234, 128, 0.4)Dark: #3B342B
-
var(--wizard-error)#E22850Dark: #E22850
-
var(--wizard-error-border)#E22850Dark: #FF9AA2 (red-03)
-
var(--wizard-error-text)#FFFFFFDark: #FFFFFF
-
var(--wizard-success-text)#2AC3A2Dark: #83D5AD (sage-01)
-
var(--wizard-success-button-bg)#2AC3A2Dark: #005E5E (green-09)
-
var(--wizard-field-text)#000000Dark: #E0E0E6 (light-gray-04)
-
var(--wizard-select-focus-text)#222222Dark: #E0E0E6 (light-gray-04)
../kitsune/sumo/static/sumo/scss/config/themes/_light.scss, line 792
3.49 colors.pro-support Professional support
The pro-support masthead, the Get help cards, and the Firefox Professional Support banner, in the
Firefox for Enterprise palette. The masthead shows a bubbles image over its color: cream in light,
a dark purple version of the image in dark. The cards are cream in light and a purple-10 tint over
the page in dark. The badges look the same in both themes, except Contact support, which brightens
in dark to stand out on the card. The dark banner gradient is built from three stop tokens and a
faint warm glow, which are initial in light because the light gradient is one value. The image,
gradients, glow and searchbox shadow appear in the theme maps only.
-
var(--pro-support-masthead-bg)#FCF5F0Dark: #190F2E
-
var(--pro-support-card-bg)#FCF5F0Dark: rgba(59, 9, 118, 0.35)
-
var(--pro-support-card-border)#EBDFFADark: #3B0976
-
var(--pro-support-card-border-hover)#6132BCDark: #AD8DF0
-
var(--pro-support-badge-icon)#210340Dark: #210340
-
var(--pro-support-badge-contact-icon)#FFFFFFDark: #FFFFFF
-
var(--pro-support-banner-title)#000000Dark: #F9F9FB (light-gray-02)
-
var(--pro-support-banner-text)#000000Dark: #E0E0E6 (light-gray-04)
../kitsune/sumo/static/sumo/scss/config/themes/_light.scss, line 821
3.50 colors.accent-wash Accent wash
A violet wash for panels that hold cards. The cards on it keep --card-bg and take
--accent-border; number and icon tiles use --accent-tile with --accent-ink on top. Text on
the wash is --color-heading and --color-text.
-
var(--accent-wash)#F5F2FFDark: #24213A
../kitsune/sumo/static/sumo/scss/config/themes/_light.scss, line 845
3.51 colors.callout-info Info callout
The blue variant of the callout, used for "Good to know" notes. It has the same tokens as the warning callout, so its stops, ring, and shadow work the same way and are described there. Heading, body text, and links are checked against each stop.
-
var(--callout-info-bg-start)#E8F1FFDark: #35435A
-
var(--callout-info-bg-mid)#F2F7FFDark: #2D3646
-
var(--callout-info-bg-end)#FAFCFFDark: #303134
-
var(--callout-info-text)#42435ADark: #E0E0E6 (light-gray-04)
-
var(--callout-info-action-bg)#FFFFFFDark: transparent
-
var(--callout-info-action-hover-bg)#E8F1FFDark: rgba(143, 190, 250, 0.1)
../kitsune/sumo/static/sumo/scss/config/themes/_light.scss, line 861