Color [NEW]

Firefox palette for styling user interfaces

Overview

Acorn colors are inspired by the Firefox brand, but created for the browser’s user interface design.

Accent Primary

Accentuates inputs and link styles. For example, Link Color and Focus Outline Color point directly to Accent Primary.

The accent color comes with hover and active companion shades for interactive states needs.

Color / Accent
#0062fa
#00cadb
Primary
Token
--color-accent-primary
#0053cb
#61dce9
Primary Hover
Token
--color-accent-primary-hover
#0041a4
#a6ecf4
Primary Active
Token
--color-accent-primary-active

Background

We provide 4 feedback colors: information, success, critical, and warning.

They show up primarily as background colors on message bars, although they may also separately be used outside of this component.

Message Bar example using information background color

Message Bar example using information background color

Background / Color
#e1ffe1
#003200
Success
Token
--background-color-success
#e2f7ff
#042356
Information
Token
--background-color-information
#ffe8ea
#4c0516
Critical
Token
--background-color-critical
#fff4d0
#421b00
Warning
Token
--background-color-warning

Icon

Like backgrounds, we provide 4 feedback icon colors: information, success, critical, and warning. They pair well with the background colors.

Message Bar example using icon and background color success

Message Bar example using icon and background color success

#007700
#b5f0b5
Success
Token
--icon-color-success
#0053cb
#abdfff
Information
Token
--icon-color-information
#b20037
#ffc3c9
Critical
Token
--icon-color-critical
#9c5200
#ffe699
Warning
Token
--icon-color-warning
Link
#0062fa
#00cadb
Color
Token
--link-color
#0053cb
#61dce9
Color Hover
Token
--link-color-hover
#0041a4
#a6ecf4
Color Active
Token
--link-color-active

Outline

Form validation example utilizing  outline color error

Form validation example utilizing outline color error

Outline / Color
#b20037
#ffa0aa
Error
Token
--outline-color-error
Focus / Outline
#0062fa
#00cadb
Color
Token
--focus-outline-color

Text

Text / Color
#b20037
#ffa0aa
Error
Token
--text-color-error

Resources

Storybook

Access our Storybook to learn about how design tokens work in our codebase. There you can also check out our tokens table which contains live previews of tokens in light, dark, and high contrast mode.

Requests and contributions

You can file a bug under Toolkit > Themes if you want to request or contribute a new token.

Changelog

Date

Version

Notes

April 3, 2025

1.0.0

Introduced new color docs.