Are we Design Tokens yet?

toolkit/content/widgets/moz-box.tokens.css

Propagation: No Props Found

Back to Home
/* 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
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

/* DO NOT EDIT this file directly, instead modify moz-box.tokens.json
 * and run `mach buildtokens` to see your changes. */

@layer tokens-foundation, tokens-foundation-nova, tokens-prefers-contrast, tokens-prefers-contrast-nova, tokens-forced-colors, tokens-forced-colors-nova;

@layer tokens-foundation {
  :root,
  :host {
    --box-border: var(--box-border-width) solid var(--box-border-color);
    --box-border-color: var(--border-color);
    --box-border-radius: var(--border-radius-medium);
    --box-border-radius-inner: calc(var(--box-border-radius) - var(--box-border-width));
    --box-border-width: var(--border-width);
    --box-button-background-color: var(--button-background-color-menu);
    --box-button-background-color-hover: var(--button-background-color-menu-hover);
    --box-button-background-color-active: var(--button-background-color-menu-active);
    --box-button-background-color-disabled: var(--button-background-color-menu-disabled);
    --box-button-text-color: var(--button-text-color-menu);
    --box-button-text-color-hover: var(--button-text-color-menu-hover);
    --box-button-text-color-active: var(--button-text-color-menu-active);
    --box-button-text-color-disabled: var(--button-text-color-menu-disabled);
    --box-icon-fill: var(--icon-color);
    --box-icon-size: var(--icon-size);
    --box-icon-stroke: var(--box-icon-fill);
    --box-padding: var(--space-large);
  }
}
Back to Home