Source code
Revision control
Copy as Markdown
Other Tools
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
/* DO NOT EDIT this file directly, instead modify design-tokens.json
* and run `npm run build` to see your changes. */
@import url("chrome://global/skin/design-system/tokens-shared.css");
@layer tokens-foundation {
:root,
:host(.anonymous-content-host) {
/** Attention Dot **/
--attention-dot-color: AccentColor;
/** Background Color **/
--background-color-canvas: Canvas;
/** Border **/
--border-color-deemphasized: color-mix(in srgb, currentColor 24%, transparent);
--border-color-interactive: color-mix(in srgb, currentColor 15%, var(--color-gray-60));
/** Button **/
--button-background-color: color-mix(in srgb, currentColor 13%, transparent); /* TODO Bug 1821203 - Gray use needs to be consolidated */
--button-background-color-hover: color-mix(in srgb, currentColor 17%, transparent);
--button-background-color-active: color-mix(in srgb, currentColor 30%, transparent);
--button-text-color: currentColor;
--button-text-color-primary: AccentColorText;
/** Color **/
--color-accent-primary: AccentColor;
--color-accent-primary-hover: color-mix(in srgb, black 10%, var(--color-accent-primary));
--color-accent-primary-active: color-mix(in srgb, black 20%, var(--color-accent-primary));
/** Font Size **/
--font-size-root: unset;
--font-size-small: unset;
--font-size-large: unset;
--font-size-xlarge: unset;
--font-size-xxlarge: unset;
/** Link **/
--link-color: LinkText;
--link-color-hover: LinkText;
--link-color-active: ActiveText;
--link-color-visited: var(--link-color);
/** Text **/
--text-color: currentColor;
}
}