Are we Design Tokens yet?

toolkit/themes/shared/design-system/dist/web/components/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 the relevant *.tokens.json file
 * and run `mach buildtokens` to see your changes. */

@layer acorn.tokens {
  :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