Are we Design Tokens yet?

toolkit/themes/shared/design-system/dist/web/components/moz-select.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 {
    --select-background-color: var(--button-background-color);
    --select-background-color-hover: var(--button-background-color-hover);
    --select-background-color-disabled: var(--button-background-color-disabled);
    --select-border: var(--border-width) solid var(--select-border-color);
    --select-border-color: var(--border-color-interactive);
    --select-border-color-hover: var(--border-color-interactive-hover);
    --select-border-color-disabled: var(--border-color-interactive-disabled);
    --select-border-radius: var(--button-border-radius);
    --select-font-size: var(--font-size-root);
    --select-font-size-small: var(--font-size-small);
    --select-font-weight: var(--button-font-weight);
    --select-icon-fill: var(--button-icon-fill);
    --select-min-height: var(--button-min-height);
    --select-min-height-small: var(--button-min-height-small);
    --select-opacity-disabled: var(--button-opacity-disabled);
    --select-option-font-weight: var(--font-weight);
    --select-option-text-color: var(--text-color);
    --select-padding-block: var(--button-padding-block);
    --select-padding-icon: var(--icon-size);
    --select-space-inline: var(--button-padding-inline);
    --select-space-inline-small: var(--space-medium);
    --select-text-color: var(--button-text-color);
    --select-text-color-hover: var(--button-text-color-hover);
    --select-text-color-disabled: var(--button-text-color-disabled);
  }
}
Back to Home