Are we Design Tokens yet?

toolkit/content/widgets/panel-list/panel-list.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-panel-list.tokens.json
 * and run `mach buildtokens` to see your changes. */

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

@layer tokens-foundation {
  :root,
  :host {
    --panel-list-background-color: var(--background-color-box);
    --panel-list-border-color: var(--border-color-deemphasized);
    --panel-list-border-radius: var(--panel-border-radius);
    --panel-list-box-shadow: var(--popup-box-shadow);
    --panel-list-text-color: var(--text-color);
  }
}

@media -moz-pref("browser.nova.enabled") {
  @layer tokens-foundation-nova {
    :root,
    :host {
      --panel-list-border-color: var(--panel-border-color);
      --panel-list-box-shadow: var(--panel-box-shadow);
    }
  }
}
Back to Home