diff --git a/.circleci/config.yml b/.circleci/config.yml index 87ff90dff7..cb034fcefa 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,7 +10,7 @@ executors: parameters: current_golden_images_hash: type: string - default: ef7c7c0e0b5827a2f5e95bf6aba539959453f5dc + default: 08de0cb86affdc8cec2cb320aa9899b07032fcf8 wireit_cache_name: type: string default: wireit @@ -40,7 +40,7 @@ commands: at: / run-regressions: parameters: - regression_theme: + regression_system: type: string regression_color: type: string @@ -52,9 +52,9 @@ commands: - restore_cache: name: Restore Golden Images Cache keys: - - v2-golden-images-<< pipeline.parameters.current_golden_images_hash >>-<< parameters.regression_theme >>-<< parameters.regression_color >>-<< parameters.regression_scale >>-<< parameters.regression_dir >>- + - v2-golden-images-<< pipeline.parameters.current_golden_images_hash >>-<< parameters.regression_system >>-<< parameters.regression_color >>-<< parameters.regression_scale >>-<< parameters.regression_dir >>- - v2-golden-images-<< pipeline.parameters.current_golden_images_hash >>-<< parameters.regression_color >>-<< parameters.regression_scale >>-<< parameters.regression_dir >>- - - v2-golden-images-main-<< parameters.regression_theme >>-<< parameters.regression_color >>-<< parameters.regression_scale >>-<< parameters.regression_dir >>- + - v2-golden-images-main-<< parameters.regression_system >>-<< parameters.regression_color >>-<< parameters.regression_scale >>-<< parameters.regression_dir >>- - v2-golden-images-main-<< parameters.regression_color >>-<< parameters.regression_scale >>-<< parameters.regression_dir >>- - run: name: Count baseline images @@ -63,7 +63,7 @@ commands: when: always name: VRT Run command: | - yarn test:ci --config web-test-runner.config.vrt.js --group vrt-<< parameters.regression_theme >>-<< parameters.regression_color >>-<< parameters.regression_scale >>-<< parameters.regression_dir >> + yarn test:ci --config web-test-runner.config.vrt.js --group vrt-<< parameters.regression_system >>-<< parameters.regression_color >>-<< parameters.regression_scale >>-<< parameters.regression_dir >> # store results and artifacts before rearranging things for the new cache. - store_test_results: path: /root/project/results/ @@ -85,7 +85,7 @@ commands: name: Create review site command: | branch=$(git symbolic-ref --short HEAD) - node test/visual/review.js --branch=$branch --commit=<< pipeline.git.revision >> --system="<< parameters.regression_theme >> << parameters.regression_color >> << parameters.regression_scale >> << parameters.regression_dir >>" + node test/visual/review.js --branch=$branch --commit=<< pipeline.git.revision >> --system="<< parameters.regression_system >> << parameters.regression_color >> << parameters.regression_scale >> << parameters.regression_dir >>" yarn rollup -c test/visual/rollup.config.js - run: when: on_fail @@ -93,7 +93,7 @@ commands: command: | cp projects/documentation/content/favicon.ico test/visual branch=$(git symbolic-ref --short HEAD) - hash=$(echo -n $branch-<< parameters.regression_theme >>-<< parameters.regression_color >>-<< parameters.regression_scale >>-<< parameters.regression_dir >> | md5sum | cut -c 1-32) + hash=$(echo -n $branch-<< parameters.regression_system >>-<< parameters.regression_color >>-<< parameters.regression_scale >>-<< parameters.regression_dir >> | md5sum | cut -c 1-32) echo hash yarn netlify deploy --alias=$hash --cwd test/visual # move "updated" screenshot into the baseline directory before making the new cache @@ -107,12 +107,12 @@ commands: name: Build Golden Images Revision Cache paths: - test/visual/screenshots-baseline - key: v2-golden-images-{{ .Revision }}-<< parameters.regression_theme >>-<< parameters.regression_color >>-<< parameters.regression_scale >>-<< parameters.regression_dir >>-{{ epoch }} + key: v2-golden-images-{{ .Revision }}-<< parameters.regression_system >>-<< parameters.regression_color >>-<< parameters.regression_scale >>-<< parameters.regression_dir >>-{{ epoch }} - save_cache: name: Build Golden Images Branch Cache paths: - test/visual/screenshots-baseline - key: v2-golden-images-{{ .Branch }}-<< parameters.regression_theme >>-<< parameters.regression_color >>-<< parameters.regression_scale >>-<< parameters.regression_dir >>-{{ epoch }} + key: v2-golden-images-{{ .Branch }}-<< parameters.regression_system >>-<< parameters.regression_color >>-<< parameters.regression_scale >>-<< parameters.regression_dir >>-{{ epoch }} jobs: commitlint: @@ -243,7 +243,6 @@ jobs: keys: - v2-golden-images-<< pipeline.parameters.current_golden_images_hash >>-hcm- - v2-golden-images-main-hcm- - - v2-golden-images-main-spectrum-lightest-medium-ltr- - run: name: Count baseline images command: find test/visual/screenshots-baseline -type f | wc -l > count_start.txt @@ -305,7 +304,7 @@ jobs: visual: executor: node parameters: - theme: + system: type: string color: type: string @@ -316,7 +315,7 @@ jobs: steps: - downstream - run-regressions: - regression_theme: << parameters.theme >> + regression_system: << parameters.system >> regression_color: << parameters.color >> regression_scale: << parameters.scale >> regression_dir: << parameters.dir >> @@ -349,11 +348,11 @@ workflows: # Beta docs are only published from main only: main - visual: - name: << matrix.theme >>-<< matrix.color >>-<< matrix.scale >>-<< matrix.dir >> + name: << matrix.system >>-<< matrix.color >>-<< matrix.scale >>-<< matrix.dir >> matrix: parameters: - theme: [spectrum, express] - color: [lightest, light, dark, darkest] + system: [spectrum, express] + color: [light, dark] scale: [medium, large] dir: [ltr, rtl] filters: @@ -361,11 +360,10 @@ workflows: # Forked pull requests have CIRCLE_BRANCH set to pull/XXX ignore: /pull\/[0-9]+/ - visual: - name: << matrix.theme >>-<< matrix.color >>-<< matrix.scale >>-<< matrix.dir >> + name: << matrix.system >>-<< matrix.color >>-<< matrix.scale >>-<< matrix.dir >> matrix: parameters: - # Spectrum-two doesn't support the lightest and darkest themes - theme: [spectrum-two] + system: [spectrum-two] color: [light, dark] scale: [medium, large] dir: [ltr, rtl] diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index 21cfe4dc72..6ba2418a09 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -16,10 +16,10 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Setup Node 18 + - name: Setup Node 20 uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '20' cache: 'yarn' registry-url: 'https://registry.npmjs.org' diff --git a/.github/workflows/pr-update.yml b/.github/workflows/pr-update.yml index 32919b7b7e..f5f77382bf 100644 --- a/.github/workflows/pr-update.yml +++ b/.github/workflows/pr-update.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/setup-node@v4 with: cache: yarn - node-version: 18 + node-version: 20 - name: Install dependencies run: yarn install --frozen-lockfile # README: https://github.com/castastrophe/actions-pr-auto-update#auto-update-pull-requests diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 237f7bb1f5..c87e2cc99c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '20' cache: 'yarn' registry-url: 'https://registry.npmjs.org' diff --git a/.github/workflows/rc-release.yml b/.github/workflows/rc-release.yml new file mode 100644 index 0000000000..05de72c31b --- /dev/null +++ b/.github/workflows/rc-release.yml @@ -0,0 +1,66 @@ +name: RC Release + +on: + push: + branches: + - feature/SWC-1.0-RC + +jobs: + release: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: '20' + + - name: Install dependencies + run: yarn install --frozen-lockfile + + - name: Set Git identity + run: | + git config --global user.email "support+actions@github.com" + git config --global user.name "github-actions-bot" + + - name: Get latest published 1.0.0-rc version + id: get_latest_published_rc + run: | + LATEST_RC_VERSION=$(npm view @spectrum-web-components/button@rc version || echo "none") + echo "latest_rc_version=$LATEST_RC_VERSION" >> $GITHUB_OUTPUT + + - name: Calculate next rc version + id: calculate_next_rc_version + run: | + BASE_VERSION="1.0.0" + LATEST_RC_VERSION="${{ steps.get_latest_published_rc.outputs.latest_rc_version }}" + + if [ "$LATEST_RC_VERSION" == "none" ]; then + RC_VERSION="$BASE_VERSION-rc.0" + else + CURRENT_RC_NUMBER=$(echo "$LATEST_RC_VERSION" | sed 's/.*-rc\.\([0-9]\+\)/\1/') + NEXT_RC_NUMBER=$((CURRENT_RC_NUMBER + 1)) + RC_VERSION="$BASE_VERSION-rc.$NEXT_RC_NUMBER" + fi + + echo "rc_version=$RC_VERSION" >> $GITHUB_OUTPUT + + - name: Update package versions for rc release + run: | + npx lerna version "${{ steps.calculate_next_rc_version.outputs.rc_version }}" --no-git-tag-version --no-push --yes + + - name: Configure NPM for Lerna publish + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + run: | + echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc + + - name: Publish 1.0.0 rc release + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + run: | + git commit -am "chore: publish rc version ${{ steps.calculate_next_rc_version.outputs.rc_version }}" + npx lerna publish from-package --dist-tag rc --no-git-tag-version --no-push --yes diff --git a/.github/workflows/smoke.yml b/.github/workflows/smoke.yml index 1ef16be1b5..3cada8cb69 100644 --- a/.github/workflows/smoke.yml +++ b/.github/workflows/smoke.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: 'yarn' registry-url: 'https://registry.npmjs.org' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index eb8fe6f7e5..5e43515119 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,10 +20,10 @@ jobs: - uses: actions/checkout@v4 - - name: Setup Node 18 + - name: Setup Node 20 uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '20' cache: 'yarn' registry-url: 'https://registry.npmjs.org' @@ -48,10 +48,10 @@ jobs: - uses: actions/checkout@v4 - - name: Setup Node 18 + - name: Setup Node 20 uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '20' cache: 'yarn' registry-url: 'https://registry.npmjs.org' @@ -100,10 +100,10 @@ jobs: - uses: actions/checkout@v4 - - name: Setup Node 18 + - name: Setup Node 20 uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '20' cache: 'yarn' registry-url: 'https://registry.npmjs.org' @@ -141,10 +141,10 @@ jobs: - uses: actions/checkout@v4 - - name: Setup Node 18 + - name: Setup Node 20 uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '20' cache: 'yarn' registry-url: 'https://registry.npmjs.org' @@ -181,10 +181,10 @@ jobs: - uses: actions/checkout@v4 - - name: Setup Node 18 + - name: Setup Node 20 uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '20' cache: 'yarn' registry-url: 'https://registry.npmjs.org' diff --git a/.gitignore b/.gitignore index b95fc918ae..ca3630e916 100644 --- a/.gitignore +++ b/.gitignore @@ -25,6 +25,9 @@ lib # build artifacts custom-elements.json +!packages/icons-workflow/bin/build.js +!packages/icons-workflow/src/DefaultIcon.ts + packages/*/src/**/*.css.js packages/*/custom-elements.json packages/**/*.js diff --git a/.stylelintrc.json b/.stylelintrc.json index 53ed72c15c..4af5a2a752 100755 --- a/.stylelintrc.json +++ b/.stylelintrc.json @@ -6,7 +6,11 @@ "length-zero-no-unit": [true, { "ignore": "custom-properties" }], "selector-type-no-unknown": [true, { "ignore": ["custom-elements"] }], "selector-pseudo-element-colon-notation": ["single", {}], - "custom-property-pattern": "^_?([a-z][a-z0-9]*)(-[a-z0-9]+)*$" + "custom-property-pattern": "^_?([a-z][a-z0-9]*)(-[a-z0-9]+)*$", + "no-duplicate-selectors": null, + "selector-class-pattern": null, + "no-descending-specificity": null, + "declaration-block-no-redundant-longhand-properties": null }, "overrides": [ { diff --git a/INVENTORY.md b/INVENTORY.md index 3308a924c3..5241862ad9 100644 --- a/INVENTORY.md +++ b/INVENTORY.md @@ -17,7 +17,6 @@ and [Spectrum Web Components](https://opensource.adobe.com/spectrum-web-componen | assetlist | ✅ | [📄](https://opensource.adobe.com/spectrum-css/assetlist.html) | ❌ | | avatar | ✅ | [📄](https://opensource.adobe.com/spectrum-css/avatar.html) | [📄](https://opensource.adobe.com/spectrum-web-components/components/avatar) | | badge | ✅ | [📄](https://opensource.adobe.com/spectrum-css/badge.html) | [📄](https://opensource.adobe.com/spectrum-web-components/components/badge) | -| banner | | | [📄](https://opensource.adobe.com/spectrum-web-components/components/banner) | | body | ✅ | | | | bottomnavigation | ✅ | | | | breadcrumb | ✅ | [📄](https://opensource.adobe.com/spectrum-css/breadcrumb.html) | ❌ | @@ -74,8 +73,6 @@ and [Spectrum Web Components](https://opensource.adobe.com/spectrum-web-componen | popover | ✅ | [📄](https://opensource.adobe.com/spectrum-css/popover.html) | [📄](https://opensource.adobe.com/spectrum-web-components/components/popover) | | progressbar | ✅ | [📄](https://opensource.adobe.com/spectrum-css/progressbar.html) | [📄](https://opensource.adobe.com/spectrum-web-components/components/progress-bar) | | progresscircle | ✅ | [📄](https://opensource.adobe.com/spectrum-css/progresscircle.html) | [📄](https://opensource.adobe.com/spectrum-web-components/components/progress-circle) | -| quickaction | | [📄](https://opensource.adobe.com/spectrum-css/quickaction.html) | [📄](https://opensource.adobe.com/spectrum-web-components/components/quick-actions) | -| quickactions | ✅ | | | | radio | ✅ | [📄](https://opensource.adobe.com/spectrum-css/radio.html) | [📄](https://opensource.adobe.com/spectrum-web-components/components/radio) | | radiogroup | ✅ | | | | rating | ✅ | [📄](https://opensource.adobe.com/spectrum-css/rating.html) | ❌ | @@ -84,7 +81,6 @@ and [Spectrum Web Components](https://opensource.adobe.com/spectrum-web-componen | searchwithin | ✅ | [📄](https://opensource.adobe.com/spectrum-css/searchwithin.html) | ❌ | | sidenav | ✅ | [📄](https://opensource.adobe.com/spectrum-css/sidenav.html) | [📄](https://opensource.adobe.com/spectrum-web-components/components/sidenav) | | slider | ✅ | [📄](https://opensource.adobe.com/spectrum-css/slider.html) | [📄](https://opensource.adobe.com/spectrum-web-components/components/slider) | -| splitbutton | ✅ | [📄](https://opensource.adobe.com/spectrum-css/splitbutton.html) | [📄](https://opensource.adobe.com/spectrum-web-components/components/split-button) | | splitview | | [📄](https://opensource.adobe.com/spectrum-css/splitview.html) | [📄](https://opensource.adobe.com/spectrum-web-components/components/split-view) | | statuslight | ✅ | [📄](https://opensource.adobe.com/spectrum-css/statuslight.html) | [📄](https://opensource.adobe.com/spectrum-web-components/components/status-light) | | steplist | ✅ | [📄](https://opensource.adobe.com/spectrum-css/steplist.html) | ❌ | diff --git a/README.md b/README.md index 037924ed38..d197971e93 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ To this end, Spectrum Web Components only targets _modern_, evergreen browsers t # Requirements -- NodeJS >= 18.17.0 +- NodeJS >= 20.0.0 - Typescript - Supported desktop browsers: - Last 2 versions of Chrome diff --git a/package.json b/package.json index d43aa4eb30..caff621267 100755 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "description": "", "type": "module", "engines": { - "node": ">=18.20.2", + "node": ">=20", "yarn": ">=1.16.0" }, "scripts": { @@ -211,7 +211,8 @@ "files": [ "packages/**/*.css", "tools/**/*.css", - "tasks/build-css.js" + "tasks/build-css.js", + "tasks/css-tools.js" ], "output": [ "packages/**/*.css.ts", @@ -244,6 +245,7 @@ "!tools/**/*.d.ts", "tasks/esbuild-packages.js", "tasks/ts-tools.js", + "tasks/hydrate-export-maps.js", "packages/**/exports.json", "tools/**/exports.json" ], @@ -263,6 +265,7 @@ "!**/spectrum-config.js", "!**/spectrum-config.v1.js", "!**/build.js", + "!**/build-icons-mapping.js", "test/**/*.js", "test/**/*.js.map", "!test/visual/create.js", @@ -325,7 +328,8 @@ "files": [ "packages/icons-ui/bin/build.js", "packages/icons-ui/packages.json", - "node_modules/@spectrum-css/ui-icons/dist/medium/**.svg" + "node_modules/@spectrum-css/ui-icons/dist/medium/**.svg", + "node_modules/@spectrum-css/ui-icons-s2/dist/medium/**.svg" ], "output": [ "packages/icons-ui/**/*.ts", @@ -334,15 +338,16 @@ "packages/icons-ui/stories/icon-manifest.ts", "!packages/icons-ui/test/**/*.ts", "!packages/icons-ui/src/index.ts", - "!packages/icons-ui/src/custom-tag.ts" + "!packages/icons-ui/src/custom-tag.ts", + "!packages/icons-workflow/src/DefaultIcon.ts" ], "clean": "if-file-deleted" }, "icons:workflow": { "command": "yarn workspace @spectrum-web-components/icons-workflow build", "files": [ - "packages/icons-workflow/bin/build.js", - "node_modules/@adobe/spectrum-css-workflow-icons/dist/18/**.svg" + "!packages/icons-workflow/bin/build.js", + "packages/icons-workflow/bin/build-icons-mapping.js" ], "output": [ "packages/icons-workflow/**/*.ts", @@ -351,7 +356,9 @@ "packages/icons-workflow/stories/icon-manifest.ts", "!packages/icons-workflow/test/**/*.ts", "!packages/icons-workflow/src/index.ts", - "!packages/icons-workflow/src/custom-tag.ts" + "!packages/icons-workflow/src/custom-tag.ts", + "!packages/icons-workflow/src/DefaultIcon.ts", + "!packages/icons-workflow/bin/icons-mapping.json" ], "clean": "if-file-deleted" }, @@ -424,5 +431,6 @@ "projects/*", "tools/*", "react/*" - ] + ], + "packageManager": "yarn@1.22.22" } diff --git a/packages/.eslintrc.json b/packages/.eslintrc.json index 4978496122..5939faca9f 100644 --- a/packages/.eslintrc.json +++ b/packages/.eslintrc.json @@ -14,7 +14,12 @@ ], "rules": { "no-debugger": 2, - "no-console": ["error", { "allow": ["warn", "error"] }], + "no-console": [ + "error", + { + "allow": ["warn", "error"] + } + ], "@spectrum-web-components/prevent-argument-names": [ "error", ["e", "ev", "evt", "err"] @@ -91,7 +96,7 @@ } }, { - "files": ["Picker.ts", "SplitButton.ts"], + "files": ["Picker.ts"], "rules": { "lit-a11y/click-events-have-key-events": [ "error", diff --git a/packages/accordion/package.json b/packages/accordion/package.json index e2f63c977b..a709710c7d 100644 --- a/packages/accordion/package.json +++ b/packages/accordion/package.json @@ -33,7 +33,9 @@ "development": "./src/AccordionItem.dev.js", "default": "./src/AccordionItem.js" }, + "./src/accordion-item-overrides.css.js": "./src/accordion-item-overrides.css.js", "./src/accordion-item.css.js": "./src/accordion-item.css.js", + "./src/accordion-overrides.css.js": "./src/accordion-overrides.css.js", "./src/accordion.css.js": "./src/accordion.css.js", "./src/index.js": { "development": "./src/index.dev.js", @@ -73,7 +75,7 @@ "@spectrum-web-components/shared": "^0.49.0" }, "devDependencies": { - "@spectrum-css/accordion": "^5.1.2" + "@spectrum-css/accordion": "^6.0.0-s2-foundations.16" }, "types": "./src/index.d.ts", "customElements": "custom-elements.json", diff --git a/packages/accordion/src/AccordionItem.ts b/packages/accordion/src/AccordionItem.ts index 4c68ce196d..a074f69171 100644 --- a/packages/accordion/src/AccordionItem.ts +++ b/packages/accordion/src/AccordionItem.ts @@ -22,6 +22,7 @@ import { Focusable } from '@spectrum-web-components/shared/src/focusable.js'; import { when } from '@spectrum-web-components/base/src/directives.js'; import '@spectrum-web-components/icons-ui/icons/sp-icon-chevron100.js'; import chevronIconStyles from '@spectrum-web-components/icon/src/spectrum-icon-chevron.css.js'; +import chevronIconOverrides from '@spectrum-web-components/icon/src/icon-chevron-overrides.css.js'; import styles from './accordion-item.css.js'; @@ -69,7 +70,7 @@ export class AccordionItem extends SizedMixin(Focusable, { noDefaultSize: true, }) { public static override get styles(): CSSResultArray { - return [styles, chevronIconStyles]; + return [styles, chevronIconStyles, chevronIconOverrides]; } @property({ type: Boolean, reflect: true }) diff --git a/packages/accordion/src/accordion-item-overrides.css b/packages/accordion/src/accordion-item-overrides.css new file mode 100644 index 0000000000..b24c42a121 --- /dev/null +++ b/packages/accordion/src/accordion-item-overrides.css @@ -0,0 +1,36 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +.spectrum-Accordion--sizeM { + --spectrum-accordion-item-height: var( + --system-accordion-size-m-item-height + ); + --spectrum-accordion-disclosure-indicator-height: var( + --system-accordion-size-m-disclosure-indicator-height + ); + --spectrum-accordion-component-edge-to-text: var( + --system-accordion-size-m-component-edge-to-text + ); + --spectrum-accordion-item-header-font-size: var( + --system-accordion-size-m-item-header-font-size + ); + --spectrum-accordion-item-content-font-size: var( + --system-accordion-size-m-item-content-font-size + ); + --spectrum-accordion-item-header-top-to-text-space: var( + --system-accordion-size-m-item-header-top-to-text-space + ); + --spectrum-accordion-item-header-bottom-to-text-space: var( + --system-accordion-size-m-item-header-bottom-to-text-space + ); +} diff --git a/packages/accordion/src/accordion-overrides.css b/packages/accordion/src/accordion-overrides.css new file mode 100644 index 0000000000..bd9e613923 --- /dev/null +++ b/packages/accordion/src/accordion-overrides.css @@ -0,0 +1,340 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host { + --spectrum-accordion-item-width: var(--system-accordion-item-width); + --spectrum-accordion-disclosure-indicator-to-text-space: var( + --system-accordion-disclosure-indicator-to-text-space + ); + --spectrum-accordion-edge-to-disclosure-indicator-space: var( + --system-accordion-edge-to-disclosure-indicator-space + ); + --spectrum-accordion-edge-to-text-space: var( + --system-accordion-edge-to-text-space + ); + --spectrum-accordion-focus-indicator-gap: var( + --system-accordion-focus-indicator-gap + ); + --spectrum-accordion-focus-indicator-thickness: var( + --system-accordion-focus-indicator-thickness + ); + --spectrum-accordion-corner-radius: var(--system-accordion-corner-radius); + --spectrum-accordion-item-content-area-top-to-content: var( + --system-accordion-item-content-area-top-to-content + ); + --spectrum-accordion-item-content-area-bottom-to-content: var( + --system-accordion-item-content-area-bottom-to-content + ); + --spectrum-accordion-item-header-font: var( + --system-accordion-item-header-font + ); + --spectrum-accordion-item-header-font-weight: var( + --system-accordion-item-header-font-weight + ); + --spectrum-accordion-item-header-font-style: var( + --system-accordion-item-header-font-style + ); + --spectrum-accordion-item-header-line-height: var( + --system-accordion-item-header-line-height + ); + --spectrum-accordion-item-content-font: var( + --system-accordion-item-content-font + ); + --spectrum-accordion-item-content-font-weight: var( + --system-accordion-item-content-font-weight + ); + --spectrum-accordion-item-content-font-style: var( + --system-accordion-item-content-font-style + ); + --spectrum-accordion-item-content-line-height: var( + --system-accordion-item-content-line-height + ); + --spectrum-accordion-background-color-default: var( + --system-accordion-background-color-default + ); + --spectrum-accordion-background-color-hover: var( + --system-accordion-background-color-hover + ); + --spectrum-accordion-background-color-down: var( + --system-accordion-background-color-down + ); + --spectrum-accordion-background-color-key-focus: var( + --system-accordion-background-color-key-focus + ); + --spectrum-accordion-item-header-color-default: var( + --system-accordion-item-header-color-default + ); + --spectrum-accordion-item-header-color-hover: var( + --system-accordion-item-header-color-hover + ); + --spectrum-accordion-item-header-color-down: var( + --system-accordion-item-header-color-down + ); + --spectrum-accordion-item-header-color-key-focus: var( + --system-accordion-item-header-color-key-focus + ); + --spectrum-accordion-item-header-disabled-color: var( + --system-accordion-item-header-disabled-color + ); + --spectrum-accordion-item-content-disabled-color: var( + --system-accordion-item-content-disabled-color + ); + --spectrum-accordion-item-content-color: var( + --system-accordion-item-content-color + ); + --spectrum-accordion-focus-indicator-color: var( + --system-accordion-focus-indicator-color + ); + --spectrum-accordion-divider-color: var(--system-accordion-divider-color); + --spectrum-accordion-item-header-line-height-cjk: var( + --system-accordion-item-header-line-height-cjk + ); + --spectrum-accordion-item-content-line-height-cjk: var( + --system-accordion-item-content-line-height-cjk + ); + --spectrum-accordion-item-height: var(--system-accordion-item-height); + --spectrum-accordion-disclosure-indicator-height: var( + --system-accordion-disclosure-indicator-height + ); + --spectrum-accordion-component-edge-to-text: var( + --system-accordion-component-edge-to-text + ); + --spectrum-accordion-item-header-font-size: var( + --system-accordion-item-header-font-size + ); + --spectrum-accordion-item-content-font-size: var( + --system-accordion-item-content-font-size + ); + --spectrum-accordion-item-header-top-to-text-space: var( + --system-accordion-item-header-top-to-text-space + ); + --spectrum-accordion-item-header-bottom-to-text-space: var( + --system-accordion-item-header-bottom-to-text-space + ); +} + +:host([size='s']) { + --spectrum-accordion-item-height: var( + --system-accordion-size-s-item-height + ); + --spectrum-accordion-disclosure-indicator-height: var( + --system-accordion-size-s-disclosure-indicator-height + ); + --spectrum-accordion-component-edge-to-text: var( + --system-accordion-size-s-component-edge-to-text + ); + --spectrum-accordion-item-header-font-size: var( + --system-accordion-size-s-item-header-font-size + ); + --spectrum-accordion-item-content-font-size: var( + --system-accordion-size-s-item-content-font-size + ); + --spectrum-accordion-item-header-top-to-text-space: var( + --system-accordion-size-s-item-header-top-to-text-space + ); + --spectrum-accordion-item-header-bottom-to-text-space: var( + --system-accordion-size-s-item-header-bottom-to-text-space + ); +} + +.spectrum-Accordion--sizeM { + --spectrum-accordion-item-height: var( + --system-accordion-size-m-item-height + ); + --spectrum-accordion-disclosure-indicator-height: var( + --system-accordion-size-m-disclosure-indicator-height + ); + --spectrum-accordion-component-edge-to-text: var( + --system-accordion-size-m-component-edge-to-text + ); + --spectrum-accordion-item-header-font-size: var( + --system-accordion-size-m-item-header-font-size + ); + --spectrum-accordion-item-content-font-size: var( + --system-accordion-size-m-item-content-font-size + ); + --spectrum-accordion-item-header-top-to-text-space: var( + --system-accordion-size-m-item-header-top-to-text-space + ); + --spectrum-accordion-item-header-bottom-to-text-space: var( + --system-accordion-size-m-item-header-bottom-to-text-space + ); +} + +:host([size='l']) { + --spectrum-accordion-item-height: var( + --system-accordion-size-l-item-height + ); + --spectrum-accordion-disclosure-indicator-height: var( + --system-accordion-size-l-disclosure-indicator-height + ); + --spectrum-accordion-component-edge-to-text: var( + --system-accordion-size-l-component-edge-to-text + ); + --spectrum-accordion-item-header-font-size: var( + --system-accordion-size-l-item-header-font-size + ); + --spectrum-accordion-item-content-font-size: var( + --system-accordion-size-l-item-content-font-size + ); + --spectrum-accordion-item-header-top-to-text-space: var( + --system-accordion-size-l-item-header-top-to-text-space + ); + --spectrum-accordion-item-header-bottom-to-text-space: var( + --system-accordion-size-l-item-header-bottom-to-text-space + ); +} + +:host([size='xl']) { + --spectrum-accordion-item-height: var( + --system-accordion-size-xl-item-height + ); + --spectrum-accordion-disclosure-indicator-height: var( + --system-accordion-size-xl-disclosure-indicator-height + ); + --spectrum-accordion-component-edge-to-text: var( + --system-accordion-size-xl-component-edge-to-text + ); + --spectrum-accordion-item-header-font-size: var( + --system-accordion-size-xl-item-header-font-size + ); + --spectrum-accordion-item-content-font-size: var( + --system-accordion-size-xl-item-content-font-size + ); + --spectrum-accordion-item-header-top-to-text-space: var( + --system-accordion-size-xl-item-header-top-to-text-space + ); + --spectrum-accordion-item-header-bottom-to-text-space: var( + --system-accordion-size-xl-item-header-bottom-to-text-space + ); +} + +:host([density='compact'][size='s']) { + --spectrum-accordion-item-height: var( + --system-accordion-compact-size-s-item-height + ); + --spectrum-accordion-item-header-top-to-text-space: var( + --system-accordion-compact-size-s-item-header-top-to-text-space + ); + --spectrum-accordion-item-header-bottom-to-text-space: var( + --system-accordion-compact-size-s-item-header-bottom-to-text-space + ); +} + +:host([density='compact']) { + --spectrum-accordion-item-height: var( + --system-accordion-compact-item-height + ); + --spectrum-accordion-item-header-top-to-text-space: var( + --system-accordion-compact-item-header-top-to-text-space + ); + --spectrum-accordion-item-header-bottom-to-text-space: var( + --system-accordion-compact-item-header-bottom-to-text-space + ); +} + +:host([density='compact']) .spectrum-Accordion--sizeM { + --spectrum-accordion-item-height: var( + --system-accordion-compact-size-m-item-height + ); + --spectrum-accordion-item-header-top-to-text-space: var( + --system-accordion-compact-size-m-item-header-top-to-text-space + ); + --spectrum-accordion-item-header-bottom-to-text-space: var( + --system-accordion-compact-size-m-item-header-bottom-to-text-space + ); +} + +:host([density='compact'][size='l']) { + --spectrum-accordion-item-height: var( + --system-accordion-compact-size-l-item-height + ); + --spectrum-accordion-item-header-top-to-text-space: var( + --system-accordion-compact-size-l-item-header-top-to-text-space + ); + --spectrum-accordion-item-header-bottom-to-text-space: var( + --system-accordion-compact-size-l-item-header-bottom-to-text-space + ); +} + +:host([density='compact'][size='xl']) { + --spectrum-accordion-item-height: var( + --system-accordion-compact-size-xl-item-height + ); + --spectrum-accordion-item-header-top-to-text-space: var( + --system-accordion-compact-size-xl-item-header-top-to-text-space + ); + --spectrum-accordion-item-header-bottom-to-text-space: var( + --system-accordion-compact-size-xl-item-header-bottom-to-text-space + ); +} + +:host([density='spacious'][size='s']) { + --spectrum-accordion-item-header-line-height: var( + --system-accordion-spacious-size-s-item-header-line-height + ); + --spectrum-accordion-item-header-top-to-text-space: var( + --system-accordion-spacious-size-s-item-header-top-to-text-space + ); + --spectrum-accordion-item-header-bottom-to-text-space: var( + --system-accordion-spacious-size-s-item-header-bottom-to-text-space + ); +} + +:host([density='spacious']) { + --spectrum-accordion-item-header-line-height: var( + --system-accordion-spacious-item-header-line-height + ); + --spectrum-accordion-item-header-top-to-text-space: var( + --system-accordion-spacious-item-header-top-to-text-space + ); + --spectrum-accordion-item-header-bottom-to-text-space: var( + --system-accordion-spacious-item-header-bottom-to-text-space + ); +} + +:host([density='spacious']) .spectrum-Accordion--sizeM { + --spectrum-accordion-item-header-line-height: var( + --system-accordion-spacious-size-m-item-header-line-height + ); + --spectrum-accordion-item-header-top-to-text-space: var( + --system-accordion-spacious-size-m-item-header-top-to-text-space + ); + --spectrum-accordion-item-header-bottom-to-text-space: var( + --system-accordion-spacious-size-m-item-header-bottom-to-text-space + ); +} + +:host([density='spacious'][size='l']) { + --spectrum-accordion-item-header-line-height: var( + --system-accordion-spacious-size-l-item-header-line-height + ); + --spectrum-accordion-item-header-top-to-text-space: var( + --system-accordion-spacious-size-l-item-header-top-to-text-space + ); + --spectrum-accordion-item-header-bottom-to-text-space: var( + --system-accordion-spacious-size-l-item-header-bottom-to-text-space + ); +} + +:host([density='spacious'][size='xl']) { + --spectrum-accordion-item-header-line-height: var( + --system-accordion-spacious-size-xl-item-header-line-height + ); + --spectrum-accordion-item-header-top-to-text-space: var( + --system-accordion-spacious-size-xl-item-header-top-to-text-space + ); + --spectrum-accordion-item-header-bottom-to-text-space: var( + --system-accordion-spacious-size-xl-item-header-bottom-to-text-space + ); +} diff --git a/packages/accordion/src/accordion.css b/packages/accordion/src/accordion.css index 4d06f2fdd3..c43a5797f5 100644 --- a/packages/accordion/src/accordion.css +++ b/packages/accordion/src/accordion.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-accordion.css'); +@import url('./accordion-overrides.css'); :host { --spectrum-logical-rotation: ; diff --git a/packages/accordion/src/spectrum-accordion-item.css b/packages/accordion/src/spectrum-accordion-item.css index 29010cbac2..62b4a13c44 100644 --- a/packages/accordion/src/spectrum-accordion-item.css +++ b/packages/accordion/src/spectrum-accordion-item.css @@ -315,17 +315,9 @@ governing permissions and limitations under the License. ); } -@media (forced-colors: active) { - #header:after { - forced-color-adjust: none; - content: ''; - position: absolute; - inset-inline-start: 0; - } -} - :host([open]) > #heading > .iconContainer > .indicator, :host([open]) > .iconContainer > .indicator { + transform: rotate(90deg); transform: var(--spectrum-logical-rotation,) rotate(90deg); } @@ -336,3 +328,12 @@ governing permissions and limitations under the License. :host([disabled]) #header { cursor: default; } + +@media (forced-colors: active) { + #header:after { + forced-color-adjust: none; + content: ''; + position: absolute; + inset-inline-start: 0; + } +} diff --git a/packages/accordion/src/spectrum-accordion.css b/packages/accordion/src/spectrum-accordion.css index 3c0da6a3b2..c86c1c4862 100644 --- a/packages/accordion/src/spectrum-accordion.css +++ b/packages/accordion/src/spectrum-accordion.css @@ -12,105 +12,6 @@ governing permissions and limitations under the License. /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ :host { - --spectrum-accordion-item-height: var(--spectrum-component-height-200); - --spectrum-accordion-item-width: var(--spectrum-accordion-minimum-width); - --spectrum-accordion-disclosure-indicator-height: var( - --spectrum-component-height-100 - ); - --spectrum-accordion-disclosure-indicator-to-text-space: var( - --spectrum-accordion-disclosure-indicator-to-text - ); - --spectrum-accordion-edge-to-disclosure-indicator-space: var( - --spectrum-accordion-edge-to-disclosure-indicator - ); - --spectrum-accordion-edge-to-text-space: var( - --spectrum-accordion-edge-to-text - ); - --spectrum-accordion-item-header-top-to-text-space: var( - --spectrum-accordion-top-to-text-regular-medium - ); - --spectrum-accordion-item-header-bottom-to-text-space: var( - --spectrum-accordion-bottom-to-text-regular-medium - ); - --spectrum-accordion-focus-indicator-gap: var( - --spectrum-focus-indicator-gap - ); - --spectrum-accordion-focus-indicator-thickness: var( - --spectrum-focus-indicator-thickness - ); - --spectrum-accordion-corner-radius: var(--spectrum-corner-radius-100); - --spectrum-accordion-item-content-area-top-to-content: var( - --spectrum-accordion-content-area-top-to-content - ); - --spectrum-accordion-item-content-area-bottom-to-content: var( - --spectrum-accordion-content-area-bottom-to-content - ); - --spectrum-accordion-component-edge-to-text: var( - --spectrum-component-edge-to-text-75 - ); - --spectrum-accordion-item-header-font: var( - --spectrum-sans-font-family-stack - ); - --spectrum-accordion-item-header-font-weight: var( - --spectrum-bold-font-weight - ); - --spectrum-accordion-item-header-font-style: var( - --spectrum-default-font-style - ); - --spectrum-accordion-item-header-font-size: var(--spectrum-font-size-300); - --spectrum-accordion-item-header-line-height: 1.25; - --spectrum-accordion-item-content-font: var( - --spectrum-sans-font-family-stack - ); - --spectrum-accordion-item-content-font-weight: var( - --spectrum-body-sans-serif-font-weight - ); - --spectrum-accordion-item-content-font-style: var( - --spectrum-body-sans-serif-font-style - ); - --spectrum-accordion-item-content-font-size: var(--spectrum-body-size-s); - --spectrum-accordion-item-content-line-height: var( - --spectrum-line-height-100 - ); - --spectrum-accordion-background-color-default: rgba( - var(--spectrum-gray-900-rgb), - var(--spectrum-background-opacity-default) - ); - --spectrum-accordion-background-color-hover: rgba( - var(--spectrum-gray-900-rgb), - var(--spectrum-background-opacity-hover) - ); - --spectrum-accordion-background-color-down: rgba( - var(--spectrum-gray-900-rgb), - var(--spectrum-background-opacity-down) - ); - --spectrum-accordion-background-color-key-focus: rgba( - var(--spectrum-gray-900-rgb), - var(--spectrum-background-opacity-key-focus) - ); - --spectrum-accordion-item-header-color-default: var( - --spectrum-neutral-content-color-default - ); - --spectrum-accordion-item-header-color-hover: var( - --spectrum-neutral-content-color-hover - ); - --spectrum-accordion-item-header-color-down: var( - --spectrum-neutral-content-color-down - ); - --spectrum-accordion-item-header-color-key-focus: var( - --spectrum-neutral-content-color-key-focus - ); - --spectrum-accordion-item-header-disabled-color: var( - --spectrum-disabled-content-color - ); - --spectrum-accordion-item-content-disabled-color: var( - --spectrum-disabled-content-color - ); - --spectrum-accordion-item-content-color: var(--spectrum-body-color); - --spectrum-accordion-focus-indicator-color: var( - --spectrum-focus-indicator-color - ); - --spectrum-accordion-divider-color: var(--spectrum-gray-300); --spectrum-accordion-min-block-size: max( var(--mod-accordion-item-height, var(--spectrum-accordion-item-height)), calc( @@ -132,161 +33,24 @@ governing permissions and limitations under the License. ) ) ); -} - -:host:dir(rtl), -:host([dir='rtl']) { - --spectrum-logical-rotation: matrix(-1, 0, 0, 1, 0, 0); + margin: 0; + padding: 0; + list-style: none; + display: block; } :host:lang(ja), :host:lang(ko), :host:lang(zh) { --spectrum-accordion-item-header-line-height: var( - --spectrum-cjk-line-height-100 + --spectrum-accordion-item-header-line-height-cjk ); --spectrum-accordion-item-content-line-height: var( - --spectrum-cjk-line-height-100 - ); -} - -:host([density='compact']) { - --spectrum-accordion-item-height: var(--spectrum-component-height-100); - --spectrum-accordion-item-header-top-to-text-space: var( - --spectrum-accordion-top-to-text-compact-medium - ); - --spectrum-accordion-item-header-bottom-to-text-space: var( - --spectrum-accordion-bottom-to-text-compact-medium + --spectrum-accordion-item-content-line-height-cjk ); } -:host([density='compact'][size='s']) { - --spectrum-accordion-item-height: var(--spectrum-component-height-75); - --spectrum-accordion-item-header-top-to-text-space: var( - --spectrum-accordion-top-to-text-compact-small - ); - --spectrum-accordion-item-header-bottom-to-text-space: var( - --spectrum-accordion-bottom-to-text-compact-small - ); -} - -:host([density='compact'][size='l']) { - --spectrum-accordion-item-height: var(--spectrum-component-height-200); - --spectrum-accordion-item-header-top-to-text-space: var( - --spectrum-accordion-top-to-text-compact-large - ); - --spectrum-accordion-item-header-bottom-to-text-space: var( - --spectrum-accordion-bottom-to-text-compact-large - ); -} - -:host([density='compact'][size='xl']) { - --spectrum-accordion-item-height: var(--spectrum-component-height-300); - --spectrum-accordion-item-header-top-to-text-space: var( - --spectrum-accordion-top-to-text-compact-extra-large - ); - --spectrum-accordion-item-header-bottom-to-text-space: var( - --spectrum-accordion-bottom-to-text-compact-extra-large - ); -} - -:host([density='spacious']) { - --spectrum-accordion-item-header-line-height: 1.278; - --spectrum-accordion-item-header-top-to-text-space: var( - --spectrum-accordion-top-to-text-spacious-medium - ); - --spectrum-accordion-item-header-bottom-to-text-space: var( - --spectrum-accordion-bottom-to-text-spacious-medium - ); -} - -:host([density='spacious'][size='s']) { - --spectrum-accordion-item-header-line-height: 1.25; - --spectrum-accordion-item-header-top-to-text-space: var( - --spectrum-accordion-small-top-to-text-spacious - ); - --spectrum-accordion-item-header-bottom-to-text-space: var( - --spectrum-accordion-bottom-to-text-spacious-small - ); -} - -:host([density='spacious'][size='l']) { - --spectrum-accordion-item-header-line-height: 1.273; - --spectrum-accordion-item-header-top-to-text-space: var( - --spectrum-accordion-top-to-text-spacious-large - ); - --spectrum-accordion-item-header-bottom-to-text-space: var( - --spectrum-accordion-bottom-to-text-spacious-large - ); -} - -:host([density='spacious'][size='xl']) { - --spectrum-accordion-item-header-line-height: 1.25; - --spectrum-accordion-item-header-top-to-text-space: var( - --spectrum-accordion-top-to-text-spacious-extra-large - ); - --spectrum-accordion-item-header-bottom-to-text-space: var( - --spectrum-accordion-bottom-to-text-spacious-extra-large - ); -} - -:host([size='s']) { - --spectrum-accordion-item-height: var(--spectrum-component-height-100); - --spectrum-accordion-disclosure-indicator-height: var( - --spectrum-component-height-75 - ); - --spectrum-accordion-component-edge-to-text: var( - --spectrum-component-edge-to-text-50 - ); - --spectrum-accordion-item-header-font-size: var(--spectrum-font-size-200); - --spectrum-accordion-item-content-font-size: var(--spectrum-body-size-xs); - --spectrum-accordion-item-header-top-to-text-space: var( - --spectrum-accordion-top-to-text-regular-small - ); - --spectrum-accordion-item-header-bottom-to-text-space: var( - --spectrum-accordion-bottom-to-text-regular-small - ); -} - -:host([size='l']) { - --spectrum-accordion-item-height: var(--spectrum-component-height-300); - --spectrum-accordion-disclosure-indicator-height: var( - --spectrum-component-height-200 - ); - --spectrum-accordion-component-edge-to-text: var( - --spectrum-component-edge-to-text-100 - ); - --spectrum-accordion-item-header-font-size: var(--spectrum-font-size-500); - --spectrum-accordion-item-content-font-size: var(--spectrum-body-size-m); - --spectrum-accordion-item-header-top-to-text-space: var( - --spectrum-accordion-top-to-text-regular-large - ); - --spectrum-accordion-item-header-bottom-to-text-space: var( - --spectrum-accordion-bottom-to-text-regular-large - ); -} - -:host([size='xl']) { - --spectrum-accordion-item-height: var(--spectrum-component-height-400); - --spectrum-accordion-disclosure-indicator-height: var( - --spectrum-component-height-300 - ); - --spectrum-accordion-component-edge-to-text: var( - --spectrum-component-edge-to-text-200 - ); - --spectrum-accordion-item-header-font-size: var(--spectrum-font-size-700); - --spectrum-accordion-item-content-font-size: var(--spectrum-body-size-l); - --spectrum-accordion-item-header-top-to-text-space: var( - --spectrum-accordion-top-to-text-regular-extra-large - ); - --spectrum-accordion-item-header-bottom-to-text-space: var( - --spectrum-accordion-bottom-to-text-regular-extra-large - ); -} - -:host { - margin: 0; - padding: 0; - list-style: none; - display: block; +:host:dir(rtl), +:host([dir='rtl']) { + --spectrum-logical-rotation: matrix(-1, 0, 0, 1, 0, 0); } diff --git a/packages/accordion/src/spectrum-config.js b/packages/accordion/src/spectrum-config.js index fbf71615a7..57097ff6bf 100644 --- a/packages/accordion/src/spectrum-config.js +++ b/packages/accordion/src/spectrum-config.js @@ -100,6 +100,33 @@ const config = { replace: builder.pseudoClass('first-child'), hoist: true, }, + { + find: { + type: 'pseudo-class', + kind: 'not', + selectors: [ + [ + { + type: 'pseudo-class', + kind: 'first-of-type', + }, + ], + ], + }, + replace: { + type: 'pseudo-class', + kind: 'not', + selectors: [ + [ + { + type: 'pseudo-class', + kind: 'first-of-type', + }, + ], + ], + }, + hoist: true, + }, { find: [ builder.class('spectrum-Accordion-itemHeader'), diff --git a/packages/action-bar/package.json b/packages/action-bar/package.json index c521a6d1f0..517f7b0407 100644 --- a/packages/action-bar/package.json +++ b/packages/action-bar/package.json @@ -29,6 +29,7 @@ "development": "./src/ActionBar.dev.js", "default": "./src/ActionBar.js" }, + "./src/action-bar-overrides.css.js": "./src/action-bar-overrides.css.js", "./src/action-bar.css.js": "./src/action-bar.css.js", "./src/index.js": { "development": "./src/index.dev.js", @@ -64,7 +65,7 @@ "@spectrum-web-components/popover": "^0.49.0" }, "devDependencies": { - "@spectrum-css/actionbar": "^8.1.1" + "@spectrum-css/actionbar": "^9.0.0-s2-foundations.16" }, "types": "./src/index.d.ts", "customElements": "custom-elements.json", diff --git a/packages/action-bar/src/action-bar-overrides.css b/packages/action-bar/src/action-bar-overrides.css new file mode 100644 index 0000000000..c6227c741f --- /dev/null +++ b/packages/action-bar/src/action-bar-overrides.css @@ -0,0 +1,73 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host { + --spectrum-actionbar-height: var(--system-action-bar-height); + --spectrum-actionbar-corner-radius: var(--system-action-bar-corner-radius); + --spectrum-actionbar-item-counter-font-size: var( + --system-action-bar-item-counter-font-size + ); + --spectrum-actionbar-item-counter-line-height: var( + --system-action-bar-item-counter-line-height + ); + --spectrum-actionbar-item-counter-color: var( + --system-action-bar-item-counter-color + ); + --spectrum-actionbar-item-counter-line-height-cjk: var( + --system-action-bar-item-counter-line-height-cjk + ); + --spectrum-actionbar-popover-background-color: var( + --system-action-bar-popover-background-color + ); + --spectrum-actionbar-popover-border-color: var( + --system-action-bar-popover-border-color + ); + --spectrum-actionbar-emphasized-background-color: var( + --system-action-bar-emphasized-background-color + ); + --spectrum-actionbar-emphasized-item-counter-color: var( + --system-action-bar-emphasized-item-counter-color + ); + --spectrum-actionbar-spacing-outer-edge: var( + --system-action-bar-spacing-outer-edge + ); + --spectrum-actionbar-spacing-close-button-top: var( + --system-action-bar-spacing-close-button-top + ); + --spectrum-actionbar-spacing-close-button-start: var( + --system-action-bar-spacing-close-button-start + ); + --spectrum-actionbar-spacing-close-button-end: var( + --system-action-bar-spacing-close-button-end + ); + --spectrum-actionbar-spacing-item-counter-top: var( + --system-action-bar-spacing-item-counter-top + ); + --spectrum-actionbar-spacing-item-counter-end: var( + --system-action-bar-spacing-item-counter-end + ); + --spectrum-actionbar-spacing-action-group-top: var( + --system-action-bar-spacing-action-group-top + ); + --spectrum-actionbar-spacing-action-group-end: var( + --system-action-bar-spacing-action-group-end + ); + --spectrum-actionbar-shadow-horizontal: var( + --system-action-bar-shadow-horizontal + ); + --spectrum-actionbar-shadow-vertical: var( + --system-action-bar-shadow-vertical + ); + --spectrum-actionbar-shadow-blur: var(--system-action-bar-shadow-blur); + --spectrum-actionbar-shadow-color: var(--system-action-bar-shadow-color); +} diff --git a/packages/action-bar/src/action-bar.css b/packages/action-bar/src/action-bar.css index 317d5edb3e..dbde6e2c75 100644 --- a/packages/action-bar/src/action-bar.css +++ b/packages/action-bar/src/action-bar.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-action-bar.css'); +@import url('./action-bar-overrides.css'); :host { display: block; diff --git a/packages/action-bar/src/spectrum-action-bar.css b/packages/action-bar/src/spectrum-action-bar.css index 96908ff527..d12552d3d2 100644 --- a/packages/action-bar/src/spectrum-action-bar.css +++ b/packages/action-bar/src/spectrum-action-bar.css @@ -11,48 +11,6 @@ governing permissions and limitations under the License. */ /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ -:host { - --spectrum-actionbar-height: var(--spectrum-action-bar-height); - --spectrum-actionbar-corner-radius: var(--spectrum-corner-radius-100); - --spectrum-actionbar-item-counter-font-size: var(--spectrum-font-size-100); - --spectrum-actionbar-item-counter-line-height: var( - --spectrum-line-height-100 - ); - --spectrum-actionbar-item-counter-color: var( - --spectrum-neutral-content-color-default - ); - --spectrum-actionbar-popover-background-color: var(--spectrum-gray-50); - --spectrum-actionbar-popover-border-color: var(--spectrum-gray-400); - --spectrum-actionbar-emphasized-background-color: var( - --spectrum-informative-background-color-default - ); - --spectrum-actionbar-emphasized-item-counter-color: var(--spectrum-white); - --spectrum-actionbar-spacing-outer-edge: var(--spectrum-spacing-300); - --spectrum-actionbar-spacing-close-button-top: var(--spectrum-spacing-100); - --spectrum-actionbar-spacing-close-button-start: var( - --spectrum-spacing-100 - ); - --spectrum-actionbar-spacing-close-button-end: var(--spectrum-spacing-75); - --spectrum-actionbar-spacing-item-counter-top: var( - --spectrum-action-bar-top-to-item-counter - ); - --spectrum-actionbar-spacing-item-counter-end: var(--spectrum-spacing-400); - --spectrum-actionbar-spacing-action-group-top: var(--spectrum-spacing-100); - --spectrum-actionbar-spacing-action-group-end: var(--spectrum-spacing-100); - --spectrum-actionbar-shadow-horizontal: var(--spectrum-drop-shadow-x); - --spectrum-actionbar-shadow-vertical: var(--spectrum-drop-shadow-y); - --spectrum-actionbar-shadow-blur: var(--spectrum-drop-shadow-blur); - --spectrum-actionbar-shadow-color: var(--spectrum-drop-shadow-color); -} - -:host:lang(ja), -:host:lang(ko), -:host:lang(zh) { - --spectrum-actionbar-item-counter-line-height-cjk: var( - --spectrum-cjk-line-height-100 - ); -} - @media (forced-colors: active) { :host, :host([emphasized]) #popover { diff --git a/packages/action-bar/stories/template.ts b/packages/action-bar/stories/template.ts index a75ab3764d..b90197348f 100644 --- a/packages/action-bar/stories/template.ts +++ b/packages/action-bar/stories/template.ts @@ -15,7 +15,7 @@ import { html, TemplateResult } from '@spectrum-web-components/base'; import '@spectrum-web-components/action-bar/sp-action-bar.js'; import '@spectrum-web-components/action-button/sp-action-button.js'; import '@spectrum-web-components/icons-workflow/icons/sp-icon-edit.js'; -import '@spectrum-web-components/icons-workflow/icons/sp-icon-share-light.js'; +import '@spectrum-web-components/icons-workflow/icons/sp-icon-share.js'; export interface Properties { emphasized?: boolean; @@ -37,9 +37,7 @@ export const Template = ({ - + ` : html``} diff --git a/packages/action-button/package.json b/packages/action-button/package.json index 17bf9e79aa..fb1811e0a5 100644 --- a/packages/action-button/package.json +++ b/packages/action-button/package.json @@ -29,6 +29,7 @@ "development": "./src/ActionButton.dev.js", "default": "./src/ActionButton.js" }, + "./src/action-button-overrides.css.js": "./src/action-button-overrides.css.js", "./src/action-button.css.js": "./src/action-button.css.js", "./src/index.js": { "development": "./src/index.dev.js", @@ -64,7 +65,7 @@ "@spectrum-web-components/shared": "^0.49.0" }, "devDependencies": { - "@spectrum-css/actionbutton": "^6.1.1" + "@spectrum-css/actionbutton": "^7.0.0-s2-foundations.22" }, "types": "./src/index.d.ts", "customElements": "custom-elements.json", diff --git a/packages/action-button/src/ActionButton.ts b/packages/action-button/src/ActionButton.ts index 8d4dd624e9..4d7dce5913 100644 --- a/packages/action-button/src/ActionButton.ts +++ b/packages/action-button/src/ActionButton.ts @@ -22,6 +22,7 @@ import { property } from '@spectrum-web-components/base/src/decorators.js'; import { ButtonBase } from '@spectrum-web-components/button'; import buttonStyles from './action-button.css.js'; import cornerTriangleStyles from '@spectrum-web-components/icon/src/spectrum-icon-corner-triangle.css.js'; +import cornerTriangleOverrides from '@spectrum-web-components/icon/src/icon-corner-triangle-overrides.css.js'; import '@spectrum-web-components/icons-ui/icons/sp-icon-corner-triangle300.js'; const holdAffordanceClass = { @@ -54,7 +55,12 @@ export class ActionButton extends SizedMixin(ButtonBase, { noDefaultSize: true, }) { public static override get styles(): CSSResultArray { - return [...super.styles, buttonStyles, cornerTriangleStyles]; + return [ + ...super.styles, + buttonStyles, + cornerTriangleStyles, + cornerTriangleOverrides, + ]; } @property({ type: Boolean, reflect: true }) @@ -90,18 +96,6 @@ export class ActionButton extends SizedMixin(ButtonBase, { @property({ reflect: true, attribute: 'static-color' }) public staticColor?: 'white' | 'black'; - /** - * @deprecated Use `staticColor` instead. - */ - @property({ reflect: true }) - public static?: 'white' | 'black'; - - /** - * @deprecated Use `staticColor` instead. - */ - @property({ reflect: true }) - public variant?: 'white' | 'black'; - @property({ type: String }) public get value(): string { return this._value || this.itemText; @@ -268,34 +262,6 @@ export class ActionButton extends SizedMixin(ButtonBase, { } } } - if ( - changes.has('variant') && - (this.variant !== undefined || changes.get('variant') !== undefined) - ) { - this.staticColor = this.variant; - if (window.__swc.DEBUG) { - window.__swc.warn( - this, - `The "variant" attribute/property of <${this.localName}> has been deprecated. Use "static-color" with the same values instead. "variant" will be removed in a future release.`, - 'https://opensource.adobe.com/spectrum-web-components/components/action-button/api/', - { level: 'deprecation' } - ); - } - } - if ( - changes.has('static') && - (this.static !== undefined || changes.get('static') !== undefined) - ) { - this.staticColor = this.static; - if (window.__swc.DEBUG) { - window.__swc.warn( - this, - `The "static" attribute/property of <${this.localName}> has been deprecated. Use "static-color" with the same values instead. "static" will be removed in a future release.`, - 'https://opensource.adobe.com/spectrum-web-components/components/action-button/api/', - { level: 'deprecation' } - ); - } - } if (changes.has('holdAffordance')) { if (this.holdAffordance) { this.addEventListener( diff --git a/packages/action-button/src/action-button-overrides.css b/packages/action-button/src/action-button-overrides.css new file mode 100644 index 0000000000..c34e4f0976 --- /dev/null +++ b/packages/action-button/src/action-button-overrides.css @@ -0,0 +1,591 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host { + --spectrum-actionbutton-animation-duration: var( + --system-action-button-animation-duration + ); + --spectrum-actionbutton-border-radius: var( + --system-action-button-border-radius + ); + --spectrum-actionbutton-border-width: var( + --system-action-button-border-width + ); + --spectrum-actionbutton-content-color-default: var( + --system-action-button-content-color-default + ); + --spectrum-actionbutton-content-color-hover: var( + --system-action-button-content-color-hover + ); + --spectrum-actionbutton-content-color-down: var( + --system-action-button-content-color-down + ); + --spectrum-actionbutton-content-color-focus: var( + --system-action-button-content-color-focus + ); + --spectrum-actionbutton-focus-indicator-gap: var( + --system-action-button-focus-indicator-gap + ); + --spectrum-actionbutton-focus-indicator-thickness: var( + --system-action-button-focus-indicator-thickness + ); + --spectrum-actionbutton-focus-indicator-color: var( + --system-action-button-focus-indicator-color + ); + --spectrum-actionbutton-background-color-default: var( + --system-action-button-background-color-default + ); + --spectrum-actionbutton-background-color-hover: var( + --system-action-button-background-color-hover + ); + --spectrum-actionbutton-background-color-down: var( + --system-action-button-background-color-down + ); + --spectrum-actionbutton-background-color-focus: var( + --system-action-button-background-color-focus + ); + --spectrum-actionbutton-border-color-default: var( + --system-action-button-border-color-default + ); + --spectrum-actionbutton-border-color-hover: var( + --system-action-button-border-color-hover + ); + --spectrum-actionbutton-border-color-down: var( + --system-action-button-border-color-down + ); + --spectrum-actionbutton-border-color-focus: var( + --system-action-button-border-color-focus + ); + --spectrum-actionbutton-background-color-disabled: var( + --system-action-button-background-color-disabled + ); + --spectrum-actionbutton-border-color-disabled: var( + --system-action-button-border-color-disabled + ); + --spectrum-actionbutton-content-color-disabled: var( + --system-action-button-content-color-disabled + ); + --spectrum-actionbutton-min-width: var(--system-action-button-min-width); + --spectrum-actionbutton-height: var(--system-action-button-height); + --spectrum-actionbutton-icon-size: var(--system-action-button-icon-size); + --spectrum-actionbutton-font-size: var(--system-action-button-font-size); + --spectrum-actionbutton-text-to-visual: var( + --system-action-button-text-to-visual + ); + --spectrum-actionbutton-edge-to-hold-icon: var( + --system-action-button-edge-to-hold-icon + ); + --spectrum-actionbutton-edge-to-visual-size: var( + --system-action-button-edge-to-visual-size + ); + --spectrum-actionbutton-edge-to-visual-only-size: var( + --system-action-button-edge-to-visual-only-size + ); + --spectrum-actionbutton-edge-to-text-size: var( + --system-action-button-edge-to-text-size + ); +} + +:host([quiet]) { + --spectrum-actionbutton-background-color-default: var( + --system-action-button-quiet-background-color-default + ); + --spectrum-actionbutton-background-color-hover: var( + --system-action-button-quiet-background-color-hover + ); + --spectrum-actionbutton-background-color-down: var( + --system-action-button-quiet-background-color-down + ); + --spectrum-actionbutton-background-color-focus: var( + --system-action-button-quiet-background-color-focus + ); + --spectrum-actionbutton-background-color-disabled: var( + --system-action-button-quiet-background-color-disabled + ); + --spectrum-actionbutton-border-color-default: var( + --system-action-button-quiet-border-color-default + ); + --spectrum-actionbutton-border-color-hover: var( + --system-action-button-quiet-border-color-hover + ); + --spectrum-actionbutton-border-color-down: var( + --system-action-button-quiet-border-color-down + ); + --spectrum-actionbutton-border-color-focus: var( + --system-action-button-quiet-border-color-focus + ); + --spectrum-actionbutton-border-color-disabled: var( + --system-action-button-quiet-border-color-disabled + ); +} + +:host([selected]) { + --spectrum-actionbutton-background-color-default: var( + --system-action-button-selected-background-color-default + ); + --spectrum-actionbutton-background-color-hover: var( + --system-action-button-selected-background-color-hover + ); + --spectrum-actionbutton-background-color-down: var( + --system-action-button-selected-background-color-down + ); + --spectrum-actionbutton-background-color-focus: var( + --system-action-button-selected-background-color-focus + ); + --spectrum-actionbutton-content-color-default: var( + --system-action-button-selected-content-color-default + ); + --spectrum-actionbutton-content-color-hover: var( + --system-action-button-selected-content-color-hover + ); + --spectrum-actionbutton-content-color-down: var( + --system-action-button-selected-content-color-down + ); + --spectrum-actionbutton-content-color-focus: var( + --system-action-button-selected-content-color-focus + ); + --spectrum-actionbutton-border-color-default: var( + --system-action-button-selected-border-color-default + ); + --spectrum-actionbutton-border-color-hover: var( + --system-action-button-selected-border-color-hover + ); + --spectrum-actionbutton-border-color-down: var( + --system-action-button-selected-border-color-down + ); + --spectrum-actionbutton-border-color-focus: var( + --system-action-button-selected-border-color-focus + ); + --spectrum-actionbutton-border-color-disabled: var( + --system-action-button-selected-border-color-disabled + ); + --spectrum-actionbutton-background-color-disabled: var( + --system-action-button-selected-background-color-disabled + ); +} + +:host([selected][emphasized]) { + --spectrum-actionbutton-background-color-default: var( + --system-action-button-selected-emphasized-background-color-default + ); + --spectrum-actionbutton-background-color-hover: var( + --system-action-button-selected-emphasized-background-color-hover + ); + --spectrum-actionbutton-background-color-down: var( + --system-action-button-selected-emphasized-background-color-down + ); + --spectrum-actionbutton-background-color-focus: var( + --system-action-button-selected-emphasized-background-color-focus + ); + --spectrum-actionbutton-content-color-default: var( + --system-action-button-selected-emphasized-content-color-default + ); + --spectrum-actionbutton-content-color-hover: var( + --system-action-button-selected-emphasized-content-color-hover + ); + --spectrum-actionbutton-content-color-down: var( + --system-action-button-selected-emphasized-content-color-down + ); + --spectrum-actionbutton-content-color-focus: var( + --system-action-button-selected-emphasized-content-color-focus + ); +} + +:host([static-color='black'][quiet]) { + --spectrum-actionbutton-border-color-default: var( + --system-action-button-static-black-quiet-border-color-default + ); + --spectrum-actionbutton-border-color-hover: var( + --system-action-button-static-black-quiet-border-color-hover + ); + --spectrum-actionbutton-border-color-down: var( + --system-action-button-static-black-quiet-border-color-down + ); + --spectrum-actionbutton-border-color-focus: var( + --system-action-button-static-black-quiet-border-color-focus + ); + --spectrum-actionbutton-border-color-disabled: var( + --system-action-button-static-black-quiet-border-color-disabled + ); +} + +:host([static-color='white'][quiet]) { + --spectrum-actionbutton-border-color-default: var( + --system-action-button-static-white-quiet-border-color-default + ); + --spectrum-actionbutton-border-color-hover: var( + --system-action-button-static-white-quiet-border-color-hover + ); + --spectrum-actionbutton-border-color-down: var( + --system-action-button-static-white-quiet-border-color-down + ); + --spectrum-actionbutton-border-color-focus: var( + --system-action-button-static-white-quiet-border-color-focus + ); + --spectrum-actionbutton-border-color-disabled: var( + --system-action-button-static-white-quiet-border-color-disabled + ); +} + +:host([static-color='black']) { + --spectrum-actionbutton-background-color-default: var( + --system-action-button-static-black-background-color-default + ); + --spectrum-actionbutton-background-color-hover: var( + --system-action-button-static-black-background-color-hover + ); + --spectrum-actionbutton-background-color-down: var( + --system-action-button-static-black-background-color-down + ); + --spectrum-actionbutton-background-color-focus: var( + --system-action-button-static-black-background-color-focus + ); + --spectrum-actionbutton-background-color-disabled: var( + --system-action-button-static-black-background-color-disabled + ); + --spectrum-actionbutton-border-color-default: var( + --system-action-button-static-black-border-color-default + ); + --spectrum-actionbutton-border-color-hover: var( + --system-action-button-static-black-border-color-hover + ); + --spectrum-actionbutton-border-color-down: var( + --system-action-button-static-black-border-color-down + ); + --spectrum-actionbutton-border-color-focus: var( + --system-action-button-static-black-border-color-focus + ); + --spectrum-actionbutton-border-color-disabled: var( + --system-action-button-static-black-border-color-disabled + ); + --spectrum-actionbutton-content-color-default: var( + --system-action-button-static-black-content-color-default + ); + --spectrum-actionbutton-content-color-hover: var( + --system-action-button-static-black-content-color-hover + ); + --spectrum-actionbutton-content-color-down: var( + --system-action-button-static-black-content-color-down + ); + --spectrum-actionbutton-content-color-focus: var( + --system-action-button-static-black-content-color-focus + ); + --spectrum-actionbutton-content-color-disabled: var( + --system-action-button-static-black-content-color-disabled + ); + --spectrum-actionbutton-focus-indicator-color: var( + --system-action-button-static-black-focus-indicator-color + ); +} + +:host([static-color='black'][selected]) { + --spectrum-actionbutton-background-color-default: var( + --system-action-button-static-black-selected-background-color-default + ); + --spectrum-actionbutton-background-color-hover: var( + --system-action-button-static-black-selected-background-color-hover + ); + --spectrum-actionbutton-background-color-down: var( + --system-action-button-static-black-selected-background-color-down + ); + --spectrum-actionbutton-background-color-focus: var( + --system-action-button-static-black-selected-background-color-focus + ); + --spectrum-actionbutton-background-color-disabled: var( + --system-action-button-static-black-selected-background-color-disabled + ); + --spectrum-actionbutton-border-color-disabled: var( + --system-action-button-static-black-selected-border-color-disabled + ); + --spectrum-actionbutton-content-color-default: var( + --system-action-button-static-black-selected-content-color-default + ); + --spectrum-actionbutton-content-color-hover: var( + --system-action-button-static-black-selected-content-color-hover + ); + --spectrum-actionbutton-content-color-down: var( + --system-action-button-static-black-selected-content-color-down + ); + --spectrum-actionbutton-content-color-focus: var( + --system-action-button-static-black-selected-content-color-focus + ); +} + +:host([static-color='black'][selected][emphasized]) { + --spectrum-actionbutton-background-color-default: var( + --system-action-button-static-black-selected-emphasized-background-color-default + ); + --spectrum-actionbutton-background-color-hover: var( + --system-action-button-static-black-selected-emphasized-background-color-hover + ); + --spectrum-actionbutton-background-color-down: var( + --system-action-button-static-black-selected-emphasized-background-color-down + ); + --spectrum-actionbutton-background-color-focus: var( + --system-action-button-static-black-selected-emphasized-background-color-focus + ); + --spectrum-actionbutton-content-color-default: var( + --system-action-button-static-black-selected-emphasized-content-color-default + ); + --spectrum-actionbutton-content-color-hover: var( + --system-action-button-static-black-selected-emphasized-content-color-hover + ); + --spectrum-actionbutton-content-color-down: var( + --system-action-button-static-black-selected-emphasized-content-color-down + ); + --spectrum-actionbutton-content-color-focus: var( + --system-action-button-static-black-selected-emphasized-content-color-focus + ); +} + +:host([static-color='white']) { + --spectrum-actionbutton-background-color-default: var( + --system-action-button-static-white-background-color-default + ); + --spectrum-actionbutton-background-color-hover: var( + --system-action-button-static-white-background-color-hover + ); + --spectrum-actionbutton-background-color-down: var( + --system-action-button-static-white-background-color-down + ); + --spectrum-actionbutton-background-color-focus: var( + --system-action-button-static-white-background-color-focus + ); + --spectrum-actionbutton-background-color-disabled: var( + --system-action-button-static-white-background-color-disabled + ); + --spectrum-actionbutton-border-color-default: var( + --system-action-button-static-white-border-color-default + ); + --spectrum-actionbutton-border-color-hover: var( + --system-action-button-static-white-border-color-hover + ); + --spectrum-actionbutton-border-color-down: var( + --system-action-button-static-white-border-color-down + ); + --spectrum-actionbutton-border-color-focus: var( + --system-action-button-static-white-border-color-focus + ); + --spectrum-actionbutton-border-color-disabled: var( + --system-action-button-static-white-border-color-disabled + ); + --spectrum-actionbutton-content-color-default: var( + --system-action-button-static-white-content-color-default + ); + --spectrum-actionbutton-content-color-hover: var( + --system-action-button-static-white-content-color-hover + ); + --spectrum-actionbutton-content-color-down: var( + --system-action-button-static-white-content-color-down + ); + --spectrum-actionbutton-content-color-focus: var( + --system-action-button-static-white-content-color-focus + ); + --spectrum-actionbutton-content-color-disabled: var( + --system-action-button-static-white-content-color-disabled + ); + --spectrum-actionbutton-focus-indicator-color: var( + --system-action-button-static-white-focus-indicator-color + ); +} + +:host([static-color='white'][selected]) { + --spectrum-actionbutton-background-color-default: var( + --system-action-button-static-white-selected-background-color-default + ); + --spectrum-actionbutton-background-color-hover: var( + --system-action-button-static-white-selected-background-color-hover + ); + --spectrum-actionbutton-background-color-down: var( + --system-action-button-static-white-selected-background-color-down + ); + --spectrum-actionbutton-background-color-focus: var( + --system-action-button-static-white-selected-background-color-focus + ); + --spectrum-actionbutton-background-color-disabled: var( + --system-action-button-static-white-selected-background-color-disabled + ); + --spectrum-actionbutton-border-color-disabled: var( + --system-action-button-static-white-selected-border-color-disabled + ); + --spectrum-actionbutton-content-color-default: var( + --system-action-button-static-white-selected-content-color-default + ); + --spectrum-actionbutton-content-color-hover: var( + --system-action-button-static-white-selected-content-color-hover + ); + --spectrum-actionbutton-content-color-down: var( + --system-action-button-static-white-selected-content-color-down + ); + --spectrum-actionbutton-content-color-focus: var( + --system-action-button-static-white-selected-content-color-focus + ); +} + +:host([static-color='white'][selected][emphasized]) { + --spectrum-actionbutton-background-color-default: var( + --system-action-button-static-white-selected-emphasized-background-color-default + ); + --spectrum-actionbutton-background-color-hover: var( + --system-action-button-static-white-selected-emphasized-background-color-hover + ); + --spectrum-actionbutton-background-color-down: var( + --system-action-button-static-white-selected-emphasized-background-color-down + ); + --spectrum-actionbutton-background-color-focus: var( + --system-action-button-static-white-selected-emphasized-background-color-focus + ); + --spectrum-actionbutton-content-color-default: var( + --system-action-button-static-white-selected-emphasized-content-color-default + ); +} + +:host { + --spectrum-actionbutton-min-width: var( + --system-action-button-size-m-min-width + ); + --spectrum-actionbutton-height: var(--system-action-button-size-m-height); + --spectrum-actionbutton-icon-size: var( + --system-action-button-size-m-icon-size + ); + --spectrum-actionbutton-font-size: var( + --system-action-button-size-m-font-size + ); + --spectrum-actionbutton-text-to-visual: var( + --system-action-button-size-m-text-to-visual + ); + --spectrum-actionbutton-edge-to-hold-icon: var( + --system-action-button-size-m-edge-to-hold-icon + ); + --spectrum-actionbutton-edge-to-visual-size: var( + --system-action-button-size-m-edge-to-visual-size + ); + --spectrum-actionbutton-edge-to-visual-only-size: var( + --system-action-button-size-m-edge-to-visual-only-size + ); + --spectrum-actionbutton-edge-to-text-size: var( + --system-action-button-size-m-edge-to-text-size + ); +} + +:host([size='xs']) { + --spectrum-actionbutton-min-width: var( + --system-action-button-size-xs-min-width + ); + --spectrum-actionbutton-height: var(--system-action-button-size-xs-height); + --spectrum-actionbutton-icon-size: var( + --system-action-button-size-xs-icon-size + ); + --spectrum-actionbutton-font-size: var( + --system-action-button-size-xs-font-size + ); + --spectrum-actionbutton-text-to-visual: var( + --system-action-button-size-xs-text-to-visual + ); + --spectrum-actionbutton-edge-to-hold-icon: var( + --system-action-button-size-xs-edge-to-hold-icon + ); + --spectrum-actionbutton-edge-to-visual-size: var( + --system-action-button-size-xs-edge-to-visual-size + ); + --spectrum-actionbutton-edge-to-visual-only-size: var( + --system-action-button-size-xs-edge-to-visual-only-size + ); + --spectrum-actionbutton-edge-to-text-size: var( + --system-action-button-size-xs-edge-to-text-size + ); +} + +:host([size='s']) { + --spectrum-actionbutton-min-width: var( + --system-action-button-size-s-min-width + ); + --spectrum-actionbutton-height: var(--system-action-button-size-s-height); + --spectrum-actionbutton-icon-size: var( + --system-action-button-size-s-icon-size + ); + --spectrum-actionbutton-font-size: var( + --system-action-button-size-s-font-size + ); + --spectrum-actionbutton-text-to-visual: var( + --system-action-button-size-s-text-to-visual + ); + --spectrum-actionbutton-edge-to-hold-icon: var( + --system-action-button-size-s-edge-to-hold-icon + ); + --spectrum-actionbutton-edge-to-visual-size: var( + --system-action-button-size-s-edge-to-visual-size + ); + --spectrum-actionbutton-edge-to-visual-only-size: var( + --system-action-button-size-s-edge-to-visual-only-size + ); + --spectrum-actionbutton-edge-to-text-size: var( + --system-action-button-size-s-edge-to-text-size + ); +} + +:host([size='l']) { + --spectrum-actionbutton-min-width: var( + --system-action-button-size-l-min-width + ); + --spectrum-actionbutton-height: var(--system-action-button-size-l-height); + --spectrum-actionbutton-icon-size: var( + --system-action-button-size-l-icon-size + ); + --spectrum-actionbutton-font-size: var( + --system-action-button-size-l-font-size + ); + --spectrum-actionbutton-text-to-visual: var( + --system-action-button-size-l-text-to-visual + ); + --spectrum-actionbutton-edge-to-hold-icon: var( + --system-action-button-size-l-edge-to-hold-icon + ); + --spectrum-actionbutton-edge-to-visual-size: var( + --system-action-button-size-l-edge-to-visual-size + ); + --spectrum-actionbutton-edge-to-visual-only-size: var( + --system-action-button-size-l-edge-to-visual-only-size + ); + --spectrum-actionbutton-edge-to-text-size: var( + --system-action-button-size-l-edge-to-text-size + ); +} + +:host([size='xl']) { + --spectrum-actionbutton-min-width: var( + --system-action-button-size-xl-min-width + ); + --spectrum-actionbutton-height: var(--system-action-button-size-xl-height); + --spectrum-actionbutton-icon-size: var( + --system-action-button-size-xl-icon-size + ); + --spectrum-actionbutton-font-size: var( + --system-action-button-size-xl-font-size + ); + --spectrum-actionbutton-text-to-visual: var( + --system-action-button-size-xl-text-to-visual + ); + --spectrum-actionbutton-edge-to-hold-icon: var( + --system-action-button-size-xl-edge-to-hold-icon + ); + --spectrum-actionbutton-edge-to-visual-size: var( + --system-action-button-size-xl-edge-to-visual-size + ); + --spectrum-actionbutton-edge-to-visual-only-size: var( + --system-action-button-size-xl-edge-to-visual-only-size + ); + --spectrum-actionbutton-edge-to-text-size: var( + --system-action-button-size-xl-edge-to-text-size + ); +} diff --git a/packages/action-button/src/action-button.css b/packages/action-button/src/action-button.css index 501705ea1d..b732dd78cc 100644 --- a/packages/action-button/src/action-button.css +++ b/packages/action-button/src/action-button.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-action-button.css'); +@import url('./action-button-overrides.css'); ::slotted([slot='icon']) { flex-shrink: 0; @@ -22,41 +23,44 @@ governing permissions and limitations under the License. pointer-events: none !important; } -/* remove-focus-ring-safari-hack is a custom css class that we are using to -unset the focus ring styles in safari. This is a temporary fix because safari -sets the :focus-visible pseudo class on the parent element when the dialog is closed. -*/ -:host(.remove-focus-ring-safari-hack:focus-visible) { - background-color: var( - --highcontrast-actionbutton-background-color-default, - var( - --mod-actionbutton-background-color-default, - var(--spectrum-actionbutton-background-color-default) - ) +/* confirm with css if we can keep it as css level */ + +:host([size='xs']) { + /* Work around non-square icon only Action Buttons in Spectrum CSS */ + min-width: var(--spectrum-actionbutton-height, 0); + + --spectrum-actionbutton-edge-to-visual-only: calc( + var(--spectrum-component-edge-to-visual-only-50) - + var(--spectrum-actionbutton-border-width) ); - border-color: var( - --highcontrast-actionbutton-border-color-default, - var( - --mod-actionbutton-border-color-default, - var(--spectrum-actionbutton-border-color-default) - ) +} + +:host([size='s']) { + --spectrum-actionbutton-edge-to-visual-only: calc( + var(--spectrum-component-edge-to-visual-only-75) - + var(--spectrum-actionbutton-border-width) ); - color: var( - --highcontrast-actionbutton-content-color-default, - var( - --mod-actionbutton-content-color-default, - var(--spectrum-actionbutton-content-color-default) - ) +} + +:host([size='m']) { + --spectrum-actionbutton-edge-to-visual-only: calc( + var(--spectrum-component-edge-to-visual-only-100) - + var(--spectrum-actionbutton-border-width) ); } -:host(.remove-focus-ring-safari-hack:focus-visible):after { - box-shadow: none; +:host([size='l']) { + --spectrum-actionbutton-edge-to-visual-only: calc( + var(--spectrum-component-edge-to-visual-only-200) - + var(--spectrum-actionbutton-border-width) + ); } -:host([size='xs']) { - /* Work around non-square icon only Action Buttons in Spectrum CSS */ - min-width: var(--spectrum-actionbutton-height, 0); +:host([size='xl']) { + --spectrum-actionbutton-edge-to-visual-only: calc( + var(--spectrum-component-edge-to-visual-only-300) - + var(--spectrum-actionbutton-border-width) + ); } @media (forced-colors: active) { diff --git a/packages/action-button/src/spectrum-action-button.css b/packages/action-button/src/spectrum-action-button.css index a27aabba98..0555c62e68 100644 --- a/packages/action-button/src/spectrum-action-button.css +++ b/packages/action-button/src/spectrum-action-button.css @@ -23,6 +23,8 @@ governing permissions and limitations under the License. var(--spectrum-sans-font-family-stack) ) ); + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; line-height: var( --mod-button-line-height, var(--mod-line-height-100, var(--spectrum-line-height-100)) @@ -67,8 +69,6 @@ governing permissions and limitations under the License. ) ) ease-out; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; border-style: solid; justify-content: center; align-items: center; @@ -102,244 +102,6 @@ governing permissions and limitations under the License. display: none; } -:host { - --spectrum-actionbutton-animation-duration: var( - --spectrum-animation-duration-100 - ); - --spectrum-actionbutton-border-radius: var(--spectrum-corner-radius-100); - --spectrum-actionbutton-border-width: var(--spectrum-border-width-100); - --spectrum-actionbutton-content-color-default: var( - --spectrum-neutral-content-color-default - ); - --spectrum-actionbutton-content-color-hover: var( - --spectrum-neutral-content-color-hover - ); - --spectrum-actionbutton-content-color-down: var( - --spectrum-neutral-content-color-down - ); - --spectrum-actionbutton-content-color-focus: var( - --spectrum-neutral-content-color-key-focus - ); - --spectrum-actionbutton-focus-indicator-gap: var( - --spectrum-focus-indicator-gap - ); - --spectrum-actionbutton-focus-indicator-thickness: var( - --spectrum-focus-indicator-thickness - ); - --spectrum-actionbutton-focus-indicator-color: var( - --spectrum-focus-indicator-color - ); - --spectrum-actionbutton-focus-indicator-border-radius: calc( - var(--spectrum-actionbutton-border-radius) + - var(--spectrum-actionbutton-focus-indicator-gap) - ); -} - -:host:dir(rtl), -:host([dir='rtl']) { - --spectrum-logical-rotation: matrix(-1, 0, 0, 1, 0, 0); -} - -:host([selected]) { - --mod-actionbutton-background-color-default: var( - --mod-actionbutton-background-color-default-selected, - var(--spectrum-neutral-background-color-selected-default) - ); - --mod-actionbutton-background-color-hover: var( - --mod-actionbutton-background-color-hover-selected, - var(--spectrum-neutral-background-color-selected-hover) - ); - --mod-actionbutton-background-color-down: var( - --mod-actionbutton-background-color-down-selected, - var(--spectrum-neutral-background-color-selected-down) - ); - --mod-actionbutton-background-color-focus: var( - --mod-actionbutton-background-color-focus-selected, - var(--spectrum-neutral-background-color-selected-key-focus) - ); - --mod-actionbutton-content-color-default: var( - --mod-actionbutton-content-color-default-selected, - var(--spectrum-gray-50) - ); - --mod-actionbutton-content-color-hover: var( - --mod-actionbutton-content-color-hover-selected, - var(--spectrum-gray-50) - ); - --mod-actionbutton-content-color-down: var( - --mod-actionbutton-content-color-down-selected, - var(--spectrum-gray-50) - ); - --mod-actionbutton-content-color-focus: var( - --mod-actionbutton-content-color-focus-selected, - var(--spectrum-gray-50) - ); -} - -:host([selected][emphasized]) { - --mod-actionbutton-background-color-default: var( - --mod-actionbutton-background-color-default-selected-emphasized, - var(--spectrum-accent-background-color-default) - ); - --mod-actionbutton-background-color-hover: var( - --mod-actionbutton-background-color-hover-selected-emphasized, - var(--spectrum-accent-background-color-hover) - ); - --mod-actionbutton-background-color-down: var( - --mod-actionbutton-background-color-down-selected-emphasized, - var(--spectrum-accent-background-color-down) - ); - --mod-actionbutton-background-color-focus: var( - --mod-actionbutton-background-color-focus-selected-emphasized, - var(--spectrum-accent-background-color-key-focus) - ); - --mod-actionbutton-content-color-default: var( - --mod-actionbutton-content-color-default-selected-emphasized, - var(--spectrum-white) - ); - --mod-actionbutton-content-color-hover: var( - --mod-actionbutton-content-color-hover-selected-emphasized, - var(--spectrum-white) - ); - --mod-actionbutton-content-color-down: var( - --mod-actionbutton-content-color-down-selected-emphasized, - var(--spectrum-white) - ); - --mod-actionbutton-content-color-focus: var( - --mod-actionbutton-content-color-focus-selected-emphasized, - var(--spectrum-white) - ); -} - -:host([size='xs']) { - --spectrum-actionbutton-min-width: calc( - var(--spectrum-component-edge-to-visual-only-50) * 2 + - var(--spectrum-workflow-icon-size-50) - ); - --spectrum-actionbutton-height: var(--spectrum-component-height-50); - --spectrum-actionbutton-icon-size: var(--spectrum-workflow-icon-size-50); - --spectrum-actionbutton-font-size: var(--spectrum-font-size-50); - --spectrum-actionbutton-text-to-visual: var(--spectrum-text-to-visual-50); - --spectrum-actionbutton-edge-to-hold-icon: var( - --spectrum-action-button-edge-to-hold-icon-extra-small - ); - --spectrum-actionbutton-edge-to-visual: calc( - var(--spectrum-component-edge-to-visual-50) - - var(--spectrum-actionbutton-border-width) - ); - --spectrum-actionbutton-edge-to-text: calc( - var(--spectrum-component-edge-to-text-50) - - var(--spectrum-actionbutton-border-width) - ); - --spectrum-actionbutton-edge-to-visual-only: calc( - var(--spectrum-component-edge-to-visual-only-50) - - var(--spectrum-actionbutton-border-width) - ); -} - -:host([size='s']) { - --spectrum-actionbutton-min-width: calc( - var(--spectrum-component-edge-to-visual-only-75) * 2 + - var(--spectrum-workflow-icon-size-75) - ); - --spectrum-actionbutton-height: var(--spectrum-component-height-75); - --spectrum-actionbutton-icon-size: var(--spectrum-workflow-icon-size-75); - --spectrum-actionbutton-font-size: var(--spectrum-font-size-75); - --spectrum-actionbutton-text-to-visual: var(--spectrum-text-to-visual-75); - --spectrum-actionbutton-edge-to-hold-icon: var( - --spectrum-action-button-edge-to-hold-icon-small - ); - --spectrum-actionbutton-edge-to-visual: calc( - var(--spectrum-component-edge-to-visual-75) - - var(--spectrum-actionbutton-border-width) - ); - --spectrum-actionbutton-edge-to-text: calc( - var(--spectrum-component-edge-to-text-75) - - var(--spectrum-actionbutton-border-width) - ); - --spectrum-actionbutton-edge-to-visual-only: calc( - var(--spectrum-component-edge-to-visual-only-75) - - var(--spectrum-actionbutton-border-width) - ); -} - -:host { - --spectrum-actionbutton-min-width: calc( - var(--spectrum-component-edge-to-visual-only-100) * 2 + - var(--spectrum-workflow-icon-size-100) - ); - --spectrum-actionbutton-height: var(--spectrum-component-height-100); - --spectrum-actionbutton-icon-size: var(--spectrum-workflow-icon-size-100); - --spectrum-actionbutton-font-size: var(--spectrum-font-size-100); - --spectrum-actionbutton-text-to-visual: var(--spectrum-text-to-visual-100); - --spectrum-actionbutton-edge-to-hold-icon: var( - --spectrum-action-button-edge-to-hold-icon-medium - ); - --spectrum-actionbutton-edge-to-visual: calc( - var(--spectrum-component-edge-to-visual-100) - - var(--spectrum-actionbutton-border-width) - ); - --spectrum-actionbutton-edge-to-text: calc( - var(--spectrum-component-edge-to-text-100) - - var(--spectrum-actionbutton-border-width) - ); - --spectrum-actionbutton-edge-to-visual-only: calc( - var(--spectrum-component-edge-to-visual-only-100) - - var(--spectrum-actionbutton-border-width) - ); -} - -:host([size='l']) { - --spectrum-actionbutton-min-width: calc( - var(--spectrum-component-edge-to-visual-only-200) * 2 + - var(--spectrum-workflow-icon-size-200) - ); - --spectrum-actionbutton-height: var(--spectrum-component-height-200); - --spectrum-actionbutton-icon-size: var(--spectrum-workflow-icon-size-200); - --spectrum-actionbutton-font-size: var(--spectrum-font-size-200); - --spectrum-actionbutton-text-to-visual: var(--spectrum-text-to-visual-200); - --spectrum-actionbutton-edge-to-hold-icon: var( - --spectrum-action-button-edge-to-hold-icon-large - ); - --spectrum-actionbutton-edge-to-visual: calc( - var(--spectrum-component-edge-to-visual-200) - - var(--spectrum-actionbutton-border-width) - ); - --spectrum-actionbutton-edge-to-text: calc( - var(--spectrum-component-edge-to-text-200) - - var(--spectrum-actionbutton-border-width) - ); - --spectrum-actionbutton-edge-to-visual-only: calc( - var(--spectrum-component-edge-to-visual-only-200) - - var(--spectrum-actionbutton-border-width) - ); -} - -:host([size='xl']) { - --spectrum-actionbutton-min-width: calc( - var(--spectrum-component-edge-to-visual-only-300) * 2 + - var(--spectrum-workflow-icon-size-300) - ); - --spectrum-actionbutton-height: var(--spectrum-component-height-300); - --spectrum-actionbutton-icon-size: var(--spectrum-workflow-icon-size-300); - --spectrum-actionbutton-font-size: var(--spectrum-font-size-300); - --spectrum-actionbutton-text-to-visual: var(--spectrum-text-to-visual-300); - --spectrum-actionbutton-edge-to-hold-icon: var( - --spectrum-action-button-edge-to-hold-icon-extra-large - ); - --spectrum-actionbutton-edge-to-visual: calc( - var(--spectrum-component-edge-to-visual-300) - - var(--spectrum-actionbutton-border-width) - ); - --spectrum-actionbutton-edge-to-text: calc( - var(--spectrum-component-edge-to-text-300) - - var(--spectrum-actionbutton-border-width) - ); - --spectrum-actionbutton-edge-to-visual-only: calc( - var(--spectrum-component-edge-to-visual-only-300) - - var(--spectrum-actionbutton-border-width) - ); -} - @media (forced-colors: active) { :host { --highcontrast-actionbutton-focus-indicator-color: ButtonText; @@ -375,6 +137,22 @@ governing permissions and limitations under the License. } :host { + --spectrum-actionbutton-focus-indicator-border-radius: calc( + var(--spectrum-actionbutton-border-radius) + + var(--spectrum-actionbutton-focus-indicator-gap) + ); + --spectrum-actionbutton-edge-to-visual: calc( + var(--spectrum-actionbutton-edge-to-visual-size) - + var(--spectrum-actionbutton-border-width) + ); + --spectrum-actionbutton-edge-to-text: calc( + var(--spectrum-actionbutton-edge-to-text-size) - + var(--spectrum-actionbutton-border-width) + ); + --spectrum-actionbutton-edge-to-visual-only: calc( + var(--spectrum-actionbutton-edge-to-visual-only-size) - + var(--spectrum-actionbutton-border-width) + ); min-inline-size: var( --mod-actionbutton-min-width, var(--spectrum-actionbutton-min-width) @@ -433,6 +211,11 @@ governing permissions and limitations under the License. position: relative; } +:host:dir(rtl), +:host([dir='rtl']) { + --spectrum-logical-rotation: matrix(-1, 0, 0, 1, 0, 0); +} + @media (hover: hover) { :host(:hover) { background-color: var( @@ -532,6 +315,76 @@ governing permissions and limitations under the License. ); } +:host([selected]) { + --mod-actionbutton-background-color-default: var( + --mod-actionbutton-background-color-default-selected + ); + --mod-actionbutton-background-color-hover: var( + --mod-actionbutton-background-color-hover-selected + ); + --mod-actionbutton-background-color-down: var( + --mod-actionbutton-background-color-down-selected + ); + --mod-actionbutton-background-color-focus: var( + --mod-actionbutton-background-color-focus-selected + ); + --mod-actionbutton-content-color-default: var( + --mod-actionbutton-content-color-default-selected + ); + --mod-actionbutton-content-color-hover: var( + --mod-actionbutton-content-color-hover-selected + ); + --mod-actionbutton-content-color-down: var( + --mod-actionbutton-content-color-down-selected + ); + --mod-actionbutton-content-color-focus: var( + --mod-actionbutton-content-color-focus-selected + ); +} + +:host([selected][emphasized]) { + --mod-actionbutton-background-color-default: var( + --mod-actionbutton-background-color-default-selected-emphasized + ); + --mod-actionbutton-background-color-hover: var( + --mod-actionbutton-background-color-hover-selected-emphasized + ); + --mod-actionbutton-background-color-down: var( + --mod-actionbutton-background-color-down-selected-emphasized + ); + --mod-actionbutton-background-color-focus: var( + --mod-actionbutton-background-color-focus-selected-emphasized + ); + --mod-actionbutton-content-color-default: var( + --mod-actionbutton-content-color-default-selected-emphasized + ); + --mod-actionbutton-content-color-hover: var( + --mod-actionbutton-content-color-hover-selected-emphasized + ); + --mod-actionbutton-content-color-down: var( + --mod-actionbutton-content-color-down-selected-emphasized + ); + --mod-actionbutton-content-color-focus: var( + --mod-actionbutton-content-color-focus-selected-emphasized + ); +} + +:host([selected][static-color='black']), +:host([selected][static-color='white']) { + --mod-actionbutton-content-color-default: var( + --mod-actionbutton-static-content-color + ); + --mod-actionbutton-content-color-hover: var( + --mod-actionbutton-static-content-color + ); + --mod-actionbutton-content-color-down: var( + --mod-actionbutton-static-content-color + ); + --mod-actionbutton-content-color-focus: var( + --mod-actionbutton-static-content-color + ); +} + ::slotted([slot='icon']) { inline-size: var( --mod-actionbutton-icon-size, @@ -585,6 +438,7 @@ governing permissions and limitations under the License. var(--spectrum-actionbutton-font-size) ); white-space: nowrap; + color: inherit; color: var(--mod-actionbutton-label-color, inherit); text-overflow: ellipsis; overflow: hidden; @@ -673,321 +527,3 @@ governing permissions and limitations under the License. ) ); } - -:host { - --spectrum-actionbutton-background-color-default: var( - --system-spectrum-actionbutton-background-color-default - ); - --spectrum-actionbutton-background-color-hover: var( - --system-spectrum-actionbutton-background-color-hover - ); - --spectrum-actionbutton-background-color-down: var( - --system-spectrum-actionbutton-background-color-down - ); - --spectrum-actionbutton-background-color-focus: var( - --system-spectrum-actionbutton-background-color-focus - ); - --spectrum-actionbutton-border-color-default: var( - --system-spectrum-actionbutton-border-color-default - ); - --spectrum-actionbutton-border-color-hover: var( - --system-spectrum-actionbutton-border-color-hover - ); - --spectrum-actionbutton-border-color-down: var( - --system-spectrum-actionbutton-border-color-down - ); - --spectrum-actionbutton-border-color-focus: var( - --system-spectrum-actionbutton-border-color-focus - ); - --spectrum-actionbutton-background-color-disabled: var( - --system-spectrum-actionbutton-background-color-disabled - ); - --spectrum-actionbutton-border-color-disabled: var( - --system-spectrum-actionbutton-border-color-disabled - ); - --spectrum-actionbutton-content-color-disabled: var( - --system-spectrum-actionbutton-content-color-disabled - ); -} - -:host([quiet]) { - --spectrum-actionbutton-background-color-default: var( - --system-spectrum-actionbutton-quiet-background-color-default - ); - --spectrum-actionbutton-background-color-hover: var( - --system-spectrum-actionbutton-quiet-background-color-hover - ); - --spectrum-actionbutton-background-color-down: var( - --system-spectrum-actionbutton-quiet-background-color-down - ); - --spectrum-actionbutton-background-color-focus: var( - --system-spectrum-actionbutton-quiet-background-color-focus - ); - --spectrum-actionbutton-border-color-default: var( - --system-spectrum-actionbutton-quiet-border-color-default - ); - --spectrum-actionbutton-border-color-hover: var( - --system-spectrum-actionbutton-quiet-border-color-hover - ); - --spectrum-actionbutton-border-color-down: var( - --system-spectrum-actionbutton-quiet-border-color-down - ); - --spectrum-actionbutton-border-color-focus: var( - --system-spectrum-actionbutton-quiet-border-color-focus - ); - --spectrum-actionbutton-background-color-disabled: var( - --system-spectrum-actionbutton-quiet-background-color-disabled - ); - --spectrum-actionbutton-border-color-disabled: var( - --system-spectrum-actionbutton-quiet-border-color-disabled - ); -} - -:host([selected]) { - --spectrum-actionbutton-border-color-default: var( - --system-spectrum-actionbutton-selected-border-color-default - ); - --spectrum-actionbutton-border-color-hover: var( - --system-spectrum-actionbutton-selected-border-color-hover - ); - --spectrum-actionbutton-border-color-down: var( - --system-spectrum-actionbutton-selected-border-color-down - ); - --spectrum-actionbutton-border-color-focus: var( - --system-spectrum-actionbutton-selected-border-color-focus - ); - --spectrum-actionbutton-background-color-disabled: var( - --system-spectrum-actionbutton-selected-background-color-disabled - ); - --spectrum-actionbutton-border-color-disabled: var( - --system-spectrum-actionbutton-selected-border-color-disabled - ); -} - -:host([static-color='black'][quiet]) { - --spectrum-actionbutton-border-color-default: var( - --system-spectrum-actionbutton-staticblack-quiet-border-color-default - ); - --spectrum-actionbutton-border-color-hover: var( - --system-spectrum-actionbutton-staticblack-quiet-border-color-hover - ); - --spectrum-actionbutton-border-color-down: var( - --system-spectrum-actionbutton-staticblack-quiet-border-color-down - ); - --spectrum-actionbutton-border-color-focus: var( - --system-spectrum-actionbutton-staticblack-quiet-border-color-focus - ); - --spectrum-actionbutton-border-color-disabled: var( - --system-spectrum-actionbutton-staticblack-quiet-border-color-disabled - ); -} - -:host([static-color='white'][quiet]) { - --spectrum-actionbutton-border-color-default: var( - --system-spectrum-actionbutton-staticwhite-quiet-border-color-default - ); - --spectrum-actionbutton-border-color-hover: var( - --system-spectrum-actionbutton-staticwhite-quiet-border-color-hover - ); - --spectrum-actionbutton-border-color-down: var( - --system-spectrum-actionbutton-staticwhite-quiet-border-color-down - ); - --spectrum-actionbutton-border-color-focus: var( - --system-spectrum-actionbutton-staticwhite-quiet-border-color-focus - ); - --spectrum-actionbutton-border-color-disabled: var( - --system-spectrum-actionbutton-staticwhite-quiet-border-color-disabled - ); -} - -:host([static-color='black']) { - --spectrum-actionbutton-background-color-default: var( - --system-spectrum-actionbutton-staticblack-background-color-default - ); - --spectrum-actionbutton-background-color-hover: var( - --system-spectrum-actionbutton-staticblack-background-color-hover - ); - --spectrum-actionbutton-background-color-down: var( - --system-spectrum-actionbutton-staticblack-background-color-down - ); - --spectrum-actionbutton-background-color-focus: var( - --system-spectrum-actionbutton-staticblack-background-color-focus - ); - --spectrum-actionbutton-border-color-default: var( - --system-spectrum-actionbutton-staticblack-border-color-default - ); - --spectrum-actionbutton-border-color-hover: var( - --system-spectrum-actionbutton-staticblack-border-color-hover - ); - --spectrum-actionbutton-border-color-down: var( - --system-spectrum-actionbutton-staticblack-border-color-down - ); - --spectrum-actionbutton-border-color-focus: var( - --system-spectrum-actionbutton-staticblack-border-color-focus - ); - --spectrum-actionbutton-content-color-default: var( - --system-spectrum-actionbutton-staticblack-content-color-default - ); - --spectrum-actionbutton-content-color-hover: var( - --system-spectrum-actionbutton-staticblack-content-color-hover - ); - --spectrum-actionbutton-content-color-down: var( - --system-spectrum-actionbutton-staticblack-content-color-down - ); - --spectrum-actionbutton-content-color-focus: var( - --system-spectrum-actionbutton-staticblack-content-color-focus - ); - --spectrum-actionbutton-focus-indicator-color: var( - --system-spectrum-actionbutton-staticblack-focus-indicator-color - ); - --spectrum-actionbutton-background-color-disabled: var( - --system-spectrum-actionbutton-staticblack-background-color-disabled - ); - --spectrum-actionbutton-border-color-disabled: var( - --system-spectrum-actionbutton-staticblack-border-color-disabled - ); - --spectrum-actionbutton-content-color-disabled: var( - --system-spectrum-actionbutton-staticblack-content-color-disabled - ); -} - -:host([static-color='black'][selected]) { - --mod-actionbutton-background-color-default: var( - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-default - ); - --mod-actionbutton-background-color-hover: var( - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-hover - ); - --mod-actionbutton-background-color-down: var( - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-down - ); - --mod-actionbutton-background-color-focus: var( - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-focus - ); - --mod-actionbutton-content-color-default: var( - --mod-actionbutton-static-content-color, - var( - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-content-color-default - ) - ); - --mod-actionbutton-content-color-hover: var( - --mod-actionbutton-static-content-color, - var( - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-content-color-hover - ) - ); - --mod-actionbutton-content-color-down: var( - --mod-actionbutton-static-content-color, - var( - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-content-color-down - ) - ); - --mod-actionbutton-content-color-focus: var( - --mod-actionbutton-static-content-color, - var( - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-content-color-focus - ) - ); - --mod-actionbutton-background-color-disabled: var( - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-disabled - ); - --mod-actionbutton-border-color-disabled: var( - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-border-color-disabled - ); -} - -:host([static-color='white']) { - --spectrum-actionbutton-background-color-default: var( - --system-spectrum-actionbutton-staticwhite-background-color-default - ); - --spectrum-actionbutton-background-color-hover: var( - --system-spectrum-actionbutton-staticwhite-background-color-hover - ); - --spectrum-actionbutton-background-color-down: var( - --system-spectrum-actionbutton-staticwhite-background-color-down - ); - --spectrum-actionbutton-background-color-focus: var( - --system-spectrum-actionbutton-staticwhite-background-color-focus - ); - --spectrum-actionbutton-border-color-default: var( - --system-spectrum-actionbutton-staticwhite-border-color-default - ); - --spectrum-actionbutton-border-color-hover: var( - --system-spectrum-actionbutton-staticwhite-border-color-hover - ); - --spectrum-actionbutton-border-color-down: var( - --system-spectrum-actionbutton-staticwhite-border-color-down - ); - --spectrum-actionbutton-border-color-focus: var( - --system-spectrum-actionbutton-staticwhite-border-color-focus - ); - --spectrum-actionbutton-content-color-default: var( - --system-spectrum-actionbutton-staticwhite-content-color-default - ); - --spectrum-actionbutton-content-color-hover: var( - --system-spectrum-actionbutton-staticwhite-content-color-hover - ); - --spectrum-actionbutton-content-color-down: var( - --system-spectrum-actionbutton-staticwhite-content-color-down - ); - --spectrum-actionbutton-content-color-focus: var( - --system-spectrum-actionbutton-staticwhite-content-color-focus - ); - --spectrum-actionbutton-focus-indicator-color: var( - --system-spectrum-actionbutton-staticwhite-focus-indicator-color - ); - --spectrum-actionbutton-background-color-disabled: var( - --system-spectrum-actionbutton-staticwhite-background-color-disabled - ); - --spectrum-actionbutton-border-color-disabled: var( - --system-spectrum-actionbutton-staticwhite-border-color-disabled - ); - --spectrum-actionbutton-content-color-disabled: var( - --system-spectrum-actionbutton-staticwhite-content-color-disabled - ); -} - -:host([static-color='white'][selected]) { - --mod-actionbutton-background-color-default: var( - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-default - ); - --mod-actionbutton-background-color-hover: var( - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-hover - ); - --mod-actionbutton-background-color-down: var( - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-down - ); - --mod-actionbutton-background-color-focus: var( - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-focus - ); - --mod-actionbutton-content-color-default: var( - --mod-actionbutton-static-content-color, - var( - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-content-color-default - ) - ); - --mod-actionbutton-content-color-hover: var( - --mod-actionbutton-static-content-color, - var( - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-content-color-hover - ) - ); - --mod-actionbutton-content-color-down: var( - --mod-actionbutton-static-content-color, - var( - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-content-color-down - ) - ); - --mod-actionbutton-content-color-focus: var( - --mod-actionbutton-static-content-color, - var( - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-content-color-focus - ) - ); - --mod-actionbutton-background-color-disabled: var( - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-disabled - ); - --mod-actionbutton-border-color-disabled: var( - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-border-color-disabled - ); -} diff --git a/packages/action-button/src/spectrum-config.js b/packages/action-button/src/spectrum-config.js index 08956b295f..e7f764e714 100644 --- a/packages/action-button/src/spectrum-config.js +++ b/packages/action-button/src/spectrum-config.js @@ -27,6 +27,7 @@ const config = { inPackage: '@spectrum-css/actionbutton', outPackage: 'action-button', fileName: 'action-button', + systemOverrides: true, excludeByComponents: [ { type: 'type', @@ -187,6 +188,33 @@ const config = { }, ], }, + { + find: { + type: 'pseudo-class', + kind: 'not', + selectors: [ + [ + { + type: 'pseudo-class', + kind: 'disabled', + }, + ], + ], + }, + replace: { + type: 'pseudo-class', + kind: 'not', + selectors: [ + [ + { + type: 'pseudo-class', + kind: 'disabled', + }, + ], + ], + }, + hoist: true, + }, ], }, ], diff --git a/packages/action-button/stories/action-button-black-quiet.stories.ts b/packages/action-button/stories/action-button-black-quiet.stories.ts index ccbf909ef7..50329ce092 100644 --- a/packages/action-button/stories/action-button-black-quiet.stories.ts +++ b/packages/action-button/stories/action-button-black-quiet.stories.ts @@ -20,40 +20,40 @@ export default { decorators: [makeOverBackground('black')], }; -const variant = 'black'; +const staticColor = 'black'; const quiet = true; export const XS = (args: Properties): TemplateResult => renderButtons(args); XS.args = { size: 'xs', quiet, - variant, + staticColor, }; export const s = (args: Properties): TemplateResult => renderButtons(args); s.args = { size: 's', quiet, - variant, + staticColor, }; export const m = (args: Properties): TemplateResult => renderButtons(args); m.args = { size: 'm', quiet, - variant, + staticColor, }; export const l = (args: Properties): TemplateResult => renderButtons(args); l.args = { size: 'l', quiet, - variant, + staticColor, }; export const XL = (args: Properties): TemplateResult => renderButtons(args); XL.args = { size: 'xl', quiet, - variant, + staticColor, }; diff --git a/packages/action-button/stories/action-button-black.stories.ts b/packages/action-button/stories/action-button-black.stories.ts index 361332e05d..6f2f3becc9 100644 --- a/packages/action-button/stories/action-button-black.stories.ts +++ b/packages/action-button/stories/action-button-black.stories.ts @@ -20,34 +20,34 @@ export default { decorators: [makeOverBackground('black')], }; -const variant = 'black'; +const staticColor = 'black'; export const XS = (args: Properties): TemplateResult => renderButtons(args); XS.args = { size: 'xs', - variant, + staticColor, }; export const s = (args: Properties): TemplateResult => renderButtons(args); s.args = { size: 's', - variant, + staticColor, }; export const m = (args: Properties): TemplateResult => renderButtons(args); m.args = { size: 'm', - variant, + staticColor, } as Properties; export const l = (args: Properties): TemplateResult => renderButtons(args); l.args = { size: 'l', - variant, + staticColor, }; export const XL = (args: Properties): TemplateResult => renderButtons(args); XL.args = { size: 'xl', - variant, + staticColor, }; diff --git a/packages/action-button/stories/action-button-white-quiet.stories.ts b/packages/action-button/stories/action-button-white-quiet.stories.ts index 1d28db51df..0055a44c68 100644 --- a/packages/action-button/stories/action-button-white-quiet.stories.ts +++ b/packages/action-button/stories/action-button-white-quiet.stories.ts @@ -20,40 +20,40 @@ export default { decorators: [makeOverBackground()], }; -const variant = 'white'; +const staticColor = 'white'; const quiet = true; export const XS = (args: Properties): TemplateResult => renderButtons(args); XS.args = { size: 'xs', quiet, - variant, + staticColor, }; export const s = (args: Properties): TemplateResult => renderButtons(args); s.args = { size: 's', quiet, - variant, + staticColor, }; export const m = (args: Properties): TemplateResult => renderButtons(args); m.args = { size: 'm', quiet, - variant, + staticColor, }; export const l = (args: Properties): TemplateResult => renderButtons(args); l.args = { size: 'l', quiet, - variant, + staticColor, }; export const XL = (args: Properties): TemplateResult => renderButtons(args); XL.args = { size: 'xl', quiet, - variant, + staticColor, }; diff --git a/packages/action-button/stories/action-button-white.stories.ts b/packages/action-button/stories/action-button-white.stories.ts index 5a5fd1646c..31e9d16f5d 100644 --- a/packages/action-button/stories/action-button-white.stories.ts +++ b/packages/action-button/stories/action-button-white.stories.ts @@ -20,34 +20,34 @@ export default { decorators: [makeOverBackground()], }; -const variant = 'white'; +const staticColor = 'white'; export const XS = (args: Properties): TemplateResult => renderButtons(args); XS.args = { size: 'xs', - variant, + staticColor, }; export const s = (args: Properties): TemplateResult => renderButtons(args); s.args = { size: 's', - variant, + staticColor, }; export const m = (args: Properties): TemplateResult => renderButtons(args); m.args = { size: 'm', - variant, + staticColor, }; export const l = (args: Properties): TemplateResult => renderButtons(args); l.args = { size: 'l', - variant, + staticColor, }; export const XL = (args: Properties): TemplateResult => renderButtons(args); XL.args = { size: 'xl', - variant, + staticColor, }; diff --git a/packages/action-button/stories/action-button.stories.ts b/packages/action-button/stories/action-button.stories.ts index 98ae3ddd13..f6685761b4 100644 --- a/packages/action-button/stories/action-button.stories.ts +++ b/packages/action-button/stories/action-button.stories.ts @@ -44,22 +44,3 @@ toggles.args = { `, }; - -export const iconSizeOverridden = (args: Properties): TemplateResult => { - return html` - ${renderButton(args)} -

For testing purposes only

-

- This is a test to ensure that sizing the icon will still work when - it's in the scope of a parent element. You shouldn't normally do - this as it deviates from the Spectrum design specification. -

- `; -}; -iconSizeOverridden.args = { - label: '', - size: 'xl', - icon: html` - - `, -}; diff --git a/packages/action-button/stories/index.ts b/packages/action-button/stories/index.ts index c1d6190d82..07e376d5e8 100644 --- a/packages/action-button/stories/index.ts +++ b/packages/action-button/stories/index.ts @@ -26,7 +26,7 @@ export interface Properties { toggles?: boolean; emphasized?: boolean; size?: 's' | 'm' | 'l' | 'xl'; - variant?: 'white' | 'black'; + staticColor?: 'white' | 'black'; holdAffordance?: boolean; icon?: TemplateResult; label?: string; @@ -38,7 +38,7 @@ export function renderButton(properties: Properties): TemplateResult { ${renderButton({ ...properties, diff --git a/packages/action-button/test/action-button.test.ts b/packages/action-button/test/action-button.test.ts index b3abd4a380..30e5221732 100644 --- a/packages/action-button/test/action-button.test.ts +++ b/packages/action-button/test/action-button.test.ts @@ -24,7 +24,7 @@ import { waitUntil, } from '@open-wc/testing'; import { sendKeys } from '@web/test-runner-commands'; -import { spy, stub } from 'sinon'; +import { spy } from 'sinon'; import { testForLitDevWarnings } from '../../../test/testing-helpers.js'; import { m as BlackActionButton } from '../stories/action-button-black.stories.js'; @@ -282,76 +282,17 @@ describe('ActionButton', () => { expect(button).to.have.attribute('aria-haspopup', 'true'); expect(button).to.have.attribute('aria-expanded', 'true'); }); - describe('dev mode', () => { - let consoleWarnStub!: ReturnType; - before(() => { - window.__swc.verbose = true; - consoleWarnStub = stub(console, 'warn'); - }); - afterEach(() => { - consoleWarnStub.resetHistory(); - }); - after(() => { - window.__swc.verbose = false; - consoleWarnStub.restore(); - }); - - it('warns that `variant` is deprecated', async () => { - const el = await fixture(html` - Button - `); - - await elementUpdated(el); - - expect(consoleWarnStub.called).to.be.true; - const spyCall = consoleWarnStub.getCall(0); - expect( - (spyCall.args.at(0) as string).includes('"variant"'), - 'confirm variant-centric message' - ).to.be.true; - expect(spyCall.args.at(-1), 'confirm `data` shape').to.deep.equal({ - data: { - localName: 'sp-action-button', - type: 'api', - level: 'deprecation', - }, - }); - }); - - it('warns that `variant` is deprecated', async () => { - const el = await fixture(html` - Button - `); - - await elementUpdated(el); - - expect(consoleWarnStub.called).to.be.true; - const spyCall = consoleWarnStub.getCall(0); - expect( - (spyCall.args.at(0) as string).includes('"static"'), - 'confirm static-centric message' - ).to.be.true; - expect(spyCall.args.at(-1), 'confirm `data` shape').to.deep.equal({ - data: { - localName: 'sp-action-button', - type: 'api', - level: 'deprecation', - }, - }); - }); + it('manages a `static-color` attribute', async () => { + const el = await fixture(html` + Button + `); - it('prefers `staticColor` over `static`', async () => { - const el = await fixture(html` - Button - `); - - await elementUpdated(el); - expect(el.staticColor).to.equal('white'); - el.setAttribute('static', 'white'); - await elementUpdated(el); - expect(el.staticColor).to.equal('white'); - expect(el.static).to.equal('white'); - expect(el.getAttribute('static-color')).to.equal('white'); - }); + await elementUpdated(el); + expect(el.staticColor).to.equal('black'); + expect(el.getAttribute('static-color')).to.equal('black'); + el.removeAttribute('static-color'); + await elementUpdated(el); + expect(el.staticColor).to.be.null; + expect(el.hasAttribute('static-color')).to.be.false; }); }); diff --git a/packages/action-group/package.json b/packages/action-group/package.json index 494a44c36a..878c563687 100644 --- a/packages/action-group/package.json +++ b/packages/action-group/package.json @@ -29,6 +29,7 @@ "development": "./src/ActionGroup.dev.js", "default": "./src/ActionGroup.js" }, + "./src/action-group-overrides.css.js": "./src/action-group-overrides.css.js", "./src/action-group.css.js": "./src/action-group.css.js", "./src/index.js": { "development": "./src/index.dev.js", @@ -57,14 +58,14 @@ "lit-html" ], "dependencies": { - "@lit-labs/observers": "^2.0.0", + "@lit-labs/observers": "^2.0.2", "@spectrum-web-components/action-button": "^0.49.0", "@spectrum-web-components/base": "^0.49.0", "@spectrum-web-components/icons-workflow": "^0.49.0", "@spectrum-web-components/reactive-controllers": "^0.49.0" }, "devDependencies": { - "@spectrum-css/actiongroup": "^5.1.0" + "@spectrum-css/actiongroup": "^6.0.0-s2-foundations.15" }, "types": "./src/index.d.ts", "customElements": "custom-elements.json", diff --git a/packages/action-group/src/ActionGroup.ts b/packages/action-group/src/ActionGroup.ts index d2027e478b..11ef585dd8 100644 --- a/packages/action-group/src/ActionGroup.ts +++ b/packages/action-group/src/ActionGroup.ts @@ -112,12 +112,6 @@ export class ActionGroup extends SizedMixin(SpectrumElement, { @property({ type: String }) public selects: undefined | 'single' | 'multiple'; - /** - * @deprecated Use `staticColor` instead. - */ - @property({ reflect: true }) - public static?: 'white' | 'black'; - @property({ reflect: true, attribute: 'static-color' }) public staticColor?: 'white' | 'black'; @@ -365,7 +359,6 @@ export class ActionGroup extends SizedMixin(SpectrumElement, { changes.has('quiet') || changes.has('emphasized') || changes.has('size') || - changes.has('static') || changes.has('staticColor') ) { this.manageChildren(changes); @@ -391,18 +384,6 @@ export class ActionGroup extends SizedMixin(SpectrumElement, { if (this.emphasized || changes?.get('emphasized')) { button.emphasized = this.emphasized; } - if (this.static || changes?.get('static')) { - if (window.__swc.DEBUG) { - window.__swc.warn( - this, - `The "static" attribute/property of <${this.localName}> has been deprecated. Use "static-color" with the same values instead. "static" will be removed in a future release.`, - 'https://opensource.adobe.com/spectrum-web-components/components/action-group/api/', - { level: 'deprecation' } - ); - } - this.staticColor = this.static; - button.staticColor = this.staticColor; - } if (this.staticColor || changes?.get('staticColor')) { button.staticColor = this.staticColor; } diff --git a/packages/action-group/src/action-group-overrides.css b/packages/action-group/src/action-group-overrides.css new file mode 100644 index 0000000000..10f612dac3 --- /dev/null +++ b/packages/action-group/src/action-group-overrides.css @@ -0,0 +1,84 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host { + --spectrum-actiongroup-gap-size-compact: var( + --system-action-group-gap-size-compact + ); + --spectrum-actiongroup-horizontal-spacing-compact: var( + --system-action-group-horizontal-spacing-compact + ); + --spectrum-actiongroup-vertical-spacing-compact: var( + --system-action-group-vertical-spacing-compact + ); + --spectrum-actiongroup-button-spacing-reset: var( + --system-action-group-button-spacing-reset + ); + --spectrum-actiongroup-border-radius-reset: var( + --system-action-group-border-radius-reset + ); + --spectrum-actiongroup-border-radius: var( + --system-action-group-border-radius + ); + --spectrum-actiongroup-horizontal-spacing-regular: var( + --system-action-group-horizontal-spacing-regular + ); + --spectrum-actiongroup-vertical-spacing-regular: var( + --system-action-group-vertical-spacing-regular + ); +} + +:host([size='xs']) { + --spectrum-actiongroup-horizontal-spacing-regular: var( + --system-action-group-size-xs-horizontal-spacing-regular + ); + --spectrum-actiongroup-vertical-spacing-regular: var( + --system-action-group-size-xs-vertical-spacing-regular + ); +} + +:host([size='s']) { + --spectrum-actiongroup-horizontal-spacing-regular: var( + --system-action-group-size-s-horizontal-spacing-regular + ); + --spectrum-actiongroup-vertical-spacing-regular: var( + --system-action-group-size-s-vertical-spacing-regular + ); +} + +:host { + --spectrum-actiongroup-horizontal-spacing-regular: var( + --system-action-group-size-m-horizontal-spacing-regular + ); + --spectrum-actiongroup-vertical-spacing-regular: var( + --system-action-group-size-m-vertical-spacing-regular + ); +} + +:host([size='l']) { + --spectrum-actiongroup-horizontal-spacing-regular: var( + --system-action-group-size-l-horizontal-spacing-regular + ); + --spectrum-actiongroup-vertical-spacing-regular: var( + --system-action-group-size-l-vertical-spacing-regular + ); +} + +:host([size='xl']) { + --spectrum-actiongroup-horizontal-spacing-regular: var( + --system-action-group-size-xl-horizontal-spacing-regular + ); + --spectrum-actiongroup-vertical-spacing-regular: var( + --system-action-group-size-xl-vertical-spacing-regular + ); +} diff --git a/packages/action-group/src/action-group.css b/packages/action-group/src/action-group.css index 37bef2423d..d9bdf11123 100644 --- a/packages/action-group/src/action-group.css +++ b/packages/action-group/src/action-group.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-action-group.css'); +@import url('./action-group-overrides.css'); :host([size='xs']) { --spectrum-actiongroup-horizontal-spacing-regular: var( diff --git a/packages/action-group/src/spectrum-action-group.css b/packages/action-group/src/spectrum-action-group.css index 4d88f5b3de..462d1c72e2 100644 --- a/packages/action-group/src/spectrum-action-group.css +++ b/packages/action-group/src/spectrum-action-group.css @@ -11,31 +11,6 @@ governing permissions and limitations under the License. */ /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ -:host { - --spectrum-actiongroup-button-spacing-reset: 0; - --spectrum-actiongroup-border-radius-reset: 0; - --spectrum-actiongroup-border-radius: var(--spectrum-corner-radius-100); -} - -:host([size='s']), -:host([size='xs']) { - --spectrum-actiongroup-horizontal-spacing-regular: var( - --spectrum-spacing-75 - ); - --spectrum-actiongroup-vertical-spacing-regular: var(--spectrum-spacing-75); -} - -:host([size='l']), -:host, -:host([size='xl']) { - --spectrum-actiongroup-horizontal-spacing-regular: var( - --spectrum-spacing-100 - ); - --spectrum-actiongroup-vertical-spacing-regular: var( - --spectrum-spacing-100 - ); -} - :host { gap: var( --mod-actiongroup-horizontal-spacing-regular, @@ -261,15 +236,3 @@ governing permissions and limitations under the License. :host([justified]) ::slotted(*) { flex: 1; } - -:host { - --spectrum-actiongroup-gap-size-compact: var( - --system-spectrum-actiongroup-gap-size-compact - ); - --spectrum-actiongroup-horizontal-spacing-compact: var( - --system-spectrum-actiongroup-horizontal-spacing-compact - ); - --spectrum-actiongroup-vertical-spacing-compact: var( - --system-spectrum-actiongroup-vertical-spacing-compact - ); -} diff --git a/packages/action-group/test/action-group.test.ts b/packages/action-group/test/action-group.test.ts index 512c3b2f2c..b0c6fe3fd0 100644 --- a/packages/action-group/test/action-group.test.ts +++ b/packages/action-group/test/action-group.test.ts @@ -49,7 +49,7 @@ import { import { sendKeys } from '@web/test-runner-commands'; import '@spectrum-web-components/action-group/sp-action-group.js'; import { controlled } from '../stories/action-group-tooltip.stories.js'; -import { spy, stub } from 'sinon'; +import { spy } from 'sinon'; import { sendMouse } from '../../../test/plugins/browser.js'; import { HasActionMenuAsChild } from '../stories/action-group.stories.js'; import '../stories/action-group.stories.js'; @@ -1522,64 +1522,4 @@ describe('ActionGroup', () => { expect(actionButtons[1].selected).to.be.true; expect(actionButtons[2].selected).to.be.false; }); - it('prefers `staticColor` over `static`', async () => { - const el = await fixture(html` - - First - - `); - await elementUpdated(el); - expect(el.staticColor).to.equal('white'); - el.setAttribute('static', 'white'); - await elementUpdated(el); - expect(el.staticColor).to.equal('white'); - expect(el.static).to.equal('white'); - expect(el.getAttribute('static-color')).to.equal('white'); - }); -}); - -describe('dev mode', () => { - let consoleWarnStub!: ReturnType; - before(() => { - window.__swc.verbose = true; - consoleWarnStub = stub(console, 'warn'); - }); - afterEach(() => { - consoleWarnStub.resetHistory(); - }); - after(() => { - window.__swc.verbose = false; - consoleWarnStub.restore(); - }); - it('warns in Dev Mode when static attribute is supplied', async () => { - const el = await fixture(html` - - First - - `); - await elementUpdated(el); - expect(consoleWarnStub.called).to.be.true; - const spyCall = consoleWarnStub.getCall(0); - expect( - (spyCall.args.at(0) as string).includes('deprecated'), - 'confirm attribute deprecation message' - ).to.be.true; - expect(spyCall.args.at(-1), 'confirm `data` shape').to.deep.equal({ - data: { - localName: 'sp-action-group', - type: 'api', - level: 'deprecation', - }, - }); - }); }); diff --git a/packages/action-menu/package.json b/packages/action-menu/package.json index c778d30de4..71f6ce5b79 100644 --- a/packages/action-menu/package.json +++ b/packages/action-menu/package.json @@ -69,7 +69,7 @@ "@spectrum-web-components/shared": "^0.49.0" }, "devDependencies": { - "@spectrum-css/actionmenu": "^6.1.1" + "@spectrum-css/actionmenu": "^7.0.0-s2-foundations.15" }, "types": "./src/index.d.ts", "customElements": "custom-elements.json", diff --git a/packages/action-menu/src/ActionMenu.ts b/packages/action-menu/src/ActionMenu.ts index 6d4cee33b4..24615f07dc 100644 --- a/packages/action-menu/src/ActionMenu.ts +++ b/packages/action-menu/src/ActionMenu.ts @@ -50,12 +50,6 @@ export class ActionMenu extends ObserveSlotPresence( @property({ type: String }) public override selects: undefined | 'single' = undefined; - /** - * @deprecated Use `staticColor` instead. - */ - @property({ type: String, reflect: true }) - public static: 'white' | 'black' | undefined = undefined; - @property({ reflect: true, attribute: 'static-color' }) public staticColor?: 'white' | 'black'; @@ -88,7 +82,10 @@ export class ActionMenu extends ObserveSlotPresence( ?icon-only=${!this.hasLabel} ?hidden=${this.labelOnly} > - + `} diff --git a/packages/action-menu/test/index.ts b/packages/action-menu/test/index.ts index 427fd69548..133a1a1551 100644 --- a/packages/action-menu/test/index.ts +++ b/packages/action-menu/test/index.ts @@ -239,20 +239,20 @@ export const testActionMenu = (mode: 'sync' | 'async'): void => { expect(el.quiet).to.be.true; }); - it('can be `static`', async () => { + it('can be `staticColor`', async () => { const el = await actionMenuFixture(); - expect(el.static == undefined).to.be.true; + expect(el.staticColor == undefined).to.be.true; - el.static = 'black'; + el.staticColor = 'black'; await elementUpdated(el); - expect(el.static == 'black').to.be.true; + expect(el.staticColor == 'black').to.be.true; - el.static = 'white'; + el.staticColor = 'white'; await elementUpdated(el); - expect(el.static == 'white').to.be.true; + expect(el.staticColor == 'white').to.be.true; }); it('stay `valid`', async () => { const el = await actionMenuFixture(); diff --git a/packages/alert-banner/package.json b/packages/alert-banner/package.json index bd4059b31d..0e2def4b2f 100644 --- a/packages/alert-banner/package.json +++ b/packages/alert-banner/package.json @@ -29,6 +29,7 @@ "development": "./src/AlertBanner.dev.js", "default": "./src/AlertBanner.js" }, + "./src/alert-banner-overrides.css.js": "./src/alert-banner-overrides.css.js", "./src/alert-banner.css.js": "./src/alert-banner.css.js", "./src/index.js": { "development": "./src/index.dev.js", @@ -62,7 +63,7 @@ "@spectrum-web-components/icons-workflow": "^0.49.0" }, "devDependencies": { - "@spectrum-css/alertbanner": "^2.2.0" + "@spectrum-css/alertbanner": "^3.0.0-s2-foundations.16" }, "types": "./src/index.d.ts", "customElements": "custom-elements.json", diff --git a/packages/alert-banner/src/alert-banner-overrides.css b/packages/alert-banner/src/alert-banner-overrides.css new file mode 100644 index 0000000000..733e387e43 --- /dev/null +++ b/packages/alert-banner/src/alert-banner-overrides.css @@ -0,0 +1,45 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host { + --spectrum-alert-banner-neutral-background: var( + --system-alert-banner-neutral-background + ); + --spectrum-alert-banner-min-height: var(--system-alert-banner-min-height); + --spectrum-alert-banner-max-inline-size: var( + --system-alert-banner-max-inline-size + ); + --spectrum-alert-banner-size: var(--system-alert-banner-size); + --spectrum-alert-banner-font-size: var(--system-alert-banner-font-size); + --spectrum-alert-banner-icon-size: var(--system-alert-banner-icon-size); + --spectrum-alert-banner-icon-to-text: var( + --system-alert-banner-icon-to-text + ); + --spectrum-alert-banner-start-edge: var(--system-alert-banner-start-edge); + --spectrum-alert-banner-text-to-button-horizontal: var( + --system-alert-banner-text-to-button-horizontal + ); + --spectrum-alert-banner-text-to-divider: var( + --system-alert-banner-text-to-divider + ); + --spectrum-alert-banner-top-icon: var(--system-alert-banner-top-icon); + --spectrum-alert-banner-top-text: var(--system-alert-banner-top-text); + --spectrum-alert-banner-bottom-text: var(--system-alert-banner-bottom-text); + --spectrum-alert-banner-informative-background: var( + --system-alert-banner-informative-background + ); + --spectrum-alert-banner-negative-background: var( + --system-alert-banner-negative-background + ); + --spectrum-alert-banner-font-color: var(--system-alert-banner-font-color); +} diff --git a/packages/alert-banner/src/alert-banner.css b/packages/alert-banner/src/alert-banner.css index c4be1e776d..b0db472bd2 100644 --- a/packages/alert-banner/src/alert-banner.css +++ b/packages/alert-banner/src/alert-banner.css @@ -11,3 +11,4 @@ governing permissions and limitations under the License. */ @import url('./spectrum-alert-banner.css'); +@import url('./alert-banner-overrides.css'); diff --git a/packages/alert-banner/src/spectrum-alert-banner.css b/packages/alert-banner/src/spectrum-alert-banner.css index 15151bf37f..49c1693029 100644 --- a/packages/alert-banner/src/spectrum-alert-banner.css +++ b/packages/alert-banner/src/spectrum-alert-banner.css @@ -12,33 +12,6 @@ governing permissions and limitations under the License. /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ :host { - --spectrum-alert-banner-min-height: var( - --spectrum-alert-banner-minimum-height - ); - --spectrum-alert-banner-max-inline-size: var(--spectrum-alert-banner-width); - --spectrum-alert-banner-size: auto; - --spectrum-alert-banner-font-size: var(--spectrum-font-size-100); - --spectrum-alert-banner-icon-size: var(--spectrum-workflow-icon-size-100); - --spectrum-alert-banner-icon-to-text: var(--spectrum-text-to-visual-300); - --spectrum-alert-banner-start-edge: var(--spectrum-spacing-300); - --spectrum-alert-banner-text-to-button-horizontal: var( - --spectrum-spacing-300 - ); - --spectrum-alert-banner-text-to-divider: var(--spectrum-spacing-300); - --spectrum-alert-banner-top-icon: var( - --spectrum-alert-banner-top-to-workflow-icon - ); - --spectrum-alert-banner-top-text: var(--spectrum-alert-banner-top-to-text); - --spectrum-alert-banner-bottom-text: var( - --spectrum-alert-banner-bottom-to-text - ); - --spectrum-alert-banner-informative-background: var( - --spectrum-informative-background-color-default - ); - --spectrum-alert-banner-negative-background: var( - --spectrum-negative-background-color-default - ); - --spectrum-alert-banner-font-color: var(--spectrum-white); --mod-divider-vertical-margin: var( --mod-alert-banner-edge-to-divider, var(--spectrum-alert-banner-edge-to-divider) @@ -84,9 +57,13 @@ governing permissions and limitations under the License. var(--spectrum-alert-banner-font-color) ); background-color: var( - --mod-alert-banner-netural-background, - var(--spectrum-alert-banner-netural-background) + --mod-alert-banner-neutral-background, + var( + --mod-alert-banner-neutral-background, + var(--spectrum-alert-banner-neutral-background) + ) ); + border: 0 solid #0000; border: var(--highcontrast-alert-banner-border-width, 0) solid var(--highcontrast-alert-banner-border-color, transparent); justify-content: space-between; @@ -187,9 +164,3 @@ governing permissions and limitations under the License. ); } } - -:host { - --spectrum-alert-banner-netural-background: var( - --system-spectrum-alertbanner-spectrum-alert-banner-netural-background - ); -} diff --git a/packages/alert-banner/src/spectrum-config.js b/packages/alert-banner/src/spectrum-config.js index d98b889c8a..5f2c2104c8 100644 --- a/packages/alert-banner/src/spectrum-config.js +++ b/packages/alert-banner/src/spectrum-config.js @@ -24,6 +24,7 @@ const config = { inPackage: '@spectrum-css/alertbanner', outPackage: 'alert-banner', fileName: 'alert-banner', + systemOverrides: true, components: [ converter.classToHost(), converter.classToAttribute('is-open', 'open'), diff --git a/packages/alert-dialog/package.json b/packages/alert-dialog/package.json index 20ebddbfe7..441d9ec2cd 100644 --- a/packages/alert-dialog/package.json +++ b/packages/alert-dialog/package.json @@ -29,6 +29,7 @@ "development": "./src/AlertDialog.dev.js", "default": "./src/AlertDialog.js" }, + "./src/alert-dialog-overrides.css.js": "./src/alert-dialog-overrides.css.js", "./src/alert-dialog.css.js": "./src/alert-dialog.css.js", "./src/index.js": { "development": "./src/index.dev.js", @@ -66,7 +67,7 @@ "@spectrum-web-components/shared": "^0.49.0" }, "devDependencies": { - "@spectrum-css/alertdialog": "^2.1.1" + "@spectrum-css/alertdialog": "^3.0.0-s2-foundations.15" }, "types": "./src/index.d.ts", "customElements": "custom-elements.json", diff --git a/packages/alert-dialog/src/alert-dialog-overrides.css b/packages/alert-dialog/src/alert-dialog-overrides.css new file mode 100644 index 0000000000..de7d0f1833 --- /dev/null +++ b/packages/alert-dialog/src/alert-dialog-overrides.css @@ -0,0 +1,65 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host { + --spectrum-alert-dialog-min-width: var(--system-alert-dialog-min-width); + --spectrum-alert-dialog-max-width: var(--system-alert-dialog-max-width); + --spectrum-alert-dialog-icon-size: var(--system-alert-dialog-icon-size); + --spectrum-alert-dialog-warning-icon-color: var( + --system-alert-dialog-warning-icon-color + ); + --spectrum-alert-dialog-error-icon-color: var( + --system-alert-dialog-error-icon-color + ); + --spectrum-alert-dialog-title-font-family: var( + --system-alert-dialog-title-font-family + ); + --spectrum-alert-dialog-title-font-weight: var( + --system-alert-dialog-title-font-weight + ); + --spectrum-alert-dialog-title-font-style: var( + --system-alert-dialog-title-font-style + ); + --spectrum-alert-dialog-title-font-size: var( + --system-alert-dialog-title-font-size + ); + --spectrum-alert-dialog-title-line-height: var( + --system-alert-dialog-title-line-height + ); + --spectrum-alert-dialog-title-color: var(--system-alert-dialog-title-color); + --spectrum-alert-dialog-body-font-family: var( + --system-alert-dialog-body-font-family + ); + --spectrum-alert-dialog-body-font-weight: var( + --system-alert-dialog-body-font-weight + ); + --spectrum-alert-dialog-body-font-style: var( + --system-alert-dialog-body-font-style + ); + --spectrum-alert-dialog-body-font-size: var( + --system-alert-dialog-body-font-size + ); + --spectrum-alert-dialog-body-line-height: var( + --system-alert-dialog-body-line-height + ); + --spectrum-alert-dialog-body-color: var(--system-alert-dialog-body-color); + --spectrum-alert-dialog-title-to-divider: var( + --system-alert-dialog-title-to-divider + ); + --spectrum-alert-dialog-divider-to-description: var( + --system-alert-dialog-divider-to-description + ); + --spectrum-alert-dialog-title-to-icon: var( + --system-alert-dialog-title-to-icon + ); +} diff --git a/packages/alert-dialog/src/alert-dialog.css b/packages/alert-dialog/src/alert-dialog.css index c4f1ef3a73..5214291072 100644 --- a/packages/alert-dialog/src/alert-dialog.css +++ b/packages/alert-dialog/src/alert-dialog.css @@ -11,3 +11,4 @@ governing permissions and limitations under the License. */ @import url('./spectrum-alert-dialog.css'); +@import url('./alert-dialog-overrides.css'); diff --git a/packages/alert-dialog/src/spectrum-alert-dialog.css b/packages/alert-dialog/src/spectrum-alert-dialog.css index cf375af150..c9ac8a1f7e 100644 --- a/packages/alert-dialog/src/spectrum-alert-dialog.css +++ b/packages/alert-dialog/src/spectrum-alert-dialog.css @@ -12,55 +12,8 @@ governing permissions and limitations under the License. /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ :host { - --spectrum-alert-dialog-min-width: var( - --spectrum-alert-dialog-minimum-width - ); - --spectrum-alert-dialog-max-width: var( - --spectrum-alert-dialog-maximum-width - ); - --spectrum-alert-dialog-icon-size: var(--spectrum-workflow-icon-size-100); - --spectrum-alert-dialog-warning-icon-color: var( - --spectrum-notice-visual-color - ); - --spectrum-alert-dialog-error-icon-color: var( - --spectrum-negative-visual-color - ); - --spectrum-alert-dialog-title-font-family: var( - --spectrum-sans-font-family-stack - ); - --spectrum-alert-dialog-title-font-weight: var( - --spectrum-heading-sans-serif-font-weight - ); - --spectrum-alert-dialog-title-font-style: var( - --spectrum-heading-sans-serif-font-style - ); - --spectrum-alert-dialog-title-font-size: var( - --spectrum-alert-dialog-title-size - ); - --spectrum-alert-dialog-title-line-height: var( - --spectrum-heading-line-height - ); - --spectrum-alert-dialog-title-color: var(--spectrum-heading-color); - --spectrum-alert-dialog-body-font-family: var( - --spectrum-sans-font-family-stack - ); - --spectrum-alert-dialog-body-font-weight: var( - --spectrum-body-sans-serif-font-weight - ); - --spectrum-alert-dialog-body-font-style: var( - --spectrum-body-sans-serif-font-style - ); - --spectrum-alert-dialog-body-font-size: var( - --spectrum-alert-dialog-description-size - ); - --spectrum-alert-dialog-body-line-height: var(--spectrum-line-height-100); - --spectrum-alert-dialog-body-color: var(--spectrum-body-color); - --spectrum-alert-dialog-title-to-divider: var(--spectrum-spacing-200); - --spectrum-alert-dialog-divider-to-description: var(--spectrum-spacing-300); - --spectrum-alert-dialog-title-to-icon: var(--spectrum-spacing-300); --mod-buttongroup-justify-content: flex-end; box-sizing: border-box; - inline-size: -moz-fit-content; inline-size: fit-content; min-inline-size: var( --mod-alert-dialog-min-width, diff --git a/packages/asset/package.json b/packages/asset/package.json index 935c956b7e..58cbad8838 100644 --- a/packages/asset/package.json +++ b/packages/asset/package.json @@ -29,6 +29,7 @@ "development": "./src/Asset.dev.js", "default": "./src/Asset.js" }, + "./src/asset-overrides.css.js": "./src/asset-overrides.css.js", "./src/asset.css.js": "./src/asset.css.js", "./src/index.js": { "development": "./src/index.dev.js", @@ -60,7 +61,7 @@ "@spectrum-web-components/base": "^0.49.0" }, "devDependencies": { - "@spectrum-css/asset": "^5.1.1" + "@spectrum-css/asset": "^6.0.0-s2-foundations.15" }, "types": "./src/index.d.ts", "customElements": "custom-elements.json", diff --git a/packages/asset/src/asset-overrides.css b/packages/asset/src/asset-overrides.css new file mode 100644 index 0000000000..88e6974a2b --- /dev/null +++ b/packages/asset/src/asset-overrides.css @@ -0,0 +1,25 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host { + --spectrum-asset-transition-duration: var( + --system-asset-transition-duration + ); + --spectrum-asset-folder-background-color: var( + --system-asset-folder-background-color + ); + --spectrum-asset-file-background-color: var( + --system-asset-file-background-color + ); + --spectrum-asset-icon-outline-color: var(--system-asset-icon-outline-color); +} diff --git a/packages/asset/src/asset.css b/packages/asset/src/asset.css index 27143a936c..f6db5c890a 100644 --- a/packages/asset/src/asset.css +++ b/packages/asset/src/asset.css @@ -11,3 +11,4 @@ governing permissions and limitations under the License. */ @import url('./spectrum-asset.css'); +@import url('./asset-overrides.css'); diff --git a/packages/asset/src/spectrum-asset.css b/packages/asset/src/spectrum-asset.css index 8985a9bb71..06229170f6 100644 --- a/packages/asset/src/spectrum-asset.css +++ b/packages/asset/src/spectrum-asset.css @@ -23,36 +23,47 @@ governing permissions and limitations under the License. max-inline-size: 100%; max-block-size: 100%; object-fit: contain; - transition: opacity var(--spectrum-animation-duration-100); + transition: opacity var(--spectrum-asset-transition-duration); } .file, .folder { + inline-size: max(48px, min(100%, 80px)); inline-size: max( var(--mod-asset-icon-min-width, 48px), min(100%, var(--mod-asset-icon-max-width, 80px)) ); block-size: 100%; + margin: 20px; margin: var(--mod-asset-icon-margin, 20px); } .folderBackground { fill: var( --highcontrast-asset-folder-background-color, - var(--mod-asset-folder-background-color, var(--spectrum-gray-300)) + var( + --mod-asset-folder-background-color, + var(--spectrum-asset-folder-background-color) + ) ); } .fileBackground { fill: var( --highcontrast-asset-file-background-color, - var(--mod-asset-file-background-color, var(--spectrum-gray-50)) + var( + --mod-asset-file-background-color, + var(--spectrum-asset-file-background-color) + ) ); } .fileOutline, .folderOutline { - fill: var(--mod-asset-icon-outline-color, var(--spectrum-gray-500)); + fill: var( + --mod-asset-icon-outline-color, + var(--spectrum-asset-icon-outline-color) + ); } @media (forced-colors: active) { diff --git a/packages/avatar/package.json b/packages/avatar/package.json index 63316c4e27..830ad60ce9 100644 --- a/packages/avatar/package.json +++ b/packages/avatar/package.json @@ -29,6 +29,7 @@ "development": "./src/Avatar.dev.js", "default": "./src/Avatar.js" }, + "./src/avatar-overrides.css.js": "./src/avatar-overrides.css.js", "./src/avatar.css.js": "./src/avatar.css.js", "./src/index.js": { "development": "./src/index.dev.js", @@ -61,7 +62,7 @@ "@spectrum-web-components/shared": "^0.49.0" }, "devDependencies": { - "@spectrum-css/avatar": "^7.1.1" + "@spectrum-css/avatar": "^8.0.0-s2-foundations.15" }, "types": "./src/index.d.ts", "customElements": "custom-elements.json", diff --git a/packages/avatar/src/avatar-overrides.css b/packages/avatar/src/avatar-overrides.css new file mode 100644 index 0000000000..b7329c6bf7 --- /dev/null +++ b/packages/avatar/src/avatar-overrides.css @@ -0,0 +1,75 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host { + --spectrum-avatar-color-opacity: var(--system-avatar-color-opacity); + --spectrum-avatar-inline-size: var(--system-avatar-inline-size); + --spectrum-avatar-block-size: var(--system-avatar-block-size); + --spectrum-avatar-focus-indicator-thickness: var( + --system-avatar-focus-indicator-thickness + ); + --spectrum-avatar-focus-indicator-gap: var( + --system-avatar-focus-indicator-gap + ); + --spectrum-avatar-focus-indicator-color: var( + --system-avatar-focus-indicator-color + ); + --spectrum-avatar-color-opacity-disabled: var( + --system-avatar-color-opacity-disabled + ); +} + +:host([size='50']) { + --spectrum-avatar-inline-size: var(--system-avatar-size-50-inline-size); + --spectrum-avatar-block-size: var(--system-avatar-size-50-block-size); +} + +:host([size='75']) { + --spectrum-avatar-inline-size: var(--system-avatar-size-75-inline-size); + --spectrum-avatar-block-size: var(--system-avatar-size-75-block-size); +} + +:host([size='100']) { + --spectrum-avatar-inline-size: var(--system-avatar-size-100-inline-size); + --spectrum-avatar-block-size: var(--system-avatar-size-100-block-size); +} + +:host([size='200']) { + --spectrum-avatar-inline-size: var(--system-avatar-size-200-inline-size); + --spectrum-avatar-block-size: var(--system-avatar-size-200-block-size); +} + +:host([size='300']) { + --spectrum-avatar-inline-size: var(--system-avatar-size-300-inline-size); + --spectrum-avatar-block-size: var(--system-avatar-size-300-block-size); +} + +:host([size='400']) { + --spectrum-avatar-inline-size: var(--system-avatar-size-400-inline-size); + --spectrum-avatar-block-size: var(--system-avatar-size-400-block-size); +} + +:host([size='500']) { + --spectrum-avatar-inline-size: var(--system-avatar-size-500-inline-size); + --spectrum-avatar-block-size: var(--system-avatar-size-500-block-size); +} + +:host([size='600']) { + --spectrum-avatar-inline-size: var(--system-avatar-size-600-inline-size); + --spectrum-avatar-block-size: var(--system-avatar-size-600-block-size); +} + +:host([size='700']) { + --spectrum-avatar-inline-size: var(--system-avatar-size-700-inline-size); + --spectrum-avatar-block-size: var(--system-avatar-size-700-block-size); +} diff --git a/packages/avatar/src/avatar.css b/packages/avatar/src/avatar.css index 2db2fea61f..f536bb92a6 100644 --- a/packages/avatar/src/avatar.css +++ b/packages/avatar/src/avatar.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-avatar.css'); +@import url('./avatar-overrides.css'); img { vertical-align: top; diff --git a/packages/avatar/src/spectrum-avatar.css b/packages/avatar/src/spectrum-avatar.css index ba9f2d69ea..07aff46824 100644 --- a/packages/avatar/src/spectrum-avatar.css +++ b/packages/avatar/src/spectrum-avatar.css @@ -11,68 +11,6 @@ governing permissions and limitations under the License. */ /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ -:host { - --spectrum-avatar-color-opacity: 1; - --spectrum-avatar-inline-size: var(--spectrum-avatar-size-100); - --spectrum-avatar-block-size: var(--spectrum-avatar-size-100); - --spectrum-avatar-border-radius: var(--spectrum-avatar-block-size); - --spectrum-avatar-focus-indicator-thickness: var( - --spectrum-focus-indicator-thickness - ); - --spectrum-avatar-focus-indicator-gap: var(--spectrum-focus-indicator-gap); - --spectrum-avatar-focus-indicator-color: var( - --spectrum-focus-indicator-color - ); - --spectrum-avatar-color-opacity-disabled: var( - --spectrum-avatar-opacity-disabled - ); -} - -:host([size='50']) { - --spectrum-avatar-inline-size: var(--spectrum-avatar-size-50); - --spectrum-avatar-block-size: var(--spectrum-avatar-size-50); -} - -:host([size='75']) { - --spectrum-avatar-inline-size: var(--spectrum-avatar-size-75); - --spectrum-avatar-block-size: var(--spectrum-avatar-size-75); -} - -:host([size='100']) { - --spectrum-avatar-inline-size: var(--spectrum-avatar-size-100); - --spectrum-avatar-block-size: var(--spectrum-avatar-size-100); -} - -:host([size='200']) { - --spectrum-avatar-inline-size: var(--spectrum-avatar-size-200); - --spectrum-avatar-block-size: var(--spectrum-avatar-size-200); -} - -:host([size='300']) { - --spectrum-avatar-inline-size: var(--spectrum-avatar-size-300); - --spectrum-avatar-block-size: var(--spectrum-avatar-size-300); -} - -:host([size='400']) { - --spectrum-avatar-inline-size: var(--spectrum-avatar-size-400); - --spectrum-avatar-block-size: var(--spectrum-avatar-size-400); -} - -:host([size='500']) { - --spectrum-avatar-inline-size: var(--spectrum-avatar-size-500); - --spectrum-avatar-block-size: var(--spectrum-avatar-size-500); -} - -:host([size='600']) { - --spectrum-avatar-inline-size: var(--spectrum-avatar-size-600); - --spectrum-avatar-block-size: var(--spectrum-avatar-size-600); -} - -:host([size='700']) { - --spectrum-avatar-inline-size: var(--spectrum-avatar-size-700); - --spectrum-avatar-block-size: var(--spectrum-avatar-size-700); -} - @media (forced-colors: active) { :host { --highcontrast-avatar-focus-indicator-color: CanvasText; @@ -80,6 +18,7 @@ governing permissions and limitations under the License. } :host { + --spectrum-avatar-border-radius: var(--spectrum-avatar-block-size); inline-size: var( --mod-avatar-inline-size, var(--spectrum-avatar-inline-size) @@ -113,6 +52,7 @@ governing permissions and limitations under the License. ); } +:host(:not([disabled])) .is-focused:after, :host(:not([disabled])) .link:focus-visible:after { pointer-events: none; content: ''; @@ -174,7 +114,7 @@ governing permissions and limitations under the License. } .link { - outline: solid #0000; + outline: 0; } .image { diff --git a/packages/badge/package.json b/packages/badge/package.json index 181ee48e2c..bceb6c6cb9 100644 --- a/packages/badge/package.json +++ b/packages/badge/package.json @@ -29,6 +29,7 @@ "development": "./src/Badge.dev.js", "default": "./src/Badge.js" }, + "./src/badge-overrides.css.js": "./src/badge-overrides.css.js", "./src/badge.css.js": "./src/badge.css.js", "./src/index.js": { "development": "./src/index.dev.js", @@ -61,7 +62,7 @@ "@spectrum-web-components/shared": "^0.49.0" }, "devDependencies": { - "@spectrum-css/badge": "^4.1.1" + "@spectrum-css/badge": "^5.0.0-s2-foundations.15" }, "types": "./src/index.d.ts", "customElements": "custom-elements.json", diff --git a/packages/badge/src/Badge.ts b/packages/badge/src/Badge.ts index 5f3cda8bc4..c107a02d7a 100644 --- a/packages/badge/src/Badge.ts +++ b/packages/badge/src/Badge.ts @@ -46,17 +46,14 @@ export const BADGE_VARIANTS = [ 'cyan', 'blue', ] as const; -export type BadgeVariant = typeof BADGE_VARIANTS[number]; -export const FIXED_VALUES_DEPRECATED = ['top', 'bottom', 'left', 'right']; +export type BadgeVariant = (typeof BADGE_VARIANTS)[number]; export const FIXED_VALUES = [ 'inline-start', 'inline-end', 'block-start', 'block-end', ] as const; -export type FixedValues = - | typeof FIXED_VALUES[number] - | typeof FIXED_VALUES_DEPRECATED[number]; +export type FixedValues = (typeof FIXED_VALUES)[number]; /** * @element sp-badge @@ -82,18 +79,6 @@ export class Badge extends SizedMixin( public set fixed(fixed: FixedValues | undefined) { if (fixed === this.fixed) return; const oldValue = this.fixed; - if (window.__swc.DEBUG) { - if (fixed && FIXED_VALUES_DEPRECATED.includes(fixed)) { - window.__swc.warn( - this, - `The following values for "fixed" in <${this.localName}> have been deprecated. They will be removed in a future release.`, - 'https://opensource.adobe.com/spectrum-web-components/components/badge/#fixed', - { - issues: [...FIXED_VALUES_DEPRECATED], - } - ); - } - } this._fixed = fixed; if (fixed) { this.setAttribute('fixed', fixed); diff --git a/packages/badge/src/badge-overrides.css b/packages/badge/src/badge-overrides.css new file mode 100644 index 0000000000..f02f512bfe --- /dev/null +++ b/packages/badge/src/badge-overrides.css @@ -0,0 +1,270 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host { + --spectrum-badge-corner-radius: var(--system-badge-corner-radius); + --spectrum-badge-line-height: var(--system-badge-line-height); + --spectrum-badge-line-height-cjk: var(--system-badge-line-height-cjk); + --spectrum-badge-label-icon-color: var(--system-badge-label-icon-color); + --spectrum-badge-background-color-default: var( + --system-badge-background-color-default + ); + --spectrum-badge-background-color-accent: var( + --system-badge-background-color-accent + ); + --spectrum-badge-background-color-informative: var( + --system-badge-background-color-informative + ); + --spectrum-badge-background-color-negative: var( + --system-badge-background-color-negative + ); + --spectrum-badge-background-color-positive: var( + --system-badge-background-color-positive + ); + --spectrum-badge-background-color-notice: var( + --system-badge-background-color-notice + ); + --spectrum-badge-background-color-gray: var( + --system-badge-background-color-gray + ); + --spectrum-badge-background-color-red: var( + --system-badge-background-color-red + ); + --spectrum-badge-background-color-orange: var( + --system-badge-background-color-orange + ); + --spectrum-badge-background-color-yellow: var( + --system-badge-background-color-yellow + ); + --spectrum-badge-background-color-chartreuse: var( + --system-badge-background-color-chartreuse + ); + --spectrum-badge-background-color-celery: var( + --system-badge-background-color-celery + ); + --spectrum-badge-background-color-green: var( + --system-badge-background-color-green + ); + --spectrum-badge-background-color-seafoam: var( + --system-badge-background-color-seafoam + ); + --spectrum-badge-background-color-cyan: var( + --system-badge-background-color-cyan + ); + --spectrum-badge-background-color-blue: var( + --system-badge-background-color-blue + ); + --spectrum-badge-background-color-indigo: var( + --system-badge-background-color-indigo + ); + --spectrum-badge-background-color-purple: var( + --system-badge-background-color-purple + ); + --spectrum-badge-background-color-fuchsia: var( + --system-badge-background-color-fuchsia + ); + --spectrum-badge-background-color-magenta: var( + --system-badge-background-color-magenta + ); + --spectrum-badge-height: var(--system-badge-height); + --spectrum-badge-font-size: var(--system-badge-font-size); + --spectrum-badge-label-spacing-vertical-top: var( + --system-badge-label-spacing-vertical-top + ); + --spectrum-badge-label-spacing-vertical-bottom: var( + --system-badge-label-spacing-vertical-bottom + ); + --spectrum-badge-label-spacing-horizontal: var( + --system-badge-label-spacing-horizontal + ); + --spectrum-badge-workflow-icon-size: var(--system-badge-workflow-icon-size); + --spectrum-badge-icon-text-spacing: var(--system-badge-icon-text-spacing); + --spectrum-badge-icon-spacing-horizontal: var( + --system-badge-icon-spacing-horizontal + ); + --spectrum-badge-icon-spacing-vertical-top: var( + --system-badge-icon-spacing-vertical-top + ); + --spectrum-badge-icon-only-spacing-horizontal: var( + --system-badge-icon-only-spacing-horizontal + ); +} + +:host([variant='orange']) { + --spectrum-badge-label-icon-color: var( + --system-badge-orange-label-icon-color + ); +} + +:host([variant='yellow']) { + --spectrum-badge-label-icon-color: var( + --system-badge-yellow-label-icon-color + ); +} + +:host([variant='chartreuse']) { + --spectrum-badge-label-icon-color: var( + --system-badge-chartreuse-label-icon-color + ); +} + +:host([variant='celery']) { + --spectrum-badge-label-icon-color: var( + --system-badge-celery-label-icon-color + ); +} + +:host([variant='gray']) { + --spectrum-badge-label-icon-color: var( + --system-badge-gray-label-icon-color + ); +} + +:host([variant='red']) { + --spectrum-badge-label-icon-color: var(--system-badge-red-label-icon-color); +} + +:host([variant='green']) { + --spectrum-badge-label-icon-color: var( + --system-badge-green-label-icon-color + ); +} + +:host([variant='seafoam']) { + --spectrum-badge-label-icon-color: var( + --system-badge-seafoam-label-icon-color + ); +} + +:host([variant='cyan']) { + --spectrum-badge-label-icon-color: var( + --system-badge-cyan-label-icon-color + ); +} + +:host([variant='blue']) { + --spectrum-badge-label-icon-color: var( + --system-badge-blue-label-icon-color + ); +} + +:host([variant='indigo']) { + --spectrum-badge-label-icon-color: var( + --system-badge-indigo-label-icon-color + ); +} + +:host([variant='purple']) { + --spectrum-badge-label-icon-color: var( + --system-badge-purple-label-icon-color + ); +} + +:host([variant='fuchsia']) { + --spectrum-badge-label-icon-color: var( + --system-badge-fuchsia-label-icon-color + ); +} + +:host([variant='magenta']) { + --spectrum-badge-label-icon-color: var( + --system-badge-magenta-label-icon-color + ); +} + +:host([size='s']) { + --spectrum-badge-height: var(--system-badge-size-s-height); + --spectrum-badge-font-size: var(--system-badge-size-s-font-size); + --spectrum-badge-label-spacing-vertical-top: var( + --system-badge-size-s-label-spacing-vertical-top + ); + --spectrum-badge-label-spacing-vertical-bottom: var( + --system-badge-size-s-label-spacing-vertical-bottom + ); + --spectrum-badge-label-spacing-horizontal: var( + --system-badge-size-s-label-spacing-horizontal + ); + --spectrum-badge-workflow-icon-size: var( + --system-badge-size-s-workflow-icon-size + ); + --spectrum-badge-icon-text-spacing: var( + --system-badge-size-s-icon-text-spacing + ); + --spectrum-badge-icon-spacing-horizontal: var( + --system-badge-size-s-icon-spacing-horizontal + ); + --spectrum-badge-icon-spacing-vertical-top: var( + --system-badge-size-s-icon-spacing-vertical-top + ); + --spectrum-badge-icon-only-spacing-horizontal: var( + --system-badge-size-s-icon-only-spacing-horizontal + ); +} + +:host([size='l']) { + --spectrum-badge-height: var(--system-badge-size-l-height); + --spectrum-badge-font-size: var(--system-badge-size-l-font-size); + --spectrum-badge-label-spacing-vertical-top: var( + --system-badge-size-l-label-spacing-vertical-top + ); + --spectrum-badge-label-spacing-vertical-bottom: var( + --system-badge-size-l-label-spacing-vertical-bottom + ); + --spectrum-badge-label-spacing-horizontal: var( + --system-badge-size-l-label-spacing-horizontal + ); + --spectrum-badge-workflow-icon-size: var( + --system-badge-size-l-workflow-icon-size + ); + --spectrum-badge-icon-text-spacing: var( + --system-badge-size-l-icon-text-spacing + ); + --spectrum-badge-icon-spacing-horizontal: var( + --system-badge-size-l-icon-spacing-horizontal + ); + --spectrum-badge-icon-spacing-vertical-top: var( + --system-badge-size-l-icon-spacing-vertical-top + ); + --spectrum-badge-icon-only-spacing-horizontal: var( + --system-badge-size-l-icon-only-spacing-horizontal + ); +} + +:host([size='xl']) { + --spectrum-badge-height: var(--system-badge-size-xl-height); + --spectrum-badge-font-size: var(--system-badge-size-xl-font-size); + --spectrum-badge-label-spacing-vertical-top: var( + --system-badge-size-xl-label-spacing-vertical-top + ); + --spectrum-badge-label-spacing-vertical-bottom: var( + --system-badge-size-xl-label-spacing-vertical-bottom + ); + --spectrum-badge-label-spacing-horizontal: var( + --system-badge-size-xl-label-spacing-horizontal + ); + --spectrum-badge-workflow-icon-size: var( + --system-badge-size-xl-workflow-icon-size + ); + --spectrum-badge-icon-text-spacing: var( + --system-badge-size-xl-icon-text-spacing + ); + --spectrum-badge-icon-spacing-horizontal: var( + --system-badge-size-xl-icon-spacing-horizontal + ); + --spectrum-badge-icon-spacing-vertical-top: var( + --system-badge-size-xl-icon-spacing-vertical-top + ); + --spectrum-badge-icon-only-spacing-horizontal: var( + --system-badge-size-xl-icon-only-spacing-horizontal + ); +} diff --git a/packages/badge/src/badge.css b/packages/badge/src/badge.css index 371e03c297..ebe4a728c0 100644 --- a/packages/badge/src/badge.css +++ b/packages/badge/src/badge.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-badge.css'); +@import url('./badge-overrides.css'); /* center align icons and text */ @@ -18,28 +19,6 @@ governing permissions and limitations under the License. align-items: center; } -/* Marked as deprecated, remove in a future release */ - -:host([fixed='left']) { - border-end-start-radius: 0; - border-start-start-radius: 0; /* .spectrum-Badge--fixed-inline-start */ -} - -:host([fixed='right']) { - border-end-end-radius: 0; - border-start-end-radius: 0; /* .spectrum-Badge--fixed-inline-end */ -} - -:host([fixed='top']) { - border-start-end-radius: 0; - border-start-start-radius: 0; /* .spectrum-Badge--fixed-block-start */ -} - -:host([fixed='bottom']) { - border-end-end-radius: 0; - border-end-start-radius: 0; /* .spectrum-Badge--fixed-block-end */ -} - /* cascade badge's size to its icon */ :host([size='xs']) { diff --git a/packages/badge/src/spectrum-badge.css b/packages/badge/src/spectrum-badge.css index a315b66b16..a69ad6cec0 100644 --- a/packages/badge/src/spectrum-badge.css +++ b/packages/badge/src/spectrum-badge.css @@ -11,192 +11,6 @@ governing permissions and limitations under the License. */ /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ -:host { - --spectrum-badge-corner-radius: var(--spectrum-corner-radius-100); - --spectrum-badge-line-height: var(--spectrum-line-height-100); - --spectrum-badge-line-height-cjk: var(--spectrum-cjk-line-height-100); - --spectrum-badge-label-icon-color: var(--spectrum-white); - --spectrum-badge-background-color-default: var( - --spectrum-neutral-subdued-background-color-default - ); - --spectrum-badge-background-color-accent: var( - --spectrum-accent-background-color-default - ); - --spectrum-badge-background-color-informative: var( - --spectrum-informative-background-color-default - ); - --spectrum-badge-background-color-negative: var( - --spectrum-negative-background-color-default - ); - --spectrum-badge-background-color-positive: var( - --spectrum-positive-background-color-default - ); - --spectrum-badge-background-color-notice: var( - --spectrum-notice-background-color-default - ); - --spectrum-badge-background-color-gray: var( - --spectrum-gray-background-color-default - ); - --spectrum-badge-background-color-red: var( - --spectrum-red-background-color-default - ); - --spectrum-badge-background-color-orange: var( - --spectrum-orange-background-color-default - ); - --spectrum-badge-background-color-yellow: var( - --spectrum-yellow-background-color-default - ); - --spectrum-badge-background-color-chartreuse: var( - --spectrum-chartreuse-background-color-default - ); - --spectrum-badge-background-color-celery: var( - --spectrum-celery-background-color-default - ); - --spectrum-badge-background-color-green: var( - --spectrum-green-background-color-default - ); - --spectrum-badge-background-color-seafoam: var( - --spectrum-seafoam-background-color-default - ); - --spectrum-badge-background-color-cyan: var( - --spectrum-cyan-background-color-default - ); - --spectrum-badge-background-color-blue: var( - --spectrum-blue-background-color-default - ); - --spectrum-badge-background-color-indigo: var( - --spectrum-indigo-background-color-default - ); - --spectrum-badge-background-color-purple: var( - --spectrum-purple-background-color-default - ); - --spectrum-badge-background-color-fuchsia: var( - --spectrum-fuchsia-background-color-default - ); - --spectrum-badge-background-color-magenta: var( - --spectrum-magenta-background-color-default - ); - --spectrum-badge-height: var(--spectrum-component-height-100); - --spectrum-badge-font-size: var(--spectrum-font-size-100); - --spectrum-badge-label-spacing-vertical-top: var( - --spectrum-component-top-to-text-100 - ); - --spectrum-badge-label-spacing-vertical-bottom: var( - --spectrum-component-bottom-to-text-100 - ); - --spectrum-badge-label-spacing-horizontal: var( - --spectrum-component-edge-to-text-100 - ); - --spectrum-badge-workflow-icon-size: var(--spectrum-workflow-icon-size-100); - --spectrum-badge-icon-text-spacing: var(--spectrum-text-to-visual-100); - --spectrum-badge-icon-spacing-horizontal: var( - --spectrum-component-edge-to-visual-100 - ); - --spectrum-badge-icon-spacing-vertical-top: var( - --spectrum-component-top-to-workflow-icon-100 - ); - --spectrum-badge-icon-only-spacing-horizontal: var( - --spectrum-component-edge-to-visual-only-100 - ); -} - -:host([variant='celery']), -:host([variant='chartreuse']), -:host([variant='orange']), -:host([variant='yellow']) { - --spectrum-badge-label-icon-color: var(--spectrum-black); -} - -:host([variant='blue']), -:host([variant='cyan']), -:host([variant='fuchsia']), -:host([variant='gray']), -:host([variant='green']), -:host([variant='indigo']), -:host([variant='magenta']), -:host([variant='purple']), -:host([variant='red']), -:host([variant='seafoam']) { - --spectrum-badge-label-icon-color: var( - --spectrum-badge-label-icon-color-primary - ); -} - -:host([size='s']) { - --spectrum-badge-height: var(--spectrum-component-height-75); - --spectrum-badge-font-size: var(--spectrum-font-size-75); - --spectrum-badge-label-spacing-vertical-top: var( - --spectrum-component-top-to-text-75 - ); - --spectrum-badge-label-spacing-vertical-bottom: var( - --spectrum-component-bottom-to-text-75 - ); - --spectrum-badge-label-spacing-horizontal: var( - --spectrum-component-edge-to-text-75 - ); - --spectrum-badge-workflow-icon-size: var(--spectrum-workflow-icon-size-75); - --spectrum-badge-icon-text-spacing: var(--spectrum-text-to-visual-75); - --spectrum-badge-icon-spacing-horizontal: var( - --spectrum-component-edge-to-visual-75 - ); - --spectrum-badge-icon-spacing-vertical-top: var( - --spectrum-component-top-to-workflow-icon-75 - ); - --spectrum-badge-icon-only-spacing-horizontal: var( - --spectrum-component-edge-to-visual-only-75 - ); -} - -:host([size='l']) { - --spectrum-badge-height: var(--spectrum-component-height-100); - --spectrum-badge-font-size: var(--spectrum-font-size-200); - --spectrum-badge-label-spacing-vertical-top: var( - --spectrum-component-top-to-text-200 - ); - --spectrum-badge-label-spacing-vertical-bottom: var( - --spectrum-component-bottom-to-text-200 - ); - --spectrum-badge-label-spacing-horizontal: var( - --spectrum-component-edge-to-text-200 - ); - --spectrum-badge-workflow-icon-size: var(--spectrum-workflow-icon-size-200); - --spectrum-badge-icon-text-spacing: var(--spectrum-text-to-visual-200); - --spectrum-badge-icon-spacing-horizontal: var( - --spectrum-component-edge-to-visual-200 - ); - --spectrum-badge-icon-spacing-vertical-top: var( - --spectrum-component-top-to-workflow-icon-200 - ); - --spectrum-badge-icon-only-spacing-horizontal: var( - --spectrum-component-edge-to-visual-only-200 - ); -} - -:host([size='xl']) { - --spectrum-badge-height: var(--spectrum-component-height-100); - --spectrum-badge-font-size: var(--spectrum-font-size-300); - --spectrum-badge-label-spacing-vertical-top: var( - --spectrum-component-top-to-text-300 - ); - --spectrum-badge-label-spacing-vertical-bottom: var( - --spectrum-component-bottom-to-text-300 - ); - --spectrum-badge-label-spacing-horizontal: var( - --spectrum-component-edge-to-text-300 - ); - --spectrum-badge-workflow-icon-size: var(--spectrum-workflow-icon-size-300); - --spectrum-badge-icon-text-spacing: var(--spectrum-text-to-visual-300); - --spectrum-badge-icon-spacing-horizontal: var( - --spectrum-component-edge-to-visual-300 - ); - --spectrum-badge-icon-spacing-vertical-top: var( - --spectrum-component-top-to-workflow-icon-300 - ); - --spectrum-badge-icon-only-spacing-horizontal: var( - --spectrum-component-edge-to-visual-only-300 - ); -} - @media (forced-colors: active) { :host { border-color: CanvasText; diff --git a/packages/badge/test/badge.test.ts b/packages/badge/test/badge.test.ts index 95e098899f..6ff770e187 100644 --- a/packages/badge/test/badge.test.ts +++ b/packages/badge/test/badge.test.ts @@ -21,23 +21,19 @@ import { testForLitDevWarnings } from '../../../test/testing-helpers.js'; describe('Badge', () => { testForLitDevWarnings( async () => - await fixture( - html` - - - Icon and label - - ` - ) + await fixture(html` + + + Icon and label + + `) ); it('manages `fixed` attribute', async () => { - const el = await fixture( - html` - Label only - ` - ); + const el = await fixture(html` + Label only + `); expect(el.fixed).to.be.undefined; @@ -76,16 +72,14 @@ describe('Badge', () => { }); it('loads default badge accessibly', async () => { - const el = await fixture( - html` - - - Icon and label - - ` - ); + const el = await fixture(html` + + + Icon and label + + `); await elementUpdated(el); @@ -93,16 +87,14 @@ describe('Badge', () => { expect(consoleWarnStub.called).to.be.false; }); it('warns in Dev Mode when sent an incorrect `variant`', async () => { - const el = await fixture( - html` - - - Icon and label - - ` - ); + const el = await fixture(html` + + + Icon and label + + `); await elementUpdated(el); @@ -120,33 +112,5 @@ describe('Badge', () => { }, }); }); - it('warns in Dev Mode when sent a deprecated value for `fixed`', async () => { - const el = await fixture( - html` - - - Icon and label - - ` - ); - - await elementUpdated(el); - - expect(consoleWarnStub.called).to.be.true; - const spyCall = consoleWarnStub.getCall(0); - expect( - (spyCall.args.at(0) as string).includes('"fixed"'), - 'confirm fixed-centric message' - ).to.be.true; - expect(spyCall.args.at(-1), 'confirm `data` shape').to.deep.equal({ - data: { - localName: 'sp-badge', - type: 'api', - level: 'default', - }, - }); - }); }); }); diff --git a/packages/banner/CHANGELOG.md b/packages/banner/CHANGELOG.md deleted file mode 100644 index d96ec1e4af..0000000000 --- a/packages/banner/CHANGELOG.md +++ /dev/null @@ -1,404 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [0.49.0](https://github.com/adobe/spectrum-web-components/compare/v0.48.1...v0.49.0) (2024-10-15) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.48.1](https://github.com/adobe/spectrum-web-components/compare/v0.48.0...v0.48.1) (2024-10-01) - -**Note:** Version bump only for package @spectrum-web-components/banner - -# [0.48.0](https://github.com/adobe/spectrum-web-components/compare/v0.47.2...v0.48.0) (2024-09-17) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.47.2](https://github.com/adobe/spectrum-web-components/compare/v0.47.1...v0.47.2) (2024-09-03) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.47.1](https://github.com/adobe/spectrum-web-components/compare/v0.47.0...v0.47.1) (2024-08-27) - -**Note:** Version bump only for package @spectrum-web-components/banner - -# [0.47.0](https://github.com/adobe/spectrum-web-components/compare/v0.46.0...v0.47.0) (2024-08-20) - -**Note:** Version bump only for package @spectrum-web-components/banner - -# [0.46.0](https://github.com/adobe/spectrum-web-components/compare/v0.45.0...v0.46.0) (2024-08-08) - -**Note:** Version bump only for package @spectrum-web-components/banner - -# [0.45.0](https://github.com/adobe/spectrum-web-components/compare/v0.44.0...v0.45.0) (2024-07-30) - -**Note:** Version bump only for package @spectrum-web-components/banner - -# [0.44.0](https://github.com/adobe/spectrum-web-components/compare/v0.42.4...v0.44.0) (2024-07-15) - -**Note:** Version bump only for package @spectrum-web-components/banner - -# [0.43.0](https://github.com/adobe/spectrum-web-components/compare/v0.42.4...v0.43.0) (2024-06-11) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.42.5](https://github.com/adobe/spectrum-web-components/compare/v0.42.4...v0.42.5) (2024-05-24) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.42.4](https://github.com/adobe/spectrum-web-components/compare/v0.42.2...v0.42.4) (2024-05-14) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.42.3](https://github.com/adobe/spectrum-web-components/compare/v0.42.2...v0.42.3) (2024-05-01) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.42.2](https://github.com/adobe/spectrum-web-components/compare/v0.42.1...v0.42.2) (2024-04-03) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.42.1](https://github.com/adobe/spectrum-web-components/compare/v0.42.0...v0.42.1) (2024-04-02) - -**Note:** Version bump only for package @spectrum-web-components/banner - -# [0.42.0](https://github.com/adobe/spectrum-web-components/compare/v0.41.2...v0.42.0) (2024-03-19) - -### Bug Fixes - -- **theme:** deprecate lightest and darkest color stops ([#4179](https://github.com/adobe/spectrum-web-components/issues/4179)) ([0c01a66](https://github.com/adobe/spectrum-web-components/commit/0c01a66627bbc46b459bda7680c6dcb9ea9c1b66)) - -## [0.41.2](https://github.com/adobe/spectrum-web-components/compare/v0.41.1...v0.41.2) (2024-03-05) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.41.1](https://github.com/adobe/spectrum-web-components/compare/v0.41.0...v0.41.1) (2024-02-22) - -**Note:** Version bump only for package @spectrum-web-components/banner - -# [0.41.0](https://github.com/adobe/spectrum-web-components/compare/v0.40.5...v0.41.0) (2024-02-13) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.40.5](https://github.com/adobe/spectrum-web-components/compare/v0.40.4...v0.40.5) (2024-02-05) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.40.4](https://github.com/adobe/spectrum-web-components/compare/v0.40.3...v0.40.4) (2024-01-29) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.40.3](https://github.com/adobe/spectrum-web-components/compare/v0.40.2...v0.40.3) (2024-01-11) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.40.2](https://github.com/adobe/spectrum-web-components/compare/v0.40.1...v0.40.2) (2023-12-18) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.40.1](https://github.com/adobe/spectrum-web-components/compare/v0.40.0...v0.40.1) (2023-12-05) - -**Note:** Version bump only for package @spectrum-web-components/banner - -# [0.40.0](https://github.com/adobe/spectrum-web-components/compare/v0.39.4...v0.40.0) (2023-11-16) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.39.4](https://github.com/adobe/spectrum-web-components/compare/v0.39.3...v0.39.4) (2023-11-02) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.39.3](https://github.com/adobe/spectrum-web-components/compare/v0.39.2...v0.39.3) (2023-10-18) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.39.2](https://github.com/adobe/spectrum-web-components/compare/v0.39.1...v0.39.2) (2023-10-13) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.39.1](https://github.com/adobe/spectrum-web-components/compare/v0.39.0...v0.39.1) (2023-10-06) - -**Note:** Version bump only for package @spectrum-web-components/banner - -# [0.39.0](https://github.com/adobe/spectrum-web-components/compare/v0.38.0...v0.39.0) (2023-09-25) - -**Note:** Version bump only for package @spectrum-web-components/banner - -# [0.38.0](https://github.com/adobe/spectrum-web-components/compare/v0.37.0...v0.38.0) (2023-09-05) - -**Note:** Version bump only for package @spectrum-web-components/banner - -# [0.37.0](https://github.com/adobe/spectrum-web-components/compare/v0.36.0...v0.37.0) (2023-08-18) - -**Note:** Version bump only for package @spectrum-web-components/banner - -# [0.36.0](https://github.com/adobe/spectrum-web-components/compare/v0.35.0...v0.36.0) (2023-08-18) - -**Note:** Version bump only for package @spectrum-web-components/banner - -# [0.35.0](https://github.com/adobe/spectrum-web-components/compare/v0.34.0...v0.35.0) (2023-07-31) - -**Note:** Version bump only for package @spectrum-web-components/banner - -# [0.34.0](https://github.com/adobe/spectrum-web-components/compare/v0.33.2...v0.34.0) (2023-07-11) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.33.2](https://github.com/adobe/spectrum-web-components/compare/v0.33.1...v0.33.2) (2023-06-14) - -**Note:** Version bump only for package @spectrum-web-components/banner - -# [0.33.0](https://github.com/adobe/spectrum-web-components/compare/v0.32.0...v0.33.0) (2023-06-08) - -**Note:** Version bump only for package @spectrum-web-components/banner - -# [0.32.0](https://github.com/adobe/spectrum-web-components/compare/v0.31.0...v0.32.0) (2023-06-01) - -**Note:** Version bump only for package @spectrum-web-components/banner - -# [0.31.0](https://github.com/adobe/spectrum-web-components/compare/v0.30.0...v0.31.0) (2023-05-17) - -**Note:** Version bump only for package @spectrum-web-components/banner - -# 0.30.0 (2023-05-03) - -### Bug Fixes - -- correct [@element](https://github.com/element) jsDoc listing across library ([c97a632](https://github.com/adobe/spectrum-web-components/commit/c97a6320c16a2b3053637e22bca0d56ce0cd5ae5)) -- include "type" in package.json, generate custom-elements.json ([1a8d716](https://github.com/adobe/spectrum-web-components/commit/1a8d716f2f787deb8d868a78bd28c8e62fe90e21)) -- include default export in the "exports" fields ([f32407d](https://github.com/adobe/spectrum-web-components/commit/f32407d7bbfd18e72c35b6f27740549e79957858)) -- include the "types" entry in package.json files ([b432f59](https://github.com/adobe/spectrum-web-components/commit/b432f5982b3b79f80af12f6d0312cbe2285e608b)) -- stop merging selectors in a way that alters the cascade ([369388f](https://github.com/adobe/spectrum-web-components/commit/369388f8cc147543891087991c569f849ddb9b38)) -- update side effect listings ([8160d3a](https://github.com/adobe/spectrum-web-components/commit/8160d3ab2c4f5ea11ac40897a5cf1fdaa357f4a8)) -- update to latest spectrum-css packages ([a5ca19f](https://github.com/adobe/spectrum-web-components/commit/a5ca19f67d5b3f0951667c4441d4d977bf1e0937)) - -### Features - -- include all Dev Mode files in side effects ([f70817c](https://github.com/adobe/spectrum-web-components/commit/f70817cc15db6dcf5cc1de2d82b4f7b0c80b1251)) -- leverage "exports" field in package.json ([321abd7](https://github.com/adobe/spectrum-web-components/commit/321abd7b7e78ccd9157cff75a1fa3dbd06e81f79)) -- leverage latest Spectrum button API ([9faeade](https://github.com/adobe/spectrum-web-components/commit/9faeade93893137285ae031c9516ce37d9a9041f)) -- shared pkg versions, devmode define warning, registry-conflicts docs ([6e49565](https://github.com/adobe/spectrum-web-components/commit/6e4956519b845fa8127f8032948b625c252ef7a6)) -- update lit-\* dependencies, wip ([377f3c8](https://github.com/adobe/spectrum-web-components/commit/377f3c848b09e64fa1ecc1e18208f534fefcd9e4)) -- update to Spectrum CSS v3.0.0 ([e8b3d8f](https://github.com/adobe/spectrum-web-components/commit/e8b3d8f75c77c04b4d7af126b91b0f6ad2a40742)) -- use @adobe/spectrum-css@2.15.1 ([3918888](https://github.com/adobe/spectrum-web-components/commit/39188887afad9bec52ef48d4e22596f9b757a9fe)) -- use latest exports specification ([a7ecf4b](https://github.com/adobe/spectrum-web-components/commit/a7ecf4b6da7996f36a8a89f62cc2384709497008)) - -### Performance Improvements - -- use "sideEffects" listing in package.json ([7271614](https://github.com/adobe/spectrum-web-components/commit/7271614c0ca3ccf3566583bb59467eb15a6199cd)) -- use imported TypeScript helpers instead of inlining them ([cc2bd0a](https://github.com/adobe/spectrum-web-components/commit/cc2bd0accd643c2f35cbf1ba809b54f52c25628d)) - -### Reverts - -- Revert "chore: release new versions" ([a6d655d](https://github.com/adobe/spectrum-web-components/commit/a6d655d1435ee6427a3778b89f1a6cf9fe4beb9d)) - -## [0.9.6](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.9.5...@spectrum-web-components/banner@0.9.6) (2023-04-05) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.9.5](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.9.4...@spectrum-web-components/banner@0.9.5) (2023-03-22) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.9.4](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.9.3...@spectrum-web-components/banner@0.9.4) (2023-01-23) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.9.3](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.9.2...@spectrum-web-components/banner@0.9.3) (2023-01-09) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.9.2](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.9.1...@spectrum-web-components/banner@0.9.2) (2022-11-21) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.9.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.9.0...@spectrum-web-components/banner@0.9.1) (2022-11-14) - -**Note:** Version bump only for package @spectrum-web-components/banner - -# [0.9.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.8.6...@spectrum-web-components/banner@0.9.0) (2022-08-09) - -### Features - -- include all Dev Mode files in side effects ([f70817c](https://github.com/adobe/spectrum-web-components/commit/f70817cc15db6dcf5cc1de2d82b4f7b0c80b1251)) - -## [0.8.6](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.8.5...@spectrum-web-components/banner@0.8.6) (2022-08-04) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.8.5](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.8.4...@spectrum-web-components/banner@0.8.5) (2022-06-29) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.8.4](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.8.3...@spectrum-web-components/banner@0.8.4) (2022-06-07) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.8.3](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.8.2...@spectrum-web-components/banner@0.8.3) (2022-05-12) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.8.2](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.8.1...@spectrum-web-components/banner@0.8.2) (2022-04-21) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.8.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.8.0...@spectrum-web-components/banner@0.8.1) (2022-03-08) - -**Note:** Version bump only for package @spectrum-web-components/banner - -# [0.8.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.7.2...@spectrum-web-components/banner@0.8.0) (2022-03-04) - -### Features - -- leverage latest Spectrum button API ([9faeade](https://github.com/adobe/spectrum-web-components/commit/9faeade93893137285ae031c9516ce37d9a9041f)) - -## [0.7.2](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.7.1...@spectrum-web-components/banner@0.7.2) (2022-02-22) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.7.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.7.0...@spectrum-web-components/banner@0.7.1) (2021-12-13) - -**Note:** Version bump only for package @spectrum-web-components/banner - -# [0.7.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.6.8...@spectrum-web-components/banner@0.7.0) (2021-11-08) - -### Features - -- update lit-\* dependencies, wip ([377f3c8](https://github.com/adobe/spectrum-web-components/commit/377f3c848b09e64fa1ecc1e18208f534fefcd9e4)) - -## [0.6.8](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.6.7...@spectrum-web-components/banner@0.6.8) (2021-11-08) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.6.7](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.6.6...@spectrum-web-components/banner@0.6.7) (2021-09-20) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.6.6](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.6.5...@spectrum-web-components/banner@0.6.6) (2021-08-24) - -### Bug Fixes - -- correct [@element](https://github.com/element) jsDoc listing across library ([c97a632](https://github.com/adobe/spectrum-web-components/commit/c97a6320c16a2b3053637e22bca0d56ce0cd5ae5)) - -## [0.6.5](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.6.4...@spectrum-web-components/banner@0.6.5) (2021-07-22) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.6.4](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.6.3...@spectrum-web-components/banner@0.6.4) (2021-06-16) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.6.3](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.6.2...@spectrum-web-components/banner@0.6.3) (2021-04-09) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.6.2](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.6.1...@spectrum-web-components/banner@0.6.2) (2021-03-22) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.6.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.6.0...@spectrum-web-components/banner@0.6.1) (2021-03-05) - -**Note:** Version bump only for package @spectrum-web-components/banner - -# [0.6.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.5.2...@spectrum-web-components/banner@0.6.0) (2021-03-04) - -### Features - -- use latest exports specification ([a7ecf4b](https://github.com/adobe/spectrum-web-components/commit/a7ecf4b6da7996f36a8a89f62cc2384709497008)) - -## [0.5.2](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.5.1...@spectrum-web-components/banner@0.5.2) (2021-02-11) - -### Bug Fixes - -- update to latest spectrum-css packages ([a5ca19f](https://github.com/adobe/spectrum-web-components/commit/a5ca19f67d5b3f0951667c4441d4d977bf1e0937)) - -## [0.5.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.4.3...@spectrum-web-components/banner@0.5.1) (2021-01-21) - -### Bug Fixes - -- include the "types" entry in package.json files ([b432f59](https://github.com/adobe/spectrum-web-components/commit/b432f5982b3b79f80af12f6d0312cbe2285e608b)) -- stop merging selectors in a way that alters the cascade ([369388f](https://github.com/adobe/spectrum-web-components/commit/369388f8cc147543891087991c569f849ddb9b38)) - -# [0.5.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.4.3...@spectrum-web-components/banner@0.5.0) (2021-01-13) - -### Bug Fixes - -- include the "types" entry in package.json files ([b432f59](https://github.com/adobe/spectrum-web-components/commit/b432f5982b3b79f80af12f6d0312cbe2285e608b)) -- stop merging selectors in a way that alters the cascade ([369388f](https://github.com/adobe/spectrum-web-components/commit/369388f8cc147543891087991c569f849ddb9b38)) - -## [0.4.3](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.4.2...@spectrum-web-components/banner@0.4.3) (2020-10-12) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.4.2](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.4.1...@spectrum-web-components/banner@0.4.2) (2020-10-12) - -### Bug Fixes - -- include default export in the "exports" fields ([f32407d](https://github.com/adobe/spectrum-web-components/commit/f32407d7bbfd18e72c35b6f27740549e79957858)) - -## [0.4.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.4.0...@spectrum-web-components/banner@0.4.1) (2020-09-25) - -### Bug Fixes - -- update side effect listings ([8160d3a](https://github.com/adobe/spectrum-web-components/commit/8160d3ab2c4f5ea11ac40897a5cf1fdaa357f4a8)) - -# [0.4.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.3.1...@spectrum-web-components/banner@0.4.0) (2020-08-31) - -### Features - -- update to Spectrum CSS v3.0.0 ([e8b3d8f](https://github.com/adobe/spectrum-web-components/commit/e8b3d8f75c77c04b4d7af126b91b0f6ad2a40742)) - -## [0.3.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.3.0...@spectrum-web-components/banner@0.3.1) (2020-08-19) - -**Note:** Version bump only for package @spectrum-web-components/banner - -# [0.3.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.2.6...@spectrum-web-components/banner@0.3.0) (2020-07-17) - -### Features - -- leverage "exports" field in package.json ([321abd7](https://github.com/adobe/spectrum-web-components/commit/321abd7b7e78ccd9157cff75a1fa3dbd06e81f79)) - -## [0.2.6](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.2.5...@spectrum-web-components/banner@0.2.6) (2020-06-08) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.2.5](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.2.4...@spectrum-web-components/banner@0.2.5) (2020-04-16) - -### Performance Improvements - -- use "sideEffects" listing in package.json ([7271614](https://github.com/adobe/spectrum-web-components/commit/7271614c0ca3ccf3566583bb59467eb15a6199cd)) - -## [0.2.4](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.2.3...@spectrum-web-components/banner@0.2.4) (2020-04-07) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.2.3](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.2.2...@spectrum-web-components/banner@0.2.3) (2020-03-11) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.2.2](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.2.1...@spectrum-web-components/banner@0.2.2) (2020-01-06) - -**Note:** Version bump only for package @spectrum-web-components/banner - -## [0.2.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.2.0...@spectrum-web-components/banner@0.2.1) (2019-11-27) - -### Bug Fixes - -- include "type" in package.json, generate custom-elements.json ([1a8d716](https://github.com/adobe/spectrum-web-components/commit/1a8d716)) - -# [0.2.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.1.4...@spectrum-web-components/banner@0.2.0) (2019-11-19) - -### Features - -- use @adobe/spectrum-css@2.15.1 ([3918888](https://github.com/adobe/spectrum-web-components/commit/3918888)) - -## [0.1.4](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/banner@0.1.3...@spectrum-web-components/banner@0.1.4) (2019-10-14) - -### Performance Improvements - -- use imported TypeScript helpers instead of inlining them ([cc2bd0a](https://github.com/adobe/spectrum-web-components/commit/cc2bd0a)) - -## 0.1.3 (2019-10-03) - -**Note:** Version bump only for package @spectrum-web-components/banner diff --git a/packages/banner/README.md b/packages/banner/README.md deleted file mode 100644 index 5b67c45b9f..0000000000 --- a/packages/banner/README.md +++ /dev/null @@ -1,77 +0,0 @@ -## Description - -An `` is an additional label an existing component may have. Banners cannot be interacted with. Banners in Spectrum have three variations for different uses as well as the ability to place it overlaid in the top-right corner of a container. - -### Usage - -[![See it on NPM!](https://img.shields.io/npm/v/@spectrum-web-components/banner?style=for-the-badge)](https://www.npmjs.com/package/@spectrum-web-components/banner) -[![How big is this package in your project?](https://img.shields.io/bundlephobia/minzip/@spectrum-web-components/banner?style=for-the-badge)](https://bundlephobia.com/result?p=@spectrum-web-components/banner) -[![Try it on webcomponents.dev](https://img.shields.io/badge/Try%20it%20on-webcomponents.dev-green?style=for-the-badge)](https://webcomponents.dev/edit/collection/fO75441E1Q5ZlI0e9pgq/qsv9Ztje6fUhANFmk8EA/src/index.ts) - -``` -yarn add @spectrum-web-components/banner -``` - -Import the side effectful registration of `` via: - -``` -import '@spectrum-web-components/banner/sp-banner.js'; -``` - -When looking to leverage the `Banner` base class as a type and/or for extension purposes, do so via: - -``` -import { Banner } from '@spectrum-web-components/banner'; -``` - -## Example - -```html - -
Header text
-
Content of the banner
-
-``` - -## Variants - -### Info banners - -Banners intended for providing information. This is the default banner variant. - -```html - -
This is an info banner
-
Description here
-
-``` - -### Error banners - -Banners intended to indicate an error as occurred, with a brief description of the issue. More severe than a warning banner. - -```html - -
This is an error banner
-
Something bad happened
-
-``` - -## Corner placement - -In addition to the variant, banners can be placed in the top-right corner of its container by giving them a corner prop. Note that the position of the containing element needs to be either relative or absolute - -```html -
- -
This banner is in a corner
-
Neat!
-
-
-``` - -## Accessibility - -A Banner does not have a default semantic role communicated to assistive technology, but it does accept id, role and other aria- props that can be added to to improve accessibility depending on context. diff --git a/packages/banner/exports.json b/packages/banner/exports.json deleted file mode 100644 index 94ec56a8d3..0000000000 --- a/packages/banner/exports.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "./src/*": "./src/*", - "./sp-banner.js": "./sp-banner.js" -} diff --git a/packages/banner/package.json b/packages/banner/package.json deleted file mode 100644 index ec178b546c..0000000000 --- a/packages/banner/package.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "name": "@spectrum-web-components/banner", - "version": "0.49.0", - "publishConfig": { - "access": "public" - }, - "description": "", - "license": "Apache-2.0", - "repository": { - "type": "git", - "url": "https://github.com/adobe/spectrum-web-components.git", - "directory": "packages/banner" - }, - "author": "", - "homepage": "https://opensource.adobe.com/spectrum-web-components/components/banner", - "bugs": { - "url": "https://github.com/adobe/spectrum-web-components/issues" - }, - "main": "./src/index.js", - "module": "./src/index.js", - "type": "module", - "exports": { - ".": { - "development": "./src/index.dev.js", - "default": "./src/index.js" - }, - "./package.json": "./package.json", - "./src/Banner.js": { - "development": "./src/Banner.dev.js", - "default": "./src/Banner.js" - }, - "./src/banner.css.js": "./src/banner.css.js", - "./src/index.js": { - "development": "./src/index.dev.js", - "default": "./src/index.js" - }, - "./sp-banner.js": { - "development": "./sp-banner.dev.js", - "default": "./sp-banner.js" - } - }, - "scripts": { - "test": "echo \"Error: run tests from mono-repo root.\" && exit 1" - }, - "files": [ - "**/*.d.ts", - "**/*.js", - "**/*.js.map", - "custom-elements.json", - "!stories/", - "!test/" - ], - "keywords": [ - "spectrum css", - "web components", - "lit-element", - "lit-html" - ], - "dependencies": { - "@spectrum-web-components/base": "^0.49.0" - }, - "devDependencies": { - "@spectrum-css/banner": "3.0.0-beta.2" - }, - "types": "./src/index.d.ts", - "customElements": "custom-elements.json", - "deprecationNotice": "@spectrum-web-components/banner is deprecated and will be removed in the SWC 1.0 release.", - "sideEffects": [ - "./sp-*.js", - "./**/*.dev.js" - ] -} diff --git a/packages/banner/src/Banner.ts b/packages/banner/src/Banner.ts deleted file mode 100644 index 5d4b61c9f9..0000000000 --- a/packages/banner/src/Banner.ts +++ /dev/null @@ -1,62 +0,0 @@ -/* -Copyright 2020 Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. -*/ - -import { - CSSResultArray, - html, - PropertyValues, - SpectrumElement, - TemplateResult, -} from '@spectrum-web-components/base'; -import { property } from '@spectrum-web-components/base/src/decorators.js'; - -import bannerStyles from './banner.css.js'; - -/** - * @element sp-banner - * - * @attr type - Determines the style, can be "info", "warning", or "error". Default is "info" - * @attr corner - Determines if banner sets position at upper right corner or not. - * - * @slot header - Primary message of the banner. - * @slot content - Secondary message of the banner. Used to provide a description. - */ -export class Banner extends SpectrumElement { - @property({ reflect: true, type: String }) - public type: 'info' | 'warning' | 'error' = 'info'; - - @property({ reflect: true, type: Boolean }) - public corner = false; - - public static override get styles(): CSSResultArray { - return [bannerStyles]; - } - - protected override update(changes: PropertyValues): void { - super.update(changes); - if (window.__swc.DEBUG) { - window.__swc.warn( - this, - `<${this.localName}> is deprecated and will be removed in the SWC 1.0 release..`, - 'https://opensource.adobe.com/spectrum-web-components/components/banner/#deprecation', - { level: 'deprecation' } - ); - } - } - - protected override render(): TemplateResult { - return html` - -
- `; - } -} diff --git a/packages/banner/src/index.ts b/packages/banner/src/index.ts deleted file mode 100755 index 13f852a781..0000000000 --- a/packages/banner/src/index.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* -Copyright 2020 Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. -*/ -export * from './Banner.js'; diff --git a/packages/banner/src/spectrum-banner.css b/packages/banner/src/spectrum-banner.css deleted file mode 100644 index 564c9cebd5..0000000000 --- a/packages/banner/src/spectrum-banner.css +++ /dev/null @@ -1,89 +0,0 @@ -/* -Copyright 2023 Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. -*/ - -/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ -:host { - border-radius: var( - --spectrum-banner-border-radius, - var(--spectrum-global-dimension-static-size-100) - ); - padding-top: var( - --spectrum-banner-padding-y, - var(--spectrum-global-dimension-static-size-50) - ); - padding-bottom: var( - --spectrum-banner-padding-y, - var(--spectrum-global-dimension-static-size-50) - ); - padding-left: var( - --spectrum-banner-padding-x, - var(--spectrum-global-dimension-static-size-100) - ); - padding-right: var( - --spectrum-banner-padding-x, - var(--spectrum-global-dimension-static-size-100) - ); - font-size: var( - --spectrum-banner-text-size, - var(--spectrum-global-dimension-font-size-75) - ); - line-height: var( - --spectrum-banner-text-line-height, - var(--spectrum-alias-heading-text-line-height) - ); - display: inline-block; -} - -#header { - font-weight: bold; -} - -:host([dir='ltr'][corner]) { - right: -10px; -} - -:host([dir='rtl'][corner]) { - left: -10px; -} - -:host([corner]) { - position: absolute; - top: -10px; -} - -:host { - color: var( - --spectrum-banner-text-color, - var(--spectrum-global-color-static-white) - ); -} - -:host([type='info']) { - background-color: var( - --spectrum-banner-info-background-color, - var(--spectrum-semantic-informative-color-default) - ); -} - -:host([type='warning']) { - background-color: var( - --spectrum-banner-warning-background-color, - var(--spectrum-semantic-notice-color-default) - ); -} - -:host([type='error']) { - background-color: var( - --spectrum-banner-error-background-color, - var(--spectrum-semantic-negative-color-default) - ); -} diff --git a/packages/banner/src/spectrum-config.js b/packages/banner/src/spectrum-config.js deleted file mode 100644 index 00657d1c5e..0000000000 --- a/packages/banner/src/spectrum-config.js +++ /dev/null @@ -1,45 +0,0 @@ -// @ts-check -/* -Copyright 2023 Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the 'License'); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. -*/ - -import { converterFor } from '../../../tasks/process-spectrum-utils.js'; - -const converter = converterFor('spectrum-Banner'); - -/** - * @type { import('../../../tasks/spectrum-css-converter').SpectrumCSSConverter } - */ -const config = { - conversions: [ - { - inPackage: '@spectrum-css/banner', - outPackage: 'banner', - fileName: 'banner', - components: [ - converter.classToHost(), - converter.classToAttribute('spectrum-Banner--corner'), - ...converter.enumerateAttributes( - [ - ['spectrum-Banner--error'], - ['spectrum-Banner--info'], - ['spectrum-Banner--warning'], - ], - 'type' - ), - converter.classToId('spectrum-Banner-header'), - converter.classToId('spectrum-Banner-content'), - ], - }, - ], -}; - -export default config; diff --git a/packages/banner/stories/banner.stories.ts b/packages/banner/stories/banner.stories.ts deleted file mode 100644 index 0597208f95..0000000000 --- a/packages/banner/stories/banner.stories.ts +++ /dev/null @@ -1,148 +0,0 @@ -/* -Copyright 2020 Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. -*/ -import { spreadProps } from '../../../test/lit-helpers.js'; -import { html, TemplateResult } from '@spectrum-web-components/base'; - -import '@spectrum-web-components/banner/sp-banner.js'; - -export default { - component: 'sp-banner', - title: 'Banner', - argTypes: { - header: { - name: 'header', - description: 'Primary message of the banner.', - type: { name: 'string', required: false }, - table: { - type: { summary: 'string' }, - defaultValue: { summary: '' }, - }, - control: 'text', - }, - content: { - name: 'content', - description: - 'Secondary message of the banner. Used to provide a description.', - type: { name: 'string', required: false }, - table: { - type: { summary: 'string' }, - defaultValue: { summary: '' }, - }, - control: 'text', - }, - type: { - name: 'type', - description: 'Determines the style of the banner.', - table: { - type: { summary: 'string' }, - defaultValue: { summary: 'info' }, - }, - control: { - type: 'inline-radio', - options: ['info', 'warning', 'error'], - }, - }, - inCorner: { - name: 'inCorner', - type: { name: 'boolean', required: false }, - description: - 'Determines if banner sets position at upper right corner or not.', - table: { - type: { summary: 'boolean' }, - defaultValue: { summary: false }, - }, - control: { - type: 'boolean', - }, - }, - }, - args: { - header: 'Header Text', - content: 'Content of the banner!', - inCorner: false, - type: 'info', - }, - parameters: { - badges: ['deprecated'], - }, -}; - -interface StoryArgs { - header?: string; - content?: string; - type?: 'info' | 'warning' | 'error'; - inCorner?: boolean; - [prop: string]: unknown; -} - -const Template = ({ - header = 'Header text', - content = 'Content of the banner!', - type = 'info', - inCorner, -}: StoryArgs = {}): TemplateResult => { - return html` -
-
- -
${header}
-
${content}
-
-
-
- `; -}; - -export const Default = (args: StoryArgs): TemplateResult => Template(args); - -export const bannerTypes = (): TemplateResult => { - return html` - -
Header Text
-
Content of the banner!
-
- -
Header Text
-
Content of the banner!
-
- -
Header Text
-
Content of the banner!
-
- `; -}; - -bannerTypes.storyName = 'Banner Types'; - -export const cornerPlacement = (args: StoryArgs): TemplateResult => { - return html` -
-
- -
${args.header}
-
${args.content}
-
-
-
- `; -}; -cornerPlacement.args = { - inCorner: true, - header: 'A corner banner!', - content: 'Content of the banner!', -}; - -cornerPlacement.storyName = 'Corner Placement'; diff --git a/packages/banner/test/banner-memory.test.ts b/packages/banner/test/banner-memory.test.ts deleted file mode 100644 index 1ce1c57290..0000000000 --- a/packages/banner/test/banner-memory.test.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* -Copyright 2023 Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. -*/ - -import { Default } from '../stories/banner.stories.js'; -import { testForMemoryLeaks } from '../../../test/testing-helpers.js'; - -testForMemoryLeaks(Default({})); diff --git a/packages/banner/test/banner.test.ts b/packages/banner/test/banner.test.ts deleted file mode 100644 index 61e814f27a..0000000000 --- a/packages/banner/test/banner.test.ts +++ /dev/null @@ -1,95 +0,0 @@ -/* -Copyright 2020 Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. -*/ -import '@spectrum-web-components/banner/sp-banner.js'; -import { Banner } from '@spectrum-web-components/banner'; -import { expect, fixture, html } from '@open-wc/testing'; - -describe('banner', () => { - let testDiv!: HTMLDivElement; - - beforeEach(async () => { - testDiv = await fixture( - html` -
- -
Info Text
-
Info Content
-
- -
Warning Text
-
Warning Content
-
- -
Error Text
-
Error Content
-
- -
Header Text
-
Content
-
- -
Corner Text
-
Corner Content
-
-
- ` - ); - }); - - it('loads accessibly', async () => { - await expect(testDiv).to.be.accessible(); - }); - - it('loads info', () => { - const el = testDiv.querySelector('sp-banner[type=info]') as Banner; - - expect(el).to.not.equal(undefined); - expect(el.type).to.equal('info'); - expect(el.corner).to.be.false; - expect(el.textContent).to.include('Info Text'); - expect(el.textContent).to.include('Info Content'); - }); - it('loads warning', () => { - const el = testDiv.querySelector('sp-banner[type=warning]') as Banner; - - expect(el).to.not.equal(undefined); - expect(el.type).to.equal('warning'); - expect(el.corner).to.be.false; - expect(el.textContent).to.include('Warning Text'); - expect(el.textContent).to.include('Warning Content'); - }); - it('loads error', () => { - const el = testDiv.querySelector('sp-banner[type=error]') as Banner; - - expect(el).to.not.equal(undefined); - expect(el.type).to.equal('error'); - expect(el.corner).to.be.false; - expect(el.textContent).to.include('Error Text'); - expect(el.textContent).to.include('Error Content'); - }); - it('loads corner', () => { - const el = testDiv.querySelector('sp-banner[corner]') as Banner; - - expect(el).to.not.equal(undefined); - expect(el.corner).to.be.true; - expect(el.textContent).to.include('Corner Text'); - expect(el.textContent).to.include('Corner Content'); - }); - it('defaults type to info when none provided', () => { - const el = testDiv.querySelector('sp-banner#default-info') as Banner; - - expect(el).to.not.equal(undefined); - expect(el.type).to.equal('info'); - expect(el.corner).to.be.false; - expect(el.textContent).to.include('Header Text'); - expect(el.textContent).to.include('Content'); - }); -}); diff --git a/packages/banner/test/benchmark/test-basic.ts b/packages/banner/test/benchmark/test-basic.ts deleted file mode 100644 index c32b3ee1f8..0000000000 --- a/packages/banner/test/benchmark/test-basic.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* -Copyright 2020 Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. -*/ - -import '@spectrum-web-components/banner/sp-banner.js'; -import { html } from 'lit'; -import { measureFixtureCreation } from '../../../../test/benchmark/helpers.js'; - -measureFixtureCreation(html` - -
Info Text
-
Info Content
-
-`); diff --git a/packages/banner/tsconfig.json b/packages/banner/tsconfig.json deleted file mode 100644 index b10d59338e..0000000000 --- a/packages/banner/tsconfig.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "./" - }, - "include": ["*.ts", "src/*.ts"], - "exclude": ["test/*.ts", "stories/*.ts"] -} diff --git a/packages/breadcrumbs/package.json b/packages/breadcrumbs/package.json index 07eb05f481..552d908b17 100644 --- a/packages/breadcrumbs/package.json +++ b/packages/breadcrumbs/package.json @@ -34,6 +34,7 @@ "default": "./src/Breadcrumbs.js" }, "./src/breadcrumb-item.css.js": "./src/breadcrumb-item.css.js", + "./src/breadcrumbs-overrides.css.js": "./src/breadcrumbs-overrides.css.js", "./src/breadcrumbs.css.js": "./src/breadcrumbs.css.js", "./src/index.js": { "development": "./src/index.dev.js", @@ -73,7 +74,7 @@ "@spectrum-web-components/menu": "^0.49.0" }, "devDependencies": { - "@spectrum-css/breadcrumb": "^9.1.3" + "@spectrum-css/breadcrumb": "^10.0.0-s2-foundations.15" }, "types": "./src/index.d.ts", "customElements": "custom-elements.json", diff --git a/packages/breadcrumbs/src/BreadcrumbItem.ts b/packages/breadcrumbs/src/BreadcrumbItem.ts index 1850931135..c0c2f19162 100644 --- a/packages/breadcrumbs/src/BreadcrumbItem.ts +++ b/packages/breadcrumbs/src/BreadcrumbItem.ts @@ -22,6 +22,7 @@ import { Focusable } from '@spectrum-web-components/shared/src/focusable.js'; import { LikeAnchor } from '@spectrum-web-components/shared/src/like-anchor.js'; import chevronStyles from '@spectrum-web-components/icon/src/spectrum-icon-chevron.css.js'; import '@spectrum-web-components/icons-ui/icons/sp-icon-chevron100.js'; +import chevronIconOverrides from '@spectrum-web-components/icon/src/icon-chevron-overrides.css.js'; import styles from './breadcrumb-item.css.js'; @@ -31,7 +32,7 @@ export interface BreadcrumbSelectDetail { export class BreadcrumbItem extends LikeAnchor(Focusable) { public static override get styles(): CSSResultArray { - return [styles, chevronStyles]; + return [styles, chevronStyles, chevronIconOverrides]; } @property() diff --git a/packages/breadcrumbs/src/breadcrumbs-overrides.css b/packages/breadcrumbs/src/breadcrumbs-overrides.css new file mode 100644 index 0000000000..f395509fe0 --- /dev/null +++ b/packages/breadcrumbs/src/breadcrumbs-overrides.css @@ -0,0 +1,161 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host { + --spectrum-breadcrumbs-block-size: var(--system-breadcrumbs-block-size); + --spectrum-breadcrumbs-block-size-compact: var( + --system-breadcrumbs-block-size-compact + ); + --spectrum-breadcrumbs-block-size-multiline: var( + --system-breadcrumbs-block-size-multiline + ); + --spectrum-breadcrumbs-line-height: var(--system-breadcrumbs-line-height); + --spectrum-breadcrumbs-font-size: var(--system-breadcrumbs-font-size); + --spectrum-breadcrumbs-font-family: var(--system-breadcrumbs-font-family); + --spectrum-breadcrumbs-font-weight: var(--system-breadcrumbs-font-weight); + --spectrum-breadcrumbs-font-size-current: var( + --system-breadcrumbs-font-size-current + ); + --spectrum-breadcrumbs-font-family-current: var( + --system-breadcrumbs-font-family-current + ); + --spectrum-breadcrumbs-font-weight-current: var( + --system-breadcrumbs-font-weight-current + ); + --spectrum-breadcrumbs-font-size-compact: var( + --system-breadcrumbs-font-size-compact + ); + --spectrum-breadcrumbs-font-family-compact: var( + --system-breadcrumbs-font-family-compact + ); + --spectrum-breadcrumbs-font-weight-compact: var( + --system-breadcrumbs-font-weight-compact + ); + --spectrum-breadcrumbs-font-size-compact-current: var( + --system-breadcrumbs-font-size-compact-current + ); + --spectrum-breadcrumbs-font-family-compact-current: var( + --system-breadcrumbs-font-family-compact-current + ); + --spectrum-breadcrumbs-font-weight-compact-current: var( + --system-breadcrumbs-font-weight-compact-current + ); + --spectrum-breadcrumbs-font-size-multiline: var( + --system-breadcrumbs-font-size-multiline + ); + --spectrum-breadcrumbs-font-family-multiline: var( + --system-breadcrumbs-font-family-multiline + ); + --spectrum-breadcrumbs-font-weight-multiline: var( + --system-breadcrumbs-font-weight-multiline + ); + --spectrum-breadcrumbs-font-size-multiline-current: var( + --system-breadcrumbs-font-size-multiline-current + ); + --spectrum-breadcrumbs-font-family-multiline-current: var( + --system-breadcrumbs-font-family-multiline-current + ); + --spectrum-breadcrumbs-font-weight-multiline-current: var( + --system-breadcrumbs-font-weight-multiline-current + ); + --spectrum-breadcrumbs-text-decoration-thickness: var( + --system-breadcrumbs-text-decoration-thickness + ); + --spectrum-breadcrumbs-text-decoration-gap: var( + --system-breadcrumbs-text-decoration-gap + ); + --spectrum-breadcrumbs-separator-spacing-inline: var( + --system-breadcrumbs-separator-spacing-inline + ); + --spectrum-breadcrumbs-text-spacing-block-start: var( + --system-breadcrumbs-text-spacing-block-start + ); + --spectrum-breadcrumbs-text-spacing-block-end: var( + --system-breadcrumbs-text-spacing-block-end + ); + --spectrum-breadcrumbs-icon-spacing-block: var( + --system-breadcrumbs-icon-spacing-block + ); + --spectrum-breadcrumbs-text-spacing-block-start-compact: var( + --system-breadcrumbs-text-spacing-block-start-compact + ); + --spectrum-breadcrumbs-text-spacing-block-end-compact: var( + --system-breadcrumbs-text-spacing-block-end-compact + ); + --spectrum-breadcrumbs-icon-spacing-block-compact: var( + --system-breadcrumbs-icon-spacing-block-compact + ); + --spectrum-breadcrumbs-text-spacing-block-start-multiline: var( + --system-breadcrumbs-text-spacing-block-start-multiline + ); + --spectrum-breadcrumbs-text-spacing-block-end-multiline: var( + --system-breadcrumbs-text-spacing-block-end-multiline + ); + --spectrum-breadcrumbs-text-spacing-block-between-multiline: var( + --system-breadcrumbs-text-spacing-block-between-multiline + ); + --spectrum-breadcrumbs-icon-spacing-block-start-multiline: var( + --system-breadcrumbs-icon-spacing-block-start-multiline + ); + --spectrum-breadcrumbs-icon-spacing-block-between-multiline: var( + --system-breadcrumbs-icon-spacing-block-between-multiline + ); + --spectrum-breadcrumbs-inline-start: var(--system-breadcrumbs-inline-start); + --spectrum-breadcrumbs-inline-end: var(--system-breadcrumbs-inline-end); + --spectrum-breadcrumbs-action-button-spacing-inline: var( + --system-breadcrumbs-action-button-spacing-inline + ); + --spectrum-breadcrumbs-action-button-spacing-block: var( + --system-breadcrumbs-action-button-spacing-block + ); + --spectrum-breadcrumbs-action-button-spacing-block-compact: var( + --system-breadcrumbs-action-button-spacing-block-compact + ); + --spectrum-breadcrumbs-action-button-spacing-inline-start: var( + --system-breadcrumbs-action-button-spacing-inline-start + ); + --spectrum-breadcrumbs-action-button-spacing-block-multiline: var( + --system-breadcrumbs-action-button-spacing-block-multiline + ); + --spectrum-breadcrumbs-action-button-spacing-block-between-multiline: var( + --system-breadcrumbs-action-button-spacing-block-between-multiline + ); + --spectrum-breadcrumbs-focus-indicator-thickness: var( + --system-breadcrumbs-focus-indicator-thickness + ); + --spectrum-breadcrumbs-focus-indicator-gap: var( + --system-breadcrumbs-focus-indicator-gap + ); + --spectrum-breadcrumbs-item-link-border-radius: var( + --system-breadcrumbs-item-link-border-radius + ); + --spectrum-breadcrumbs-text-color: var(--system-breadcrumbs-text-color); + --spectrum-breadcrumbs-text-color-current: var( + --system-breadcrumbs-text-color-current + ); + --spectrum-breadcrumbs-text-color-disabled: var( + --system-breadcrumbs-text-color-disabled + ); + --spectrum-breadcrumbs-separator-color: var( + --system-breadcrumbs-separator-color + ); + --spectrum-breadcrumbs-action-button-color: var( + --system-breadcrumbs-action-button-color + ); + --spectrum-breadcrumbs-action-button-color-disabled: var( + --system-breadcrumbs-action-button-color-disabled + ); + --spectrum-breadcrumbs-focus-indicator-color: var( + --system-breadcrumbs-focus-indicator-color + ); +} diff --git a/packages/breadcrumbs/src/breadcrumbs.css b/packages/breadcrumbs/src/breadcrumbs.css index c02364b65a..15c7acd07e 100644 --- a/packages/breadcrumbs/src/breadcrumbs.css +++ b/packages/breadcrumbs/src/breadcrumbs.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-breadcrumbs.css'); +@import url('./breadcrumbs-overrides.css'); :host { display: block; diff --git a/packages/breadcrumbs/src/spectrum-breadcrumbs.css b/packages/breadcrumbs/src/spectrum-breadcrumbs.css index 1ee9d10200..1156522da0 100644 --- a/packages/breadcrumbs/src/spectrum-breadcrumbs.css +++ b/packages/breadcrumbs/src/spectrum-breadcrumbs.css @@ -11,155 +11,6 @@ governing permissions and limitations under the License. */ /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ -:host { - --spectrum-breadcrumbs-block-size: var(--spectrum-breadcrumbs-height); - --spectrum-breadcrumbs-block-size-compact: var( - --spectrum-breadcrumbs-height-compact - ); - --spectrum-breadcrumbs-block-size-multiline: var( - --spectrum-breadcrumbs-height-multiline - ); - --spectrum-breadcrumbs-line-height: var(--spectrum-line-height-100); - --spectrum-breadcrumbs-font-size: var(--spectrum-font-size-200); - --spectrum-breadcrumbs-font-family: var(--spectrum-sans-font-family-stack); - --spectrum-breadcrumbs-font-weight: var(--spectrum-regular-font-weight); - --spectrum-breadcrumbs-font-size-current: var(--spectrum-font-size-200); - --spectrum-breadcrumbs-font-family-current: var( - --spectrum-sans-font-family-stack - ); - --spectrum-breadcrumbs-font-weight-current: var( - --spectrum-bold-font-weight - ); - --spectrum-breadcrumbs-font-size-compact: var(--spectrum-font-size-100); - --spectrum-breadcrumbs-font-family-compact: var( - --spectrum-sans-font-family-stack - ); - --spectrum-breadcrumbs-font-weight-compact: var( - --spectrum-regular-font-weight - ); - --spectrum-breadcrumbs-font-size-compact-current: var( - --spectrum-font-size-100 - ); - --spectrum-breadcrumbs-font-family-compact-current: var( - --spectrum-sans-font-family-stack - ); - --spectrum-breadcrumbs-font-weight-compact-current: var( - --spectrum-bold-font-weight - ); - --spectrum-breadcrumbs-font-size-multiline: var(--spectrum-font-size-75); - --spectrum-breadcrumbs-font-family-multiline: var( - --spectrum-sans-font-family-stack - ); - --spectrum-breadcrumbs-font-weight-multiline: var( - --spectrum-regular-font-weight - ); - --spectrum-breadcrumbs-font-size-multiline-current: var( - --spectrum-font-size-300 - ); - --spectrum-breadcrumbs-font-family-multiline-current: var( - --spectrum-sans-font-family-stack - ); - --spectrum-breadcrumbs-font-weight-multiline-current: var( - --spectrum-bold-font-weight - ); - --spectrum-breadcrumbs-text-decoration-thickness: var( - --spectrum-text-underline-thickness - ); - --spectrum-breadcrumbs-text-decoration-gap: var( - --spectrum-text-underline-gap - ); - --spectrum-breadcrumbs-separator-spacing-inline: var( - --spectrum-text-to-visual-100 - ); - --spectrum-breadcrumbs-text-spacing-block-start: var( - --spectrum-breadcrumbs-top-to-text - ); - --spectrum-breadcrumbs-text-spacing-block-end: var( - --spectrum-breadcrumbs-bottom-to-text - ); - --spectrum-breadcrumbs-icon-spacing-block: var( - --spectrum-breadcrumbs-top-to-separator-icon - ); - --spectrum-breadcrumbs-text-spacing-block-start-compact: var( - --spectrum-breadcrumbs-top-to-text-compact - ); - --spectrum-breadcrumbs-text-spacing-block-end-compact: var( - --spectrum-breadcrumbs-bottom-to-text-compact - ); - --spectrum-breadcrumbs-icon-spacing-block-compact: var( - --spectrum-breadcrumbs-top-to-separator-icon-compact - ); - --spectrum-breadcrumbs-text-spacing-block-start-multiline: var( - --spectrum-breadcrumbs-top-to-text-multiline - ); - --spectrum-breadcrumbs-text-spacing-block-end-multiline: var( - --spectrum-breadcrumbs-bottom-to-text-multiline - ); - --spectrum-breadcrumbs-text-spacing-block-between-multiline: var( - --spectrum-breadcrumbs-top-text-to-bottom-text - ); - --spectrum-breadcrumbs-icon-spacing-block-start-multiline: var( - --spectrum-breadcrumbs-top-to-separator-icon-multiline - ); - --spectrum-breadcrumbs-icon-spacing-block-between-multiline: var( - --spectrum-breadcrumbs-separator-icon-to-bottom-text-multiline - ); - --spectrum-breadcrumbs-inline-start: var( - --spectrum-breadcrumbs-start-edge-to-text - ); - --spectrum-breadcrumbs-inline-end: var( - --spectrum-breadcrumbs-end-edge-to-text - ); - --spectrum-breadcrumbs-action-button-spacing-inline: var( - --spectrum-breadcrumbs-truncated-menu-to-separator-icon - ); - --spectrum-breadcrumbs-action-button-spacing-block: var( - --spectrum-breadcrumbs-top-to-truncated-menu - ); - --spectrum-breadcrumbs-action-button-spacing-block-compact: var( - --spectrum-breadcrumbs-top-to-truncated-menu-compact - ); - --spectrum-breadcrumbs-action-button-spacing-inline-start: var( - --spectrum-breadcrumbs-start-edge-to-truncated-menu - ); - --spectrum-breadcrumbs-action-button-spacing-block-multiline: var( - --spectrum-breadcrumbs-top-to-truncated-menu-compact - ); - --spectrum-breadcrumbs-action-button-spacing-block-between-multiline: var( - --spectrum-breadcrumbs-truncated-menu-to-bottom-text - ); - --spectrum-breadcrumbs-focus-indicator-thickness: var( - --spectrum-focus-indicator-thickness - ); - --spectrum-breadcrumbs-focus-indicator-gap: var( - --spectrum-focus-indicator-gap - ); - --spectrum-breadcrumbs-item-link-border-radius: var( - --spectrum-corner-radius-100 - ); - --spectrum-breadcrumbs-text-color: var( - --spectrum-neutral-subdued-content-color-default - ); - --spectrum-breadcrumbs-text-color-current: var( - --spectrum-neutral-content-color-default - ); - --spectrum-breadcrumbs-text-color-disabled: var( - --spectrum-disabled-content-color - ); - --spectrum-breadcrumbs-separator-color: var( - --spectrum-neutral-content-color-default - ); - --spectrum-breadcrumbs-action-button-color: var( - --spectrum-neutral-subdued-content-color-default - ); - --spectrum-breadcrumbs-action-button-color-disabled: var( - --spectrum-disabled-content-color - ); - --spectrum-breadcrumbs-focus-indicator-color: var( - --spectrum-focus-indicator-color - ); -} - @media (forced-colors: active) { :host { --highcontrast-breadcrumbs-text-color: LinkText; diff --git a/packages/button-group/package.json b/packages/button-group/package.json index b7429c8e64..8b655299cd 100644 --- a/packages/button-group/package.json +++ b/packages/button-group/package.json @@ -29,6 +29,7 @@ "development": "./src/ButtonGroup.dev.js", "default": "./src/ButtonGroup.js" }, + "./src/button-group-overrides.css.js": "./src/button-group-overrides.css.js", "./src/button-group.css.js": "./src/button-group.css.js", "./src/index.js": { "development": "./src/index.dev.js", @@ -61,7 +62,7 @@ "@spectrum-web-components/button": "^0.49.0" }, "devDependencies": { - "@spectrum-css/buttongroup": "^7.1.1" + "@spectrum-css/buttongroup": "^8.0.0-s2-foundations.15" }, "types": "./src/index.d.ts", "customElements": "custom-elements.json", diff --git a/packages/button-group/src/button-group-overrides.css b/packages/button-group/src/button-group-overrides.css new file mode 100644 index 0000000000..2ad1ce7f91 --- /dev/null +++ b/packages/button-group/src/button-group-overrides.css @@ -0,0 +1,57 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host { + --spectrum-buttongroup-spacing-horizontal: var( + --system-button-group-spacing-horizontal + ); + --spectrum-buttongroup-spacing-vertical: var( + --system-button-group-spacing-vertical + ); +} + +:host([size='s']) { + --spectrum-buttongroup-spacing-horizontal: var( + --system-button-group-size-s-spacing-horizontal + ); + --spectrum-buttongroup-spacing-vertical: var( + --system-button-group-size-s-spacing-vertical + ); +} + +:host { + --spectrum-buttongroup-spacing-horizontal: var( + --system-button-group-size-m-spacing-horizontal + ); + --spectrum-buttongroup-spacing-vertical: var( + --system-button-group-size-m-spacing-vertical + ); +} + +:host([size='l']) { + --spectrum-buttongroup-spacing-horizontal: var( + --system-button-group-size-l-spacing-horizontal + ); + --spectrum-buttongroup-spacing-vertical: var( + --system-button-group-size-l-spacing-vertical + ); +} + +:host([size='xl']) { + --spectrum-buttongroup-spacing-horizontal: var( + --system-button-group-size-xl-spacing-horizontal + ); + --spectrum-buttongroup-spacing-vertical: var( + --system-button-group-size-xl-spacing-vertical + ); +} diff --git a/packages/button-group/src/button-group.css b/packages/button-group/src/button-group.css index 3198ca5f24..6a01c00de4 100644 --- a/packages/button-group/src/button-group.css +++ b/packages/button-group/src/button-group.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-button-group.css'); +@import url('./button-group-overrides.css'); :host([vertical]) ::slotted(sp-action-button) { --spectrum-actionbutton-label-flex-grow: 1; diff --git a/packages/button-group/src/spectrum-button-group.css b/packages/button-group/src/spectrum-button-group.css index 260ecd0f05..af5598e9f1 100644 --- a/packages/button-group/src/spectrum-button-group.css +++ b/packages/button-group/src/spectrum-button-group.css @@ -11,28 +11,12 @@ governing permissions and limitations under the License. */ /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ -:host { - --spectrum-buttongroup-spacing-horizontal: var(--spectrum-spacing-300); - --spectrum-buttongroup-spacing-vertical: var(--spectrum-spacing-300); -} - -:host([size='s']) { - --spectrum-buttongroup-spacing-horizontal: var(--spectrum-spacing-200); - --spectrum-buttongroup-spacing-vertical: var(--spectrum-spacing-200); -} - -:host([size='l']), -:host, -:host([size='xl']) { - --spectrum-buttongroup-spacing-horizontal: var(--spectrum-spacing-300); - --spectrum-buttongroup-spacing-vertical: var(--spectrum-spacing-300); -} - :host { gap: var( --mod-buttongroup-spacing-horizontal, var(--spectrum-buttongroup-spacing-horizontal) ); + justify-content: normal; justify-content: var(--mod-buttongroup-justify-content, normal); flex-wrap: wrap; display: flex; diff --git a/packages/button/package.json b/packages/button/package.json index 16a40c92c5..1eccf66712 100644 --- a/packages/button/package.json +++ b/packages/button/package.json @@ -46,6 +46,7 @@ "default": "./src/StyledButton.js" }, "./src/button-base.css.js": "./src/button-base.css.js", + "./src/button-overrides.css.js": "./src/button-overrides.css.js", "./src/button.css.js": "./src/button.css.js", "./src/index.js": { "development": "./src/index.dev.js", @@ -91,7 +92,7 @@ "@spectrum-web-components/shared": "^0.49.0" }, "devDependencies": { - "@spectrum-css/button": "^13.3.0" + "@spectrum-css/button": "^14.0.0-s2-foundations.18" }, "types": "./src/index.d.ts", "customElements": "custom-elements.json", diff --git a/packages/button/src/Button.ts b/packages/button/src/Button.ts index b66ed7178a..64766e19ef 100644 --- a/packages/button/src/Button.ts +++ b/packages/button/src/Button.ts @@ -152,12 +152,6 @@ export class Button extends SizedMixin(ButtonBase, { noDefaultSize: true }) { } private _variant: ButtonVariants = 'accent'; - /** - * @deprecated Use `staticColor` instead. - */ - @property({ type: String, reflect: true }) - public static?: 'black' | 'white'; - /** * The static color variant to use for this button. */ @@ -204,24 +198,6 @@ export class Button extends SizedMixin(ButtonBase, { noDefaultSize: true }) { } } - protected override updated(changed: PropertyValues): void { - super.updated(changed); - - if (changed.has('static')) { - if (this.static) { - this.staticColor = this.static; - if (window.__swc.DEBUG) { - window.__swc.warn( - this, - `The "static" attribute/property on <${this.localName}> has been deprecated. Use "static-color" instead. "static" will be removed in a future release.`, - 'https://opensource.adobe.com/spectrum-web-components/components/button/api', - { level: 'deprecation' } - ); - } - } - } - } - protected override renderButton(): TemplateResult { return html` ${this.buttonContent} diff --git a/packages/button/src/ClearButton.ts b/packages/button/src/ClearButton.ts index 50271e7fef..34da4ad5f7 100644 --- a/packages/button/src/ClearButton.ts +++ b/packages/button/src/ClearButton.ts @@ -24,6 +24,7 @@ import '@spectrum-web-components/icons-ui/icons/sp-icon-cross100.js'; import '@spectrum-web-components/icons-ui/icons/sp-icon-cross200.js'; import '@spectrum-web-components/icons-ui/icons/sp-icon-cross300.js'; import crossMediumStyles from '@spectrum-web-components/icon/src/spectrum-icon-cross.css.js'; +import crossMediumOverrides from '@spectrum-web-components/icon/src/icon-cross-overrides.css.js'; const crossIcon: Record TemplateResult> = { s: () => html` @@ -62,7 +63,12 @@ export class ClearButton extends SizedMixin(StyledButton, { noDefaultSize: true, }) { public static override get styles(): CSSResultArray { - return [...super.styles, buttonStyles, crossMediumStyles]; + return [ + ...super.styles, + buttonStyles, + crossMediumStyles, + crossMediumOverrides, + ]; } /** diff --git a/packages/button/src/CloseButton.ts b/packages/button/src/CloseButton.ts index c69298d4f3..fa6377e335 100644 --- a/packages/button/src/CloseButton.ts +++ b/packages/button/src/CloseButton.ts @@ -24,6 +24,7 @@ import '@spectrum-web-components/icons-ui/icons/sp-icon-cross300.js'; import '@spectrum-web-components/icons-ui/icons/sp-icon-cross400.js'; import '@spectrum-web-components/icons-ui/icons/sp-icon-cross500.js'; import crossMediumStyles from '@spectrum-web-components/icon/src/spectrum-icon-cross.css.js'; +import crossMediumOverrides from '@spectrum-web-components/icon/src/icon-cross-overrides.css.js'; import type { ButtonStaticColors } from './Button.js'; const crossIcon: Record TemplateResult> = { @@ -63,7 +64,12 @@ export class CloseButton extends SizedMixin(StyledButton, { noDefaultSize: true, }) { public static override get styles(): CSSResultArray { - return [...super.styles, buttonStyles, crossMediumStyles]; + return [ + ...super.styles, + buttonStyles, + crossMediumStyles, + crossMediumOverrides, + ]; } /** diff --git a/packages/button/src/button-overrides.css b/packages/button/src/button-overrides.css new file mode 100644 index 0000000000..d6ae5b239f --- /dev/null +++ b/packages/button/src/button-overrides.css @@ -0,0 +1,1128 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host { + --spectrum-button-animation-duration: var( + --system-button-animation-duration + ); + --spectrum-button-border-radius: var(--system-button-border-radius); + --spectrum-button-border-width: var(--system-button-border-width); + --spectrum-button-line-height: var(--system-button-line-height); + --spectrum-button-focus-ring-gap: var(--system-button-focus-ring-gap); + --spectrum-button-focus-ring-thickness: var( + --system-button-focus-ring-thickness + ); + --spectrum-button-focus-indicator-color: var( + --system-button-focus-indicator-color + ); + --spectrum-button-intended-icon-size: var( + --system-button-intended-icon-size + ); + --spectrum-button-background-color-default: var( + --system-button-background-color-default + ); + --spectrum-button-background-color-hover: var( + --system-button-background-color-hover + ); + --spectrum-button-background-color-down: var( + --system-button-background-color-down + ); + --spectrum-button-background-color-focus: var( + --system-button-background-color-focus + ); + --spectrum-button-border-color-default: var( + --system-button-border-color-default + ); + --spectrum-button-border-color-hover: var( + --system-button-border-color-hover + ); + --spectrum-button-border-color-down: var(--system-button-border-color-down); + --spectrum-button-border-color-focus: var( + --system-button-border-color-focus + ); + --spectrum-button-content-color-default: var( + --system-button-content-color-default + ); + --spectrum-button-content-color-hover: var( + --system-button-content-color-hover + ); + --spectrum-button-content-color-down: var( + --system-button-content-color-down + ); + --spectrum-button-content-color-focus: var( + --system-button-content-color-focus + ); + --spectrum-button-background-color-disabled: var( + --system-button-background-color-disabled + ); + --spectrum-button-border-color-disabled: var( + --system-button-border-color-disabled + ); + --spectrum-button-content-color-disabled: var( + --system-button-content-color-disabled + ); +} + +:host([variant='accent']) { + --spectrum-button-background-color-default: var( + --system-button-accent-background-color-default + ); + --spectrum-button-background-color-hover: var( + --system-button-accent-background-color-hover + ); + --spectrum-button-background-color-down: var( + --system-button-accent-background-color-down + ); + --spectrum-button-background-color-focus: var( + --system-button-accent-background-color-focus + ); + --spectrum-button-border-color-default: var( + --system-button-accent-border-color-default + ); + --spectrum-button-border-color-hover: var( + --system-button-accent-border-color-hover + ); + --spectrum-button-border-color-down: var( + --system-button-accent-border-color-down + ); + --spectrum-button-border-color-focus: var( + --system-button-accent-border-color-focus + ); + --spectrum-button-content-color-default: var( + --system-button-accent-content-color-default + ); + --spectrum-button-content-color-hover: var( + --system-button-accent-content-color-hover + ); + --spectrum-button-content-color-down: var( + --system-button-accent-content-color-down + ); + --spectrum-button-content-color-focus: var( + --system-button-accent-content-color-focus + ); + --spectrum-button-background-color-disabled: var( + --system-button-accent-background-color-disabled + ); + --spectrum-button-border-color-disabled: var( + --system-button-accent-border-color-disabled + ); + --spectrum-button-content-color-disabled: var( + --system-button-accent-content-color-disabled + ); +} + +:host([variant='accent'][treatment='outline']) { + --spectrum-button-background-color-default: var( + --system-button-accent-outline-background-color-default + ); + --spectrum-button-background-color-hover: var( + --system-button-accent-outline-background-color-hover + ); + --spectrum-button-background-color-down: var( + --system-button-accent-outline-background-color-down + ); + --spectrum-button-background-color-focus: var( + --system-button-accent-outline-background-color-focus + ); + --spectrum-button-border-color-default: var( + --system-button-accent-outline-border-color-default + ); + --spectrum-button-border-color-hover: var( + --system-button-accent-outline-border-color-hover + ); + --spectrum-button-border-color-down: var( + --system-button-accent-outline-border-color-down + ); + --spectrum-button-border-color-focus: var( + --system-button-accent-outline-border-color-focus + ); + --spectrum-button-content-color-default: var( + --system-button-accent-outline-content-color-default + ); + --spectrum-button-content-color-hover: var( + --system-button-accent-outline-content-color-hover + ); + --spectrum-button-content-color-down: var( + --system-button-accent-outline-content-color-down + ); + --spectrum-button-content-color-focus: var( + --system-button-accent-outline-content-color-focus + ); + --spectrum-button-background-color-disabled: var( + --system-button-accent-outline-background-color-disabled + ); + --spectrum-button-border-color-disabled: var( + --system-button-accent-outline-border-color-disabled + ); + --spectrum-button-content-color-disabled: var( + --system-button-accent-outline-content-color-disabled + ); +} + +:host([variant='negative']) { + --spectrum-button-background-color-default: var( + --system-button-negative-background-color-default + ); + --spectrum-button-background-color-hover: var( + --system-button-negative-background-color-hover + ); + --spectrum-button-background-color-down: var( + --system-button-negative-background-color-down + ); + --spectrum-button-background-color-focus: var( + --system-button-negative-background-color-focus + ); + --spectrum-button-border-color-default: var( + --system-button-negative-border-color-default + ); + --spectrum-button-border-color-hover: var( + --system-button-negative-border-color-hover + ); + --spectrum-button-border-color-down: var( + --system-button-negative-border-color-down + ); + --spectrum-button-border-color-focus: var( + --system-button-negative-border-color-focus + ); + --spectrum-button-content-color-default: var( + --system-button-negative-content-color-default + ); + --spectrum-button-content-color-hover: var( + --system-button-negative-content-color-hover + ); + --spectrum-button-content-color-down: var( + --system-button-negative-content-color-down + ); + --spectrum-button-content-color-focus: var( + --system-button-negative-content-color-focus + ); + --spectrum-button-background-color-disabled: var( + --system-button-negative-background-color-disabled + ); + --spectrum-button-border-color-disabled: var( + --system-button-negative-border-color-disabled + ); + --spectrum-button-content-color-disabled: var( + --system-button-negative-content-color-disabled + ); +} + +:host([variant='negative'][treatment='outline']) { + --spectrum-button-background-color-default: var( + --system-button-negative-outline-background-color-default + ); + --spectrum-button-background-color-hover: var( + --system-button-negative-outline-background-color-hover + ); + --spectrum-button-background-color-down: var( + --system-button-negative-outline-background-color-down + ); + --spectrum-button-background-color-focus: var( + --system-button-negative-outline-background-color-focus + ); + --spectrum-button-border-color-default: var( + --system-button-negative-outline-border-color-default + ); + --spectrum-button-border-color-hover: var( + --system-button-negative-outline-border-color-hover + ); + --spectrum-button-border-color-down: var( + --system-button-negative-outline-border-color-down + ); + --spectrum-button-border-color-focus: var( + --system-button-negative-outline-border-color-focus + ); + --spectrum-button-content-color-default: var( + --system-button-negative-outline-content-color-default + ); + --spectrum-button-content-color-hover: var( + --system-button-negative-outline-content-color-hover + ); + --spectrum-button-content-color-down: var( + --system-button-negative-outline-content-color-down + ); + --spectrum-button-content-color-focus: var( + --system-button-negative-outline-content-color-focus + ); + --spectrum-button-background-color-disabled: var( + --system-button-negative-outline-background-color-disabled + ); + --spectrum-button-border-color-disabled: var( + --system-button-negative-outline-border-color-disabled + ); + --spectrum-button-content-color-disabled: var( + --system-button-negative-outline-content-color-disabled + ); +} + +:host([variant='primary']) { + --spectrum-button-background-color-default: var( + --system-button-primary-background-color-default + ); + --spectrum-button-background-color-hover: var( + --system-button-primary-background-color-hover + ); + --spectrum-button-background-color-down: var( + --system-button-primary-background-color-down + ); + --spectrum-button-background-color-focus: var( + --system-button-primary-background-color-focus + ); + --spectrum-button-border-color-default: var( + --system-button-primary-border-color-default + ); + --spectrum-button-border-color-hover: var( + --system-button-primary-border-color-hover + ); + --spectrum-button-border-color-down: var( + --system-button-primary-border-color-down + ); + --spectrum-button-border-color-focus: var( + --system-button-primary-border-color-focus + ); + --spectrum-button-content-color-default: var( + --system-button-primary-content-color-default + ); + --spectrum-button-content-color-hover: var( + --system-button-primary-content-color-hover + ); + --spectrum-button-content-color-down: var( + --system-button-primary-content-color-down + ); + --spectrum-button-content-color-focus: var( + --system-button-primary-content-color-focus + ); + --spectrum-button-background-color-disabled: var( + --system-button-primary-background-color-disabled + ); + --spectrum-button-border-color-disabled: var( + --system-button-primary-border-color-disabled + ); + --spectrum-button-content-color-disabled: var( + --system-button-primary-content-color-disabled + ); +} + +:host([variant='primary'][treatment='outline']) { + --spectrum-button-background-color-default: var( + --system-button-primary-outline-background-color-default + ); + --spectrum-button-background-color-hover: var( + --system-button-primary-outline-background-color-hover + ); + --spectrum-button-background-color-down: var( + --system-button-primary-outline-background-color-down + ); + --spectrum-button-background-color-focus: var( + --system-button-primary-outline-background-color-focus + ); + --spectrum-button-border-color-default: var( + --system-button-primary-outline-border-color-default + ); + --spectrum-button-border-color-hover: var( + --system-button-primary-outline-border-color-hover + ); + --spectrum-button-border-color-down: var( + --system-button-primary-outline-border-color-down + ); + --spectrum-button-border-color-focus: var( + --system-button-primary-outline-border-color-focus + ); + --spectrum-button-content-color-default: var( + --system-button-primary-outline-content-color-default + ); + --spectrum-button-content-color-hover: var( + --system-button-primary-outline-content-color-hover + ); + --spectrum-button-content-color-down: var( + --system-button-primary-outline-content-color-down + ); + --spectrum-button-content-color-focus: var( + --system-button-primary-outline-content-color-focus + ); + --spectrum-button-background-color-disabled: var( + --system-button-primary-outline-background-color-disabled + ); + --spectrum-button-border-color-disabled: var( + --system-button-primary-outline-border-color-disabled + ); + --spectrum-button-content-color-disabled: var( + --system-button-primary-outline-content-color-disabled + ); +} + +:host([variant='secondary']) { + --spectrum-button-background-color-default: var( + --system-button-secondary-background-color-default + ); + --spectrum-button-background-color-hover: var( + --system-button-secondary-background-color-hover + ); + --spectrum-button-background-color-down: var( + --system-button-secondary-background-color-down + ); + --spectrum-button-background-color-focus: var( + --system-button-secondary-background-color-focus + ); + --spectrum-button-border-color-default: var( + --system-button-secondary-border-color-default + ); + --spectrum-button-border-color-hover: var( + --system-button-secondary-border-color-hover + ); + --spectrum-button-border-color-down: var( + --system-button-secondary-border-color-down + ); + --spectrum-button-border-color-focus: var( + --system-button-secondary-border-color-focus + ); + --spectrum-button-content-color-default: var( + --system-button-secondary-content-color-default + ); + --spectrum-button-content-color-hover: var( + --system-button-secondary-content-color-hover + ); + --spectrum-button-content-color-down: var( + --system-button-secondary-content-color-down + ); + --spectrum-button-content-color-focus: var( + --system-button-secondary-content-color-focus + ); + --spectrum-button-background-color-disabled: var( + --system-button-secondary-background-color-disabled + ); + --spectrum-button-border-color-disabled: var( + --system-button-secondary-border-color-disabled + ); + --spectrum-button-content-color-disabled: var( + --system-button-secondary-content-color-disabled + ); +} + +:host([variant='secondary'][treatment='outline']) { + --spectrum-button-background-color-default: var( + --system-button-secondary-outline-background-color-default + ); + --spectrum-button-background-color-hover: var( + --system-button-secondary-outline-background-color-hover + ); + --spectrum-button-background-color-down: var( + --system-button-secondary-outline-background-color-down + ); + --spectrum-button-background-color-focus: var( + --system-button-secondary-outline-background-color-focus + ); + --spectrum-button-border-color-default: var( + --system-button-secondary-outline-border-color-default + ); + --spectrum-button-border-color-hover: var( + --system-button-secondary-outline-border-color-hover + ); + --spectrum-button-border-color-down: var( + --system-button-secondary-outline-border-color-down + ); + --spectrum-button-border-color-focus: var( + --system-button-secondary-outline-border-color-focus + ); + --spectrum-button-content-color-default: var( + --system-button-secondary-outline-content-color-default + ); + --spectrum-button-content-color-hover: var( + --system-button-secondary-outline-content-color-hover + ); + --spectrum-button-content-color-down: var( + --system-button-secondary-outline-content-color-down + ); + --spectrum-button-content-color-focus: var( + --system-button-secondary-outline-content-color-focus + ); + --spectrum-button-background-color-disabled: var( + --system-button-secondary-outline-background-color-disabled + ); + --spectrum-button-border-color-disabled: var( + --system-button-secondary-outline-border-color-disabled + ); + --spectrum-button-content-color-disabled: var( + --system-button-secondary-outline-content-color-disabled + ); +} + +:host([quiet]) { + --spectrum-button-background-color-default: var( + --system-button-quiet-background-color-default + ); + --spectrum-button-background-color-hover: var( + --system-button-quiet-background-color-hover + ); + --spectrum-button-background-color-down: var( + --system-button-quiet-background-color-down + ); + --spectrum-button-background-color-focus: var( + --system-button-quiet-background-color-focus + ); + --spectrum-button-border-color-default: var( + --system-button-quiet-border-color-default + ); + --spectrum-button-border-color-hover: var( + --system-button-quiet-border-color-hover + ); + --spectrum-button-border-color-down: var( + --system-button-quiet-border-color-down + ); + --spectrum-button-border-color-focus: var( + --system-button-quiet-border-color-focus + ); + --spectrum-button-background-color-disabled: var( + --system-button-quiet-background-color-disabled + ); + --spectrum-button-border-color-disabled: var( + --system-button-quiet-border-color-disabled + ); +} + +:host([selected]) { + --spectrum-button-background-color-default: var( + --system-button-selected-background-color-default + ); + --spectrum-button-background-color-hover: var( + --system-button-selected-background-color-hover + ); + --spectrum-button-background-color-down: var( + --system-button-selected-background-color-down + ); + --spectrum-button-background-color-focus: var( + --system-button-selected-background-color-focus + ); + --spectrum-button-border-color-default: var( + --system-button-selected-border-color-default + ); + --spectrum-button-border-color-hover: var( + --system-button-selected-border-color-hover + ); + --spectrum-button-border-color-down: var( + --system-button-selected-border-color-down + ); + --spectrum-button-border-color-focus: var( + --system-button-selected-border-color-focus + ); + --spectrum-button-content-color-default: var( + --system-button-selected-content-color-default + ); + --spectrum-button-content-color-hover: var( + --system-button-selected-content-color-hover + ); + --spectrum-button-content-color-down: var( + --system-button-selected-content-color-down + ); + --spectrum-button-content-color-focus: var( + --system-button-selected-content-color-focus + ); + --spectrum-button-background-color-disabled: var( + --system-button-selected-background-color-disabled + ); + --spectrum-button-border-color-disabled: var( + --system-button-selected-border-color-disabled + ); +} + +:host([selected][emphasized]) { + --spectrum-button-background-color-default: var( + --system-button-selected-emphasized-background-color-default + ); + --spectrum-button-background-color-hover: var( + --system-button-selected-emphasized-background-color-hover + ); + --spectrum-button-background-color-down: var( + --system-button-selected-emphasized-background-color-down + ); + --spectrum-button-background-color-focus: var( + --system-button-selected-emphasized-background-color-focus + ); +} + +:host([static-color='black'][quiet]) { + --spectrum-button-border-color-default: var( + --system-button-static-black-quiet-border-color-default + ); + --spectrum-button-border-color-hover: var( + --system-button-static-black-quiet-border-color-hover + ); + --spectrum-button-border-color-down: var( + --system-button-static-black-quiet-border-color-down + ); + --spectrum-button-border-color-focus: var( + --system-button-static-black-quiet-border-color-focus + ); + --spectrum-button-border-color-disabled: var( + --system-button-static-black-quiet-border-color-disabled + ); +} + +:host([static-color='white'][quiet]) { + --spectrum-button-border-color-default: var( + --system-button-static-white-quiet-border-color-default + ); + --spectrum-button-border-color-hover: var( + --system-button-static-white-quiet-border-color-hover + ); + --spectrum-button-border-color-down: var( + --system-button-static-white-quiet-border-color-down + ); + --spectrum-button-border-color-focus: var( + --system-button-static-white-quiet-border-color-focus + ); + --spectrum-button-border-color-disabled: var( + --system-button-static-white-quiet-border-color-disabled + ); +} + +:host([static-color='white']) { + --spectrum-button-background-color-default: var( + --system-button-static-white-background-color-default + ); + --spectrum-button-background-color-hover: var( + --system-button-static-white-background-color-hover + ); + --spectrum-button-background-color-down: var( + --system-button-static-white-background-color-down + ); + --spectrum-button-background-color-focus: var( + --system-button-static-white-background-color-focus + ); + --spectrum-button-border-color-default: var( + --system-button-static-white-border-color-default + ); + --spectrum-button-border-color-hover: var( + --system-button-static-white-border-color-hover + ); + --spectrum-button-border-color-down: var( + --system-button-static-white-border-color-down + ); + --spectrum-button-border-color-focus: var( + --system-button-static-white-border-color-focus + ); + --spectrum-button-content-color-default: var( + --system-button-static-white-content-color-default + ); + --spectrum-button-content-color-hover: var( + --system-button-static-white-content-color-hover + ); + --spectrum-button-content-color-down: var( + --system-button-static-white-content-color-down + ); + --spectrum-button-content-color-focus: var( + --system-button-static-white-content-color-focus + ); + --spectrum-button-focus-indicator-color: var( + --system-button-static-white-focus-indicator-color + ); + --spectrum-button-background-color-disabled: var( + --system-button-static-white-background-color-disabled + ); + --spectrum-button-border-color-disabled: var( + --system-button-static-white-border-color-disabled + ); + --spectrum-button-content-color-disabled: var( + --system-button-static-white-content-color-disabled + ); +} + +:host([static-color='white'][treatment='outline']) { + --spectrum-button-background-color-default: var( + --system-button-static-white-outline-background-color-default + ); + --spectrum-button-background-color-hover: var( + --system-button-static-white-outline-background-color-hover + ); + --spectrum-button-background-color-down: var( + --system-button-static-white-outline-background-color-down + ); + --spectrum-button-background-color-focus: var( + --system-button-static-white-outline-background-color-focus + ); + --spectrum-button-border-color-default: var( + --system-button-static-white-outline-border-color-default + ); + --spectrum-button-border-color-hover: var( + --system-button-static-white-outline-border-color-hover + ); + --spectrum-button-border-color-down: var( + --system-button-static-white-outline-border-color-down + ); + --spectrum-button-border-color-focus: var( + --system-button-static-white-outline-border-color-focus + ); + --spectrum-button-content-color-default: var( + --system-button-static-white-outline-content-color-default + ); + --spectrum-button-content-color-hover: var( + --system-button-static-white-outline-content-color-hover + ); + --spectrum-button-content-color-down: var( + --system-button-static-white-outline-content-color-down + ); + --spectrum-button-content-color-focus: var( + --system-button-static-white-outline-content-color-focus + ); + --spectrum-button-focus-indicator-color: var( + --system-button-static-white-outline-focus-indicator-color + ); + --spectrum-button-background-color-disabled: var( + --system-button-static-white-outline-background-color-disabled + ); + --spectrum-button-border-color-disabled: var( + --system-button-static-white-outline-border-color-disabled + ); + --spectrum-button-content-color-disabled: var( + --system-button-static-white-outline-content-color-disabled + ); +} + +:host([static-color='white'][selected]) { + --spectrum-button-background-color-default: var( + --system-button-static-white-selected-background-color-default + ); + --spectrum-button-background-color-hover: var( + --system-button-static-white-selected-background-color-hover + ); + --spectrum-button-background-color-down: var( + --system-button-static-white-selected-background-color-down + ); + --spectrum-button-background-color-focus: var( + --system-button-static-white-selected-background-color-focus + ); + --spectrum-button-static-white-content-color-default: var( + --system-button-static-white-selected-static-white-content-color-default + ); + --spectrum-button-static-white-content-color-hover: var( + --system-button-static-white-selected-static-white-content-color-hover + ); + --spectrum-button-static-white-content-color-down: var( + --system-button-static-white-selected-static-white-content-color-down + ); + --spectrum-button-static-white-content-color-focus: var( + --system-button-static-white-selected-static-white-content-color-focus + ); + --spectrum-button-background-color-disabled: var( + --system-button-static-white-selected-background-color-disabled + ); + --spectrum-button-border-color-disabled: var( + --system-button-static-white-selected-border-color-disabled + ); +} + +:host([static-color='white'][variant='secondary']) { + --spectrum-button-background-color-default: var( + --system-button-static-white-secondary-background-color-default + ); + --spectrum-button-background-color-hover: var( + --system-button-static-white-secondary-background-color-hover + ); + --spectrum-button-background-color-down: var( + --system-button-static-white-secondary-background-color-down + ); + --spectrum-button-background-color-focus: var( + --system-button-static-white-secondary-background-color-focus + ); + --spectrum-button-border-color-default: var( + --system-button-static-white-secondary-border-color-default + ); + --spectrum-button-border-color-hover: var( + --system-button-static-white-secondary-border-color-hover + ); + --spectrum-button-border-color-down: var( + --system-button-static-white-secondary-border-color-down + ); + --spectrum-button-border-color-focus: var( + --system-button-static-white-secondary-border-color-focus + ); + --spectrum-button-content-color-default: var( + --system-button-static-white-secondary-content-color-default + ); + --spectrum-button-content-color-hover: var( + --system-button-static-white-secondary-content-color-hover + ); + --spectrum-button-content-color-down: var( + --system-button-static-white-secondary-content-color-down + ); + --spectrum-button-content-color-focus: var( + --system-button-static-white-secondary-content-color-focus + ); + --spectrum-button-focus-indicator-color: var( + --system-button-static-white-secondary-focus-indicator-color + ); + --spectrum-button-background-color-disabled: var( + --system-button-static-white-secondary-background-color-disabled + ); + --spectrum-button-border-color-disabled: var( + --system-button-static-white-secondary-border-color-disabled + ); + --spectrum-button-content-color-disabled: var( + --system-button-static-white-secondary-content-color-disabled + ); +} + +:host([static-color='white'][variant='secondary'][treatment='outline']) { + --spectrum-button-background-color-default: var( + --system-button-static-white-secondary-outline-background-color-default + ); + --spectrum-button-background-color-hover: var( + --system-button-static-white-secondary-outline-background-color-hover + ); + --spectrum-button-background-color-down: var( + --system-button-static-white-secondary-outline-background-color-down + ); + --spectrum-button-background-color-focus: var( + --system-button-static-white-secondary-outline-background-color-focus + ); + --spectrum-button-border-color-default: var( + --system-button-static-white-secondary-outline-border-color-default + ); + --spectrum-button-border-color-hover: var( + --system-button-static-white-secondary-outline-border-color-hover + ); + --spectrum-button-border-color-down: var( + --system-button-static-white-secondary-outline-border-color-down + ); + --spectrum-button-border-color-focus: var( + --system-button-static-white-secondary-outline-border-color-focus + ); + --spectrum-button-content-color-default: var( + --system-button-static-white-secondary-outline-content-color-default + ); + --spectrum-button-content-color-hover: var( + --system-button-static-white-secondary-outline-content-color-hover + ); + --spectrum-button-content-color-down: var( + --system-button-static-white-secondary-outline-content-color-down + ); + --spectrum-button-content-color-focus: var( + --system-button-static-white-secondary-outline-content-color-focus + ); + --spectrum-button-focus-indicator-color: var( + --system-button-static-white-secondary-outline-focus-indicator-color + ); + --spectrum-button-background-color-disabled: var( + --system-button-static-white-secondary-outline-background-color-disabled + ); + --spectrum-button-border-color-disabled: var( + --system-button-static-white-secondary-outline-border-color-disabled + ); + --spectrum-button-content-color-disabled: var( + --system-button-static-white-secondary-outline-content-color-disabled + ); +} + +:host([static-color='black']) { + --spectrum-button-background-color-default: var( + --system-button-static-black-background-color-default + ); + --spectrum-button-background-color-hover: var( + --system-button-static-black-background-color-hover + ); + --spectrum-button-background-color-down: var( + --system-button-static-black-background-color-down + ); + --spectrum-button-background-color-focus: var( + --system-button-static-black-background-color-focus + ); + --spectrum-button-border-color-default: var( + --system-button-static-black-border-color-default + ); + --spectrum-button-border-color-hover: var( + --system-button-static-black-border-color-hover + ); + --spectrum-button-border-color-down: var( + --system-button-static-black-border-color-down + ); + --spectrum-button-border-color-focus: var( + --system-button-static-black-border-color-focus + ); + --spectrum-button-content-color-default: var( + --system-button-static-black-content-color-default + ); + --spectrum-button-content-color-hover: var( + --system-button-static-black-content-color-hover + ); + --spectrum-button-content-color-down: var( + --system-button-static-black-content-color-down + ); + --spectrum-button-content-color-focus: var( + --system-button-static-black-content-color-focus + ); + --spectrum-button-focus-indicator-color: var( + --system-button-static-black-focus-indicator-color + ); + --spectrum-button-background-color-disabled: var( + --system-button-static-black-background-color-disabled + ); + --spectrum-button-border-color-disabled: var( + --system-button-static-black-border-color-disabled + ); + --spectrum-button-content-color-disabled: var( + --system-button-static-black-content-color-disabled + ); +} + +:host([static-color='black'][treatment='outline']) { + --spectrum-button-background-color-default: var( + --system-button-static-black-outline-background-color-default + ); + --spectrum-button-background-color-hover: var( + --system-button-static-black-outline-background-color-hover + ); + --spectrum-button-background-color-down: var( + --system-button-static-black-outline-background-color-down + ); + --spectrum-button-background-color-focus: var( + --system-button-static-black-outline-background-color-focus + ); + --spectrum-button-border-color-default: var( + --system-button-static-black-outline-border-color-default + ); + --spectrum-button-border-color-hover: var( + --system-button-static-black-outline-border-color-hover + ); + --spectrum-button-border-color-down: var( + --system-button-static-black-outline-border-color-down + ); + --spectrum-button-border-color-focus: var( + --system-button-static-black-outline-border-color-focus + ); + --spectrum-button-content-color-default: var( + --system-button-static-black-outline-content-color-default + ); + --spectrum-button-content-color-hover: var( + --system-button-static-black-outline-content-color-hover + ); + --spectrum-button-content-color-down: var( + --system-button-static-black-outline-content-color-down + ); + --spectrum-button-content-color-focus: var( + --system-button-static-black-outline-content-color-focus + ); + --spectrum-button-focus-indicator-color: var( + --system-button-static-black-outline-focus-indicator-color + ); + --spectrum-button-background-color-disabled: var( + --system-button-static-black-outline-background-color-disabled + ); + --spectrum-button-border-color-disabled: var( + --system-button-static-black-outline-border-color-disabled + ); + --spectrum-button-content-color-disabled: var( + --system-button-static-black-outline-content-color-disabled + ); +} + +:host([static-color='black'][variant='secondary']) { + --spectrum-button-background-color-default: var( + --system-button-static-black-secondary-background-color-default + ); + --spectrum-button-background-color-hover: var( + --system-button-static-black-secondary-background-color-hover + ); + --spectrum-button-background-color-down: var( + --system-button-static-black-secondary-background-color-down + ); + --spectrum-button-background-color-focus: var( + --system-button-static-black-secondary-background-color-focus + ); + --spectrum-button-border-color-default: var( + --system-button-static-black-secondary-border-color-default + ); + --spectrum-button-border-color-hover: var( + --system-button-static-black-secondary-border-color-hover + ); + --spectrum-button-border-color-down: var( + --system-button-static-black-secondary-border-color-down + ); + --spectrum-button-border-color-focus: var( + --system-button-static-black-secondary-border-color-focus + ); + --spectrum-button-content-color-default: var( + --system-button-static-black-secondary-content-color-default + ); + --spectrum-button-content-color-hover: var( + --system-button-static-black-secondary-content-color-hover + ); + --spectrum-button-content-color-down: var( + --system-button-static-black-secondary-content-color-down + ); + --spectrum-button-content-color-focus: var( + --system-button-static-black-secondary-content-color-focus + ); + --spectrum-button-focus-indicator-color: var( + --system-button-static-black-secondary-focus-indicator-color + ); + --spectrum-button-background-color-disabled: var( + --system-button-static-black-secondary-background-color-disabled + ); + --spectrum-button-border-color-disabled: var( + --system-button-static-black-secondary-border-color-disabled + ); + --spectrum-button-content-color-disabled: var( + --system-button-static-black-secondary-content-color-disabled + ); +} + +:host([static-color='black'][variant='secondary'][treatment='outline']) { + --spectrum-button-background-color-default: var( + --system-button-static-black-secondary-outline-background-color-default + ); + --spectrum-button-background-color-hover: var( + --system-button-static-black-secondary-outline-background-color-hover + ); + --spectrum-button-background-color-down: var( + --system-button-static-black-secondary-outline-background-color-down + ); + --spectrum-button-background-color-focus: var( + --system-button-static-black-secondary-outline-background-color-focus + ); + --spectrum-button-border-color-default: var( + --system-button-static-black-secondary-outline-border-color-default + ); + --spectrum-button-border-color-hover: var( + --system-button-static-black-secondary-outline-border-color-hover + ); + --spectrum-button-border-color-down: var( + --system-button-static-black-secondary-outline-border-color-down + ); + --spectrum-button-border-color-focus: var( + --system-button-static-black-secondary-outline-border-color-focus + ); + --spectrum-button-content-color-default: var( + --system-button-static-black-secondary-outline-content-color-default + ); + --spectrum-button-content-color-hover: var( + --system-button-static-black-secondary-outline-content-color-hover + ); + --spectrum-button-content-color-down: var( + --system-button-static-black-secondary-outline-content-color-down + ); + --spectrum-button-content-color-focus: var( + --system-button-static-black-secondary-outline-content-color-focus + ); + --spectrum-button-focus-indicator-color: var( + --system-button-static-black-secondary-outline-focus-indicator-color + ); + --spectrum-button-background-color-disabled: var( + --system-button-static-black-secondary-outline-background-color-disabled + ); + --spectrum-button-border-color-disabled: var( + --system-button-static-black-secondary-outline-border-color-disabled + ); + --spectrum-button-content-color-disabled: var( + --system-button-static-black-secondary-outline-content-color-disabled + ); +} + +:host([size='s']) { + --spectrum-button-min-width: var(--system-button-size-s-min-width); + --spectrum-button-border-radius: var(--system-button-size-s-border-radius); + --spectrum-button-height: var(--system-button-size-s-height); + --spectrum-button-font-size: var(--system-button-size-s-font-size); + --spectrum-button-edge-to-visual: var( + --system-button-size-s-edge-to-visual + ); + --spectrum-button-edge-to-visual-only: var( + --system-button-size-s-edge-to-visual-only + ); + --spectrum-button-edge-to-text: var(--system-button-size-s-edge-to-text); + --spectrum-button-padding-label-to-icon: var( + --system-button-size-s-padding-label-to-icon + ); + --spectrum-button-top-to-text: var(--system-button-size-s-top-to-text); + --spectrum-button-bottom-to-text: var( + --system-button-size-s-bottom-to-text + ); + --spectrum-button-top-to-icon: var(--system-button-size-s-top-to-icon); + --spectrum-button-intended-icon-size: var( + --system-button-size-s-intended-icon-size + ); +} + +:host { + --spectrum-button-min-width: var(--system-button-size-m-min-width); + --spectrum-button-border-radius: var(--system-button-size-m-border-radius); + --spectrum-button-height: var(--system-button-size-m-height); + --spectrum-button-font-size: var(--system-button-size-m-font-size); + --spectrum-button-edge-to-visual: var( + --system-button-size-m-edge-to-visual + ); + --spectrum-button-edge-to-visual-only: var( + --system-button-size-m-edge-to-visual-only + ); + --spectrum-button-edge-to-text: var(--system-button-size-m-edge-to-text); + --spectrum-button-padding-label-to-icon: var( + --system-button-size-m-padding-label-to-icon + ); + --spectrum-button-top-to-text: var(--system-button-size-m-top-to-text); + --spectrum-button-bottom-to-text: var( + --system-button-size-m-bottom-to-text + ); + --spectrum-button-top-to-icon: var(--system-button-size-m-top-to-icon); + --spectrum-button-intended-icon-size: var( + --system-button-size-m-intended-icon-size + ); +} + +:host([size='l']) { + --spectrum-button-min-width: var(--system-button-size-l-min-width); + --spectrum-button-border-radius: var(--system-button-size-l-border-radius); + --spectrum-button-height: var(--system-button-size-l-height); + --spectrum-button-font-size: var(--system-button-size-l-font-size); + --spectrum-button-edge-to-visual: var( + --system-button-size-l-edge-to-visual + ); + --spectrum-button-edge-to-visual-only: var( + --system-button-size-l-edge-to-visual-only + ); + --spectrum-button-edge-to-text: var(--system-button-size-l-edge-to-text); + --spectrum-button-padding-label-to-icon: var( + --system-button-size-l-padding-label-to-icon + ); + --spectrum-button-top-to-text: var(--system-button-size-l-top-to-text); + --spectrum-button-bottom-to-text: var( + --system-button-size-l-bottom-to-text + ); + --spectrum-button-top-to-icon: var(--system-button-size-l-top-to-icon); + --spectrum-button-intended-icon-size: var( + --system-button-size-l-intended-icon-size + ); +} + +:host([size='xl']) { + --spectrum-button-min-width: var(--system-button-size-xl-min-width); + --spectrum-button-border-radius: var(--system-button-size-xl-border-radius); + --spectrum-button-height: var(--system-button-size-xl-height); + --spectrum-button-font-size: var(--system-button-size-xl-font-size); + --spectrum-button-edge-to-visual: var( + --system-button-size-xl-edge-to-visual + ); + --spectrum-button-edge-to-visual-only: var( + --system-button-size-xl-edge-to-visual-only + ); + --spectrum-button-edge-to-text: var(--system-button-size-xl-edge-to-text); + --spectrum-button-padding-label-to-icon: var( + --system-button-size-xl-padding-label-to-icon + ); + --spectrum-button-top-to-text: var(--system-button-size-xl-top-to-text); + --spectrum-button-bottom-to-text: var( + --system-button-size-xl-bottom-to-text + ); + --spectrum-button-top-to-icon: var(--system-button-size-xl-top-to-icon); + --spectrum-button-intended-icon-size: var( + --system-button-size-xl-intended-icon-size + ); +} diff --git a/packages/button/src/button.css b/packages/button/src/button.css index 0470980b0e..15895aa87e 100644 --- a/packages/button/src/button.css +++ b/packages/button/src/button.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-button.css'); +@import url('./button-overrides.css'); @media (forced-colors: active) { :host([treatment][disabled]) { @@ -79,6 +80,7 @@ governing permissions and limitations under the License. visibility: revert-layer; --mod-progress-circle-position: relative; + --spectrum-icon-size: inherit; } sp-progress-circle { diff --git a/packages/button/src/spectrum-button.css b/packages/button/src/spectrum-button.css index 40c1f3b182..0fcd8d9ebf 100644 --- a/packages/button/src/spectrum-button.css +++ b/packages/button/src/spectrum-button.css @@ -23,6 +23,8 @@ governing permissions and limitations under the License. var(--spectrum-sans-font-family-stack) ) ); + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; line-height: var( --mod-button-line-height, var(--mod-line-height-100, var(--spectrum-line-height-100)) @@ -67,8 +69,6 @@ governing permissions and limitations under the License. ) ) ease-out; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; justify-content: center; align-items: center; margin: 0; @@ -89,13 +89,7 @@ governing permissions and limitations under the License. :host:after { margin: calc( - var( - --mod-button-focus-indicator-gap, - var( - --mod-focus-indicator-gap, - var(--spectrum-focus-indicator-gap) - ) - ) * -1 + -1 * var(--mod-button-focus-indicator-gap, var(--mod-focus-indicator-gap, var(--spectrum-focus-indicator-gap))) ); transition: opacity @@ -142,164 +136,7 @@ governing permissions and limitations under the License. } :host { - --spectrum-button-animation-duration: var( - --spectrum-animation-duration-100 - ); - --spectrum-button-border-radius: var(--spectrum-corner-radius-100); - --spectrum-button-border-width: var(--spectrum-border-width-200); - --spectrum-button-line-height: 1.2; - --spectrum-button-focus-ring-gap: var(--spectrum-focus-indicator-gap); - --spectrum-button-focus-ring-border-radius: calc( - var(--spectrum-button-border-radius) + - var(--spectrum-button-focus-ring-gap) - ); - --spectrum-button-focus-ring-thickness: var( - --spectrum-focus-indicator-thickness - ); - --spectrum-button-focus-indicator-color: var( - --spectrum-focus-indicator-color - ); - --spectrum-button-intended-icon-size: var(--spectrum-workflow-icon-size-50); --mod-progress-circle-position: absolute; -} - -:host([size='s']) { - --spectrum-button-min-width: calc( - var(--spectrum-component-height-75) * - var(--spectrum-button-minimum-width-multiplier) - ); - --spectrum-button-border-radius: var( - --spectrum-component-pill-edge-to-text-75 - ); - --spectrum-button-height: var(--spectrum-component-height-75); - --spectrum-button-font-size: var(--spectrum-font-size-75); - --spectrum-button-edge-to-visual: calc( - var(--spectrum-component-pill-edge-to-visual-75) - - var(--spectrum-button-border-width) - ); - --spectrum-button-edge-to-visual-only: var( - --spectrum-component-pill-edge-to-visual-only-75 - ); - --spectrum-button-edge-to-text: calc( - var(--spectrum-component-pill-edge-to-text-75) - - var(--spectrum-button-border-width) - ); - --spectrum-button-padding-label-to-icon: var(--spectrum-text-to-visual-75); - --spectrum-button-top-to-text: var(--spectrum-button-top-to-text-small); - --spectrum-button-bottom-to-text: var( - --spectrum-button-bottom-to-text-small - ); - --spectrum-button-top-to-icon: var( - --spectrum-component-top-to-workflow-icon-75 - ); - --spectrum-button-intended-icon-size: var(--spectrum-workflow-icon-size-75); -} - -:host { - --spectrum-button-min-width: calc( - var(--spectrum-component-height-100) * - var(--spectrum-button-minimum-width-multiplier) - ); - --spectrum-button-border-radius: var( - --spectrum-component-pill-edge-to-text-100 - ); - --spectrum-button-height: var(--spectrum-component-height-100); - --spectrum-button-font-size: var(--spectrum-font-size-100); - --spectrum-button-edge-to-visual: calc( - var(--spectrum-component-pill-edge-to-visual-100) - - var(--spectrum-button-border-width) - ); - --spectrum-button-edge-to-visual-only: var( - --spectrum-component-pill-edge-to-visual-only-100 - ); - --spectrum-button-edge-to-text: calc( - var(--spectrum-component-pill-edge-to-text-100) - - var(--spectrum-button-border-width) - ); - --spectrum-button-padding-label-to-icon: var(--spectrum-text-to-visual-100); - --spectrum-button-top-to-text: var(--spectrum-button-top-to-text-medium); - --spectrum-button-bottom-to-text: var( - --spectrum-button-bottom-to-text-medium - ); - --spectrum-button-top-to-icon: var( - --spectrum-component-top-to-workflow-icon-100 - ); - --spectrum-button-intended-icon-size: var( - --spectrum-workflow-icon-size-100 - ); -} - -:host([size='l']) { - --spectrum-button-min-width: calc( - var(--spectrum-component-height-200) * - var(--spectrum-button-minimum-width-multiplier) - ); - --spectrum-button-border-radius: var( - --spectrum-component-pill-edge-to-text-200 - ); - --spectrum-button-height: var(--spectrum-component-height-200); - --spectrum-button-font-size: var(--spectrum-font-size-200); - --spectrum-button-edge-to-visual: calc( - var(--spectrum-component-pill-edge-to-visual-200) - - var(--spectrum-button-border-width) - ); - --spectrum-button-edge-to-visual-only: var( - --spectrum-component-pill-edge-to-visual-only-200 - ); - --spectrum-button-edge-to-text: calc( - var(--spectrum-component-pill-edge-to-text-200) - - var(--spectrum-button-border-width) - ); - --spectrum-button-padding-label-to-icon: var(--spectrum-text-to-visual-200); - --spectrum-button-top-to-text: var(--spectrum-button-top-to-text-large); - --spectrum-button-bottom-to-text: var( - --spectrum-button-bottom-to-text-large - ); - --spectrum-button-top-to-icon: var( - --spectrum-component-top-to-workflow-icon-200 - ); - --spectrum-button-intended-icon-size: var( - --spectrum-workflow-icon-size-200 - ); -} - -:host([size='xl']) { - --spectrum-button-min-width: calc( - var(--spectrum-component-height-300) * - var(--spectrum-button-minimum-width-multiplier) - ); - --spectrum-button-border-radius: var( - --spectrum-component-pill-edge-to-text-300 - ); - --spectrum-button-height: var(--spectrum-component-height-300); - --spectrum-button-font-size: var(--spectrum-font-size-300); - --spectrum-button-edge-to-visual: calc( - var(--spectrum-component-pill-edge-to-visual-300) - - var(--spectrum-button-border-width) - ); - --spectrum-button-edge-to-visual-only: var( - --spectrum-component-pill-edge-to-visual-only-300 - ); - --spectrum-button-edge-to-text: calc( - var(--spectrum-component-pill-edge-to-text-300) - - var(--spectrum-button-border-width) - ); - --spectrum-button-padding-label-to-icon: var(--spectrum-text-to-visual-300); - --spectrum-button-top-to-text: var( - --spectrum-button-top-to-text-extra-large - ); - --spectrum-button-bottom-to-text: var( - --spectrum-button-bottom-to-text-extra-large - ); - --spectrum-button-top-to-icon: var( - --spectrum-component-top-to-workflow-icon-300 - ); - --spectrum-button-intended-icon-size: var( - --spectrum-workflow-icon-size-300 - ); -} - -:host { border-radius: var( --mod-button-border-radius, var(--spectrum-button-border-radius) @@ -327,10 +164,11 @@ governing permissions and limitations under the License. var(--spectrum-button-edge-to-text) ); color: inherit; - margin-block: var(--mod-button-margin-block); + margin-block: 0; + margin-block: var(--mod-button-margin-block, 0); border-style: solid; - margin-inline-start: var(--mod-button-margin-left); - margin-inline-end: var(--mod-button-margin-right); + margin-inline-start: var(--mod-button-margin-left, 0); + margin-inline-end: var(--mod-button-margin-right, 0); position: relative; } @@ -342,10 +180,7 @@ governing permissions and limitations under the License. --_icon-size-difference: max( 0px, var(--spectrum-button-intended-icon-size) - - var( - --spectrum-icon-block-size, - var(--spectrum-button-intended-icon-size) - ) + var(--spectrum-icon-size, var(--spectrum-button-intended-icon-size)) ); color: inherit; flex-shrink: 0; @@ -367,13 +202,6 @@ governing permissions and limitations under the License. ); } -:host:after { - border-radius: calc( - var(--mod-button-border-radius, var(--spectrum-button-border-radius)) + - var(--mod-focus-indicator-gap, var(--spectrum-focus-indicator-gap)) - ); -} - :host([icon-only]) { min-inline-size: unset; padding: calc( @@ -456,7 +284,16 @@ governing permissions and limitations under the License. ); border-radius: var( --mod-button-focus-ring-border-radius, - var(--spectrum-button-focus-ring-border-radius) + calc( + var( + --mod-button-border-radius, + var(--spectrum-button-border-radius) + ) + + var( + --mod-focus-indicator-gap, + var(--spectrum-focus-indicator-gap) + ) + ) ); transition: box-shadow var( @@ -699,7 +536,6 @@ governing permissions and limitations under the License. overflow: hidden; } -:host([static-color='black']), :host([static-color='white']) { --spectrum-button-focus-indicator-color: var( --mod-static-black-focus-indicator-color, @@ -707,6 +543,32 @@ governing permissions and limitations under the License. ); } +:host([static-color='white'][selected]) { + --spectrum-button-content-color-default: var( + --mod-button-static-content-color, + var(--spectrum-button-static-white-content-color-default) + ); + --spectrum-button-content-color-hover: var( + --mod-button-static-content-color, + var(--spectrum-button-static-white-content-color-hover) + ); + --spectrum-button-content-color-down: var( + --mod-button-static-content-color, + var(--spectrum-button-static-white-content-color-down) + ); + --spectrum-button-content-color-focus: var( + --mod-button-static-content-color, + var(--spectrum-button-static-white-content-color-focus) + ); +} + +:host([static-color='black']) { + --spectrum-button-focus-indicator-color: var( + --mod-static-black-focus-indicator-color, + var(--spectrum-static-black-focus-indicator-color) + ); +} + @media (forced-colors: active) { :host { --highcontrast-button-content-color-default: ButtonText; @@ -762,1009 +624,3 @@ governing permissions and limitations under the License. --highcontrast-button-border-color-down: Highlight; } } - -:host { - --spectrum-button-background-color-default: var( - --system-spectrum-button-background-color-default - ); - --spectrum-button-background-color-hover: var( - --system-spectrum-button-background-color-hover - ); - --spectrum-button-background-color-down: var( - --system-spectrum-button-background-color-down - ); - --spectrum-button-background-color-focus: var( - --system-spectrum-button-background-color-focus - ); - --spectrum-button-border-color-default: var( - --system-spectrum-button-border-color-default - ); - --spectrum-button-border-color-hover: var( - --system-spectrum-button-border-color-hover - ); - --spectrum-button-border-color-down: var( - --system-spectrum-button-border-color-down - ); - --spectrum-button-border-color-focus: var( - --system-spectrum-button-border-color-focus - ); - --spectrum-button-content-color-default: var( - --system-spectrum-button-content-color-default - ); - --spectrum-button-content-color-hover: var( - --system-spectrum-button-content-color-hover - ); - --spectrum-button-content-color-down: var( - --system-spectrum-button-content-color-down - ); - --spectrum-button-content-color-focus: var( - --system-spectrum-button-content-color-focus - ); - --spectrum-button-background-color-disabled: var( - --system-spectrum-button-background-color-disabled - ); - --spectrum-button-border-color-disabled: var( - --system-spectrum-button-border-color-disabled - ); - --spectrum-button-content-color-disabled: var( - --system-spectrum-button-content-color-disabled - ); -} - -:host([variant='accent']) { - --spectrum-button-background-color-default: var( - --system-spectrum-button-accent-background-color-default - ); - --spectrum-button-background-color-hover: var( - --system-spectrum-button-accent-background-color-hover - ); - --spectrum-button-background-color-down: var( - --system-spectrum-button-accent-background-color-down - ); - --spectrum-button-background-color-focus: var( - --system-spectrum-button-accent-background-color-focus - ); - --spectrum-button-border-color-default: var( - --system-spectrum-button-accent-border-color-default - ); - --spectrum-button-border-color-hover: var( - --system-spectrum-button-accent-border-color-hover - ); - --spectrum-button-border-color-down: var( - --system-spectrum-button-accent-border-color-down - ); - --spectrum-button-border-color-focus: var( - --system-spectrum-button-accent-border-color-focus - ); - --spectrum-button-content-color-default: var( - --system-spectrum-button-accent-content-color-default - ); - --spectrum-button-content-color-hover: var( - --system-spectrum-button-accent-content-color-hover - ); - --spectrum-button-content-color-down: var( - --system-spectrum-button-accent-content-color-down - ); - --spectrum-button-content-color-focus: var( - --system-spectrum-button-accent-content-color-focus - ); - --spectrum-button-background-color-disabled: var( - --system-spectrum-button-accent-background-color-disabled - ); - --spectrum-button-border-color-disabled: var( - --system-spectrum-button-accent-border-color-disabled - ); - --spectrum-button-content-color-disabled: var( - --system-spectrum-button-accent-content-color-disabled - ); -} - -:host([variant='accent'][treatment='outline']) { - --spectrum-button-background-color-default: var( - --system-spectrum-button-accent-outline-background-color-default - ); - --spectrum-button-background-color-hover: var( - --system-spectrum-button-accent-outline-background-color-hover - ); - --spectrum-button-background-color-down: var( - --system-spectrum-button-accent-outline-background-color-down - ); - --spectrum-button-background-color-focus: var( - --system-spectrum-button-accent-outline-background-color-focus - ); - --spectrum-button-border-color-default: var( - --system-spectrum-button-accent-outline-border-color-default - ); - --spectrum-button-border-color-hover: var( - --system-spectrum-button-accent-outline-border-color-hover - ); - --spectrum-button-border-color-down: var( - --system-spectrum-button-accent-outline-border-color-down - ); - --spectrum-button-border-color-focus: var( - --system-spectrum-button-accent-outline-border-color-focus - ); - --spectrum-button-content-color-default: var( - --system-spectrum-button-accent-outline-content-color-default - ); - --spectrum-button-content-color-hover: var( - --system-spectrum-button-accent-outline-content-color-hover - ); - --spectrum-button-content-color-down: var( - --system-spectrum-button-accent-outline-content-color-down - ); - --spectrum-button-content-color-focus: var( - --system-spectrum-button-accent-outline-content-color-focus - ); - --spectrum-button-background-color-disabled: var( - --system-spectrum-button-accent-outline-background-color-disabled - ); - --spectrum-button-border-color-disabled: var( - --system-spectrum-button-accent-outline-border-color-disabled - ); - --spectrum-button-content-color-disabled: var( - --system-spectrum-button-accent-outline-content-color-disabled - ); -} - -:host([variant='negative']) { - --spectrum-button-background-color-default: var( - --system-spectrum-button-negative-background-color-default - ); - --spectrum-button-background-color-hover: var( - --system-spectrum-button-negative-background-color-hover - ); - --spectrum-button-background-color-down: var( - --system-spectrum-button-negative-background-color-down - ); - --spectrum-button-background-color-focus: var( - --system-spectrum-button-negative-background-color-focus - ); - --spectrum-button-border-color-default: var( - --system-spectrum-button-negative-border-color-default - ); - --spectrum-button-border-color-hover: var( - --system-spectrum-button-negative-border-color-hover - ); - --spectrum-button-border-color-down: var( - --system-spectrum-button-negative-border-color-down - ); - --spectrum-button-border-color-focus: var( - --system-spectrum-button-negative-border-color-focus - ); - --spectrum-button-content-color-default: var( - --system-spectrum-button-negative-content-color-default - ); - --spectrum-button-content-color-hover: var( - --system-spectrum-button-negative-content-color-hover - ); - --spectrum-button-content-color-down: var( - --system-spectrum-button-negative-content-color-down - ); - --spectrum-button-content-color-focus: var( - --system-spectrum-button-negative-content-color-focus - ); - --spectrum-button-background-color-disabled: var( - --system-spectrum-button-negative-background-color-disabled - ); - --spectrum-button-border-color-disabled: var( - --system-spectrum-button-negative-border-color-disabled - ); - --spectrum-button-content-color-disabled: var( - --system-spectrum-button-negative-content-color-disabled - ); -} - -:host([variant='negative'][treatment='outline']) { - --spectrum-button-background-color-default: var( - --system-spectrum-button-negative-outline-background-color-default - ); - --spectrum-button-background-color-hover: var( - --system-spectrum-button-negative-outline-background-color-hover - ); - --spectrum-button-background-color-down: var( - --system-spectrum-button-negative-outline-background-color-down - ); - --spectrum-button-background-color-focus: var( - --system-spectrum-button-negative-outline-background-color-focus - ); - --spectrum-button-border-color-default: var( - --system-spectrum-button-negative-outline-border-color-default - ); - --spectrum-button-border-color-hover: var( - --system-spectrum-button-negative-outline-border-color-hover - ); - --spectrum-button-border-color-down: var( - --system-spectrum-button-negative-outline-border-color-down - ); - --spectrum-button-border-color-focus: var( - --system-spectrum-button-negative-outline-border-color-focus - ); - --spectrum-button-content-color-default: var( - --system-spectrum-button-negative-outline-content-color-default - ); - --spectrum-button-content-color-hover: var( - --system-spectrum-button-negative-outline-content-color-hover - ); - --spectrum-button-content-color-down: var( - --system-spectrum-button-negative-outline-content-color-down - ); - --spectrum-button-content-color-focus: var( - --system-spectrum-button-negative-outline-content-color-focus - ); - --spectrum-button-background-color-disabled: var( - --system-spectrum-button-negative-outline-background-color-disabled - ); - --spectrum-button-border-color-disabled: var( - --system-spectrum-button-negative-outline-border-color-disabled - ); - --spectrum-button-content-color-disabled: var( - --system-spectrum-button-negative-outline-content-color-disabled - ); -} - -:host([variant='primary']) { - --spectrum-button-background-color-default: var( - --system-spectrum-button-primary-background-color-default - ); - --spectrum-button-background-color-hover: var( - --system-spectrum-button-primary-background-color-hover - ); - --spectrum-button-background-color-down: var( - --system-spectrum-button-primary-background-color-down - ); - --spectrum-button-background-color-focus: var( - --system-spectrum-button-primary-background-color-focus - ); - --spectrum-button-border-color-default: var( - --system-spectrum-button-primary-border-color-default - ); - --spectrum-button-border-color-hover: var( - --system-spectrum-button-primary-border-color-hover - ); - --spectrum-button-border-color-down: var( - --system-spectrum-button-primary-border-color-down - ); - --spectrum-button-border-color-focus: var( - --system-spectrum-button-primary-border-color-focus - ); - --spectrum-button-content-color-default: var( - --system-spectrum-button-primary-content-color-default - ); - --spectrum-button-content-color-hover: var( - --system-spectrum-button-primary-content-color-hover - ); - --spectrum-button-content-color-down: var( - --system-spectrum-button-primary-content-color-down - ); - --spectrum-button-content-color-focus: var( - --system-spectrum-button-primary-content-color-focus - ); - --spectrum-button-background-color-disabled: var( - --system-spectrum-button-primary-background-color-disabled - ); - --spectrum-button-border-color-disabled: var( - --system-spectrum-button-primary-border-color-disabled - ); - --spectrum-button-content-color-disabled: var( - --system-spectrum-button-primary-content-color-disabled - ); -} - -:host([variant='primary'][treatment='outline']) { - --spectrum-button-background-color-default: var( - --system-spectrum-button-primary-outline-background-color-default - ); - --spectrum-button-background-color-hover: var( - --system-spectrum-button-primary-outline-background-color-hover - ); - --spectrum-button-background-color-down: var( - --system-spectrum-button-primary-outline-background-color-down - ); - --spectrum-button-background-color-focus: var( - --system-spectrum-button-primary-outline-background-color-focus - ); - --spectrum-button-border-color-default: var( - --system-spectrum-button-primary-outline-border-color-default - ); - --spectrum-button-border-color-hover: var( - --system-spectrum-button-primary-outline-border-color-hover - ); - --spectrum-button-border-color-down: var( - --system-spectrum-button-primary-outline-border-color-down - ); - --spectrum-button-border-color-focus: var( - --system-spectrum-button-primary-outline-border-color-focus - ); - --spectrum-button-content-color-default: var( - --system-spectrum-button-primary-outline-content-color-default - ); - --spectrum-button-content-color-hover: var( - --system-spectrum-button-primary-outline-content-color-hover - ); - --spectrum-button-content-color-down: var( - --system-spectrum-button-primary-outline-content-color-down - ); - --spectrum-button-content-color-focus: var( - --system-spectrum-button-primary-outline-content-color-focus - ); - --spectrum-button-background-color-disabled: var( - --system-spectrum-button-primary-outline-background-color-disabled - ); - --spectrum-button-border-color-disabled: var( - --system-spectrum-button-primary-outline-border-color-disabled - ); - --spectrum-button-content-color-disabled: var( - --system-spectrum-button-primary-outline-content-color-disabled - ); -} - -:host([variant='secondary']) { - --spectrum-button-background-color-default: var( - --system-spectrum-button-secondary-background-color-default - ); - --spectrum-button-background-color-hover: var( - --system-spectrum-button-secondary-background-color-hover - ); - --spectrum-button-background-color-down: var( - --system-spectrum-button-secondary-background-color-down - ); - --spectrum-button-background-color-focus: var( - --system-spectrum-button-secondary-background-color-focus - ); - --spectrum-button-border-color-default: var( - --system-spectrum-button-secondary-border-color-default - ); - --spectrum-button-border-color-hover: var( - --system-spectrum-button-secondary-border-color-hover - ); - --spectrum-button-border-color-down: var( - --system-spectrum-button-secondary-border-color-down - ); - --spectrum-button-border-color-focus: var( - --system-spectrum-button-secondary-border-color-focus - ); - --spectrum-button-content-color-default: var( - --system-spectrum-button-secondary-content-color-default - ); - --spectrum-button-content-color-hover: var( - --system-spectrum-button-secondary-content-color-hover - ); - --spectrum-button-content-color-down: var( - --system-spectrum-button-secondary-content-color-down - ); - --spectrum-button-content-color-focus: var( - --system-spectrum-button-secondary-content-color-focus - ); - --spectrum-button-background-color-disabled: var( - --system-spectrum-button-secondary-background-color-disabled - ); - --spectrum-button-border-color-disabled: var( - --system-spectrum-button-secondary-border-color-disabled - ); - --spectrum-button-content-color-disabled: var( - --system-spectrum-button-secondary-content-color-disabled - ); -} - -:host([variant='secondary'][treatment='outline']) { - --spectrum-button-background-color-default: var( - --system-spectrum-button-secondary-outline-background-color-default - ); - --spectrum-button-background-color-hover: var( - --system-spectrum-button-secondary-outline-background-color-hover - ); - --spectrum-button-background-color-down: var( - --system-spectrum-button-secondary-outline-background-color-down - ); - --spectrum-button-background-color-focus: var( - --system-spectrum-button-secondary-outline-background-color-focus - ); - --spectrum-button-border-color-default: var( - --system-spectrum-button-secondary-outline-border-color-default - ); - --spectrum-button-border-color-hover: var( - --system-spectrum-button-secondary-outline-border-color-hover - ); - --spectrum-button-border-color-down: var( - --system-spectrum-button-secondary-outline-border-color-down - ); - --spectrum-button-border-color-focus: var( - --system-spectrum-button-secondary-outline-border-color-focus - ); - --spectrum-button-content-color-default: var( - --system-spectrum-button-secondary-outline-content-color-default - ); - --spectrum-button-content-color-hover: var( - --system-spectrum-button-secondary-outline-content-color-hover - ); - --spectrum-button-content-color-down: var( - --system-spectrum-button-secondary-outline-content-color-down - ); - --spectrum-button-content-color-focus: var( - --system-spectrum-button-secondary-outline-content-color-focus - ); - --spectrum-button-background-color-disabled: var( - --system-spectrum-button-secondary-outline-background-color-disabled - ); - --spectrum-button-border-color-disabled: var( - --system-spectrum-button-secondary-outline-border-color-disabled - ); - --spectrum-button-content-color-disabled: var( - --system-spectrum-button-secondary-outline-content-color-disabled - ); -} - -:host([quiet]) { - --spectrum-button-background-color-default: var( - --system-spectrum-button-quiet-background-color-default - ); - --spectrum-button-background-color-hover: var( - --system-spectrum-button-quiet-background-color-hover - ); - --spectrum-button-background-color-down: var( - --system-spectrum-button-quiet-background-color-down - ); - --spectrum-button-background-color-focus: var( - --system-spectrum-button-quiet-background-color-focus - ); - --spectrum-button-border-color-default: var( - --system-spectrum-button-quiet-border-color-default - ); - --spectrum-button-border-color-hover: var( - --system-spectrum-button-quiet-border-color-hover - ); - --spectrum-button-border-color-down: var( - --system-spectrum-button-quiet-border-color-down - ); - --spectrum-button-border-color-focus: var( - --system-spectrum-button-quiet-border-color-focus - ); - --spectrum-button-background-color-disabled: var( - --system-spectrum-button-quiet-background-color-disabled - ); - --spectrum-button-border-color-disabled: var( - --system-spectrum-button-quiet-border-color-disabled - ); -} - -:host([selected]) { - --spectrum-button-background-color-default: var( - --system-spectrum-button-selected-background-color-default - ); - --spectrum-button-background-color-hover: var( - --system-spectrum-button-selected-background-color-hover - ); - --spectrum-button-background-color-down: var( - --system-spectrum-button-selected-background-color-down - ); - --spectrum-button-background-color-focus: var( - --system-spectrum-button-selected-background-color-focus - ); - --spectrum-button-border-color-default: var( - --system-spectrum-button-selected-border-color-default - ); - --spectrum-button-border-color-hover: var( - --system-spectrum-button-selected-border-color-hover - ); - --spectrum-button-border-color-down: var( - --system-spectrum-button-selected-border-color-down - ); - --spectrum-button-border-color-focus: var( - --system-spectrum-button-selected-border-color-focus - ); - --spectrum-button-content-color-default: var( - --system-spectrum-button-selected-content-color-default - ); - --spectrum-button-content-color-hover: var( - --system-spectrum-button-selected-content-color-hover - ); - --spectrum-button-content-color-down: var( - --system-spectrum-button-selected-content-color-down - ); - --spectrum-button-content-color-focus: var( - --system-spectrum-button-selected-content-color-focus - ); - --spectrum-button-background-color-disabled: var( - --system-spectrum-button-selected-background-color-disabled - ); - --spectrum-button-border-color-disabled: var( - --system-spectrum-button-selected-border-color-disabled - ); -} - -:host([selected][emphasized]) { - --spectrum-button-background-color-default: var( - --system-spectrum-button-selected-emphasized-background-color-default - ); - --spectrum-button-background-color-hover: var( - --system-spectrum-button-selected-emphasized-background-color-hover - ); - --spectrum-button-background-color-down: var( - --system-spectrum-button-selected-emphasized-background-color-down - ); - --spectrum-button-background-color-focus: var( - --system-spectrum-button-selected-emphasized-background-color-focus - ); -} - -:host([static-color='black'][quiet]) { - --spectrum-button-border-color-default: var( - --system-spectrum-button-staticblack-quiet-border-color-default - ); - --spectrum-button-border-color-hover: var( - --system-spectrum-button-staticblack-quiet-border-color-hover - ); - --spectrum-button-border-color-down: var( - --system-spectrum-button-staticblack-quiet-border-color-down - ); - --spectrum-button-border-color-focus: var( - --system-spectrum-button-staticblack-quiet-border-color-focus - ); - --spectrum-button-border-color-disabled: var( - --system-spectrum-button-staticblack-quiet-border-color-disabled - ); -} - -:host([static-color='white'][quiet]) { - --spectrum-button-border-color-default: var( - --system-spectrum-button-staticwhite-quiet-border-color-default - ); - --spectrum-button-border-color-hover: var( - --system-spectrum-button-staticwhite-quiet-border-color-hover - ); - --spectrum-button-border-color-down: var( - --system-spectrum-button-staticwhite-quiet-border-color-down - ); - --spectrum-button-border-color-focus: var( - --system-spectrum-button-staticwhite-quiet-border-color-focus - ); - --spectrum-button-border-color-disabled: var( - --system-spectrum-button-staticwhite-quiet-border-color-disabled - ); -} - -:host([static-color='white']) { - --spectrum-button-background-color-default: var( - --system-spectrum-button-staticwhite-background-color-default - ); - --spectrum-button-background-color-hover: var( - --system-spectrum-button-staticwhite-background-color-hover - ); - --spectrum-button-background-color-down: var( - --system-spectrum-button-staticwhite-background-color-down - ); - --spectrum-button-background-color-focus: var( - --system-spectrum-button-staticwhite-background-color-focus - ); - --spectrum-button-border-color-default: var( - --system-spectrum-button-staticwhite-border-color-default - ); - --spectrum-button-border-color-hover: var( - --system-spectrum-button-staticwhite-border-color-hover - ); - --spectrum-button-border-color-down: var( - --system-spectrum-button-staticwhite-border-color-down - ); - --spectrum-button-border-color-focus: var( - --system-spectrum-button-staticwhite-border-color-focus - ); - --spectrum-button-content-color-default: var( - --system-spectrum-button-staticwhite-content-color-default - ); - --spectrum-button-content-color-hover: var( - --system-spectrum-button-staticwhite-content-color-hover - ); - --spectrum-button-content-color-down: var( - --system-spectrum-button-staticwhite-content-color-down - ); - --spectrum-button-content-color-focus: var( - --system-spectrum-button-staticwhite-content-color-focus - ); - --spectrum-button-focus-indicator-color: var( - --system-spectrum-button-staticwhite-focus-indicator-color - ); - --spectrum-button-background-color-disabled: var( - --system-spectrum-button-staticwhite-background-color-disabled - ); - --spectrum-button-border-color-disabled: var( - --system-spectrum-button-staticwhite-border-color-disabled - ); - --spectrum-button-content-color-disabled: var( - --system-spectrum-button-staticwhite-content-color-disabled - ); -} - -:host([static-color='white'][treatment='outline']) { - --spectrum-button-background-color-default: var( - --system-spectrum-button-staticwhite-outline-background-color-default - ); - --spectrum-button-background-color-hover: var( - --system-spectrum-button-staticwhite-outline-background-color-hover - ); - --spectrum-button-background-color-down: var( - --system-spectrum-button-staticwhite-outline-background-color-down - ); - --spectrum-button-background-color-focus: var( - --system-spectrum-button-staticwhite-outline-background-color-focus - ); - --spectrum-button-border-color-default: var( - --system-spectrum-button-staticwhite-outline-border-color-default - ); - --spectrum-button-border-color-hover: var( - --system-spectrum-button-staticwhite-outline-border-color-hover - ); - --spectrum-button-border-color-down: var( - --system-spectrum-button-staticwhite-outline-border-color-down - ); - --spectrum-button-border-color-focus: var( - --system-spectrum-button-staticwhite-outline-border-color-focus - ); - --spectrum-button-content-color-default: var( - --system-spectrum-button-staticwhite-outline-content-color-default - ); - --spectrum-button-content-color-hover: var( - --system-spectrum-button-staticwhite-outline-content-color-hover - ); - --spectrum-button-content-color-down: var( - --system-spectrum-button-staticwhite-outline-content-color-down - ); - --spectrum-button-content-color-focus: var( - --system-spectrum-button-staticwhite-outline-content-color-focus - ); - --spectrum-button-focus-indicator-color: var( - --system-spectrum-button-staticwhite-outline-focus-indicator-color - ); - --spectrum-button-background-color-disabled: var( - --system-spectrum-button-staticwhite-outline-background-color-disabled - ); - --spectrum-button-border-color-disabled: var( - --system-spectrum-button-staticwhite-outline-border-color-disabled - ); - --spectrum-button-content-color-disabled: var( - --system-spectrum-button-staticwhite-outline-content-color-disabled - ); -} - -:host([static-color='white'][selected]) { - --spectrum-button-background-color-default: var( - --system-spectrum-button-staticwhite-selected-background-color-default - ); - --spectrum-button-background-color-hover: var( - --system-spectrum-button-staticwhite-selected-background-color-hover - ); - --spectrum-button-background-color-down: var( - --system-spectrum-button-staticwhite-selected-background-color-down - ); - --spectrum-button-background-color-focus: var( - --system-spectrum-button-staticwhite-selected-background-color-focus - ); - --spectrum-button-content-color-default: var( - --mod-button-static-content-color, - var(--system-spectrum-button-staticwhite-selected-content-color-default) - ); - --spectrum-button-content-color-hover: var( - --mod-button-static-content-color, - var(--system-spectrum-button-staticwhite-selected-content-color-hover) - ); - --spectrum-button-content-color-down: var( - --mod-button-static-content-color, - var(--system-spectrum-button-staticwhite-selected-content-color-down) - ); - --spectrum-button-content-color-focus: var( - --mod-button-static-content-color, - var(--system-spectrum-button-staticwhite-selected-content-color-focus) - ); - --spectrum-button-background-color-disabled: var( - --system-spectrum-button-staticwhite-selected-background-color-disabled - ); - --spectrum-button-border-color-disabled: var( - --system-spectrum-button-staticwhite-selected-border-color-disabled - ); -} - -:host([static-color='white'][variant='secondary']) { - --spectrum-button-background-color-default: var( - --system-spectrum-button-staticwhite-secondary-background-color-default - ); - --spectrum-button-background-color-hover: var( - --system-spectrum-button-staticwhite-secondary-background-color-hover - ); - --spectrum-button-background-color-down: var( - --system-spectrum-button-staticwhite-secondary-background-color-down - ); - --spectrum-button-background-color-focus: var( - --system-spectrum-button-staticwhite-secondary-background-color-focus - ); - --spectrum-button-border-color-default: var( - --system-spectrum-button-staticwhite-secondary-border-color-default - ); - --spectrum-button-border-color-hover: var( - --system-spectrum-button-staticwhite-secondary-border-color-hover - ); - --spectrum-button-border-color-down: var( - --system-spectrum-button-staticwhite-secondary-border-color-down - ); - --spectrum-button-border-color-focus: var( - --system-spectrum-button-staticwhite-secondary-border-color-focus - ); - --spectrum-button-content-color-default: var( - --system-spectrum-button-staticwhite-secondary-content-color-default - ); - --spectrum-button-content-color-hover: var( - --system-spectrum-button-staticwhite-secondary-content-color-hover - ); - --spectrum-button-content-color-down: var( - --system-spectrum-button-staticwhite-secondary-content-color-down - ); - --spectrum-button-content-color-focus: var( - --system-spectrum-button-staticwhite-secondary-content-color-focus - ); - --spectrum-button-focus-indicator-color: var( - --system-spectrum-button-staticwhite-secondary-focus-indicator-color - ); - --spectrum-button-background-color-disabled: var( - --system-spectrum-button-staticwhite-secondary-background-color-disabled - ); - --spectrum-button-border-color-disabled: var( - --system-spectrum-button-staticwhite-secondary-border-color-disabled - ); - --spectrum-button-content-color-disabled: var( - --system-spectrum-button-staticwhite-secondary-content-color-disabled - ); -} - -:host([static-color='white'][variant='secondary'][treatment='outline']) { - --spectrum-button-background-color-default: var( - --system-spectrum-button-staticwhite-secondary-outline-background-color-default - ); - --spectrum-button-background-color-hover: var( - --system-spectrum-button-staticwhite-secondary-outline-background-color-hover - ); - --spectrum-button-background-color-down: var( - --system-spectrum-button-staticwhite-secondary-outline-background-color-down - ); - --spectrum-button-background-color-focus: var( - --system-spectrum-button-staticwhite-secondary-outline-background-color-focus - ); - --spectrum-button-border-color-default: var( - --system-spectrum-button-staticwhite-secondary-outline-border-color-default - ); - --spectrum-button-border-color-hover: var( - --system-spectrum-button-staticwhite-secondary-outline-border-color-hover - ); - --spectrum-button-border-color-down: var( - --system-spectrum-button-staticwhite-secondary-outline-border-color-down - ); - --spectrum-button-border-color-focus: var( - --system-spectrum-button-staticwhite-secondary-outline-border-color-focus - ); - --spectrum-button-content-color-default: var( - --system-spectrum-button-staticwhite-secondary-outline-content-color-default - ); - --spectrum-button-content-color-hover: var( - --system-spectrum-button-staticwhite-secondary-outline-content-color-hover - ); - --spectrum-button-content-color-down: var( - --system-spectrum-button-staticwhite-secondary-outline-content-color-down - ); - --spectrum-button-content-color-focus: var( - --system-spectrum-button-staticwhite-secondary-outline-content-color-focus - ); - --spectrum-button-focus-indicator-color: var( - --system-spectrum-button-staticwhite-secondary-outline-focus-indicator-color - ); - --spectrum-button-background-color-disabled: var( - --system-spectrum-button-staticwhite-secondary-outline-background-color-disabled - ); - --spectrum-button-border-color-disabled: var( - --system-spectrum-button-staticwhite-secondary-outline-border-color-disabled - ); - --spectrum-button-content-color-disabled: var( - --system-spectrum-button-staticwhite-secondary-outline-content-color-disabled - ); -} - -:host([static-color='black']) { - --spectrum-button-background-color-default: var( - --system-spectrum-button-staticblack-background-color-default - ); - --spectrum-button-background-color-hover: var( - --system-spectrum-button-staticblack-background-color-hover - ); - --spectrum-button-background-color-down: var( - --system-spectrum-button-staticblack-background-color-down - ); - --spectrum-button-background-color-focus: var( - --system-spectrum-button-staticblack-background-color-focus - ); - --spectrum-button-border-color-default: var( - --system-spectrum-button-staticblack-border-color-default - ); - --spectrum-button-border-color-hover: var( - --system-spectrum-button-staticblack-border-color-hover - ); - --spectrum-button-border-color-down: var( - --system-spectrum-button-staticblack-border-color-down - ); - --spectrum-button-border-color-focus: var( - --system-spectrum-button-staticblack-border-color-focus - ); - --spectrum-button-content-color-default: var( - --system-spectrum-button-staticblack-content-color-default - ); - --spectrum-button-content-color-hover: var( - --system-spectrum-button-staticblack-content-color-hover - ); - --spectrum-button-content-color-down: var( - --system-spectrum-button-staticblack-content-color-down - ); - --spectrum-button-content-color-focus: var( - --system-spectrum-button-staticblack-content-color-focus - ); - --spectrum-button-focus-indicator-color: var( - --system-spectrum-button-staticblack-focus-indicator-color - ); - --spectrum-button-background-color-disabled: var( - --system-spectrum-button-staticblack-background-color-disabled - ); - --spectrum-button-border-color-disabled: var( - --system-spectrum-button-staticblack-border-color-disabled - ); - --spectrum-button-content-color-disabled: var( - --system-spectrum-button-staticblack-content-color-disabled - ); -} - -:host([static-color='black'][treatment='outline']) { - --spectrum-button-background-color-default: var( - --system-spectrum-button-staticblack-outline-background-color-default - ); - --spectrum-button-background-color-hover: var( - --system-spectrum-button-staticblack-outline-background-color-hover - ); - --spectrum-button-background-color-down: var( - --system-spectrum-button-staticblack-outline-background-color-down - ); - --spectrum-button-background-color-focus: var( - --system-spectrum-button-staticblack-outline-background-color-focus - ); - --spectrum-button-border-color-default: var( - --system-spectrum-button-staticblack-outline-border-color-default - ); - --spectrum-button-border-color-hover: var( - --system-spectrum-button-staticblack-outline-border-color-hover - ); - --spectrum-button-border-color-down: var( - --system-spectrum-button-staticblack-outline-border-color-down - ); - --spectrum-button-border-color-focus: var( - --system-spectrum-button-staticblack-outline-border-color-focus - ); - --spectrum-button-content-color-default: var( - --system-spectrum-button-staticblack-outline-content-color-default - ); - --spectrum-button-content-color-hover: var( - --system-spectrum-button-staticblack-outline-content-color-hover - ); - --spectrum-button-content-color-down: var( - --system-spectrum-button-staticblack-outline-content-color-down - ); - --spectrum-button-content-color-focus: var( - --system-spectrum-button-staticblack-outline-content-color-focus - ); - --spectrum-button-focus-indicator-color: var( - --system-spectrum-button-staticblack-outline-focus-indicator-color - ); - --spectrum-button-background-color-disabled: var( - --system-spectrum-button-staticblack-outline-background-color-disabled - ); - --spectrum-button-border-color-disabled: var( - --system-spectrum-button-staticblack-outline-border-color-disabled - ); - --spectrum-button-content-color-disabled: var( - --system-spectrum-button-staticblack-outline-content-color-disabled - ); -} - -:host([static-color='black'][variant='secondary']) { - --spectrum-button-background-color-default: var( - --system-spectrum-button-staticblack-secondary-background-color-default - ); - --spectrum-button-background-color-hover: var( - --system-spectrum-button-staticblack-secondary-background-color-hover - ); - --spectrum-button-background-color-down: var( - --system-spectrum-button-staticblack-secondary-background-color-down - ); - --spectrum-button-background-color-focus: var( - --system-spectrum-button-staticblack-secondary-background-color-focus - ); - --spectrum-button-border-color-default: var( - --system-spectrum-button-staticblack-secondary-border-color-default - ); - --spectrum-button-border-color-hover: var( - --system-spectrum-button-staticblack-secondary-border-color-hover - ); - --spectrum-button-border-color-down: var( - --system-spectrum-button-staticblack-secondary-border-color-down - ); - --spectrum-button-border-color-focus: var( - --system-spectrum-button-staticblack-secondary-border-color-focus - ); - --spectrum-button-content-color-default: var( - --system-spectrum-button-staticblack-secondary-content-color-default - ); - --spectrum-button-content-color-hover: var( - --system-spectrum-button-staticblack-secondary-content-color-hover - ); - --spectrum-button-content-color-down: var( - --system-spectrum-button-staticblack-secondary-content-color-down - ); - --spectrum-button-content-color-focus: var( - --system-spectrum-button-staticblack-secondary-content-color-focus - ); - --spectrum-button-focus-indicator-color: var( - --system-spectrum-button-staticblack-secondary-focus-indicator-color - ); - --spectrum-button-background-color-disabled: var( - --system-spectrum-button-staticblack-secondary-background-color-disabled - ); - --spectrum-button-border-color-disabled: var( - --system-spectrum-button-staticblack-secondary-border-color-disabled - ); - --spectrum-button-content-color-disabled: var( - --system-spectrum-button-staticblack-secondary-content-color-disabled - ); -} - -:host([static-color='black'][variant='secondary'][treatment='outline']) { - --spectrum-button-background-color-default: var( - --system-spectrum-button-staticblack-secondary-outline-background-color-default - ); - --spectrum-button-background-color-hover: var( - --system-spectrum-button-staticblack-secondary-outline-background-color-hover - ); - --spectrum-button-background-color-down: var( - --system-spectrum-button-staticblack-secondary-outline-background-color-down - ); - --spectrum-button-background-color-focus: var( - --system-spectrum-button-staticblack-secondary-outline-background-color-focus - ); - --spectrum-button-border-color-default: var( - --system-spectrum-button-staticblack-secondary-outline-border-color-default - ); - --spectrum-button-border-color-hover: var( - --system-spectrum-button-staticblack-secondary-outline-border-color-hover - ); - --spectrum-button-border-color-down: var( - --system-spectrum-button-staticblack-secondary-outline-border-color-down - ); - --spectrum-button-border-color-focus: var( - --system-spectrum-button-staticblack-secondary-outline-border-color-focus - ); - --spectrum-button-content-color-default: var( - --system-spectrum-button-staticblack-secondary-outline-content-color-default - ); - --spectrum-button-content-color-hover: var( - --system-spectrum-button-staticblack-secondary-outline-content-color-hover - ); - --spectrum-button-content-color-down: var( - --system-spectrum-button-staticblack-secondary-outline-content-color-down - ); - --spectrum-button-content-color-focus: var( - --system-spectrum-button-staticblack-secondary-outline-content-color-focus - ); - --spectrum-button-focus-indicator-color: var( - --system-spectrum-button-staticblack-secondary-outline-focus-indicator-color - ); - --spectrum-button-background-color-disabled: var( - --system-spectrum-button-staticblack-secondary-outline-background-color-disabled - ); - --spectrum-button-border-color-disabled: var( - --system-spectrum-button-staticblack-secondary-outline-border-color-disabled - ); - --spectrum-button-content-color-disabled: var( - --system-spectrum-button-staticblack-secondary-outline-content-color-disabled - ); -} diff --git a/packages/button/src/spectrum-config.js b/packages/button/src/spectrum-config.js index b817c9cd23..31de671446 100644 --- a/packages/button/src/spectrum-config.js +++ b/packages/button/src/spectrum-config.js @@ -27,6 +27,7 @@ const config = { inPackage: '@spectrum-css/button', outPackage: 'button', fileName: 'button', + systemOverrides: true, excludeByComponents: [ builder.element('a'), { diff --git a/packages/button/stories/button-accent-fill.stories.ts b/packages/button/stories/button-accent-fill.stories.ts index e5a1a1423a..b66e39de40 100644 --- a/packages/button/stories/button-accent-fill.stories.ts +++ b/packages/button/stories/button-accent-fill.stories.ts @@ -12,7 +12,6 @@ governing permissions and limitations under the License. import { TemplateResult } from '@spectrum-web-components/base'; import { renderButtonSet, - renderIconSizeOverridden, renderLink, renderLinkWithTarget, renderMinWidthButton, @@ -46,9 +45,6 @@ export const withIcon = (props: Properties): TemplateResult => export const withIconOnly = (props: Properties): TemplateResult => renderWithIconOnly(props); -export const iconSizeOverridden = (): TemplateResult => - renderIconSizeOverridden(variant, treatment); - export const minWidthButton = (props: Properties): TemplateResult => renderMinWidthButton(props); diff --git a/packages/button/stories/button-accent-outline.stories.ts b/packages/button/stories/button-accent-outline.stories.ts index fd76d5abbf..afd425e6da 100644 --- a/packages/button/stories/button-accent-outline.stories.ts +++ b/packages/button/stories/button-accent-outline.stories.ts @@ -12,7 +12,6 @@ governing permissions and limitations under the License. import { TemplateResult } from '@spectrum-web-components/base'; import { renderButtonSet, - renderIconSizeOverridden, renderLink, renderLinkWithTarget, renderMinWidthButton, @@ -46,9 +45,6 @@ export const withIcon = (props: Properties): TemplateResult => export const withIconOnly = (props: Properties): TemplateResult => renderWithIconOnly(props); -export const iconSizeOverridden = (): TemplateResult => - renderIconSizeOverridden(variant, treatment); - export const minWidthButton = (props: Properties): TemplateResult => renderMinWidthButton(props); diff --git a/packages/button/stories/button-black-fill.stories.ts b/packages/button/stories/button-black-fill.stories.ts index 55b608a582..f56aee7708 100644 --- a/packages/button/stories/button-black-fill.stories.ts +++ b/packages/button/stories/button-black-fill.stories.ts @@ -13,7 +13,6 @@ import { TemplateResult } from '@spectrum-web-components/base'; import { makeOverBackground, renderButtonSet, - renderIconSizeOverridden, renderLink, renderLinkWithTarget, renderMinWidthButton, @@ -48,9 +47,6 @@ export const withIcon = (props: Properties): TemplateResult => export const withIconOnly = (props: Properties): TemplateResult => renderWithIconOnly(props); -export const iconSizeOverridden = (): TemplateResult => - renderIconSizeOverridden(variant, treatment); - export const minWidthButton = (props: Properties): TemplateResult => renderMinWidthButton(props); diff --git a/packages/button/stories/button-black-outline.stories.ts b/packages/button/stories/button-black-outline.stories.ts index 366009d3cf..9cef7e00fa 100644 --- a/packages/button/stories/button-black-outline.stories.ts +++ b/packages/button/stories/button-black-outline.stories.ts @@ -13,7 +13,6 @@ import { TemplateResult } from '@spectrum-web-components/base'; import { makeOverBackground, renderButtonSet, - renderIconSizeOverridden, renderLink, renderLinkWithTarget, renderMinWidthButton, @@ -48,9 +47,6 @@ export const withIcon = (props: Properties): TemplateResult => export const withIconOnly = (props: Properties): TemplateResult => renderWithIconOnly(props); -export const iconSizeOverridden = (): TemplateResult => - renderIconSizeOverridden(variant, treatment); - export const minWidthButton = (props: Properties): TemplateResult => renderMinWidthButton(props); diff --git a/packages/button/stories/button-negative-fill.stories.ts b/packages/button/stories/button-negative-fill.stories.ts index 67368220b2..e6d0da54be 100644 --- a/packages/button/stories/button-negative-fill.stories.ts +++ b/packages/button/stories/button-negative-fill.stories.ts @@ -12,7 +12,6 @@ governing permissions and limitations under the License. import { TemplateResult } from '@spectrum-web-components/base'; import { renderButtonSet, - renderIconSizeOverridden, renderLink, renderLinkWithTarget, renderMinWidthButton, @@ -46,9 +45,6 @@ export const withIcon = (props: Properties): TemplateResult => export const withIconOnly = (props: Properties): TemplateResult => renderWithIconOnly(props); -export const iconSizeOverridden = (): TemplateResult => - renderIconSizeOverridden(variant, treatment); - export const minWidthButton = (props: Properties): TemplateResult => renderMinWidthButton(props); diff --git a/packages/button/stories/button-negative-outline.stories.ts b/packages/button/stories/button-negative-outline.stories.ts index 6c2999f9f7..325cc115dd 100644 --- a/packages/button/stories/button-negative-outline.stories.ts +++ b/packages/button/stories/button-negative-outline.stories.ts @@ -12,7 +12,6 @@ governing permissions and limitations under the License. import { TemplateResult } from '@spectrum-web-components/base'; import { renderButtonSet, - renderIconSizeOverridden, renderLink, renderLinkWithTarget, renderMinWidthButton, @@ -46,9 +45,6 @@ export const withIcon = (props: Properties): TemplateResult => export const withIconOnly = (props: Properties): TemplateResult => renderWithIconOnly(props); -export const iconSizeOverridden = (): TemplateResult => - renderIconSizeOverridden(variant, treatment); - export const minWidthButton = (props: Properties): TemplateResult => renderMinWidthButton(props); diff --git a/packages/button/stories/button-primary-fill.stories.ts b/packages/button/stories/button-primary-fill.stories.ts index 172128f62b..f1b4393a2c 100644 --- a/packages/button/stories/button-primary-fill.stories.ts +++ b/packages/button/stories/button-primary-fill.stories.ts @@ -13,7 +13,6 @@ import { html, TemplateResult } from '@spectrum-web-components/base'; import { renderButton, renderButtonSet, - renderIconSizeOverridden, renderLink, renderLinkWithTarget, renderMinWidthButton, @@ -47,9 +46,6 @@ export const withIcon = (props: Properties): TemplateResult => export const withIconOnly = (props: Properties): TemplateResult => renderWithIconOnly(props); -export const iconSizeOverridden = (): TemplateResult => - renderIconSizeOverridden(variant, treatment); - export const minWidthButton = (props: Properties): TemplateResult => renderMinWidthButton(props); diff --git a/packages/button/stories/button-primary-outline.stories.ts b/packages/button/stories/button-primary-outline.stories.ts index 6476ede7e1..dd23854ce9 100644 --- a/packages/button/stories/button-primary-outline.stories.ts +++ b/packages/button/stories/button-primary-outline.stories.ts @@ -12,7 +12,6 @@ governing permissions and limitations under the License. import { TemplateResult } from '@spectrum-web-components/base'; import { renderButtonSet, - renderIconSizeOverridden, renderLink, renderLinkWithTarget, renderMinWidthButton, @@ -46,9 +45,6 @@ export const withIcon = (props: Properties): TemplateResult => export const withIconOnly = (props: Properties): TemplateResult => renderWithIconOnly(props); -export const iconSizeOverridden = (): TemplateResult => - renderIconSizeOverridden(variant, treatment); - export const minWidthButton = (props: Properties): TemplateResult => renderMinWidthButton(props); diff --git a/packages/button/stories/button-secondary-fill.stories.ts b/packages/button/stories/button-secondary-fill.stories.ts index bcd889411c..7a29477017 100644 --- a/packages/button/stories/button-secondary-fill.stories.ts +++ b/packages/button/stories/button-secondary-fill.stories.ts @@ -12,7 +12,6 @@ governing permissions and limitations under the License. import { TemplateResult } from '@spectrum-web-components/base'; import { renderButtonSet, - renderIconSizeOverridden, renderLink, renderLinkWithTarget, renderMinWidthButton, @@ -46,9 +45,6 @@ export const withIcon = (props: Properties): TemplateResult => export const withIconOnly = (props: Properties): TemplateResult => renderWithIconOnly(props); -export const iconSizeOverridden = (): TemplateResult => - renderIconSizeOverridden(variant, treatment); - export const minWidthButton = (props: Properties): TemplateResult => renderMinWidthButton(props); diff --git a/packages/button/stories/button-secondary-outline.stories.ts b/packages/button/stories/button-secondary-outline.stories.ts index 81cd8a11b5..2293dcca8e 100644 --- a/packages/button/stories/button-secondary-outline.stories.ts +++ b/packages/button/stories/button-secondary-outline.stories.ts @@ -12,7 +12,6 @@ governing permissions and limitations under the License. import { TemplateResult } from '@spectrum-web-components/base'; import { renderButtonSet, - renderIconSizeOverridden, renderLink, renderLinkWithTarget, renderMinWidthButton, @@ -46,9 +45,6 @@ export const withIcon = (props: Properties): TemplateResult => export const withIconOnly = (props: Properties): TemplateResult => renderWithIconOnly(props); -export const iconSizeOverridden = (): TemplateResult => - renderIconSizeOverridden(variant, treatment); - export const minWidthButton = (props: Properties): TemplateResult => renderMinWidthButton(props); diff --git a/packages/button/stories/button-white-fill.stories.ts b/packages/button/stories/button-white-fill.stories.ts index bd6e0bf1d1..22406c2814 100644 --- a/packages/button/stories/button-white-fill.stories.ts +++ b/packages/button/stories/button-white-fill.stories.ts @@ -13,7 +13,6 @@ import { TemplateResult } from '@spectrum-web-components/base'; import { makeOverBackground, renderButtonSet, - renderIconSizeOverridden, renderLink, renderLinkWithTarget, renderMinWidthButton, @@ -48,9 +47,6 @@ export const withIcon = (props: Properties): TemplateResult => export const withIconOnly = (props: Properties): TemplateResult => renderWithIconOnly(props); -export const iconSizeOverridden = (): TemplateResult => - renderIconSizeOverridden(variant, treatment); - export const minWidthButton = (props: Properties): TemplateResult => renderMinWidthButton(props); diff --git a/packages/button/stories/button-white-outline.stories.ts b/packages/button/stories/button-white-outline.stories.ts index d9166a5c22..6f2c119415 100644 --- a/packages/button/stories/button-white-outline.stories.ts +++ b/packages/button/stories/button-white-outline.stories.ts @@ -13,7 +13,6 @@ import { TemplateResult } from '@spectrum-web-components/base'; import { makeOverBackground, renderButtonSet, - renderIconSizeOverridden, renderLink, renderLinkWithTarget, renderMinWidthButton, @@ -48,9 +47,6 @@ export const withIcon = (props: Properties): TemplateResult => export const withIconOnly = (props: Properties): TemplateResult => renderWithIconOnly(props); -export const iconSizeOverridden = (): TemplateResult => - renderIconSizeOverridden(variant, treatment); - export const minWidthButton = (props: Properties): TemplateResult => renderMinWidthButton(props); diff --git a/packages/button/stories/index.ts b/packages/button/stories/index.ts index 4238d80cc0..9a7b9faa2b 100644 --- a/packages/button/stories/index.ts +++ b/packages/button/stories/index.ts @@ -15,10 +15,6 @@ import { ifDefined } from '@spectrum-web-components/base/src/directives.js'; import '@spectrum-web-components/button/sp-button.js'; import '@spectrum-web-components/icon/sp-icon.js'; import '@spectrum-web-components/icons-workflow/icons/sp-icon-help.js'; -import { - ButtonTreatments, - ButtonVariants, -} from '@spectrum-web-components/button/src/Button.js'; import type { Properties } from './template.js'; export type { Properties }; @@ -209,28 +205,6 @@ export const renderWithIconOnly = (props: Properties): TemplateResult => { `; }; -export const renderIconSizeOverridden = ( - variant: ButtonVariants, - treatment: ButtonTreatments -): TemplateResult => { - return html` - - Testing - -

For testing purposes only

-

- This is a test to ensure that sizing the icon will still work when - it's in the scope of a parent element. You shouldn't normally do - this as it deviates from the Spectrum design specification. -

- `; -}; - export const renderMinWidthButton = (props: Properties): TemplateResult => { return html` - - Show Popover - -
- - -
- A popover message -
- - Test 1 - - Test 2 - Test 3 -
-
- - Hover message - - - Other hover message - -
+ testDiv = await styledFixture(html` +
+ + + Show Popover + +
+ + +
+ A popover message +
+ + Test 1 + + Test 2 + Test 3 +
+
+ + Hover message + + + Other hover message +
- ` - ); +
+ `); await elementUpdated(testDiv); }); @@ -589,11 +583,9 @@ describe('Overlays', () => { it('opens detached content', async () => { const textContent = 'This is a detached element that has been overlaid'; - const el = await fixture( - html` - - ` - ); + const el = await fixture(html` + + `); const content = document.createElement('sp-popover'); content.textContent = textContent; diff --git a/packages/picker-button/README.md b/packages/picker-button/README.md index bf756a8c2f..c32b179f13 100644 --- a/packages/picker-button/README.md +++ b/packages/picker-button/README.md @@ -96,7 +96,7 @@ You can customize the icon in an `` by addressing a new icon t ### Rounded -When delivered as part of the `express` theme, an `` with the `rounded` attribute will be given deeply rounded corners: +When delivered as part of the `express` system, an `` with the `rounded` attribute will be given deeply rounded corners: ```html @@ -148,7 +148,7 @@ Leveraging the `disabled` attribute will dim the `` and alter ### Invalid -When delivered as part of the `spectrum` theme, an `` with the `invalid` attribute will be given a red border: +When delivered as part of the `spectrum` system, an `` with the `invalid` attribute will be given a red border: ```html diff --git a/packages/picker-button/package.json b/packages/picker-button/package.json index 50171cc335..13b7295174 100644 --- a/packages/picker-button/package.json +++ b/packages/picker-button/package.json @@ -33,6 +33,7 @@ "development": "./src/index.dev.js", "default": "./src/index.js" }, + "./src/picker-button-overrides.css.js": "./src/picker-button-overrides.css.js", "./src/picker-button.css.js": "./src/picker-button.css.js", "./sp-picker-button.js": { "development": "./sp-picker-button.dev.js", @@ -64,7 +65,7 @@ "@spectrum-web-components/shared": "^0.49.0" }, "devDependencies": { - "@spectrum-css/pickerbutton": "^5.1.0" + "@spectrum-css/pickerbutton": "^6.0.0-s2-foundations.16" }, "types": "./src/index.d.ts", "customElements": "custom-elements.json", diff --git a/packages/picker-button/src/PickerButton.ts b/packages/picker-button/src/PickerButton.ts index 9fa2e11305..63976f9e57 100644 --- a/packages/picker-button/src/PickerButton.ts +++ b/packages/picker-button/src/PickerButton.ts @@ -24,6 +24,7 @@ import { ObserveSlotPresence } from '@spectrum-web-components/shared/src/observe import styles from './picker-button.css.js'; import chevronStyles from '@spectrum-web-components/icon/src/spectrum-icon-chevron.css.js'; +import chevronIconOverrides from '@spectrum-web-components/icon/src/icon-chevron-overrides.css.js'; const chevronClass = { s: 'spectrum-UIIcon-ChevronDown75', @@ -39,7 +40,7 @@ export class PickerButton extends SizedMixin( ObserveSlotPresence(ButtonBase, '[slot="label"]') ) { public static override get styles(): CSSResultArray { - return [styles, chevronStyles]; + return [styles, chevronStyles, chevronIconOverrides]; } @property({ type: Boolean, reflect: true }) diff --git a/packages/picker-button/src/picker-button-overrides.css b/packages/picker-button/src/picker-button-overrides.css new file mode 100644 index 0000000000..5ef0a6e107 --- /dev/null +++ b/packages/picker-button/src/picker-button-overrides.css @@ -0,0 +1,158 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +.root { + --spectrum-picker-button-background-color: var( + --system-picker-button-background-color + ); + --spectrum-picker-button-background-color-hover: var( + --system-picker-button-background-color-hover + ); + --spectrum-picker-button-background-color-down: var( + --system-picker-button-background-color-down + ); + --spectrum-picker-button-background-color-key-focus: var( + --system-picker-button-background-color-key-focus + ); + --spectrum-picker-button-border-color: var( + --system-picker-button-border-color + ); + --spectrum-picker-button-border-radius: var( + --system-picker-button-border-radius + ); + --spectrum-picker-button-border-radius-rounded-sided: var( + --system-picker-button-border-radius-rounded-sided + ); + --spectrum-picker-button-border-radius-sided: var( + --system-picker-button-border-radius-sided + ); + --spectrum-picker-button-border-width: var( + --system-picker-button-border-width + ); + --spectrum-picker-button-height: var(--system-picker-button-height); + --spectrum-picker-button-width: var(--system-picker-button-width); + --spectrum-picker-button-gap: var(--system-picker-button-gap); + --spectrum-picker-button-padding: var(--system-picker-button-padding); + --spectrum-picker-button-label-padding: var( + --system-picker-button-label-padding + ); + --spectrum-picker-button-fill-padding: var( + --system-picker-button-fill-padding + ); + --spectrum-picker-button-border-radius-rounded: var( + --system-picker-button-border-radius-rounded + ); + --spectrum-picker-button-icon-color: var(--system-picker-button-icon-color); + --spectrum-picker-button-icon-color-hover: var( + --system-picker-button-icon-color-hover + ); + --spectrum-picker-button-icon-color-down: var( + --system-picker-button-icon-color-down + ); + --spectrum-picker-button-icon-color-key-focus: var( + --system-picker-button-icon-color-key-focus + ); + --spectrum-picker-button-font-color: var(--system-picker-button-font-color); + --spectrum-picker-button-font-color-hover: var( + --system-picker-button-font-color-hover + ); + --spectrum-picker-button-font-color-down: var( + --system-picker-button-font-color-down + ); + --spectrum-picker-button-font-color-key-focus: var( + --system-picker-button-font-color-key-focus + ); + --spectrum-picker-button-font-family: var( + --system-picker-button-font-family + ); + --spectrum-picker-button-font-style: var(--system-picker-button-font-style); + --spectrum-picker-button-font-weight: var( + --system-picker-button-font-weight + ); + --spectrum-picker-button-font-size: var(--system-picker-button-font-size); + --spectrum-picker-button-background-animation-duration: var( + --system-picker-button-background-animation-duration + ); + --spectrum-picker-button-background-color-disabled: var( + --system-picker-button-background-color-disabled + ); + --spectrum-picker-button-background-color-hover-disabled: var( + --system-picker-button-background-color-hover-disabled + ); + --spectrum-picker-button-background-color-down-disabled: var( + --system-picker-button-background-color-down-disabled + ); + --spectrum-picker-button-border-color-disabled: var( + --system-picker-button-border-color-disabled + ); + --spectrum-picker-button-font-color-disabled: var( + --system-picker-button-font-color-disabled + ); + --spectrum-picker-button-font-color-hover-disabled: var( + --system-picker-button-font-color-hover-disabled + ); + --spectrum-picker-button-font-color-down-disabled: var( + --system-picker-button-font-color-down-disabled + ); + --spectrum-picker-button-icon-color-disabled: var( + --system-picker-button-icon-color-disabled + ); + --spectrum-picker-button-icon-color-hover-disabled: var( + --system-picker-button-icon-color-hover-disabled + ); + --spectrum-picker-button-icon-color-down-disabled: var( + --system-picker-button-icon-color-down-disabled + ); +} + +:host([size='s']) .root { + --spectrum-picker-button-height: var(--system-picker-button-size-s-height); + --spectrum-picker-button-width: var(--system-picker-button-size-s-width); + --spectrum-picker-button-label-padding: var( + --system-picker-button-size-s-label-padding + ); + --spectrum-picker-button-font-size: var( + --system-picker-button-size-s-font-size + ); + --spectrum-picker-button-fill-padding: var( + --system-picker-button-size-s-fill-padding + ); +} + +:host([size='l']) .root { + --spectrum-picker-button-height: var(--system-picker-button-size-l-height); + --spectrum-picker-button-width: var(--system-picker-button-size-l-width); + --spectrum-picker-button-label-padding: var( + --system-picker-button-size-l-label-padding + ); + --spectrum-picker-button-font-size: var( + --system-picker-button-size-l-font-size + ); + --spectrum-picker-button-fill-padding: var( + --system-picker-button-size-l-fill-padding + ); +} + +:host([size='xl']) .root { + --spectrum-picker-button-height: var(--system-picker-button-size-xl-height); + --spectrum-picker-button-width: var(--system-picker-button-size-xl-width); + --spectrum-picker-button-label-padding: var( + --system-picker-button-size-xl-label-padding + ); + --spectrum-picker-button-font-size: var( + --system-picker-button-size-xl-font-size + ); + --spectrum-picker-button-fill-padding: var( + --system-picker-button-size-xl-fill-padding + ); +} diff --git a/packages/picker-button/src/picker-button.css b/packages/picker-button/src/picker-button.css index ad54a192cd..0d1f2257e5 100644 --- a/packages/picker-button/src/picker-button.css +++ b/packages/picker-button/src/picker-button.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-picker-button.css'); +@import url('./picker-button-overrides.css'); :host { display: inline-flex; diff --git a/packages/picker-button/src/spectrum-picker-button.css b/packages/picker-button/src/spectrum-picker-button.css index cf8c18137a..4e5736eb06 100644 --- a/packages/picker-button/src/spectrum-picker-button.css +++ b/packages/picker-button/src/spectrum-picker-button.css @@ -11,153 +11,6 @@ governing permissions and limitations under the License. */ /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ -.root { - --spectrum-picker-button-height: var(--spectrum-component-height-100); - --spectrum-picker-button-width: var(--spectrum-component-height-100); - --spectrum-picker-button-gap: var(--spectrum-text-to-visual-50); - --spectrum-picker-button-padding: var( - --spectrum-in-field-button-edge-to-fill - ); - --spectrum-picker-button-label-padding: var(--spectrum-text-to-visual-50); - --spectrum-picker-button-fill-padding: var( - --spectrum-field-edge-to-disclosure-icon-100 - ); - --spectrum-picker-button-border-radius-rounded: var( - --spectrum-corner-radius-200 - ); - --spectrum-picker-button-icon-color: var( - --spectrum-neutral-content-color-default - ); - --spectrum-picker-button-icon-color-hover: var( - --spectrum-neutral-content-color-hover - ); - --spectrum-picker-button-icon-color-down: var( - --spectrum-neutral-content-color-down - ); - --spectrum-picker-button-icon-color-key-focus: var( - --spectrum-neutral-content-color-key-focus - ); - --spectrum-picker-button-font-color: var( - --spectrum-neutral-content-color-default - ); - --spectrum-picker-button-font-color-hover: var( - --spectrum-neutral-content-color-hover - ); - --spectrum-picker-button-font-color-down: var( - --spectrum-neutral-content-color-down - ); - --spectrum-picker-button-font-color-key-focus: var( - --spectrum-neutral-content-color-key-focus - ); - --spectrum-picker-button-font-family: var( - --spectrum-sans-font-family-stack - ); - --spectrum-picker-button-font-style: var(--spectrum-default-font-style); - --spectrum-picker-button-font-weight: var( - --spectrum-body-sans-serif-font-weight - ); - --spectrum-picker-button-font-size: var(--spectrum-font-size-100); - --spectrum-picker-button-background-animation-duration: var( - --spectrum-animation-duration-100 - ); -} - -:host([disabled]) .root { - --mod-picker-button-background-color: var( - --mod-picker-button-background-color-disabled, - var(--spectrum-disabled-background-color) - ); - --mod-picker-button-background-color-hover: var( - --mod-picker-button-background-color-hover-disabled, - var(--spectrum-disabled-background-color) - ); - --mod-picker-button-background-color-down: var( - --mod-picker-button-background-color-down-disabled, - var(--spectrum-disabled-background-color) - ); - --mod-picker-button-border-color: var( - --mod-picker-button-border-color-disabled, - var(--spectrum-disabled-background-color) - ); - --mod-picker-button-font-color: var( - --mod-picker-button-font-color-disabled, - var(--spectrum-disabled-content-color) - ); - --mod-picker-button-font-color-hover: var( - --mod-picker-button-font-color-hover-disabled, - var(--spectrum-disabled-content-color) - ); - --mod-picker-button-font-color-down: var( - --mod-picker-button-font-color-down-disabled, - var(--spectrum-disabled-content-color) - ); - --mod-picker-button-icon-color: var( - --mod-picker-button-icon-color-disabled, - var(--spectrum-disabled-content-color) - ); - --mod-picker-button-icon-color-hover: var( - --mod-picker-button-icon-color-hover-disabled, - var(--spectrum-disabled-content-color) - ); - --mod-picker-button-icon-color-down: var( - --mod-picker-button-icon-color-down-disabled, - var(--spectrum-disabled-content-color) - ); -} - -:host([quiet]) .root { - --mod-picker-button-background-color: var( - --mod-picker-button-background-color-quiet, - transparent - ); - --mod-picker-button-background-color-hover: var( - --mod-picker-button-background-color-hover-quiet, - transparent - ); - --mod-picker-button-background-color-down: var( - --mod-picker-button-background-color-down-quiet, - transparent - ); - --mod-picker-button-background-color-key-focus: var( - --mod-picker-button-background-color-key-focus-quiet, - transparent - ); - --mod-picker-button-border-color: var( - --mod-picker-button-border-color-quiet, - transparent - ); -} - -:host([size='s']) .root { - --spectrum-picker-button-height: var(--spectrum-component-height-75); - --spectrum-picker-button-width: var(--spectrum-component-height-75); - --spectrum-picker-button-label-padding: var(--spectrum-spacing-75); - --spectrum-picker-button-font-size: var(--spectrum-font-size-75); - --spectrum-picker-button-fill-padding: var( - --spectrum-field-edge-to-disclosure-icon-75 - ); -} - -:host([size='l']) .root { - --spectrum-picker-button-height: var(--spectrum-component-height-200); - --spectrum-picker-button-width: var(--spectrum-component-height-200); - --spectrum-picker-button-label-padding: var(--spectrum-text-to-visual-200); - --spectrum-picker-button-font-size: var(--spectrum-font-size-200); - --spectrum-picker-button-fill-padding: var( - --spectrum-field-edge-to-disclosure-icon-200 - ); -} - -:host([size='xl']) .root { - --spectrum-picker-button-height: var(--spectrum-component-height-300); - --spectrum-picker-button-width: var(--spectrum-component-height-300); - --spectrum-picker-button-label-padding: var(--spectrum-text-to-visual-300); - --spectrum-picker-button-font-size: var(--spectrum-font-size-300); - --spectrum-picker-button-fill-padding: var( - --spectrum-field-edge-to-disclosure-icon-300 - ); -} - .root { background-color: initial; block-size: var( @@ -252,6 +105,81 @@ governing permissions and limitations under the License. ); } +.root.is-disabled, +:host([disabled]) .root { + --mod-picker-button-background-color: var( + --mod-picker-button-background-color-disabled, + var(--spectrum-picker-button-background-color-disabled) + ); + --mod-picker-button-background-color-hover: var( + --mod-picker-button-background-color-hover-disabled, + var(--spectrum-picker-button-background-color-hover-disabled) + ); + --mod-picker-button-background-color-down: var( + --mod-picker-button-background-color-down-disabled, + var(--spectrum-picker-button-background-color-down-disabled) + ); + --mod-picker-button-border-color: var( + --mod-picker-button-border-color-disabled, + var(--spectrum-picker-button-border-color-disabled) + ); + --mod-picker-button-font-color: var( + --mod-picker-button-font-color-disabled, + var(--spectrum-picker-button-font-color-disabled) + ); + --mod-picker-button-font-color-hover: var( + --mod-picker-button-font-color-hover-disabled, + var(--spectrum-picker-button-font-color-hover-disabled) + ); + --mod-picker-button-font-color-down: var( + --mod-picker-button-font-color-down-disabled, + var(--spectrum-picker-button-font-color-down-disabled) + ); + --mod-picker-button-icon-color: var( + --mod-picker-button-icon-color-disabled, + var(--spectrum-picker-button-icon-color-disabled) + ); + --mod-picker-button-icon-color-hover: var( + --mod-picker-button-icon-color-hover-disabled, + var(--spectrum-picker-button-icon-color-hover-disabled) + ); + --mod-picker-button-icon-color-down: var( + --mod-picker-button-icon-color-down-disabled, + var(--spectrum-picker-button-icon-color-down-disabled) + ); +} + +:host([quiet]) .root { + --mod-picker-button-background-color: var( + --mod-picker-button-background-color-quiet, + transparent + ); + --mod-picker-button-background-color-hover: var( + --mod-picker-button-background-color-hover-quiet, + transparent + ); + --mod-picker-button-background-color-down: var( + --mod-picker-button-background-color-down-quiet, + transparent + ); + --mod-picker-button-background-color-key-focus: var( + --mod-picker-button-background-color-key-focus-quiet, + transparent + ); + --mod-picker-button-border-color: var( + --mod-picker-button-border-color-quiet, + transparent + ); +} + +:host([quiet]) .root.is-disabled, +:host([quiet][disabled]) .root { + --mod-picker-button-background-color: var( + --mod-picker-button-background-color-quiet, + transparent + ); +} + :host([position='right']) .spectrum-PickerButton-fill { border-start-start-radius: var( --mod-picker-button-border-radius-sided, @@ -434,33 +362,3 @@ governing permissions and limitations under the License. .textuiicon .spectrum-PickerButton-fill { inline-size: auto; } - -.root { - --spectrum-picker-button-background-color: var( - --system-spectrum-pickerbutton-spectrum-picker-button-background-color - ); - --spectrum-picker-button-background-color-hover: var( - --system-spectrum-pickerbutton-spectrum-picker-button-background-color-hover - ); - --spectrum-picker-button-background-color-down: var( - --system-spectrum-pickerbutton-spectrum-picker-button-background-color-down - ); - --spectrum-picker-button-background-color-key-focus: var( - --system-spectrum-pickerbutton-spectrum-picker-button-background-color-key-focus - ); - --spectrum-picker-button-border-color: var( - --system-spectrum-pickerbutton-spectrum-picker-button-border-color - ); - --spectrum-picker-button-border-radius: var( - --system-spectrum-pickerbutton-spectrum-picker-button-border-radius - ); - --spectrum-picker-button-border-radius-rounded-sided: var( - --system-spectrum-pickerbutton-spectrum-picker-button-border-radius-rounded-sided - ); - --spectrum-picker-button-border-radius-sided: var( - --system-spectrum-pickerbutton-spectrum-picker-button-border-radius-sided - ); - --spectrum-picker-button-border-width: var( - --system-spectrum-pickerbutton-spectrum-picker-button-border-width - ); -} diff --git a/packages/picker/package.json b/packages/picker/package.json index ac3110ebd0..e77deb78b7 100644 --- a/packages/picker/package.json +++ b/packages/picker/package.json @@ -45,6 +45,7 @@ "development": "./src/index.dev.js", "default": "./src/index.js" }, + "./src/picker-overrides.css.js": "./src/picker-overrides.css.js", "./src/picker.css.js": "./src/picker.css.js", "./src/strategies.js": { "development": "./src/strategies.dev.js", @@ -97,7 +98,7 @@ "@spectrum-web-components/tray": "^0.49.0" }, "devDependencies": { - "@spectrum-css/picker": "^8.1.0" + "@spectrum-css/picker": "^9.0.0-s2-foundations.15" }, "types": "./src/index.d.ts", "customElements": "custom-elements.json", diff --git a/packages/picker/src/Picker.ts b/packages/picker/src/Picker.ts index 0d85652047..b2933ac960 100644 --- a/packages/picker/src/Picker.ts +++ b/packages/picker/src/Picker.ts @@ -34,6 +34,7 @@ import { import pickerStyles from './picker.css.js'; import chevronStyles from '@spectrum-web-components/icon/src/spectrum-icon-chevron.css.js'; +import chevronIconOverrides from '@spectrum-web-components/icon/src/icon-chevron-overrides.css.js'; import { Focusable } from '@spectrum-web-components/shared/src/focusable.js'; import type { Tooltip } from '@spectrum-web-components/tooltip'; @@ -824,7 +825,7 @@ export class PickerBase extends SizedMixin(Focusable, { noDefaultSize: true }) { */ export class Picker extends PickerBase { public static override get styles(): CSSResultArray { - return [pickerStyles, chevronStyles]; + return [pickerStyles, chevronStyles, chevronIconOverrides]; } protected override get containerStyles(): StyleInfo { diff --git a/packages/picker/src/picker-overrides.css b/packages/picker/src/picker-overrides.css new file mode 100644 index 0000000000..670397798a --- /dev/null +++ b/packages/picker/src/picker-overrides.css @@ -0,0 +1,285 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host { + --spectrum-picker-background-color-default: var( + --system-picker-background-color-default + ); + --spectrum-picker-background-color-default-open: var( + --system-picker-background-color-default-open + ); + --spectrum-picker-background-color-active: var( + --system-picker-background-color-active + ); + --spectrum-picker-background-color-hover: var( + --system-picker-background-color-hover + ); + --spectrum-picker-background-color-hover-open: var( + --system-picker-background-color-hover-open + ); + --spectrum-picker-background-color-key-focus: var( + --system-picker-background-color-key-focus + ); + --spectrum-picker-border-color-default: var( + --system-picker-border-color-default + ); + --spectrum-picker-border-color-default-open: var( + --system-picker-border-color-default-open + ); + --spectrum-picker-border-color-hover: var( + --system-picker-border-color-hover + ); + --spectrum-picker-border-color-hover-open: var( + --system-picker-border-color-hover-open + ); + --spectrum-picker-border-color-active: var( + --system-picker-border-color-active + ); + --spectrum-picker-border-color-key-focus: var( + --system-picker-border-color-key-focus + ); + --spectrum-picker-border-width: var(--system-picker-border-width); + --spectrum-picker-font-size: var(--system-picker-font-size); + --spectrum-picker-font-weight: var(--system-picker-font-weight); + --spectrum-picker-placeholder-font-style: var( + --system-picker-placeholder-font-style + ); + --spectrum-picker-line-height: var(--system-picker-line-height); + --spectrum-picker-block-size: var(--system-picker-block-size); + --spectrum-picker-inline-size: var(--system-picker-inline-size); + --spectrum-picker-border-radius: var(--system-picker-border-radius); + --spectrum-picker-spacing-top-to-text: var( + --system-picker-spacing-top-to-text + ); + --spectrum-picker-spacing-bottom-to-text: var( + --system-picker-spacing-bottom-to-text + ); + --spectrum-picker-spacing-edge-to-text: var( + --system-picker-spacing-edge-to-text + ); + --spectrum-picker-spacing-edge-to-text-quiet: var( + --system-picker-spacing-edge-to-text-quiet + ); + --spectrum-picker-spacing-label-to-picker: var( + --system-picker-spacing-label-to + ); + --spectrum-picker-spacing-text-to-icon: var( + --system-picker-spacing-text-to-icon + ); + --spectrum-picker-spacing-text-to-icon-inline-end: var( + --system-picker-spacing-text-to-icon-inline-end + ); + --spectrum-picker-spacing-icon-to-disclosure-icon: var( + --system-picker-spacing-icon-to-disclosure-icon + ); + --spectrum-picker-spacing-label-to-picker-quiet: var( + --system-picker-spacing-label-to-quiet + ); + --spectrum-picker-spacing-top-to-alert-icon: var( + --system-picker-spacing-top-to-alert-icon + ); + --spectrum-picker-spacing-top-to-progress-circle: var( + --system-picker-spacing-top-to-progress-circle + ); + --spectrum-picker-spacing-top-to-disclosure-icon: var( + --system-picker-spacing-top-to-disclosure-icon + ); + --spectrum-picker-spacing-edge-to-disclosure-icon: var( + --system-picker-spacing-edge-to-disclosure-icon + ); + --spectrum-picker-spacing-edge-to-disclosure-icon-quiet: var( + --system-picker-spacing-edge-to-disclosure-icon-quiet + ); + --spectrum-picker-animation-duration: var( + --system-picker-animation-duration + ); + --spectrum-picker-font-color-default: var( + --system-picker-font-color-default + ); + --spectrum-picker-font-color-default-open: var( + --system-picker-font-color-default-open + ); + --spectrum-picker-font-color-hover: var(--system-picker-font-color-hover); + --spectrum-picker-font-color-hover-open: var( + --system-picker-font-color-hover-open + ); + --spectrum-picker-font-color-active: var(--system-picker-font-color-active); + --spectrum-picker-font-color-key-focus: var( + --system-picker-font-color-key-focus + ); + --spectrum-picker-icon-color-default: var( + --system-picker-icon-color-default + ); + --spectrum-picker-icon-color-default-open: var( + --system-picker-icon-color-default-open + ); + --spectrum-picker-icon-color-hover: var(--system-picker-icon-color-hover); + --spectrum-picker-icon-color-hover-open: var( + --system-picker-icon-color-hover-open + ); + --spectrum-picker-icon-color-active: var(--system-picker-icon-color-active); + --spectrum-picker-icon-color-key-focus: var( + --system-picker-icon-color-key-focus + ); + --spectrum-picker-border-color-error-default: var( + --system-picker-border-color-error-default + ); + --spectrum-picker-border-color-error-default-open: var( + --system-picker-border-color-error-default-open + ); + --spectrum-picker-border-color-error-hover: var( + --system-picker-border-color-error-hover + ); + --spectrum-picker-border-color-error-hover-open: var( + --system-picker-border-color-error-hover-open + ); + --spectrum-picker-border-color-error-active: var( + --system-picker-border-color-error-active + ); + --spectrum-picker-border-color-error-key-focus: var( + --system-picker-border-color-error-key-focus + ); + --spectrum-picker-icon-color-error: var(--system-picker-icon-color-error); + --spectrum-picker-background-color-disabled: var( + --system-picker-background-color-disabled + ); + --spectrum-picker-font-color-disabled: var( + --system-picker-font-color-disabled + ); + --spectrum-picker-icon-color-disabled: var( + --system-picker-icon-color-disabled + ); + --spectrum-picker-focus-indicator-gap: var( + --system-picker-focus-indicator-gap + ); + --spectrum-picker-focus-indicator-thickness: var( + --system-picker-focus-indicator-thickness + ); + --spectrum-picker-focus-indicator-color: var( + --system-picker-focus-indicator-color + ); +} + +:host([size='s']) { + --spectrum-picker-font-size: var(--system-picker-size-s-font-size); + --spectrum-picker-block-size: var(--system-picker-size-s-block-size); + --spectrum-picker-spacing-top-to-text: var( + --system-picker-size-s-spacing-top-to-text + ); + --spectrum-picker-spacing-bottom-to-text: var( + --system-picker-size-s-spacing-bottom-to-text + ); + --spectrum-picker-spacing-edge-to-text: var( + --system-picker-size-s-spacing-edge-to-text + ); + --spectrum-picker-spacing-text-to-icon: var( + --system-picker-size-s-spacing-text-to-icon + ); + --spectrum-picker-spacing-text-to-icon-inline-end: var( + --system-picker-size-s-spacing-text-to-icon-inline-end + ); + --spectrum-picker-spacing-icon-to-disclosure-icon: var( + --system-picker-size-s-spacing-icon-to-disclosure-icon + ); + --spectrum-picker-spacing-label-to-picker-quiet: var( + --system-picker-size-s-spacing-label-to-quiet + ); + --spectrum-picker-spacing-top-to-alert-icon: var( + --system-picker-size-s-spacing-top-to-alert-icon + ); + --spectrum-picker-spacing-top-to-progress-circle: var( + --system-picker-size-s-spacing-top-to-progress-circle + ); + --spectrum-picker-spacing-top-to-disclosure-icon: var( + --system-picker-size-s-spacing-top-to-disclosure-icon + ); + --spectrum-picker-spacing-edge-to-disclosure-icon: var( + --system-picker-size-s-spacing-edge-to-disclosure-icon + ); +} + +:host([size='l']) { + --spectrum-picker-font-size: var(--system-picker-size-l-font-size); + --spectrum-picker-block-size: var(--system-picker-size-l-block-size); + --spectrum-picker-spacing-top-to-text: var( + --system-picker-size-l-spacing-top-to-text + ); + --spectrum-picker-spacing-bottom-to-text: var( + --system-picker-size-l-spacing-bottom-to-text + ); + --spectrum-picker-spacing-edge-to-text: var( + --system-picker-size-l-spacing-edge-to-text + ); + --spectrum-picker-spacing-text-to-icon: var( + --system-picker-size-l-spacing-text-to-icon + ); + --spectrum-picker-spacing-text-to-icon-inline-end: var( + --system-picker-size-l-spacing-text-to-icon-inline-end + ); + --spectrum-picker-spacing-icon-to-disclosure-icon: var( + --system-picker-size-l-spacing-icon-to-disclosure-icon + ); + --spectrum-picker-spacing-label-to-picker-quiet: var( + --system-picker-size-l-spacing-label-to-quiet + ); + --spectrum-picker-spacing-top-to-alert-icon: var( + --system-picker-size-l-spacing-top-to-alert-icon + ); + --spectrum-picker-spacing-top-to-progress-circle: var( + --system-picker-size-l-spacing-top-to-progress-circle + ); + --spectrum-picker-spacing-top-to-disclosure-icon: var( + --system-picker-size-l-spacing-top-to-disclosure-icon + ); + --spectrum-picker-spacing-edge-to-disclosure-icon: var( + --system-picker-size-l-spacing-edge-to-disclosure-icon + ); +} + +:host([size='xl']) { + --spectrum-picker-font-size: var(--system-picker-size-xl-font-size); + --spectrum-picker-block-size: var(--system-picker-size-xl-block-size); + --spectrum-picker-spacing-top-to-text: var( + --system-picker-size-xl-spacing-top-to-text + ); + --spectrum-picker-spacing-bottom-to-text: var( + --system-picker-size-xl-spacing-bottom-to-text + ); + --spectrum-picker-spacing-edge-to-text: var( + --system-picker-size-xl-spacing-edge-to-text + ); + --spectrum-picker-spacing-text-to-icon: var( + --system-picker-size-xl-spacing-text-to-icon + ); + --spectrum-picker-spacing-text-to-icon-inline-end: var( + --system-picker-size-xl-spacing-text-to-icon-inline-end + ); + --spectrum-picker-spacing-icon-to-disclosure-icon: var( + --system-picker-size-xl-spacing-icon-to-disclosure-icon + ); + --spectrum-picker-spacing-label-to-picker-quiet: var( + --system-picker-size-xl-spacing-label-to-quiet + ); + --spectrum-picker-spacing-top-to-alert-icon: var( + --system-picker-size-xl-spacing-top-to-alert-icon + ); + --spectrum-picker-spacing-top-to-progress-circle: var( + --system-picker-size-xl-spacing-top-to-progress-circle + ); + --spectrum-picker-spacing-top-to-disclosure-icon: var( + --system-picker-size-xl-spacing-top-to-disclosure-icon + ); + --spectrum-picker-spacing-edge-to-disclosure-icon: var( + --system-picker-size-xl-spacing-edge-to-disclosure-icon + ); +} diff --git a/packages/picker/src/picker.css b/packages/picker/src/picker.css index d684de5b49..912e5ab45a 100644 --- a/packages/picker/src/picker.css +++ b/packages/picker/src/picker.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-picker.css'); +@import url('./picker-overrides.css'); :host { display: inline-flex; diff --git a/packages/picker/src/spectrum-picker.css b/packages/picker/src/spectrum-picker.css index 8d189f7e94..278f7253f2 100644 --- a/packages/picker/src/spectrum-picker.css +++ b/packages/picker/src/spectrum-picker.css @@ -22,6 +22,8 @@ governing permissions and limitations under the License. var(--spectrum-sans-font-family-stack) ) ); + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; line-height: var( --mod-button-line-height, var(--mod-line-height-100, var(--spectrum-line-height-100)) @@ -66,8 +68,6 @@ governing permissions and limitations under the License. ) ) ease-out; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; justify-content: center; align-items: center; margin: 0; @@ -79,8 +79,7 @@ governing permissions and limitations under the License. } #button::-moz-focus-inner { - border: 0; - margin-block: -2px; + border-style: none; padding: 0; } @@ -88,252 +87,6 @@ governing permissions and limitations under the License. outline: none; } -:host { - --spectrum-picker-font-size: var(--spectrum-font-size-100); - --spectrum-picker-font-weight: var(--spectrum-regular-font-weight); - --spectrum-picker-placeholder-font-style: var( - --spectrum-default-font-style - ); - --spectrum-picker-line-height: var(--spectrum-line-height-100); - --spectrum-picker-block-size: var(--spectrum-component-height-100); - --spectrum-picker-inline-size: var(--spectrum-field-width); - --spectrum-picker-border-radius: var(--spectrum-corner-radius-100); - --spectrum-picker-spacing-top-to-text: var( - --spectrum-component-top-to-text-100 - ); - --spectrum-picker-spacing-bottom-to-text: var( - --spectrum-component-bottom-to-text-100 - ); - --spectrum-picker-spacing-edge-to-text: var( - --spectrum-component-edge-to-text-100 - ); - --spectrum-picker-spacing-edge-to-text-quiet: var( - --spectrum-field-edge-to-text-quiet - ); - --spectrum-picker-spacing-top-to-text-side-label-quiet: var( - --spectrum-component-top-to-text-100 - ); - --spectrum-picker-spacing-label-to-picker: var( - --spectrum-field-label-to-component - ); - --spectrum-picker-spacing-text-to-icon: var(--spectrum-text-to-visual-100); - --spectrum-picker-spacing-text-to-icon-inline-end: var( - --spectrum-field-text-to-alert-icon-medium - ); - --spectrum-picker-spacing-icon-to-disclosure-icon: var( - --spectrum-picker-visual-to-disclosure-icon-medium - ); - --spectrum-picker-spacing-label-to-picker-quiet: var( - --spectrum-field-label-to-component-quiet-medium - ); - --spectrum-picker-spacing-top-to-alert-icon: var( - --spectrum-field-top-to-alert-icon-medium - ); - --spectrum-picker-spacing-top-to-progress-circle: var( - --spectrum-field-top-to-progress-circle-medium - ); - --spectrum-picker-spacing-top-to-disclosure-icon: var( - --spectrum-field-top-to-disclosure-icon-100 - ); - --spectrum-picker-spacing-edge-to-disclosure-icon: var( - --spectrum-field-end-edge-to-disclosure-icon-100 - ); - --spectrum-picker-spacing-edge-to-disclosure-icon-quiet: var( - --spectrum-picker-end-edge-to-disclousure-icon-quiet - ); - --spectrum-picker-animation-duration: var( - --spectrum-animation-duration-100 - ); - --spectrum-picker-font-color-default: var( - --spectrum-neutral-content-color-default - ); - --spectrum-picker-font-color-default-open: var( - --spectrum-neutral-content-color-focus - ); - --spectrum-picker-font-color-hover: var( - --spectrum-neutral-content-color-hover - ); - --spectrum-picker-font-color-hover-open: var( - --spectrum-neutral-content-color-focus-hover - ); - --spectrum-picker-font-color-active: var( - --spectrum-neutral-content-color-down - ); - --spectrum-picker-font-color-key-focus: var( - --spectrum-neutral-content-color-key-focus - ); - --spectrum-picker-icon-color-default: var( - --spectrum-neutral-content-color-default - ); - --spectrum-picker-icon-color-default-open: var( - --spectrum-neutral-content-color-focus - ); - --spectrum-picker-icon-color-hover: var( - --spectrum-neutral-content-color-hover - ); - --spectrum-picker-icon-color-hover-open: var( - --spectrum-neutral-content-color-focus-hover - ); - --spectrum-picker-icon-color-active: var( - --spectrum-neutral-content-color-down - ); - --spectrum-picker-icon-color-key-focus: var( - --spectrum-neutral-content-color-key-focus - ); - --spectrum-picker-border-color-error-default: var( - --spectrum-negative-border-color-default - ); - --spectrum-picker-border-color-error-default-open: var( - --spectrum-negative-border-color-focus - ); - --spectrum-picker-border-color-error-hover: var( - --spectrum-negative-border-color-hover - ); - --spectrum-picker-border-color-error-hover-open: var( - --spectrum-negative-border-color-focus-hover - ); - --spectrum-picker-border-color-error-active: var( - --spectrum-negative-border-color-down - ); - --spectrum-picker-border-color-error-key-focus: var( - --spectrum-negative-border-color-key-focus - ); - --spectrum-picker-icon-color-error: var(--spectrum-negative-visual-color); - --spectrum-picker-background-color-disabled: var( - --spectrum-disabled-background-color - ); - --spectrum-picker-font-color-disabled: var( - --spectrum-disabled-content-color - ); - --spectrum-picker-icon-color-disabled: var( - --spectrum-disabled-content-color - ); - --spectrum-picker-focus-indicator-gap: var(--spectrum-focus-indicator-gap); - --spectrum-picker-focus-indicator-thickness: var( - --spectrum-focus-indicator-thickness - ); - --spectrum-picker-focus-indicator-color: var( - --spectrum-focus-indicator-color - ); -} - -:host([size='s']) { - --spectrum-picker-font-size: var(--spectrum-font-size-75); - --spectrum-picker-block-size: var(--spectrum-component-height-75); - --spectrum-picker-spacing-top-to-text-side-label-quiet: var( - --spectrum-component-top-to-text-75 - ); - --spectrum-picker-spacing-top-to-text: var( - --spectrum-component-top-to-text-75 - ); - --spectrum-picker-spacing-bottom-to-text: var( - --spectrum-component-bottom-to-text-75 - ); - --spectrum-picker-spacing-edge-to-text: var( - --spectrum-component-edge-to-text-75 - ); - --spectrum-picker-spacing-text-to-icon: var(--spectrum-text-to-visual-75); - --spectrum-picker-spacing-text-to-icon-inline-end: var( - --spectrum-field-text-to-alert-icon-small - ); - --spectrum-picker-spacing-icon-to-disclosure-icon: var( - --spectrum-picker-visual-to-disclosure-icon-small - ); - --spectrum-picker-spacing-label-to-picker-quiet: var( - --spectrum-field-label-to-component-quiet-small - ); - --spectrum-picker-spacing-top-to-alert-icon: var( - --spectrum-field-top-to-alert-icon-small - ); - --spectrum-picker-spacing-top-to-progress-circle: var( - --spectrum-field-top-to-progress-circle-small - ); - --spectrum-picker-spacing-top-to-disclosure-icon: var( - --spectrum-field-top-to-disclosure-icon-75 - ); - --spectrum-picker-spacing-edge-to-disclosure-icon: var( - --spectrum-field-end-edge-to-disclosure-icon-75 - ); -} - -:host([size='l']) { - --spectrum-picker-font-size: var(--spectrum-font-size-200); - --spectrum-picker-block-size: var(--spectrum-component-height-200); - --spectrum-picker-spacing-top-to-text-side-label-quiet: var( - --spectrum-component-top-to-text-200 - ); - --spectrum-picker-spacing-top-to-text: var( - --spectrum-component-top-to-text-200 - ); - --spectrum-picker-spacing-bottom-to-text: var( - --spectrum-component-bottom-to-text-200 - ); - --spectrum-picker-spacing-edge-to-text: var( - --spectrum-component-edge-to-text-200 - ); - --spectrum-picker-spacing-text-to-icon: var(--spectrum-text-to-visual-200); - --spectrum-picker-spacing-text-to-icon-inline-end: var( - --spectrum-field-text-to-alert-icon-large - ); - --spectrum-picker-spacing-icon-to-disclosure-icon: var( - --spectrum-picker-visual-to-disclosure-icon-large - ); - --spectrum-picker-spacing-label-to-picker-quiet: var( - --spectrum-field-label-to-component-quiet-large - ); - --spectrum-picker-spacing-top-to-alert-icon: var( - --spectrum-field-top-to-alert-icon-large - ); - --spectrum-picker-spacing-top-to-progress-circle: var( - --spectrum-field-top-to-progress-circle-large - ); - --spectrum-picker-spacing-top-to-disclosure-icon: var( - --spectrum-field-top-to-disclosure-icon-200 - ); - --spectrum-picker-spacing-edge-to-disclosure-icon: var( - --spectrum-field-end-edge-to-disclosure-icon-200 - ); -} - -:host([size='xl']) { - --spectrum-picker-font-size: var(--spectrum-font-size-300); - --spectrum-picker-block-size: var(--spectrum-component-height-300); - --spectrum-picker-spacing-top-to-text-side-label-quiet: var( - --spectrum-component-top-to-text-300 - ); - --spectrum-picker-spacing-top-to-text: var( - --spectrum-component-top-to-text-300 - ); - --spectrum-picker-spacing-bottom-to-text: var( - --spectrum-component-bottom-to-text-300 - ); - --spectrum-picker-spacing-edge-to-text: var( - --spectrum-component-edge-to-text-300 - ); - --spectrum-picker-spacing-text-to-icon: var(--spectrum-text-to-visual-300); - --spectrum-picker-spacing-text-to-icon-inline-end: var( - --spectrum-field-text-to-alert-icon-extra-large - ); - --spectrum-picker-spacing-icon-to-disclosure-icon: var( - --spectrum-picker-visual-to-disclosure-icon-extra-large - ); - --spectrum-picker-spacing-label-to-picker-quiet: var( - --spectrum-field-label-to-component-quiet-extra-large - ); - --spectrum-picker-spacing-top-to-alert-icon: var( - --spectrum-field-top-to-alert-icon-extra-large - ); - --spectrum-picker-spacing-top-to-progress-circle: var( - --spectrum-field-top-to-progress-circle-extra-large - ); - --spectrum-picker-spacing-top-to-disclosure-icon: var( - --spectrum-field-top-to-disclosure-icon-300 - ); - --spectrum-picker-spacing-edge-to-disclosure-icon: var( - --spectrum-field-end-edge-to-disclosure-icon-300 - ); -} - @media (forced-colors: active) { :host { --highcontrast-picker-focus-indicator-color: Highlight; @@ -593,7 +346,43 @@ governing permissions and limitations under the License. ); } -:host([invalid]) #button:not(:disabled):not(.is-disabled) { +:host([open]) #button:not(.spectrum-Picker--quiet, :disabled, .is-disabled) { + color: var( + --highcontrast-picker-content-color-default, + var( + --mod-picker-font-color-default-open, + var(--spectrum-picker-font-color-default-open) + ) + ); + background-color: var( + --highcontrast-picker-background-color, + var( + --mod-picker-background-color-default-open, + var(--spectrum-picker-background-color-default-open) + ) + ); + border-color: var( + --highcontrast-picker-border-color-default, + var( + --mod-picker-border-default-open, + var(--spectrum-picker-border-color-default-open) + ) + ); +} + +:host([open]) + #button:not(.spectrum-Picker--quiet, :disabled, .is-disabled) + .picker { + color: var( + --highcontrast-picker-content-color-default, + var( + --mod-picker-icon-color-default-open, + var(--spectrum-picker-icon-color-default-open) + ) + ); +} + +:host([invalid]) #button:not(:disabled, .is-disabled) { border-color: var( --highcontrast-picker-border-color-default, var( @@ -603,7 +392,7 @@ governing permissions and limitations under the License. ); } -:host([invalid]) #button:not(:disabled):not(.is-disabled) .validation-icon { +:host([invalid]) #button:not(:disabled, .is-disabled) .validation-icon { color: var( --highcontrast-picker-content-color-default, var( @@ -613,7 +402,7 @@ governing permissions and limitations under the License. ); } -:host([invalid]) #button:not(:disabled):not(.is-disabled):active { +:host([invalid]) #button:not(:disabled, .is-disabled):active { border-color: var( --highcontrast-picker-border-color-default, var( @@ -623,7 +412,7 @@ governing permissions and limitations under the License. ); } -:host([invalid][open]) #button:not(:disabled):not(.is-disabled) { +:host([invalid][open]) #button:not(:disabled, .is-disabled) { border-color: var( --highcontrast-picker-border-color-default, var( @@ -633,8 +422,8 @@ governing permissions and limitations under the License. ); } -:host([invalid]) #button.is-keyboardFocused:not(:disabled):not(.is-disabled), -:host([invalid]) #button:not(:disabled):not(.is-disabled):focus-visible { +:host([invalid]) #button.is-keyboardFocused:not(:disabled, .is-disabled), +:host([invalid]) #button:not(:disabled, .is-disabled):focus-visible { border-color: var( --highcontrast-picker-border-color-default, var( @@ -665,52 +454,6 @@ governing permissions and limitations under the License. ); } -:host([disabled]) #button, -#button:disabled { - cursor: default; - background-color: var( - --highcontrast-picker-background-color, - var( - --mod-picker-background-color-disabled, - var(--spectrum-picker-background-color-disabled) - ) - ); - border-color: var(--highcontrast-picker-border-color-disabled, transparent); - color: var( - --highcontrast-picker-content-color-disabled, - var( - --mod-picker-font-color-disabled, - var(--spectrum-picker-font-color-disabled) - ) - ); -} - -:host([disabled]) #button .icon, -:host([disabled]) #button .picker, -:host([disabled]) #button .validation-icon, -#button:disabled .icon, -#button:disabled .picker, -#button:disabled .validation-icon { - color: var( - --highcontrast-picker-content-color-disabled, - var( - --mod-picker-icon-color-disabled, - var(--spectrum-picker-icon-color-disabled) - ) - ); -} - -:host([disabled]) #button .label.placeholder, -#button:disabled .label.placeholder { - color: var( - --highcontrast-picker-content-color-disabled, - var( - --mod-picker-font-color-disabled, - var(--spectrum-picker-font-color-disabled) - ) - ); -} - .icon { flex-shrink: 0; margin-inline-end: var( @@ -719,40 +462,6 @@ governing permissions and limitations under the License. ); } -:host([open]:not([quiet])) #button { - color: var( - --highcontrast-picker-content-color-default, - var( - --mod-picker-font-color-default-open, - var(--spectrum-picker-font-color-default-open) - ) - ); - background-color: var( - --highcontrast-picker-background-color, - var( - --mod-picker-background-color-default-open, - var(--spectrum-picker-background-color-default-open) - ) - ); - border-color: var( - --highcontrast-picker-border-color-default, - var( - --mod-picker-border-default-open, - var(--spectrum-picker-border-color-default-open) - ) - ); -} - -:host([open]:not([quiet])) #button .picker { - color: var( - --highcontrast-picker-content-color-default, - var( - --mod-picker-icon-color-default-open, - var(--spectrum-picker-icon-color-default-open) - ) - ); -} - .label { white-space: nowrap; font-size: var(--mod-picker-font-size, var(--spectrum-picker-font-size)); @@ -767,11 +476,11 @@ governing permissions and limitations under the License. text-overflow: ellipsis; text-align: start; flex: auto; - margin-block-start: var( + padding-block-start: var( --mod-picker-spacing-top-to-text, var(--spectrum-picker-spacing-top-to-text) ); - margin-block-end: calc( + padding-block-end: calc( var( --mod-picker-spacing-bottom-to-text, var(--spectrum-picker-spacing-bottom-to-text) @@ -908,6 +617,7 @@ governing permissions and limitations under the License. var(--spectrum-picker-font-color-default) ) ); + background-color: initial; background-color: var(--highcontrast-picker-background-color, transparent); border: none; border-radius: 0; @@ -971,27 +681,8 @@ governing permissions and limitations under the License. ); } - :host([invalid]) #button:not(:disabled):not(.is-disabled):hover { - border-color: var( - --highcontrast-picker-border-color-hover, - var( - --mod-picker-border-color-error-hover, - var(--spectrum-picker-border-color-error-hover) - ) - ); - } - - :host([invalid][open]) #button:not(:disabled):not(.is-disabled):hover { - border-color: var( - --highcontrast-picker-border-color-hover, - var( - --mod-picker-border-color-error-hover-open, - var(--spectrum-picker-border-color-error-hover-open) - ) - ); - } - - :host([open]:not([quiet])) #button:hover { + :host([open]) + #button:not(.spectrum-Picker--quiet, :disabled, .is-disabled):hover { color: var( --highcontrast-picker-content-color-default, var( @@ -1015,7 +706,9 @@ governing permissions and limitations under the License. ); } - :host([open]:not([quiet])) #button:hover .picker { + :host([open]) + #button:not(.spectrum-Picker--quiet, :disabled, .is-disabled):hover + .picker { color: var( --highcontrast-picker-content-color-default, var( @@ -1025,6 +718,26 @@ governing permissions and limitations under the License. ); } + :host([invalid]) #button:not(:disabled, .is-disabled):hover { + border-color: var( + --highcontrast-picker-border-color-hover, + var( + --mod-picker-border-color-error-hover, + var(--spectrum-picker-border-color-error-hover) + ) + ); + } + + :host([invalid][open]) #button:not(:disabled, .is-disabled):hover { + border-color: var( + --highcontrast-picker-border-color-hover, + var( + --mod-picker-border-color-error-hover-open, + var(--spectrum-picker-border-color-error-hover-open) + ) + ); + } + .label.placeholder:hover { color: var( --highcontrast-picker-content-color-default, @@ -1036,6 +749,7 @@ governing permissions and limitations under the License. } :host([quiet]) #button:hover { + background-color: initial; background-color: var( --highcontrast-picker-background-color, transparent @@ -1045,6 +759,7 @@ governing permissions and limitations under the License. :host([quiet]) #button.is-keyboardFocused, :host([quiet]) #button:focus-visible { + background-color: initial; background-color: var(--highcontrast-picker-background-color, transparent); } @@ -1080,10 +795,11 @@ governing permissions and limitations under the License. border-radius: 0; } -:host([quiet][disabled]) #button, :host([quiet][open]) #button, -:host([quiet]) #button:active, -:host([quiet]) #button:disabled { +:host([quiet][disabled]) #button#button, +:host([quiet]) #button#button:disabled, +:host([quiet]) #button:active { + background-color: initial; background-color: var(--highcontrast-picker-background-color, transparent); } @@ -1092,42 +808,49 @@ governing permissions and limitations under the License. display: inline-flex; } -:host { - --spectrum-picker-background-color-default: var( - --system-spectrum-picker-background-color-default - ); - --spectrum-picker-background-color-default-open: var( - --system-spectrum-picker-background-color-default-open - ); - --spectrum-picker-background-color-active: var( - --system-spectrum-picker-background-color-active - ); - --spectrum-picker-background-color-hover: var( - --system-spectrum-picker-background-color-hover - ); - --spectrum-picker-background-color-hover-open: var( - --system-spectrum-picker-background-color-hover-open - ); - --spectrum-picker-background-color-key-focus: var( - --system-spectrum-picker-background-color-key-focus - ); - --spectrum-picker-border-color-default: var( - --system-spectrum-picker-border-color-default - ); - --spectrum-picker-border-color-default-open: var( - --system-spectrum-picker-border-color-default-open - ); - --spectrum-picker-border-color-hover: var( - --system-spectrum-picker-border-color-hover +:host([disabled]) #button, +#button:disabled { + cursor: default; + background-color: var( + --highcontrast-picker-background-color, + var( + --mod-picker-background-color-disabled, + var(--spectrum-picker-background-color-disabled) + ) ); - --spectrum-picker-border-color-hover-open: var( - --system-spectrum-picker-border-color-hover-open + border-color: #0000; + border-color: var(--highcontrast-picker-border-color-disabled, transparent); + color: var( + --highcontrast-picker-content-color-disabled, + var( + --mod-picker-font-color-disabled, + var(--spectrum-picker-font-color-disabled) + ) ); - --spectrum-picker-border-color-active: var( - --system-spectrum-picker-border-color-active +} + +:host([disabled]) #button .icon, +:host([disabled]) #button .picker, +:host([disabled]) #button .validation-icon, +#button:disabled .icon, +#button:disabled .picker, +#button:disabled .validation-icon { + color: var( + --highcontrast-picker-content-color-disabled, + var( + --mod-picker-icon-color-disabled, + var(--spectrum-picker-icon-color-disabled) + ) ); - --spectrum-picker-border-color-key-focus: var( - --system-spectrum-picker-border-color-key-focus +} + +:host([disabled]) #button .label.placeholder, +#button:disabled .label.placeholder { + color: var( + --highcontrast-picker-content-color-disabled, + var( + --mod-picker-font-color-disabled, + var(--spectrum-picker-font-color-disabled) + ) ); - --spectrum-picker-border-width: var(--system-spectrum-picker-border-width); } diff --git a/packages/popover/package.json b/packages/popover/package.json index 502e55653a..34f6137111 100644 --- a/packages/popover/package.json +++ b/packages/popover/package.json @@ -33,6 +33,7 @@ "development": "./src/index.dev.js", "default": "./src/index.js" }, + "./src/popover-overrides.css.js": "./src/popover-overrides.css.js", "./src/popover.css.js": "./src/popover.css.js", "./sp-popover.js": { "development": "./sp-popover.dev.js", @@ -61,7 +62,7 @@ "@spectrum-web-components/overlay": "^0.49.0" }, "devDependencies": { - "@spectrum-css/popover": "^7.1.0" + "@spectrum-css/popover": "^8.0.0-s2-foundations.16" }, "types": "./src/index.d.ts", "customElements": "custom-elements.json", diff --git a/packages/popover/src/Popover.ts b/packages/popover/src/Popover.ts index 2e34c2c12a..8a934f4b50 100644 --- a/packages/popover/src/Popover.ts +++ b/packages/popover/src/Popover.ts @@ -14,7 +14,6 @@ import { CSSResultArray, html, nothing, - PropertyValues, SpectrumElement, TemplateResult, } from '@spectrum-web-components/base'; @@ -35,13 +34,6 @@ export class Popover extends SpectrumElement { return [popoverStyles]; } - /** - * Whether the popover should manage the application - * of padding to its content or not. - */ - @property({ type: Boolean, reflect: true }) - public dialog = false; - /** * Whether the popover is visible or not. */ @@ -74,23 +66,6 @@ export class Popover extends SpectrumElement { `; } - protected override update(changes: PropertyValues): void { - if (window.__swc.DEBUG) { - if (changes.has('dialog') && this.dialog) { - window.__swc.warn( - this, - `<${this.localName}> no longer supports the "dialog" attribute. Please slot an element into the <${this.localName}> instead.`, - 'https://opensource.adobe.com/spectrum-web-components/components/popover/#dialog-popovers', - { - type: 'api', - level: 'deprecation', - } - ); - } - } - super.update(changes); - } - protected override render(): TemplateResult { return html` diff --git a/packages/popover/src/popover-overrides.css b/packages/popover/src/popover-overrides.css new file mode 100644 index 0000000000..f6f23988a8 --- /dev/null +++ b/packages/popover/src/popover-overrides.css @@ -0,0 +1,39 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host { + --spectrum-popover-border-width: var(--system-popover-border-width); + --spectrum-popover-animation-distance: var( + --system-popover-animation-distance + ); + --spectrum-popover-background-color: var(--system-popover-background-color); + --spectrum-popover-border-color: var(--system-popover-border-color); + --spectrum-popover-content-area-spacing-vertical: var( + --system-popover-content-area-spacing-vertical + ); + --spectrum-popover-shadow-horizontal: var( + --system-popover-shadow-horizontal + ); + --spectrum-popover-shadow-vertical: var(--system-popover-shadow-vertical); + --spectrum-popover-shadow-blur: var(--system-popover-shadow-blur); + --spectrum-popover-shadow-color: var(--system-popover-shadow-color); + --spectrum-popover-corner-radius: var(--system-popover-corner-radius); + --spectrum-popover-pointer-width: var(--system-popover-pointer-width); + --spectrum-popover-pointer-height: var(--system-popover-pointer-height); + --spectrum-popover-pointer-edge-offset: var( + --system-popover-pointer-edge-offset + ); + --spectrum-popover-pointer-edge-spacing: var( + --system-popover-pointer-edge-spacing + ); +} diff --git a/packages/popover/src/popover.css b/packages/popover/src/popover.css index e654f17895..37e97f89df 100644 --- a/packages/popover/src/popover.css +++ b/packages/popover/src/popover.css @@ -9,7 +9,9 @@ the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTA OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + @import url('./spectrum-popover.css'); +@import url('./popover-overrides.css'); :host { min-width: min-content; diff --git a/packages/popover/src/spectrum-config.js b/packages/popover/src/spectrum-config.js index 32f325e0f6..c18099ff30 100644 --- a/packages/popover/src/spectrum-config.js +++ b/packages/popover/src/spectrum-config.js @@ -27,10 +27,6 @@ const config = { converter.classToHost(), converter.classToAttribute('is-open', 'open'), converter.classToAttribute('spectrum-Popover--withTip', 'tip'), - converter.classToAttribute( - 'spectrum-Popover--dialog', - 'dialog' - ), ...converter.enumerateAttributes( [ ['spectrum-Popover--top', 'top'], diff --git a/packages/popover/src/spectrum-popover.css b/packages/popover/src/spectrum-popover.css index af9e6346d2..4ebdf34af8 100644 --- a/packages/popover/src/spectrum-popover.css +++ b/packages/popover/src/spectrum-popover.css @@ -15,6 +15,10 @@ governing permissions and limitations under the License. pointer-events: none; visibility: hidden; opacity: 0; + transition: + transform 0.13s ease-in-out, + opacity 0.13s ease-in-out, + visibility 0s linear 0.13s; transition: transform var( @@ -39,44 +43,13 @@ governing permissions and limitations under the License. pointer-events: auto; visibility: visible; opacity: 1; + transition-delay: 0s; transition-delay: var( --mod-overlay-animation-duration-opened, var(--spectrum-animation-duration-0, 0s) ); } -:host { - --flow-direction: 1; - --spectrum-popover-animation-distance: var(--spectrum-spacing-100); - --spectrum-popover-background-color: var( - --spectrum-background-layer-2-color - ); - --spectrum-popover-border-color: var(--spectrum-gray-400); - --spectrum-popover-content-area-spacing-vertical: var( - --spectrum-popover-top-to-content-area - ); - --spectrum-popover-shadow-horizontal: var(--spectrum-drop-shadow-x); - --spectrum-popover-shadow-vertical: var(--spectrum-drop-shadow-y); - --spectrum-popover-shadow-blur: var(--spectrum-drop-shadow-blur); - --spectrum-popover-shadow-color: var(--spectrum-drop-shadow-color); - --spectrum-popover-corner-radius: var(--spectrum-corner-radius-100); - --spectrum-popover-pointer-width: var(--spectrum-popover-tip-width); - --spectrum-popover-pointer-height: var(--spectrum-popover-tip-height); - --spectrum-popover-pointer-edge-offset: calc( - var(--spectrum-corner-radius-100) + var(--spectrum-popover-tip-width) / - 2 - ); - --spectrum-popover-pointer-edge-spacing: calc( - var(--spectrum-popover-pointer-edge-offset) - - var(--spectrum-popover-tip-width) / 2 - ); -} - -:host:dir(rtl), -:host([dir='rtl']) { - --flow-direction: -1; -} - @media (forced-colors: active) { :host { --highcontrast-popover-border-color: CanvasText; @@ -218,7 +191,7 @@ governing permissions and limitations under the License. :host([tip]) .spectrum-Popover--right-bottom, :host([tip]) .spectrum-Popover--right-top, :host([placement*='right'][tip]) { - margin-inline-start: calc( + margin-left: calc( var(--mod-popover-pointer-width, var(--spectrum-popover-pointer-width)) - var( --mod-popover-border-width, @@ -241,7 +214,7 @@ governing permissions and limitations under the License. :host([tip]) .spectrum-Popover--left-bottom, :host([tip]) .spectrum-Popover--left-top, :host([placement*='left'][tip]) { - margin-inline-end: calc( + margin-right: calc( var(--mod-popover-pointer-width, var(--spectrum-popover-pointer-width)) - var( --mod-popover-border-width, @@ -459,137 +432,25 @@ governing permissions and limitations under the License. inset-block: 0; } -:host([tip][placement*='left']) .spectrum-Popover--end-bottom #tip, -:host([tip]) .spectrum-Popover--end-bottom.spectrum-Popover--left-bottom #tip, -:host([tip]) .spectrum-Popover--end-bottom.spectrum-Popover--left-top #tip, -:host([tip][placement*='left']) .spectrum-Popover--end-top #tip, -:host([tip]) .spectrum-Popover--end-top.spectrum-Popover--left-bottom #tip, -:host([tip]) .spectrum-Popover--end-top.spectrum-Popover--left-top #tip, -:host([tip][placement*='left']) .spectrum-Popover--end #tip, -:host([tip]) .spectrum-Popover--end.spectrum-Popover--left-bottom #tip, -:host([tip]) .spectrum-Popover--end.spectrum-Popover--left-top #tip, -:host([tip][placement*='left']) .spectrum-Popover--left-bottom #tip, -:host([tip]) .spectrum-Popover--left-bottom.spectrum-Popover--left-bottom #tip, -:host([tip]) .spectrum-Popover--left-bottom.spectrum-Popover--left-top #tip, -:host([tip][placement*='left']) .spectrum-Popover--left-top #tip, -:host([tip]) .spectrum-Popover--left-top.spectrum-Popover--left-bottom #tip, -:host([tip]) .spectrum-Popover--left-top.spectrum-Popover--left-top #tip, -:host([tip][placement*='left'][placement*='left']) #tip, -:host([tip][placement*='left']) .spectrum-Popover--left-bottom #tip, -:host([tip][placement*='left']) .spectrum-Popover--left-top #tip, -:host([tip][placement*='left']) .spectrum-Popover--right-bottom #tip, -:host([tip]) .spectrum-Popover--right-bottom.spectrum-Popover--left-bottom #tip, -:host([tip]) .spectrum-Popover--right-bottom.spectrum-Popover--left-top #tip, -:host([tip][placement*='left']) .spectrum-Popover--right-top #tip, -:host([tip]) .spectrum-Popover--right-top.spectrum-Popover--left-bottom #tip, -:host([tip]) .spectrum-Popover--right-top.spectrum-Popover--left-top #tip, -:host([tip][placement*='right'][placement*='left']) #tip, -:host([tip][placement*='right']) .spectrum-Popover--left-bottom #tip, -:host([tip][placement*='right']) .spectrum-Popover--left-top #tip, -:host([tip][placement*='left']) .spectrum-Popover--start-bottom #tip, -:host([tip]) .spectrum-Popover--start-bottom.spectrum-Popover--left-bottom #tip, -:host([tip]) .spectrum-Popover--start-bottom.spectrum-Popover--left-top #tip, -:host([tip][placement*='left']) .spectrum-Popover--start-top #tip, -:host([tip]) .spectrum-Popover--start-top.spectrum-Popover--left-bottom #tip, -:host([tip]) .spectrum-Popover--start-top.spectrum-Popover--left-top #tip, -:host([tip][placement*='left']) .spectrum-Popover--start #tip, -:host([tip]) .spectrum-Popover--start.spectrum-Popover--left-bottom #tip, -:host([tip]) .spectrum-Popover--start.spectrum-Popover--left-top #tip { - inset-inline: 100% auto; -} - -:host([tip][placement*='right']) .spectrum-Popover--end-bottom #tip, -:host([tip]) .spectrum-Popover--end-bottom.spectrum-Popover--right-bottom #tip, -:host([tip]) .spectrum-Popover--end-bottom.spectrum-Popover--right-top #tip, -:host([tip][placement*='right']) .spectrum-Popover--end-top #tip, -:host([tip]) .spectrum-Popover--end-top.spectrum-Popover--right-bottom #tip, -:host([tip]) .spectrum-Popover--end-top.spectrum-Popover--right-top #tip, -:host([tip][placement*='right']) .spectrum-Popover--end #tip, -:host([tip]) .spectrum-Popover--end.spectrum-Popover--right-bottom #tip, -:host([tip]) .spectrum-Popover--end.spectrum-Popover--right-top #tip, -:host([tip][placement*='right']) .spectrum-Popover--left-bottom #tip, -:host([tip]) .spectrum-Popover--left-bottom.spectrum-Popover--right-bottom #tip, -:host([tip]) .spectrum-Popover--left-bottom.spectrum-Popover--right-top #tip, -:host([tip][placement*='right']) .spectrum-Popover--left-top #tip, -:host([tip]) .spectrum-Popover--left-top.spectrum-Popover--right-bottom #tip, -:host([tip]) .spectrum-Popover--left-top.spectrum-Popover--right-top #tip, -:host([tip][placement*='left'][placement*='right']) #tip, -:host([tip][placement*='left']) .spectrum-Popover--right-bottom #tip, -:host([tip][placement*='left']) .spectrum-Popover--right-top #tip, -:host([tip][placement*='right']) .spectrum-Popover--right-bottom #tip, -:host([tip]) - .spectrum-Popover--right-bottom.spectrum-Popover--right-bottom - #tip, -:host([tip]) .spectrum-Popover--right-bottom.spectrum-Popover--right-top #tip, -:host([tip][placement*='right']) .spectrum-Popover--right-top #tip, -:host([tip]) .spectrum-Popover--right-top.spectrum-Popover--right-bottom #tip, -:host([tip]) .spectrum-Popover--right-top.spectrum-Popover--right-top #tip, -:host([tip][placement*='right'][placement*='right']) #tip, -:host([tip][placement*='right']) .spectrum-Popover--right-bottom #tip, -:host([tip][placement*='right']) .spectrum-Popover--right-top #tip, -:host([tip][placement*='right']) .spectrum-Popover--start-bottom #tip, -:host([tip]) - .spectrum-Popover--start-bottom.spectrum-Popover--right-bottom - #tip, -:host([tip]) .spectrum-Popover--start-bottom.spectrum-Popover--right-top #tip, -:host([tip][placement*='right']) .spectrum-Popover--start-top #tip, -:host([tip]) .spectrum-Popover--start-top.spectrum-Popover--right-bottom #tip, -:host([tip]) .spectrum-Popover--start-top.spectrum-Popover--right-top #tip, -:host([tip][placement*='right']) .spectrum-Popover--start #tip, -:host([tip]) .spectrum-Popover--start.spectrum-Popover--right-bottom #tip, -:host([tip]) .spectrum-Popover--start.spectrum-Popover--right-top #tip { - inset-inline: auto 100%; +:host([tip][placement*='left']) #tip, +:host([tip]) .spectrum-Popover--left-bottom #tip, +:host([tip]) .spectrum-Popover--left-top #tip { + left: 100%; + right: auto; +} + +:host([tip][placement*='right']) #tip, +:host([tip]) .spectrum-Popover--right-bottom #tip, +:host([tip]) .spectrum-Popover--right-top #tip { + left: auto; + right: 100%; transform: scaleX(-1); } -:host([tip]) .spectrum-Popover--end-bottom.spectrum-Popover--end-top #tip, -:host([tip]) .spectrum-Popover--end-bottom.spectrum-Popover--left-top #tip, -:host([tip]) .spectrum-Popover--end-bottom.spectrum-Popover--right-top #tip, -:host([tip]) .spectrum-Popover--end-bottom.spectrum-Popover--start-top #tip, -:host([tip]) .spectrum-Popover--end-top.spectrum-Popover--end-top #tip, -:host([tip]) .spectrum-Popover--end-top.spectrum-Popover--left-top #tip, -:host([tip]) .spectrum-Popover--end-top.spectrum-Popover--right-top #tip, -:host([tip]) .spectrum-Popover--end-top.spectrum-Popover--start-top #tip, -:host([tip]) .spectrum-Popover--end.spectrum-Popover--end-top #tip, -:host([tip]) .spectrum-Popover--end.spectrum-Popover--left-top #tip, -:host([tip]) .spectrum-Popover--end.spectrum-Popover--right-top #tip, -:host([tip]) .spectrum-Popover--end.spectrum-Popover--start-top #tip, -:host([tip]) .spectrum-Popover--left-bottom.spectrum-Popover--end-top #tip, -:host([tip]) .spectrum-Popover--left-bottom.spectrum-Popover--left-top #tip, -:host([tip]) .spectrum-Popover--left-bottom.spectrum-Popover--right-top #tip, -:host([tip]) .spectrum-Popover--left-bottom.spectrum-Popover--start-top #tip, -:host([tip]) .spectrum-Popover--left-top.spectrum-Popover--end-top #tip, -:host([tip]) .spectrum-Popover--left-top.spectrum-Popover--left-top #tip, -:host([tip]) .spectrum-Popover--left-top.spectrum-Popover--right-top #tip, -:host([tip]) .spectrum-Popover--left-top.spectrum-Popover--start-top #tip, -:host([tip][placement*='left']) .spectrum-Popover--end-top #tip, -:host([tip][placement*='left']) .spectrum-Popover--left-top #tip, -:host([tip][placement*='left']) .spectrum-Popover--right-top #tip, -:host([tip][placement*='left']) .spectrum-Popover--start-top #tip, -:host([tip]) .spectrum-Popover--right-bottom.spectrum-Popover--end-top #tip, -:host([tip]) .spectrum-Popover--right-bottom.spectrum-Popover--left-top #tip, -:host([tip]) .spectrum-Popover--right-bottom.spectrum-Popover--right-top #tip, -:host([tip]) .spectrum-Popover--right-bottom.spectrum-Popover--start-top #tip, -:host([tip]) .spectrum-Popover--right-top.spectrum-Popover--end-top #tip, -:host([tip]) .spectrum-Popover--right-top.spectrum-Popover--left-top #tip, -:host([tip]) .spectrum-Popover--right-top.spectrum-Popover--right-top #tip, -:host([tip]) .spectrum-Popover--right-top.spectrum-Popover--start-top #tip, -:host([tip][placement*='right']) .spectrum-Popover--end-top #tip, -:host([tip][placement*='right']) .spectrum-Popover--left-top #tip, -:host([tip][placement*='right']) .spectrum-Popover--right-top #tip, -:host([tip][placement*='right']) .spectrum-Popover--start-top #tip, -:host([tip]) .spectrum-Popover--start-bottom.spectrum-Popover--end-top #tip, -:host([tip]) .spectrum-Popover--start-bottom.spectrum-Popover--left-top #tip, -:host([tip]) .spectrum-Popover--start-bottom.spectrum-Popover--right-top #tip, -:host([tip]) .spectrum-Popover--start-bottom.spectrum-Popover--start-top #tip, -:host([tip]) .spectrum-Popover--start-top.spectrum-Popover--end-top #tip, -:host([tip]) .spectrum-Popover--start-top.spectrum-Popover--left-top #tip, -:host([tip]) .spectrum-Popover--start-top.spectrum-Popover--right-top #tip, -:host([tip]) .spectrum-Popover--start-top.spectrum-Popover--start-top #tip, -:host([tip]) .spectrum-Popover--start.spectrum-Popover--end-top #tip, -:host([tip]) .spectrum-Popover--start.spectrum-Popover--left-top #tip, -:host([tip]) .spectrum-Popover--start.spectrum-Popover--right-top #tip, -:host([tip]) .spectrum-Popover--start.spectrum-Popover--start-top #tip { +:host([tip]) .spectrum-Popover--end-top #tip, +:host([tip]) .spectrum-Popover--left-top #tip, +:host([tip]) .spectrum-Popover--right-top #tip, +:host([tip]) .spectrum-Popover--start-top #tip { inset-block: var( --mod-popover-pointer-edge-spacing, var(--spectrum-popover-pointer-edge-spacing) @@ -597,62 +458,10 @@ governing permissions and limitations under the License. auto; } -:host([tip]) .spectrum-Popover--end-bottom.spectrum-Popover--end-bottom #tip, -:host([tip]) .spectrum-Popover--end-bottom.spectrum-Popover--left-bottom #tip, -:host([tip]) .spectrum-Popover--end-bottom.spectrum-Popover--right-bottom #tip, -:host([tip]) .spectrum-Popover--end-bottom.spectrum-Popover--start-bottom #tip, -:host([tip]) .spectrum-Popover--end-top.spectrum-Popover--end-bottom #tip, -:host([tip]) .spectrum-Popover--end-top.spectrum-Popover--left-bottom #tip, -:host([tip]) .spectrum-Popover--end-top.spectrum-Popover--right-bottom #tip, -:host([tip]) .spectrum-Popover--end-top.spectrum-Popover--start-bottom #tip, -:host([tip]) .spectrum-Popover--end.spectrum-Popover--end-bottom #tip, -:host([tip]) .spectrum-Popover--end.spectrum-Popover--left-bottom #tip, -:host([tip]) .spectrum-Popover--end.spectrum-Popover--right-bottom #tip, -:host([tip]) .spectrum-Popover--end.spectrum-Popover--start-bottom #tip, -:host([tip]) .spectrum-Popover--left-bottom.spectrum-Popover--end-bottom #tip, -:host([tip]) .spectrum-Popover--left-bottom.spectrum-Popover--left-bottom #tip, -:host([tip]) .spectrum-Popover--left-bottom.spectrum-Popover--right-bottom #tip, -:host([tip]) .spectrum-Popover--left-bottom.spectrum-Popover--start-bottom #tip, -:host([tip]) .spectrum-Popover--left-top.spectrum-Popover--end-bottom #tip, -:host([tip]) .spectrum-Popover--left-top.spectrum-Popover--left-bottom #tip, -:host([tip]) .spectrum-Popover--left-top.spectrum-Popover--right-bottom #tip, -:host([tip]) .spectrum-Popover--left-top.spectrum-Popover--start-bottom #tip, -:host([tip][placement*='left']) .spectrum-Popover--end-bottom #tip, -:host([tip][placement*='left']) .spectrum-Popover--left-bottom #tip, -:host([tip][placement*='left']) .spectrum-Popover--right-bottom #tip, -:host([tip][placement*='left']) .spectrum-Popover--start-bottom #tip, -:host([tip]) .spectrum-Popover--right-bottom.spectrum-Popover--end-bottom #tip, -:host([tip]) .spectrum-Popover--right-bottom.spectrum-Popover--left-bottom #tip, -:host([tip]) - .spectrum-Popover--right-bottom.spectrum-Popover--right-bottom - #tip, -:host([tip]) - .spectrum-Popover--right-bottom.spectrum-Popover--start-bottom - #tip, -:host([tip]) .spectrum-Popover--right-top.spectrum-Popover--end-bottom #tip, -:host([tip]) .spectrum-Popover--right-top.spectrum-Popover--left-bottom #tip, -:host([tip]) .spectrum-Popover--right-top.spectrum-Popover--right-bottom #tip, -:host([tip]) .spectrum-Popover--right-top.spectrum-Popover--start-bottom #tip, -:host([tip][placement*='right']) .spectrum-Popover--end-bottom #tip, -:host([tip][placement*='right']) .spectrum-Popover--left-bottom #tip, -:host([tip][placement*='right']) .spectrum-Popover--right-bottom #tip, -:host([tip][placement*='right']) .spectrum-Popover--start-bottom #tip, -:host([tip]) .spectrum-Popover--start-bottom.spectrum-Popover--end-bottom #tip, -:host([tip]) .spectrum-Popover--start-bottom.spectrum-Popover--left-bottom #tip, -:host([tip]) - .spectrum-Popover--start-bottom.spectrum-Popover--right-bottom - #tip, -:host([tip]) - .spectrum-Popover--start-bottom.spectrum-Popover--start-bottom - #tip, -:host([tip]) .spectrum-Popover--start-top.spectrum-Popover--end-bottom #tip, -:host([tip]) .spectrum-Popover--start-top.spectrum-Popover--left-bottom #tip, -:host([tip]) .spectrum-Popover--start-top.spectrum-Popover--right-bottom #tip, -:host([tip]) .spectrum-Popover--start-top.spectrum-Popover--start-bottom #tip, -:host([tip]) .spectrum-Popover--start.spectrum-Popover--end-bottom #tip, -:host([tip]) .spectrum-Popover--start.spectrum-Popover--left-bottom #tip, -:host([tip]) .spectrum-Popover--start.spectrum-Popover--right-bottom #tip, -:host([tip]) .spectrum-Popover--start.spectrum-Popover--start-bottom #tip { +:host([tip]) .spectrum-Popover--end-bottom #tip, +:host([tip]) .spectrum-Popover--left-bottom #tip, +:host([tip]) .spectrum-Popover--right-bottom #tip, +:host([tip]) .spectrum-Popover--start-bottom #tip { inset-block: auto var( --mod-popover-pointer-edge-spacing, @@ -690,9 +499,3 @@ governing permissions and limitations under the License. :host([dir='rtl'][tip]) .spectrum-Popover--end-top #tip { transform: scaleX(1); } - -:host { - --spectrum-popover-border-width: var( - --system-spectrum-popover-border-width - ); -} diff --git a/packages/popover/stories/popover.stories.ts b/packages/popover/stories/popover.stories.ts index 7e5c081aa9..75b7b04834 100644 --- a/packages/popover/stories/popover.stories.ts +++ b/packages/popover/stories/popover.stories.ts @@ -97,7 +97,6 @@ const Template = ({ tip, placement, open }: StoryArgs): TemplateResult => { style="color: var(--spectrum-gray-800); position: relative; display: contents" > -
Popover Title
-
+ + +

Popover title

Cupcake ipsum dolor sit amet jelly beans. Chocolate jelly caramels. Icing soufflé chupa chups donut cheesecake. Jelly-o chocolate cake sweet roll cake danish candy biscuit halvah -
+
`); diff --git a/packages/popover/test/popover.test.ts b/packages/popover/test/popover.test.ts index cae6611511..b6d9649e11 100644 --- a/packages/popover/test/popover.test.ts +++ b/packages/popover/test/popover.test.ts @@ -10,6 +10,7 @@ OF ANY KIND, either express or implied. See the License for the specific languag governing permissions and limitations under the License. */ import '@spectrum-web-components/popover/sp-popover.js'; +import '@spectrum-web-components/dialog/sp-dialog.js'; import { Popover } from '@spectrum-web-components/popover'; import { elementUpdated, expect, fixture, html } from '@open-wc/testing'; @@ -17,25 +18,23 @@ describe('popover', () => { let popover!: Popover; beforeEach(async () => { - popover = await fixture( - html` - -
Popover Title
-
- Cupcake ipsum dolor sit amet jelly beans. Chocolate - jelly caramels. Icing soufflé chupa chups donut - cheesecake. Jelly-o chocolate cake sweet roll cake - danish candy biscuit halvah -
-
- ` - ); + popover = await fixture(html` + + +

Popover title

+ Cupcake ipsum dolor sit amet jelly beans. Chocolate jelly + caramels. Icing soufflé chupa chups donut cheesecake. + Jelly-o chocolate cake sweet roll cake danish candy biscuit + halvah +
+
+ `); await elementUpdated(popover); }); it('loads', async () => { expect(popover).to.not.equal(undefined); - expect(popover.textContent).to.include('Popover Title'); + expect(popover.textContent?.trim()).to.include('Popover title'); await expect(popover).to.be.accessible(); }); @@ -53,19 +52,17 @@ describe('popover', () => { }); it('surfaces tip element', async () => { - const el = await fixture( - html` - -
Popover Title
-
- Cupcake ipsum dolor sit amet jelly beans. Chocolate - jelly caramels. Icing soufflé chupa chups donut - cheesecake. Jelly-o chocolate cake sweet roll cake - danish candy biscuit halvah -
-
- ` - ); + const el = await fixture(html` + +
Popover Title
+
+ Cupcake ipsum dolor sit amet jelly beans. Chocolate jelly + caramels. Icing soufflé chupa chups donut cheesecake. + Jelly-o chocolate cake sweet roll cake danish candy biscuit + halvah +
+
+ `); await elementUpdated(el); diff --git a/packages/progress-bar/package.json b/packages/progress-bar/package.json index b1811a43cf..f4838de1eb 100644 --- a/packages/progress-bar/package.json +++ b/packages/progress-bar/package.json @@ -33,6 +33,7 @@ "development": "./src/index.dev.js", "default": "./src/index.js" }, + "./src/progress-bar-overrides.css.js": "./src/progress-bar-overrides.css.js", "./src/progress-bar.css.js": "./src/progress-bar.css.js", "./sp-progress-bar.js": { "development": "./sp-progress-bar.dev.js", @@ -63,7 +64,7 @@ "@spectrum-web-components/shared": "^0.49.0" }, "devDependencies": { - "@spectrum-css/progressbar": "^4.1.5" + "@spectrum-css/progressbar": "^5.0.0-s2-foundations.19" }, "types": "./src/index.d.ts", "customElements": "custom-elements.json", diff --git a/packages/progress-bar/src/ProgressBar.ts b/packages/progress-bar/src/ProgressBar.ts index 10b3206388..e8a1973d92 100644 --- a/packages/progress-bar/src/ProgressBar.ts +++ b/packages/progress-bar/src/ProgressBar.ts @@ -60,12 +60,6 @@ export class ProgressBar extends SizedMixin( @property({ type: Number }) public progress = 0; - /** - * @deprecated Use `staticColor` instead. - */ - @property({ type: String, reflect: true }) - public static: 'white' | undefined; - @property({ reflect: true, attribute: 'static-color' }) public staticColor?: 'white'; @@ -128,20 +122,6 @@ export class ProgressBar extends SizedMixin( protected override updated(changes: PropertyValues): void { super.updated(changes); - if ( - changes.has('static') && - (this.static !== undefined || changes.get('static') !== undefined) - ) { - this.staticColor = this.static; - if (window.__swc.DEBUG) { - window.__swc.warn( - this, - `The "static" attribute of <${this.localName}> has been deprecated. Use "static-color" with the same values instead. "static" will be removed in a future release.`, - 'https://opensource.adobe.com/spectrum-web-components/components/progress-bar/api/', - { level: 'deprecation' } - ); - } - } if (changes.has('indeterminate')) { if (this.indeterminate) { this.removeAttribute('aria-valuemin'); diff --git a/packages/progress-bar/src/progress-bar-overrides.css b/packages/progress-bar/src/progress-bar-overrides.css new file mode 100644 index 0000000000..55c099e7ca --- /dev/null +++ b/packages/progress-bar/src/progress-bar-overrides.css @@ -0,0 +1,122 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host { + --spectrum-progressbar-animation-ease-in-out-indeterminate: var( + --system-progress-bar-animation-ease-in-out-indeterminate + ); + --spectrum-progressbar-animation-duration-indeterminate: var( + --system-progress-bar-animation-duration-indeterminate + ); + --spectrum-progressbar-corner-radius: var( + --system-progress-bar-corner-radius + ); + --spectrum-progressbar-fill-size-indeterminate: var( + --system-progress-bar-fill-size-indeterminate + ); + --spectrum-progressbar-size-2400: var(--system-progress-bar-size-2400); + --spectrum-progressbar-size-2500: var(--system-progress-bar-size-2500); + --spectrum-progressbar-size-2800: var(--system-progress-bar-size-2800); + --spectrum-progressbar-line-height-cjk: var( + --system-progress-bar-line-height-cjk + ); + --spectrum-progressbar-min-size: var(--system-progress-bar-min-size); + --spectrum-progressbar-max-size: var(--system-progress-bar-max-size); + --spectrum-progressbar-line-height: var(--system-progress-bar-line-height); + --spectrum-progressbar-spacing-label-to-progressbar: var( + --system-progress-bar-spacing-label-to + ); + --spectrum-progressbar-spacing-label-to-text: var( + --system-progress-bar-spacing-label-to-text + ); + --spectrum-progressbar-text-color: var(--system-progress-bar-text-color); + --spectrum-progressbar-track-color: var(--system-progress-bar-track-color); + --spectrum-progressbar-fill-color: var(--system-progress-bar-fill-color); + --spectrum-progressbar-label-and-value-white: var( + --system-progress-bar-label-and-value-white + ); + --spectrum-progressbar-track-color-white: var( + --system-progress-bar-track-color-white + ); + --spectrum-progressbar-fill-color-white: var( + --system-progress-bar-fill-color-white + ); + --spectrum-progressbar-size-default: var( + --system-progress-bar-size-default + ); + --spectrum-progressbar-font-size: var(--system-progress-bar-font-size); + --spectrum-progressbar-thickness: var(--system-progress-bar-thickness); + --spectrum-progressbar-spacing-top-to-text: var( + --system-progress-bar-spacing-top-to-text + ); +} + +:host { + --spectrum-progressbar-size-default: var( + --system-progress-bar-size-m-size-default + ); + --spectrum-progressbar-font-size: var( + --system-progress-bar-size-m-font-size + ); + --spectrum-progressbar-thickness: var( + --system-progress-bar-size-m-thickness + ); + --spectrum-progressbar-spacing-top-to-text: var( + --system-progress-bar-size-m-spacing-top-to-text + ); +} + +:host([size='s']) { + --spectrum-progressbar-size-default: var( + --system-progress-bar-size-s-size-default + ); + --spectrum-progressbar-font-size: var( + --system-progress-bar-size-s-font-size + ); + --spectrum-progressbar-thickness: var( + --system-progress-bar-size-s-thickness + ); + --spectrum-progressbar-spacing-top-to-text: var( + --system-progress-bar-size-s-spacing-top-to-text + ); +} + +:host([size='l']) { + --spectrum-progressbar-size-default: var( + --system-progress-bar-size-l-size-default + ); + --spectrum-progressbar-font-size: var( + --system-progress-bar-size-l-font-size + ); + --spectrum-progressbar-thickness: var( + --system-progress-bar-size-l-thickness + ); + --spectrum-progressbar-spacing-top-to-text: var( + --system-progress-bar-size-l-spacing-top-to-text + ); +} + +:host([size='xl']) { + --spectrum-progressbar-size-default: var( + --system-progress-bar-size-xl-size-default + ); + --spectrum-progressbar-font-size: var( + --system-progress-bar-size-xl-font-size + ); + --spectrum-progressbar-thickness: var( + --system-progress-bar-size-xl-thickness + ); + --spectrum-progressbar-spacing-top-to-text: var( + --system-progress-bar-size-xl-spacing-top-to-text + ); +} diff --git a/packages/progress-bar/src/progress-bar.css b/packages/progress-bar/src/progress-bar.css index 7bff6440c0..223ff458b4 100644 --- a/packages/progress-bar/src/progress-bar.css +++ b/packages/progress-bar/src/progress-bar.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-progress-bar.css'); +@import url('./progress-bar-overrides.css'); .fill { width: 100%; diff --git a/packages/progress-bar/src/spectrum-progress-bar.css b/packages/progress-bar/src/spectrum-progress-bar.css index 9e8eb71ca2..f8e10b8fbc 100644 --- a/packages/progress-bar/src/spectrum-progress-bar.css +++ b/packages/progress-bar/src/spectrum-progress-bar.css @@ -11,149 +11,6 @@ governing permissions and limitations under the License. */ /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ -:host { - --spectrum-progressbar-animation-ease-in-out-indeterminate: var( - --spectrum-animation-ease-in-out - ); - --spectrum-progressbar-animation-duration-indeterminate: var( - --spectrum-animation-duration-2000 - ); - --spectrum-progressbar-corner-radius: var(--spectrum-corner-radius-100); - --spectrum-progressbar-fill-size-indeterminate: 70%; - --spectrum-progressbar-size-2400: 192px; - --spectrum-progressbar-size-2500: 200px; - --spectrum-progressbar-size-2800: 224px; - --spectrum-progressbar-font-size: var(--spectrum-font-size-75); - --spectrum-progressbar-line-height-cjk: var(--spectrum-cjk-line-height-100); - --spectrum-progressbar-min-size: var(--spectrum-progress-bar-minimum-width); - --spectrum-progressbar-max-size: var(--spectrum-progress-bar-maximum-width); - --spectrum-progressbar-thickness: var( - --spectrum-progress-bar-thickness-medium - ); - --spectrum-progressbar-line-height: var(--spectrum-line-height-100); - --spectrum-progressbar-spacing-label-to-progressbar: var( - --spectrum-spacing-75 - ); - --spectrum-progressbar-spacing-top-to-text: var( - --spectrum-component-top-to-text-100 - ); - --spectrum-progressbar-spacing-label-to-text: var(--spectrum-spacing-200); - --spectrum-progressbar-text-color: var( - --spectrum-neutral-content-color-default - ); - --spectrum-progressbar-track-color: var(--spectrum-gray-300); - --spectrum-progressbar-fill-color: var(--spectrum-accent-color-900); - --spectrum-progressbar-fill-color-positive: var( - --spectrum-positive-visual-color - ); - --spectrum-progressbar-fill-color-notice: var( - --spectrum-notice-visual-color - ); - --spectrum-progressbar-fill-color-negative: var( - --spectrum-negative-visual-color - ); - --spectrum-progressbar-label-and-value-white: var(--spectrum-white); - --spectrum-progressbar-track-color-white: var( - --spectrum-transparent-white-300 - ); - --spectrum-progressbar-fill-color-white: var(--spectrum-white); - --spectrum-meter-min-width: var(--spectrum-meter-minimum-width); - --spectrum-meter-max-width: var(--spectrum-meter-maximum-width); - --spectrum-meter-inline-size: var(--spectrum-meter-default-width); - --spectrum-meter-thickness-s: var(--spectrum-meter-thickness-small); - --spectrum-meter-thickness-l: var(--spectrum-meter-thickness-large); - --spectrum-meter-top-to-text: var(--spectrum-component-top-to-text); -} - -:host([size='s']) { - --spectrum-progressbar-size-default: var(--spectrum-progressbar-size-2400); - --spectrum-progressbar-font-size: var(--spectrum-font-size-75); - --spectrum-progressbar-thickness: var( - --spectrum-progress-bar-thickness-small - ); - --spectrum-progressbar-spacing-top-to-text: var( - --spectrum-component-top-to-text-75 - ); -} - -:host { - --spectrum-progressbar-size-default: var(--spectrum-progressbar-size-2400); - --spectrum-progressbar-font-size: var(--spectrum-font-size-75); - --spectrum-progressbar-thickness: var( - --spectrum-progress-bar-thickness-large - ); - --spectrum-progressbar-spacing-top-to-text: var( - --spectrum-component-top-to-text-75 - ); -} - -:host([size='l']) { - --spectrum-progressbar-size-default: var(--spectrum-progressbar-size-2500); - --spectrum-progressbar-font-size: var(--spectrum-font-size-100); - --spectrum-progressbar-thickness: var( - --spectrum-progress-bar-thickness-large - ); - --spectrum-progressbar-spacing-top-to-text: var( - --spectrum-component-top-to-text-200 - ); -} - -:host([size='xl']) { - --spectrum-progressbar-size-default: var(--spectrum-progressbar-size-2800); - --spectrum-progressbar-font-size: var(--spectrum-font-size-200); - --spectrum-progressbar-thickness: var( - --spectrum-progress-bar-thickness-extra-large - ); - --spectrum-progressbar-spacing-top-to-text: var( - --spectrum-component-top-to-text-300 - ); -} - -.spectrum-Meter { - --spectrum-progressbar-size-default: var( - --mod-meter-inline-size, - var(--spectrum-meter-inline-size) - ); - --spectrum-progressbar-max-size: var( - --mod-meter-max-width, - var(--spectrum-meter-max-width) - ); - --spectrum-progressbar-min-size: var( - --mod-meter-min-width, - var(--spectrum-meter-min-width) - ); -} - -:host([positive]) .spectrum-Meter .fill { - background: var( - --highcontrast-progressbar-fill-color, - var( - --mod-progressbar-fill-color-positive, - var(--spectrum-progressbar-fill-color-positive) - ) - ); -} - -:host([notice]) .spectrum-Meter .fill { - background: var( - --highcontrast-progressbar-fill-color, - var( - --mod-progressbar-fill-color-notice, - var(--spectrum-progressbar-fill-color-notice) - ) - ); -} - -:host([negative]) .spectrum-Meter .fill { - background: var( - --highcontrast-progressbar-fill-color, - var( - --mod-progressbar-fill-color-negative, - var(--spectrum-progressbar-fill-color-negative) - ) - ); -} - :host { font-size: var( --mod-progressbar-font-size, @@ -267,9 +124,20 @@ governing permissions and limitations under the License. var(--spectrum-progressbar-animation-ease-in-out-indeterminate) ); will-change: transform; + animation-name: indeterminate-loop-ltr; + animation-duration: var( + --mod-progressbar-animation-duration-indeterminate, + var(--spectrum-progressbar-animation-duration-indeterminate) + ); + animation-iteration-count: infinite; position: relative; } +:host([indeterminate]) .fill:dir(rtl), +:host([dir='rtl'][indeterminate]) .fill { + animation-name: indeterminate-loop-rtl; +} + :host([side-label]) { flex-flow: row; justify-content: space-between; @@ -323,25 +191,6 @@ governing permissions and limitations under the License. background: var(--spectrum-progressbar-track-color-white); } -:host([indeterminate]) .fill { - animation: indeterminate-loop-ltr - var( - --mod-progressbar-animation-duration-indeterminate, - var(--spectrum-progressbar-animation-duration-indeterminate) - ) - infinite; -} - -:host([indeterminate]) .fill:dir(rtl), -:host([dir='rtl'][indeterminate]) .fill { - animation: indeterminate-loop-rtl - var( - --mod-progressbar-animation-duration-indeterminate, - var(--spectrum-progressbar-animation-duration-indeterminate) - ) - infinite; -} - @keyframes indeterminate-loop-ltr { 0% { transform: translate( @@ -388,9 +237,9 @@ governing permissions and limitations under the License. @media (forced-colors: active) { .track { - forced-color-adjust: none; --highcontrast-progressbar-fill-color: ButtonText; --highcontrast-progressbar-track-color: ButtonFace; + forced-color-adjust: none; border: 1px solid ButtonText; } } diff --git a/packages/progress-bar/test/progress-bar.test.ts b/packages/progress-bar/test/progress-bar.test.ts index a1feaa6630..161facf500 100644 --- a/packages/progress-bar/test/progress-bar.test.ts +++ b/packages/progress-bar/test/progress-bar.test.ts @@ -183,91 +183,72 @@ describe('ProgressBar', () => { }, }); }); + it('resolves a language (en-US)', async () => { + const [languageContext] = createLanguageContext('en-US'); + const test = await fixture(html` +
+ +
+ `); + const el = test.querySelector('sp-progress-bar') as ProgressBar; + const percentage = el.shadowRoot.querySelector( + '.percentage' + ) as HTMLElement; + expect(percentage.textContent?.search('%')).to.not.equal(-1); + }); + + it('resolves a language (ar-sa)', async () => { + const [languageContext] = createLanguageContext('ar-sa'); + const test = await fixture(html` +
+ +
+ `); + const el = test.querySelector('sp-progress-bar') as ProgressBar; + const percentage = el.shadowRoot.querySelector( + '.percentage' + ) as HTMLElement; + expect(percentage.textContent?.search('٪')).to.not.equal(-1); + }); - it('warns in devMode when white/black static is provided', async () => { + it('accepts `aria-label`', async () => { const el = await fixture(html` - + `); + await elementUpdated(el); - expect(consoleWarnStub.called).to.be.true; - const spyCall = consoleWarnStub.getCall(0); - expect( - (spyCall.args.at(0) as string).includes('deprecated'), - 'confirm deprecated static warning' - ).to.be.true; - expect(spyCall.args.at(-1), 'confirm `data` shape').to.deep.equal({ - data: { - localName: 'sp-progress-bar', - type: 'api', - level: 'deprecation', - }, - }); + expect(el.hasAttribute('aria-label')).to.be.true; + expect(el.getAttribute('aria-label')).to.equal('Loading'); }); - }); + it('sets `aria-label` to equal `label` if `label` is set', async () => { + const el = await fixture(html` + + `); - it('resolves a language (en-US)', async () => { - const [languageContext] = createLanguageContext('en-US'); - const test = await fixture(html` -
- -
- `); - const el = test.querySelector('sp-progress-bar') as ProgressBar; - const percentage = el.shadowRoot.querySelector( - '.percentage' - ) as HTMLElement; - expect(percentage.textContent?.search('%')).to.not.equal(-1); - }); + await elementUpdated(el); - it('resolves a language (ar-sa)', async () => { - const [languageContext] = createLanguageContext('ar-sa'); - const test = await fixture(html` -
+ expect(el.hasAttribute('aria-label')).to.be.true; + expect(el.getAttribute('aria-label')).to.equal('Loading'); + }); + it('does not remove `aria-label` if set independently of `label`', async () => { + const el = await fixture(html` -
- `); - const el = test.querySelector('sp-progress-bar') as ProgressBar; - const percentage = el.shadowRoot.querySelector( - '.percentage' - ) as HTMLElement; - expect(percentage.textContent?.search('٪')).to.not.equal(-1); - }); - - it('accepts `aria-label`', async () => { - const el = await fixture(html` - - `); - - await elementUpdated(el); - - expect(el.hasAttribute('aria-label')).to.be.true; - expect(el.getAttribute('aria-label')).to.equal('Loading'); - }); - it('sets `aria-label` to equal `label` if `label` is set', async () => { - const el = await fixture(html` - - `); - - await elementUpdated(el); - - expect(el.hasAttribute('aria-label')).to.be.true; - expect(el.getAttribute('aria-label')).to.equal('Loading'); - }); - it('does not remove `aria-label` if set independently of `label`', async () => { - const el = await fixture(html` - - `); + `); - await elementUpdated(el); + await elementUpdated(el); - expect(el.hasAttribute('aria-label')).to.be.true; - expect(el.getAttribute('aria-label')).to.equal('Loading'); + expect(el.hasAttribute('aria-label')).to.be.true; + expect(el.getAttribute('aria-label')).to.equal('Loading'); + }); }); }); diff --git a/packages/progress-circle/README.md b/packages/progress-circle/README.md index 4a0bc9b1e3..c672c707dd 100644 --- a/packages/progress-circle/README.md +++ b/packages/progress-circle/README.md @@ -51,9 +51,9 @@ An `` is used to visually show the progression of a system o ``` -### Static +### Static color -If you display your `` element over the top of other content, e.g. an image or an alternate background color, it may become appropariate to update the colors with which the circle and loading progress indicator are delivered. To do this, leverage the `static` attribute with the value of `white` to ensure the content of your page is being delivered accessibly. +If you display your `` element over the top of other content, e.g. an image or an alternate background color, it may become appropariate to update the colors with which the circle and loading progress indicator are delivered. To do this, leverage the `static-color` attribute with the value of `white` to ensure the content of your page is being delivered accessibly. ```html
): void { - if (changes.has('overBackground')) { - // Apply "staticColor" from "overBackground", preferring "staticColor", - // until the deprecation period is over. - this.staticColor = this.overBackground - ? 'white' - : this.staticColor || undefined; - if (window.__swc.DEBUG) { - if (this.overBackground) { - window.__swc.warn( - this, - `<${this.localName}> element will stop accepting the "over-background" attribute, and its related "overBackground" property in a future release. Use the "static-color" attribute with a value of "white" instead.`, - 'https://opensource.adobe.com/spectrum-web-components/components/progress-circle/#static', - { level: 'deprecation' } - ); - } - } - } - if (changes.has('static')) { - // Apply "staticColor" from "static", preferring "staticColor", - // until the deprecation period is over. - this.staticColor = this.static; - if (window.__swc.DEBUG) { - if (this.static) { - window.__swc.warn( - this, - `<${this.localName}> element will stop accepting the "static" attribute. Use the "static-color" attribute with a value of "white" instead.`, - 'https://opensource.adobe.com/spectrum-web-components/components/progress-circle/#static', - { level: 'deprecation' } - ); - } - } - } - } - protected override render(): TemplateResult { const styles = [ this.makeRotation(-180 + (180 / 50) * Math.min(this.progress, 50)), diff --git a/packages/progress-circle/src/progress-circle-overrides.css b/packages/progress-circle/src/progress-circle-overrides.css new file mode 100644 index 0000000000..3bc4f00712 --- /dev/null +++ b/packages/progress-circle/src/progress-circle-overrides.css @@ -0,0 +1,48 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host { + --spectrum-progress-circle-track-border-color: var( + --system-progress-circle-track-border-color + ); + --spectrum-progress-circle-fill-border-color: var( + --system-progress-circle-fill-border-color + ); + --spectrum-progress-circle-track-border-color-over-background: var( + --system-progress-circle-track-border-color-over-background + ); + --spectrum-progress-circle-fill-border-color-over-background: var( + --system-progress-circle-fill-border-color-over-background + ); + --spectrum-progress-circle-size: var(--system-progress-circle-size); + --spectrum-progress-circle-thickness: var( + --system-progress-circle-thickness + ); + --spectrum-progress-circle-track-border-style: var( + --system-progress-circle-track-border-style + ); +} + +:host([size='s']) { + --spectrum-progress-circle-size: var(--system-progress-circle-small-size); + --spectrum-progress-circle-thickness: var( + --system-progress-circle-small-thickness + ); +} + +:host([size='l']) { + --spectrum-progress-circle-size: var(--system-progress-circle-large-size); + --spectrum-progress-circle-thickness: var( + --system-progress-circle-large-thickness + ); +} diff --git a/packages/progress-circle/src/progress-circle.css b/packages/progress-circle/src/progress-circle.css index 3320308f6e..64f82cecf4 100644 --- a/packages/progress-circle/src/progress-circle.css +++ b/packages/progress-circle/src/progress-circle.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-progress-circle.css'); +@import url('./progress-circle-overrides.css'); :host { block-size: var( diff --git a/packages/progress-circle/src/spectrum-progress-circle.css b/packages/progress-circle/src/spectrum-progress-circle.css index 0d48dc3edb..1a56055ddd 100644 --- a/packages/progress-circle/src/spectrum-progress-circle.css +++ b/packages/progress-circle/src/spectrum-progress-circle.css @@ -11,11 +11,161 @@ governing permissions and limitations under the License. */ /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +@media (forced-colors: active) { + :host { + --highcontrast-progress-circle-fill-border-color: Highlight; + --highcontrast-progress-circle-fill-border-color-over-background: Highlight; + } + + .track { + --spectrum-progress-circle-track-border-style: double; + } +} + +:host { + position: var(--mod-progress-circle-position, relative); + direction: ltr; + display: inline-block; + position: relative; + transform: translateZ(0); +} + +:host, +.track { + inline-size: var( + --mod-progress-circle-size, + var(--spectrum-progress-circle-size) + ); + block-size: var( + --mod-progress-circle-size, + var(--spectrum-progress-circle-size) + ); +} + +.track { + box-sizing: border-box; + border-style: var( + --highcontrast-progress-circle-track-border-style, + var( + --mod-progress-circle-track-border-style, + var(--spectrum-progress-circle-track-border-style) + ) + ); + border-width: var( + --mod-progress-circle-thickness, + var(--spectrum-progress-circle-thickness) + ); + border-radius: var( + --mod-progress-circle-size, + var(--spectrum-progress-circle-size) + ); + border-color: var( + --mod-progress-circle-track-border-color, + var(--spectrum-progress-circle-track-border-color) + ); +} + +.fills { + inline-size: 100%; + block-size: 100%; + position: absolute; + inset-block-start: 0; + inset-inline-start: 0; +} + +.fill { + box-sizing: border-box; + inline-size: var( + --mod-progress-circle-size, + var(--spectrum-progress-circle-size) + ); + block-size: var( + --mod-progress-circle-size, + var(--spectrum-progress-circle-size) + ); + border-style: solid; + border-width: var( + --mod-progress-circle-thickness, + var(--spectrum-progress-circle-thickness) + ); + border-radius: var( + --mod-progress-circle-size, + var(--spectrum-progress-circle-size) + ); + border-color: var( + --highcontrast-progress-circle-fill-border-color, + var( + --mod-progress-circle-fill-border-color, + var(--spectrum-progress-circle-fill-border-color) + ) + ); +} + +:host([static-color='white']) .track { + border-color: var( + --mod-progress-circle-track-border-color-over-background, + var(--spectrum-progress-circle-track-border-color-over-background) + ); +} + +:host([static-color='white']) .fill { + border-color: var( + --highcontrast-progress-circle-fill-border-color-over-background, + var( + --mod-progress-circle-fill-border-color-over-background, + var(--spectrum-progress-circle-fill-border-color-over-background) + ) + ); +} + +.fillMask1, +.fillMask2 { + inline-size: 50%; + block-size: 100%; + transform-origin: 100%; + position: absolute; + overflow: hidden; + transform: rotate(180deg); +} + +.fillSubMask1, +.fillSubMask2 { + inline-size: 100%; + block-size: 100%; + transform-origin: 100%; + overflow: hidden; + transform: rotate(-180deg); +} + +.fillMask2 { + transform: rotate(0); +} + +:host([indeterminate]) .fills { + will-change: transform; + transform-origin: center; + animation: 1s cubic-bezier(0.25, 0.78, 0.48, 0.89) infinite + spectrum-fills-rotate; + transform: translateZ(0); +} + +:host([indeterminate]) .fillSubMask1 { + will-change: transform; + animation: 1s linear infinite spectrum-fill-mask-1; + transform: translateZ(0); +} + +:host([indeterminate]) .fillSubMask2 { + will-change: transform; + animation: 1s linear infinite spectrum-fill-mask-2; + transform: translateZ(0); +} + .fill-submask-2 { - animation: 1s linear infinite b; + animation: 1s linear infinite spectrum-fill-mask-2; } -@keyframes a { +@keyframes spectrum-fill-mask-1 { 0% { transform: rotate(90deg); } @@ -257,7 +407,7 @@ governing permissions and limitations under the License. } } -@keyframes b { +@keyframes spectrum-fill-mask-2 { 0% { transform: rotate(180deg); } @@ -499,7 +649,7 @@ governing permissions and limitations under the License. } } -@keyframes c { +@keyframes spectrum-fills-rotate { 0% { transform: rotate(-90deg); } @@ -508,185 +658,3 @@ governing permissions and limitations under the License. transform: rotate(270deg); } } - -:host { - --spectrum-progress-circle-track-border-color: var(--spectrum-gray-300); - --spectrum-progress-circle-fill-border-color: var( - --spectrum-accent-content-color-default - ); - --spectrum-progress-circle-track-border-color-over-background: var( - --spectrum-transparent-white-300 - ); - --spectrum-progress-circle-fill-border-color-over-background: var( - --spectrum-transparent-white-900 - ); - --spectrum-progress-circle-size: var( - --spectrum-progress-circle-size-medium - ); - --spectrum-progress-circle-thickness: var( - --spectrum-progress-circle-thickness-medium - ); - --spectrum-progress-circle-track-border-style: solid; -} - -:host([size='s']) { - --spectrum-progress-circle-size: var(--spectrum-progress-circle-size-small); - --spectrum-progress-circle-thickness: var( - --spectrum-progress-circle-thickness-small - ); -} - -:host([size='l']) { - --spectrum-progress-circle-size: var(--spectrum-progress-circle-size-large); - --spectrum-progress-circle-thickness: var( - --spectrum-progress-circle-thickness-large - ); -} - -@media (forced-colors: active) { - :host { - --highcontrast-progress-circle-fill-border-color: Highlight; - --highcontrast-progress-circle-fill-border-color-over-background: Highlight; - } - - .track { - --spectrum-progress-circle-track-border-style: double; - } -} - -:host { - position: var(--mod-progress-circle-position, relative); - direction: ltr; - display: inline-block; - transform: translateZ(0); -} - -:host, -.track { - inline-size: var( - --mod-progress-circle-size, - var(--spectrum-progress-circle-size) - ); - block-size: var( - --mod-progress-circle-size, - var(--spectrum-progress-circle-size) - ); -} - -.track { - box-sizing: border-box; - border-style: var( - --highcontrast-progress-circle-track-border-style, - var( - --mod-progress-circle-track-border-style, - var(--spectrum-progress-circle-track-border-style) - ) - ); - border-width: var( - --mod-progress-circle-thickness, - var(--spectrum-progress-circle-thickness) - ); - border-radius: var( - --mod-progress-circle-size, - var(--spectrum-progress-circle-size) - ); - border-color: var( - --mod-progress-circle-track-border-color, - var(--spectrum-progress-circle-track-border-color) - ); -} - -.fills { - inline-size: 100%; - block-size: 100%; - position: absolute; - inset-block-start: 0; - inset-inline-start: 0; -} - -.fill { - box-sizing: border-box; - inline-size: var( - --mod-progress-circle-size, - var(--spectrum-progress-circle-size) - ); - block-size: var( - --mod-progress-circle-size, - var(--spectrum-progress-circle-size) - ); - border-style: solid; - border-width: var( - --mod-progress-circle-thickness, - var(--spectrum-progress-circle-thickness) - ); - border-radius: var( - --mod-progress-circle-size, - var(--spectrum-progress-circle-size) - ); - border-color: var( - --highcontrast-progress-circle-fill-border-color, - var( - --mod-progress-circle-fill-border-color, - var(--spectrum-progress-circle-fill-border-color) - ) - ); -} - -:host([static-color='white']) .track { - border-color: var( - --mod-progress-circle-track-border-color-over-background, - var(--spectrum-progress-circle-track-border-color-over-background) - ); -} - -:host([static-color='white']) .fill { - border-color: var( - --highcontrast-progress-circle-fill-border-color-over-background, - var( - --mod-progress-circle-fill-border-color-over-background, - var(--spectrum-progress-circle-fill-border-color-over-background) - ) - ); -} - -.fillMask1, -.fillMask2 { - inline-size: 50%; - block-size: 100%; - transform-origin: 100%; - position: absolute; - overflow: hidden; - transform: rotate(180deg); -} - -.fillSubMask1, -.fillSubMask2 { - inline-size: 100%; - block-size: 100%; - transform-origin: 100%; - overflow: hidden; - transform: rotate(-180deg); -} - -.fillMask2 { - transform: rotate(0); -} - -:host([indeterminate]) .fills { - will-change: transform; - transform-origin: center; - animation: 1s cubic-bezier(0.25, 0.78, 0.48, 0.89) infinite c; - transform: translateZ(0); -} - -:host([indeterminate]) .fillSubMask1 { - will-change: transform; - animation: 1s linear infinite a; - transform: translateZ(0); -} - -:host([indeterminate]) .fillSubMask2 { - will-change: transform; - animation: 1s linear infinite b; - transform: translateZ(0); -} diff --git a/packages/progress-circle/test/progress-circle.test.ts b/packages/progress-circle/test/progress-circle.test.ts index 7e4689b7d2..bf9300b0b4 100644 --- a/packages/progress-circle/test/progress-circle.test.ts +++ b/packages/progress-circle/test/progress-circle.test.ts @@ -59,58 +59,6 @@ describe('ProgressCircle', () => { }, }); }); - it('warns in Dev Mode when static attribute is supplied', async () => { - const el = await fixture(html` - - `); - - await elementUpdated(el); - - expect(consoleWarnStub.called).to.be.true; - const spyCall = consoleWarnStub.getCall(0); - expect( - (spyCall.args.at(0) as string).includes( - 'element will stop accepting the "static" attribute' - ), - 'confirm attribute deprecation message' - ).to.be.true; - expect(spyCall.args.at(-1), 'confirm `data` shape').to.deep.equal({ - data: { - localName: 'sp-progress-circle', - type: 'api', - level: 'deprecation', - }, - }); - }); - it('warns in Dev Mode when overBackground attribute is supplied', async () => { - const el = await fixture(html` - - `); - - await elementUpdated(el); - - expect(consoleWarnStub.called).to.be.true; - const spyCall = consoleWarnStub.getCall(0); - expect( - (spyCall.args.at(0) as string).includes( - 'element will stop accepting the "over-background" attribute' - ), - 'confirm attribute deprecation message' - ).to.be.true; - expect(spyCall.args.at(-1), 'confirm `data` shape').to.deep.equal({ - data: { - localName: 'sp-progress-circle', - type: 'api', - level: 'deprecation', - }, - }); - }); }); it('loads', async () => { const el = await fixture(html` @@ -210,23 +158,4 @@ describe('ProgressCircle', () => { expect(el.hasAttribute('aria-label')).to.be.true; expect(el.getAttribute('aria-label')).to.equal('Loading'); }); - it('prefers `staticColor` over `static`', async () => { - const el = await fixture(html` - - `); - - await elementUpdated(el); - - expect(el.staticColor).to.equal('white'); - - el.setAttribute('static', 'white'); - await elementUpdated(el); - - expect(el.staticColor).to.equal('white'); - expect(el.static).to.equal('white'); - expect(el.getAttribute('static-color')).to.equal('white'); - }); }); diff --git a/packages/quick-actions/CHANGELOG.md b/packages/quick-actions/CHANGELOG.md deleted file mode 100644 index 85f4fccbb6..0000000000 --- a/packages/quick-actions/CHANGELOG.md +++ /dev/null @@ -1,392 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [0.49.0](https://github.com/adobe/spectrum-web-components/compare/v0.48.1...v0.49.0) (2024-10-15) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.48.1](https://github.com/adobe/spectrum-web-components/compare/v0.48.0...v0.48.1) (2024-10-01) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -# [0.48.0](https://github.com/adobe/spectrum-web-components/compare/v0.47.2...v0.48.0) (2024-09-17) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.47.2](https://github.com/adobe/spectrum-web-components/compare/v0.47.1...v0.47.2) (2024-09-03) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.47.1](https://github.com/adobe/spectrum-web-components/compare/v0.47.0...v0.47.1) (2024-08-27) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -# [0.47.0](https://github.com/adobe/spectrum-web-components/compare/v0.46.0...v0.47.0) (2024-08-20) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -# [0.46.0](https://github.com/adobe/spectrum-web-components/compare/v0.45.0...v0.46.0) (2024-08-08) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -# [0.45.0](https://github.com/adobe/spectrum-web-components/compare/v0.44.0...v0.45.0) (2024-07-30) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -# [0.44.0](https://github.com/adobe/spectrum-web-components/compare/v0.42.4...v0.44.0) (2024-07-15) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -# [0.43.0](https://github.com/adobe/spectrum-web-components/compare/v0.42.4...v0.43.0) (2024-06-11) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.42.5](https://github.com/adobe/spectrum-web-components/compare/v0.42.4...v0.42.5) (2024-05-24) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.42.4](https://github.com/adobe/spectrum-web-components/compare/v0.42.2...v0.42.4) (2024-05-14) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.42.3](https://github.com/adobe/spectrum-web-components/compare/v0.42.2...v0.42.3) (2024-05-01) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.42.2](https://github.com/adobe/spectrum-web-components/compare/v0.42.1...v0.42.2) (2024-04-03) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.42.1](https://github.com/adobe/spectrum-web-components/compare/v0.42.0...v0.42.1) (2024-04-02) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -# [0.42.0](https://github.com/adobe/spectrum-web-components/compare/v0.41.2...v0.42.0) (2024-03-19) - -### Bug Fixes - -- **theme:** deprecate lightest and darkest color stops ([#4179](https://github.com/adobe/spectrum-web-components/issues/4179)) ([0c01a66](https://github.com/adobe/spectrum-web-components/commit/0c01a66627bbc46b459bda7680c6dcb9ea9c1b66)) - -## [0.41.2](https://github.com/adobe/spectrum-web-components/compare/v0.41.1...v0.41.2) (2024-03-05) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.41.1](https://github.com/adobe/spectrum-web-components/compare/v0.41.0...v0.41.1) (2024-02-22) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -# [0.41.0](https://github.com/adobe/spectrum-web-components/compare/v0.40.5...v0.41.0) (2024-02-13) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.40.5](https://github.com/adobe/spectrum-web-components/compare/v0.40.4...v0.40.5) (2024-02-05) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.40.4](https://github.com/adobe/spectrum-web-components/compare/v0.40.3...v0.40.4) (2024-01-29) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.40.3](https://github.com/adobe/spectrum-web-components/compare/v0.40.2...v0.40.3) (2024-01-11) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.40.2](https://github.com/adobe/spectrum-web-components/compare/v0.40.1...v0.40.2) (2023-12-18) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.40.1](https://github.com/adobe/spectrum-web-components/compare/v0.40.0...v0.40.1) (2023-12-05) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -# [0.40.0](https://github.com/adobe/spectrum-web-components/compare/v0.39.4...v0.40.0) (2023-11-16) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.39.4](https://github.com/adobe/spectrum-web-components/compare/v0.39.3...v0.39.4) (2023-11-02) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.39.3](https://github.com/adobe/spectrum-web-components/compare/v0.39.2...v0.39.3) (2023-10-18) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.39.2](https://github.com/adobe/spectrum-web-components/compare/v0.39.1...v0.39.2) (2023-10-13) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.39.1](https://github.com/adobe/spectrum-web-components/compare/v0.39.0...v0.39.1) (2023-10-06) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -# [0.39.0](https://github.com/adobe/spectrum-web-components/compare/v0.38.0...v0.39.0) (2023-09-25) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -# [0.38.0](https://github.com/adobe/spectrum-web-components/compare/v0.37.0...v0.38.0) (2023-09-05) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -# [0.37.0](https://github.com/adobe/spectrum-web-components/compare/v0.36.0...v0.37.0) (2023-08-18) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -# [0.36.0](https://github.com/adobe/spectrum-web-components/compare/v0.35.0...v0.36.0) (2023-08-18) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -# [0.35.0](https://github.com/adobe/spectrum-web-components/compare/v0.34.0...v0.35.0) (2023-07-31) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -# [0.34.0](https://github.com/adobe/spectrum-web-components/compare/v0.33.2...v0.34.0) (2023-07-11) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.33.2](https://github.com/adobe/spectrum-web-components/compare/v0.33.1...v0.33.2) (2023-06-14) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -# [0.33.0](https://github.com/adobe/spectrum-web-components/compare/v0.32.0...v0.33.0) (2023-06-08) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -# [0.32.0](https://github.com/adobe/spectrum-web-components/compare/v0.31.0...v0.32.0) (2023-06-01) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -# [0.31.0](https://github.com/adobe/spectrum-web-components/compare/v0.30.0...v0.31.0) (2023-05-17) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -# 0.30.0 (2023-05-03) - -### Bug Fixes - -- include default export in the "exports" fields ([f32407d](https://github.com/adobe/spectrum-web-components/commit/f32407d7bbfd18e72c35b6f27740549e79957858)) -- include the "types" entry in package.json files ([b432f59](https://github.com/adobe/spectrum-web-components/commit/b432f5982b3b79f80af12f6d0312cbe2285e608b)) -- stop merging selectors in a way that alters the cascade ([369388f](https://github.com/adobe/spectrum-web-components/commit/369388f8cc147543891087991c569f849ddb9b38)) -- update latest Spectrum CSS beta releases ([d8d3acc](https://github.com/adobe/spectrum-web-components/commit/d8d3acc86de31e58219db6ba2a9d045b83cbe103)) -- update side effect listings ([8160d3a](https://github.com/adobe/spectrum-web-components/commit/8160d3ab2c4f5ea11ac40897a5cf1fdaa357f4a8)) -- update to latest spectrum-css packages ([a5ca19f](https://github.com/adobe/spectrum-web-components/commit/a5ca19f67d5b3f0951667c4441d4d977bf1e0937)) -- use icons without "size" values ([3fc7c91](https://github.com/adobe/spectrum-web-components/commit/3fc7c91713793a928082eae15fc3d9dec638a31a)) -- use latest @spectrum-css/\* versions ([c35eb86](https://github.com/adobe/spectrum-web-components/commit/c35eb86defd89a0c36b5ea186f6d40f20851b5e5)) - -### Features - -- **action-button:** add action button pattern ([03ac00a](https://github.com/adobe/spectrum-web-components/commit/03ac00a710290e6a78340f206d88385a4f8ae8c2)) -- adopt DNA@7 base Spectrum CSS ([e08cafd](https://github.com/adobe/spectrum-web-components/commit/e08cafda9f1b33b0163fbe5ba66754806be8f9e4)) -- **icons-workflow:** vend fully registered icon components ([941f3a4](https://github.com/adobe/spectrum-web-components/commit/941f3a41486fbd49eca0805fb63383f63313e71e)) -- include all Dev Mode files in side effects ([f70817c](https://github.com/adobe/spectrum-web-components/commit/f70817cc15db6dcf5cc1de2d82b4f7b0c80b1251)) -- **quick-actions:** add quick-actions pattern ([3664b51](https://github.com/adobe/spectrum-web-components/commit/3664b51c53ddc200a57f7db1a16036dc7fc81ed5)) -- **quick-actions:** update spectrum css input ([efec525](https://github.com/adobe/spectrum-web-components/commit/efec525c43c86347476aeede7605504a52a5a6e1)) -- shared pkg versions, devmode define warning, registry-conflicts docs ([6e49565](https://github.com/adobe/spectrum-web-components/commit/6e4956519b845fa8127f8032948b625c252ef7a6)) -- use latest exports specification ([a7ecf4b](https://github.com/adobe/spectrum-web-components/commit/a7ecf4b6da7996f36a8a89f62cc2384709497008)) - -## [0.7.9](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.7.8...@spectrum-web-components/quick-actions@0.7.9) (2023-04-24) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.7.8](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.7.7...@spectrum-web-components/quick-actions@0.7.8) (2023-04-05) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.7.7](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.7.6...@spectrum-web-components/quick-actions@0.7.7) (2023-03-22) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.7.6](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.7.5...@spectrum-web-components/quick-actions@0.7.6) (2023-02-08) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.7.5](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.7.4...@spectrum-web-components/quick-actions@0.7.5) (2023-01-23) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.7.4](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.7.3...@spectrum-web-components/quick-actions@0.7.4) (2023-01-09) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.7.3](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.7.2...@spectrum-web-components/quick-actions@0.7.3) (2022-12-08) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.7.2](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.7.1...@spectrum-web-components/quick-actions@0.7.2) (2022-11-21) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.7.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.7.0...@spectrum-web-components/quick-actions@0.7.1) (2022-11-14) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -# [0.7.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.6.12...@spectrum-web-components/quick-actions@0.7.0) (2022-08-09) - -### Features - -- include all Dev Mode files in side effects ([f70817c](https://github.com/adobe/spectrum-web-components/commit/f70817cc15db6dcf5cc1de2d82b4f7b0c80b1251)) - -## [0.6.12](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.6.11...@spectrum-web-components/quick-actions@0.6.12) (2022-08-04) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.6.11](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.6.10...@spectrum-web-components/quick-actions@0.6.11) (2022-07-18) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.6.10](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.6.9...@spectrum-web-components/quick-actions@0.6.10) (2022-06-29) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.6.9](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.6.8...@spectrum-web-components/quick-actions@0.6.9) (2022-06-07) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.6.8](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.6.7...@spectrum-web-components/quick-actions@0.6.8) (2022-05-27) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.6.7](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.6.6...@spectrum-web-components/quick-actions@0.6.7) (2022-05-12) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.6.6](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.6.5...@spectrum-web-components/quick-actions@0.6.6) (2022-04-21) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.6.5](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.6.4...@spectrum-web-components/quick-actions@0.6.5) (2022-03-08) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.6.4](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.6.3...@spectrum-web-components/quick-actions@0.6.4) (2022-03-04) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.6.3](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.6.2...@spectrum-web-components/quick-actions@0.6.3) (2022-02-22) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.6.2](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.6.1...@spectrum-web-components/quick-actions@0.6.2) (2022-01-26) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.6.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.6.0...@spectrum-web-components/quick-actions@0.6.1) (2021-12-13) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -# [0.6.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.5.1...@spectrum-web-components/quick-actions@0.6.0) (2021-11-08) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.5.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.5.0...@spectrum-web-components/quick-actions@0.5.1) (2021-11-08) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -# [0.5.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.4.9...@spectrum-web-components/quick-actions@0.5.0) (2021-11-02) - -### Features - -- adopt DNA@7 base Spectrum CSS ([e08cafd](https://github.com/adobe/spectrum-web-components/commit/e08cafda9f1b33b0163fbe5ba66754806be8f9e4)) - -## [0.4.9](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.4.8...@spectrum-web-components/quick-actions@0.4.9) (2021-09-20) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.4.8](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.4.7...@spectrum-web-components/quick-actions@0.4.8) (2021-08-24) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.4.7](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.4.6...@spectrum-web-components/quick-actions@0.4.7) (2021-07-22) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.4.6](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.4.5...@spectrum-web-components/quick-actions@0.4.6) (2021-06-16) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.4.5](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.4.4...@spectrum-web-components/quick-actions@0.4.5) (2021-05-12) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.4.4](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.4.3...@spectrum-web-components/quick-actions@0.4.4) (2021-04-09) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.4.3](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.4.2...@spectrum-web-components/quick-actions@0.4.3) (2021-03-29) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.4.2](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.4.1...@spectrum-web-components/quick-actions@0.4.2) (2021-03-22) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.4.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.4.0...@spectrum-web-components/quick-actions@0.4.1) (2021-03-05) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -# [0.4.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.3.1...@spectrum-web-components/quick-actions@0.4.0) (2021-03-04) - -### Features - -- use latest exports specification ([a7ecf4b](https://github.com/adobe/spectrum-web-components/commit/a7ecf4b6da7996f36a8a89f62cc2384709497008)) - -## [0.3.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.3.0...@spectrum-web-components/quick-actions@0.3.1) (2021-02-11) - -### Bug Fixes - -- update to latest spectrum-css packages ([a5ca19f](https://github.com/adobe/spectrum-web-components/commit/a5ca19f67d5b3f0951667c4441d4d977bf1e0937)) - -# [0.3.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.1.3...@spectrum-web-components/quick-actions@0.3.0) (2021-01-21) - -### Bug Fixes - -- include the "types" entry in package.json files ([b432f59](https://github.com/adobe/spectrum-web-components/commit/b432f5982b3b79f80af12f6d0312cbe2285e608b)) -- stop merging selectors in a way that alters the cascade ([369388f](https://github.com/adobe/spectrum-web-components/commit/369388f8cc147543891087991c569f849ddb9b38)) -- update latest Spectrum CSS beta releases ([d8d3acc](https://github.com/adobe/spectrum-web-components/commit/d8d3acc86de31e58219db6ba2a9d045b83cbe103)) -- use icons without "size" values ([3fc7c91](https://github.com/adobe/spectrum-web-components/commit/3fc7c91713793a928082eae15fc3d9dec638a31a)) -- use latest @spectrum-css/\* versions ([c35eb86](https://github.com/adobe/spectrum-web-components/commit/c35eb86defd89a0c36b5ea186f6d40f20851b5e5)) - -### Features - -- **action-button:** add action button pattern ([03ac00a](https://github.com/adobe/spectrum-web-components/commit/03ac00a710290e6a78340f206d88385a4f8ae8c2)) -- **icons-workflow:** vend fully registered icon components ([941f3a4](https://github.com/adobe/spectrum-web-components/commit/941f3a41486fbd49eca0805fb63383f63313e71e)) -- **quick-actions:** update spectrum css input ([efec525](https://github.com/adobe/spectrum-web-components/commit/efec525c43c86347476aeede7605504a52a5a6e1)) - -# [0.2.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.1.3...@spectrum-web-components/quick-actions@0.2.0) (2021-01-13) - -### Bug Fixes - -- include the "types" entry in package.json files ([b432f59](https://github.com/adobe/spectrum-web-components/commit/b432f5982b3b79f80af12f6d0312cbe2285e608b)) -- stop merging selectors in a way that alters the cascade ([369388f](https://github.com/adobe/spectrum-web-components/commit/369388f8cc147543891087991c569f849ddb9b38)) -- update latest Spectrum CSS beta releases ([d8d3acc](https://github.com/adobe/spectrum-web-components/commit/d8d3acc86de31e58219db6ba2a9d045b83cbe103)) -- use icons without "size" values ([3fc7c91](https://github.com/adobe/spectrum-web-components/commit/3fc7c91713793a928082eae15fc3d9dec638a31a)) -- use latest @spectrum-css/\* versions ([c35eb86](https://github.com/adobe/spectrum-web-components/commit/c35eb86defd89a0c36b5ea186f6d40f20851b5e5)) - -### Features - -- **action-button:** add action button pattern ([03ac00a](https://github.com/adobe/spectrum-web-components/commit/03ac00a710290e6a78340f206d88385a4f8ae8c2)) -- **icons-workflow:** vend fully registered icon components ([941f3a4](https://github.com/adobe/spectrum-web-components/commit/941f3a41486fbd49eca0805fb63383f63313e71e)) -- **quick-actions:** update spectrum css input ([efec525](https://github.com/adobe/spectrum-web-components/commit/efec525c43c86347476aeede7605504a52a5a6e1)) - -## [0.1.3](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.1.2...@spectrum-web-components/quick-actions@0.1.3) (2020-10-12) - -**Note:** Version bump only for package @spectrum-web-components/quick-actions - -## [0.1.2](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.1.1...@spectrum-web-components/quick-actions@0.1.2) (2020-10-12) - -### Bug Fixes - -- include default export in the "exports" fields ([f32407d](https://github.com/adobe/spectrum-web-components/commit/f32407d7bbfd18e72c35b6f27740549e79957858)) - -## [0.1.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/quick-actions@0.1.0...@spectrum-web-components/quick-actions@0.1.1) (2020-09-25) - -### Bug Fixes - -- update side effect listings ([8160d3a](https://github.com/adobe/spectrum-web-components/commit/8160d3ab2c4f5ea11ac40897a5cf1fdaa357f4a8)) - -# 0.1.0 (2020-08-31) - -### Features - -- **quick-actions:** add quick-actions pattern ([3664b51](https://github.com/adobe/spectrum-web-components/commit/3664b51c53ddc200a57f7db1a16036dc7fc81ed5)) diff --git a/packages/quick-actions/README.md b/packages/quick-actions/README.md deleted file mode 100644 index 97067bca0b..0000000000 --- a/packages/quick-actions/README.md +++ /dev/null @@ -1,61 +0,0 @@ -## Description - -`` allow users to perform contextual actions when hovering or focusing on a specific component. They're shortcuts meant to make workflows more efficient. Spectrum guidelines suggest a `` element feature only text buttons OR only icon buttons, and never both. - -### Usage - -[![See it on NPM!](https://img.shields.io/npm/v/@spectrum-web-components/quick-actions?style=for-the-badge)](https://www.npmjs.com/package/@spectrum-web-components/quick-actions) -[![How big is this package in your project?](https://img.shields.io/bundlephobia/minzip/@spectrum-web-components/quick-actions?style=for-the-badge)](https://bundlephobia.com/result?p=@spectrum-web-components/quick-actions) -[![Try it on webcomponents.dev](https://img.shields.io/badge/Try%20it%20on-webcomponents.dev-green?style=for-the-badge)](https://webcomponents.dev/edit/collection/fO75441E1Q5ZlI0e9pgq/pDSD7CSeA3B5hTdX8cvB/src/index.ts) - -``` -yarn add @spectrum-web-components/quick-actions -``` - -Import the side effectful registration of `` via: - -``` -import '@spectrum-web-components/quick-actions/sp-quick-actions.js'; -``` - -When looking to leverage the `QuickActions` base class as a type and/or for extension purposes, do so via: - -``` -import { QuickActions } from '@spectrum-web-components/quick-actions'; -``` - -## Example - -```html -
- - - - - - - - - - - -
-``` - -### Text Only - -When the buttons have text only, be sure to include the `text-only` attribute to ensure correct layout of your actions. - -```html -
- - Edit - Copy - Delete - -
-``` diff --git a/packages/quick-actions/exports.json b/packages/quick-actions/exports.json deleted file mode 100644 index 0bc4b66220..0000000000 --- a/packages/quick-actions/exports.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "./src/*": "./src/*", - "./sp-quick-actions.js": "./sp-quick-actions.js" -} diff --git a/packages/quick-actions/package.json b/packages/quick-actions/package.json deleted file mode 100644 index 1c673e20ce..0000000000 --- a/packages/quick-actions/package.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "name": "@spectrum-web-components/quick-actions", - "version": "0.49.0", - "publishConfig": { - "access": "public" - }, - "description": "", - "license": "Apache-2.0", - "repository": { - "type": "git", - "url": "https://github.com/adobe/spectrum-web-components.git", - "directory": "packages/quick-actions" - }, - "author": "", - "homepage": "https://opensource.adobe.com/spectrum-web-components/components/quick-actions", - "bugs": { - "url": "https://github.com/adobe/spectrum-web-components/issues" - }, - "main": "./src/index.js", - "module": "./src/index.js", - "type": "module", - "exports": { - ".": { - "development": "./src/index.dev.js", - "default": "./src/index.js" - }, - "./package.json": "./package.json", - "./src/QuickActions.js": { - "development": "./src/QuickActions.dev.js", - "default": "./src/QuickActions.js" - }, - "./src/index.js": { - "development": "./src/index.dev.js", - "default": "./src/index.js" - }, - "./src/quick-actions.css.js": "./src/quick-actions.css.js", - "./sp-quick-actions.js": { - "development": "./sp-quick-actions.dev.js", - "default": "./sp-quick-actions.js" - } - }, - "scripts": { - "test": "karma start --coverage" - }, - "files": [ - "**/*.d.ts", - "**/*.js", - "**/*.js.map", - "custom-elements.json", - "!stories/", - "!test/" - ], - "keywords": [ - "spectrum css", - "web components", - "lit-element", - "lit-html" - ], - "dependencies": { - "@spectrum-web-components/base": "^0.49.0" - }, - "devDependencies": { - "@spectrum-css/quickaction": "^3.1.1" - }, - "types": "./src/index.d.ts", - "customElements": "custom-elements.json", - "deprecationNotice": "@spectrum-web-components/quick-actions is deprecated and will be removed in the SWC 1.0 release. Use an Action bar to allow users to perform actions on either a single or multiple items at the same time, instead.", - "sideEffects": [ - "./sp-*.js", - "./**/*.dev.js" - ] -} diff --git a/packages/quick-actions/src/QuickActions.ts b/packages/quick-actions/src/QuickActions.ts deleted file mode 100644 index d9ddb66747..0000000000 --- a/packages/quick-actions/src/QuickActions.ts +++ /dev/null @@ -1,63 +0,0 @@ -/* -Copyright 2020 Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. -*/ - -import { - CSSResultArray, - html, - PropertyValues, - SpectrumElement, - TemplateResult, -} from '@spectrum-web-components/base'; -import { property } from '@spectrum-web-components/base/src/decorators.js'; - -import styles from './quick-actions.css.js'; - -/** - * @element sp-quick-actions - * - * @slot - Action Buttons to displayed for quick use - */ -export class QuickActions extends SpectrumElement { - public static override get styles(): CSSResultArray { - return [styles]; - } - - @property({ type: Boolean, reflect: true }) - public opened = false; - - @property({ - type: Boolean, - attribute: 'text-only', - hasChanged() { - return false; - }, - }) - public textOnly = false; - - protected override update(changes: PropertyValues): void { - super.update(changes); - if (window.__swc.DEBUG) { - window.__swc.warn( - this, - `<${this.localName}> is deprecated and will be removed in the SWC 1.0 release. Use an Action bar to allow users to perform actions on either a single or multiple items at the same time, instead.`, - 'https://opensource.adobe.com/spectrum-web-components/components/quick-actions/#deprecation', - { level: 'deprecation' } - ); - } - } - - protected override render(): TemplateResult { - return html` - - `; - } -} diff --git a/packages/quick-actions/src/spectrum-config.js b/packages/quick-actions/src/spectrum-config.js deleted file mode 100644 index c311701c30..0000000000 --- a/packages/quick-actions/src/spectrum-config.js +++ /dev/null @@ -1,74 +0,0 @@ -// @ts-check -/* -Copyright 2023 Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the 'License'); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. -*/ - -import { - builder, - converterFor, -} from '../../../tasks/process-spectrum-utils.js'; - -const converter = converterFor('spectrum-QuickActions'); - -/** - * @type { import('../../../tasks/spectrum-css-converter').SpectrumCSSConverter } - */ -const config = { - conversions: [ - { - inPackage: '@spectrum-css/quickaction', - outPackage: 'quick-actions', - fileName: 'quick-actions', - components: [ - converter.classToHost(), - converter.classToAttribute( - 'spectrum-QuickActions--textOnly', - 'text-only' - ), - converter.classToAttribute('is-open', 'opened'), - ...converter.enumerateAttributes( - [ - ['spectrum-QuickActions--left'], - ['spectrum-QuickActions--right'], - ], - 'enter-from' - ), - converter.classToId('spectrum-QuickActions-overlay'), - converter.classToSlotted('spectrum-ActionButton', 'button'), - { - find: [ - builder.class('spectrum-ActionButton'), - builder.combinator('+'), - builder.class('spectrum-ActionButton'), - ], - replace: [ - { - replace: builder.attribute('name', 'action'), - hoist: false, - }, - { - replace: builder.combinator('+'), - }, - { - replace: { - type: 'pseudo-element', - kind: 'slotted', - selector: [builder.attribute('slot', 'action')], - }, - }, - ], - }, - ], - }, - ], -}; - -export default config; diff --git a/packages/quick-actions/src/spectrum-quick-actions.css b/packages/quick-actions/src/spectrum-quick-actions.css deleted file mode 100644 index 852b61e23f..0000000000 --- a/packages/quick-actions/src/spectrum-quick-actions.css +++ /dev/null @@ -1,114 +0,0 @@ -/* -Copyright 2023 Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. -*/ - -/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ -:host { - pointer-events: none; - visibility: hidden; - opacity: 0; - transition: - transform - var( - --mod-overlay-animation-duration, - var(--spectrum-animation-duration-100, 0.13s) - ) - ease-in-out, - opacity - var( - --mod-overlay-animation-duration, - var(--spectrum-animation-duration-100, 0.13s) - ) - ease-in-out, - visibility 0s linear - var( - --mod-overlay-animation-duration, - var(--spectrum-animation-duration-100, 0.13s) - ); -} - -:host([opened]) { - pointer-events: auto; - visibility: visible; - opacity: 1; - transition-delay: var( - --mod-overlay-animation-duration-opened, - var(--spectrum-animation-duration-0, 0s) - ); -} - -:host([enter-from='left'][opened]) { - transform: translateX( - var( - --mod-overlay-animation-distance, - var(--spectrum-overlay-animation-distance, 6px) - ) - ); -} - -:host([enter-from='right'][opened]) { - transform: translateX( - calc( - var( - --mod-overlay-animation-distance, - var(--spectrum-overlay-animation-distance, 6px) - ) * -1 - ) - ); -} - -:host { - box-sizing: border-box; - padding-block: var( - --spectrum-quickactions-padding-y, - var(--spectrum-global-dimension-size-50) - ); - padding-inline: var( - --spectrum-quickactions-padding-x, - var(--spectrum-global-dimension-size-50) - ); - block-size: var( - --spectrum-quickactions-height, - var(--spectrum-global-dimension-size-500) - ); - border-radius: var( - --spectrum-quickactions-border-radius, - var(--spectrum-alias-border-radius-regular) - ); - background-color: var( - --spectrum-quickactions-background-color, - var(--spectrum-alias-background-color-quickactions) - ); - justify-content: center; - align-items: center; - display: inline-flex; -} - -[name='action'] + ::slotted([slot='action']) { - margin-inline-start: var( - --spectrum-quickactions-button-gap-x, - var(--spectrum-global-dimension-size-100) - ); -} - -#overlay { - background-color: var( - --spectrum-quickactions-overlay-color, - var(--spectrum-alias-background-color-quickactions-overlay) - ); -} - -:host([text-only]) [name='action'] + ::slotted([slot='action']) { - margin-inline-start: var( - --spectrum-quickactions-text-button-gap-x, - var(--spectrum-global-dimension-size-50) - ); -} diff --git a/packages/quick-actions/stories/quick-actions.stories.ts b/packages/quick-actions/stories/quick-actions.stories.ts deleted file mode 100644 index 115953315b..0000000000 --- a/packages/quick-actions/stories/quick-actions.stories.ts +++ /dev/null @@ -1,62 +0,0 @@ -/* -Copyright 2020 Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. -*/ - -import { html, TemplateResult } from '@spectrum-web-components/base'; - -import '@spectrum-web-components/quick-actions/sp-quick-actions.js'; -import '@spectrum-web-components/action-button/sp-action-button.js'; -import '@spectrum-web-components/icons-workflow/icons/sp-icon-edit.js'; -import '@spectrum-web-components/icons-workflow/icons/sp-icon-copy.js'; -import '@spectrum-web-components/icons-workflow/icons/sp-icon-delete.js'; -import '@spectrum-web-components/underlay/sp-underlay.js'; - -export default { - title: 'Quick Actions', - component: 'sp-quick-actions', - parameters: { - badges: ['deprecated'], - }, -}; - -export const iconButtons = (): TemplateResult => { - return html` -
- - - - - - - - - - - -
- `; -}; - -export const textOnly = (): TemplateResult => { - return html` -
- - Edit - Copy - Delete - -
- `; -}; diff --git a/packages/quick-actions/test/benchmark/basic-test.ts b/packages/quick-actions/test/benchmark/basic-test.ts deleted file mode 100644 index 3901562632..0000000000 --- a/packages/quick-actions/test/benchmark/basic-test.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* -Copyright 2020 Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. -*/ - -import '@spectrum-web-components/quick-actions/sp-quick-actions.js'; -import { html } from 'lit'; -import { measureFixtureCreation } from '../../../../test/benchmark/helpers.js'; - -measureFixtureCreation(html` - -`); diff --git a/packages/quick-actions/test/quick-actions.test.ts b/packages/quick-actions/test/quick-actions.test.ts deleted file mode 100644 index a4e3ef67f6..0000000000 --- a/packages/quick-actions/test/quick-actions.test.ts +++ /dev/null @@ -1,39 +0,0 @@ -/* -Copyright 2020 Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. -*/ - -import { elementUpdated, expect, fixture, html } from '@open-wc/testing'; - -import '@spectrum-web-components/quick-actions/sp-quick-actions.js'; -import { QuickActions } from '@spectrum-web-components/quick-actions'; -import { testForLitDevWarnings } from '../../../test/testing-helpers.js'; - -describe('QuickActions', () => { - testForLitDevWarnings( - async () => - await fixture( - html` - - ` - ) - ); - it('loads default quick-actions accessibly', async () => { - const el = await fixture( - html` - - ` - ); - - await elementUpdated(el); - - await expect(el).to.be.accessible(); - }); -}); diff --git a/packages/quick-actions/tsconfig.json b/packages/quick-actions/tsconfig.json deleted file mode 100644 index b10d59338e..0000000000 --- a/packages/quick-actions/tsconfig.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "./" - }, - "include": ["*.ts", "src/*.ts"], - "exclude": ["test/*.ts", "stories/*.ts"] -} diff --git a/packages/radio/package.json b/packages/radio/package.json index c3fb364155..bee3fd1203 100644 --- a/packages/radio/package.json +++ b/packages/radio/package.json @@ -37,6 +37,7 @@ "development": "./src/index.dev.js", "default": "./src/index.js" }, + "./src/radio-overrides.css.js": "./src/radio-overrides.css.js", "./src/radio.css.js": "./src/radio.css.js", "./sp-radio.js": { "development": "./sp-radio.dev.js", @@ -72,7 +73,7 @@ "@spectrum-web-components/shared": "^0.49.0" }, "devDependencies": { - "@spectrum-css/radio": "^9.2.3" + "@spectrum-css/radio": "^10.0.0-s2-foundations.15" }, "types": "./src/index.d.ts", "customElements": "custom-elements.json", diff --git a/packages/radio/src/radio-overrides.css b/packages/radio/src/radio-overrides.css new file mode 100644 index 0000000000..cc72c56602 --- /dev/null +++ b/packages/radio/src/radio-overrides.css @@ -0,0 +1,210 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host { + --spectrum-radio-button-border-color-default: var( + --system-radio-button-border-color-default + ); + --spectrum-radio-button-border-color-hover: var( + --system-radio-button-border-color-hover + ); + --spectrum-radio-button-border-color-down: var( + --system-radio-button-border-color-down + ); + --spectrum-radio-button-border-color-focus: var( + --system-radio-button-border-color-focus + ); + --spectrum-radio-neutral-content-color: var( + --system-radio-neutral-content-color + ); + --spectrum-radio-neutral-content-color-hover: var( + --system-radio-neutral-content-color-hover + ); + --spectrum-radio-neutral-content-color-down: var( + --system-radio-neutral-content-color-down + ); + --spectrum-radio-neutral-content-color-focus: var( + --system-radio-neutral-content-color-focus + ); + --spectrum-radio-focus-indicator-thickness: var( + --system-radio-focus-indicator-thickness + ); + --spectrum-radio-focus-indicator-gap: var( + --system-radio-focus-indicator-gap + ); + --spectrum-radio-focus-indicator-color: var( + --system-radio-focus-indicator-color + ); + --spectrum-radio-disabled-content-color: var( + --system-radio-disabled-content-color + ); + --spectrum-radio-disabled-border-color: var( + --system-radio-disabled-border-color + ); + --spectrum-radio-emphasized-accent-color: var( + --system-radio-emphasized-accent-color + ); + --spectrum-radio-emphasized-accent-color-hover: var( + --system-radio-emphasized-accent-color-hover + ); + --spectrum-radio-emphasized-accent-color-down: var( + --system-radio-emphasized-accent-color-down + ); + --spectrum-radio-emphasized-accent-color-focus: var( + --system-radio-emphasized-accent-color-focus + ); + --spectrum-radio-border-width: var(--system-radio-border-width); + --spectrum-radio-button-background-color: var( + --system-radio-button-background-color + ); + --spectrum-radio-button-checked-border-color-default: var( + --system-radio-button-checked-border-color-default + ); + --spectrum-radio-button-checked-border-color-hover: var( + --system-radio-button-checked-border-color-hover + ); + --spectrum-radio-button-checked-border-color-down: var( + --system-radio-button-checked-border-color-down + ); + --spectrum-radio-button-checked-border-color-focus: var( + --system-radio-button-checked-border-color-focus + ); + --spectrum-radio-text-to-control: var(--system-radio-text-to-control); + --spectrum-radio-label-top-to-text: var(--system-radio-label-top-to-text); + --spectrum-radio-label-bottom-to-text: var( + --system-radio-label-bottom-to-text + ); + --spectrum-radio-font-size: var(--system-radio-font-size); + --spectrum-radio-line-height: var(--system-radio-line-height); + --spectrum-radio-animation-duration: var(--system-radio-animation-duration); + --spectrum-radio-height: var(--system-radio-height); + --spectrum-radio-button-control-size: var( + --system-radio-button-control-size + ); + --spectrum-radio-button-top-to-control: var( + --system-radio-button-top-to-control + ); +} + +:host(:lang(ja)) { + --spectrum-radio-line-height-cjk: var( + --system-radio-lang-ja-line-height-cjk + ); +} + +:host(:lang(zh)) { + --spectrum-radio-line-height-cjk: var( + --system-radio-lang-zh-line-height-cjk + ); +} + +:host(:lang(ko)) { + --spectrum-radio-line-height-cjk: var( + --system-radio-lang-ko-line-height-cjk + ); +} + +:host([size='s']) { + --spectrum-radio-height: var(--system-radio-size-s-height); + --spectrum-radio-button-control-size: var( + --system-radio-size-s-button-control-size + ); + --spectrum-radio-text-to-control: var( + --system-radio-size-s-text-to-control + ); + --spectrum-radio-label-top-to-text: var( + --system-radio-size-s-label-top-to-text + ); + --spectrum-radio-label-bottom-to-text: var( + --system-radio-size-s-label-bottom-to-text + ); + --spectrum-radio-button-top-to-control: var( + --system-radio-size-s-button-top-to-control + ); + --spectrum-radio-font-size: var(--system-radio-size-s-font-size); +} + +:host { + --spectrum-radio-height: var(--system-radio-size-m-height); + --spectrum-radio-button-control-size: var( + --system-radio-size-m-button-control-size + ); + --spectrum-radio-text-to-control: var( + --system-radio-size-m-text-to-control + ); + --spectrum-radio-label-top-to-text: var( + --system-radio-size-m-label-top-to-text + ); + --spectrum-radio-label-bottom-to-text: var( + --system-radio-size-m-label-bottom-to-text + ); + --spectrum-radio-button-top-to-control: var( + --system-radio-size-m-button-top-to-control + ); + --spectrum-radio-font-size: var(--system-radio-size-m-font-size); +} + +:host([size='l']) { + --spectrum-radio-height: var(--system-radio-size-l-height); + --spectrum-radio-button-control-size: var( + --system-radio-size-l-button-control-size + ); + --spectrum-radio-text-to-control: var( + --system-radio-size-l-text-to-control + ); + --spectrum-radio-label-top-to-text: var( + --system-radio-size-l-label-top-to-text + ); + --spectrum-radio-label-bottom-to-text: var( + --system-radio-size-l-label-bottom-to-text + ); + --spectrum-radio-button-top-to-control: var( + --system-radio-size-l-button-top-to-control + ); + --spectrum-radio-font-size: var(--system-radio-size-l-font-size); +} + +:host([size='xl']) { + --spectrum-radio-height: var(--system-radio-size-xl-height); + --spectrum-radio-button-control-size: var( + --system-radio-size-xl-button-control-size + ); + --spectrum-radio-text-to-control: var( + --system-radio-size-xl-text-to-control + ); + --spectrum-radio-label-top-to-text: var( + --system-radio-size-xl-label-top-to-text + ); + --spectrum-radio-label-bottom-to-text: var( + --system-radio-size-xl-label-bottom-to-text + ); + --spectrum-radio-button-top-to-control: var( + --system-radio-size-xl-button-top-to-control + ); + --spectrum-radio-font-size: var(--system-radio-size-xl-font-size); +} + +:host([emphasized]) { + --spectrum-radio-button-checked-border-color-default: var( + --system-radio-emphasized-button-checked-border-color-default + ); + --spectrum-radio-button-checked-border-color-hover: var( + --system-radio-emphasized-button-checked-border-color-hover + ); + --spectrum-radio-button-checked-border-color-down: var( + --system-radio-emphasized-button-checked-border-color-down + ); + --spectrum-radio-button-checked-border-color-focus: var( + --system-radio-emphasized-button-checked-border-color-focus + ); +} diff --git a/packages/radio/src/radio.css b/packages/radio/src/radio.css index a17425aa91..64792ea177 100644 --- a/packages/radio/src/radio.css +++ b/packages/radio/src/radio.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-radio.css'); +@import url('./radio-overrides.css'); :host(:focus) { outline: none; diff --git a/packages/radio/src/spectrum-radio.css b/packages/radio/src/spectrum-radio.css index 80985754a8..455d90ccda 100644 --- a/packages/radio/src/spectrum-radio.css +++ b/packages/radio/src/spectrum-radio.css @@ -11,153 +11,6 @@ governing permissions and limitations under the License. */ /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ -:host { - --spectrum-radio-neutral-content-color: var( - --spectrum-neutral-content-color-default - ); - --spectrum-radio-neutral-content-color-hover: var( - --spectrum-neutral-content-color-hover - ); - --spectrum-radio-neutral-content-color-down: var( - --spectrum-neutral-content-color-down - ); - --spectrum-radio-neutral-content-color-focus: var( - --spectrum-neutral-content-color-key-focus - ); - --spectrum-radio-focus-indicator-thickness: var( - --spectrum-focus-indicator-thickness - ); - --spectrum-radio-focus-indicator-gap: var(--spectrum-focus-indicator-gap); - --spectrum-radio-focus-indicator-color: var( - --spectrum-focus-indicator-color - ); - --spectrum-radio-disabled-content-color: var( - --spectrum-disabled-content-color - ); - --spectrum-radio-disabled-border-color: var( - --spectrum-disabled-content-color - ); - --spectrum-radio-emphasized-accent-color: var(--spectrum-accent-color-900); - --spectrum-radio-emphasized-accent-color-hover: var( - --spectrum-accent-color-1000 - ); - --spectrum-radio-emphasized-accent-color-down: var( - --spectrum-accent-color-1100 - ); - --spectrum-radio-emphasized-accent-color-focus: var( - --spectrum-accent-color-1000 - ); - --spectrum-radio-border-width: var(--spectrum-border-width-200); - --spectrum-radio-button-background-color: var(--spectrum-gray-75); - --spectrum-radio-button-checked-border-color-default: var( - --spectrum-neutral-background-color-selected-default - ); - --spectrum-radio-button-checked-border-color-hover: var( - --spectrum-neutral-background-color-selected-hover - ); - --spectrum-radio-button-checked-border-color-down: var( - --spectrum-neutral-background-color-selected-down - ); - --spectrum-radio-button-checked-border-color-focus: var( - --spectrum-neutral-background-color-selected-focus - ); - --spectrum-radio-text-to-control: var(--spectrum-text-to-control-100); - --spectrum-radio-label-top-to-text: var( - --spectrum-component-top-to-text-100 - ); - --spectrum-radio-label-bottom-to-text: var( - --spectrum-component-bottom-to-text-100 - ); - --spectrum-radio-font-size: var(--spectrum-font-size-100); - --spectrum-radio-line-height: var(--spectrum-line-height-100); - --spectrum-radio-animation-duration: var(--spectrum-animation-duration-100); - --spectrum-radio-height: var(--spectrum-component-height-100); - --spectrum-radio-button-control-size: var( - --spectrum-radio-button-control-size-medium - ); - --spectrum-radio-button-top-to-control: var( - --spectrum-radio-button-top-to-control-medium - ); -} - -:host(:lang(ja)), -:host(:lang(ko)), -:host(:lang(zh)) { - --spectrum-radio-line-height-cjk: var(--spectrum-cjk-line-height-100); -} - -:host([size='s']) { - --spectrum-radio-height: var(--spectrum-component-height-75); - --spectrum-radio-button-control-size: var( - --spectrum-radio-button-control-size-small - ); - --spectrum-radio-text-to-control: var(--spectrum-text-to-control-75); - --spectrum-radio-label-top-to-text: var( - --spectrum-component-top-to-text-75 - ); - --spectrum-radio-label-bottom-to-text: var( - --spectrum-component-bottom-to-text-75 - ); - --spectrum-radio-button-top-to-control: var( - --spectrum-radio-button-top-to-control-small - ); - --spectrum-radio-font-size: var(--spectrum-font-size-75); -} - -:host { - --spectrum-radio-height: var(--spectrum-component-height-100); - --spectrum-radio-button-control-size: var( - --spectrum-radio-button-control-size-medium - ); - --spectrum-radio-text-to-control: var(--spectrum-text-to-control-100); - --spectrum-radio-label-top-to-text: var( - --spectrum-component-top-to-text-100 - ); - --spectrum-radio-label-bottom-to-text: var( - --spectrum-component-bottom-to-text-100 - ); - --spectrum-radio-button-top-to-control: var( - --spectrum-radio-button-top-to-control-medium - ); - --spectrum-radio-font-size: var(--spectrum-font-size-100); -} - -:host([size='l']) { - --spectrum-radio-height: var(--spectrum-component-height-200); - --spectrum-radio-button-control-size: var( - --spectrum-radio-button-control-size-large - ); - --spectrum-radio-text-to-control: var(--spectrum-text-to-control-200); - --spectrum-radio-label-top-to-text: var( - --spectrum-component-top-to-text-200 - ); - --spectrum-radio-label-bottom-to-text: var( - --spectrum-component-bottom-to-text-200 - ); - --spectrum-radio-button-top-to-control: var( - --spectrum-radio-button-top-to-control-large - ); - --spectrum-radio-font-size: var(--spectrum-font-size-200); -} - -:host([size='xl']) { - --spectrum-radio-height: var(--spectrum-component-height-300); - --spectrum-radio-button-control-size: var( - --spectrum-radio-button-control-size-extra-large - ); - --spectrum-radio-text-to-control: var(--spectrum-text-to-control-300); - --spectrum-radio-label-top-to-text: var( - --spectrum-component-top-to-text-300 - ); - --spectrum-radio-label-bottom-to-text: var( - --spectrum-component-bottom-to-text-300 - ); - --spectrum-radio-button-top-to-control: var( - --spectrum-radio-button-top-to-control-extra-large - ); - --spectrum-radio-font-size: var(--spectrum-font-size-300); -} - @media (forced-colors: active) { :host { --highcontrast-radio-neutral-content-color: CanvasText; @@ -589,33 +442,3 @@ governing permissions and limitations under the License. :host([dir='rtl']) #button:after { transform: translateX(50%) translateY(-50%); } - -:host { - --spectrum-radio-button-border-color-default: var( - --system-spectrum-radio-button-border-color-default - ); - --spectrum-radio-button-border-color-hover: var( - --system-spectrum-radio-button-border-color-hover - ); - --spectrum-radio-button-border-color-down: var( - --system-spectrum-radio-button-border-color-down - ); - --spectrum-radio-button-border-color-focus: var( - --system-spectrum-radio-button-border-color-focus - ); -} - -:host([emphasized]) { - --spectrum-radio-button-checked-border-color-default: var( - --system-spectrum-radio-emphasized-button-checked-border-color-default - ); - --spectrum-radio-button-checked-border-color-hover: var( - --system-spectrum-radio-emphasized-button-checked-border-color-hover - ); - --spectrum-radio-button-checked-border-color-down: var( - --system-spectrum-radio-emphasized-button-checked-border-color-down - ); - --spectrum-radio-button-checked-border-color-focus: var( - --system-spectrum-radio-emphasized-button-checked-border-color-focus - ); -} diff --git a/packages/search/package.json b/packages/search/package.json index 8f2c71871d..ea6f629c84 100644 --- a/packages/search/package.json +++ b/packages/search/package.json @@ -33,6 +33,7 @@ "development": "./src/index.dev.js", "default": "./src/index.js" }, + "./src/search-overrides.css.js": "./src/search-overrides.css.js", "./src/search.css.js": "./src/search.css.js", "./sp-search.js": { "development": "./sp-search.dev.js", @@ -64,7 +65,7 @@ "@spectrum-web-components/textfield": "^0.49.0" }, "devDependencies": { - "@spectrum-css/search": "^7.1.0" + "@spectrum-css/search": "^8.0.0-s2-foundations.17" }, "types": "./src/index.d.ts", "customElements": "custom-elements.json", diff --git a/packages/search/src/Search.ts b/packages/search/src/Search.ts index d1febb6985..8dbaae41b7 100644 --- a/packages/search/src/Search.ts +++ b/packages/search/src/Search.ts @@ -25,7 +25,7 @@ import { ifDefined } from '@spectrum-web-components/base/src/directives.js'; import { Textfield } from '@spectrum-web-components/textfield'; import '@spectrum-web-components/button/sp-clear-button.js'; -import '@spectrum-web-components/icons-workflow/icons/sp-icon-magnify.js'; +import '@spectrum-web-components/icons-workflow/icons/sp-icon-search.js'; import searchStyles from './search.css.js'; @@ -114,9 +114,10 @@ export class Search extends Textfield { @reset=${this.reset} @keydown=${this.handleKeydown} > - + > ${super.renderField()} ${this.value ? html` diff --git a/packages/search/src/search-overrides.css b/packages/search/src/search-overrides.css new file mode 100644 index 0000000000..33399358db --- /dev/null +++ b/packages/search/src/search-overrides.css @@ -0,0 +1,123 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host { + --spectrum-search-border-color-default: var( + --system-search-border-color-default + ); + --spectrum-search-border-color-hover: var( + --system-search-border-color-hover + ); + --spectrum-search-border-color-focus: var( + --system-search-border-color-focus + ); + --spectrum-search-border-color-focus-hover: var( + --system-search-border-color-focus-hover + ); + --spectrum-search-border-color-key-focus: var( + --system-search-border-color-key-focus + ); + --spectrum-search-inline-size: var(--system-search-inline-size); + --spectrum-search-min-inline-multiplier: var( + --system-search-min-inline-multiplier + ); + --spectrum-search-to-help-text: var(--system-search-to-help-text); + --spectrum-search-top-to-text: var(--system-search-top-to-text); + --spectrum-search-bottom-to-text: var(--system-search-bottom-to-text); + --spectrum-search-focus-indicator-thickness: var( + --system-search-focus-indicator-thickness + ); + --spectrum-search-focus-indicator-gap: var( + --system-search-focus-indicator-gap + ); + --spectrum-search-focus-indicator-color: var( + --system-search-focus-indicator-color + ); + --spectrum-search-font-family: var(--system-search-font-family); + --spectrum-search-font-weight: var(--system-search-font-weight); + --spectrum-search-font-style: var(--system-search-font-style); + --spectrum-search-line-height: var(--system-search-line-height); + --spectrum-search-color-default: var(--system-search-color-default); + --spectrum-search-color-hover: var(--system-search-color-hover); + --spectrum-search-color-focus: var(--system-search-color-focus); + --spectrum-search-color-focus-hover: var(--system-search-color-focus-hover); + --spectrum-search-color-key-focus: var(--system-search-color-key-focus); + --spectrum-search-border-width: var(--system-search-border-width); + --spectrum-search-background-color: var(--system-search-background-color); + --spectrum-search-color-disabled: var(--system-search-color-disabled); + --spectrum-search-background-color-disabled: var( + --system-search-background-color-disabled + ); + --spectrum-search-border-color-disabled: var( + --system-search-border-color-disabled + ); + --spectrum-search-border-radius: var(--system-search-border-radius); + --spectrum-search-edge-to-visual: var(--system-search-edge-to-visual); + --spectrum-search-block-size: var(--system-search-block-size); + --spectrum-search-icon-size: var(--system-search-icon-size); + --spectrum-search-text-to-icon: var(--system-search-text-to-icon); +} + +:host([size='s']) #textfield { + --spectrum-search-border-radius: var(--system-search-size-s-border-radius); + --spectrum-search-edge-to-visual: var( + --system-search-size-s-edge-to-visual + ); + --spectrum-search-block-size: var(--system-search-size-s-block-size); + --spectrum-search-icon-size: var(--system-search-size-s-icon-size); + --spectrum-search-text-to-icon: var(--system-search-size-s-text-to-icon); +} + +:host([size='m']) #textfield { + --spectrum-search-border-radius: var(--system-search-size-m-border-radius); + --spectrum-search-edge-to-visual: var( + --system-search-size-m-edge-to-visual + ); + --spectrum-search-block-size: var(--system-search-size-m-block-size); + --spectrum-search-icon-size: var(--system-search-size-m-icon-size); + --spectrum-search-text-to-icon: var(--system-search-size-m-text-to-icon); +} + +:host([size='l']) #textfield { + --spectrum-search-border-radius: var(--system-search-size-l-border-radius); + --spectrum-search-edge-to-visual: var( + --system-search-size-l-edge-to-visual + ); + --spectrum-search-block-size: var(--system-search-size-l-block-size); + --spectrum-search-icon-size: var(--system-search-size-l-icon-size); + --spectrum-search-text-to-icon: var(--system-search-size-l-text-to-icon); +} + +:host([size='xl']) #textfield { + --spectrum-search-border-radius: var(--system-search-size-xl-border-radius); + --spectrum-search-edge-to-visual: var( + --system-search-size-xl-edge-to-visual + ); + --spectrum-search-block-size: var(--system-search-size-xl-block-size); + --spectrum-search-icon-size: var(--system-search-size-xl-icon-size); + --spectrum-search-text-to-icon: var(--system-search-size-xl-text-to-icon); +} + +:host([quiet]) { + --spectrum-search-background-color: var( + --system-search-quiet-background-color + ); + --spectrum-search-background-color-disabled: var( + --system-search-quiet-background-color-disabled + ); + --spectrum-search-border-color-disabled: var( + --system-search-quiet-border-color-disabled + ); + --spectrum-search-border-radius: var(--system-search-quiet-border-radius); + --spectrum-search-edge-to-visual: var(--system-search-quiet-edge-to-visual); +} diff --git a/packages/search/src/search.css b/packages/search/src/search.css index 24b1351706..924721bc34 100644 --- a/packages/search/src/search.css +++ b/packages/search/src/search.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-search.css'); +@import url('./search-overrides.css'); :host { --mod-textfield-spacing-inline: var( @@ -23,30 +24,6 @@ input::-webkit-search-cancel-button { display: none; } -:host([size='xs']) { - --spectrum-icon-size: var(--spectrum-workflow-icon-size-50); -} - -:host([size='s']) { - --spectrum-icon-size: var(--spectrum-workflow-icon-size-75); -} - -:host([size='m']) { - --spectrum-icon-size: var(--spectrum-workflow-icon-size-100); -} - -:host([size='l']) { - --spectrum-icon-size: var(--spectrum-workflow-icon-size-200); -} - -:host([size='xl']) { - --spectrum-icon-size: var(--spectrum-workflow-icon-size-300); -} - -:host([size='xxl']) { - --spectrum-icon-size: var(--spectrum-workflow-icon-size-400); -} - /** * While overriding the need for `size="m"` in SWC, these values correct the * cascade when attempting to delivery the Clear Button within the Search UI. diff --git a/packages/search/src/spectrum-config.js b/packages/search/src/spectrum-config.js index ae61a5f7e5..1fd00aeea3 100644 --- a/packages/search/src/spectrum-config.js +++ b/packages/search/src/spectrum-config.js @@ -37,10 +37,11 @@ const config = { converter.classToId('spectrum-Search-clearButton', 'button'), converter.classToId('spectrum-Search-textfield', 'textfield'), // Default to `size='m'` without needing the attribute - converter.classToHost('spectrum-Search--sizeM'), + // converter.classToHost('spectrum-Search--sizeM'), ...converter.enumerateAttributes( [ ['spectrum-Search--sizeS', 's'], + ['spectrum-Search--sizeM', 'm'], ['spectrum-Search--sizeL', 'l'], ['spectrum-Search--sizeXL', 'xl'], ], diff --git a/packages/search/src/spectrum-search.css b/packages/search/src/spectrum-search.css index 8b6303b0f4..1f4b8fb36b 100644 --- a/packages/search/src/spectrum-search.css +++ b/packages/search/src/spectrum-search.css @@ -11,52 +11,27 @@ governing permissions and limitations under the License. */ /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ -:host { - --spectrum-search-inline-size: var(--spectrum-field-width); - --spectrum-search-block-size: var(--spectrum-component-height-100); +@media (forced-colors: active) { + #textfield #textfield, + #textfield #textfield .input { + --highcontrast-search-color-default: CanvasText; + --highcontrast-search-color-hover: CanvasText; + --highcontrast-search-color-focus: CanvasText; + --highcontrast-search-color-disabled: GrayText; + } + + #textfield #button .spectrum-ClearButton-fill { + forced-color-adjust: none; + background-color: initial; + } +} + +#textfield { --spectrum-search-button-inline-size: var(--spectrum-search-block-size); --spectrum-search-min-inline-size: calc( - var(--spectrum-search-field-minimum-width-multiplier) * + var(--spectrum-search-min-inline-multiplier) * var(--spectrum-search-block-size) ); - --spectrum-search-icon-size: var(--spectrum-workflow-icon-size-100); - --spectrum-search-text-to-icon: var(--spectrum-text-to-visual-100); - --spectrum-search-to-help-text: var(--spectrum-help-text-to-component); - --spectrum-search-top-to-text: var(--spectrum-component-top-to-text-100); - --spectrum-search-bottom-to-text: var( - --spectrum-component-bottom-to-text-100 - ); - --spectrum-search-focus-indicator-thickness: var( - --spectrum-focus-indicator-thickness - ); - --spectrum-search-focus-indicator-gap: var(--spectrum-focus-indicator-gap); - --spectrum-search-focus-indicator-color: var( - --spectrum-focus-indicator-color - ); - --spectrum-search-font-family: var(--spectrum-sans-font-family-stack); - --spectrum-search-font-weight: var(--spectrum-regular-font-weight); - --spectrum-search-font-style: var(--spectrum-default-font-style); - --spectrum-search-line-height: var(--spectrum-line-height-100); - --spectrum-search-color-default: var( - --spectrum-neutral-content-color-default - ); - --spectrum-search-color-hover: var(--spectrum-neutral-content-color-hover); - --spectrum-search-color-focus: var(--spectrum-neutral-content-color-focus); - --spectrum-search-color-focus-hover: var( - --spectrum-neutral-content-color-focus-hover - ); - --spectrum-search-color-key-focus: var( - --spectrum-neutral-content-color-key-focus - ); - --spectrum-search-border-width: var(--spectrum-border-width-100); - --spectrum-search-background-color: var(--spectrum-gray-50); - --spectrum-search-color-disabled: var(--spectrum-disabled-content-color); - --spectrum-search-background-color-disabled: var( - --spectrum-disabled-background-color - ); - --spectrum-search-border-color-disabled: var( - --spectrum-disabled-background-color - ); --mod-textfield-font-family: var( --mod-search-font-family, var(--spectrum-search-font-family) @@ -141,64 +116,6 @@ governing permissions and limitations under the License. --mod-search-background-color-disabled, var(--spectrum-search-background-color-disabled) ); -} - -:host([size='s']) { - --spectrum-search-block-size: var(--spectrum-component-height-75); - --spectrum-search-icon-size: var(--spectrum-workflow-icon-size-75); - --spectrum-search-text-to-icon: var(--spectrum-text-to-visual-75); -} - -:host([size='l']) { - --spectrum-search-block-size: var(--spectrum-component-height-200); - --spectrum-search-icon-size: var(--spectrum-workflow-icon-size-200); - --spectrum-search-text-to-icon: var(--spectrum-text-to-visual-200); -} - -:host([size='xl']) { - --spectrum-search-block-size: var(--spectrum-component-height-300); - --spectrum-search-icon-size: var(--spectrum-workflow-icon-size-300); - --spectrum-search-text-to-icon: var(--spectrum-text-to-visual-300); -} - -:host([quiet]) { - --spectrum-search-quiet-button-offset: calc( - var(--mod-search-block-size, var(--spectrum-search-block-size)) / 2 - - var( - --mod-workflow-icon-size-100, - var(--spectrum-workflow-icon-size-100) - ) / 2 - ); - --spectrum-search-background-color: transparent; - --spectrum-search-background-color-disabled: transparent; - --spectrum-search-border-color-disabled: var( - --spectrum-disabled-border-color - ); -} - -:host([quiet]) #textfield { - --spectrum-search-border-radius: 0; - --spectrum-search-edge-to-visual: var( - --spectrum-field-edge-to-visual-quiet - ); -} - -@media (forced-colors: active) { - #textfield #textfield, - #textfield #textfield .input { - --highcontrast-search-color-default: CanvasText; - --highcontrast-search-color-hover: CanvasText; - --highcontrast-search-color-focus: CanvasText; - --highcontrast-search-color-disabled: GrayText; - } - - #textfield #button .spectrum-ClearButton-fill { - forced-color-adjust: none; - background-color: initial; - } -} - -#textfield { inline-size: var( --mod-search-inline-size, var(--spectrum-search-inline-size) @@ -219,15 +136,12 @@ governing permissions and limitations under the License. } #button { - border-radius: var( - --mod-search-border-radius, - var(--spectrum-search-border-radius) - ); position: absolute; inset-block-start: 0; inset-inline-end: 0; } +#button, #button .spectrum-ClearButton-fill { border-radius: var( --mod-search-border-radius, @@ -354,6 +268,13 @@ governing permissions and limitations under the License. ); } +:host([quiet]) { + --spectrum-search-quiet-button-offset: calc( + var(--mod-search-block-size, var(--spectrum-search-block-size)) / 2 - + var(--mod-search-icon-size, var(--spectrum-search-icon-size)) / 2 + ); +} + :host([quiet]) #button { transform: translateX( var( @@ -388,63 +309,3 @@ governing permissions and limitations under the License. ) ); } - -:host { - --spectrum-search-border-radius: var( - --system-spectrum-search-border-radius - ); - --spectrum-search-edge-to-visual: var( - --system-spectrum-search-edge-to-visual - ); - --spectrum-search-border-color-default: var( - --system-spectrum-search-border-color-default - ); - --spectrum-search-border-color-hover: var( - --system-spectrum-search-border-color-hover - ); - --spectrum-search-border-color-focus: var( - --system-spectrum-search-border-color-focus - ); - --spectrum-search-border-color-focus-hover: var( - --system-spectrum-search-border-color-focus-hover - ); - --spectrum-search-border-color-key-focus: var( - --system-spectrum-search-border-color-key-focus - ); -} - -:host([size='s']) { - --spectrum-search-border-radius: var( - --system-spectrum-search-sizes-border-radius - ); - --spectrum-search-edge-to-visual: var( - --system-spectrum-search-sizes-edge-to-visual - ); -} - -:host { - --spectrum-search-border-radius: var( - --system-spectrum-search-sizem-border-radius - ); - --spectrum-search-edge-to-visual: var( - --system-spectrum-search-sizem-edge-to-visual - ); -} - -:host([size='l']) { - --spectrum-search-border-radius: var( - --system-spectrum-search-sizel-border-radius - ); - --spectrum-search-edge-to-visual: var( - --system-spectrum-search-sizel-edge-to-visual - ); -} - -:host([size='xl']) { - --spectrum-search-border-radius: var( - --system-spectrum-search-sizexl-border-radius - ); - --spectrum-search-edge-to-visual: var( - --system-spectrum-search-sizexl-edge-to-visual - ); -} diff --git a/packages/sidenav/package.json b/packages/sidenav/package.json index 1992c2a4ba..3fc682ebb3 100644 --- a/packages/sidenav/package.json +++ b/packages/sidenav/package.json @@ -41,8 +41,11 @@ "development": "./src/index.dev.js", "default": "./src/index.js" }, + "./src/sidenav-heading-overrides.css.js": "./src/sidenav-heading-overrides.css.js", "./src/sidenav-heading.css.js": "./src/sidenav-heading.css.js", + "./src/sidenav-item-overrides.css.js": "./src/sidenav-item-overrides.css.js", "./src/sidenav-item.css.js": "./src/sidenav-item.css.js", + "./src/sidenav-overrides.css.js": "./src/sidenav-overrides.css.js", "./src/sidenav.css.js": "./src/sidenav.css.js", "./sp-sidenav.js": { "development": "./sp-sidenav.dev.js", @@ -80,7 +83,7 @@ "@spectrum-web-components/shared": "^0.49.0" }, "devDependencies": { - "@spectrum-css/sidenav": "^5.1.0" + "@spectrum-css/sidenav": "^6.0.0-s2-foundations.15" }, "types": "./src/index.d.ts", "customElements": "custom-elements.json", diff --git a/packages/sidenav/src/sidenav-heading-overrides.css b/packages/sidenav/src/sidenav-heading-overrides.css new file mode 100644 index 0000000000..67fdc46170 --- /dev/null +++ b/packages/sidenav/src/sidenav-heading-overrides.css @@ -0,0 +1,182 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +#list { + --spectrum-sidenav-focus-ring-size: var(--system-side-nav-focus-ring-size); + --spectrum-sidenav-focus-ring-gap: var(--system-side-nav-focus-ring-gap); + --spectrum-sidenav-focus-ring-color: var( + --system-side-nav-focus-ring-color + ); + --spectrum-sidenav-min-height: var(--system-side-nav-min-height); + --spectrum-sidenav-width: var(--system-side-nav-width); + --spectrum-sidenav-min-width: var(--system-side-nav-min-width); + --spectrum-sidenav-max-width: var(--system-side-nav-max-width); + --spectrum-sidenav-border-radius: var(--system-side-nav-border-radius); + --spectrum-sidenav-icon-size: var(--system-side-nav-icon-size); + --spectrum-sidenav-icon-spacing: var(--system-side-nav-icon-spacing); + --spectrum-sidenav-inline-padding: var(--system-side-nav-inline-padding); + --spectrum-sidenav-gap: var(--system-side-nav-gap); + --spectrum-sidenav-top-to-icon: var(--system-side-nav-top-to-icon); + --spectrum-sidenav-top-to-label: var(--system-side-nav-top-to-label); + --spectrum-sidenav-bottom-to-label: var(--system-side-nav-bottom-to-label); + --spectrum-sidenav-start-to-content-second-level: var( + --system-side-nav-start-to-content-second-level + ); + --spectrum-sidenav-start-to-content-third-level: var( + --system-side-nav-start-to-content-third-level + ); + --spectrum-sidenav-start-to-content-with-icon-second-level: var( + --system-side-nav-start-to-content-with-icon-second-level + ); + --spectrum-sidenav-start-to-content-with-icon-third-level: var( + --system-side-nav-start-to-content-with-icon-third-level + ); + --spectrum-sidenav-heading-top-margin: var( + --system-side-nav-heading-top-margin + ); + --spectrum-sidenav-heading-bottom-margin: var( + --system-side-nav-heading-bottom-margin + ); + --spectrum-sidenav-background-disabled: var( + --system-side-nav-background-disabled + ); + --spectrum-sidenav-background-default: var( + --system-side-nav-background-default + ); + --spectrum-sidenav-background-hover: var( + --system-side-nav-background-hover + ); + --spectrum-sidenav-item-background-down: var( + --system-side-nav-item-background-down + ); + --spectrum-sidenav-background-key-focus: var( + --system-side-nav-background-key-focus + ); + --spectrum-sidenav-item-background-default-selected: var( + --system-side-nav-item-background-default-selected + ); + --spectrum-sidenav-background-hover-selected: var( + --system-side-nav-background-hover-selected + ); + --spectrum-sidenav-item-background-down-selected: var( + --system-side-nav-item-background-down-selected + ); + --spectrum-sidenav-background-key-focus-selected: var( + --system-side-nav-background-key-focus-selected + ); + --spectrum-sidenav-header-color: var(--system-side-nav-header-color); + --spectrum-sidenav-content-disabled-color: var( + --system-side-nav-content-disabled-color + ); + --spectrum-sidenav-content-color-default: var( + --system-side-nav-content-color-default + ); + --spectrum-sidenav-content-color-hover: var( + --system-side-nav-content-color-hover + ); + --spectrum-sidenav-content-color-down: var( + --system-side-nav-content-color-down + ); + --spectrum-sidenav-content-color-key-focus: var( + --system-side-nav-content-color-key-focus + ); + --spectrum-sidenav-content-color-default-selected: var( + --system-side-nav-content-color-default-selected + ); + --spectrum-sidenav-content-color-hover-selected: var( + --system-side-nav-content-color-hover-selected + ); + --spectrum-sidenav-content-color-down-selected: var( + --system-side-nav-content-color-down-selected + ); + --spectrum-sidenav-content-color-key-focus-selected: var( + --system-side-nav-content-color-key-focus-selected + ); + --spectrum-sidenav-text-font-family: var( + --system-side-nav-text-font-family + ); + --spectrum-sidenav-text-font-weight: var( + --system-side-nav-text-font-weight + ); + --spectrum-sidenav-text-font-style: var(--system-side-nav-text-font-style); + --spectrum-sidenav-text-font-size: var(--system-side-nav-text-font-size); + --spectrum-sidenav-text-line-height: var( + --system-side-nav-text-line-height + ); + --spectrum-sidenav-top-level-font-family: var( + --system-side-nav-top-level-font-family + ); + --spectrum-sidenav-top-level-font-weight: var( + --system-side-nav-top-level-font-weight + ); + --spectrum-sidenav-top-level-font-style: var( + --system-side-nav-top-level-font-style + ); + --spectrum-sidenav-top-level-font-size: var( + --system-side-nav-top-level-font-size + ); + --spectrum-sidenav-top-level-line-height: var( + --system-side-nav-top-level-line-height + ); + --spectrum-sidenav-header-font-family: var( + --system-side-nav-header-font-family + ); + --spectrum-sidenav-header-font-weight: var( + --system-side-nav-header-font-weight + ); + --spectrum-sidenav-header-font-style: var( + --system-side-nav-header-font-style + ); + --spectrum-sidenav-header-font-size: var( + --system-side-nav-header-font-size + ); + --spectrum-sidenav-header-line-height: var( + --system-side-nav-header-line-height + ); +} + +#list:lang(ja) { + --spectrum-sidenav-text-line-height: var( + --system-side-nav-lang-ja-text-line-height + ); + --spectrum-sidenav-top-level-line-height: var( + --system-side-nav-lang-ja-top-level-line-height + ); + --spectrum-sidenav-header-line-height: var( + --system-side-nav-lang-ja-header-line-height + ); +} + +#list:lang(zh) { + --spectrum-sidenav-text-line-height: var( + --system-side-nav-lang-zh-text-line-height + ); + --spectrum-sidenav-top-level-line-height: var( + --system-side-nav-lang-zh-top-level-line-height + ); + --spectrum-sidenav-header-line-height: var( + --system-side-nav-lang-zh-header-line-height + ); +} + +#list:lang(ko) { + --spectrum-sidenav-text-line-height: var( + --system-side-nav-lang-ko-text-line-height + ); + --spectrum-sidenav-top-level-line-height: var( + --system-side-nav-lang-ko-top-level-line-height + ); + --spectrum-sidenav-header-line-height: var( + --system-side-nav-lang-ko-header-line-height + ); +} diff --git a/packages/sidenav/src/sidenav-heading.css b/packages/sidenav/src/sidenav-heading.css index df9dce070a..fa6537deca 100644 --- a/packages/sidenav/src/sidenav-heading.css +++ b/packages/sidenav/src/sidenav-heading.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-sidenav-heading.css'); +@import url('./sidenav-heading-overrides.css'); :host { display: block; diff --git a/packages/sidenav/src/sidenav-item-overrides.css b/packages/sidenav/src/sidenav-item-overrides.css new file mode 100644 index 0000000000..67fdc46170 --- /dev/null +++ b/packages/sidenav/src/sidenav-item-overrides.css @@ -0,0 +1,182 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +#list { + --spectrum-sidenav-focus-ring-size: var(--system-side-nav-focus-ring-size); + --spectrum-sidenav-focus-ring-gap: var(--system-side-nav-focus-ring-gap); + --spectrum-sidenav-focus-ring-color: var( + --system-side-nav-focus-ring-color + ); + --spectrum-sidenav-min-height: var(--system-side-nav-min-height); + --spectrum-sidenav-width: var(--system-side-nav-width); + --spectrum-sidenav-min-width: var(--system-side-nav-min-width); + --spectrum-sidenav-max-width: var(--system-side-nav-max-width); + --spectrum-sidenav-border-radius: var(--system-side-nav-border-radius); + --spectrum-sidenav-icon-size: var(--system-side-nav-icon-size); + --spectrum-sidenav-icon-spacing: var(--system-side-nav-icon-spacing); + --spectrum-sidenav-inline-padding: var(--system-side-nav-inline-padding); + --spectrum-sidenav-gap: var(--system-side-nav-gap); + --spectrum-sidenav-top-to-icon: var(--system-side-nav-top-to-icon); + --spectrum-sidenav-top-to-label: var(--system-side-nav-top-to-label); + --spectrum-sidenav-bottom-to-label: var(--system-side-nav-bottom-to-label); + --spectrum-sidenav-start-to-content-second-level: var( + --system-side-nav-start-to-content-second-level + ); + --spectrum-sidenav-start-to-content-third-level: var( + --system-side-nav-start-to-content-third-level + ); + --spectrum-sidenav-start-to-content-with-icon-second-level: var( + --system-side-nav-start-to-content-with-icon-second-level + ); + --spectrum-sidenav-start-to-content-with-icon-third-level: var( + --system-side-nav-start-to-content-with-icon-third-level + ); + --spectrum-sidenav-heading-top-margin: var( + --system-side-nav-heading-top-margin + ); + --spectrum-sidenav-heading-bottom-margin: var( + --system-side-nav-heading-bottom-margin + ); + --spectrum-sidenav-background-disabled: var( + --system-side-nav-background-disabled + ); + --spectrum-sidenav-background-default: var( + --system-side-nav-background-default + ); + --spectrum-sidenav-background-hover: var( + --system-side-nav-background-hover + ); + --spectrum-sidenav-item-background-down: var( + --system-side-nav-item-background-down + ); + --spectrum-sidenav-background-key-focus: var( + --system-side-nav-background-key-focus + ); + --spectrum-sidenav-item-background-default-selected: var( + --system-side-nav-item-background-default-selected + ); + --spectrum-sidenav-background-hover-selected: var( + --system-side-nav-background-hover-selected + ); + --spectrum-sidenav-item-background-down-selected: var( + --system-side-nav-item-background-down-selected + ); + --spectrum-sidenav-background-key-focus-selected: var( + --system-side-nav-background-key-focus-selected + ); + --spectrum-sidenav-header-color: var(--system-side-nav-header-color); + --spectrum-sidenav-content-disabled-color: var( + --system-side-nav-content-disabled-color + ); + --spectrum-sidenav-content-color-default: var( + --system-side-nav-content-color-default + ); + --spectrum-sidenav-content-color-hover: var( + --system-side-nav-content-color-hover + ); + --spectrum-sidenav-content-color-down: var( + --system-side-nav-content-color-down + ); + --spectrum-sidenav-content-color-key-focus: var( + --system-side-nav-content-color-key-focus + ); + --spectrum-sidenav-content-color-default-selected: var( + --system-side-nav-content-color-default-selected + ); + --spectrum-sidenav-content-color-hover-selected: var( + --system-side-nav-content-color-hover-selected + ); + --spectrum-sidenav-content-color-down-selected: var( + --system-side-nav-content-color-down-selected + ); + --spectrum-sidenav-content-color-key-focus-selected: var( + --system-side-nav-content-color-key-focus-selected + ); + --spectrum-sidenav-text-font-family: var( + --system-side-nav-text-font-family + ); + --spectrum-sidenav-text-font-weight: var( + --system-side-nav-text-font-weight + ); + --spectrum-sidenav-text-font-style: var(--system-side-nav-text-font-style); + --spectrum-sidenav-text-font-size: var(--system-side-nav-text-font-size); + --spectrum-sidenav-text-line-height: var( + --system-side-nav-text-line-height + ); + --spectrum-sidenav-top-level-font-family: var( + --system-side-nav-top-level-font-family + ); + --spectrum-sidenav-top-level-font-weight: var( + --system-side-nav-top-level-font-weight + ); + --spectrum-sidenav-top-level-font-style: var( + --system-side-nav-top-level-font-style + ); + --spectrum-sidenav-top-level-font-size: var( + --system-side-nav-top-level-font-size + ); + --spectrum-sidenav-top-level-line-height: var( + --system-side-nav-top-level-line-height + ); + --spectrum-sidenav-header-font-family: var( + --system-side-nav-header-font-family + ); + --spectrum-sidenav-header-font-weight: var( + --system-side-nav-header-font-weight + ); + --spectrum-sidenav-header-font-style: var( + --system-side-nav-header-font-style + ); + --spectrum-sidenav-header-font-size: var( + --system-side-nav-header-font-size + ); + --spectrum-sidenav-header-line-height: var( + --system-side-nav-header-line-height + ); +} + +#list:lang(ja) { + --spectrum-sidenav-text-line-height: var( + --system-side-nav-lang-ja-text-line-height + ); + --spectrum-sidenav-top-level-line-height: var( + --system-side-nav-lang-ja-top-level-line-height + ); + --spectrum-sidenav-header-line-height: var( + --system-side-nav-lang-ja-header-line-height + ); +} + +#list:lang(zh) { + --spectrum-sidenav-text-line-height: var( + --system-side-nav-lang-zh-text-line-height + ); + --spectrum-sidenav-top-level-line-height: var( + --system-side-nav-lang-zh-top-level-line-height + ); + --spectrum-sidenav-header-line-height: var( + --system-side-nav-lang-zh-header-line-height + ); +} + +#list:lang(ko) { + --spectrum-sidenav-text-line-height: var( + --system-side-nav-lang-ko-text-line-height + ); + --spectrum-sidenav-top-level-line-height: var( + --system-side-nav-lang-ko-top-level-line-height + ); + --spectrum-sidenav-header-line-height: var( + --system-side-nav-lang-ko-header-line-height + ); +} diff --git a/packages/sidenav/src/sidenav-item.css b/packages/sidenav/src/sidenav-item.css index 3691a8e203..17420f7508 100644 --- a/packages/sidenav/src/sidenav-item.css +++ b/packages/sidenav/src/sidenav-item.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-sidenav-item.css'); +@import url('./sidenav-item-overrides.css'); :host { display: block; diff --git a/packages/sidenav/src/sidenav-overrides.css b/packages/sidenav/src/sidenav-overrides.css new file mode 100644 index 0000000000..1486c7807e --- /dev/null +++ b/packages/sidenav/src/sidenav-overrides.css @@ -0,0 +1,182 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host { + --spectrum-sidenav-focus-ring-size: var(--system-side-nav-focus-ring-size); + --spectrum-sidenav-focus-ring-gap: var(--system-side-nav-focus-ring-gap); + --spectrum-sidenav-focus-ring-color: var( + --system-side-nav-focus-ring-color + ); + --spectrum-sidenav-min-height: var(--system-side-nav-min-height); + --spectrum-sidenav-width: var(--system-side-nav-width); + --spectrum-sidenav-min-width: var(--system-side-nav-min-width); + --spectrum-sidenav-max-width: var(--system-side-nav-max-width); + --spectrum-sidenav-border-radius: var(--system-side-nav-border-radius); + --spectrum-sidenav-icon-size: var(--system-side-nav-icon-size); + --spectrum-sidenav-icon-spacing: var(--system-side-nav-icon-spacing); + --spectrum-sidenav-inline-padding: var(--system-side-nav-inline-padding); + --spectrum-sidenav-gap: var(--system-side-nav-gap); + --spectrum-sidenav-top-to-icon: var(--system-side-nav-top-to-icon); + --spectrum-sidenav-top-to-label: var(--system-side-nav-top-to-label); + --spectrum-sidenav-bottom-to-label: var(--system-side-nav-bottom-to-label); + --spectrum-sidenav-start-to-content-second-level: var( + --system-side-nav-start-to-content-second-level + ); + --spectrum-sidenav-start-to-content-third-level: var( + --system-side-nav-start-to-content-third-level + ); + --spectrum-sidenav-start-to-content-with-icon-second-level: var( + --system-side-nav-start-to-content-with-icon-second-level + ); + --spectrum-sidenav-start-to-content-with-icon-third-level: var( + --system-side-nav-start-to-content-with-icon-third-level + ); + --spectrum-sidenav-heading-top-margin: var( + --system-side-nav-heading-top-margin + ); + --spectrum-sidenav-heading-bottom-margin: var( + --system-side-nav-heading-bottom-margin + ); + --spectrum-sidenav-background-disabled: var( + --system-side-nav-background-disabled + ); + --spectrum-sidenav-background-default: var( + --system-side-nav-background-default + ); + --spectrum-sidenav-background-hover: var( + --system-side-nav-background-hover + ); + --spectrum-sidenav-item-background-down: var( + --system-side-nav-item-background-down + ); + --spectrum-sidenav-background-key-focus: var( + --system-side-nav-background-key-focus + ); + --spectrum-sidenav-item-background-default-selected: var( + --system-side-nav-item-background-default-selected + ); + --spectrum-sidenav-background-hover-selected: var( + --system-side-nav-background-hover-selected + ); + --spectrum-sidenav-item-background-down-selected: var( + --system-side-nav-item-background-down-selected + ); + --spectrum-sidenav-background-key-focus-selected: var( + --system-side-nav-background-key-focus-selected + ); + --spectrum-sidenav-header-color: var(--system-side-nav-header-color); + --spectrum-sidenav-content-disabled-color: var( + --system-side-nav-content-disabled-color + ); + --spectrum-sidenav-content-color-default: var( + --system-side-nav-content-color-default + ); + --spectrum-sidenav-content-color-hover: var( + --system-side-nav-content-color-hover + ); + --spectrum-sidenav-content-color-down: var( + --system-side-nav-content-color-down + ); + --spectrum-sidenav-content-color-key-focus: var( + --system-side-nav-content-color-key-focus + ); + --spectrum-sidenav-content-color-default-selected: var( + --system-side-nav-content-color-default-selected + ); + --spectrum-sidenav-content-color-hover-selected: var( + --system-side-nav-content-color-hover-selected + ); + --spectrum-sidenav-content-color-down-selected: var( + --system-side-nav-content-color-down-selected + ); + --spectrum-sidenav-content-color-key-focus-selected: var( + --system-side-nav-content-color-key-focus-selected + ); + --spectrum-sidenav-text-font-family: var( + --system-side-nav-text-font-family + ); + --spectrum-sidenav-text-font-weight: var( + --system-side-nav-text-font-weight + ); + --spectrum-sidenav-text-font-style: var(--system-side-nav-text-font-style); + --spectrum-sidenav-text-font-size: var(--system-side-nav-text-font-size); + --spectrum-sidenav-text-line-height: var( + --system-side-nav-text-line-height + ); + --spectrum-sidenav-top-level-font-family: var( + --system-side-nav-top-level-font-family + ); + --spectrum-sidenav-top-level-font-weight: var( + --system-side-nav-top-level-font-weight + ); + --spectrum-sidenav-top-level-font-style: var( + --system-side-nav-top-level-font-style + ); + --spectrum-sidenav-top-level-font-size: var( + --system-side-nav-top-level-font-size + ); + --spectrum-sidenav-top-level-line-height: var( + --system-side-nav-top-level-line-height + ); + --spectrum-sidenav-header-font-family: var( + --system-side-nav-header-font-family + ); + --spectrum-sidenav-header-font-weight: var( + --system-side-nav-header-font-weight + ); + --spectrum-sidenav-header-font-style: var( + --system-side-nav-header-font-style + ); + --spectrum-sidenav-header-font-size: var( + --system-side-nav-header-font-size + ); + --spectrum-sidenav-header-line-height: var( + --system-side-nav-header-line-height + ); +} + +:host:lang(ja) { + --spectrum-sidenav-text-line-height: var( + --system-side-nav-lang-ja-text-line-height + ); + --spectrum-sidenav-top-level-line-height: var( + --system-side-nav-lang-ja-top-level-line-height + ); + --spectrum-sidenav-header-line-height: var( + --system-side-nav-lang-ja-header-line-height + ); +} + +:host:lang(zh) { + --spectrum-sidenav-text-line-height: var( + --system-side-nav-lang-zh-text-line-height + ); + --spectrum-sidenav-top-level-line-height: var( + --system-side-nav-lang-zh-top-level-line-height + ); + --spectrum-sidenav-header-line-height: var( + --system-side-nav-lang-zh-header-line-height + ); +} + +:host:lang(ko) { + --spectrum-sidenav-text-line-height: var( + --system-side-nav-lang-ko-text-line-height + ); + --spectrum-sidenav-top-level-line-height: var( + --system-side-nav-lang-ko-top-level-line-height + ); + --spectrum-sidenav-header-line-height: var( + --system-side-nav-lang-ko-header-line-height + ); +} diff --git a/packages/sidenav/src/sidenav.css b/packages/sidenav/src/sidenav.css index 4048597856..1024206171 100644 --- a/packages/sidenav/src/sidenav.css +++ b/packages/sidenav/src/sidenav.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-sidenav.css'); +@import url('./sidenav-overrides.css'); :host { display: block; diff --git a/packages/sidenav/src/spectrum-sidenav-heading.css b/packages/sidenav/src/spectrum-sidenav-heading.css index edae739b46..cf11a8385a 100644 --- a/packages/sidenav/src/spectrum-sidenav-heading.css +++ b/packages/sidenav/src/spectrum-sidenav-heading.css @@ -11,116 +11,10 @@ governing permissions and limitations under the License. */ /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ -#list { - --spectrum-sidenav-focus-ring-size: var( - --spectrum-focus-indicator-thickness - ); - --spectrum-sidenav-focus-ring-gap: var(--spectrum-focus-indicator-gap); - --spectrum-sidenav-focus-ring-color: var(--spectrum-focus-indicator-color); - --spectrum-sidenav-min-height: var(--spectrum-component-height-100); - --spectrum-sidenav-width: 100%; - --spectrum-sidenav-min-width: var(--spectrum-side-navigation-minimum-width); - --spectrum-sidenav-max-width: var(--spectrum-side-navigation-maximum-width); - --spectrum-sidenav-border-radius: var(--spectrum-corner-radius-100); - --spectrum-sidenav-icon-size: var(--spectrum-workflow-icon-size-100); - --spectrum-sidenav-icon-spacing: var(--spectrum-text-to-visual-100); - --spectrum-sidenav-inline-padding: var( - --spectrum-component-edge-to-text-100 - ); - --spectrum-sidenav-gap: var(--spectrum-side-navigation-item-to-item); - --spectrum-sidenav-top-to-icon: var( - --spectrum-component-top-to-workflow-icon-100 - ); - --spectrum-sidenav-top-to-label: var(--spectrum-component-top-to-text-100); - --spectrum-sidenav-bottom-to-label: var( - --spectrum-side-navigation-bottom-to-text - ); - --spectrum-sidenav-start-to-content-second-level: var( - --spectrum-side-navigation-second-level-edge-to-text - ); - --spectrum-sidenav-start-to-content-third-level: var( - --spectrum-side-navigation-third-level-edge-to-text - ); - --spectrum-sidenav-start-to-content-with-icon-second-level: var( - --spectrum-side-navigation-with-icon-second-level-edge-to-text - ); - --spectrum-sidenav-start-to-content-with-icon-third-level: var( - --spectrum-side-navigation-with-icon-third-level-edge-to-text - ); - --spectrum-sidenav-heading-top-margin: var( - --spectrum-side-navigation-item-to-header - ); - --spectrum-sidenav-heading-bottom-margin: var( - --spectrum-side-navigation-header-to-item - ); - --spectrum-sidenav-background-disabled: transparent; - --spectrum-sidenav-background-default: transparent; - --spectrum-sidenav-background-hover: var(--spectrum-gray-200); - --spectrum-sidenav-item-background-down: var(--spectrum-gray-300); - --spectrum-sidenav-background-key-focus: var(--spectrum-gray-200); - --spectrum-sidenav-item-background-default-selected: var( - --spectrum-gray-200 - ); - --spectrum-sidenav-background-hover-selected: var(--spectrum-gray-300); - --spectrum-sidenav-item-background-down-selected: var(--spectrum-gray-300); - --spectrum-sidenav-background-key-focus-selected: var(--spectrum-gray-200); - --spectrum-sidenav-header-color: var(--spectrum-gray-600); - --spectrum-sidenav-content-disabled-color: var( - --spectrum-disabled-content-color - ); - --spectrum-sidenav-content-color-default: var( - --spectrum-neutral-content-color-default - ); - --spectrum-sidenav-content-color-hover: var( - --spectrum-neutral-content-color-hover - ); - --spectrum-sidenav-content-color-down: var( - --spectrum-neutral-content-color-down - ); - --spectrum-sidenav-content-color-key-focus: var( - --spectrum-neutral-content-color-key-focus - ); - --spectrum-sidenav-content-color-default-selected: var( - --spectrum-neutral-content-color-default - ); - --spectrum-sidenav-content-color-hover-selected: var( - --spectrum-neutral-content-color-hover - ); - --spectrum-sidenav-content-color-down-selected: var( - --spectrum-neutral-content-color-down - ); - --spectrum-sidenav-content-color-key-focus-selected: var( - --spectrum-neutral-content-color-key-focus - ); - --spectrum-sidenav-text-font-family: var(--spectrum-sans-font-family-stack); - --spectrum-sidenav-text-font-weight: var(--spectrum-regular-font-weight); - --spectrum-sidenav-text-font-style: var(--spectrum-default-font-style); - --spectrum-sidenav-text-font-size: var(--spectrum-font-size-100); - --spectrum-sidenav-text-line-height: var(--spectrum-line-height-100); - --spectrum-sidenav-top-level-font-family: var( - --spectrum-sans-font-family-stack - ); - --spectrum-sidenav-top-level-font-weight: var(--spectrum-bold-font-weight); - --spectrum-sidenav-top-level-font-style: var(--spectrum-default-font-style); - --spectrum-sidenav-top-level-font-size: var(--spectrum-font-size-100); - --spectrum-sidenav-top-level-line-height: var(--spectrum-line-height-100); - --spectrum-sidenav-header-font-family: var( - --spectrum-sans-font-family-stack - ); - --spectrum-sidenav-header-font-weight: var(--spectrum-medium-font-weight); - --spectrum-sidenav-header-font-style: var(--spectrum-default-font-style); - --spectrum-sidenav-header-font-size: var(--spectrum-font-size-75); - --spectrum-sidenav-header-line-height: var(--spectrum-line-height-100); -} - -#list:lang(ja), -#list:lang(ko), -#list:lang(zh) { - --spectrum-sidenav-text-line-height: var(--spectrum-cjk-line-height-100); - --spectrum-sidenav-top-level-line-height: var( - --spectrum-cjk-line-height-100 - ); - --spectrum-sidenav-header-line-height: var(--spectrum-cjk-line-height-100); +@media (forced-colors: active) { + #list .spectrum-Icon { + forced-color-adjust: preserve-parent-color; + } } #list { @@ -167,9 +61,3 @@ governing permissions and limitations under the License. var(--spectrum-sidenav-heading-bottom-margin) ); } - -@media (forced-colors: active) { - #list .spectrum-Icon { - forced-color-adjust: preserve-parent-color; - } -} diff --git a/packages/sidenav/src/spectrum-sidenav-item.css b/packages/sidenav/src/spectrum-sidenav-item.css index ca54798d26..cf619e7cd1 100644 --- a/packages/sidenav/src/spectrum-sidenav-item.css +++ b/packages/sidenav/src/spectrum-sidenav-item.css @@ -11,116 +11,28 @@ governing permissions and limitations under the License. */ /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ -#list { - --spectrum-sidenav-focus-ring-size: var( - --spectrum-focus-indicator-thickness - ); - --spectrum-sidenav-focus-ring-gap: var(--spectrum-focus-indicator-gap); - --spectrum-sidenav-focus-ring-color: var(--spectrum-focus-indicator-color); - --spectrum-sidenav-min-height: var(--spectrum-component-height-100); - --spectrum-sidenav-width: 100%; - --spectrum-sidenav-min-width: var(--spectrum-side-navigation-minimum-width); - --spectrum-sidenav-max-width: var(--spectrum-side-navigation-maximum-width); - --spectrum-sidenav-border-radius: var(--spectrum-corner-radius-100); - --spectrum-sidenav-icon-size: var(--spectrum-workflow-icon-size-100); - --spectrum-sidenav-icon-spacing: var(--spectrum-text-to-visual-100); - --spectrum-sidenav-inline-padding: var( - --spectrum-component-edge-to-text-100 - ); - --spectrum-sidenav-gap: var(--spectrum-side-navigation-item-to-item); - --spectrum-sidenav-top-to-icon: var( - --spectrum-component-top-to-workflow-icon-100 - ); - --spectrum-sidenav-top-to-label: var(--spectrum-component-top-to-text-100); - --spectrum-sidenav-bottom-to-label: var( - --spectrum-side-navigation-bottom-to-text - ); - --spectrum-sidenav-start-to-content-second-level: var( - --spectrum-side-navigation-second-level-edge-to-text - ); - --spectrum-sidenav-start-to-content-third-level: var( - --spectrum-side-navigation-third-level-edge-to-text - ); - --spectrum-sidenav-start-to-content-with-icon-second-level: var( - --spectrum-side-navigation-with-icon-second-level-edge-to-text - ); - --spectrum-sidenav-start-to-content-with-icon-third-level: var( - --spectrum-side-navigation-with-icon-third-level-edge-to-text - ); - --spectrum-sidenav-heading-top-margin: var( - --spectrum-side-navigation-item-to-header - ); - --spectrum-sidenav-heading-bottom-margin: var( - --spectrum-side-navigation-header-to-item - ); - --spectrum-sidenav-background-disabled: transparent; - --spectrum-sidenav-background-default: transparent; - --spectrum-sidenav-background-hover: var(--spectrum-gray-200); - --spectrum-sidenav-item-background-down: var(--spectrum-gray-300); - --spectrum-sidenav-background-key-focus: var(--spectrum-gray-200); - --spectrum-sidenav-item-background-default-selected: var( - --spectrum-gray-200 - ); - --spectrum-sidenav-background-hover-selected: var(--spectrum-gray-300); - --spectrum-sidenav-item-background-down-selected: var(--spectrum-gray-300); - --spectrum-sidenav-background-key-focus-selected: var(--spectrum-gray-200); - --spectrum-sidenav-header-color: var(--spectrum-gray-600); - --spectrum-sidenav-content-disabled-color: var( - --spectrum-disabled-content-color - ); - --spectrum-sidenav-content-color-default: var( - --spectrum-neutral-content-color-default - ); - --spectrum-sidenav-content-color-hover: var( - --spectrum-neutral-content-color-hover - ); - --spectrum-sidenav-content-color-down: var( - --spectrum-neutral-content-color-down - ); - --spectrum-sidenav-content-color-key-focus: var( - --spectrum-neutral-content-color-key-focus - ); - --spectrum-sidenav-content-color-default-selected: var( - --spectrum-neutral-content-color-default - ); - --spectrum-sidenav-content-color-hover-selected: var( - --spectrum-neutral-content-color-hover - ); - --spectrum-sidenav-content-color-down-selected: var( - --spectrum-neutral-content-color-down - ); - --spectrum-sidenav-content-color-key-focus-selected: var( - --spectrum-neutral-content-color-key-focus - ); - --spectrum-sidenav-text-font-family: var(--spectrum-sans-font-family-stack); - --spectrum-sidenav-text-font-weight: var(--spectrum-regular-font-weight); - --spectrum-sidenav-text-font-style: var(--spectrum-default-font-style); - --spectrum-sidenav-text-font-size: var(--spectrum-font-size-100); - --spectrum-sidenav-text-line-height: var(--spectrum-line-height-100); - --spectrum-sidenav-top-level-font-family: var( - --spectrum-sans-font-family-stack - ); - --spectrum-sidenav-top-level-font-weight: var(--spectrum-bold-font-weight); - --spectrum-sidenav-top-level-font-style: var(--spectrum-default-font-style); - --spectrum-sidenav-top-level-font-size: var(--spectrum-font-size-100); - --spectrum-sidenav-top-level-line-height: var(--spectrum-line-height-100); - --spectrum-sidenav-header-font-family: var( - --spectrum-sans-font-family-stack - ); - --spectrum-sidenav-header-font-weight: var(--spectrum-medium-font-weight); - --spectrum-sidenav-header-font-style: var(--spectrum-default-font-style); - --spectrum-sidenav-header-font-size: var(--spectrum-font-size-75); - --spectrum-sidenav-header-line-height: var(--spectrum-line-height-100); -} +@media (forced-colors: active) { + #list ::slotted([slot='icon']) { + forced-color-adjust: preserve-parent-color; + } -#list:lang(ja), -#list:lang(ko), -#list:lang(zh) { - --spectrum-sidenav-text-line-height: var(--spectrum-cjk-line-height-100); - --spectrum-sidenav-top-level-line-height: var( - --spectrum-cjk-line-height-100 - ); - --spectrum-sidenav-header-line-height: var(--spectrum-cjk-line-height-100); + :host { + --highcontrast-sidenav-content-disabled-color: GrayText; + --highcontrast-sidenav-focus-ring-color: Highlight; + --highcontrast-sidenav-content-color-default-selected: SelectedItemText; + --highcontrast-sidenav-item-background-default-selected: SelectedItem; + --highcontrast-sidenav-background-key-focus-selected: Highlight; + --highcontrast-sidenav-background-hover-selected: Highlight; + --highcontrast-sidenav-item-background-down-selected: Highlight; + --highcontrast-sidenav-item-background-down: Highlight; + --highcontrast-sidenav-background-hover: Highlight; + --highcontrast-sidenav-content-color-hover: HighlightText; + --highcontrast-sidenav-background-key-focus: Highlight; + --highcontrast-sidenav-top-level-font-color: ButtonText; + --highcontrast-sidenav-content-color-default: ButtonText; + --highcontrast-sidenav-content-color-down: HighlightText; + forced-color-adjust: none; + } } #list { @@ -438,27 +350,3 @@ governing permissions and limitations under the License. var(--spectrum-sidenav-start-to-content-with-icon-third-level) ); } - -@media (forced-colors: active) { - #list ::slotted([slot='icon']) { - forced-color-adjust: preserve-parent-color; - } - - :host { - forced-color-adjust: none; - --highcontrast-sidenav-content-disabled-color: GrayText; - --highcontrast-sidenav-focus-ring-color: Highlight; - --highcontrast-sidenav-content-color-default-selected: SelectedItemText; - --highcontrast-sidenav-item-background-default-selected: SelectedItem; - --highcontrast-sidenav-background-key-focus-selected: Highlight; - --highcontrast-sidenav-background-hover-selected: Highlight; - --highcontrast-sidenav-item-background-down-selected: Highlight; - --highcontrast-sidenav-item-background-down: Highlight; - --highcontrast-sidenav-background-hover: Highlight; - --highcontrast-sidenav-content-color-hover: HighlightText; - --highcontrast-sidenav-background-key-focus: Highlight; - --highcontrast-sidenav-top-level-font-color: ButtonText; - --highcontrast-sidenav-content-color-default: ButtonText; - --highcontrast-sidenav-content-color-down: HighlightText; - } -} diff --git a/packages/sidenav/src/spectrum-sidenav.css b/packages/sidenav/src/spectrum-sidenav.css index 1306d25e1d..77cb05b687 100644 --- a/packages/sidenav/src/spectrum-sidenav.css +++ b/packages/sidenav/src/spectrum-sidenav.css @@ -11,116 +11,10 @@ governing permissions and limitations under the License. */ /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ -:host { - --spectrum-sidenav-focus-ring-size: var( - --spectrum-focus-indicator-thickness - ); - --spectrum-sidenav-focus-ring-gap: var(--spectrum-focus-indicator-gap); - --spectrum-sidenav-focus-ring-color: var(--spectrum-focus-indicator-color); - --spectrum-sidenav-min-height: var(--spectrum-component-height-100); - --spectrum-sidenav-width: 100%; - --spectrum-sidenav-min-width: var(--spectrum-side-navigation-minimum-width); - --spectrum-sidenav-max-width: var(--spectrum-side-navigation-maximum-width); - --spectrum-sidenav-border-radius: var(--spectrum-corner-radius-100); - --spectrum-sidenav-icon-size: var(--spectrum-workflow-icon-size-100); - --spectrum-sidenav-icon-spacing: var(--spectrum-text-to-visual-100); - --spectrum-sidenav-inline-padding: var( - --spectrum-component-edge-to-text-100 - ); - --spectrum-sidenav-gap: var(--spectrum-side-navigation-item-to-item); - --spectrum-sidenav-top-to-icon: var( - --spectrum-component-top-to-workflow-icon-100 - ); - --spectrum-sidenav-top-to-label: var(--spectrum-component-top-to-text-100); - --spectrum-sidenav-bottom-to-label: var( - --spectrum-side-navigation-bottom-to-text - ); - --spectrum-sidenav-start-to-content-second-level: var( - --spectrum-side-navigation-second-level-edge-to-text - ); - --spectrum-sidenav-start-to-content-third-level: var( - --spectrum-side-navigation-third-level-edge-to-text - ); - --spectrum-sidenav-start-to-content-with-icon-second-level: var( - --spectrum-side-navigation-with-icon-second-level-edge-to-text - ); - --spectrum-sidenav-start-to-content-with-icon-third-level: var( - --spectrum-side-navigation-with-icon-third-level-edge-to-text - ); - --spectrum-sidenav-heading-top-margin: var( - --spectrum-side-navigation-item-to-header - ); - --spectrum-sidenav-heading-bottom-margin: var( - --spectrum-side-navigation-header-to-item - ); - --spectrum-sidenav-background-disabled: transparent; - --spectrum-sidenav-background-default: transparent; - --spectrum-sidenav-background-hover: var(--spectrum-gray-200); - --spectrum-sidenav-item-background-down: var(--spectrum-gray-300); - --spectrum-sidenav-background-key-focus: var(--spectrum-gray-200); - --spectrum-sidenav-item-background-default-selected: var( - --spectrum-gray-200 - ); - --spectrum-sidenav-background-hover-selected: var(--spectrum-gray-300); - --spectrum-sidenav-item-background-down-selected: var(--spectrum-gray-300); - --spectrum-sidenav-background-key-focus-selected: var(--spectrum-gray-200); - --spectrum-sidenav-header-color: var(--spectrum-gray-600); - --spectrum-sidenav-content-disabled-color: var( - --spectrum-disabled-content-color - ); - --spectrum-sidenav-content-color-default: var( - --spectrum-neutral-content-color-default - ); - --spectrum-sidenav-content-color-hover: var( - --spectrum-neutral-content-color-hover - ); - --spectrum-sidenav-content-color-down: var( - --spectrum-neutral-content-color-down - ); - --spectrum-sidenav-content-color-key-focus: var( - --spectrum-neutral-content-color-key-focus - ); - --spectrum-sidenav-content-color-default-selected: var( - --spectrum-neutral-content-color-default - ); - --spectrum-sidenav-content-color-hover-selected: var( - --spectrum-neutral-content-color-hover - ); - --spectrum-sidenav-content-color-down-selected: var( - --spectrum-neutral-content-color-down - ); - --spectrum-sidenav-content-color-key-focus-selected: var( - --spectrum-neutral-content-color-key-focus - ); - --spectrum-sidenav-text-font-family: var(--spectrum-sans-font-family-stack); - --spectrum-sidenav-text-font-weight: var(--spectrum-regular-font-weight); - --spectrum-sidenav-text-font-style: var(--spectrum-default-font-style); - --spectrum-sidenav-text-font-size: var(--spectrum-font-size-100); - --spectrum-sidenav-text-line-height: var(--spectrum-line-height-100); - --spectrum-sidenav-top-level-font-family: var( - --spectrum-sans-font-family-stack - ); - --spectrum-sidenav-top-level-font-weight: var(--spectrum-bold-font-weight); - --spectrum-sidenav-top-level-font-style: var(--spectrum-default-font-style); - --spectrum-sidenav-top-level-font-size: var(--spectrum-font-size-100); - --spectrum-sidenav-top-level-line-height: var(--spectrum-line-height-100); - --spectrum-sidenav-header-font-family: var( - --spectrum-sans-font-family-stack - ); - --spectrum-sidenav-header-font-weight: var(--spectrum-medium-font-weight); - --spectrum-sidenav-header-font-style: var(--spectrum-default-font-style); - --spectrum-sidenav-header-font-size: var(--spectrum-font-size-75); - --spectrum-sidenav-header-line-height: var(--spectrum-line-height-100); -} - -:host:lang(ja), -:host:lang(ko), -:host:lang(zh) { - --spectrum-sidenav-text-line-height: var(--spectrum-cjk-line-height-100); - --spectrum-sidenav-top-level-line-height: var( - --spectrum-cjk-line-height-100 - ); - --spectrum-sidenav-header-line-height: var(--spectrum-cjk-line-height-100); +@media (forced-colors: active) { + .spectrum-Icon { + forced-color-adjust: preserve-parent-color; + } } :host { @@ -130,9 +24,3 @@ governing permissions and limitations under the License. list-style-type: none; display: flex; } - -@media (forced-colors: active) { - .spectrum-Icon { - forced-color-adjust: preserve-parent-color; - } -} diff --git a/packages/sidenav/test/sidenav.test.ts b/packages/sidenav/test/sidenav.test.ts index 10aaec3fb5..6c6f8c0ab8 100644 --- a/packages/sidenav/test/sidenav.test.ts +++ b/packages/sidenav/test/sidenav.test.ts @@ -316,7 +316,14 @@ describe('Sidenav', () => { }, ], }); - + toBeSelected.dispatchEvent( + new CustomEvent('sidenav-select', { + bubbles: true, + detail: { + value: 'Section 0', + }, + }) + ); await elementUpdated(el); expect(el.value).to.equal('Section 0'); diff --git a/packages/slider/package.json b/packages/slider/package.json index 29981a1354..488371e8f8 100644 --- a/packages/slider/package.json +++ b/packages/slider/package.json @@ -41,6 +41,7 @@ "development": "./src/index.dev.js", "default": "./src/index.js" }, + "./src/slider-overrides.css.js": "./src/slider-overrides.css.js", "./src/slider.css.js": "./src/slider.css.js", "./sp-slider.js": { "development": "./sp-slider.dev.js", @@ -74,7 +75,7 @@ ], "dependencies": { "@internationalized/number": "^3.1.0", - "@lit-labs/observers": "^2.0.0", + "@lit-labs/observers": "^2.0.2", "@spectrum-web-components/base": "^0.49.0", "@spectrum-web-components/field-label": "^0.49.0", "@spectrum-web-components/number-field": "^0.49.0", @@ -83,7 +84,7 @@ "@spectrum-web-components/theme": "^0.49.0" }, "devDependencies": { - "@spectrum-css/slider": "^5.2.4" + "@spectrum-css/slider": "^6.0.0-s2-foundations.17" }, "types": "./src/index.d.ts", "customElements": "custom-elements.json", diff --git a/packages/slider/src/SliderHandle.ts b/packages/slider/src/SliderHandle.ts index 100d567589..03da312be8 100644 --- a/packages/slider/src/SliderHandle.ts +++ b/packages/slider/src/SliderHandle.ts @@ -90,14 +90,14 @@ export class SliderHandle extends Focusable { * `min` and `max` values, or the `min` value when `max` is less than `min`. */ @property({ type: Number }) - value!: number; + public value!: number; /** * Set the default value of the handle. Setting this property will cause the * handle to reset to the default value on double click or pressing the `escape` key. */ @property({ type: Number, attribute: 'default-value' }) - defaultValue!: number; + public defaultValue!: number; @property({ type: Boolean, reflect: true }) public dragging = false; diff --git a/packages/slider/src/slider-overrides.css b/packages/slider/src/slider-overrides.css new file mode 100644 index 0000000000..0df16264ea --- /dev/null +++ b/packages/slider/src/slider-overrides.css @@ -0,0 +1,215 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host { + --spectrum-slider-track-color: var(--system-slider-track-color); + --spectrum-slider-track-fill-color: var(--system-slider-track-fill-color); + --spectrum-slider-ramp-track-color: var(--system-slider-ramp-track-color); + --spectrum-slider-ramp-track-color-disabled: var( + --system-slider-ramp-track-color-disabled + ); + --spectrum-slider-handle-background-color: var( + --system-slider-handle-background-color + ); + --spectrum-slider-handle-background-color-disabled: var( + --system-slider-handle-background-color-disabled + ); + --spectrum-slider-ramp-handle-background-color: var( + --system-slider-ramp-handle-background-color + ); + --spectrum-slider-ticks-handle-background-color: var( + --system-slider-ticks-handle-background-color + ); + --spectrum-slider-handle-border-color: var( + --system-slider-handle-border-color + ); + --spectrum-slider-handle-disabled-background-color: var( + --system-slider-handle-disabled-background-color + ); + --spectrum-slider-tick-mark-color: var(--system-slider-tick-mark-color); + --spectrum-slider-handle-border-color-hover: var( + --system-slider-handle-border-color-hover + ); + --spectrum-slider-handle-border-color-down: var( + --system-slider-handle-border-color-down + ); + --spectrum-slider-handle-border-color-key-focus: var( + --system-slider-handle-border-color-key-focus + ); + --spectrum-slider-handle-focus-ring-color-key-focus: var( + --system-slider-handle-focus-ring-color-key-focus + ); + --spectrum-slider-value-inline-size: var(--system-slider-value-inline-size); + --spectrum-slider-ramp-track-block-size: var( + --system-slider-ramp-track-block-size + ); + --spectrum-slider-cjk-line-height: var(--system-slider-cjk-line-height); + --spectrum-slider-min-size: var(--system-slider-min-size); + --spectrum-slider-track-corner-radius: var( + --system-slider-track-corner-radius + ); + --spectrum-slider-label-margin-start: var( + --system-slider-label-margin-start + ); + --spectrum-slider-handle-border-width: var( + --system-slider-handle-border-width + ); + --spectrum-slider-track-fill-thickness: var( + --system-slider-track-fill-thickness + ); + --spectrum-slider-tick-mark-width: var(--system-slider-tick-mark-width); + --spectrum-slider-tick-mark-border-radius: var( + --system-slider-tick-mark-border-radius + ); + --spectrum-slider-tick-handle-background-color: var( + --system-slider-tick-handle-background-color + ); + --spectrum-slider-track-color-disabled: var( + --system-slider-track-color-disabled + ); + --spectrum-slider-track-fill-color-disabled: var( + --system-slider-track-fill-color-disabled + ); + --spectrum-slider-handle-border-color-disabled: var( + --system-slider-handle-border-color-disabled + ); + --spectrum-slider-label-text-color: var(--system-slider-label-text-color); + --spectrum-slider-tick-label-color: var(--system-slider-tick-label-color); + --spectrum-slider-label-text-color-disabled: var( + --system-slider-label-text-color-disabled + ); + --spectrum-slider-tick-mark-color-disabled: var( + --system-slider-tick-mark-color-disabled + ); + --spectrum-slider-ramp-handle-border-color-active: var( + --system-slider-ramp-handle-border-color-active + ); + --spectrum-slider-track-handleoffset: var( + --system-slider-track-handleoffset + ); + --spectrum-slider-range-track-reset: var(--system-slider-range-track-reset); + --spectrum-slider-font-size: var(--system-slider-font-size); + --spectrum-slider-handle-size: var(--system-slider-handle-size); + --spectrum-slider-control-height: var(--system-slider-control-height); + --spectrum-slider-handle-border-radius: var( + --system-slider-handle-border-radius + ); + --spectrum-slider-handle-border-width-down: var( + --system-slider-handle-border-width-down + ); + --spectrum-slider-label-top-to-text: var(--system-slider-label-top-to-text); + --spectrum-slider-control-to-field-label: var( + --system-slider-control-to-field-label + ); + --spectrum-slider-value-side-padding-inline: var( + --system-slider-value-side-padding-inline + ); +} + +:host { + --spectrum-slider-font-size: var(--system-slider-size-m-font-size); + --spectrum-slider-handle-size: var(--system-slider-size-m-handle-size); + --spectrum-slider-control-height: var( + --system-slider-size-m-control-height + ); + --spectrum-slider-handle-border-radius: var( + --system-slider-size-m-handle-border-radius + ); + --spectrum-slider-handle-border-width-down: var( + --system-slider-size-m-handle-border-width-down + ); + --spectrum-slider-label-top-to-text: var( + --system-slider-size-m-label-top-to-text + ); + --spectrum-slider-control-to-field-label: var( + --system-slider-size-m-control-to-field-label + ); + --spectrum-slider-value-side-padding-inline: var( + --system-slider-size-m-value-side-padding-inline + ); +} + +:host([size='s']) { + --spectrum-slider-font-size: var(--system-slider-size-s-font-size); + --spectrum-slider-handle-size: var(--system-slider-size-s-handle-size); + --spectrum-slider-control-height: var( + --system-slider-size-s-control-height + ); + --spectrum-slider-handle-border-radius: var( + --system-slider-size-s-handle-border-radius + ); + --spectrum-slider-handle-border-width-down: var( + --system-slider-size-s-handle-border-width-down + ); + --spectrum-slider-label-top-to-text: var( + --system-slider-size-s-label-top-to-text + ); + --spectrum-slider-control-to-field-label: var( + --system-slider-size-s-control-to-field-label + ); + --spectrum-slider-value-side-padding-inline: var( + --system-slider-size-s-value-side-padding-inline + ); +} + +:host([size='l']) { + --spectrum-slider-font-size: var(--system-slider-size-l-font-size); + --spectrum-slider-handle-size: var(--system-slider-size-l-handle-size); + --spectrum-slider-control-height: var( + --system-slider-size-l-control-height + ); + --spectrum-slider-handle-border-radius: var( + --system-slider-size-l-handle-border-radius + ); + --spectrum-slider-handle-border-width-down: var( + --system-slider-size-l-handle-border-width-down + ); + --spectrum-slider-label-top-to-text: var( + --system-slider-size-l-label-top-to-text + ); + --spectrum-slider-control-to-field-label: var( + --system-slider-size-l-control-to-field-label + ); + --spectrum-slider-value-side-padding-inline: var( + --system-slider-size-l-value-side-padding-inline + ); + --spectrum-slider-value-inline-size: var( + --system-slider-size-l-value-inline-size + ); +} + +:host([size='xl']) { + --spectrum-slider-font-size: var(--system-slider-size-xl-font-size); + --spectrum-slider-handle-size: var(--system-slider-size-xl-handle-size); + --spectrum-slider-control-height: var( + --system-slider-size-xl-control-height + ); + --spectrum-slider-handle-border-radius: var( + --system-slider-size-xl-handle-border-radius + ); + --spectrum-slider-handle-border-width-down: var( + --system-slider-size-xl-handle-border-width-down + ); + --spectrum-slider-label-top-to-text: var( + --system-slider-size-xl-label-top-to-text + ); + --spectrum-slider-control-to-field-label: var( + --system-slider-size-xl-control-to-field-label + ); + --spectrum-slider-value-side-padding-inline: var( + --system-slider-size-xl-value-side-padding-inline + ); + --spectrum-slider-value-inline-size: var( + --system-slider-size-xl-value-inline-size + ); +} diff --git a/packages/slider/src/slider.css b/packages/slider/src/slider.css index 4df860297c..c70cae4299 100644 --- a/packages/slider/src/slider.css +++ b/packages/slider/src/slider.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-slider.css'); +@import url('./slider-overrides.css'); /* * Removes blue outline from :host when it is being focused. diff --git a/packages/slider/src/spectrum-slider.css b/packages/slider/src/spectrum-slider.css index 78bb016eb1..075a5ff24a 100644 --- a/packages/slider/src/spectrum-slider.css +++ b/packages/slider/src/spectrum-slider.css @@ -12,96 +12,12 @@ governing permissions and limitations under the License. /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ :host { - --spectrum-slider-font-size: var(--spectrum-font-size-75); - --spectrum-slider-handle-size: var(--spectrum-slider-handle-size-medium); - --spectrum-slider-control-height: var(--spectrum-component-height-100); - --spectrum-slider-handle-border-radius: var(--spectrum-corner-radius-200); - --spectrum-slider-handle-border-width-down: var( - --spectrum-slider-handle-border-width-down-medium - ); - --spectrum-slider-label-top-to-text: var( - --spectrum-component-top-to-text-75 - ); - --spectrum-slider-control-to-field-label: var( - --spectrum-slider-control-to-field-label-medium - ); - --spectrum-slider-value-side-padding-inline: var(--spectrum-spacing-200); - --spectrum-slider-value-inline-size: 18px; -} - -:host:dir(rtl), -:host([dir='rtl']) { - --spectrum-logical-rotation: matrix(-1, 0, 0, 1, 0, 0); -} - -:host([size='s']) { - --spectrum-slider-font-size: var(--spectrum-font-size-75); - --spectrum-slider-handle-size: var(--spectrum-slider-handle-size-small); - --spectrum-slider-control-height: var(--spectrum-component-height-75); - --spectrum-slider-handle-border-radius: var(--spectrum-corner-radius-200); - --spectrum-slider-handle-border-width-down: var( - --spectrum-slider-handle-border-width-down-small - ); - --spectrum-slider-label-top-to-text: var( - --spectrum-component-top-to-text-75 - ); - --spectrum-slider-control-to-field-label: var( - --spectrum-slider-control-to-field-label-small - ); - --spectrum-slider-value-side-padding-inline: var(--spectrum-spacing-100); -} - -:host([size='l']) { - --spectrum-slider-font-size: var(--spectrum-font-size-100); - --spectrum-slider-handle-size: var(--spectrum-slider-handle-size-large); - --spectrum-slider-control-height: var(--spectrum-component-height-200); - --spectrum-slider-handle-border-radius: calc( - var(--spectrum-corner-radius-200) * 4 - ); - --spectrum-slider-handle-border-width-down: var( - --spectrum-slider-handle-border-width-down-large - ); - --spectrum-slider-label-top-to-text: var( - --spectrum-component-top-to-text-100 - ); - --spectrum-slider-control-to-field-label: var( - --spectrum-slider-control-to-field-label-large - ); - --spectrum-slider-value-side-padding-inline: var(--spectrum-spacing-200); - --spectrum-slider-value-inline-size: 18px; -} - -:host([size='xl']) { - --spectrum-slider-font-size: var(--spectrum-font-size-200); - --spectrum-slider-handle-size: var( - --spectrum-slider-handle-size-extra-large - ); - --spectrum-slider-control-height: var(--spectrum-component-height-300); - --spectrum-slider-handle-border-radius: calc( - var(--spectrum-corner-radius-200) * 4 - ); - --spectrum-slider-handle-border-width-down: var( - --spectrum-slider-handle-border-width-down-extra-large - ); - --spectrum-slider-label-top-to-text: var( - --spectrum-component-top-to-text-200 - ); - --spectrum-slider-control-to-field-label: var( - --spectrum-slider-control-to-field-label-extra-large - ); - --spectrum-slider-value-side-padding-inline: var(--spectrum-spacing-200); - --spectrum-slider-value-inline-size: 22px; -} - -:host { - --spectrum-slider-cjk-line-height: var(--spectrum-cjk-line-height-100); - --spectrum-slider-min-size: var(--spectrum-spacing-900); - --spectrum-slider-track-corner-radius: var(--spectrum-corner-radius-75); - --spectrum-slider-label-margin-start: var(--spectrum-spacing-300); - --spectrum-slider-handle-border-width: var(--spectrum-border-width-200); --spectrum-slider-handle-margin-left: calc( var(--spectrum-slider-handle-size) / -2 ); + --spectrum-slider-input-left: calc( + var(--spectrum-slider-handle-margin-left) / 4 + ); --spectrum-slider-controls-margin: calc( var(--spectrum-slider-handle-size) / 2 ); @@ -109,45 +25,12 @@ governing permissions and limitations under the License. var(--spectrum-slider-controls-margin) * -1 ); --spectrum-slider-track-middle-handleoffset: calc( - var(--spectrum-slider-handle-gap) + var(--spectrum-slider-handle-size) / - 2 + var(--spectrum-slider-track-handleoffset) + + var(--spectrum-slider-handle-size) / 2 ); --spectrum-slider-input-top-size: calc( var(--spectrum-slider-handle-size) / -2 / 4 ); - --spectrum-slider-track-fill-thickness: var( - --spectrum-slider-track-thickness - ); - --spectrum-slider-tick-mark-width: var(--spectrum-border-width-200); - --spectrum-slider-tick-mark-border-radius: 2px; - --spectrum-slider-tick-handle-background-color: var(--spectrum-gray-100); - --spectrum-slider-track-color-disabled: var( - --spectrum-disabled-background-color - ); - --spectrum-slider-track-fill-color-disabled: var( - --spectrum-disabled-background-color - ); - --spectrum-slider-handle-border-color-disabled: var( - --spectrum-disabled-border-color - ); - --spectrum-slider-label-text-color: var( - --spectrum-neutral-content-color-default - ); - --spectrum-slider-tick-label-color: var( - --spectrum-neutral-content-color-default - ); - --spectrum-slider-label-text-color-disabled: var( - --spectrum-disabled-content-color - ); - --spectrum-slider-tick-mark-color-disabled: var( - --spectrum-disabled-background-color - ); - --spectrum-slider-ramp-handle-border-color-active: var(--spectrum-gray-100); - --spectrum-slider-input-left: calc( - var(--spectrum-slider-handle-margin-left) / 4 - ); - --spectrum-slider-track-handleoffset: var(--spectrum-slider-handle-gap); - --spectrum-slider-range-track-reset: 0; z-index: 0; min-inline-size: var( --mod-slider-min-size, @@ -159,12 +42,38 @@ governing permissions and limitations under the License. position: relative; } +:host:dir(rtl), +:host([dir='rtl']) { + --spectrum-logical-rotation: matrix(-1, 0, 0, 1, 0, 0); +} + +:host:not(.spectrum-Slider--sideLabel) + #label-container + + #track:has(.spectrum-Slider-ramp) { + margin-block-start: calc( + var( + --mod-slider-ramp-track-height, + var(--spectrum-slider-ramp-track-block-size) + ) / 2 + ); +} + .spectrum-Slider--sideLabel { align-items: center; display: flex; } -.spectrum-Slider--sideLabel #label-container, +.spectrum-Slider--sideLabel #label-container { + margin-block-start: 0; +} + +.spectrum-Slider--sideLabel #label-container #label { + margin-inline-end: var( + --mod-slider-value-side-padding-inline, + var(--spectrum-slider-value-side-padding-inline) + ); +} + .spectrum-Slider--sideLabel #label-container + #track { margin-block-start: 0; } @@ -212,6 +121,11 @@ governing permissions and limitations under the License. position: relative; } +#controls:not(:has(.spectrum-Slider-ticks)) { + align-items: center; + display: flex; +} + #label-container + #track { margin-block-start: calc( var(--spectrum-slider-control-to-field-label) * -1 @@ -225,6 +139,39 @@ governing permissions and limitations under the License. ); } +:host([variant='tick']) .handle { + background-color: var( + --highcontrast-slider-tick-handle-background-color, + var( + --mod-slider-tick-handle-background-color, + var(--spectrum-slider-tick-handle-background-color) + ) + ); +} + +:host([variant='tick']) #controls { + margin-block-start: calc( + var(--spectrum-text-to-visual-75) - + var( + --mod-slider-tick-mark-height, + var(--spectrum-slider-tick-mark-height) + ) / 2 - + var( + --mod-slider-track-thickness, + var(--spectrum-slider-track-thickness) + ) / 2 + ); +} + +:host([variant='tick']) .tickLabel { + margin-block-start: calc( + var( + --mod-slider-tick-mark-height, + var(--spectrum-slider-tick-mark-height) + ) + var(--spectrum-text-to-visual-75) + ); +} + .fill, .track { block-size: var( @@ -289,6 +236,13 @@ governing permissions and limitations under the License. ); } +.track:before { + background: var( + --highcontrast-slider-track-color-static, + var(--mod-slider-track-color, var(--spectrum-slider-track-color)) + ); +} + .track ~ .track { margin-inline-start: var( --mod-slider-range-track-reset, @@ -327,31 +281,6 @@ governing permissions and limitations under the License. inset-inline: auto; } -.fill { - margin-inline-start: 0; - padding-block: 0; - padding-inline-start: calc( - var( - --mod-slider-controls-margin, - var(--spectrum-slider-controls-margin) - ) + - var(--spectrum-slider-handle-gap, var(--spectrum-slider-handle-gap)) - ); - padding-inline-end: 0; -} - -.offset { - padding-block: 0; - padding-inline-start: 0; - padding-inline-end: calc( - var( - --mod-slider-controls-margin, - var(--spectrum-slider-controls-margin) - ) + - var(--spectrum-slider-handle-gap, var(--spectrum-slider-handle-gap)) - ); -} - :host([variant='range']) #value { -webkit-user-select: text; user-select: text; @@ -410,16 +339,55 @@ governing permissions and limitations under the License. ); } +:host([variant='range']) .track:not(:first-of-type, :last-of-type):before { + background: var( + --highcontrast-slider-filled-track-fill-color, + var( + --mod-slider-track-fill-color, + var(--spectrum-slider-track-fill-color) + ) + ); +} + +.fill { + margin-inline-start: 0; + padding-block: 0; + padding-inline-start: calc( + var( + --mod-slider-controls-margin, + var(--spectrum-slider-controls-margin) + ) + + var(--spectrum-slider-handle-gap, var(--spectrum-slider-handle-gap)) + ); + padding-inline-end: 0; +} + +.fill:before { + background: var( + --highcontrast-slider-filled-track-fill-color, + var( + --mod-slider-track-fill-color, + var(--spectrum-slider-track-fill-color) + ) + ); +} + +.offset { + padding-block: 0; + padding-inline-start: 0; + padding-inline-end: calc( + var( + --mod-slider-controls-margin, + var(--spectrum-slider-controls-margin) + ) + + var(--spectrum-slider-handle-gap, var(--spectrum-slider-handle-gap)) + ); +} + #ramp { block-size: var( --mod-slider-ramp-track-height, - var(--spectrum-slider-ramp-track-height) - ); - margin-block-start: calc( - var( - --mod-slider-ramp-track-height, - var(--spectrum-slider-ramp-track-height) - ) / 2 + var(--spectrum-slider-ramp-track-block-size) ); position: absolute; inset-inline-start: var( @@ -435,7 +403,17 @@ governing permissions and limitations under the License. #ramp svg { inline-size: 100%; block-size: 100%; - transform: var(--spectrum-logical-rotation); + transform: var(--spectrum-logical-rotation,); +} + +#ramp path { + fill: var( + --highcontrast-slider-ramp-track-color, + var( + --mod-slider-ramp-track-color, + var(--spectrum-slider-ramp-track-color) + ) + ); } .handle { @@ -469,7 +447,21 @@ governing permissions and limitations under the License. var(--spectrum-animation-duration-100) ) ease-in-out; + background: var( + --highcontrast-slider-handle-background-color, + var( + --mod-slider-handle-background-color, + var(--spectrum-slider-handle-background-color) + ) + ); border-style: solid; + border-color: var( + --highcontrast-slider-handle-border-color, + var( + --mod-slider-handle-border-color, + var(--spectrum-slider-handle-border-color) + ) + ); outline: none; display: inline-block; position: absolute; @@ -488,6 +480,13 @@ governing permissions and limitations under the License. --mod-slider-handle-border-width-down, var(--spectrum-slider-handle-border-width-down) ); + border-color: var( + --highcontrast-slider-handle-border-color-down, + var( + --mod-slider-handle-border-color-down, + var(--spectrum-slider-handle-border-color-down) + ) + ); } .handle.dragging, @@ -499,6 +498,14 @@ governing permissions and limitations under the License. .handle:before { content: ''; + inline-size: var( + --mod-slider-handle-size, + var(--spectrum-slider-handle-size) + ); + block-size: var( + --mod-slider-handle-size, + var(--spectrum-slider-handle-size) + ); transition: box-shadow var( @@ -518,14 +525,6 @@ governing permissions and limitations under the License. var(--spectrum-animation-duration-100) ) ease-out; - inline-size: var( - --mod-slider-handle-size, - var(--spectrum-slider-handle-size) - ); - block-size: var( - --mod-slider-handle-size, - var(--spectrum-slider-handle-size) - ); border-radius: 100%; display: block; position: absolute; @@ -539,6 +538,16 @@ governing permissions and limitations under the License. transform: translate(50%, -50%); } +.handle.handle-highlight { + border-color: var( + --highcontrast-slider-handle-border-color-key-focus, + var( + --mod-slider-handle-border-color-key-focus, + var(--spectrum-slider-handle-border-color-key-focus) + ) + ); +} + .handle.handle-highlight:before { inline-size: calc( var(--mod-slider-handle-size, var(--spectrum-slider-handle-size)) + @@ -550,9 +559,36 @@ governing permissions and limitations under the License. var(--mod-focus-indicator-gap, var(--spectrum-focus-indicator-gap)) * 2 ); + box-shadow: 0 0 0 var(--spectrum-focus-indicator-thickness) + var( + --highcontrast-slider-handle-focus-ring-color-key-focus, + var( + --mod-slider-handle-focus-ring-color-key-focus, + var(--spectrum-slider-handle-focus-ring-color-key-focus) + ) + ); +} + +.handle.dragging { + background: var( + --highcontrast-slider-handle-background-color, + var( + --mod-slider-handle-background-color, + var(--spectrum-slider-handle-background-color) + ) + ); + border-color: var( + --highcontrast-slider-handle-border-color-down, + var( + --mod-slider-handle-border-color-down, + var(--spectrum-slider-handle-border-color-down) + ) + ); } .input { + pointer-events: none; + cursor: default; inline-size: var( --mod-slider-handle-size, var(--spectrum-slider-handle-size) @@ -561,10 +597,9 @@ governing permissions and limitations under the License. --mod-slider-handle-size, var(--spectrum-slider-handle-size) ); - opacity: 0.000001; - cursor: default; appearance: none; - pointer-events: none; + opacity: 0.000001; + background: none; border: 0; margin: 0; padding: 0; @@ -588,6 +623,13 @@ governing permissions and limitations under the License. inline-size: auto; font-size: var(--mod-slider-font-size, var(--spectrum-slider-font-size)); line-height: var(--mod-line-height-100, var(--spectrum-line-height-100)); + color: var( + --highcontrast-slider-label-text-color, + var( + --mod-slider-label-text-color, + var(--spectrum-slider-label-text-color) + ) + ); align-items: center; margin-block-start: var( --mod-slider-label-top-to-text, @@ -624,39 +666,6 @@ governing permissions and limitations under the License. padding-inline-end: 0; } -:host([variant='tick']) .handle { - background-color: var( - --highcontrast-slider-tick-handle-background-color, - var( - --mod-slider-tick-handle-background-color, - var(--spectrum-slider-tick-handle-background-color) - ) - ); -} - -:host([variant='tick']) #controls { - margin-block-start: calc( - var(--spectrum-text-to-visual-75) - - var( - --mod-slider-tick-mark-height, - var(--spectrum-slider-tick-mark-height) - ) / 2 - - var( - --mod-slider-track-thickness, - var(--spectrum-slider-track-thickness) - ) / 2 - ); -} - -:host([variant='tick']) .tickLabel { - margin-block-start: calc( - var( - --mod-slider-tick-mark-height, - var(--spectrum-slider-tick-mark-height) - ) + var(--spectrum-text-to-visual-75) - ); -} - .ticks { z-index: 0; margin-inline: var( @@ -704,6 +713,13 @@ governing permissions and limitations under the License. --mod-slider-tick-mark-border-radius, var(--spectrum-slider-tick-mark-border-radius) ); + background-color: var( + --highcontrast-slider-tick-mark-color, + var( + --mod-slider-tick-mark-color, + var(--spectrum-slider-tick-mark-color) + ) + ); display: block; position: absolute; inset-block-start: 0; @@ -780,13 +796,6 @@ governing permissions and limitations under the License. overflow: hidden; } -.track:before { - background: var( - --highcontrast-slider-track-color-static, - var(--mod-slider-track-color, var(--spectrum-slider-track-color)) - ); -} - .track:not(:has(~ .spectrum-Slider-fill)):before { background: var( --highcontrast-slider-track-color, @@ -794,18 +803,7 @@ governing permissions and limitations under the License. ); } -#label-container { - color: var( - --highcontrast-slider-label-text-color, - var( - --mod-slider-label-text-color, - var(--spectrum-slider-label-text-color) - ) - ); -} - -:host([variant='filled']) .track:first-child:before, -.fill:before { +:host([variant='filled']) .track:first-child:before { background: var( --highcontrast-slider-filled-track-fill-color, var( @@ -815,66 +813,14 @@ governing permissions and limitations under the License. ); } -#ramp path { - fill: var( - --highcontrast-slider-ramp-track-color, - var( - --mod-slider-ramp-track-color, - var(--spectrum-slider-ramp-track-color) - ) - ); -} - -.handle { - border-color: var( - --highcontrast-slider-handle-border-color, - var( - --mod-slider-handle-border-color, - var(--spectrum-slider-handle-border-color) - ) - ); +:host([variant='ramp']) .handle { background: var( - --highcontrast-slider-handle-background-color, - var( - --mod-slider-handle-background-color, - var(--spectrum-slider-handle-background-color) - ) - ); -} - -.handle.handle-highlight { - border-color: var( - --highcontrast-slider-handle-border-color-key-focus, - var( - --mod-slider-handle-border-color-key-focus, - var(--spectrum-slider-handle-border-color-key-focus) - ) - ); -} - -.handle.handle-highlight:before { - box-shadow: 0 0 0 var(--spectrum-focus-indicator-thickness) - var( - --highcontrast-slider-handle-focus-ring-color-key-focus, - var( - --mod-slider-handle-focus-ring-color-key-focus, - var(--spectrum-slider-handle-focus-ring-color-key-focus) - ) - ); -} - -.handle.dragging, -.handle:active { - border-color: var( - --highcontrast-slider-handle-border-color-down, + --mod-slider-ramp-handle-background-color, var( - --mod-slider-handle-border-color-down, - var(--spectrum-slider-handle-border-color-down) + --highcontrast-slider-ramp-handle-background-color, + var(--spectrum-slider-ramp-handle-background-color) ) ); -} - -:host([variant='ramp']) .handle { box-shadow: 0 0 0 var(--spectrum-slider-handle-gap) var( --highcontrast-slider-ramp-handle-border-color-active, @@ -883,54 +829,6 @@ governing permissions and limitations under the License. var(--spectrum-slider-ramp-handle-border-color-active) ) ); - background: var( - --mod-slider-ramp-handle-background-color, - var( - --highcontrast-slider-ramp-handle-background-color, - var(--spectrum-slider-ramp-handle-background-color) - ) - ); -} - -.input { - background: none; -} - -.tick:after { - background-color: var( - --highcontrast-slider-tick-mark-color, - var( - --mod-slider-tick-mark-color, - var(--spectrum-slider-tick-mark-color) - ) - ); -} - -.handle.dragging { - border-color: var( - --highcontrast-slider-handle-border-color-down, - var( - --mod-slider-handle-border-color-down, - var(--spectrum-slider-handle-border-color-down) - ) - ); - background: var( - --highcontrast-slider-handle-background-color, - var( - --mod-slider-handle-background-color, - var(--spectrum-slider-handle-background-color) - ) - ); -} - -:host([variant='range']) .track:not(:first-of-type, :last-of-type):before { - background: var( - --highcontrast-slider-filled-track-fill-color, - var( - --mod-slider-track-fill-color, - var(--spectrum-slider-track-fill-color) - ) - ); } :host([disabled]), @@ -950,13 +848,8 @@ governing permissions and limitations under the License. } :host([disabled]) .handle { - border-color: var( - --highcontrast-slider-handle-border-color-disabled, - var( - --mod-slider-handle-border-color-disabled, - var(--spectrum-slider-handle-border-color-disabled) - ) - ); + pointer-events: none; + cursor: default; background: var( --highcontrast-slider-handle-disabled-background-color, var( @@ -964,15 +857,16 @@ governing permissions and limitations under the License. var(--spectrum-slider-handle-disabled-background-color) ) ); - cursor: default; - pointer-events: none; + border-color: var( + --highcontrast-slider-handle-border-color-disabled, + var( + --mod-slider-handle-border-color-disabled, + var(--spectrum-slider-handle-border-color-disabled) + ) + ); } :host([disabled]) .handle:active { - border-color: var( - --highcontrast-disabled-border-color, - var(--mod-disabled-border-color, var(--spectrum-disabled-border-color)) - ); background: var( --highcontrast-slider-handle-background-color-disabled, var( @@ -980,6 +874,10 @@ governing permissions and limitations under the License. var(--spectrum-slider-handle-background-color-disabled) ) ); + border-color: var( + --highcontrast-disabled-border-color, + var(--mod-disabled-border-color, var(--spectrum-disabled-border-color)) + ); } @media (hover: hover) { @@ -994,13 +892,6 @@ governing permissions and limitations under the License. } :host([disabled]) .handle:hover { - border-color: var( - --highcontrast-disabled-border-color, - var( - --mod-disabled-border-color, - var(--spectrum-disabled-border-color) - ) - ); background: var( --highcontrast-slider-handle-background-color-disabled, var( @@ -1008,6 +899,13 @@ governing permissions and limitations under the License. var(--spectrum-slider-handle-background-color-disabled) ) ); + border-color: var( + --highcontrast-disabled-border-color, + var( + --mod-disabled-border-color, + var(--spectrum-disabled-border-color) + ) + ); } } @@ -1137,53 +1035,7 @@ governing permissions and limitations under the License. } :host([disabled]) #ramp + .handle { - fill: ButtonFace; background-color: ButtonFace; + fill: ButtonFace; } } - -:host { - --spectrum-slider-track-color: var(--system-spectrum-slider-track-color); - --spectrum-slider-track-fill-color: var( - --system-spectrum-slider-track-fill-color - ); - --spectrum-slider-ramp-track-color: var( - --system-spectrum-slider-ramp-track-color - ); - --spectrum-slider-ramp-track-color-disabled: var( - --system-spectrum-slider-ramp-track-color-disabled - ); - --spectrum-slider-handle-background-color: var( - --system-spectrum-slider-handle-background-color - ); - --spectrum-slider-handle-background-color-disabled: var( - --system-spectrum-slider-handle-background-color-disabled - ); - --spectrum-slider-ramp-handle-background-color: var( - --system-spectrum-slider-ramp-handle-background-color - ); - --spectrum-slider-ticks-handle-background-color: var( - --system-spectrum-slider-ticks-handle-background-color - ); - --spectrum-slider-handle-border-color: var( - --system-spectrum-slider-handle-border-color - ); - --spectrum-slider-handle-disabled-background-color: var( - --system-spectrum-slider-handle-disabled-background-color - ); - --spectrum-slider-tick-mark-color: var( - --system-spectrum-slider-tick-mark-color - ); - --spectrum-slider-handle-border-color-hover: var( - --system-spectrum-slider-handle-border-color-hover - ); - --spectrum-slider-handle-border-color-down: var( - --system-spectrum-slider-handle-border-color-down - ); - --spectrum-slider-handle-border-color-key-focus: var( - --system-spectrum-slider-handle-border-color-key-focus - ); - --spectrum-slider-handle-focus-ring-color-key-focus: var( - --system-spectrum-slider-handle-focus-ring-color-key-focus - ); -} diff --git a/packages/slider/test/slider.test.ts b/packages/slider/test/slider.test.ts index def080778d..bfc02a3545 100644 --- a/packages/slider/test/slider.test.ts +++ b/packages/slider/test/slider.test.ts @@ -338,11 +338,18 @@ describe('Slider', () => { expect(el.value).to.equal(50); const handle = el.shadowRoot.querySelector('.handle') as HTMLDivElement; + + const handleBoundingRect = handle.getBoundingClientRect(); + await sendMouse({ steps: [ { type: 'move', - position: [9, 30], + position: [ + handleBoundingRect.x + handleBoundingRect.width / 2, + + handleBoundingRect.y + handleBoundingRect.height / 2, + ], }, { type: 'down', @@ -367,6 +374,82 @@ describe('Slider', () => { expect(el.value).to.equal(0); }); + it('changes value when clicking on the track', async () => { + const el = await fixture(html` + + `); + await elementUpdated(el); + + expect(el.value).to.equal(50); + + const track = el.shadowRoot.querySelector('#track') as HTMLDivElement; + const trackBoundingRect = track.getBoundingClientRect(); + + let pointerId = -1; + el.track.setPointerCapture = (id: number) => (pointerId = id); + el.track.releasePointerCapture = (id: number) => (pointerId = id); + + // Click on the track moves it to value 60 + track.dispatchEvent( + new PointerEvent('pointerdown', { + clientX: trackBoundingRect.x + trackBoundingRect.width / 2 + 10, + clientY: trackBoundingRect.y + trackBoundingRect.height / 2, + pointerId: 1, + cancelable: true, + bubbles: true, + composed: true, + button: 0, + }) + ); + await elementUpdated(el); + track.dispatchEvent( + new PointerEvent('pointerup', { + pointerId: 1, + cancelable: true, + bubbles: true, + composed: true, + }) + ); + await elementUpdated(el); + + expect(el.value).to.equal(60); + expect(pointerId, '1').to.equal(1); + + // Click and drag on the track moves it from value 60 -> 75 + track.dispatchEvent( + new PointerEvent('pointerdown', { + clientX: trackBoundingRect.x + trackBoundingRect.width / 2 + 10, + clientY: trackBoundingRect.y + trackBoundingRect.height / 2, + pointerId: 2, + cancelable: true, + bubbles: true, + composed: true, + button: 0, + }) + ); + track.dispatchEvent( + new PointerEvent('pointermove', { + clientX: trackBoundingRect.x + trackBoundingRect.width / 2 + 25, + clientY: trackBoundingRect.y + trackBoundingRect.height / 2, + pointerId: 2, + cancelable: true, + bubbles: true, + composed: true, + }) + ); + await elementUpdated(el); + track.dispatchEvent( + new PointerEvent('pointerup', { + pointerId: 2, + cancelable: true, + bubbles: true, + composed: true, + }) + ); + await elementUpdated(el); + expect(el.value).to.equal(75); + }); + it('dispatches `input` of the animation frame', async () => { const inputSpy = spy(); const changeSpy = spy(); @@ -384,6 +467,10 @@ describe('Slider', () => { `); await elementUpdated(el); + const handle = el.shadowRoot.querySelector('.handle') as HTMLDivElement; + + const handleBoundingRect = handle.getBoundingClientRect(); + expect(inputSpy.callCount, 'start clean').to.equal(0); expect(changeSpy.callCount, 'start clean').to.equal(0); @@ -404,11 +491,15 @@ describe('Slider', () => { position: [9 + i, 30], })); const toLeft: Steps = toRight.slice(0, -1).reverse(); + await sendMouse({ steps: [ { type: 'move', - position: [9, 30], + position: [ + handleBoundingRect.x + handleBoundingRect.width / 2, + handleBoundingRect.y + handleBoundingRect.height / 2, + ], }, { type: 'down', @@ -438,11 +529,15 @@ describe('Slider', () => { expect(el.value).to.equal(6); const handle = el.shadowRoot.querySelector('.handle') as HTMLDivElement; + const handleBoundingRect = handle.getBoundingClientRect(); await sendMouse({ steps: [ { type: 'move', - position: [9, 30], + position: [ + handleBoundingRect.x + handleBoundingRect.width / 2, + handleBoundingRect.y + handleBoundingRect.height / 2, + ], }, { type: 'down', @@ -513,7 +608,7 @@ describe('Slider', () => { }); await inputEvent; - expect(el.value).to.equal(13); + expect(el.value).to.equal(63); el.disabled = true; await elementUpdated(el); @@ -533,7 +628,7 @@ describe('Slider', () => { ], }); - expect(el.value).to.equal(13); + expect(el.value).to.equal(63); }); it('accepts pointermove events in separate interactions', async () => { let pointerId = -1; diff --git a/packages/split-button/CHANGELOG.md b/packages/split-button/CHANGELOG.md deleted file mode 100644 index df82030f5d..0000000000 --- a/packages/split-button/CHANGELOG.md +++ /dev/null @@ -1,603 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [0.49.0](https://github.com/adobe/spectrum-web-components/compare/v0.48.1...v0.49.0) (2024-10-15) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.48.1](https://github.com/adobe/spectrum-web-components/compare/v0.48.0...v0.48.1) (2024-10-01) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -# [0.48.0](https://github.com/adobe/spectrum-web-components/compare/v0.47.2...v0.48.0) (2024-09-17) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.47.2](https://github.com/adobe/spectrum-web-components/compare/v0.47.1...v0.47.2) (2024-09-03) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.47.1](https://github.com/adobe/spectrum-web-components/compare/v0.47.0...v0.47.1) (2024-08-27) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -# [0.47.0](https://github.com/adobe/spectrum-web-components/compare/v0.46.0...v0.47.0) (2024-08-20) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -# [0.46.0](https://github.com/adobe/spectrum-web-components/compare/v0.45.0...v0.46.0) (2024-08-08) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -# [0.45.0](https://github.com/adobe/spectrum-web-components/compare/v0.44.0...v0.45.0) (2024-07-30) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -# [0.44.0](https://github.com/adobe/spectrum-web-components/compare/v0.42.4...v0.44.0) (2024-07-15) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -# [0.43.0](https://github.com/adobe/spectrum-web-components/compare/v0.42.4...v0.43.0) (2024-06-11) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.42.5](https://github.com/adobe/spectrum-web-components/compare/v0.42.4...v0.42.5) (2024-05-24) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.42.4](https://github.com/adobe/spectrum-web-components/compare/v0.42.2...v0.42.4) (2024-05-14) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.42.3](https://github.com/adobe/spectrum-web-components/compare/v0.42.2...v0.42.3) (2024-05-01) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.42.2](https://github.com/adobe/spectrum-web-components/compare/v0.42.1...v0.42.2) (2024-04-03) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.42.1](https://github.com/adobe/spectrum-web-components/compare/v0.42.0...v0.42.1) (2024-04-02) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -# [0.42.0](https://github.com/adobe/spectrum-web-components/compare/v0.41.2...v0.42.0) (2024-03-19) - -### Bug Fixes - -- **theme:** deprecate lightest and darkest color stops ([#4179](https://github.com/adobe/spectrum-web-components/issues/4179)) ([0c01a66](https://github.com/adobe/spectrum-web-components/commit/0c01a66627bbc46b459bda7680c6dcb9ea9c1b66)) - -## [0.41.2](https://github.com/adobe/spectrum-web-components/compare/v0.41.1...v0.41.2) (2024-03-05) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.41.1](https://github.com/adobe/spectrum-web-components/compare/v0.41.0...v0.41.1) (2024-02-22) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -# [0.41.0](https://github.com/adobe/spectrum-web-components/compare/v0.40.5...v0.41.0) (2024-02-13) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.40.5](https://github.com/adobe/spectrum-web-components/compare/v0.40.4...v0.40.5) (2024-02-05) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.40.4](https://github.com/adobe/spectrum-web-components/compare/v0.40.3...v0.40.4) (2024-01-29) - -### Bug Fixes - -- **picker,action-menu,split-button:** update interaction model ([#3935](https://github.com/adobe/spectrum-web-components/issues/3935)) ([bae7d52](https://github.com/adobe/spectrum-web-components/commit/bae7d527e513d2588267c62cc70f5e1c1289f903)) - -## [0.40.3](https://github.com/adobe/spectrum-web-components/compare/v0.40.2...v0.40.3) (2024-01-11) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.40.2](https://github.com/adobe/spectrum-web-components/compare/v0.40.1...v0.40.2) (2023-12-18) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.40.1](https://github.com/adobe/spectrum-web-components/compare/v0.40.0...v0.40.1) (2023-12-05) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -# [0.40.0](https://github.com/adobe/spectrum-web-components/compare/v0.39.4...v0.40.0) (2023-11-16) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.39.4](https://github.com/adobe/spectrum-web-components/compare/v0.39.3...v0.39.4) (2023-11-02) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.39.3](https://github.com/adobe/spectrum-web-components/compare/v0.39.2...v0.39.3) (2023-10-18) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.39.2](https://github.com/adobe/spectrum-web-components/compare/v0.39.1...v0.39.2) (2023-10-13) - -### Bug Fixes - -- update deps graph, update link docs ([#3709](https://github.com/adobe/spectrum-web-components/issues/3709)) ([2deb284](https://github.com/adobe/spectrum-web-components/commit/2deb2847e6ad458c3cbaec02732fffde133e0c54)) - -## [0.39.1](https://github.com/adobe/spectrum-web-components/compare/v0.39.0...v0.39.1) (2023-10-06) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -# [0.39.0](https://github.com/adobe/spectrum-web-components/compare/v0.38.0...v0.39.0) (2023-09-25) - -### Bug Fixes - -- **picker,split-button:** include "tooltip" slot in the main button ([699b8af](https://github.com/adobe/spectrum-web-components/commit/699b8af2612f2dab8f7c65b9c105844f6feaa6ed)) - -# [0.38.0](https://github.com/adobe/spectrum-web-components/compare/v0.37.0...v0.38.0) (2023-09-05) - -### Bug Fixes - -- **action-menu,split-button:** ensure toggling the Menu closed completes ([2dd0f98](https://github.com/adobe/spectrum-web-components/commit/2dd0f9871a4d76a27f5d432ea2df230ab99cbdd1)) - -# [0.37.0](https://github.com/adobe/spectrum-web-components/compare/v0.36.0...v0.37.0) (2023-08-18) - -### Features - -- **picker,action-group,split-button:** leverage Overlay v2 ([170a223](https://github.com/adobe/spectrum-web-components/commit/170a223d74870ed3eda452285943716f8cbf4b7c)) - -### Performance Improvements - -- make lots of things lazy ([b8fa3ad](https://github.com/adobe/spectrum-web-components/commit/b8fa3ada062bf54bbb42e76ab156c716d5820c7c)) - -# [0.36.0](https://github.com/adobe/spectrum-web-components/compare/v0.35.0...v0.36.0) (2023-08-18) - -### Features - -- **menu:** convert to core tokens ([#3254](https://github.com/adobe/spectrum-web-components/issues/3254)) ([da43540](https://github.com/adobe/spectrum-web-components/commit/da43540abcea3db75bf145194be800b61153ebe0)) - -# [0.35.0](https://github.com/adobe/spectrum-web-components/compare/v0.34.0...v0.35.0) (2023-07-31) - -### Bug Fixes - -- **split-button:** update more button label application ([#3354](https://github.com/adobe/spectrum-web-components/issues/3354)) ([b4c9595](https://github.com/adobe/spectrum-web-components/commit/b4c959526580848dcbe56bd57191144610c07742)), closes [#3305](https://github.com/adobe/spectrum-web-components/issues/3305) - -# [0.34.0](https://github.com/adobe/spectrum-web-components/compare/v0.33.2...v0.34.0) (2023-07-11) - -### Bug Fixes - -- **action-button,action-menu,picker,split-button:** expand and update application of aria-\* attributes ([52c0156](https://github.com/adobe/spectrum-web-components/commit/52c015636d42f2baf1524446a0db9d5e5cfeb689)) - -## [0.33.2](https://github.com/adobe/spectrum-web-components/compare/v0.33.1...v0.33.2) (2023-06-14) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.33.1](https://github.com/adobe/spectrum-web-components/compare/v0.33.0...v0.33.1) (2023-06-14) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -# [0.33.0](https://github.com/adobe/spectrum-web-components/compare/v0.32.0...v0.33.0) (2023-06-08) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -# [0.32.0](https://github.com/adobe/spectrum-web-components/compare/v0.31.0...v0.32.0) (2023-06-01) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -# [0.31.0](https://github.com/adobe/spectrum-web-components/compare/v0.30.0...v0.31.0) (2023-05-17) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -# 0.30.0 (2023-05-03) - -### Bug Fixes - -- abstract "hasVisibleFocusInTree" functionality and return trigger focus after close ([4f39f2c](https://github.com/adobe/spectrum-web-components/commit/4f39f2c506066b789834584d2c9c24185ea57118)) -- add t-shirt sizing to Thumbnail and support for "xxs"/"xs" sizes ([520a642](https://github.com/adobe/spectrum-web-components/commit/520a642b33e2ca5a4fdc67c15ace029d33e895ff)) -- allow Picker to be reparented ([39e7309](https://github.com/adobe/spectrum-web-components/commit/39e73094be38888599fb189ed4d613f09476310f)) -- analyze errors, properly this time ([df685a2](https://github.com/adobe/spectrum-web-components/commit/df685a20f57379442d54f026b8ad7cef474a067b)) -- analyze type errors, and add deprecated syntax tests ([b7e67a1](https://github.com/adobe/spectrum-web-components/commit/b7e67a103d5a3bb355a8ee4682ef9621d8d59872)) -- correct dependency graph ([69165eb](https://github.com/adobe/spectrum-web-components/commit/69165eb7444aea66fd1041996c44ed43e39c3ebc)) -- expand sync offering for elements with overlay content ([0195843](https://github.com/adobe/spectrum-web-components/commit/0195843e9efac5760a78fa302d91139c84ea5747)) -- include the "types" entry in package.json files ([b432f59](https://github.com/adobe/spectrum-web-components/commit/b432f5982b3b79f80af12f6d0312cbe2285e608b)) -- modify overrides for new Button CSS ([8a36124](https://github.com/adobe/spectrum-web-components/commit/8a36124a78bbf4ff3b65dc169af62e9379b30c85)) -- **picker:** use "modal" as the menu overlay interaction ([c8fbbe2](https://github.com/adobe/spectrum-web-components/commit/c8fbbe27b19702909855575b1afd38fb064e8378)) -- remove usage where deprecated ([387db3b](https://github.com/adobe/spectrum-web-components/commit/387db3be95c98ab220e517fe12a4db7a2496fe5f)) -- simplify optionsMenu usage and fix tests ([91241b7](https://github.com/adobe/spectrum-web-components/commit/91241b7bddc434c7220fc0fbd65389d0ca38f674)) -- slot documentation ([0ebd260](https://github.com/adobe/spectrum-web-components/commit/0ebd2609bad9e95ee24428cb2fa666d23bdb85f8)) -- split-button tests & lots of cleanup based on review feedback ([10b4a04](https://github.com/adobe/spectrum-web-components/commit/10b4a04c5791d1acd9e59d48a8960b9c17aa89c7)), closes [#1189](https://github.com/adobe/spectrum-web-components/issues/1189) -- **split-button:** correct style application ([a954fdf](https://github.com/adobe/spectrum-web-components/commit/a954fdf9994aa20045e152860bdc2f3153c4af16)) -- **split-button:** follow visible tab order ([966d3b6](https://github.com/adobe/spectrum-web-components/commit/966d3b601a1eda5bf45394fad3bb7d100c7d3b84)) -- **split-button:** hide "selected" item from menu ([322a966](https://github.com/adobe/spectrum-web-components/commit/322a96655855f42b390ba2c94d0b017bf93aebd9)) -- **split-button:** remove "popover" from render path ([f1cd7ca](https://github.com/adobe/spectrum-web-components/commit/f1cd7ca79f175c4d0c344c4056638f7b1548c3d9)) -- **split-button:** test a11y correctly, find issues, fix them ([4283994](https://github.com/adobe/spectrum-web-components/commit/4283994e0456813ee53be4a1bfd6b53965e41433)) -- stop merging selectors in a way that alters the cascade ([369388f](https://github.com/adobe/spectrum-web-components/commit/369388f8cc147543891087991c569f849ddb9b38)) -- support a wider number of sizes ([ee44978](https://github.com/adobe/spectrum-web-components/commit/ee4497830da0d3bc63d4414ad5548291a39588c7)) -- **tags:** support distant sibling selectors ([a8dcf7f](https://github.com/adobe/spectrum-web-components/commit/a8dcf7fb4d30a1bf0e0cdc3ac5e044d75701c5fa)) -- update latest Spectrum CSS beta releases ([d8d3acc](https://github.com/adobe/spectrum-web-components/commit/d8d3acc86de31e58219db6ba2a9d045b83cbe103)) -- update to latest spectrum-css packages ([a5ca19f](https://github.com/adobe/spectrum-web-components/commit/a5ca19f67d5b3f0951667c4441d4d977bf1e0937)) -- use icons without "size" values ([3fc7c91](https://github.com/adobe/spectrum-web-components/commit/3fc7c91713793a928082eae15fc3d9dec638a31a)) -- use latest @spectrum-css/\* versions ([c35eb86](https://github.com/adobe/spectrum-web-components/commit/c35eb86defd89a0c36b5ea186f6d40f20851b5e5)) - -### Features - -- **action-button:** add action button pattern ([03ac00a](https://github.com/adobe/spectrum-web-components/commit/03ac00a710290e6a78340f206d88385a4f8ae8c2)) -- adopt DNA@7 base Spectrum CSS ([e08cafd](https://github.com/adobe/spectrum-web-components/commit/e08cafda9f1b33b0163fbe5ba66754806be8f9e4)) -- apply sizedMixin for t-shirt sizing ([d7b63fb](https://github.com/adobe/spectrum-web-components/commit/d7b63fb0db06b5a8a412fea8370964f4db9d18ae)) -- **button:** use synthetic button instead of native ([49e94bc](https://github.com/adobe/spectrum-web-components/commit/49e94bcf79da6ec1ef05f4197042f992922b91ca)) -- include all Dev Mode files in side effects ([f70817c](https://github.com/adobe/spectrum-web-components/commit/f70817cc15db6dcf5cc1de2d82b4f7b0c80b1251)) -- leverage latest Spectrum button API ([9caf2f6](https://github.com/adobe/spectrum-web-components/commit/9caf2f6313424450c91c039fafea89bf8aa72624)) -- shared pkg versions, devmode define warning, registry-conflicts docs ([6e49565](https://github.com/adobe/spectrum-web-components/commit/6e4956519b845fa8127f8032948b625c252ef7a6)) -- **split-button:** add split-button pattern ([d3d8240](https://github.com/adobe/spectrum-web-components/commit/d3d8240225c5c11813e16c7ca64c75c5fd036bc6)) -- **split-button:** add split-button pattern ([012b7f8](https://github.com/adobe/spectrum-web-components/commit/012b7f8ca88213c246683eb65f27b8cfe59e60bb)) -- **split-button:** add split-button pattern ([4833a59](https://github.com/adobe/spectrum-web-components/commit/4833a598bb3da3552d194586350a3888dba79543)) -- **split-button:** update spectrum css input ([7d83331](https://github.com/adobe/spectrum-web-components/commit/7d83331fae9ff181c98ba7033d69bdf276790e7f)) -- **tabs:** add sp-tab-panel element ([b17d276](https://github.com/adobe/spectrum-web-components/commit/b17d2765cf415578a31e5fa23515c25ff4c3922d)) -- update to Spectrum CSS v3.0.0 ([e8b3d8f](https://github.com/adobe/spectrum-web-components/commit/e8b3d8f75c77c04b4d7af126b91b0f6ad2a40742)) -- use latest exports specification ([a7ecf4b](https://github.com/adobe/spectrum-web-components/commit/a7ecf4b6da7996f36a8a89f62cc2384709497008)) -- use SixedMixin to manage "size" property ([8819821](https://github.com/adobe/spectrum-web-components/commit/88198212cb495833ed2e7644f95b43dca915318d)) - -## [0.9.17](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.9.16...@spectrum-web-components/split-button@0.9.17) (2023-04-24) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.9.16](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.9.15...@spectrum-web-components/split-button@0.9.16) (2023-04-05) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.9.15](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.9.14...@spectrum-web-components/split-button@0.9.15) (2023-03-22) - -### Bug Fixes - -- **split-button:** correct style application ([a954fdf](https://github.com/adobe/spectrum-web-components/commit/a954fdf9994aa20045e152860bdc2f3153c4af16)) - -## [0.9.14](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.9.13...@spectrum-web-components/split-button@0.9.14) (2023-03-08) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.9.13](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.9.12...@spectrum-web-components/split-button@0.9.13) (2023-02-13) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.9.12](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.9.11...@spectrum-web-components/split-button@0.9.12) (2023-02-08) - -### Bug Fixes - -- modify overrides for new Button CSS ([8a36124](https://github.com/adobe/spectrum-web-components/commit/8a36124a78bbf4ff3b65dc169af62e9379b30c85)) - -## [0.9.11](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.9.10...@spectrum-web-components/split-button@0.9.11) (2023-01-23) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.9.10](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.9.9...@spectrum-web-components/split-button@0.9.10) (2023-01-09) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.9.9](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.9.8...@spectrum-web-components/split-button@0.9.9) (2022-12-08) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.9.8](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.9.7...@spectrum-web-components/split-button@0.9.8) (2022-11-21) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.9.7](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.9.6...@spectrum-web-components/split-button@0.9.7) (2022-11-14) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.9.6](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.9.5...@spectrum-web-components/split-button@0.9.6) (2022-10-28) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.9.5](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.9.4...@spectrum-web-components/split-button@0.9.5) (2022-10-17) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.9.4](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.9.3...@spectrum-web-components/split-button@0.9.4) (2022-10-10) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.9.3](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.9.2...@spectrum-web-components/split-button@0.9.3) (2022-09-15) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.9.2](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.9.1...@spectrum-web-components/split-button@0.9.2) (2022-09-14) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.9.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.9.0...@spectrum-web-components/split-button@0.9.1) (2022-08-24) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -# [0.9.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.8.10...@spectrum-web-components/split-button@0.9.0) (2022-08-09) - -### Features - -- include all Dev Mode files in side effects ([f70817c](https://github.com/adobe/spectrum-web-components/commit/f70817cc15db6dcf5cc1de2d82b4f7b0c80b1251)) - -## [0.8.10](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.8.9...@spectrum-web-components/split-button@0.8.10) (2022-08-04) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.8.9](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.8.8...@spectrum-web-components/split-button@0.8.9) (2022-07-18) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.8.8](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.8.7...@spectrum-web-components/split-button@0.8.8) (2022-06-29) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.8.7](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.8.6...@spectrum-web-components/split-button@0.8.7) (2022-06-07) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.8.6](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.8.5...@spectrum-web-components/split-button@0.8.6) (2022-05-27) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.8.5](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.8.4...@spectrum-web-components/split-button@0.8.5) (2022-05-12) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.8.4](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.8.3...@spectrum-web-components/split-button@0.8.4) (2022-04-21) - -### Bug Fixes - -- allow Picker to be reparented ([39e7309](https://github.com/adobe/spectrum-web-components/commit/39e73094be38888599fb189ed4d613f09476310f)) - -## [0.8.3](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.8.2...@spectrum-web-components/split-button@0.8.3) (2022-03-30) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.8.2](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.8.1...@spectrum-web-components/split-button@0.8.2) (2022-03-08) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.8.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.8.0...@spectrum-web-components/split-button@0.8.1) (2022-03-08) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -# [0.8.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.7.7...@spectrum-web-components/split-button@0.8.0) (2022-03-04) - -### Features - -- leverage latest Spectrum button API ([9caf2f6](https://github.com/adobe/spectrum-web-components/commit/9caf2f6313424450c91c039fafea89bf8aa72624)) - -## [0.7.7](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.7.6...@spectrum-web-components/split-button@0.7.7) (2022-02-22) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.7.6](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.7.5...@spectrum-web-components/split-button@0.7.6) (2022-02-03) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.7.5](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.7.4...@spectrum-web-components/split-button@0.7.5) (2022-02-02) - -### Bug Fixes - -- **split-button:** remove "popover" from render path ([f1cd7ca](https://github.com/adobe/spectrum-web-components/commit/f1cd7ca79f175c4d0c344c4056638f7b1548c3d9)) - -## [0.7.4](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.7.3...@spectrum-web-components/split-button@0.7.4) (2022-01-26) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.7.3](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.7.2...@spectrum-web-components/split-button@0.7.3) (2022-01-26) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.7.2](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.7.1...@spectrum-web-components/split-button@0.7.2) (2022-01-07) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.7.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.7.0...@spectrum-web-components/split-button@0.7.1) (2021-12-13) - -### Bug Fixes - -- add t-shirt sizing to Thumbnail and support for "xxs"/"xs" sizes ([520a642](https://github.com/adobe/spectrum-web-components/commit/520a642b33e2ca5a4fdc67c15ace029d33e895ff)) - -# [0.7.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.6.1...@spectrum-web-components/split-button@0.7.0) (2021-11-08) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.6.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.6.0...@spectrum-web-components/split-button@0.6.1) (2021-11-08) - -### Bug Fixes - -- abstract "hasVisibleFocusInTree" functionality and return trigger focus after close ([4f39f2c](https://github.com/adobe/spectrum-web-components/commit/4f39f2c506066b789834584d2c9c24185ea57118)) - -# [0.6.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.5.11...@spectrum-web-components/split-button@0.6.0) (2021-11-02) - -### Bug Fixes - -- **picker:** use "modal" as the menu overlay interaction ([c8fbbe2](https://github.com/adobe/spectrum-web-components/commit/c8fbbe27b19702909855575b1afd38fb064e8378)) - -### Features - -- adopt DNA@7 base Spectrum CSS ([e08cafd](https://github.com/adobe/spectrum-web-components/commit/e08cafda9f1b33b0163fbe5ba66754806be8f9e4)) - -## [0.5.11](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.5.10...@spectrum-web-components/split-button@0.5.11) (2021-10-12) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.5.10](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.5.9...@spectrum-web-components/split-button@0.5.10) (2021-10-05) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.5.9](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.5.8...@spectrum-web-components/split-button@0.5.9) (2021-09-20) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.5.8](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.5.7...@spectrum-web-components/split-button@0.5.8) (2021-09-13) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.5.7](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.5.6...@spectrum-web-components/split-button@0.5.7) (2021-08-24) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.5.6](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.5.5...@spectrum-web-components/split-button@0.5.6) (2021-08-17) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.5.5](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.5.4...@spectrum-web-components/split-button@0.5.5) (2021-08-03) - -### Bug Fixes - -- expand sync offering for elements with overlay content ([0195843](https://github.com/adobe/spectrum-web-components/commit/0195843e9efac5760a78fa302d91139c84ea5747)) -- **split-button:** hide "selected" item from menu ([322a966](https://github.com/adobe/spectrum-web-components/commit/322a96655855f42b390ba2c94d0b017bf93aebd9)) - -## [0.5.4](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.5.3...@spectrum-web-components/split-button@0.5.4) (2021-07-22) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.5.3](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.5.2...@spectrum-web-components/split-button@0.5.3) (2021-07-01) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.5.2](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.5.1...@spectrum-web-components/split-button@0.5.2) (2021-06-16) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.5.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.5.0...@spectrum-web-components/split-button@0.5.1) (2021-06-07) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -# [0.5.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.4.7...@spectrum-web-components/split-button@0.5.0) (2021-05-24) - -### Features - -- **tabs:** add sp-tab-panel element ([b17d276](https://github.com/adobe/spectrum-web-components/commit/b17d2765cf415578a31e5fa23515c25ff4c3922d)) - -## [0.4.7](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.4.6...@spectrum-web-components/split-button@0.4.7) (2021-05-12) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.4.6](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.4.5...@spectrum-web-components/split-button@0.4.6) (2021-04-15) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.4.5](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.4.4...@spectrum-web-components/split-button@0.4.5) (2021-04-09) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.4.4](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.4.3...@spectrum-web-components/split-button@0.4.4) (2021-03-29) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.4.3](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.4.2...@spectrum-web-components/split-button@0.4.3) (2021-03-22) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.4.2](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.4.1...@spectrum-web-components/split-button@0.4.2) (2021-03-22) - -### Bug Fixes - -- analyze errors, properly this time ([df685a2](https://github.com/adobe/spectrum-web-components/commit/df685a20f57379442d54f026b8ad7cef474a067b)) -- analyze type errors, and add deprecated syntax tests ([b7e67a1](https://github.com/adobe/spectrum-web-components/commit/b7e67a103d5a3bb355a8ee4682ef9621d8d59872)) -- remove usage where deprecated ([387db3b](https://github.com/adobe/spectrum-web-components/commit/387db3be95c98ab220e517fe12a4db7a2496fe5f)) -- simplify optionsMenu usage and fix tests ([91241b7](https://github.com/adobe/spectrum-web-components/commit/91241b7bddc434c7220fc0fbd65389d0ca38f674)) -- slot documentation ([0ebd260](https://github.com/adobe/spectrum-web-components/commit/0ebd2609bad9e95ee24428cb2fa666d23bdb85f8)) -- split-button tests & lots of cleanup based on review feedback ([10b4a04](https://github.com/adobe/spectrum-web-components/commit/10b4a04c5791d1acd9e59d48a8960b9c17aa89c7)), closes [#1189](https://github.com/adobe/spectrum-web-components/issues/1189) - -## [0.4.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.4.0...@spectrum-web-components/split-button@0.4.1) (2021-03-05) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -# [0.4.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.3.4...@spectrum-web-components/split-button@0.4.0) (2021-03-04) - -### Bug Fixes - -- support a wider number of sizes ([ee44978](https://github.com/adobe/spectrum-web-components/commit/ee4497830da0d3bc63d4414ad5548291a39588c7)) - -### Features - -- use latest exports specification ([a7ecf4b](https://github.com/adobe/spectrum-web-components/commit/a7ecf4b6da7996f36a8a89f62cc2384709497008)) - -## [0.3.4](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.3.3...@spectrum-web-components/split-button@0.3.4) (2021-02-19) - -### Bug Fixes - -- correct dependency graph ([69165eb](https://github.com/adobe/spectrum-web-components/commit/69165eb7444aea66fd1041996c44ed43e39c3ebc)) - -## [0.3.3](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.3.2...@spectrum-web-components/split-button@0.3.3) (2021-02-11) - -### Bug Fixes - -- update to latest spectrum-css packages ([a5ca19f](https://github.com/adobe/spectrum-web-components/commit/a5ca19f67d5b3f0951667c4441d4d977bf1e0937)) - -## [0.3.2](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.3.1...@spectrum-web-components/split-button@0.3.2) (2021-02-02) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.3.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.3.0...@spectrum-web-components/split-button@0.3.1) (2021-01-28) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -# [0.3.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.1.5...@spectrum-web-components/split-button@0.3.0) (2021-01-21) - -### Bug Fixes - -- include the "types" entry in package.json files ([b432f59](https://github.com/adobe/spectrum-web-components/commit/b432f5982b3b79f80af12f6d0312cbe2285e608b)) -- stop merging selectors in a way that alters the cascade ([369388f](https://github.com/adobe/spectrum-web-components/commit/369388f8cc147543891087991c569f849ddb9b38)) -- update latest Spectrum CSS beta releases ([d8d3acc](https://github.com/adobe/spectrum-web-components/commit/d8d3acc86de31e58219db6ba2a9d045b83cbe103)) -- use icons without "size" values ([3fc7c91](https://github.com/adobe/spectrum-web-components/commit/3fc7c91713793a928082eae15fc3d9dec638a31a)) -- use latest @spectrum-css/\* versions ([c35eb86](https://github.com/adobe/spectrum-web-components/commit/c35eb86defd89a0c36b5ea186f6d40f20851b5e5)) - -### Features - -- apply sizedMixin for t-shirt sizing ([d7b63fb](https://github.com/adobe/spectrum-web-components/commit/d7b63fb0db06b5a8a412fea8370964f4db9d18ae)) -- use SixedMixin to manage "size" property ([8819821](https://github.com/adobe/spectrum-web-components/commit/88198212cb495833ed2e7644f95b43dca915318d)) -- **action-button:** add action button pattern ([03ac00a](https://github.com/adobe/spectrum-web-components/commit/03ac00a710290e6a78340f206d88385a4f8ae8c2)) -- **button:** use synthetic button instead of native ([49e94bc](https://github.com/adobe/spectrum-web-components/commit/49e94bcf79da6ec1ef05f4197042f992922b91ca)) -- **split-button:** update spectrum css input ([7d83331](https://github.com/adobe/spectrum-web-components/commit/7d83331fae9ff181c98ba7033d69bdf276790e7f)) - -# [0.2.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.1.5...@spectrum-web-components/split-button@0.2.0) (2021-01-13) - -### Bug Fixes - -- include the "types" entry in package.json files ([b432f59](https://github.com/adobe/spectrum-web-components/commit/b432f5982b3b79f80af12f6d0312cbe2285e608b)) -- stop merging selectors in a way that alters the cascade ([369388f](https://github.com/adobe/spectrum-web-components/commit/369388f8cc147543891087991c569f849ddb9b38)) -- update latest Spectrum CSS beta releases ([d8d3acc](https://github.com/adobe/spectrum-web-components/commit/d8d3acc86de31e58219db6ba2a9d045b83cbe103)) -- use icons without "size" values ([3fc7c91](https://github.com/adobe/spectrum-web-components/commit/3fc7c91713793a928082eae15fc3d9dec638a31a)) -- use latest @spectrum-css/\* versions ([c35eb86](https://github.com/adobe/spectrum-web-components/commit/c35eb86defd89a0c36b5ea186f6d40f20851b5e5)) - -### Features - -- apply sizedMixin for t-shirt sizing ([d7b63fb](https://github.com/adobe/spectrum-web-components/commit/d7b63fb0db06b5a8a412fea8370964f4db9d18ae)) -- use SixedMixin to manage "size" property ([8819821](https://github.com/adobe/spectrum-web-components/commit/88198212cb495833ed2e7644f95b43dca915318d)) -- **action-button:** add action button pattern ([03ac00a](https://github.com/adobe/spectrum-web-components/commit/03ac00a710290e6a78340f206d88385a4f8ae8c2)) -- **button:** use synthetic button instead of native ([49e94bc](https://github.com/adobe/spectrum-web-components/commit/49e94bcf79da6ec1ef05f4197042f992922b91ca)) -- **split-button:** update spectrum css input ([7d83331](https://github.com/adobe/spectrum-web-components/commit/7d83331fae9ff181c98ba7033d69bdf276790e7f)) - -## [0.1.5](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.1.4...@spectrum-web-components/split-button@0.1.5) (2020-10-12) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.1.4](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.1.3...@spectrum-web-components/split-button@0.1.4) (2020-10-12) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.1.3](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.1.2...@spectrum-web-components/split-button@0.1.3) (2020-09-25) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.1.2](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.1.1...@spectrum-web-components/split-button@0.1.2) (2020-09-15) - -**Note:** Version bump only for package @spectrum-web-components/split-button - -## [0.1.1](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/split-button@0.1.0...@spectrum-web-components/split-button@0.1.1) (2020-09-14) - -### Bug Fixes - -- **split-button:** test a11y correctly, find issues, fix them ([4283994](https://github.com/adobe/spectrum-web-components/commit/4283994e0456813ee53be4a1bfd6b53965e41433)) - -# 0.1.0 (2020-08-31) - -### Bug Fixes - -- **split-button:** follow visible tab order ([966d3b6](https://github.com/adobe/spectrum-web-components/commit/966d3b601a1eda5bf45394fad3bb7d100c7d3b84)) -- **tags:** support distant sibling selectors ([a8dcf7f](https://github.com/adobe/spectrum-web-components/commit/a8dcf7fb4d30a1bf0e0cdc3ac5e044d75701c5fa)) - -### Features - -- **split-button:** add split-button pattern ([d3d8240](https://github.com/adobe/spectrum-web-components/commit/d3d8240225c5c11813e16c7ca64c75c5fd036bc6)) -- update to Spectrum CSS v3.0.0 ([e8b3d8f](https://github.com/adobe/spectrum-web-components/commit/e8b3d8f75c77c04b4d7af126b91b0f6ad2a40742)) -- **split-button:** add split-button pattern ([012b7f8](https://github.com/adobe/spectrum-web-components/commit/012b7f8ca88213c246683eb65f27b8cfe59e60bb)) -- **split-button:** add split-button pattern ([4833a59](https://github.com/adobe/spectrum-web-components/commit/4833a598bb3da3552d194586350a3888dba79543)) diff --git a/packages/split-button/README.md b/packages/split-button/README.md deleted file mode 100644 index 49ef227b36..0000000000 --- a/packages/split-button/README.md +++ /dev/null @@ -1,164 +0,0 @@ -## Description - -An `sp-split-button` surfaces an immediately envokable action via it's main button, as well as a list of alternative actions in its toggleable menu overlay. By default, any actions envoked from the overlay will replace the main action button. When leveraging `[type="more"]` the action will be envoked, but the main button will remain the action initally persribed by the implementor. - -### Usage - -[![See it on NPM!](https://img.shields.io/npm/v/@spectrum-web-components/split-button?style=for-the-badge)](https://www.npmjs.com/package/@spectrum-web-components/split-button) -[![How big is this package in your project?](https://img.shields.io/bundlephobia/minzip/@spectrum-web-components/split-button?style=for-the-badge)](https://bundlephobia.com/result?p=@spectrum-web-components/splitbutton) -[![Try it on webcomponents.dev](https://img.shields.io/badge/Try%20it%20on-webcomponents.dev-green?style=for-the-badge)](https://webcomponents.dev/edit/collection/fO75441E1Q5ZlI0e9pgq/wyDxsnwOiGaxibKODm3o/src/index.ts) - -``` -yarn add @spectrum-web-components/split-button -``` - -Import the side effectful registration of `` via: - -``` -import '@spectrum-web-components/split-button/sp-split-button.js'; -``` - -The default of `` will load dependencies in `@spectrum-web-components/overlay` asynchronously via a dynamic import. In the case that you would like to import those tranverse dependencies statically, import the side effectful registration of `` as follows: - -``` -import '@spectrum-web-components/split-button/sync/sp-split-button.js'; -``` - -When looking to leverage the `SplitButton` base class as a type and/or for extension purposes, do so via: - -``` -import { SplitButton } from '@spectrum-web-components/split-button'; -``` - -## Sizes - - -Small - - -```html - - Option 1 - Option Extended - -``` - - -Medium - - -```html - - Option 1 - Option Extended - -``` - - -Large - - -```html - - Option 1 - Option Extended - -``` - - -Extra Large - - -```html - - Option 1 - Option Extended - -``` - - - - -## Variants - -### CTA - -```html - - Option 1 - Option Extended - - - Option 1 - Option Extended - -``` - -### Primary - -```html - - Option 1 - Option Extended - - - Option 1 - Option Extended - -``` - -### Secondary - -```html - - Option 1 - Option Extended - - - Option 1 - Option Extended - -``` - -## More button - -When using the `more` value of the `type` attribute, an `` will maintain its default option value without regard to the most recently used option. - -### CTA - -```html - - Option 1 - Option Extended - - - Option 1 - Option Extended - -``` - -### Primary - -```html - - Option 1 - Option Extended - - - Option 1 - Option Extended - -``` - -### Secondary - -```html - - Option 1 - Option Extended - - - Option 1 - Option Extended - -``` diff --git a/packages/split-button/exports.json b/packages/split-button/exports.json deleted file mode 100644 index 0c86437a83..0000000000 --- a/packages/split-button/exports.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "./src/*": "./src/*", - "./sp-split-button.js": "./sp-split-button.js", - "./sync/sp-split-button.js": "./sync/sp-split-button.js" -} diff --git a/packages/split-button/package.json b/packages/split-button/package.json deleted file mode 100644 index b2e2e42b42..0000000000 --- a/packages/split-button/package.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "name": "@spectrum-web-components/split-button", - "version": "0.49.0", - "publishConfig": { - "access": "public" - }, - "description": "", - "license": "Apache-2.0", - "repository": { - "type": "git", - "url": "https://github.com/adobe/spectrum-web-components.git", - "directory": "packages/split-button" - }, - "author": "", - "homepage": "https://opensource.adobe.com/spectrum-web-components/components/split-button", - "bugs": { - "url": "https://github.com/adobe/spectrum-web-components/issues" - }, - "main": "./src/index.js", - "module": "./src/index.js", - "type": "module", - "exports": { - ".": { - "development": "./src/index.dev.js", - "default": "./src/index.js" - }, - "./package.json": "./package.json", - "./src/SplitButton.js": { - "development": "./src/SplitButton.dev.js", - "default": "./src/SplitButton.js" - }, - "./src/index.js": { - "development": "./src/index.dev.js", - "default": "./src/index.js" - }, - "./src/split-button.css.js": "./src/split-button.css.js", - "./sp-split-button.js": { - "development": "./sp-split-button.dev.js", - "default": "./sp-split-button.js" - }, - "./sync/sp-split-button.js": { - "development": "./sync/sp-split-button.dev.js", - "default": "./sync/sp-split-button.js" - } - }, - "scripts": { - "test": "karma start --coverage" - }, - "files": [ - "**/*.d.ts", - "**/*.js", - "**/*.js.map", - "custom-elements.json", - "!stories/", - "!test/" - ], - "keywords": [ - "spectrum css", - "web components", - "lit-element", - "lit-html" - ], - "dependencies": { - "@spectrum-web-components/base": "^0.49.0", - "@spectrum-web-components/button": "^0.49.0", - "@spectrum-web-components/icon": "^0.49.0", - "@spectrum-web-components/icons-ui": "^0.49.0", - "@spectrum-web-components/icons-workflow": "^0.49.0", - "@spectrum-web-components/menu": "^0.49.0", - "@spectrum-web-components/overlay": "^0.49.0", - "@spectrum-web-components/picker": "^0.49.0", - "@spectrum-web-components/popover": "^0.49.0" - }, - "devDependencies": { - "@spectrum-css/splitbutton": "^8.1.2" - }, - "types": "./src/index.d.ts", - "customElements": "custom-elements.json", - "deprecationNotice": "@spectrum-web-components/split-button is deprecated and will be removed in the SWC 1.0 release.. Use a button group to show any additional actions related to the most critical action. Refer Spectrum documentation for more information.", - "sideEffects": [ - "./sp-*.js", - "./**/*.dev.js", - "./sync/sp-*.js" - ] -} diff --git a/packages/split-button/src/SplitButton.ts b/packages/split-button/src/SplitButton.ts deleted file mode 100644 index c61735c2a8..0000000000 --- a/packages/split-button/src/SplitButton.ts +++ /dev/null @@ -1,224 +0,0 @@ -/* -Copyright 2020 Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. -*/ - -import { - CSSResultArray, - DefaultElementSize, - html, - PropertyValues, - SizedMixin, - TemplateResult, -} from '@spectrum-web-components/base'; -import { - property, - query, -} from '@spectrum-web-components/base/src/decorators.js'; -import { ifDefined } from '@spectrum-web-components/base/src/directives.js'; - -import '@spectrum-web-components/popover/sp-popover.js'; -import '@spectrum-web-components/menu/sp-menu.js'; -import '@spectrum-web-components/button/sp-button.js'; -import { ButtonVariants } from '@spectrum-web-components/button'; -import { PickerBase } from '@spectrum-web-components/picker'; -import '@spectrum-web-components/icons-ui/icons/sp-icon-chevron100.js'; -import '@spectrum-web-components/icons-workflow/icons/sp-icon-more.js'; -import chevronStyles from '@spectrum-web-components/icon/src/spectrum-icon-chevron.css.js'; -import styles from './split-button.css.js'; - -const chevronClass = { - s: 'spectrum-UIIcon-ChevronDown75', - m: 'spectrum-UIIcon-ChevronDown100', - l: 'spectrum-UIIcon-ChevronDown200', - xl: 'spectrum-UIIcon-ChevronDown300', -}; - -export type SplitButtonTypes = 'field' | 'more'; - -/** - * @element sp-split-button - * - * @slot - menu items to be listed in the Button - * @slot tooltip - Tooltip to to be applied to the the main Button - **/ -export class SplitButton extends SizedMixin(PickerBase) { - public static override get styles(): CSSResultArray { - return [styles, chevronStyles]; - } - - @property({ type: Boolean, reflect: true }) - public left = false; - - /** - * The visual variant to apply to this button. - */ - @property({ reflect: true }) - public variant: ButtonVariants = 'accent'; - - @property({ type: String }) - public type: SplitButtonTypes = 'field'; - - @query('.trigger') - private trigger!: HTMLButtonElement; - - protected override listRole: 'listbox' | 'menu' = 'menu'; - protected override itemRole = 'menuitem'; - - // PickerBase has an interactionStrategy that needs the trigger button from the split button - @query('.trigger') - public override button!: HTMLButtonElement; - - public override get focusElement(): HTMLElement { - if (this.open) { - return this.optionsMenu; - } - if (this.left) { - return this.trigger; - } - return this.button; - } - - private passClick(): void { - const target = - this.type === 'more' - ? this.menuItems[0] - : this.selectedItem || this.menuItems[0]; - if (target) { - target.click(); - } - } - - protected override get buttonContent(): TemplateResult[] { - return [ - html` - - - `, - ]; - } - - protected override update(changes: PropertyValues): void { - if (changes.has('type')) { - if (this.type === 'more') { - this.selects = undefined; - } else { - this.selects = 'single'; - } - } - if (window.__swc.DEBUG) { - window.__swc.warn( - this, - `<${this.localName}> is deprecated and will be removed in the SWC 1.0 release. Use a Button Group to show any additional actions related to the most critical action.`, - 'https://opensource.adobe.com/spectrum-web-components/components/split-button/#deprecation', - { level: 'deprecation' } - ); - } - super.update(changes); - } - - protected override render(): TemplateResult { - const treatment = ['cta', 'accent'].includes(this.variant) - ? 'fill' - : 'outline'; - const buttons: TemplateResult[] = [ - html` - - ${this.buttonContent} - - `, - html` - - ${this.type === 'field' - ? html` - - ` - : html` - - `} - - `, - ]; - if (this.left) { - buttons.reverse(); - } - return html` - ${buttons} ${this.renderMenu} - `; - } - - protected override bindButtonKeydownListener(): void { - this.trigger.addEventListener('keydown', this.handleKeydown); - } - - protected override async manageSelection(): Promise { - await this.manageSplitButtonItems(); - await super.manageSelection(); - } - - private async manageSplitButtonItems(): Promise { - if (!this.menuItems.length) { - await this.optionsMenu.updateComplete; - if (!this.menuItems.length) { - return; - } - } - - if (this.type === 'more') { - this.menuItems[0].hidden = true; - this.menuItems.forEach((el) => (el.selected = false)); - this.selectedItem = this.menuItems[0]; - } else { - this.selectedItem = this.selectedItem || this.menuItems[0]; - } - this.value = this.selectedItem.value; - } -} diff --git a/packages/split-button/src/spectrum-config.js b/packages/split-button/src/spectrum-config.js deleted file mode 100644 index 27a5b4983f..0000000000 --- a/packages/split-button/src/spectrum-config.js +++ /dev/null @@ -1,65 +0,0 @@ -// @ts-check -/* -Copyright 2023 Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. -*/ - -import { - builder, - converterFor, -} from '../../../tasks/process-spectrum-utils.js'; - -const converter = converterFor('spectrum-SplitButton'); - -/** - * @type { import('../../../tasks/spectrum-css-converter').SpectrumCSSConverter } - */ -const config = { - conversions: [ - { - inPackage: '@spectrum-css/splitbutton', - outPackage: 'split-button', - fileName: 'split-button', - components: [ - converter.classToHost(), - converter.classToAttribute('spectrum-SplitButton--left'), - converter.classToId('spectrum-SplitButton-action', 'button'), - converter.classToClass('spectrum-SplitButton-trigger'), - converter.classToClass('spectrum-SplitButton-icon'), - converter.classToClass('spectrum-Button-label', 'label'), - { - find: builder.class('spectrum-Button--accent'), - replace: builder.attribute('variant', 'accent'), - hoist: false, - }, - { - find: [builder.pseudoClass('focus-visible')], - replace: [ - { - replace: builder.pseudoClass('focus-visible'), - hoist: false, - }, - ], - }, - { - find: [builder.pseudoClass('focus')], - replace: [ - { - replace: builder.pseudoClass('focus'), - hoist: false, - }, - ], - }, - ], - }, - ], -}; - -export default config; diff --git a/packages/split-button/src/spectrum-split-button.css b/packages/split-button/src/spectrum-split-button.css deleted file mode 100644 index af520feda2..0000000000 --- a/packages/split-button/src/spectrum-split-button.css +++ /dev/null @@ -1,251 +0,0 @@ -/* -Copyright 2023 Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. -*/ - -/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ -:host { - --spectrum-splitbutton-trigger-border-left: 0; - --spectrum-splitbutton-trigger-min-width: 0; - --spectrum-spltibutton-margin-left: 0; - --spectrum-splitbutton-icon-gap: var(--spectrum-global-dimension-size-150); - --spectrum-splitbutton-border-radius-edge: var( - --spectrum-alias-border-radius-small - ); -} - -:host([dir='rtl']), -:host([dir='rtl']) { - --spectrum-logical-rotation: matrix(-1, 0, 0, 1, 0, 0); -} - -.trigger { - --spectrum-splitbutton-trigger-round-edge-padding: var( - --spectrum-global-dimension-size-125 - ); - --spectrum-splitbutton-trigger-flat-edge-padding: var( - --spectrum-global-dimension-size-100 - ); - --spectrum-splitbutton-cta-trigger-flat-edge-padding: calc( - var(--spectrum-splitbutton-trigger-flat-edge-padding) - - var( - --spectrum-button-m-primary-outline-texticon-border-size, - var(--spectrum-alias-border-size-thick) - ) - ); -} - -#button { - --spectrum-splitbutton-flat-edge-padding: calc( - var(--spectrum-button-m-primary-outline-texticon-padding-left) - - var( - --spectrum-button-m-primary-outline-texticon-border-size, - var(--spectrum-alias-border-size-thick) - ) * 2 - ); - --spectrum-splitbutton-round-edge-padding: var( - --spectrum-button-m-primary-outline-texticon-padding-right, - var(--spectrum-global-dimension-size-200) - ); - --spectrum-splitbutton-cta-flat-edge-padding: calc( - var(--spectrum-button-m-primary-outline-texticon-padding-left) - - var( - --spectrum-button-m-primary-outline-texticon-border-size, - var(--spectrum-alias-border-size-thick) - ) * 3 - ); -} - -:host { - vertical-align: top; - flex-direction: row; - display: inline-flex; - position: relative; -} - -#button { - border-start-start-radius: var( - --spectrum-button-m-primary-outline-texticon-border-radius, - var(--spectrum-global-dimension-size-200) - ); - border-start-end-radius: 0; - border-end-end-radius: 0; - border-end-start-radius: var( - --spectrum-button-m-primary-outline-texticon-border-radius, - var(--spectrum-global-dimension-size-200) - ); - margin-inline-start: 0; - padding-inline-start: var(--spectrum-splitbutton-round-edge-padding); - padding-inline-end: var(--spectrum-splitbutton-flat-edge-padding); -} - -#button[variant='accent'] { - margin-inline-end: var( - --spectrum-button-m-primary-outline-texticon-border-size, - var(--spectrum-alias-border-size-thick) - ); - padding-inline-end: var(--spectrum-splitbutton-cta-flat-edge-padding); -} - -#button:after { - border-start-end-radius: var(--spectrum-splitbutton-border-radius-edge); - border-end-end-radius: var(--spectrum-splitbutton-border-radius-edge); -} - -.trigger { - border-inline-start-width: var(--spectrum-splitbutton-trigger-border-left); - min-inline-size: var(--spectrum-splitbutton-trigger-min-width); - border-start-start-radius: 0; - border-start-end-radius: var( - --spectrum-button-m-primary-outline-texticon-border-radius, - var(--spectrum-global-dimension-size-200) - ); - border-end-end-radius: var( - --spectrum-button-m-primary-outline-texticon-border-radius, - var(--spectrum-global-dimension-size-200) - ); - border-end-start-radius: 0; - margin-inline-start: 0; - padding-inline-start: var(--spectrum-splitbutton-trigger-flat-edge-padding); - padding-inline-end: var(--spectrum-splitbutton-trigger-round-edge-padding); -} - -.trigger[variant='accent'] { - border-inline-start-width: var( - --spectrum-button-m-primary-outline-texticon-border-size, - var(--spectrum-alias-border-size-thick) - ); - padding-inline-start: var( - --spectrum-splitbutton-cta-trigger-flat-edge-padding - ); -} - -.trigger:focus-visible { - box-shadow: none; -} - -.trigger:after { - border-start-start-radius: var(--spectrum-splitbutton-border-radius-edge); - border-end-start-radius: var(--spectrum-splitbutton-border-radius-edge); -} - -.icon { - margin-block-start: 1px; - display: block; -} - -#button, -.trigger { - position: relative; -} - -#button:focus-visible, -.trigger:focus-visible { - z-index: 1; - outline: none; -} - -#button.spectrum-Pagination-prevButton .spectrum-Icon, -.trigger.spectrum-Pagination-prevButton .spectrum-Icon { - transform: var(--spectrum-logical-rotation,) rotate(180deg); -} - -#button.spectrum-Pagination-nextButton .spectrum-Icon, -.trigger.spectrum-Pagination-nextButton .spectrum-Icon { - transform: var(--spectrum-logical-rotation); -} - -#button .label + .spectrum-Icon { - margin-inline-start: var(--spectrum-splitbutton-icon-gap); -} - -:host([left]) #button { - border-start-start-radius: 0; - border-start-end-radius: var( - --spectrum-button-m-primary-outline-texticon-border-radius, - var(--spectrum-global-dimension-size-200) - ); - border-end-end-radius: var( - --spectrum-button-m-primary-outline-texticon-border-radius, - var(--spectrum-global-dimension-size-200) - ); - border-end-start-radius: 0; - margin-inline-start: var(--spectrum-spltibutton-margin-left); - margin-inline-end: 0; - padding-inline-start: var(--spectrum-splitbutton-flat-edge-padding); - padding-inline-end: var(--spectrum-splitbutton-round-edge-padding); -} - -:host([left]) #button:after { - border-start-start-radius: var(--spectrum-splitbutton-border-radius-edge); - border-start-end-radius: var( - --spectrum-button-m-primary-outline-texticon-border-radius, - var(--spectrum-global-dimension-size-200) - ); - border-end-end-radius: var( - --spectrum-button-m-primary-outline-texticon-border-radius, - var(--spectrum-global-dimension-size-200) - ); - border-end-start-radius: var(--spectrum-splitbutton-border-radius-edge); -} - -:host([left]) #button[variant='accent'] { - margin-inline-start: var( - --spectrum-button-m-primary-outline-texticon-border-size, - var(--spectrum-alias-border-size-thick) - ); - padding-inline-start: var(--spectrum-splitbutton-cta-flat-edge-padding); -} - -:host([left]) .trigger { - border-inline-start-width: var( - --spectrum-button-m-primary-outline-texticon-border-size, - var(--spectrum-alias-border-size-thick) - ); - border-inline-end-width: var(--spectrum-splitbutton-trigger-border-left); - border-start-start-radius: var( - --spectrum-button-m-primary-outline-texticon-border-radius, - var(--spectrum-global-dimension-size-200) - ); - border-start-end-radius: 0; - border-end-end-radius: 0; - border-end-start-radius: var( - --spectrum-button-m-primary-outline-texticon-border-radius, - var(--spectrum-global-dimension-size-200) - ); - margin-inline-end: 0; - padding-inline-start: var( - --spectrum-splitbutton-trigger-round-edge-padding - ); - padding-inline-end: var(--spectrum-splitbutton-trigger-flat-edge-padding); -} - -:host([left]) .trigger:after { - border-start-start-radius: var( - --spectrum-button-m-primary-outline-texticon-border-radius, - var(--spectrum-global-dimension-size-200) - ); - border-start-end-radius: var(--spectrum-splitbutton-border-radius-edge); - border-end-end-radius: var(--spectrum-splitbutton-border-radius-edge); - border-end-start-radius: var( - --spectrum-button-m-primary-outline-texticon-border-radius, - var(--spectrum-global-dimension-size-200) - ); -} - -:host([left]) .trigger[variant='accent'] { - border-inline-end-width: var( - --spectrum-button-m-primary-outline-texticon-border-size, - var(--spectrum-alias-border-size-thick) - ); - padding-inline-end: var( - --spectrum-splitbutton-cta-trigger-flat-edge-padding - ); -} diff --git a/packages/split-button/src/split-button.css b/packages/split-button/src/split-button.css deleted file mode 100644 index 76c2db6d82..0000000000 --- a/packages/split-button/src/split-button.css +++ /dev/null @@ -1,80 +0,0 @@ -/* -Copyright 2020 Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. -*/ - -@import url('./spectrum-split-button.css'); - -:host > sp-menu { - display: none; -} - -#button { - --spectrum-splitbutton-flat-edge-padding: calc( - var(--spectrum-button-edge-to-text) - - var( - --spectrum-button-border-width, - var(--spectrum-alias-border-size-thick) - ) * 2 - ); - --spectrum-splitbutton-round-edge-padding: var( - --spectrum-button-edge-to-visual, - var(--spectrum-global-dimension-size-200) - ); - --spectrum-splitbutton-cta-flat-edge-padding: calc( - var(--spectrum-button-edge-to-text) - - var( - --spectrum-button-border-width, - var(--spectrum-alias-border-size-thick) - ) * 3 - ); -} - -.trigger { - --spectrum-splitbutton-trigger-flat-edge-padding: calc( - var(--spectrum-button-edge-to-text) - - var( - --spectrum-button-border-width, - var(--spectrum-alias-border-size-thick) - ) * 2 - ); - --spectrum-splitbutton-trigger-round-edge-padding: var( - --spectrum-button-edge-to-visual, - var(--spectrum-global-dimension-size-200) - ); - --spectrum-splitbutton-cta-trigger-flat-edge-padding: calc( - var(--spectrum-button-edge-to-text) - - var( - --spectrum-button-border-width, - var(--spectrum-alias-border-size-thick) - ) * 3 - ); -} - -/** - * Begin workaround for SplitButton not natively supporting t-shirt sizes. - */ -sp-button { - --spectrum-button-m-primary-outline-texticon-border-radius: var( - --spectrum-button-border-radius - ); -} - -/** - * End workaround for SplitButton not natively supporting t-shirt sizes. - */ - -sp-overlay:not(:defined) { - display: none; -} - -.icon { - align-self: center; -} diff --git a/packages/split-button/stories/index.ts b/packages/split-button/stories/index.ts deleted file mode 100644 index 175280722b..0000000000 --- a/packages/split-button/stories/index.ts +++ /dev/null @@ -1,178 +0,0 @@ -/* -Copyright 2020 Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. -*/ - -import { html, TemplateResult } from '@spectrum-web-components/base'; -import type { ElementSize } from '@spectrum-web-components/base'; - -import '@spectrum-web-components/split-button/sp-split-button.js'; -import '@spectrum-web-components/menu/sp-menu-item.js'; -import type { ButtonVariants } from '@spectrum-web-components/button'; -import type { SplitButtonTypes } from '@spectrum-web-components/split-button/src/SplitButton.js'; - -export interface SplitButtonMenuOptions { - firstItemHandler?: (event?: Event) => void; - secondItemHandler?: (event?: Event) => void; - thirdItemHandler?: (event?: Event) => void; -} - -const menu = ({ - firstItemHandler = function () { - return; - }, - secondItemHandler = function () { - return; - }, - thirdItemHandler = function () { - return; - }, -}: SplitButtonMenuOptions): TemplateResult => html` - Option 1 - - Option Really Extended - - Short -`; - -export interface Properties extends SplitButtonMenuOptions { - disabled?: boolean; - invalid?: boolean; - left?: boolean; - open?: boolean; - size?: ElementSize; - type?: SplitButtonTypes; - variant?: ButtonVariants; -} - -export const args = { - disabled: false, - invalid: false, - left: false, - open: false, - type: 'field' as SplitButtonTypes, - variant: 'accent' as ButtonVariants, -}; - -export const argTypes = { - disabled: { - name: 'disabled', - type: { name: 'boolean', required: false }, - description: - 'Disable this control. It will not receive focus or events.', - table: { - type: { summary: 'boolean' }, - defaultValue: { summary: false }, - }, - control: { - type: 'boolean', - }, - }, - invalid: { - name: 'invalid', - type: { name: 'boolean', required: false }, - table: { - type: { summary: 'boolean' }, - defaultValue: { summary: false }, - }, - control: { - type: 'boolean', - }, - }, - left: { - name: 'left', - type: { name: 'boolean', required: false }, - description: 'Whether the split begins on the left.', - table: { - type: { summary: 'boolean' }, - defaultValue: { summary: false }, - }, - control: { - type: 'boolean', - }, - }, - open: { - name: 'open', - type: { name: 'boolean', required: false }, - description: 'Whether the picker menu is open.', - table: { - type: { summary: 'boolean' }, - defaultValue: { summary: false }, - }, - control: { - type: 'boolean', - }, - }, - type: { - name: 'type', - type: { name: 'string', required: false }, - description: - 'Whether the split button shows the chosen action from the overlay menu. The `more` type maintains its original value.', - table: { - type: { summary: 'string' }, - defaultValue: { summary: 'field' }, - }, - control: { - type: 'inline-radio', - options: ['field', 'more'], - }, - }, - variant: { - name: 'variant', - type: { name: 'string', required: false }, - description: 'The visual variant to apply to the button.', - table: { - type: { summary: 'string' }, - defaultValue: { summary: 'cta' }, - }, - control: { - type: 'inline-radio', - options: [ - 'accent', - 'primary', - 'secondary', - 'negative', - 'black', - 'white', - ], - }, - }, -}; - -export const parameters = { - badges: ['deprecated'], -}; - -export const splitbutton = ( - properties: Properties = {} -): TemplateResult => html` - - ${menu(properties)} - -`; - -const left = true; - -export const renderSplitButtonSet = ( - properties: Properties = {} -): TemplateResult => html` - ${splitbutton(properties)} - ${splitbutton({ - ...properties, - left, - })} -`; diff --git a/packages/split-button/stories/split-button-accent-field.stories.ts b/packages/split-button/stories/split-button-accent-field.stories.ts deleted file mode 100644 index 59cdaf9e19..0000000000 --- a/packages/split-button/stories/split-button-accent-field.stories.ts +++ /dev/null @@ -1,69 +0,0 @@ -/* -Copyright 2020 Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. -*/ - -import { ElementSizes, TemplateResult } from '@spectrum-web-components/base'; -import { - args, - argTypes, - parameters, - renderSplitButtonSet, - splitbutton, -} from './index.js'; -import type { Properties } from './index.js'; - -import '@spectrum-web-components/split-button/sp-split-button.js'; -import '@spectrum-web-components/menu/sp-menu-item.js'; -import { SplitButtonTypes } from '@spectrum-web-components/split-button/src/SplitButton.js'; -import { ButtonVariants } from '@spectrum-web-components/button'; - -const variant = 'accent' as ButtonVariants; -const type = 'field' as SplitButtonTypes; - -export default { - title: 'Split Button/Accent/Field', - component: 'sp-split-button', - args: { - ...args, - variant, - type, - }, - argTypes, - parameters, -}; - -export const s = (args: Properties): TemplateResult => - renderSplitButtonSet(args); -s.args = { size: ElementSizes.s }; - -export const sOpen = (args: Properties): TemplateResult => splitbutton(args); -sOpen.args = { size: ElementSizes.s, open: true }; - -export const m = (args: Properties): TemplateResult => - renderSplitButtonSet(args); -m.args = { size: ElementSizes.m }; - -export const mOpen = (args: Properties): TemplateResult => splitbutton(args); -mOpen.args = { size: ElementSizes.m, open: true }; - -export const l = (args: Properties): TemplateResult => - renderSplitButtonSet(args); -l.args = { size: ElementSizes.l }; - -export const lOpen = (args: Properties): TemplateResult => splitbutton(args); -lOpen.args = { size: ElementSizes.l, open: true }; - -export const XL = (args: Properties): TemplateResult => - renderSplitButtonSet(args); -XL.args = { size: ElementSizes.xl }; - -export const XLOpen = (args: Properties): TemplateResult => splitbutton(args); -XLOpen.args = { size: ElementSizes.xl, open: true }; diff --git a/packages/split-button/stories/split-button-accent-more.stories.ts b/packages/split-button/stories/split-button-accent-more.stories.ts deleted file mode 100644 index c6cf3c3255..0000000000 --- a/packages/split-button/stories/split-button-accent-more.stories.ts +++ /dev/null @@ -1,69 +0,0 @@ -/* -Copyright 2020 Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. -*/ - -import { ElementSizes, TemplateResult } from '@spectrum-web-components/base'; -import { - args, - argTypes, - parameters, - renderSplitButtonSet, - splitbutton, -} from './index.js'; -import type { Properties } from './index.js'; - -import '@spectrum-web-components/split-button/sp-split-button.js'; -import '@spectrum-web-components/menu/sp-menu-item.js'; -import { SplitButtonTypes } from '@spectrum-web-components/split-button/src/SplitButton.js'; -import { ButtonVariants } from '@spectrum-web-components/button'; - -const variant = 'accent' as ButtonVariants; -const type = 'more' as SplitButtonTypes; - -export default { - title: 'Split Button/Accent/More', - component: 'sp-split-button', - args: { - ...args, - variant, - type, - }, - argTypes, - parameters, -}; - -export const s = (args: Properties): TemplateResult => - renderSplitButtonSet(args); -s.args = { size: ElementSizes.s }; - -export const sOpen = (args: Properties): TemplateResult => splitbutton(args); -sOpen.args = { size: ElementSizes.s, open: true }; - -export const m = (args: Properties): TemplateResult => - renderSplitButtonSet(args); -m.args = { size: ElementSizes.m }; - -export const mOpen = (args: Properties): TemplateResult => splitbutton(args); -mOpen.args = { size: ElementSizes.m, open: true }; - -export const l = (args: Properties): TemplateResult => - renderSplitButtonSet(args); -l.args = { size: ElementSizes.l }; - -export const lOpen = (args: Properties): TemplateResult => splitbutton(args); -lOpen.args = { size: ElementSizes.l, open: true }; - -export const XL = (args: Properties): TemplateResult => - renderSplitButtonSet(args); -XL.args = { size: ElementSizes.xl }; - -export const XLOpen = (args: Properties): TemplateResult => splitbutton(args); -XLOpen.args = { size: ElementSizes.xl, open: true }; diff --git a/packages/split-button/stories/split-button-primary-field.stories.ts b/packages/split-button/stories/split-button-primary-field.stories.ts deleted file mode 100644 index 82ba7fc420..0000000000 --- a/packages/split-button/stories/split-button-primary-field.stories.ts +++ /dev/null @@ -1,57 +0,0 @@ -/* -Copyright 2020 Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. -*/ - -import { ElementSizes, TemplateResult } from '@spectrum-web-components/base'; -import { - args, - argTypes, - parameters, - renderSplitButtonSet, - splitbutton, -} from './index.js'; -import type { Properties } from './index.js'; -import { isOverlayOpen } from '../../overlay/stories/index.js'; -import '../../overlay/stories/index.js'; - -import '@spectrum-web-components/split-button/sp-split-button.js'; -import '@spectrum-web-components/menu/sp-menu-item.js'; - -const variant = 'primary'; -const type = 'field'; - -export default { - title: 'Split Button/Primary/Field', - component: 'sp-split-button', - args: { - ...args, - variant, - type, - }, - argTypes, - parameters, -}; - -export const s = (args: Properties): TemplateResult => - renderSplitButtonSet(args); -s.args = { size: ElementSizes.s }; -export const m = (args: Properties): TemplateResult => - renderSplitButtonSet(args); -m.args = { size: ElementSizes.m }; -export const l = (args: Properties): TemplateResult => - renderSplitButtonSet(args); -l.args = { size: ElementSizes.l }; -export const XL = (args: Properties): TemplateResult => - renderSplitButtonSet(args); -XL.args = { size: ElementSizes.xl }; -export const open = (args: Properties): TemplateResult => splitbutton(args); -open.args = { open: true }; -open.decorators = [isOverlayOpen]; diff --git a/packages/split-button/stories/split-button-primary-more.stories.ts b/packages/split-button/stories/split-button-primary-more.stories.ts deleted file mode 100644 index f44862b9ee..0000000000 --- a/packages/split-button/stories/split-button-primary-more.stories.ts +++ /dev/null @@ -1,57 +0,0 @@ -/* -Copyright 2020 Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. -*/ - -import { ElementSizes, TemplateResult } from '@spectrum-web-components/base'; -import { - args, - argTypes, - parameters, - renderSplitButtonSet, - splitbutton, -} from './index.js'; -import type { Properties } from './index.js'; -import { isOverlayOpen } from '../../overlay/stories/index.js'; -import '../../overlay/stories/index.js'; - -import '@spectrum-web-components/split-button/sp-split-button.js'; -import '@spectrum-web-components/menu/sp-menu-item.js'; - -const variant = 'primary'; -const type = 'more'; - -export default { - title: 'Split Button/Primary/More', - component: 'sp-split-button', - args: { - ...args, - variant, - type, - }, - argTypes, - parameters, -}; - -export const s = (args: Properties): TemplateResult => - renderSplitButtonSet(args); -s.args = { size: ElementSizes.s }; -export const m = (args: Properties): TemplateResult => - renderSplitButtonSet(args); -m.args = { size: ElementSizes.m }; -export const l = (args: Properties): TemplateResult => - renderSplitButtonSet(args); -l.args = { size: ElementSizes.l }; -export const XL = (args: Properties): TemplateResult => - renderSplitButtonSet(args); -XL.args = { size: ElementSizes.xl }; -export const open = (args: Properties): TemplateResult => splitbutton(args); -open.args = { open: true }; -open.decorators = [isOverlayOpen]; diff --git a/packages/split-button/stories/split-button-secondary-field.stories.ts b/packages/split-button/stories/split-button-secondary-field.stories.ts deleted file mode 100644 index 7f932eca76..0000000000 --- a/packages/split-button/stories/split-button-secondary-field.stories.ts +++ /dev/null @@ -1,57 +0,0 @@ -/* -Copyright 2020 Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. -*/ - -import { ElementSizes, TemplateResult } from '@spectrum-web-components/base'; -import { - args, - argTypes, - parameters, - renderSplitButtonSet, - splitbutton, -} from './index.js'; -import type { Properties } from './index.js'; -import { isOverlayOpen } from '../../overlay/stories/index.js'; -import '../../overlay/stories/index.js'; - -import '@spectrum-web-components/split-button/sp-split-button.js'; -import '@spectrum-web-components/menu/sp-menu-item.js'; - -const variant = 'secondary'; -const type = 'field'; - -export default { - title: 'Split Button/Secondary/Field', - component: 'sp-split-button', - args: { - ...args, - variant, - type, - }, - argTypes, - parameters, -}; - -export const s = (args: Properties): TemplateResult => - renderSplitButtonSet(args); -s.args = { size: ElementSizes.s }; -export const m = (args: Properties): TemplateResult => - renderSplitButtonSet(args); -m.args = { size: ElementSizes.m }; -export const l = (args: Properties): TemplateResult => - renderSplitButtonSet(args); -l.args = { size: ElementSizes.l }; -export const XL = (args: Properties): TemplateResult => - renderSplitButtonSet(args); -XL.args = { size: ElementSizes.xl }; -export const open = (args: Properties): TemplateResult => splitbutton(args); -open.args = { open: true }; -open.decorators = [isOverlayOpen]; diff --git a/packages/split-button/stories/split-button-secondary-more.stories.ts b/packages/split-button/stories/split-button-secondary-more.stories.ts deleted file mode 100644 index d51038c275..0000000000 --- a/packages/split-button/stories/split-button-secondary-more.stories.ts +++ /dev/null @@ -1,57 +0,0 @@ -/* -Copyright 2020 Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. -*/ - -import { ElementSizes, TemplateResult } from '@spectrum-web-components/base'; -import { - args, - argTypes, - parameters, - renderSplitButtonSet, - splitbutton, -} from './index.js'; -import type { Properties } from './index.js'; -import { isOverlayOpen } from '../../overlay/stories/index.js'; -import '../../overlay/stories/index.js'; - -import '@spectrum-web-components/split-button/sp-split-button.js'; -import '@spectrum-web-components/menu/sp-menu-item.js'; - -const variant = 'secondary'; -const type = 'more'; - -export default { - title: 'Split Button/Secondary/More', - component: 'sp-split-button', - args: { - ...args, - variant, - type, - }, - argTypes, - parameters, -}; - -export const s = (args: Properties): TemplateResult => - renderSplitButtonSet(args); -s.args = { size: ElementSizes.s }; -export const m = (args: Properties): TemplateResult => - renderSplitButtonSet(args); -m.args = { size: ElementSizes.m }; -export const l = (args: Properties): TemplateResult => - renderSplitButtonSet(args); -l.args = { size: ElementSizes.l }; -export const XL = (args: Properties): TemplateResult => - renderSplitButtonSet(args); -XL.args = { size: ElementSizes.xl }; -export const open = (args: Properties): TemplateResult => splitbutton(args); -open.args = { open: true }; -open.decorators = [isOverlayOpen]; diff --git a/packages/split-button/sync/sp-split-button.ts b/packages/split-button/sync/sp-split-button.ts deleted file mode 100644 index 2404f19dcc..0000000000 --- a/packages/split-button/sync/sp-split-button.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* -Copyright 2020 Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. -*/ - -import '@spectrum-web-components/picker/sync/index.js'; -import '../sp-split-button.js'; diff --git a/packages/split-button/test/benchmark/basic-test.ts b/packages/split-button/test/benchmark/basic-test.ts deleted file mode 100644 index eb19c1ace7..0000000000 --- a/packages/split-button/test/benchmark/basic-test.ts +++ /dev/null @@ -1,67 +0,0 @@ -/* -Copyright 2020 Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. -*/ - -import '@spectrum-web-components/split-button/sp-split-button.js'; -import type { SplitButton } from '@spectrum-web-components/split-button'; -import '@spectrum-web-components/menu/sp-menu-item.js'; -import { html } from 'lit'; -import { measureFixtureCreation } from '../../../../test/benchmark/helpers.js'; - -class SplitButtonWorkflow extends HTMLElement { - ready!: (value: boolean | PromiseLike) => void; - splitButton!: SplitButton; - count = 0; - - constructor() { - super(); - this.readyPromise = new Promise((res) => { - this.ready = res; - this.setup(); - }); - } - - async setup(): Promise { - this.splitButton = this.nextElementSibling as SplitButton; - this.splitButton.addEventListener('sp-opened', () => { - requestAnimationFrame(() => (this.splitButton.open = false)); - }); - this.splitButton.addEventListener('sp-closed', () => { - this.count += 1; - if (this.count >= 5) { - this.ready(true); - return; - } - requestAnimationFrame(() => (this.splitButton.open = true)); - }); - requestAnimationFrame(() => (this.splitButton.open = true)); - } - - private readyPromise: Promise = Promise.resolve(false); - - get updateComplete(): Promise { - return this.readyPromise; - } -} - -customElements.define('split-button-workflow', SplitButtonWorkflow); - -measureFixtureCreation( - html` - - - Action 1 - Action 2 - Action 3 - - `, - { numRenders: 1 } -); diff --git a/packages/split-button/test/index.ts b/packages/split-button/test/index.ts deleted file mode 100644 index fa2299bb9c..0000000000 --- a/packages/split-button/test/index.ts +++ /dev/null @@ -1,669 +0,0 @@ -/* -Copyright 2020 Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. -*/ - -import { - aTimeout, - elementUpdated, - expect, - nextFrame, - oneEvent, -} from '@open-wc/testing'; -import { html, TemplateResult } from '@spectrum-web-components/base'; -import { spy } from 'sinon'; -import { a11ySnapshot, findAccessibilityNode } from '@web/test-runner-commands'; - -import fieldDefaults, { - m as field, -} from '../stories/split-button-accent-field.stories.js'; -import moreDefaults, { - m as more, -} from '../stories/split-button-accent-more.stories.js'; - -import type { MenuItem } from '@spectrum-web-components/menu'; -import type { SplitButton } from '@spectrum-web-components/split-button'; -import { sendMouse } from '../../../test/plugins/browser.js'; -import { fixture } from '../../../test/testing-helpers.js'; - -export function runSplitButtonTests( - wrapInDiv: (storyArgument: TemplateResult) => TemplateResult, - deprecatedMenu: () => TemplateResult -): void { - it('loads [type="field"] splitbutton accessibly', async () => { - const test = await fixture( - wrapInDiv( - field({ - ...fieldDefaults.args, - ...field.args, - }) - ) - ); - await nextFrame(); - await nextFrame(); - - const el1 = test.querySelector('sp-split-button') as SplitButton; - const el2 = test.querySelector('sp-split-button[left]') as SplitButton; - - await elementUpdated(el1); - await elementUpdated(el2); - - await expect(el1).to.be.accessible(); - await expect(el2).to.be.accessible(); - }); - it('loads [type="field"] splitbutton accessibly with deprecated syntax', async () => { - const test = await fixture(html` -
- ${deprecatedMenu()} - ${deprecatedMenu()} -
- `); - const el1 = test.querySelector('sp-split-button') as SplitButton; - const el2 = test.querySelector('sp-split-button[left]') as SplitButton; - - await elementUpdated(el1); - await elementUpdated(el2); - await nextFrame(); - await nextFrame(); - - await expect(el1).to.be.accessible(); - await expect(el2).to.be.accessible(); - }); - it('loads [type="more"] splitbutton accessibly', async () => { - const test = await fixture( - wrapInDiv(more({ ...moreDefaults.args, ...more.args })) - ); - const el1 = test.querySelector('sp-split-button') as SplitButton; - const el2 = test.querySelector('sp-split-button[left]') as SplitButton; - - await elementUpdated(el1); - await elementUpdated(el2); - await nextFrame(); - await nextFrame(); - - await expect(el1).to.be.accessible(); - await expect(el2).to.be.accessible(); - }); - it('loads [type="more"] splitbutton accessibly with deprecated syntax', async () => { - const test = await fixture(html` -
- - ${deprecatedMenu()} - - - ${deprecatedMenu()} - -
- `); - const el1 = test.querySelector('sp-split-button') as SplitButton; - const el2 = test.querySelector('sp-split-button[left]') as SplitButton; - - await elementUpdated(el1); - await elementUpdated(el2); - await nextFrame(); - await nextFrame(); - - await expect(el1).to.be.accessible(); - await expect(el2).to.be.accessible(); - }); - it('loads splitbutton accessibly and checks labels', async function () { - const test = await fixture(html` -
- ${deprecatedMenu()} - - ${deprecatedMenu()} - -
- `); - const el1 = test.querySelector('sp-split-button') as SplitButton; - const el2 = test.querySelector('sp-split-button[left]') as SplitButton; - - await elementUpdated(el1); - await elementUpdated(el2); - await nextFrame(); - await nextFrame(); - - type NamedRoledPopupNode = { - name: string; - role: string; - haspopup: boolean; - }; - const snapshot = (await a11ySnapshot( - {} - )) as unknown as NamedRoledPopupNode & { - children: NamedRoledPopupNode[]; - }; - expect( - findAccessibilityNode( - snapshot, - (node) => - (node.role === 'button' || node.role === 'buttonmenu') && - node.name === 'Option 1' && - node.haspopup - ), - 'Has a named "button" element with haspopup="true" and name="Option 1"' - ).to.not.be.null; - expect( - findAccessibilityNode( - snapshot, - (node) => - node.role === 'button' && - node.name === 'Option 1' && - !node.haspopup - ), - 'Has a named "button" element with haspopup="false" and name="Option 1"' - ).to.not.be.null; - expect( - findAccessibilityNode( - snapshot, - (node) => - (node.role === 'button' || node.role === 'buttonmenu') && - node.name === 'Test' && - node.haspopup - ), - 'Has a named "button" element with haspopup="true" and name="Test"' - ).to.not.be.null; - expect( - findAccessibilityNode( - snapshot, - (node) => - node.role === 'button' && - node.name === 'Test' && - !node.haspopup - ), - 'Has a named "button" element with haspopup="false" and name="Test"' - ).to.not.be.null; - }); - - it('[type="field"] toggles open/close multiple time', async () => { - const test = await fixture( - wrapInDiv( - field({ - ...fieldDefaults.args, - ...field.args, - }) - ) - ); - const el = test.querySelector('sp-split-button') as SplitButton; - - await elementUpdated(el); - await nextFrame(); - await nextFrame(); - - const trigger = el.shadowRoot.querySelector('.trigger'); - expect(trigger).to.have.attribute('aria-expanded', 'false'); - expect(trigger).not.to.have.attribute('aria-controls'); - - let opened = oneEvent(el, 'sp-opened'); - el.open = true; - await opened; - - expect(el.open).to.be.true; - expect(trigger).to.have.attribute('aria-expanded', 'true'); - expect(trigger).to.have.attribute('aria-controls', 'menu'); - - let closed = oneEvent(el, 'sp-closed'); - el.open = false; - await closed; - - expect(el.open).to.be.false; - expect(trigger).to.have.attribute('aria-expanded', 'false'); - expect(trigger).not.to.have.attribute('aria-controls'); - - opened = oneEvent(el, 'sp-opened'); - el.open = true; - await opened; - - expect(el.open).to.be.true; - expect(trigger).to.have.attribute('aria-expanded', 'true'); - expect(trigger).to.have.attribute('aria-controls', 'menu'); - - closed = oneEvent(el, 'sp-closed'); - el.open = false; - await closed; - - expect(el.open).to.be.false; - expect(trigger).to.have.attribute('aria-expanded', 'false'); - expect(trigger).not.to.have.attribute('aria-controls'); - }); - - it('[type="field"] opens, then closes, on subsequent clicks', async () => { - const test = await fixture( - wrapInDiv( - field({ - ...fieldDefaults.args, - ...field.args, - }) - ) - ); - const el = test.querySelector('sp-split-button') as SplitButton; - await elementUpdated(el); - await nextFrame(); - await nextFrame(); - - const { trigger } = el as unknown as { trigger: HTMLButtonElement }; - const rect = trigger.getBoundingClientRect(); - - const open = oneEvent(el, 'sp-opened'); - sendMouse({ - steps: [ - { - position: [ - rect.left + rect.width / 2, - rect.top + rect.height / 2, - ], - type: 'click', - }, - ], - }); - await open; - - expect(el.open).to.be.true; - await aTimeout(50); - expect(el.open).to.be.true; - - const close = oneEvent(el, 'sp-closed'); - sendMouse({ - steps: [ - { - position: [ - rect.left + rect.width / 2, - rect.top + rect.height / 2, - ], - type: 'click', - }, - ], - }); - await close; - - expect(el.open).to.be.false; - await aTimeout(50); - expect(el.open).to.be.false; - }); - - it('[type="more"] toggles open/close multiple time', async () => { - const test = await fixture( - wrapInDiv(more({ ...moreDefaults.args, ...more.args })) - ); - const el = test.querySelector('sp-split-button') as SplitButton; - - await elementUpdated(el); - await nextFrame(); - await nextFrame(); - - const trigger = el.shadowRoot.querySelector('.trigger'); - expect(trigger).to.have.attribute('aria-expanded', 'false'); - expect(trigger).not.to.have.attribute('aria-controls'); - - let opened = oneEvent(el, 'sp-opened'); - el.open = true; - await opened; - - expect(el.open).to.be.true; - expect(trigger).to.have.attribute('aria-expanded', 'true'); - expect(trigger).to.have.attribute('aria-controls', 'menu'); - - let closed = oneEvent(el, 'sp-closed'); - el.open = false; - await closed; - - expect(el.open).to.be.false; - expect(trigger).to.have.attribute('aria-expanded', 'false'); - expect(trigger).not.to.have.attribute('aria-controls'); - - opened = oneEvent(el, 'sp-opened'); - el.open = true; - await opened; - - expect(el.open).to.be.true; - expect(trigger).to.have.attribute('aria-expanded', 'true'); - expect(trigger).to.have.attribute('aria-controls', 'menu'); - - closed = oneEvent(el, 'sp-closed'); - el.open = false; - await closed; - - expect(el.open).to.be.false; - expect(trigger).to.have.attribute('aria-expanded', 'false'); - expect(trigger).not.to.have.attribute('aria-controls'); - }); - - it('[type="more"] opens, then closes, on subsequent clicks', async () => { - const test = await fixture( - wrapInDiv(more({ ...moreDefaults.args, ...more.args })) - ); - const el = test.querySelector('sp-split-button') as SplitButton; - await elementUpdated(el); - await nextFrame(); - await nextFrame(); - - const { trigger } = el as unknown as { trigger: HTMLButtonElement }; - const rect = trigger.getBoundingClientRect(); - - const open = oneEvent(el, 'sp-opened'); - sendMouse({ - steps: [ - { - position: [ - rect.left + rect.width / 2, - rect.top + rect.height / 2, - ], - type: 'click', - }, - ], - }); - await open; - - expect(el.open).to.be.true; - await aTimeout(50); - expect(el.open).to.be.true; - - const close = oneEvent(el, 'sp-closed'); - sendMouse({ - steps: [ - { - position: [ - rect.left + rect.width / 2, - rect.top + rect.height / 2, - ], - type: 'click', - }, - ], - }); - await close; - - expect(el.open).to.be.false; - await aTimeout(50); - expect(el.open).to.be.false; - }); - - it('receives "focus()"', async () => { - const test = await fixture( - wrapInDiv( - field({ - ...fieldDefaults.args, - ...field.args, - }) - ) - ); - const el1 = test.querySelector('sp-split-button') as SplitButton; - const el2 = test.querySelector('sp-split-button[left]') as SplitButton; - - await elementUpdated(el1); - await elementUpdated(el2); - - el1.focus(); - await elementUpdated(el1); - - expect(document.activeElement === el1).to.be.true; - expect(el1.shadowRoot.activeElement).to.equal(el1.focusElement); - - el2.focus(); - await elementUpdated(el2); - - expect(document.activeElement === el2).to.be.true; - expect(el2.shadowRoot.activeElement === el2.focusElement).to.be.true; - }); - it('[type="field"] manages `selectedItem`', async () => { - const test = await fixture( - wrapInDiv( - field({ - ...fieldDefaults.args, - ...field.args, - }) - ) - ); - const el = test.querySelector('sp-split-button') as SplitButton; - - await elementUpdated(el); - await nextFrame(); - await nextFrame(); - - expect(el.selectedItem?.itemText).to.equal('Option 1'); - expect(el.open).to.be.false; - - const item3 = el.querySelector('sp-menu-item:nth-child(3)') as MenuItem; - const opened = oneEvent(el, 'sp-opened'); - el.click(); - await opened; - await elementUpdated(el); - - expect(el.open).to.be.true; - - const closed = oneEvent(el, 'sp-closed'); - item3.click(); - await closed; - - await elementUpdated(el); - - expect(el.selectedItem?.itemText).to.equal('Short'); - expect(el.open).to.be.false; - expect(document.activeElement === el).to.be.true; - expect(el.shadowRoot.activeElement === el.focusElement).to.be.true; - }); - it('[type="more"] manages `selectedItem.itemText`', async () => { - const test = await fixture( - wrapInDiv(more({ ...moreDefaults.args, ...more.args })) - ); - const el = test.querySelector('sp-split-button') as SplitButton; - - await elementUpdated(el); - await nextFrame(); - await nextFrame(); - - expect(el.selectedItem?.itemText).to.equal('Option 1'); - expect(el.open).to.be.false; - - const item3 = el.querySelector('sp-menu-item:nth-child(3)') as MenuItem; - const opened = oneEvent(el, 'sp-opened'); - el.click(); - await opened; - - expect(el.open).to.be.true; - - const closed = oneEvent(el, 'sp-closed'); - item3.click(); - await closed; - - expect(el.open).to.be.false; - expect(el.selectedItem?.itemText).to.equal('Option 1'); - }); - - it('passes click events as [type="field"]', async () => { - const firstItemSpy = spy(); - const secondItemSpy = spy(); - const thirdItemSpy = spy(); - const test = await fixture( - wrapInDiv( - field({ - ...fieldDefaults.args, - ...field.args, - firstItemHandler: (): void => firstItemSpy(), - secondItemHandler: (): void => secondItemSpy(), - thirdItemHandler: (): void => thirdItemSpy(), - }) - ) - ); - const el = test.querySelector('sp-split-button') as SplitButton; - await elementUpdated(el); - await nextFrame(); - await nextFrame(); - - expect(el.selectedItem?.itemText).to.equal('Option 1'); - expect(el.open).to.be.false; - - const item1 = el.querySelector('sp-menu-item:nth-child(1)') as MenuItem; - const item2 = el.querySelector('sp-menu-item:nth-child(2)') as MenuItem; - const item3 = el.querySelector('sp-menu-item:nth-child(3)') as MenuItem; - const main = el.shadowRoot?.querySelector( - '#button' - ) as HTMLButtonElement; - - main.click(); - - await elementUpdated(el); - - expect(firstItemSpy.called, 'first called').to.be.true; - expect(firstItemSpy.calledOnce, 'first calledOnce').to.be.true; - - let opened = oneEvent(el, 'sp-opened'); - el.click(); - await opened; - - await elementUpdated(el); - - expect(el.open, 'open').to.be.true; - - let closed = oneEvent(el, 'sp-closed'); - item3.click(); - await closed; - await nextFrame(); - - await elementUpdated(el); - - expect(el.open, 'not open').to.be.false; - expect(thirdItemSpy.called, 'third called').to.be.true; - expect(thirdItemSpy.calledOnce, 'third calledOnce').to.be.true; - - main.click(); - await elementUpdated(el); - - expect(el.open).to.be.false; - expect(el.selectedItem?.itemText).to.equal('Short'); - expect(thirdItemSpy.called, 'third called, still').to.be.true; - expect(thirdItemSpy.callCount, 'third callCount').to.equal(2); - expect(thirdItemSpy.calledTwice, 'third calledTwice').to.be.true; - - opened = oneEvent(el, 'sp-opened'); - el.click(); - await opened; - - expect(el.open, 'reopen').to.be.true; - - closed = oneEvent(el, 'sp-closed'); - item2.click(); - await closed; - await nextFrame(); - await elementUpdated(el); - - main.click(); - await elementUpdated(el); - - expect(el.open).to.be.false; - expect(el.selectedItem?.itemText).to.equal('Option Really Extended'); - expect(secondItemSpy.called, 'second called').to.be.true; - expect(secondItemSpy.calledTwice, 'second twice').to.be.true; - - opened = oneEvent(el, 'sp-opened'); - el.click(); - await opened; - await elementUpdated(el); - - expect(el.open, 'opened again').to.be.true; - - closed = oneEvent(el, 'sp-closed'); - item1.click(); - await closed; - await nextFrame(); - await elementUpdated(el); - - main.click(); - - await elementUpdated(el); - - expect(el.selectedItem?.itemText).to.equal('Option 1'); - expect(firstItemSpy.called, 'first called, sill').to.be.true; - expect(firstItemSpy.callCount, 'first callCount').to.equal(3); - }); - it('passes click events as [type="more"]', async () => { - const firstItemSpy = spy(); - const secondItemSpy = spy(); - const thirdItemSpy = spy(); - const test = await fixture( - wrapInDiv( - more({ - ...moreDefaults.args, - ...more.args, - firstItemHandler: (): void => firstItemSpy(), - secondItemHandler: (): void => secondItemSpy(), - thirdItemHandler: (): void => thirdItemSpy(), - }) - ) - ); - const el = test.querySelector('sp-split-button') as SplitButton; - - await elementUpdated(el); - await nextFrame(); - await nextFrame(); - - expect(el.selectedItem?.itemText).to.equal('Option 1'); - expect(el.open).to.be.false; - - const item2 = el.querySelector('sp-menu-item:nth-child(2)') as MenuItem; - const item3 = el.querySelector('sp-menu-item:nth-child(3)') as MenuItem; - const main = el.shadowRoot?.querySelector( - '#button' - ) as HTMLButtonElement; - main.click(); - expect(el.open).to.be.false; - - await elementUpdated(el); - await nextFrame(); - - expect(firstItemSpy.called, '1st called').to.be.true; - expect(firstItemSpy.calledOnce, '1st called once').to.be.true; - - expect(el.open).to.be.false; - let opened = oneEvent(el, 'sp-opened'); - el.click(); - await opened; - - await elementUpdated(el); - - expect(el.open).to.be.true; - - let closed = oneEvent(el, 'sp-closed'); - item3.click(); - await closed; - await nextFrame(); - await elementUpdated(el); - - expect(el.open, 'not open').to.be.false; - expect(el.selectedItem?.itemText).to.equal('Option 1'); - expect(thirdItemSpy.called, '3rd called').to.be.true; - expect(thirdItemSpy.calledOnce, '3rd called once').to.be.true; - opened = oneEvent(el, 'sp-opened'); - el.click(); - await opened; - - await elementUpdated(el); - - expect(el.open).to.be.true; - - closed = oneEvent(el, 'sp-closed'); - item2.click(); - await closed; - await nextFrame(); - await nextFrame(); - - await elementUpdated(el); - - expect(el.open).to.be.false; - expect(el.selectedItem?.itemText).to.equal('Option 1'); - expect(secondItemSpy.called, '2nd called').to.be.true; - expect(secondItemSpy.calledOnce, '2nd called once').to.be.true; - main.click(); - - await elementUpdated(el); - - expect(firstItemSpy.called).to.be.true; - expect(firstItemSpy.calledTwice, '1st called twice').to.be.true; - }); -} diff --git a/packages/split-button/test/split-button-memory.test.ts b/packages/split-button/test/split-button-memory.test.ts deleted file mode 100644 index 43a4225dbb..0000000000 --- a/packages/split-button/test/split-button-memory.test.ts +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright 2023 Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. -*/ - -import { html } from '@open-wc/testing'; -import '@spectrum-web-components/split-button/sp-split-button.js'; -import { testForMemoryLeaks } from '../../../test/testing-helpers.js'; - -testForMemoryLeaks(html` - -`); diff --git a/packages/split-button/test/split-button-sync.test.ts b/packages/split-button/test/split-button-sync.test.ts deleted file mode 100644 index d213da8c88..0000000000 --- a/packages/split-button/test/split-button-sync.test.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* -Copyright 2020 Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. -*/ - -import '@spectrum-web-components/split-button/sync/sp-split-button.js'; -import { html, TemplateResult } from '@spectrum-web-components/base'; -import { runSplitButtonTests } from './index.js'; - -// wrap in div method - -function wrapInDiv(storyArgument: TemplateResult): TemplateResult { - return html` -
${storyArgument}
- `; -} - -const deprecatedMenu = (): TemplateResult => html` - - Option 1 - Option Extended - Short - -`; - -describe('Splitbutton', () => { - runSplitButtonTests(wrapInDiv, deprecatedMenu); -}); diff --git a/packages/split-button/test/split-button.test.ts b/packages/split-button/test/split-button.test.ts deleted file mode 100644 index ee9a5f1681..0000000000 --- a/packages/split-button/test/split-button.test.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* -Copyright 2020 Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. -*/ - -import '@spectrum-web-components/split-button/sp-split-button.js'; -import { html, TemplateResult } from '@spectrum-web-components/base'; -import { runSplitButtonTests } from './index.js'; - -// wrap in div method - -function wrapInDiv(storyArgument: TemplateResult): TemplateResult { - return html` -
${storyArgument}
- `; -} - -const deprecatedMenu = (): TemplateResult => html` - - Option 1 - Option Extended - Short - -`; - -describe('Splitbutton', () => { - runSplitButtonTests(wrapInDiv, deprecatedMenu); -}); diff --git a/packages/split-button/tsconfig.json b/packages/split-button/tsconfig.json deleted file mode 100644 index 3f8737bc5a..0000000000 --- a/packages/split-button/tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "compilerOptions": { - "composite": true, - "rootDir": "./" - }, - "include": ["*.ts", "src/*.ts", "sync/*.ts"], - "exclude": ["test/*.ts", "stories/*.ts"], - "references": [ - { "path": "../button" }, - { "path": "../icon" }, - { "path": "../icons-ui" }, - { "path": "../icons-workflow" }, - { "path": "../overlay" } - ] -} diff --git a/packages/split-view/package.json b/packages/split-view/package.json index 0498e33397..69efecfa57 100644 --- a/packages/split-view/package.json +++ b/packages/split-view/package.json @@ -33,6 +33,7 @@ "development": "./src/index.dev.js", "default": "./src/index.js" }, + "./src/split-view-overrides.css.js": "./src/split-view-overrides.css.js", "./src/split-view.css.js": "./src/split-view.css.js", "./src/types.js": { "development": "./src/types.dev.js", @@ -64,7 +65,7 @@ "@spectrum-web-components/base": "^0.49.0" }, "devDependencies": { - "@spectrum-css/splitview": "^5.1.0" + "@spectrum-css/splitview": "^6.0.0-s2-foundations.15" }, "types": "./src/index.d.ts", "customElements": "custom-elements.json", diff --git a/packages/split-view/src/spectrum-split-view.css b/packages/split-view/src/spectrum-split-view.css index c354599ca2..bd59407e2e 100644 --- a/packages/split-view/src/spectrum-split-view.css +++ b/packages/split-view/src/spectrum-split-view.css @@ -12,29 +12,6 @@ governing permissions and limitations under the License. /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ :host { - --spectrum-splitview-vertical-width: 100%; - --spectrum-splitview-vertical-gripper-width: 50%; - --spectrum-splitview-vertical-gripper-outer-width: 100%; - --spectrum-splitview-vertical-gripper-reset: 0; - --spectrum-splitview-background-color: var(--spectrum-gray-100); - --spectrum-splitview-handle-background-color: var(--spectrum-gray-300); - --spectrum-splitview-handle-background-color-hover: var( - --spectrum-gray-400 - ); - --spectrum-splitview-handle-background-color-down: var(--spectrum-gray-800); - --spectrum-splitview-handle-background-color-focus: var( - --spectrum-focus-indicator-color - ); - --spectrum-splitview-handle-width: var(--spectrum-border-width-200); - --spectrum-splitview-gripper-border-radius: var( - --spectrum-corner-radius-75 - ); - --spectrum-splitview-gripper-width: var(--spectrum-border-width-400); - --spectrum-splitview-gripper-height: 16px; - --spectrum-splitview-gripper-border-width-horizontal: 3px; - --spectrum-splitview-gripper-border-width-vertical: var( - --spectrum-border-width-400 - ); display: flex; overflow: hidden; } @@ -45,6 +22,10 @@ governing permissions and limitations under the License. --mod-splitview-background-color, var(--spectrum-splitview-background-color) ); + color: var( + --mod-splitview-content-color, + var(--spectrum-splitview-content-color) + ); } #gripper { diff --git a/packages/split-view/src/split-view-overrides.css b/packages/split-view/src/split-view-overrides.css new file mode 100644 index 0000000000..bf8a6170f7 --- /dev/null +++ b/packages/split-view/src/split-view-overrides.css @@ -0,0 +1,57 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host { + --spectrum-splitview-vertical-width: var( + --system-split-view-vertical-width + ); + --spectrum-splitview-vertical-gripper-width: var( + --system-split-view-vertical-gripper-width + ); + --spectrum-splitview-vertical-gripper-outer-width: var( + --system-split-view-vertical-gripper-outer-width + ); + --spectrum-splitview-vertical-gripper-reset: var( + --system-split-view-vertical-gripper-reset + ); + --spectrum-splitview-background-color: var( + --system-split-view-background-color + ); + --spectrum-splitview-content-color: var(--system-split-view-content-color); + --spectrum-splitview-handle-background-color: var( + --system-split-view-handle-background-color + ); + --spectrum-splitview-handle-background-color-hover: var( + --system-split-view-handle-background-color-hover + ); + --spectrum-splitview-handle-background-color-down: var( + --system-split-view-handle-background-color-down + ); + --spectrum-splitview-handle-background-color-focus: var( + --system-split-view-handle-background-color-focus + ); + --spectrum-splitview-handle-width: var(--system-split-view-handle-width); + --spectrum-splitview-gripper-border-radius: var( + --system-split-view-gripper-border-radius + ); + --spectrum-splitview-gripper-width: var(--system-split-view-gripper-width); + --spectrum-splitview-gripper-height: var( + --system-split-view-gripper-height + ); + --spectrum-splitview-gripper-border-width-horizontal: var( + --system-split-view-gripper-border-width-horizontal + ); + --spectrum-splitview-gripper-border-width-vertical: var( + --system-split-view-gripper-border-width-vertical + ); +} diff --git a/packages/split-view/src/split-view.css b/packages/split-view/src/split-view.css index d29f9944d0..2d065b3f34 100644 --- a/packages/split-view/src/split-view.css +++ b/packages/split-view/src/split-view.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-split-view.css'); +@import url('./split-view-overrides.css'); :host { --spectrum-split-view-first-pane-size: 50%; diff --git a/packages/status-light/package.json b/packages/status-light/package.json index 76a50a9b59..283dad1a4f 100644 --- a/packages/status-light/package.json +++ b/packages/status-light/package.json @@ -33,6 +33,7 @@ "development": "./src/index.dev.js", "default": "./src/index.js" }, + "./src/status-light-overrides.css.js": "./src/status-light-overrides.css.js", "./src/status-light.css.js": "./src/status-light.css.js", "./sp-status-light.js": { "development": "./sp-status-light.dev.js", @@ -60,7 +61,7 @@ "@spectrum-web-components/base": "^0.49.0" }, "devDependencies": { - "@spectrum-css/statuslight": "^7.1.0" + "@spectrum-css/statuslight": "^8.0.0-s2-foundations.15" }, "types": "./src/index.d.ts", "customElements": "custom-elements.json", diff --git a/packages/status-light/src/spectrum-status-light.css b/packages/status-light/src/spectrum-status-light.css index 0f78521f12..801a523072 100644 --- a/packages/status-light/src/spectrum-status-light.css +++ b/packages/status-light/src/spectrum-status-light.css @@ -11,193 +11,6 @@ governing permissions and limitations under the License. */ /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ -:host([dir]) { - --spectrum-statuslight-corner-radius: 50%; - --spectrum-statuslight-font-weight: 400; - --spectrum-statuslight-border-width: var(--spectrum-border-width-100); - --spectrum-statuslight-height: var(--spectrum-component-height-100); - --spectrum-statuslight-dot-size: var( - --spectrum-status-light-dot-size-medium - ); - --spectrum-statuslight-line-height: var(--spectrum-line-height-100); - --spectrum-statuslight-line-height-cjk: var(--spectrum-cjk-line-height-100); - --spectrum-statuslight-font-size: var(--spectrum-font-size-100); - --spectrum-statuslight-spacing-dot-to-label: var( - --spectrum-text-to-visual-100 - ); - --spectrum-statuslight-spacing-top-to-dot: var( - --spectrum-status-light-top-to-dot-medium - ); - --spectrum-statuslight-spacing-top-to-label: var( - --spectrum-component-top-to-text-100 - ); - --spectrum-statuslight-spacing-bottom-to-label: var( - --spectrum-component-bottom-to-text-100 - ); - --spectrum-statuslight-content-color-default: var( - --spectrum-neutral-content-color-default - ); - --spectrum-statuslight-subdued-content-color-default: var( - --spectrum-neutral-subdued-content-color-default - ); - --spectrum-statuslight-semantic-neutral-color: var( - --spectrum-neutral-visual-color - ); - --spectrum-statuslight-semantic-accent-color: var( - --spectrum-accent-visual-color - ); - --spectrum-statuslight-semantic-negative-color: var( - --spectrum-negative-visual-color - ); - --spectrum-statuslight-semantic-info-color: var( - --spectrum-informative-visual-color - ); - --spectrum-statuslight-semantic-notice-color: var( - --spectrum-notice-visual-color - ); - --spectrum-statuslight-semantic-positive-color: var( - --spectrum-positive-visual-color - ); - --spectrum-statuslight-nonsemantic-gray-color: var( - --spectrum-gray-visual-color - ); - --spectrum-statuslight-nonsemantic-red-color: var( - --spectrum-red-visual-color - ); - --spectrum-statuslight-nonsemantic-orange-color: var( - --spectrum-orange-visual-color - ); - --spectrum-statuslight-nonsemantic-yellow-color: var( - --spectrum-yellow-visual-color - ); - --spectrum-statuslight-nonsemantic-chartreuse-color: var( - --spectrum-chartreuse-visual-color - ); - --spectrum-statuslight-nonsemantic-celery-color: var( - --spectrum-celery-visual-color - ); - --spectrum-statuslight-nonsemantic-green-color: var( - --spectrum-green-visual-color - ); - --spectrum-statuslight-nonsemantic-seafoam-color: var( - --spectrum-seafoam-visual-color - ); - --spectrum-statuslight-nonsemantic-cyan-color: var( - --spectrum-cyan-visual-color - ); - --spectrum-statuslight-nonsemantic-blue-color: var( - --spectrum-blue-visual-color - ); - --spectrum-statuslight-nonsemantic-indigo-color: var( - --spectrum-indigo-visual-color - ); - --spectrum-statuslight-nonsemantic-purple-color: var( - --spectrum-purple-visual-color - ); - --spectrum-statuslight-nonsemantic-fuchsia-color: var( - --spectrum-fuchsia-visual-color - ); - --spectrum-statuslight-nonsemantic-magenta-color: var( - --spectrum-magenta-visual-color - ); -} - -:host([size='s']) { - --spectrum-statuslight-height: var(--spectrum-component-height-75); - --spectrum-statuslight-dot-size: var( - --spectrum-status-light-dot-size-small - ); - --spectrum-statuslight-font-size: var(--spectrum-font-size-75); - --spectrum-statuslight-spacing-dot-to-label: var( - --spectrum-text-to-visual-75 - ); - --spectrum-statuslight-spacing-top-to-dot: var( - --spectrum-status-light-top-to-dot-small - ); - --spectrum-statuslight-spacing-top-to-label: var( - --spectrum-component-top-to-text-75 - ); - --spectrum-statuslight-spacing-bottom-to-label: var( - --spectrum-component-bottom-to-text-75 - ); -} - -:host { - --spectrum-statuslight-height: var(--spectrum-component-height-100); - --spectrum-statuslight-dot-size: var( - --spectrum-status-light-dot-size-medium - ); - --spectrum-statuslight-font-size: var(--spectrum-font-size-100); - --spectrum-statuslight-spacing-dot-to-label: var( - --spectrum-text-to-visual-100 - ); - --spectrum-statuslight-spacing-top-to-dot: var( - --spectrum-status-light-top-to-dot-medium - ); - --spectrum-statuslight-spacing-top-to-label: var( - --spectrum-component-top-to-text-100 - ); - --spectrum-statuslight-spacing-bottom-to-label: var( - --spectrum-component-bottom-to-text-100 - ); -} - -:host([size='l']) { - --spectrum-statuslight-height: var(--spectrum-component-height-200); - --spectrum-statuslight-dot-size: var( - --spectrum-status-light-dot-size-large - ); - --spectrum-statuslight-font-size: var(--spectrum-font-size-200); - --spectrum-statuslight-spacing-dot-to-label: var( - --spectrum-text-to-visual-200 - ); - --spectrum-statuslight-spacing-top-to-dot: var( - --spectrum-status-light-top-to-dot-large - ); - --spectrum-statuslight-spacing-top-to-label: var( - --spectrum-component-top-to-text-200 - ); - --spectrum-statuslight-spacing-bottom-to-label: var( - --spectrum-component-bottom-to-text-200 - ); -} - -:host([size='xl']) { - --spectrum-statuslight-height: var(--spectrum-component-height-300); - --spectrum-statuslight-dot-size: var( - --spectrum-status-light-dot-size-extra-large - ); - --spectrum-statuslight-font-size: var(--spectrum-font-size-300); - --spectrum-statuslight-spacing-dot-to-label: var( - --spectrum-text-to-visual-300 - ); - --spectrum-statuslight-spacing-top-to-dot: var( - --spectrum-status-light-top-to-dot-extra-large - ); - --spectrum-statuslight-spacing-top-to-label: var( - --spectrum-component-top-to-text-300 - ); - --spectrum-statuslight-spacing-bottom-to-label: var( - --spectrum-component-bottom-to-text-300 - ); -} - -@media (forced-colors: active) { - :host([dir]) { - forced-color-adjust: none; - --highcontrast-statuslight-content-color-default: CanvasText; - --highcontrast-statuslight-subdued-content-color-default: CanvasText; - } - - :host:before { - border: var( - --mod-statuslight-border-width, - var(--spectrum-statuslight-border-width) - ) - solid ButtonText; - } -} - :host([dir]) { min-block-size: var( --mod-statuslight-height, @@ -247,6 +60,16 @@ governing permissions and limitations under the License. } :host:before { + --spectrum-statuslight-spacing-computed-top-to-dot: calc( + var( + --mod-statuslight-spacing-top-to-dot, + var(--spectrum-statuslight-spacing-top-to-dot) + ) - + var( + --mod-statuslight-spacing-top-to-label, + var(--spectrum-statuslight-spacing-top-to-label) + ) + ); content: ''; inline-size: var( --mod-statuslight-dot-size, @@ -260,18 +83,6 @@ governing permissions and limitations under the License. --mod-statuslight-corner-radius, var(--spectrum-statuslight-corner-radius) ); - --spectrum-statuslight-spacing-computed-top-to-dot: calc( - var( - --mod-statuslight-spacing-top-to-dot, - var(--spectrum-statuslight-spacing-top-to-dot) - ) - - var( - --mod-statuslight-spacing-top-to-label, - var(--spectrum-statuslight-spacing-top-to-label) - ) - ); - -ms-high-contrast-adjust: none; - forced-color-adjust: none; flex-grow: 0; flex-shrink: 0; margin-block-start: var(--spectrum-statuslight-spacing-computed-top-to-dot); @@ -432,3 +243,20 @@ governing permissions and limitations under the License. var(--spectrum-statuslight-nonsemantic-magenta-color) ); } + +@media (forced-colors: active) { + :host([dir]) { + --highcontrast-statuslight-content-color-default: CanvasText; + --highcontrast-statuslight-subdued-content-color-default: CanvasText; + forced-color-adjust: none; + } + + :host:before { + forced-color-adjust: none; + border: var( + --mod-statuslight-border-width, + var(--spectrum-statuslight-border-width) + ) + solid ButtonText; + } +} diff --git a/packages/status-light/src/status-light-overrides.css b/packages/status-light/src/status-light-overrides.css new file mode 100644 index 0000000000..9e4b38fe6c --- /dev/null +++ b/packages/status-light/src/status-light-overrides.css @@ -0,0 +1,189 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host([dir]) { + --spectrum-statuslight-corner-radius: var( + --system-status-light-corner-radius + ); + --spectrum-statuslight-font-weight: var(--system-status-light-font-weight); + --spectrum-statuslight-border-width: var( + --system-status-light-border-width + ); + --spectrum-statuslight-height: var(--system-status-light-height); + --spectrum-statuslight-dot-size: var(--system-status-light-dot-size); + --spectrum-statuslight-line-height: var(--system-status-light-line-height); + --spectrum-statuslight-line-height-cjk: var( + --system-status-light-line-height-cjk + ); + --spectrum-statuslight-font-size: var(--system-status-light-font-size); + --spectrum-statuslight-spacing-dot-to-label: var( + --system-status-light-spacing-dot-to-label + ); + --spectrum-statuslight-spacing-top-to-dot: var( + --system-status-light-spacing-top-to-dot + ); + --spectrum-statuslight-spacing-top-to-label: var( + --system-status-light-spacing-top-to-label + ); + --spectrum-statuslight-spacing-bottom-to-label: var( + --system-status-light-spacing-bottom-to-label + ); + --spectrum-statuslight-content-color-default: var( + --system-status-light-content-color-default + ); + --spectrum-statuslight-subdued-content-color-default: var( + --system-status-light-subdued-content-color-default + ); + --spectrum-statuslight-semantic-neutral-color: var( + --system-status-light-semantic-neutral-color + ); + --spectrum-statuslight-semantic-accent-color: var( + --system-status-light-semantic-accent-color + ); + --spectrum-statuslight-semantic-negative-color: var( + --system-status-light-semantic-negative-color + ); + --spectrum-statuslight-semantic-info-color: var( + --system-status-light-semantic-info-color + ); + --spectrum-statuslight-semantic-notice-color: var( + --system-status-light-semantic-notice-color + ); + --spectrum-statuslight-semantic-positive-color: var( + --system-status-light-semantic-positive-color + ); + --spectrum-statuslight-nonsemantic-gray-color: var( + --system-status-light-nonsemantic-gray-color + ); + --spectrum-statuslight-nonsemantic-red-color: var( + --system-status-light-nonsemantic-red-color + ); + --spectrum-statuslight-nonsemantic-orange-color: var( + --system-status-light-nonsemantic-orange-color + ); + --spectrum-statuslight-nonsemantic-yellow-color: var( + --system-status-light-nonsemantic-yellow-color + ); + --spectrum-statuslight-nonsemantic-chartreuse-color: var( + --system-status-light-nonsemantic-chartreuse-color + ); + --spectrum-statuslight-nonsemantic-celery-color: var( + --system-status-light-nonsemantic-celery-color + ); + --spectrum-statuslight-nonsemantic-green-color: var( + --system-status-light-nonsemantic-green-color + ); + --spectrum-statuslight-nonsemantic-seafoam-color: var( + --system-status-light-nonsemantic-seafoam-color + ); + --spectrum-statuslight-nonsemantic-cyan-color: var( + --system-status-light-nonsemantic-cyan-color + ); + --spectrum-statuslight-nonsemantic-blue-color: var( + --system-status-light-nonsemantic-blue-color + ); + --spectrum-statuslight-nonsemantic-indigo-color: var( + --system-status-light-nonsemantic-indigo-color + ); + --spectrum-statuslight-nonsemantic-purple-color: var( + --system-status-light-nonsemantic-purple-color + ); + --spectrum-statuslight-nonsemantic-fuchsia-color: var( + --system-status-light-nonsemantic-fuchsia-color + ); + --spectrum-statuslight-nonsemantic-magenta-color: var( + --system-status-light-nonsemantic-magenta-color + ); +} + +:host([size='s']) { + --spectrum-statuslight-height: var(--system-status-light-size-s-height); + --spectrum-statuslight-dot-size: var(--system-status-light-size-s-dot-size); + --spectrum-statuslight-font-size: var( + --system-status-light-size-s-font-size + ); + --spectrum-statuslight-spacing-dot-to-label: var( + --system-status-light-size-s-spacing-dot-to-label + ); + --spectrum-statuslight-spacing-top-to-dot: var( + --system-status-light-size-s-spacing-top-to-dot + ); + --spectrum-statuslight-spacing-top-to-label: var( + --system-status-light-size-s-spacing-top-to-label + ); + --spectrum-statuslight-spacing-bottom-to-label: var( + --system-status-light-size-s-spacing-bottom-to-label + ); +} + +:host { + --spectrum-statuslight-height: var(--system-status-light-size-m-height); + --spectrum-statuslight-dot-size: var(--system-status-light-size-m-dot-size); + --spectrum-statuslight-font-size: var( + --system-status-light-size-m-font-size + ); + --spectrum-statuslight-spacing-dot-to-label: var( + --system-status-light-size-m-spacing-dot-to-label + ); + --spectrum-statuslight-spacing-top-to-dot: var( + --system-status-light-size-m-spacing-top-to-dot + ); + --spectrum-statuslight-spacing-top-to-label: var( + --system-status-light-size-m-spacing-top-to-label + ); + --spectrum-statuslight-spacing-bottom-to-label: var( + --system-status-light-size-m-spacing-bottom-to-label + ); +} + +:host([size='l']) { + --spectrum-statuslight-height: var(--system-status-light-size-l-height); + --spectrum-statuslight-dot-size: var(--system-status-light-size-l-dot-size); + --spectrum-statuslight-font-size: var( + --system-status-light-size-l-font-size + ); + --spectrum-statuslight-spacing-dot-to-label: var( + --system-status-light-size-l-spacing-dot-to-label + ); + --spectrum-statuslight-spacing-top-to-dot: var( + --system-status-light-size-l-spacing-top-to-dot + ); + --spectrum-statuslight-spacing-top-to-label: var( + --system-status-light-size-l-spacing-top-to-label + ); + --spectrum-statuslight-spacing-bottom-to-label: var( + --system-status-light-size-l-spacing-bottom-to-label + ); +} + +:host([size='xl']) { + --spectrum-statuslight-height: var(--system-status-light-size-xl-height); + --spectrum-statuslight-dot-size: var( + --system-status-light-size-xl-dot-size + ); + --spectrum-statuslight-font-size: var( + --system-status-light-size-xl-font-size + ); + --spectrum-statuslight-spacing-dot-to-label: var( + --system-status-light-size-xl-spacing-dot-to-label + ); + --spectrum-statuslight-spacing-top-to-dot: var( + --system-status-light-size-xl-spacing-top-to-dot + ); + --spectrum-statuslight-spacing-top-to-label: var( + --system-status-light-size-xl-spacing-top-to-label + ); + --spectrum-statuslight-spacing-bottom-to-label: var( + --system-status-light-size-xl-spacing-bottom-to-label + ); +} diff --git a/packages/status-light/src/status-light.css b/packages/status-light/src/status-light.css index 7bcaadfc19..f1bc71cd83 100644 --- a/packages/status-light/src/status-light.css +++ b/packages/status-light/src/status-light.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-status-light.css'); +@import url('./status-light-overrides.css'); /* Force cascade position of [disabled] styling */ :host([disabled]):before { diff --git a/packages/swatch/package.json b/packages/swatch/package.json index db8f190c54..9b73ccb4f1 100644 --- a/packages/swatch/package.json +++ b/packages/swatch/package.json @@ -37,7 +37,9 @@ "development": "./src/index.dev.js", "default": "./src/index.js" }, + "./src/swatch-group-overrides.css.js": "./src/swatch-group-overrides.css.js", "./src/swatch-group.css.js": "./src/swatch-group.css.js", + "./src/swatch-overrides.css.js": "./src/swatch-overrides.css.js", "./src/swatch.css.js": "./src/swatch.css.js", "./sp-swatch.js": { "development": "./sp-swatch.dev.js", @@ -75,8 +77,8 @@ "@spectrum-web-components/shared": "^0.49.0" }, "devDependencies": { - "@spectrum-css/swatch": "^6.1.0", - "@spectrum-css/swatchgroup": "^3.1.0" + "@spectrum-css/swatch": "^7.0.0-s2-foundations.17", + "@spectrum-css/swatchgroup": "^4.0.0-s2-foundations.15" }, "types": "./src/index.d.ts", "customElements": "custom-elements.json", diff --git a/packages/swatch/src/Swatch.ts b/packages/swatch/src/Swatch.ts index 0801d37d1a..7077cd3e35 100644 --- a/packages/swatch/src/Swatch.ts +++ b/packages/swatch/src/Swatch.ts @@ -30,6 +30,7 @@ import '@spectrum-web-components/icons-ui/icons/sp-icon-dash300.js'; import styles from './swatch.css.js'; import dashStyles from '@spectrum-web-components/icon/src/spectrum-icon-dash.css.js'; +import dashSmallOverrides from '@spectrum-web-components/icon/src/icon-dash-overrides.css.js'; export type SwatchBorder = 'light' | 'none' | undefined; export type SwatchRounding = 'none' | 'full' | undefined; @@ -70,7 +71,12 @@ export class Swatch extends SizedMixin(Focusable, { noDefaultSize: true, }) { public static override get styles(): CSSResultArray { - return [opacityCheckerboardStyles, styles, dashStyles]; + return [ + opacityCheckerboardStyles, + styles, + dashStyles, + dashSmallOverrides, + ]; } @property({ reflect: true }) diff --git a/packages/swatch/src/spectrum-swatch-group.css b/packages/swatch/src/spectrum-swatch-group.css index 73e5976942..e0a56e8fc6 100644 --- a/packages/swatch/src/spectrum-swatch-group.css +++ b/packages/swatch/src/spectrum-swatch-group.css @@ -12,9 +12,6 @@ governing permissions and limitations under the License. /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ :host { - --spectrum-swatchgroup-spacing-compact: var(--spectrum-spacing-50); - --spectrum-swatchgroup-spacing-regular: var(--spectrum-spacing-75); - --spectrum-swatchgroup-spacing-spacious: var(--spectrum-spacing-100); justify-content: flex-start; align-items: flex-start; gap: var( diff --git a/packages/swatch/src/spectrum-swatch.css b/packages/swatch/src/spectrum-swatch.css index 22b6a24120..2af7c1ac63 100644 --- a/packages/swatch/src/spectrum-swatch.css +++ b/packages/swatch/src/spectrum-swatch.css @@ -11,72 +11,6 @@ governing permissions and limitations under the License. */ /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ -:host { - --spectrum-swatch-focus-indicator-border-radius: 8px; - --spectrum-swatch-icon-border-color: #00000082; - --spectrum-swatch-size: var(--spectrum-swatch-size-small); - --spectrum-swatch-border-radius: var(--spectrum-corner-radius-100); - --spectrum-swatch-border-thickness: var(--spectrum-border-width-100); - --spectrum-swatch-border-thickness-selected: var( - --spectrum-border-width-200 - ); - --spectrum-swatch-disabled-icon-size: var(--spectrum-workflow-icon-size-75); - --spectrum-swatch-slash-thickness: var( - --spectrum-swatch-slash-thickness-small - ); - --spectrum-swatch-focus-indicator-thickness: var( - --spectrum-focus-indicator-thickness - ); - --spectrum-swatch-focus-indicator-gap: var(--spectrum-focus-indicator-gap); - --spectrum-swatch-border-color-selected: var(--spectrum-gray-900); - --spectrum-swatch-inner-border-color-selected: var(--spectrum-gray-50); - --spectrum-swatch-disabled-icon-border-color: var( - --spectrum-swatch-disabled-icon-border-color - ); - --spectrum-swatch-disabled-icon-color: var(--spectrum-white); - --spectrum-swatch-dash-icon-color: var(--spectrum-gray-800); - --spectrum-swatch-slash-icon-color: var(--spectrum-red-900); - --spectrum-swatch-focus-indicator-color: var( - --spectrum-focus-indicator-color - ); -} - -:host([size='xs']) { - --spectrum-swatch-size: var(--spectrum-swatch-size-extra-small); - --spectrum-swatch-disabled-icon-size: var(--spectrum-workflow-icon-size-50); - --spectrum-swatch-slash-thickness: var( - --spectrum-swatch-slash-thickness-extra-small - ); -} - -:host([size='s']) { - --spectrum-swatch-size: var(--spectrum-swatch-size-small); - --spectrum-swatch-disabled-icon-size: var(--spectrum-workflow-icon-size-75); - --spectrum-swatch-slash-thickness: var( - --spectrum-swatch-slash-thickness-small - ); -} - -:host { - --spectrum-swatch-size: var(--spectrum-swatch-size-medium); - --spectrum-swatch-disabled-icon-size: var( - --spectrum-workflow-icon-size-100 - ); - --spectrum-swatch-slash-thickness: var( - --spectrum-swatch-slash-thickness-medium - ); -} - -:host([size='l']) { - --spectrum-swatch-size: var(--spectrum-swatch-size-large); - --spectrum-swatch-disabled-icon-size: var( - --spectrum-workflow-icon-size-200 - ); - --spectrum-swatch-slash-thickness: var( - --spectrum-swatch-slash-thickness-large - ); -} - @media (forced-colors: active) { :host { --highcontrast-swatch-disabled-icon-color: GrayText; @@ -210,6 +144,7 @@ governing permissions and limitations under the License. } :host([mixed-value]) .fill { + background: none; background: var(--spectrum-picked-color, transparent); } @@ -219,6 +154,7 @@ governing permissions and limitations under the License. } :host([nothing]) .fill { + background-color: initial; background-color: var(--spectrum-picked-color, transparent); background-image: none; } @@ -312,6 +248,10 @@ governing permissions and limitations under the License. inline-size: 100%; block-size: 100%; box-sizing: border-box; + border-radius: var( + --mod-swatch-border-radius, + var(--spectrum-swatch-border-radius) + ); justify-content: center; align-items: center; display: flex; @@ -319,18 +259,9 @@ governing permissions and limitations under the License. overflow: hidden; } -.fill, -.fill:before { - border-radius: var( - --mod-swatch-border-radius, - var(--spectrum-swatch-border-radius) - ); -} - .fill:before { content: ''; z-index: 0; - background-color: var(--spectrum-picked-color, transparent); box-shadow: inset 0 0 0 var( --mod-swatch-border-thickness, @@ -340,17 +271,42 @@ governing permissions and limitations under the License. --highcontrast-swatch-border-color, var(--mod-swatch-border-color, var(--spectrum-swatch-border-color)) ); + border-radius: var( + --mod-swatch-border-radius, + var(--spectrum-swatch-border-radius) + ); position: absolute; inset: 0; } +:host([border='none']) .fill:before, +.fill:before { + background-color: initial; + background-color: var(--spectrum-picked-color, transparent); +} + :host([border='none']) .fill:before { box-shadow: none; - background-color: var(--spectrum-picked-color, transparent); +} + +:host([border='light']) .fill:before { + box-shadow: inset 0 0 0 + var( + --mod-swatch-border-thickness, + var(--spectrum-swatch-border-thickness) + ) + var( + --highcontrast-swatch-border-color-light, + var( + --mod-swatch-border-color-light, + var(--spectrum-swatch-border-color-light) + ) + ); } .mixedValueIcon { pointer-events: none; + color: #0000; color: var(--spectrum-picked-color, transparent); display: none; } diff --git a/packages/swatch/src/swatch-group-overrides.css b/packages/swatch/src/swatch-group-overrides.css new file mode 100644 index 0000000000..74e554f225 --- /dev/null +++ b/packages/swatch/src/swatch-group-overrides.css @@ -0,0 +1,24 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host { + --spectrum-swatchgroup-spacing-compact: var( + --system-swatch-group-spacing-compact + ); + --spectrum-swatchgroup-spacing-regular: var( + --system-swatch-group-spacing-regular + ); + --spectrum-swatchgroup-spacing-spacious: var( + --system-swatch-group-spacing-spacious + ); +} diff --git a/packages/swatch/src/swatch-group.css b/packages/swatch/src/swatch-group.css index 03e95742a6..8a55d2eb97 100644 --- a/packages/swatch/src/swatch-group.css +++ b/packages/swatch/src/swatch-group.css @@ -11,3 +11,4 @@ governing permissions and limitations under the License. */ @import url('./spectrum-swatch-group.css'); +@import url('./swatch-group-overrides.css'); diff --git a/packages/swatch/src/swatch-overrides.css b/packages/swatch/src/swatch-overrides.css new file mode 100644 index 0000000000..82354bbb92 --- /dev/null +++ b/packages/swatch/src/swatch-overrides.css @@ -0,0 +1,99 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host([size='l']) { + --spectrum-swatch-size: var(--system-swatch-size-l-size); + --spectrum-swatch-disabled-icon-size: var( + --system-swatch-size-l-disabled-icon-size + ); + --spectrum-swatch-slash-thickness: var( + --system-swatch-size-l-slash-thickness + ); +} + +:host([size='s']) { + --spectrum-swatch-size: var(--system-swatch-size-s-size); + --spectrum-swatch-disabled-icon-size: var( + --system-swatch-size-s-disabled-icon-size + ); + --spectrum-swatch-slash-thickness: var( + --system-swatch-size-s-slash-thickness + ); +} + +:host([size='xs']) { + --spectrum-swatch-size: var(--system-swatch-size-xs-size); + --spectrum-swatch-disabled-icon-size: var( + --system-swatch-size-xs-disabled-icon-size + ); + --spectrum-swatch-slash-thickness: var( + --system-swatch-size-xs-slash-thickness + ); +} + +:host { + --spectrum-swatch-size: var(--system-swatch-size-m-size); + --spectrum-swatch-disabled-icon-size: var( + --system-swatch-size-m-disabled-icon-size + ); + --spectrum-swatch-slash-thickness: var( + --system-swatch-size-m-slash-thickness + ); +} + +:host { + --spectrum-swatch-border-radius: var(--system-swatch-border-radius); + --spectrum-swatch-focus-indicator-border-radius: var( + --system-swatch-focus-indicator-border-radius + ); + --spectrum-swatch-border-thickness: var(--system-swatch-border-thickness); + --spectrum-swatch-border-thickness-selected: var( + --system-swatch-border-thickness-selected + ); + --spectrum-swatch-focus-indicator-thickness: var( + --system-swatch-focus-indicator-thickness + ); + --spectrum-swatch-focus-indicator-gap: var( + --system-swatch-focus-indicator-gap + ); + --spectrum-swatch-border-color-opacity: var( + --system-swatch-border-color-opacity + ); + --spectrum-swatch-border-color-light-opacity: var( + --system-swatch-border-color-light-opacity + ); + --spectrum-swatch-border-color: var(--system-swatch-border-color); + --spectrum-swatch-icon-border-color: var(--system-swatch-icon-border-color); + --spectrum-swatch-border-color-light: var( + --system-swatch-border-color-light + ); + --spectrum-swatch-border-color-selected: var( + --system-swatch-border-color-selected + ); + --spectrum-swatch-inner-border-color-selected: var( + --system-swatch-inner-border-color-selected + ); + --spectrum-swatch-disabled-icon-color: var( + --system-swatch-disabled-icon-color + ); + --spectrum-swatch-dash-icon-color: var(--system-swatch-dash-icon-color); + --spectrum-swatch-slash-icon-color: var(--system-swatch-slash-icon-color); + --spectrum-swatch-focus-indicator-color: var( + --system-swatch-focus-indicator-color + ); + --spectrum-swatch-size: var(--system-swatch-size); + --spectrum-swatch-disabled-icon-size: var( + --system-swatch-disabled-icon-size + ); + --spectrum-swatch-slash-thickness: var(--system-swatch-slash-thickness); +} diff --git a/packages/swatch/src/swatch.css b/packages/swatch/src/swatch.css index de55830647..bacc4afb4d 100644 --- a/packages/swatch/src/swatch.css +++ b/packages/swatch/src/swatch.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-swatch.css'); +@import url('./swatch-overrides.css'); /** * Begin work around for https://github.com/adobe/spectrum-css/issues/1460 diff --git a/packages/switch/package.json b/packages/switch/package.json index 9cf1b91310..ea1873cb9d 100644 --- a/packages/switch/package.json +++ b/packages/switch/package.json @@ -34,6 +34,7 @@ "default": "./src/index.js" }, "./src/switch-legacy.css.js": "./src/switch-legacy.css.js", + "./src/switch-overrides.css.js": "./src/switch-overrides.css.js", "./src/switch.css.js": "./src/switch.css.js", "./sp-switch.js": { "development": "./sp-switch.dev.js", @@ -62,7 +63,7 @@ "@spectrum-web-components/checkbox": "^0.49.0" }, "devDependencies": { - "@spectrum-css/switch": "^5.1.0" + "@spectrum-css/switch": "^6.0.0-s2-foundations.16" }, "types": "./src/index.d.ts", "customElements": "custom-elements.json", diff --git a/packages/switch/src/spectrum-switch.css b/packages/switch/src/spectrum-switch.css index 6a7a08770d..2dcc0d89f1 100644 --- a/packages/switch/src/spectrum-switch.css +++ b/packages/switch/src/spectrum-switch.css @@ -12,159 +12,10 @@ governing permissions and limitations under the License. /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ :host { - --spectrum-switch-label-color-default: var( - --spectrum-neutral-content-color-default - ); - --spectrum-switch-label-color-hover: var( - --spectrum-neutral-content-color-hover - ); - --spectrum-switch-label-color-down: var( - --spectrum-neutral-content-color-down - ); - --spectrum-switch-label-color-focus: var( - --spectrum-neutral-content-color-key-focus - ); - --spectrum-switch-label-color-disabled: var( - --spectrum-disabled-content-color - ); - --spectrum-switch-background-color: var(--spectrum-gray-300); - --spectrum-switch-background-color-disabled: var(--spectrum-gray-300); - --spectrum-switch-background-color-selected-disabled: var( - --spectrum-disabled-content-color - ); - --spectrum-switch-background-color-selected-default: var( - --spectrum-neutral-background-color-selected-default - ); - --spectrum-switch-background-color-selected-hover: var( - --spectrum-neutral-background-color-selected-hover - ); - --spectrum-switch-background-color-selected-down: var( - --spectrum-neutral-background-color-selected-down - ); - --spectrum-switch-background-color-selected-focus: var( - --spectrum-neutral-background-color-selected-key-focus - ); --spectrum-switch-focus-indicator-thickness: var( --mod-focus-indicator-thickness, var(--spectrum-focus-indicator-thickness) ); - --spectrum-switch-focus-indicator-color: var( - --spectrum-focus-indicator-color - ); - --spectrum-switch-handle-background-color: var(--spectrum-gray-75); - --spectrum-switch-handle-border-color-disabled: var( - --spectrum-disabled-content-color - ); -} - -:host([disabled]) { - --spectrum-switch-label-color-default: var( - --spectrum-disabled-content-color - ); -} - -:host([emphasized]) { - --spectrum-switch-background-color-selected-default: var( - --spectrum-accent-color-900 - ); - --spectrum-switch-background-color-selected-hover: var( - --spectrum-accent-color-1000 - ); - --spectrum-switch-background-color-selected-down: var( - --spectrum-accent-color-1100 - ); - --spectrum-switch-background-color-selected-focus: var( - --spectrum-accent-color-1000 - ); - --spectrum-switch-handle-border-color-selected-default: var( - --spectrum-accent-color-900 - ); - --spectrum-switch-handle-border-color-selected-hover: var( - --spectrum-accent-color-1000 - ); - --spectrum-switch-handle-border-color-selected-down: var( - --spectrum-accent-color-1100 - ); - --spectrum-switch-handle-border-color-selected-focus: var( - --spectrum-accent-color-1000 - ); -} - -:host([size='s']) { - --spectrum-switch-min-height: var(--spectrum-component-height-75); - --spectrum-switch-control-width: var(--spectrum-switch-control-width-small); - --spectrum-switch-control-height: var( - --spectrum-switch-control-height-small - ); - --spectrum-switch-control-label-spacing: var(--spectrum-text-to-control-75); - --spectrum-switch-spacing-top-to-control: var( - --spectrum-switch-top-to-control-small - ); - --spectrum-switch-spacing-top-to-label: var( - --spectrum-component-top-to-text-75 - ); - --spectrum-switch-font-size: var(--spectrum-font-size-75); -} - -:host { - --spectrum-switch-min-height: var(--spectrum-component-height-100); - --spectrum-switch-control-width: var( - --spectrum-switch-control-width-medium - ); - --spectrum-switch-control-height: var( - --spectrum-switch-control-height-medium - ); - --spectrum-switch-control-label-spacing: var( - --spectrum-text-to-control-100 - ); - --spectrum-switch-spacing-top-to-control: var( - --spectrum-switch-top-to-control-medium - ); - --spectrum-switch-spacing-top-to-label: var( - --spectrum-component-top-to-text-100 - ); - --spectrum-switch-font-size: var(--spectrum-font-size-100); -} - -:host([size='l']) { - --spectrum-switch-min-height: var(--spectrum-component-height-200); - --spectrum-switch-control-width: var(--spectrum-switch-control-width-large); - --spectrum-switch-control-height: var( - --spectrum-switch-control-height-large - ); - --spectrum-switch-control-label-spacing: var( - --spectrum-text-to-control-200 - ); - --spectrum-switch-spacing-top-to-control: var( - --spectrum-switch-top-to-control-large - ); - --spectrum-switch-spacing-top-to-label: var( - --spectrum-component-top-to-text-200 - ); - --spectrum-switch-font-size: var(--spectrum-font-size-200); -} - -:host([size='xl']) { - --spectrum-switch-min-height: var(--spectrum-component-height-300); - --spectrum-switch-control-width: var( - --spectrum-switch-control-width-extra-large - ); - --spectrum-switch-control-height: var( - --spectrum-switch-control-height-extra-large - ); - --spectrum-switch-control-label-spacing: var( - --spectrum-text-to-control-300 - ); - --spectrum-switch-spacing-top-to-control: var( - --spectrum-switch-top-to-control-extra-large - ); - --spectrum-switch-spacing-top-to-label: var( - --spectrum-component-top-to-text-300 - ); - --spectrum-switch-font-size: var(--spectrum-font-size-300); -} - -:host { min-block-size: var(--mod-switch-height, var(--spectrum-switch-min-height)); max-inline-size: 100%; vertical-align: top; @@ -445,7 +296,10 @@ governing permissions and limitations under the License. box-shadow: 0 0 0 var( --mod-switch-focus-indicator-thickness, - var(--spectrum-switch-focus-indicator-thickness) + var( + --mod-focus-indicator-thickness, + var(--spectrum-switch-focus-indicator-thickness) + ) ) var( --highcontrast-switch-focus-indicator-color, @@ -608,7 +462,10 @@ governing permissions and limitations under the License. box-shadow: 0 0 0 var( --mod-switch-focus-indicator-thickness, - var(--spectrum-switch-focus-indicator-thickness) + var( + --mod-focus-indicator-thickness, + var(--spectrum-switch-focus-indicator-thickness) + ) ) var( --highcontrast-switch-focus-indicator-color, @@ -737,7 +594,6 @@ governing permissions and limitations under the License. @media (forced-colors: active) { :host { - forced-color-adjust: none; --highcontrast-switch-label-color-default: ButtonText; --highcontrast-switch-label-color-hover: ButtonText; --highcontrast-switch-label-color-down: ButtonText; @@ -760,6 +616,7 @@ governing permissions and limitations under the License. --highcontrast-switch-background-color-selected-focus: Highlight; --highcontrast-switch-background-color-selected-disabled: Highlight; --highcontrast-switch-focus-indicator-color: ButtonText; + forced-color-adjust: none; } #input:not(:checked) + #switch { @@ -773,39 +630,39 @@ governing permissions and limitations under the License. :host([disabled][checked]:hover) #input + #switch, :host([disabled][checked]:hover) #input + #switch { - box-shadow: inset 0 0 0 1px GrayText; background-color: GrayText; + box-shadow: inset 0 0 0 1px GrayText; } :host([disabled][checked]:hover) #input + #switch:before, :host([disabled][checked]:hover) #input + #switch:before { - border-color: GrayText; background-color: ButtonFace; + border-color: GrayText; } } :host([disabled]) #input:not(:checked) + #switch, :host([disabled]) #input:not(:checked) + #switch { - box-shadow: inset 0 0 0 1px GrayText; background-color: ButtonFace; + box-shadow: inset 0 0 0 1px GrayText; } :host([disabled]) #input:not(:checked) + #switch:before, :host([disabled]) #input:not(:checked) + #switch:before { - border-color: GrayText; background-color: ButtonFace; + border-color: GrayText; } :host([disabled][checked]) #input + #switch, :host([disabled][checked]) #input + #switch { - box-shadow: inset 0 0 0 1px GrayText; background-color: GrayText; + box-shadow: inset 0 0 0 1px GrayText; } :host([disabled][checked]) #input + #switch:before, :host([disabled][checked]) #input + #switch:before { - border-color: GrayText; background-color: ButtonFace; + border-color: GrayText; } :host([disabled]) #input ~ #label, @@ -813,30 +670,3 @@ governing permissions and limitations under the License. color: GrayText; } } - -:host { - --spectrum-switch-handle-border-color-default: var( - --system-spectrum-switch-handle-border-color-default - ); - --spectrum-switch-handle-border-color-hover: var( - --system-spectrum-switch-handle-border-color-hover - ); - --spectrum-switch-handle-border-color-down: var( - --system-spectrum-switch-handle-border-color-down - ); - --spectrum-switch-handle-border-color-focus: var( - --system-spectrum-switch-handle-border-color-focus - ); - --spectrum-switch-handle-border-color-selected-default: var( - --system-spectrum-switch-handle-border-color-selected-default - ); - --spectrum-switch-handle-border-color-selected-hover: var( - --system-spectrum-switch-handle-border-color-selected-hover - ); - --spectrum-switch-handle-border-color-selected-down: var( - --system-spectrum-switch-handle-border-color-selected-down - ); - --spectrum-switch-handle-border-color-selected-focus: var( - --system-spectrum-switch-handle-border-color-selected-focus - ); -} diff --git a/packages/switch/src/switch-overrides.css b/packages/switch/src/switch-overrides.css new file mode 100644 index 0000000000..93e1dcb225 --- /dev/null +++ b/packages/switch/src/switch-overrides.css @@ -0,0 +1,184 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host { + --spectrum-switch-handle-border-color-default: var( + --system-switch-handle-border-color-default + ); + --spectrum-switch-handle-border-color-hover: var( + --system-switch-handle-border-color-hover + ); + --spectrum-switch-handle-border-color-down: var( + --system-switch-handle-border-color-down + ); + --spectrum-switch-handle-border-color-focus: var( + --system-switch-handle-border-color-focus + ); + --spectrum-switch-handle-border-color-selected-default: var( + --system-switch-handle-border-color-selected-default + ); + --spectrum-switch-handle-border-color-selected-hover: var( + --system-switch-handle-border-color-selected-hover + ); + --spectrum-switch-handle-border-color-selected-down: var( + --system-switch-handle-border-color-selected-down + ); + --spectrum-switch-handle-border-color-selected-focus: var( + --system-switch-handle-border-color-selected-focus + ); + --spectrum-switch-label-color-default: var( + --system-switch-label-color-default + ); + --spectrum-switch-label-color-hover: var(--system-switch-label-color-hover); + --spectrum-switch-label-color-down: var(--system-switch-label-color-down); + --spectrum-switch-label-color-focus: var(--system-switch-label-color-focus); + --spectrum-switch-label-color-disabled: var( + --system-switch-label-color-disabled + ); + --spectrum-switch-background-color: var(--system-switch-background-color); + --spectrum-switch-background-color-disabled: var( + --system-switch-background-color-disabled + ); + --spectrum-switch-background-color-selected-disabled: var( + --system-switch-background-color-selected-disabled + ); + --spectrum-switch-background-color-selected-default: var( + --system-switch-background-color-selected-default + ); + --spectrum-switch-background-color-selected-hover: var( + --system-switch-background-color-selected-hover + ); + --spectrum-switch-background-color-selected-down: var( + --system-switch-background-color-selected-down + ); + --spectrum-switch-background-color-selected-focus: var( + --system-switch-background-color-selected-focus + ); + --spectrum-switch-focus-indicator-thickness: var( + --system-switch-focus-indicator-thickness + ); + --spectrum-switch-focus-indicator-color: var( + --system-switch-focus-indicator-color + ); + --spectrum-switch-handle-background-color: var( + --system-switch-handle-background-color + ); + --spectrum-switch-handle-border-color-disabled: var( + --system-switch-handle-border-color-disabled + ); +} + +:host([disabled]) { + --spectrum-switch-label-color-default: var( + --system-switch-disabled-label-color-default + ); +} + +:host([emphasized]) { + --spectrum-switch-background-color-selected-default: var( + --system-switch-emphasized-background-color-selected-default + ); + --spectrum-switch-background-color-selected-hover: var( + --system-switch-emphasized-background-color-selected-hover + ); + --spectrum-switch-background-color-selected-down: var( + --system-switch-emphasized-background-color-selected-down + ); + --spectrum-switch-background-color-selected-focus: var( + --system-switch-emphasized-background-color-selected-focus + ); + --spectrum-switch-handle-border-color-selected-default: var( + --system-switch-emphasized-handle-border-color-selected-default + ); + --spectrum-switch-handle-border-color-selected-hover: var( + --system-switch-emphasized-handle-border-color-selected-hover + ); + --spectrum-switch-handle-border-color-selected-down: var( + --system-switch-emphasized-handle-border-color-selected-down + ); + --spectrum-switch-handle-border-color-selected-focus: var( + --system-switch-emphasized-handle-border-color-selected-focus + ); +} + +:host([size='s']) { + --spectrum-switch-min-height: var(--system-switch-size-s-min-height); + --spectrum-switch-control-width: var(--system-switch-size-s-control-width); + --spectrum-switch-control-height: var( + --system-switch-size-s-control-height + ); + --spectrum-switch-control-label-spacing: var( + --system-switch-size-s-control-label-spacing + ); + --spectrum-switch-spacing-top-to-control: var( + --system-switch-size-s-spacing-top-to-control + ); + --spectrum-switch-spacing-top-to-label: var( + --system-switch-size-s-spacing-top-to-label + ); + --spectrum-switch-font-size: var(--system-switch-size-s-font-size); +} + +:host { + --spectrum-switch-min-height: var(--system-switch-size-m-min-height); + --spectrum-switch-control-width: var(--system-switch-size-m-control-width); + --spectrum-switch-control-height: var( + --system-switch-size-m-control-height + ); + --spectrum-switch-control-label-spacing: var( + --system-switch-size-m-control-label-spacing + ); + --spectrum-switch-spacing-top-to-control: var( + --system-switch-size-m-spacing-top-to-control + ); + --spectrum-switch-spacing-top-to-label: var( + --system-switch-size-m-spacing-top-to-label + ); + --spectrum-switch-font-size: var(--system-switch-size-m-font-size); +} + +:host([size='l']) { + --spectrum-switch-min-height: var(--system-switch-size-l-min-height); + --spectrum-switch-control-width: var(--system-switch-size-l-control-width); + --spectrum-switch-control-height: var( + --system-switch-size-l-control-height + ); + --spectrum-switch-control-label-spacing: var( + --system-switch-size-l-control-label-spacing + ); + --spectrum-switch-spacing-top-to-control: var( + --system-switch-size-l-spacing-top-to-control + ); + --spectrum-switch-spacing-top-to-label: var( + --system-switch-size-l-spacing-top-to-label + ); + --spectrum-switch-font-size: var(--system-switch-size-l-font-size); +} + +:host([size='xl']) { + --spectrum-switch-min-height: var(--system-switch-size-xl-min-height); + --spectrum-switch-control-width: var(--system-switch-size-xl-control-width); + --spectrum-switch-control-height: var( + --system-switch-size-xl-control-height + ); + --spectrum-switch-control-label-spacing: var( + --system-switch-size-xl-control-label-spacing + ); + --spectrum-switch-spacing-top-to-control: var( + --system-switch-size-xl-spacing-top-to-control + ); + --spectrum-switch-spacing-top-to-label: var( + --system-switch-size-xl-spacing-top-to-label + ); + --spectrum-switch-font-size: var(--system-switch-size-xl-font-size); +} diff --git a/packages/switch/src/switch.css b/packages/switch/src/switch.css index 9f38b6ca61..6a48a80cab 100644 --- a/packages/switch/src/switch.css +++ b/packages/switch/src/switch.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-switch.css'); +@import url('./switch-overrides.css'); :host([disabled]) { pointer-events: none; diff --git a/packages/table/package.json b/packages/table/package.json index 040e6bbf69..7bc86d1773 100644 --- a/packages/table/package.json +++ b/packages/table/package.json @@ -58,10 +58,16 @@ "default": "./src/index.js" }, "./src/table-body.css.js": "./src/table-body.css.js", + "./src/table-cell-overrides.css.js": "./src/table-cell-overrides.css.js", "./src/table-cell.css.js": "./src/table-cell.css.js", + "./src/table-checkbox-cell-overrides.css.js": "./src/table-checkbox-cell-overrides.css.js", "./src/table-checkbox-cell.css.js": "./src/table-checkbox-cell.css.js", + "./src/table-head-cell-overrides.css.js": "./src/table-head-cell-overrides.css.js", "./src/table-head-cell.css.js": "./src/table-head-cell.css.js", + "./src/table-head-overrides.css.js": "./src/table-head-overrides.css.js", "./src/table-head.css.js": "./src/table-head.css.js", + "./src/table-overrides.css.js": "./src/table-overrides.css.js", + "./src/table-row-overrides.css.js": "./src/table-row-overrides.css.js", "./src/table-row.css.js": "./src/table-row.css.js", "./src/table.css.js": "./src/table.css.js", "./elements.js": { @@ -123,7 +129,7 @@ "@spectrum-web-components/icons-ui": "^0.49.0" }, "devDependencies": { - "@spectrum-css/table": "^6.1.0" + "@spectrum-css/table": "^7.0.0-s2-foundations.17" }, "types": "./src/index.d.ts", "customElements": "custom-elements.json", diff --git a/packages/table/src/TableHeadCell.ts b/packages/table/src/TableHeadCell.ts index 2b5eaaf945..b5bb665641 100644 --- a/packages/table/src/TableHeadCell.ts +++ b/packages/table/src/TableHeadCell.ts @@ -22,6 +22,7 @@ import '@spectrum-web-components/icons-ui/icons/sp-icon-arrow100.js'; import styles from './table-head-cell.css.js'; import arrowStyles from '@spectrum-web-components/icon/src/spectrum-icon-arrow.css.js'; +import arrowOverrides from '@spectrum-web-components/icon/src/icon-arrow-overrides.css.js'; export type SortedEventDetails = { sortDirection: 'asc' | 'desc'; @@ -43,7 +44,7 @@ const ariaSortValue = (sortDirection?: 'asc' | 'desc'): string => { */ export class TableHeadCell extends SpectrumElement { public static override get styles(): CSSResultArray { - return [styles, arrowStyles]; + return [styles, arrowStyles, arrowOverrides]; } @property({ type: Boolean, reflect: true }) diff --git a/packages/table/src/spectrum-table-body.css b/packages/table/src/spectrum-table-body.css index 0ef53e835f..6ee65c89a5 100644 --- a/packages/table/src/spectrum-table-body.css +++ b/packages/table/src/spectrum-table-body.css @@ -21,6 +21,7 @@ governing permissions and limitations under the License. } :host([drop-target]) { + --spectrum-table-border-color: transparent; outline-width: var( --mod-table-focus-indicator-thickness, var(--spectrum-table-focus-indicator-thickness) @@ -33,7 +34,6 @@ governing permissions and limitations under the License. var(--spectrum-table-drop-zone-outline-color) ) ); - --mod-table-border-color: transparent; } :host { diff --git a/packages/table/src/spectrum-table-cell.css b/packages/table/src/spectrum-table-cell.css index 7b3f463be0..5ddcf20ffc 100644 --- a/packages/table/src/spectrum-table-cell.css +++ b/packages/table/src/spectrum-table-cell.css @@ -102,6 +102,12 @@ governing permissions and limitations under the License. ) ) ); + outline-offset: calc( + var( + --mod-table-focus-indicator-thickness, + var(--spectrum-table-focus-indicator-thickness) + ) * -1 + ); outline-offset: calc( var( --mod-table-focus-indicator-thickness, diff --git a/packages/table/src/spectrum-table-checkbox-cell.css b/packages/table/src/spectrum-table-checkbox-cell.css index 0caee7d046..0ffde28e3f 100644 --- a/packages/table/src/spectrum-table-checkbox-cell.css +++ b/packages/table/src/spectrum-table-checkbox-cell.css @@ -47,6 +47,7 @@ governing permissions and limitations under the License. --mod-table-header-line-height, var(--spectrum-table-row-line-height) ); + text-transform: none; text-transform: var(--mod-table-header-text-transform, none); block-size: var( --mod-table-min-header-height, @@ -81,6 +82,7 @@ governing permissions and limitations under the License. ) ) ease-in-out; + cursor: auto; cursor: var(--mod-table-cursor-header-default, initial); border-radius: 0; outline: 0; @@ -166,6 +168,12 @@ governing permissions and limitations under the License. ) ) ); + outline-offset: calc( + var( + --mod-table-focus-indicator-thickness, + var(--spectrum-table-focus-indicator-thickness) + ) * -1 + ); outline-offset: calc( var( --mod-table-focus-indicator-thickness, diff --git a/packages/table/src/spectrum-table-head-cell.css b/packages/table/src/spectrum-table-head-cell.css index 910334d949..57bac6b077 100644 --- a/packages/table/src/spectrum-table-head-cell.css +++ b/packages/table/src/spectrum-table-head-cell.css @@ -60,6 +60,7 @@ governing permissions and limitations under the License. --mod-table-header-line-height, var(--spectrum-table-row-line-height) ); + text-transform: none; text-transform: var(--mod-table-header-text-transform, none); block-size: var( --mod-table-min-header-height, @@ -94,6 +95,7 @@ governing permissions and limitations under the License. ) ) ease-in-out; + cursor: auto; cursor: var(--mod-table-cursor-header-default, initial); border-radius: 0; outline: 0; @@ -105,6 +107,7 @@ governing permissions and limitations under the License. } :host([sortable]) { + cursor: pointer; cursor: var(--mod-table-cursor-header-sortable, pointer); } @@ -169,6 +172,12 @@ governing permissions and limitations under the License. ) ) ); + outline-offset: calc( + var( + --mod-table-focus-indicator-thickness, + var(--spectrum-table-focus-indicator-thickness) + ) * -1 + ); outline-offset: calc( var( --mod-table-focus-indicator-thickness, diff --git a/packages/table/src/spectrum-table-row.css b/packages/table/src/spectrum-table-row.css index 2a2c47a92d..85ff8f0591 100644 --- a/packages/table/src/spectrum-table-row.css +++ b/packages/table/src/spectrum-table-row.css @@ -130,6 +130,7 @@ governing permissions and limitations under the License. ) ) ease-in-out; + cursor: pointer; cursor: var(--mod-table-cursor-row-default, pointer); border-block-start: none; position: relative; @@ -202,7 +203,8 @@ governing permissions and limitations under the License. --highcontrast-table-selected-row-text-color ); --spectrum-table-cell-background-color: var( - --spectrum-table-selected-cell-background-color + --highcontrast-table-selected-row-background-color, + var(--spectrum-table-selected-cell-background-color) ); } @@ -215,7 +217,8 @@ governing permissions and limitations under the License. --highcontrast-table-selected-row-text-color-focus ); --spectrum-table-cell-background-color: var( - --spectrum-table-selected-cell-background-color-focus + --highcontrast-table-selected-row-background-color-focus, + var(--spectrum-table-selected-cell-background-color-focus) ); } @@ -237,6 +240,10 @@ governing permissions and limitations under the License. } :host([drop-target]) { + --spectrum-table-border-color: var( + --highcontrast-table-focus-indicator-color, + transparent + ); outline-width: var( --mod-table-focus-indicator-thickness, var(--spectrum-table-focus-indicator-thickness) @@ -255,10 +262,6 @@ governing permissions and limitations under the License. var(--spectrum-table-focus-indicator-thickness) ) * -1 ); - --mod-table-border-color: var( - --highcontrast-table-focus-indicator-color, - transparent - ); } :host([drop-target]) ::slotted(*) { @@ -319,6 +322,7 @@ governing permissions and limitations under the License. var(--spectrum-table-section-header-background-color) ) ); + cursor: auto; cursor: var(--mod-table-cursor-section-header, initial); } @@ -496,7 +500,8 @@ governing permissions and limitations under the License. --highcontrast-table-selected-row-text-color-focus ); --spectrum-table-cell-background-color: var( - --spectrum-table-selected-cell-background-color-focus + --highcontrast-table-selected-row-background-color-focus, + var(--spectrum-table-selected-cell-background-color-focus) ); } diff --git a/packages/table/src/spectrum-table.css b/packages/table/src/spectrum-table.css index 01ba234133..5bd999c628 100644 --- a/packages/table/src/spectrum-table.css +++ b/packages/table/src/spectrum-table.css @@ -11,140 +11,41 @@ governing permissions and limitations under the License. */ /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +@media (forced-colors: active) { + :host { + --highcontrast-table-row-background-color: Canvas; + --highcontrast-table-row-text-color: CanvasText; + --highcontrast-table-divider-color: CanvasText; + --highcontrast-table-border-color: CanvasText; + --highcontrast-table-icon-color: CanvasText; + --highcontrast-table-icon-color-focus: Highlight; + --highcontrast-table-selected-row-background-color: Highlight; + --highcontrast-table-selected-row-text-color: HighlightText; + --highcontrast-table-selected-row-text-color-default: HighlightText; + --highcontrast-table-selected-row-background-color-focus: Highlight; + --highcontrast-table-selected-row-text-color-focus: HighlightText; + --highcontrast-table-row-background-color-hover: Highlight; + --highcontrast-table-row-text-color-hover: HighlightText; + --highcontrast-table-section-header-text-color: Canvas; + --highcontrast-table-section-header-background-color: CanvasText; + --highcontrast-table-focus-indicator-color: Highlight; + --highcontrast-table-transition-duration: 0; + } + + @supports (color: SelectedItem) { + :host { + --highcontrast-table-selected-row-background-color: SelectedItem; + --highcontrast-table-selected-row-text-color: SelectedItemText; + --highcontrast-table-selected-row-text-color-default: SelectedItemText; + } + } +} + :host { - --spectrum-table-header-top-to-text: var( - --spectrum-table-column-header-row-top-to-text-medium - ); - --spectrum-table-header-bottom-to-text: var( - --spectrum-table-column-header-row-bottom-to-text-medium - ); - --spectrum-table-min-header-height: var(--spectrum-component-height-100); - --spectrum-table-min-row-height: var( - --spectrum-table-row-height-medium-regular - ); - --spectrum-table-row-top-to-text: var( - --spectrum-table-row-top-to-text-medium-regular - ); - --spectrum-table-row-bottom-to-text: var( - --spectrum-table-row-bottom-to-text-medium-regular - ); - --spectrum-table-cell-inline-space: var(--spectrum-table-edge-to-content); - --spectrum-table-border-radius: var(--spectrum-corner-radius-100); - --spectrum-table-border-width: var(--spectrum-table-border-divider-width); - --spectrum-table-outer-border-inline-width: var( - --spectrum-table-border-divider-width - ); - --spectrum-table-icon-to-text: var(--spectrum-text-to-visual-100); - --spectrum-table-default-vertical-align: top; - --spectrum-table-header-vertical-align: middle; - --spectrum-table-header-font-weight: var(--spectrum-bold-font-weight); - --spectrum-table-row-font-family: var(--spectrum-sans-font-family-stack); - --spectrum-table-row-font-weight: var(--spectrum-regular-font-weight); - --spectrum-table-row-font-style: var(--spectrum-default-font-style); - --spectrum-table-row-font-size: var(--spectrum-font-size-100); - --spectrum-table-row-line-height: var(--spectrum-line-height-100); - --spectrum-table-border-color: var(--spectrum-gray-300); - --spectrum-table-divider-color: var(--spectrum-gray-300); - --spectrum-table-header-background-color: var( - --spectrum-transparent-white-100 - ); - --spectrum-table-header-text-color: var(--spectrum-body-color); - --spectrum-table-row-background-color: var(--spectrum-gray-50); - --spectrum-table-row-text-color: var( - --spectrum-neutral-content-color-default - ); - --spectrum-table-selected-row-background-color: rgba( - var(--spectrum-blue-900-rgb), - var(--spectrum-table-selected-row-background-opacity) - ); - --spectrum-table-selected-row-background-color-non-emphasized: rgba( - var(--spectrum-gray-700-rgb), - var(--spectrum-table-selected-row-background-opacity-non-emphasized) - ); - --spectrum-table-row-background-color-hover: rgba( - var(--spectrum-gray-900-rgb), - var(--spectrum-table-row-hover-opacity) - ); - --spectrum-table-row-active-color: rgba( - var(--spectrum-gray-900-rgb), - var(--spectrum-table-row-down-opacity) - ); - --spectrum-table-selected-row-background-color-focus: rgba( - var(--spectrum-blue-900-rgb), - var(--spectrum-table-selected-row-background-opacity-hover) - ); - --spectrum-table-selected-row-background-color-non-emphasized-focus: rgba( - var(--spectrum-gray-700-rgb), - var( - --spectrum-table-selected-row-background-opacity-non-emphasized-hover - ) - ); - --spectrum-table-icon-color-default: var( - --spectrum-neutral-subdued-content-color-default - ); - --spectrum-table-icon-color-hover: var( - --spectrum-neutral-subdued-content-color-hover - ); - --spectrum-table-icon-color-active: var( - --spectrum-neutral-subdued-content-color-down - ); - --spectrum-table-icon-color-focus: var( - --spectrum-neutral-subdued-content-color-focus - ); - --spectrum-table-icon-color-focus-hover: var( - --spectrum-neutral-subdued-content-focus-hover - ); - --spectrum-table-icon-color-key-focus: var( - --spectrum-neutral-subdued-content-color-key-focus - ); - --spectrum-table-header-checkbox-block-spacing: var( - --spectrum-table-header-row-checkbox-to-top-medium - ); - --spectrum-table-row-checkbox-block-spacing: var( - --spectrum-table-row-checkbox-to-top-medium-regular - ); - --spectrum-table-focus-indicator-thickness: var( - --spectrum-focus-indicator-thickness - ); - --spectrum-table-focus-indicator-color: var( - --spectrum-focus-indicator-color - ); - --spectrum-table-drop-zone-background-color: rgba( - var(--spectrum-drop-zone-background-color-rgb), - var(--spectrum-drop-zone-background-color-opacity) - ); - --spectrum-table-drop-zone-outline-color: var( - --spectrum-accent-visual-color - ); - --spectrum-table-transition-duration: var( - --spectrum-animation-duration-100 - ); - --spectrum-table-summary-row-font-weight: var(--spectrum-bold-font-weight); - --spectrum-table-summary-row-background-color: var(--spectrum-gray-200); - --spectrum-table-section-header-min-height: var( - --spectrum-table-section-header-row-height-medium - ); - --spectrum-table-section-header-block-start-spacing: var( - --spectrum-component-top-to-text-100 - ); - --spectrum-table-section-header-block-end-spacing: var( - --spectrum-component-bottom-to-text-100 - ); - --spectrum-table-section-header-font-weight: var( - --spectrum-bold-font-weight - ); - --spectrum-table-section-header-background-color: var(--spectrum-gray-200); - --spectrum-table-collapsible-tier-indent: var(--spectrum-spacing-300); - --spectrum-table-collapsible-disclosure-inline-spacing: 0px; - --spectrum-table-disclosure-icon-size: var(--spectrum-component-height-100); - --spectrum-table-collapsible-icon-animation-duration: var( - --spectrum-animation-duration-100 - ); - --spectrum-table-thumbnail-to-text: var(--spectrum-text-to-visual-100); - --spectrum-table-thumbnail-block-spacing: var( - --spectrum-table-thumbnail-to-top-minimum-medium-regular + --mod-thumbnail-size: var( + --mod-table-thumbnail-size, + var(--spectrum-table-thumbnail-size) ); - --spectrum-table-thumbnail-size: var(--spectrum-thumbnail-size-300); --spectrum-table-cell-background-color: var( --highcontrast-table-row-background-color, var( @@ -168,10 +69,6 @@ governing permissions and limitations under the License. ) ) ); - --mod-thumbnail-size: var( - --mod-table-thumbnail-size, - var(--spectrum-table-thumbnail-size) - ); } :host:dir(rtl), @@ -179,343 +76,226 @@ governing permissions and limitations under the License. --spectrum-logical-rotation: matrix(-1, 0, 0, 1, 0, 0); } -:host([size='s']) { - --spectrum-table-min-header-height: var(--spectrum-component-height-100); - --spectrum-table-header-top-to-text: var( - --spectrum-table-column-header-row-top-to-text-small - ); - --spectrum-table-header-bottom-to-text: var( - --spectrum-table-column-header-row-bottom-to-text-small - ); - --spectrum-table-min-row-height: var( - --spectrum-table-row-height-small-regular - ); - --spectrum-table-row-top-to-text: var( - --spectrum-table-row-top-to-text-small-regular - ); - --spectrum-table-row-bottom-to-text: var( - --spectrum-table-row-bottom-to-text-small-regular - ); - --spectrum-table-icon-to-text: var(--spectrum-text-to-visual-100); - --spectrum-table-row-font-size: var(--spectrum-font-size-75); - --spectrum-table-header-checkbox-block-spacing: var( - --spectrum-table-header-row-checkbox-to-top-small - ); - --spectrum-table-row-checkbox-block-spacing: var( - --spectrum-table-row-checkbox-to-top-small-regular - ); - --spectrum-table-section-header-min-height: var( - --spectrum-table-section-header-row-height-small - ); - --spectrum-table-section-header-block-start-spacing: var( - --spectrum-component-top-to-text-75 - ); - --spectrum-table-section-header-block-end-spacing: var( - --spectrum-component-bottom-to-text-75 - ); - --spectrum-table-disclosure-icon-size: var(--spectrum-component-height-75); - --spectrum-table-thumbnail-block-spacing: var( - --spectrum-table-thumbnail-to-top-minimum-small-regular - ); - --spectrum-table-thumbnail-to-text: var(--spectrum-text-to-visual-100); - --spectrum-table-thumbnail-size: var(--spectrum-thumbnail-size-200); -} - -:host([size='l']) { - --spectrum-table-min-header-height: var(--spectrum-component-height-200); - --spectrum-table-header-top-to-text: var( - --spectrum-table-column-header-row-top-to-text-large - ); - --spectrum-table-header-bottom-to-text: var( - --spectrum-table-column-header-row-bottom-to-text-large - ); - --spectrum-table-min-row-height: var( - --spectrum-table-row-height-large-regular - ); - --spectrum-table-row-top-to-text: var( - --spectrum-table-row-top-to-text-large-regular - ); - --spectrum-table-row-bottom-to-text: var( - --spectrum-table-row-bottom-to-text-large-regular - ); - --spectrum-table-icon-to-text: var(--spectrum-text-to-visual-200); - --spectrum-table-row-font-size: var(--spectrum-font-size-200); - --spectrum-table-header-checkbox-block-spacing: var( - --spectrum-table-header-row-checkbox-to-top-large - ); - --spectrum-table-row-checkbox-block-spacing: var( - --spectrum-table-row-checkbox-to-top-large-regular - ); - --spectrum-table-section-header-min-height: var( - --spectrum-table-section-header-row-height-large - ); - --spectrum-table-section-header-block-start-spacing: var( - --spectrum-component-top-to-text-200 - ); - --spectrum-table-section-header-block-end-spacing: var( - --spectrum-component-bottom-to-text-200 - ); - --spectrum-table-disclosure-icon-size: var(--spectrum-component-height-200); - --spectrum-table-thumbnail-block-spacing: var( - --spectrum-table-thumbnail-to-top-minimum-large-regular - ); - --spectrum-table-thumbnail-to-text: var(--spectrum-text-to-visual-200); - --spectrum-table-thumbnail-size: var(--spectrum-thumbnail-size-500); +:host:not(.spectrum-Table-scroller) { + border-collapse: initial; + border-spacing: 0; } -:host([size='xl']) { - --spectrum-table-min-header-height: var(--spectrum-component-height-300); - --spectrum-table-header-top-to-text: var( - --spectrum-table-column-header-row-top-to-text-extra-large - ); - --spectrum-table-header-bottom-to-text: var( - --spectrum-table-column-header-row-bottom-to-text-extra-large - ); - --spectrum-table-min-row-height: var( - --spectrum-table-row-height-extra-large-regular - ); - --spectrum-table-row-top-to-text: var( - --spectrum-table-row-top-to-text-extra-large-regular - ); - --spectrum-table-row-bottom-to-text: var( - --spectrum-table-row-bottom-to-text-extra-large-regular - ); - --spectrum-table-icon-to-text: var(--spectrum-text-to-visual-300); - --spectrum-table-row-font-size: var(--spectrum-font-size-300); - --spectrum-table-header-checkbox-block-spacing: var( - --spectrum-table-header-row-checkbox-to-top-extra-large - ); - --spectrum-table-row-checkbox-block-spacing: var( - --spectrum-table-row-checkbox-to-top-extra-large-regular - ); - --spectrum-table-section-header-min-height: var( - --spectrum-table-section-header-row-height-extra-large - ); - --spectrum-table-section-header-block-start-spacing: var( - --spectrum-component-top-to-text-300 - ); - --spectrum-table-section-header-block-end-spacing: var( - --spectrum-component-bottom-to-text-300 - ); - --spectrum-table-disclosure-icon-size: var(--spectrum-component-height-300); - --spectrum-table-thumbnail-block-spacing: var( - --spectrum-table-thumbnail-to-top-minimum-extra-large-regular - ); - --spectrum-table-thumbnail-to-text: var(--spectrum-text-to-visual-300); - --spectrum-table-thumbnail-size: var(--spectrum-thumbnail-size-700); +:host:not(.spectrum-Table-scroller) { + display: table; } :host([density='compact']) { - --mod-table-min-row-height: var( + --spectrum-table-min-row-height: var( --mod-table-min-row-height--compact, var(--spectrum-table-row-height-medium-compact) ); - --mod-table-row-top-to-text: var( + --spectrum-table-row-top-to-text: var( --mod-table-row-top-to-text--compact, var(--spectrum-table-row-top-to-text-medium-compact) ); - --mod-table-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text: var( --mod-table-row-bottom-to-text--compact, var(--spectrum-table-row-bottom-to-text-medium-compact) ); - --mod-table-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-block-spacing: var( --mod-table-row-checkbox-block-spacing--compact, var(--spectrum-table-row-checkbox-to-top-medium-compact) ); - --mod-table-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-block-spacing: var( --mod-table-thumbnail-block-spacing-compact, var(--spectrum-table-thumbnail-to-top-minimum-medium-compact) ); - --mod-table-thumbnail-size: var( + --spectrum-table-thumbnail-size: var( --mod-table-thumbnail-size-compact, var(--spectrum-thumbnail-size-200) ); } :host([density='compact'][size='s']) { - --mod-table-min-row-height: var( + --spectrum-table-min-row-height: var( --mod-table-min-row-height--compact, var(--spectrum-table-row-height-small-compact) ); - --mod-table-row-top-to-text: var( + --spectrum-table-row-top-to-text: var( --mod-table-row-top-to-text--compact, var(--spectrum-table-row-top-to-text-small-compact) ); - --mod-table-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text: var( --mod-table-row-bottom-to-text--compact, var(--spectrum-table-row-bottom-to-text-small-compact) ); - --mod-table-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-block-spacing: var( --mod-table-row-checkbox-block-spacing--compact, var(--spectrum-table-row-checkbox-to-top-small-compact) ); - --mod-table-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-block-spacing: var( --mod-table-thumbnail-block-spacing-compact, var(--spectrum-table-thumbnail-to-top-minimum-small-compact) ); - --mod-table-thumbnail-size: var( + --spectrum-table-thumbnail-size: var( --mod-table-thumbnail-size-compact, var(--spectrum-thumbnail-size-50) ); } :host([density='compact'][size='l']) { - --mod-table-min-row-height: var( + --spectrum-table-min-row-height: var( --mod-table-min-row-height--compact, var(--spectrum-table-row-height-large-compact) ); - --mod-table-row-top-to-text: var( + --spectrum-table-row-top-to-text: var( --mod-table-row-top-to-text--compact, var(--spectrum-table-row-top-to-text-large-compact) ); - --mod-table-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text: var( --mod-table-row-bottom-to-text--compact, var(--spectrum-table-row-bottom-to-text-large-compact) ); - --mod-table-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-block-spacing: var( --mod-table-row-checkbox-block-spacing--compact, var(--spectrum-table-row-checkbox-to-top-large-compact) ); - --mod-table-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-block-spacing: var( --mod-table-thumbnail-block-spacing-compact, var(--spectrum-table-thumbnail-to-top-minimum-large-compact) ); - --mod-table-thumbnail-size: var( + --spectrum-table-thumbnail-size: var( --mod-table-thumbnail-size-compact, var(--spectrum-thumbnail-size-300) ); } :host([density='compact'][size='xl']) { - --mod-table-min-row-height: var( + --spectrum-table-min-row-height: var( --mod-table-min-row-height--compact, var(--spectrum-table-row-height-extra-large-compact) ); - --mod-table-row-top-to-text: var( + --spectrum-table-row-top-to-text: var( --mod-table-row-top-to-text--compact, var(--spectrum-table-row-top-to-text-extra-large-compact) ); - --mod-table-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text: var( --mod-table-row-bottom-to-text--compact, var(--spectrum-table-row-bottom-to-text-extra-large-compact) ); - --mod-table-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-block-spacing: var( --mod-table-row-checkbox-block-spacing--compact, var(--spectrum-table-row-checkbox-to-top-extra-large-compact) ); - --mod-table-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-block-spacing: var( --mod-table-thumbnail-block-spacing-compact, var(--spectrum-table-thumbnail-to-top-minimum-extra-large-compact) ); - --mod-table-thumbnail-size: var( + --spectrum-table-thumbnail-size: var( --mod-table-thumbnail-size-compact, var(--spectrum-thumbnail-size-500) ); } :host([density='spacious']) { - --mod-table-min-row-height: var( + --spectrum-table-min-row-height: var( --mod-table-min-row-height--spacious, var(--spectrum-table-row-height-medium-spacious) ); - --mod-table-row-top-to-text: var( + --spectrum-table-row-top-to-text: var( --mod-table-row-top-to-text--spacious, var(--spectrum-table-row-top-to-text-medium-spacious) ); - --mod-table-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text: var( --mod-table-row-bottom-to-text--spacious, var(--spectrum-table-row-bottom-to-text-medium-spacious) ); - --mod-table-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-block-spacing: var( --mod-table-row-checkbox-block-spacing--spacious, var(--spectrum-table-row-checkbox-to-top-medium-spacious) ); - --mod-table-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-block-spacing: var( --mod-table-thumbnail-block-spacing-spacious, var(--spectrum-table-thumbnail-to-top-minimum-medium-spacious) ); - --mod-table-thumbnail-size: var( + --spectrum-table-thumbnail-size: var( --mod-table-thumbnail-size-spacious, var(--spectrum-thumbnail-size-500) ); } :host([density='spacious'][size='s']) { - --mod-table-min-row-height: var( + --spectrum-table-min-row-height: var( --mod-table-min-row-height--spacious, var(--spectrum-table-row-height-small-spacious) ); - --mod-table-row-top-to-text: var( + --spectrum-table-row-top-to-text: var( --mod-table-row-top-to-text--spacious, var(--spectrum-table-row-top-to-text-small-spacious) ); - --mod-table-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text: var( --mod-table-row-bottom-to-text--spacious, var(--spectrum-table-row-bottom-to-text-small-spacious) ); - --mod-table-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-block-spacing: var( --mod-table-row-checkbox-block-spacing--spacious, var(--spectrum-table-row-checkbox-to-top-small-spacious) ); - --mod-table-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-block-spacing: var( --mod-table-thumbnail-block-spacing-spacious, var(--spectrum-table-thumbnail-to-top-minimum-small-spacious) ); - --mod-table-thumbnail-size: var( + --spectrum-table-thumbnail-size: var( --mod-table-thumbnail-size-spacious, var(--spectrum-thumbnail-size-300) ); } :host([density='spacious'][size='l']) { - --mod-table-min-row-height: var( + --spectrum-table-min-row-height: var( --mod-table-min-row-height--spacious, var(--spectrum-table-row-height-large-spacious) ); - --mod-table-row-top-to-text: var( + --spectrum-table-row-top-to-text: var( --mod-table-row-top-to-text--spacious, var(--spectrum-table-row-top-to-text-large-spacious) ); - --mod-table-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text: var( --mod-table-row-bottom-to-text--spacious, var(--spectrum-table-row-bottom-to-text-large-spacious) ); - --mod-table-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-block-spacing: var( --mod-table-row-checkbox-block-spacing--spacious, var(--spectrum-table-row-checkbox-to-top-large-spacious) ); - --mod-table-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-block-spacing: var( --mod-table-thumbnail-block-spacing-spacious, var(--spectrum-table-thumbnail-to-top-minimum-large-spacious) ); - --mod-table-thumbnail-size: var( + --spectrum-table-thumbnail-size: var( --mod-table-thumbnail-size-spacious, var(--spectrum-thumbnail-size-700) ); } :host([density='spacious'][size='xl']) { - --mod-table-min-row-height: var( + --spectrum-table-min-row-height: var( --mod-table-min-row-height--spacious, var(--spectrum-table-row-height-extra-large-spacious) ); - --mod-table-row-top-to-text: var( + --spectrum-table-row-top-to-text: var( --mod-table-row-top-to-text--spacious, var(--spectrum-table-row-top-to-text-extra-large-spacious) ); - --mod-table-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text: var( --mod-table-row-bottom-to-text--spacious, var(--spectrum-table-row-bottom-to-text-extra-large-spacious) ); - --mod-table-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-block-spacing: var( --mod-table-row-checkbox-block-spacing--spacious, var(--spectrum-table-row-checkbox-to-top-extra-large-spacious) ); - --mod-table-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-block-spacing: var( --mod-table-thumbnail-block-spacing-spacious, var(--spectrum-table-thumbnail-to-top-minimum-extra-large-spacious) ); - --mod-table-thumbnail-size: var( + --spectrum-table-thumbnail-size: var( --mod-table-thumbnail-size-spacious, var(--spectrum-thumbnail-size-800) ); @@ -539,56 +319,17 @@ governing permissions and limitations under the License. } :host([quiet]) { - --mod-table-border-radius: var(--mod-table-border-radius--quiet, 0px); - --mod-table-outer-border-inline-width: var( + --spectrum-table-border-radius: var(--mod-table-border-radius--quiet, 0px); + --spectrum-table-outer-border-inline-width: var( --mod-table-outer-border-inline-width--quiet, 0px ); - --mod-table-header-background-color: var( + --spectrum-table-header-background-color: var( --mod-table-header-background-color--quiet, var(--spectrum-transparent-white-100) ); - --mod-table-row-background-color: var( + --spectrum-table-row-background-color: var( --mod-table-row-background-color--quiet, var(--spectrum-transparent-white-100) ); } - -@media (forced-colors: active) { - :host { - --highcontrast-table-row-background-color: Canvas; - --highcontrast-table-row-text-color: CanvasText; - --highcontrast-table-divider-color: CanvasText; - --highcontrast-table-border-color: CanvasText; - --highcontrast-table-icon-color: CanvasText; - --highcontrast-table-icon-color-focus: Highlight; - --highcontrast-table-selected-row-background-color: Highlight; - --highcontrast-table-selected-row-text-color: HighlightText; - --highcontrast-table-selected-row-text-color-default: HighlightText; - --highcontrast-table-selected-row-background-color-focus: Highlight; - --highcontrast-table-selected-row-text-color-focus: HighlightText; - --highcontrast-table-row-background-color-hover: Highlight; - --highcontrast-table-row-text-color-hover: HighlightText; - --highcontrast-table-section-header-text-color: Canvas; - --highcontrast-table-section-header-background-color: CanvasText; - --highcontrast-table-focus-indicator-color: Highlight; - --highcontrast-table-transition-duration: 0; - } - - @supports (color: SelectedItem) { - :host { - --highcontrast-table-selected-row-background-color: SelectedItem; - --highcontrast-table-selected-row-text-color: SelectedItemText; - --highcontrast-table-selected-row-text-color-default: SelectedItemText; - } - } -} - -:host:not(.spectrum-Table-scroller) { - border-collapse: initial; - border-spacing: 0; -} - -:host:not(.spectrum-Table-scroller) { - display: table; -} diff --git a/packages/table/src/table-cell-overrides.css b/packages/table/src/table-cell-overrides.css new file mode 100644 index 0000000000..b1cee0dbcd --- /dev/null +++ b/packages/table/src/table-cell-overrides.css @@ -0,0 +1,13 @@ +/* +Copyright 2023 Adobe. All rights reserved. +This file is licensed to you under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. You may obtain a copy +of the License at http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under +the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS +OF ANY KIND, either express or implied. See the License for the specific language +governing permissions and limitations under the License. +*/ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ diff --git a/packages/table/src/table-cell.css b/packages/table/src/table-cell.css index ff882c246c..389988070c 100644 --- a/packages/table/src/table-cell.css +++ b/packages/table/src/table-cell.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-table-cell.css'); +@import url('./table-cell-overrides.css'); :host { display: block; diff --git a/packages/table/src/table-checkbox-cell-overrides.css b/packages/table/src/table-checkbox-cell-overrides.css new file mode 100644 index 0000000000..b1cee0dbcd --- /dev/null +++ b/packages/table/src/table-checkbox-cell-overrides.css @@ -0,0 +1,13 @@ +/* +Copyright 2023 Adobe. All rights reserved. +This file is licensed to you under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. You may obtain a copy +of the License at http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under +the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS +OF ANY KIND, either express or implied. See the License for the specific language +governing permissions and limitations under the License. +*/ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ diff --git a/packages/table/src/table-checkbox-cell.css b/packages/table/src/table-checkbox-cell.css index ad3ef1bb3e..ee2cc2565a 100644 --- a/packages/table/src/table-checkbox-cell.css +++ b/packages/table/src/table-checkbox-cell.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-table-checkbox-cell.css'); +@import url('./table-checkbox-cell-overrides.css'); :host { display: flex; diff --git a/packages/table/src/table-head-cell-overrides.css b/packages/table/src/table-head-cell-overrides.css new file mode 100644 index 0000000000..b1cee0dbcd --- /dev/null +++ b/packages/table/src/table-head-cell-overrides.css @@ -0,0 +1,13 @@ +/* +Copyright 2023 Adobe. All rights reserved. +This file is licensed to you under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. You may obtain a copy +of the License at http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under +the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS +OF ANY KIND, either express or implied. See the License for the specific language +governing permissions and limitations under the License. +*/ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ diff --git a/packages/table/src/table-head-cell.css b/packages/table/src/table-head-cell.css index 1bd37c4f9d..7c85dba789 100644 --- a/packages/table/src/table-head-cell.css +++ b/packages/table/src/table-head-cell.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-table-head-cell.css'); +@import url('./table-head-cell-overrides.css'); :host { display: block; diff --git a/packages/table/src/table-head-overrides.css b/packages/table/src/table-head-overrides.css new file mode 100644 index 0000000000..b1cee0dbcd --- /dev/null +++ b/packages/table/src/table-head-overrides.css @@ -0,0 +1,13 @@ +/* +Copyright 2023 Adobe. All rights reserved. +This file is licensed to you under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. You may obtain a copy +of the License at http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under +the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS +OF ANY KIND, either express or implied. See the License for the specific language +governing permissions and limitations under the License. +*/ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ diff --git a/packages/table/src/table-head.css b/packages/table/src/table-head.css index 8a480fb655..de98358ef8 100644 --- a/packages/table/src/table-head.css +++ b/packages/table/src/table-head.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-table-head.css'); +@import url('./table-head-overrides.css'); :host { display: flex; diff --git a/packages/table/src/table-overrides.css b/packages/table/src/table-overrides.css new file mode 100644 index 0000000000..ec09c68a16 --- /dev/null +++ b/packages/table/src/table-overrides.css @@ -0,0 +1,470 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host { + --spectrum-table-header-top-to-text: var(--system-table-header-top-to-text); + --spectrum-table-header-bottom-to-text: var( + --system-table-header-bottom-to-text + ); + --spectrum-table-min-header-height: var(--system-table-min-header-height); + --spectrum-table-min-row-height: var(--system-table-min-row-height); + --spectrum-table-row-top-to-text: var(--system-table-row-top-to-text); + --spectrum-table-row-bottom-to-text: var(--system-table-row-bottom-to-text); + --spectrum-table-cell-inline-space: var(--system-table-cell-inline-space); + --spectrum-table-border-radius: var(--system-table-border-radius); + --spectrum-table-border-width: var(--system-table-border-width); + --spectrum-table-outer-border-inline-width: var( + --system-table-outer-border-inline-width + ); + --spectrum-table-icon-to-text: var(--system-table-icon-to-text); + --spectrum-table-default-vertical-align: var( + --system-table-default-vertical-align + ); + --spectrum-table-header-vertical-align: var( + --system-table-header-vertical-align + ); + --spectrum-table-header-font-weight: var(--system-table-header-font-weight); + --spectrum-table-row-font-family: var(--system-table-row-font-family); + --spectrum-table-row-font-weight: var(--system-table-row-font-weight); + --spectrum-table-row-font-style: var(--system-table-row-font-style); + --spectrum-table-row-font-size: var(--system-table-row-font-size); + --spectrum-table-row-line-height: var(--system-table-row-line-height); + --spectrum-table-border-color: var(--system-table-border-color); + --spectrum-table-divider-color: var(--system-table-divider-color); + --spectrum-table-header-background-color: var( + --system-table-header-background-color + ); + --spectrum-table-header-text-color: var(--system-table-header-text-color); + --spectrum-table-row-background-color: var( + --system-table-row-background-color + ); + --spectrum-table-row-text-color: var(--system-table-row-text-color); + --spectrum-table-selected-row-background-color: var( + --system-table-selected-row-background-color + ); + --spectrum-table-selected-row-background-color-non-emphasized: var( + --system-table-selected-row-background-color-non-emphasized + ); + --spectrum-table-row-background-color-hover: var( + --system-table-row-background-color-hover + ); + --spectrum-table-row-active-color: var(--system-table-row-active-color); + --spectrum-table-selected-row-background-color-focus: var( + --system-table-selected-row-background-color-focus + ); + --spectrum-table-selected-row-background-color-non-emphasized-focus: var( + --system-table-selected-row-background-color-non-emphasized-focus + ); + --spectrum-table-icon-color-default: var(--system-table-icon-color-default); + --spectrum-table-icon-color-hover: var(--system-table-icon-color-hover); + --spectrum-table-icon-color-active: var(--system-table-icon-color-active); + --spectrum-table-icon-color-focus: var(--system-table-icon-color-focus); + --spectrum-table-icon-color-focus-hover: var( + --system-table-icon-color-focus-hover + ); + --spectrum-table-icon-color-key-focus: var( + --system-table-icon-color-key-focus + ); + --spectrum-table-header-checkbox-block-spacing: var( + --system-table-header-checkbox-block-spacing + ); + --spectrum-table-row-checkbox-block-spacing: var( + --system-table-row-checkbox-block-spacing + ); + --spectrum-table-focus-indicator-thickness: var( + --system-table-focus-indicator-thickness + ); + --spectrum-table-focus-indicator-color: var( + --system-table-focus-indicator-color + ); + --spectrum-table-drop-zone-background-color: var( + --system-table-drop-zone-background-color + ); + --spectrum-table-drop-zone-outline-color: var( + --system-table-drop-zone-outline-color + ); + --spectrum-table-transition-duration: var( + --system-table-transition-duration + ); + --spectrum-table-summary-row-font-weight: var( + --system-table-summary-row-font-weight + ); + --spectrum-table-summary-row-background-color: var( + --system-table-summary-row-background-color + ); + --spectrum-table-section-header-min-height: var( + --system-table-section-header-min-height + ); + --spectrum-table-section-header-block-start-spacing: var( + --system-table-section-header-block-start-spacing + ); + --spectrum-table-section-header-block-end-spacing: var( + --system-table-section-header-block-end-spacing + ); + --spectrum-table-section-header-font-weight: var( + --system-table-section-header-font-weight + ); + --spectrum-table-section-header-background-color: var( + --system-table-section-header-background-color + ); + --spectrum-table-collapsible-tier-indent: var( + --system-table-collapsible-tier-indent + ); + --spectrum-table-collapsible-disclosure-inline-spacing: var( + --system-table-collapsible-disclosure-inline-spacing + ); + --spectrum-table-disclosure-icon-size: var( + --system-table-disclosure-icon-size + ); + --spectrum-table-collapsible-icon-animation-duration: var( + --system-table-collapsible-icon-animation-duration + ); + --spectrum-table-thumbnail-to-text: var(--system-table-thumbnail-to-text); + --spectrum-table-thumbnail-block-spacing: var( + --system-table-thumbnail-block-spacing + ); + --spectrum-table-thumbnail-size: var(--system-table-thumbnail-size); + --spectrum-table-cell-background-color: var( + --system-table-cell-background-color + ); + --spectrum-table-selected-cell-background-color: var( + --system-table-selected-cell-background-color + ); + --spectrum-table-selected-cell-background-color-focus: var( + --system-table-selected-cell-background-color-focus + ); +} + +:host([size='s']) { + --spectrum-table-min-header-height: var( + --system-table-size-s-min-header-height + ); + --spectrum-table-header-top-to-text: var( + --system-table-size-s-header-top-to-text + ); + --spectrum-table-header-bottom-to-text: var( + --system-table-size-s-header-bottom-to-text + ); + --spectrum-table-min-row-height: var(--system-table-size-s-min-row-height); + --spectrum-table-row-top-to-text: var( + --system-table-size-s-row-top-to-text + ); + --spectrum-table-row-bottom-to-text: var( + --system-table-size-s-row-bottom-to-text + ); + --spectrum-table-icon-to-text: var(--system-table-size-s-icon-to-text); + --spectrum-table-row-font-size: var(--system-table-size-s-row-font-size); + --spectrum-table-header-checkbox-block-spacing: var( + --system-table-size-s-header-checkbox-block-spacing + ); + --spectrum-table-row-checkbox-block-spacing: var( + --system-table-size-s-row-checkbox-block-spacing + ); + --spectrum-table-section-header-min-height: var( + --system-table-size-s-section-header-min-height + ); + --spectrum-table-section-header-block-start-spacing: var( + --system-table-size-s-section-header-block-start-spacing + ); + --spectrum-table-section-header-block-end-spacing: var( + --system-table-size-s-section-header-block-end-spacing + ); + --spectrum-table-disclosure-icon-size: var( + --system-table-size-s-disclosure-icon-size + ); + --spectrum-table-thumbnail-block-spacing: var( + --system-table-size-s-thumbnail-block-spacing + ); + --spectrum-table-thumbnail-to-text: var( + --system-table-size-s-thumbnail-to-text + ); + --spectrum-table-thumbnail-size: var(--system-table-size-s-thumbnail-size); +} + +:host([size='l']) { + --spectrum-table-min-header-height: var( + --system-table-size-l-min-header-height + ); + --spectrum-table-header-top-to-text: var( + --system-table-size-l-header-top-to-text + ); + --spectrum-table-header-bottom-to-text: var( + --system-table-size-l-header-bottom-to-text + ); + --spectrum-table-min-row-height: var(--system-table-size-l-min-row-height); + --spectrum-table-row-top-to-text: var( + --system-table-size-l-row-top-to-text + ); + --spectrum-table-row-bottom-to-text: var( + --system-table-size-l-row-bottom-to-text + ); + --spectrum-table-icon-to-text: var(--system-table-size-l-icon-to-text); + --spectrum-table-row-font-size: var(--system-table-size-l-row-font-size); + --spectrum-table-header-checkbox-block-spacing: var( + --system-table-size-l-header-checkbox-block-spacing + ); + --spectrum-table-row-checkbox-block-spacing: var( + --system-table-size-l-row-checkbox-block-spacing + ); + --spectrum-table-section-header-min-height: var( + --system-table-size-l-section-header-min-height + ); + --spectrum-table-section-header-block-start-spacing: var( + --system-table-size-l-section-header-block-start-spacing + ); + --spectrum-table-section-header-block-end-spacing: var( + --system-table-size-l-section-header-block-end-spacing + ); + --spectrum-table-disclosure-icon-size: var( + --system-table-size-l-disclosure-icon-size + ); + --spectrum-table-thumbnail-block-spacing: var( + --system-table-size-l-thumbnail-block-spacing + ); + --spectrum-table-thumbnail-to-text: var( + --system-table-size-l-thumbnail-to-text + ); + --spectrum-table-thumbnail-size: var(--system-table-size-l-thumbnail-size); +} + +:host([size='xl']) { + --spectrum-table-min-header-height: var( + --system-table-size-xl-min-header-height + ); + --spectrum-table-header-top-to-text: var( + --system-table-size-xl-header-top-to-text + ); + --spectrum-table-header-bottom-to-text: var( + --system-table-size-xl-header-bottom-to-text + ); + --spectrum-table-min-row-height: var(--system-table-size-xl-min-row-height); + --spectrum-table-row-top-to-text: var( + --system-table-size-xl-row-top-to-text + ); + --spectrum-table-row-bottom-to-text: var( + --system-table-size-xl-row-bottom-to-text + ); + --spectrum-table-icon-to-text: var(--system-table-size-xl-icon-to-text); + --spectrum-table-row-font-size: var(--system-table-size-xl-row-font-size); + --spectrum-table-header-checkbox-block-spacing: var( + --system-table-size-xl-header-checkbox-block-spacing + ); + --spectrum-table-row-checkbox-block-spacing: var( + --system-table-size-xl-row-checkbox-block-spacing + ); + --spectrum-table-section-header-min-height: var( + --system-table-size-xl-section-header-min-height + ); + --spectrum-table-section-header-block-start-spacing: var( + --system-table-size-xl-section-header-block-start-spacing + ); + --spectrum-table-section-header-block-end-spacing: var( + --system-table-size-xl-section-header-block-end-spacing + ); + --spectrum-table-disclosure-icon-size: var( + --system-table-size-xl-disclosure-icon-size + ); + --spectrum-table-thumbnail-block-spacing: var( + --system-table-size-xl-thumbnail-block-spacing + ); + --spectrum-table-thumbnail-to-text: var( + --system-table-size-xl-thumbnail-to-text + ); + --spectrum-table-thumbnail-size: var(--system-table-size-xl-thumbnail-size); +} + +:host([density='compact']) { + --spectrum-table-min-row-height: var(--system-table-compact-min-row-height); + --spectrum-table-row-top-to-text: var( + --system-table-compact-row-top-to-text + ); + --spectrum-table-row-bottom-to-text: var( + --system-table-compact-row-bottom-to-text + ); + --spectrum-table-row-checkbox-block-spacing: var( + --system-table-compact-row-checkbox-block-spacing + ); + --spectrum-table-thumbnail-block-spacing: var( + --system-table-compact-thumbnail-block-spacing + ); + --spectrum-table-thumbnail-size: var(--system-table-compact-thumbnail-size); +} + +:host([density='compact'][size='s']) { + --spectrum-table-min-row-height: var( + --system-table-compact-size-s-min-row-height + ); + --spectrum-table-row-top-to-text: var( + --system-table-compact-size-s-row-top-to-text + ); + --spectrum-table-row-bottom-to-text: var( + --system-table-compact-size-s-row-bottom-to-text + ); + --spectrum-table-row-checkbox-block-spacing: var( + --system-table-compact-size-s-row-checkbox-block-spacing + ); + --spectrum-table-thumbnail-block-spacing: var( + --system-table-compact-size-s-thumbnail-block-spacing + ); + --spectrum-table-thumbnail-size: var( + --system-table-compact-size-s-thumbnail-size + ); +} + +:host([density='compact'][size='l']) { + --spectrum-table-min-row-height: var( + --system-table-compact-size-l-min-row-height + ); + --spectrum-table-row-top-to-text: var( + --system-table-compact-size-l-row-top-to-text + ); + --spectrum-table-row-bottom-to-text: var( + --system-table-compact-size-l-row-bottom-to-text + ); + --spectrum-table-row-checkbox-block-spacing: var( + --system-table-compact-size-l-row-checkbox-block-spacing + ); + --spectrum-table-thumbnail-block-spacing: var( + --system-table-compact-size-l-thumbnail-block-spacing + ); + --spectrum-table-thumbnail-size: var( + --system-table-compact-size-l-thumbnail-size + ); +} + +:host([density='compact'][size='xl']) { + --spectrum-table-min-row-height: var( + --system-table-compact-size-xl-min-row-height + ); + --spectrum-table-row-top-to-text: var( + --system-table-compact-size-xl-row-top-to-text + ); + --spectrum-table-row-bottom-to-text: var( + --system-table-compact-size-xl-row-bottom-to-text + ); + --spectrum-table-row-checkbox-block-spacing: var( + --system-table-compact-size-xl-row-checkbox-block-spacing + ); + --spectrum-table-thumbnail-block-spacing: var( + --system-table-compact-size-xl-thumbnail-block-spacing + ); + --spectrum-table-thumbnail-size: var( + --system-table-compact-size-xl-thumbnail-size + ); +} + +:host([density='spacious']) { + --spectrum-table-min-row-height: var( + --system-table-spacious-min-row-height + ); + --spectrum-table-row-top-to-text: var( + --system-table-spacious-row-top-to-text + ); + --spectrum-table-row-bottom-to-text: var( + --system-table-spacious-row-bottom-to-text + ); + --spectrum-table-row-checkbox-block-spacing: var( + --system-table-spacious-row-checkbox-block-spacing + ); + --spectrum-table-thumbnail-block-spacing: var( + --system-table-spacious-thumbnail-block-spacing + ); + --spectrum-table-thumbnail-size: var( + --system-table-spacious-thumbnail-size + ); +} + +:host([density='spacious'][size='s']) { + --spectrum-table-min-row-height: var( + --system-table-spacious-size-s-min-row-height + ); + --spectrum-table-row-top-to-text: var( + --system-table-spacious-size-s-row-top-to-text + ); + --spectrum-table-row-bottom-to-text: var( + --system-table-spacious-size-s-row-bottom-to-text + ); + --spectrum-table-row-checkbox-block-spacing: var( + --system-table-spacious-size-s-row-checkbox-block-spacing + ); + --spectrum-table-thumbnail-block-spacing: var( + --system-table-spacious-size-s-thumbnail-block-spacing + ); + --spectrum-table-thumbnail-size: var( + --system-table-spacious-size-s-thumbnail-size + ); +} + +:host([density='spacious'][size='l']) { + --spectrum-table-min-row-height: var( + --system-table-spacious-size-l-min-row-height + ); + --spectrum-table-row-top-to-text: var( + --system-table-spacious-size-l-row-top-to-text + ); + --spectrum-table-row-bottom-to-text: var( + --system-table-spacious-size-l-row-bottom-to-text + ); + --spectrum-table-row-checkbox-block-spacing: var( + --system-table-spacious-size-l-row-checkbox-block-spacing + ); + --spectrum-table-thumbnail-block-spacing: var( + --system-table-spacious-size-l-thumbnail-block-spacing + ); + --spectrum-table-thumbnail-size: var( + --system-table-spacious-size-l-thumbnail-size + ); +} + +:host([density='spacious'][size='xl']) { + --spectrum-table-min-row-height: var( + --system-table-spacious-size-xl-min-row-height + ); + --spectrum-table-row-top-to-text: var( + --system-table-spacious-size-xl-row-top-to-text + ); + --spectrum-table-row-bottom-to-text: var( + --system-table-spacious-size-xl-row-bottom-to-text + ); + --spectrum-table-row-checkbox-block-spacing: var( + --system-table-spacious-size-xl-row-checkbox-block-spacing + ); + --spectrum-table-thumbnail-block-spacing: var( + --system-table-spacious-size-xl-thumbnail-block-spacing + ); + --spectrum-table-thumbnail-size: var( + --system-table-spacious-size-xl-thumbnail-size + ); +} + +:host([emphasized]) { + --spectrum-table-selected-cell-background-color: var( + --system-table-emphasized-selected-cell-background-color + ); + --spectrum-table-selected-cell-background-color-focus: var( + --system-table-emphasized-selected-cell-background-color-focus + ); +} + +:host([quiet]) { + --spectrum-table-border-radius: var(--system-table-quiet-border-radius); + --spectrum-table-outer-border-inline-width: var( + --system-table-quiet-outer-border-inline-width + ); + --spectrum-table-header-background-color: var( + --system-table-quiet-header-background-color + ); + --spectrum-table-row-background-color: var( + --system-table-quiet-row-background-color + ); +} diff --git a/packages/table/src/table-row-overrides.css b/packages/table/src/table-row-overrides.css new file mode 100644 index 0000000000..b1cee0dbcd --- /dev/null +++ b/packages/table/src/table-row-overrides.css @@ -0,0 +1,13 @@ +/* +Copyright 2023 Adobe. All rights reserved. +This file is licensed to you under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. You may obtain a copy +of the License at http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under +the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS +OF ANY KIND, either express or implied. See the License for the specific language +governing permissions and limitations under the License. +*/ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ diff --git a/packages/table/src/table-row.css b/packages/table/src/table-row.css index 73325c6af3..1e676227d5 100644 --- a/packages/table/src/table-row.css +++ b/packages/table/src/table-row.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-table-row.css'); +@import url('./table-row-overrides.css'); :host, :host([role='row']) { diff --git a/packages/table/src/table.css b/packages/table/src/table.css index 6fb7da3a51..0a559f884b 100644 --- a/packages/table/src/table.css +++ b/packages/table/src/table.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-table.css'); +@import url('./table-overrides.css'); :host { display: flex; diff --git a/packages/table/test/helpers.ts b/packages/table/test/helpers.ts index d826b5e590..868dcce163 100644 --- a/packages/table/test/helpers.ts +++ b/packages/table/test/helpers.ts @@ -20,7 +20,7 @@ export async function styledFixture( story: TemplateResult ): Promise { const test = await fixture(html` - + ${story} `); diff --git a/packages/table/test/virtualized-table-selects.test.ts b/packages/table/test/virtualized-table-selects.test.ts index 71647a1b98..82743fe50c 100644 --- a/packages/table/test/virtualized-table-selects.test.ts +++ b/packages/table/test/virtualized-table-selects.test.ts @@ -48,15 +48,11 @@ ignoreResizeObserverLoopError(before, after); describe('Virtualized Table Selects', () => { it('selects and deselects all checkboxes in Virtualized Table when clicking the TableHeadCheckboxCell', async () => { - const test = await fixture( - html` -
- ${virtualizedMultiple( - virtualizedMultiple.args as Properties - )} -
- ` - ); + const test = await fixture
(html` +
+ ${virtualizedMultiple(virtualizedMultiple.args as Properties)} +
+ `); const el = test.querySelector('sp-table') as Table; await oneEvent(el, 'rangeChanged'); @@ -102,26 +98,24 @@ describe('Virtualized Table Selects', () => { }); it('can prevent selection', async () => { - const el = await fixture
( - html` - { - event.preventDefault(); - }} - .items=${makeItems(50)} - .renderItem=${renderItem} - > - - Column Title - Column Title - Column Title - - - ` - ); + const el = await fixture
(html` + { + event.preventDefault(); + }} + .items=${makeItems(50)} + .renderItem=${renderItem} + > + + Column Title + Column Title + Column Title + + + `); await oneEvent(el, 'rangeChanged'); await elementUpdated(el); @@ -140,13 +134,11 @@ describe('Virtualized Table Selects', () => { }); it('surfaces [selects="single"] selection on Virtualized Table', async () => { - const test = await fixture
( - html` - - ${virtualizedSingle(virtualizedSingle.args as Properties)} - - ` - ); + const test = await fixture
(html` + + ${virtualizedSingle(virtualizedSingle.args as Properties)} + + `); const el = test.querySelector('sp-table') as Table; const body = el.querySelector('sp-table-body') as TableBody; @@ -172,13 +164,11 @@ describe('Virtualized Table Selects', () => { }); it('selects via `click` while [selects="single"]', async () => { - const test = await fixture
( - html` - - ${virtualizedSingle(virtualizedSingle.args as Properties)} - - ` - ); + const test = await fixture
(html` + + ${virtualizedSingle(virtualizedSingle.args as Properties)} + + `); const el = test.querySelector('sp-table') as Table; el.selected = []; @@ -213,15 +203,11 @@ describe('Virtualized Table Selects', () => { }); it('surfaces [selects="multiple"] selection on Virtualized Table', async () => { - const test = await fixture
( - html` - - ${virtualizedMultiple( - virtualizedMultiple.args as Properties - )} - - ` - ); + const test = await fixture
(html` + + ${virtualizedMultiple(virtualizedMultiple.args as Properties)} + + `); const el = test.querySelector('sp-table') as Table; const body = el.querySelector('sp-table-body') as TableBody; @@ -243,15 +229,11 @@ describe('Virtualized Table Selects', () => { }); it('selects via `click` while [selects="multiple"] selection', async () => { - const test = await styledFixture
( - html` -
- ${virtualizedMultiple( - virtualizedMultiple.args as Properties - )} -
- ` - ); + const test = await styledFixture
(html` +
+ ${virtualizedMultiple(virtualizedMultiple.args as Properties)} +
+ `); const el = test.querySelector('sp-table') as Table; el.selected = []; @@ -281,15 +263,11 @@ describe('Virtualized Table Selects', () => { }); it('allows .selected values to be changed by the application when [selects="multiple"]', async () => { - const test = await styledFixture
( - html` -
- ${virtualizedMultiple( - virtualizedMultiple.args as Properties - )} -
- ` - ); + const test = await styledFixture
(html` +
+ ${virtualizedMultiple(virtualizedMultiple.args as Properties)} +
+ `); const el = test.querySelector('sp-table') as Table; el.selected = ['1']; await tableLayoutComplete(el); @@ -411,15 +389,11 @@ describe('Virtualized Table Selects', () => { }); it('ensures that virtualized elements with values in .selected are visually selected when brought into view using scrollTop', async () => { - const test = await fixture
( - html` - - ${virtualizedMultiple( - virtualizedMultiple.args as Properties - )} - - ` - ); + const test = await fixture
(html` + + ${virtualizedMultiple(virtualizedMultiple.args as Properties)} + + `); const el = test.querySelector('sp-table') as Table; const body = el.querySelector('sp-table-body') as TableBody; @@ -451,15 +425,11 @@ describe('Virtualized Table Selects', () => { }); it('ensures that virtualized elements with values in .selected are visually selected when brought into view using scrollToIndex', async () => { - const test = await fixture
( - html` -
- ${virtualizedMultiple( - virtualizedMultiple.args as Properties - )} -
- ` - ); + const test = await fixture
(html` +
+ ${virtualizedMultiple(virtualizedMultiple.args as Properties)} +
+ `); const el = test.querySelector('sp-table') as Table; await tableLayoutComplete(el); @@ -489,15 +459,11 @@ describe('Virtualized Table Selects', () => { }); it('does not set `allSelected` to true by default on Virtualised ``', async () => { - const test = await fixture
( - html` -
- ${virtualizedMultiple( - virtualizedMultiple.args as Properties - )} -
- ` - ); + const test = await fixture
(html` +
+ ${virtualizedMultiple(virtualizedMultiple.args as Properties)} +
+ `); const el = test.querySelector('sp-table') as Table; await oneEvent(el, 'rangeChanged'); @@ -515,13 +481,11 @@ describe('Virtualized Table Selects', () => { }); it('renders custom content at a particular row and does not select it', async () => { - const test = await fixture
( - html` -
- ${virtualizedCustomRow(virtualizedCustomRow.args as Properties)} -
- ` - ); + const test = await fixture
(html` +
+ ${virtualizedCustomRow(virtualizedCustomRow.args as Properties)} +
+ `); const el = test.querySelector('sp-table') as Table; await oneEvent(el, 'rangeChanged'); diff --git a/packages/tabs/package.json b/packages/tabs/package.json index 70c5f43e0b..ef5148b560 100644 --- a/packages/tabs/package.json +++ b/packages/tabs/package.json @@ -48,6 +48,8 @@ "./src/tab-panel.css.js": "./src/tab-panel.css.js", "./src/tab.css.js": "./src/tab.css.js", "./src/tabs-overflow.css.js": "./src/tabs-overflow.css.js", + "./src/tabs-overrides.css.js": "./src/tabs-overrides.css.js", + "./src/tabs-sizes-overrides.css.js": "./src/tabs-sizes-overrides.css.js", "./src/tabs-sizes.css.js": "./src/tabs-sizes.css.js", "./src/tabs.css.js": "./src/tabs.css.js", "./sp-tabs.js": { @@ -93,7 +95,7 @@ "@spectrum-web-components/shared": "^0.49.0" }, "devDependencies": { - "@spectrum-css/tabs": "^5.1.0" + "@spectrum-css/tabs": "^6.0.0-s2-foundations.16" }, "types": "./src/index.d.ts", "customElements": "custom-elements.json", diff --git a/packages/tabs/src/TabsOverflow.ts b/packages/tabs/src/TabsOverflow.ts index 9260938830..67b9b3d1da 100644 --- a/packages/tabs/src/TabsOverflow.ts +++ b/packages/tabs/src/TabsOverflow.ts @@ -30,6 +30,7 @@ import { Tabs } from './Tabs.js'; import '@spectrum-web-components/action-button/sp-action-button.js'; import '@spectrum-web-components/icons-ui/icons/sp-icon-chevron100.js'; import chevronIconStyles from '@spectrum-web-components/icon/src/spectrum-icon-chevron.css.js'; +import chevronIconOverrides from '@spectrum-web-components/icon/src/icon-chevron-overrides.css.js'; import tabSizes from './tabs-sizes.css.js'; import styles from './tabs-overflow.css.js'; @@ -42,7 +43,7 @@ interface TabsOverflowState { */ export class TabsOverflow extends SizedMixin(SpectrumElement) { public static override get styles(): CSSResultArray { - return [chevronIconStyles, styles, tabSizes]; + return [styles, tabSizes, chevronIconStyles, chevronIconOverrides]; } @property({ type: Boolean, reflect: true }) diff --git a/packages/tabs/src/spectrum-tabs-sizes.css b/packages/tabs/src/spectrum-tabs-sizes.css index 0b1aca0e31..0794c4005b 100644 --- a/packages/tabs/src/spectrum-tabs-sizes.css +++ b/packages/tabs/src/spectrum-tabs-sizes.css @@ -11,134 +11,58 @@ governing permissions and limitations under the License. */ /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ -:host([size='s']) #list { - --spectrum-tabs-item-height: var(--spectrum-tab-item-height-small); - --spectrum-tabs-item-horizontal-spacing: var( - --spectrum-tab-item-to-tab-item-horizontal-small - ); - --spectrum-tabs-item-vertical-spacing: var( - --spectrum-tab-item-to-tab-item-vertical-small - ); - --spectrum-tabs-start-to-edge: var(--spectrum-tab-item-start-to-edge-small); - --spectrum-tabs-top-to-text: var(--spectrum-tab-item-top-to-text-small); - --spectrum-tabs-bottom-to-text: var( - --spectrum-tab-item-bottom-to-text-small - ); - --spectrum-tabs-icon-size: var(--spectrum-workflow-icon-size-50); - --spectrum-tabs-icon-to-text: var(--spectrum-text-to-visual-75); - --spectrum-tabs-top-to-icon: var( - --spectrum-tab-item-top-to-workflow-icon-small - ); - --spectrum-tabs-focus-indicator-gap: var( - --spectrum-tab-item-focus-indicator-gap-small - ); - --spectrum-tabs-font-size: var(--spectrum-font-size-75); -} - -:host([size='l']) #list { - --spectrum-tabs-item-height: var(--spectrum-tab-item-height-large); - --spectrum-tabs-item-horizontal-spacing: var( - --spectrum-tab-item-to-tab-item-horizontal-large - ); - --spectrum-tabs-item-vertical-spacing: var( - --spectrum-tab-item-to-tab-item-vertical-large - ); - --spectrum-tabs-start-to-edge: var(--spectrum-tab-item-start-to-edge-large); - --spectrum-tabs-top-to-text: var(--spectrum-tab-item-top-to-text-large); - --spectrum-tabs-bottom-to-text: var( - --spectrum-tab-item-bottom-to-text-large - ); - --spectrum-tabs-icon-size: var(--spectrum-workflow-icon-size-100); - --spectrum-tabs-icon-to-text: var(--spectrum-text-to-visual-200); - --spectrum-tabs-top-to-icon: var( - --spectrum-tab-item-top-to-workflow-icon-large - ); - --spectrum-tabs-focus-indicator-gap: var( - --spectrum-tab-item-focus-indicator-gap-large - ); - --spectrum-tabs-font-size: var(--spectrum-font-size-200); -} - -:host([size='xl']) #list { - --spectrum-tabs-item-height: var(--spectrum-tab-item-height-extra-large); - --spectrum-tabs-item-horizontal-spacing: var( - --spectrum-tab-item-to-tab-item-horizontal-extra-large - ); - --spectrum-tabs-item-vertical-spacing: var( - --spectrum-tab-item-to-tab-item-vertical-extra-large - ); - --spectrum-tabs-start-to-edge: var( - --spectrum-tab-item-start-to-edge-extra-large - ); - --spectrum-tabs-top-to-text: var( - --spectrum-tab-item-top-to-text-extra-large - ); - --spectrum-tabs-bottom-to-text: var( - --spectrum-tab-item-bottom-to-text-extra-large - ); - --spectrum-tabs-icon-size: var(--spectrum-workflow-icon-size-200); - --spectrum-tabs-icon-to-text: var(--spectrum-text-to-visual-300); - --spectrum-tabs-top-to-icon: var( - --spectrum-tab-item-top-to-workflow-icon-extra-large - ); - --spectrum-tabs-focus-indicator-gap: var( - --spectrum-tab-item-focus-indicator-gap-extra-large - ); - --spectrum-tabs-font-size: var(--spectrum-font-size-300); -} - :host([size='s']) #list.spectrum-Tabs--compact { - --mod-tabs-item-height: var( + --spectrum-tabs-item-height: var( --mod-tabs-item-height-compact, var(--spectrum-tab-item-compact-height-small) ); - --mod-tabs-top-to-text: var( + --spectrum-tabs-top-to-text: var( --mod-tabs-top-to-text-compact, var(--spectrum-tab-item-top-to-text-compact-small) ); - --mod-tabs-bottom-to-text: var( + --spectrum-tabs-bottom-to-text: var( --mod-tabs-bottom-to-text-compact, var(--spectrum-tab-item-top-to-text-compact-small) ); - --mod-tabs-top-to-icon: var( + --spectrum-tabs-top-to-icon: var( --mod-tabs-top-to-icon-compact, var(--spectrum-tab-item-top-to-workflow-icon-compact-small) ); } :host([size='l']) #list.spectrum-Tabs--compact { - --mod-tabs-item-height: var( + --spectrum-tabs-item-height: var( --mod-tabs-item-height-compact, var(--spectrum-tab-item-compact-height-large) ); - --mod-tabs-top-to-text: var( + --spectrum-tabs-top-to-text: var( --mod-tabs-top-to-text-compact, var(--spectrum-tab-item-top-to-text-compact-large) ); - --mod-tabs-bottom-to-text: var( + --spectrum-tabs-bottom-to-text: var( --mod-tabs-bottom-to-text-compact, var(--spectrum-tab-item-top-to-text-compact-large) ); - --mod-tabs-top-to-icon: var( + --spectrum-tabs-top-to-icon: var( --mod-tabs-top-to-icon-compact, var(--spectrum-tab-item-top-to-workflow-icon-compact-large) ); } :host([size='xl']) #list.spectrum-Tabs--compact { - --mod-tabs-item-height: var( + --spectrum-tabs-item-height: var( --mod-tabs-item-height-compact, var(--spectrum-tab-item-compact-height-extra-large) ); - --mod-tabs-top-to-text: var( + --spectrum-tabs-top-to-text: var( --mod-tabs-top-to-text-compact, var(--spectrum-tab-item-top-to-text-compact-extra-large) ); - --mod-tabs-bottom-to-text: var( + --spectrum-tabs-bottom-to-text: var( --mod-tabs-bottom-to-text-compact, var(--spectrum-tab-item-top-to-text-compact-extra-large) ); - --mod-tabs-top-to-icon: var( + --spectrum-tabs-top-to-icon: var( --mod-tabs-top-to-icon-compact, var(--spectrum-tab-item-top-to-workflow-icon-compact-extra-large) ); diff --git a/packages/tabs/src/spectrum-tabs.css b/packages/tabs/src/spectrum-tabs.css index 00c1ff9f56..b1f3f3a08c 100644 --- a/packages/tabs/src/spectrum-tabs.css +++ b/packages/tabs/src/spectrum-tabs.css @@ -11,134 +11,6 @@ governing permissions and limitations under the License. */ /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ -#list { - --spectrum-tabs-item-height: var(--spectrum-tab-item-height-medium); - --spectrum-tabs-item-horizontal-spacing: var( - --spectrum-tab-item-to-tab-item-horizontal-medium - ); - --spectrum-tabs-item-vertical-spacing: var( - --spectrum-tab-item-to-tab-item-vertical-medium - ); - --spectrum-tabs-start-to-edge: var( - --spectrum-tab-item-start-to-edge-medium - ); - --spectrum-tabs-top-to-text: var(--spectrum-tab-item-top-to-text-medium); - --spectrum-tabs-bottom-to-text: var( - --spectrum-tab-item-bottom-to-text-medium - ); - --spectrum-tabs-icon-size: var(--spectrum-workflow-icon-size-75); - --spectrum-tabs-icon-to-text: var(--spectrum-text-to-visual-100); - --spectrum-tabs-top-to-icon: var( - --spectrum-tab-item-top-to-workflow-icon-medium - ); - --spectrum-tabs-color: var( - --spectrum-neutral-subdued-content-color-default - ); - --spectrum-tabs-color-selected: var( - --spectrum-neutral-subdued-content-color-down - ); - --spectrum-tabs-color-hover: var( - --spectrum-neutral-subdued-content-color-hover - ); - --spectrum-tabs-color-key-focus: var( - --spectrum-neutral-subdued-content-color-key-focus - ); - --spectrum-tabs-color-disabled: var(--spectrum-gray-500); - --spectrum-tabs-font-family: var(--spectrum-sans-font-family-stack); - --spectrum-tabs-font-style: var(--spectrum-default-font-style); - --spectrum-tabs-font-size: var(--spectrum-font-size-100); - --spectrum-tabs-line-height: var(--spectrum-line-height-100); - --spectrum-tabs-focus-indicator-width: var( - --spectrum-focus-indicator-thickness - ); - --spectrum-tabs-focus-indicator-border-radius: var( - --spectrum-corner-radius-100 - ); - --spectrum-tabs-focus-indicator-gap: var( - --spectrum-tab-item-focus-indicator-gap-medium - ); - --spectrum-tabs-focus-indicator-color: var( - --spectrum-focus-indicator-color - ); - --spectrum-tabs-selection-indicator-color: var( - --spectrum-neutral-subdued-content-color-down - ); - --spectrum-tabs-list-background-direction: top; - --spectrum-tabs-divider-background-color: var(--spectrum-gray-300); - --spectrum-tabs-divider-size: var(--spectrum-border-width-200); - --spectrum-tabs-divider-border-radius: 1px; - --spectrum-tabs-animation-duration: var(--spectrum-animation-duration-100); - --spectrum-tabs-animation-ease: var(--spectrum-animation-ease-in-out); -} - -:host([emphasized]) #list { - --mod-tabs-color-selected: var( - --mod-tabs-color-selected-emphasized, - var(--spectrum-accent-content-color-default) - ); - --mod-tabs-color-hover: var( - --mod-tabs-color-hover-emphasized, - var(--spectrum-accent-content-color-hover) - ); - --mod-tabs-color-key-focus: var( - --mod-tabs-color-key-focus-emphasized, - var(--spectrum-accent-content-color-key-focus) - ); - --mod-tabs-selection-indicator-color: var( - --mod-tabs-selection-indicator-color-emphasized, - var(--spectrum-accent-content-color-default) - ); -} - -:host([direction^='vertical']) #list { - --mod-tabs-list-background-direction: var( - --mod-tabs-list-background-direction-vertical, - right - ); -} - -:host([direction^='vertical-right']) #list { - --mod-tabs-list-background-direction: var( - --mod-tabs-list-background-direction-vertical-right, - left - ); -} - -:host([direction^='vertical']) #list:dir(rtl), -:host([dir='rtl'][direction^='vertical']) #list { - --mod-tabs-list-background-direction: var( - --mod-tabs-list-background-direction-vertical, - left - ); -} - -:host([direction^='vertical-right']) #list:dir(rtl), -:host([dir='rtl'][direction^='vertical-right']) #list { - --mod-tabs-list-background-direction: var( - --mod-tabs-list-background-direction-vertical, - right - ); -} - -:host([compact]) #list { - --mod-tabs-item-height: var( - --mod-tabs-item-height-compact, - var(--spectrum-tab-item-compact-height-medium) - ); - --mod-tabs-top-to-text: var( - --mod-tabs-top-to-text-compact, - var(--spectrum-tab-item-top-to-text-compact-medium) - ); - --mod-tabs-bottom-to-text: var( - --mod-tabs-bottom-to-text-compact, - var(--spectrum-tab-item-top-to-text-compact-medium) - ); - --mod-tabs-top-to-icon: var( - --mod-tabs-top-to-icon-compact, - var(--spectrum-tab-item-top-to-workflow-icon-compact-medium) - ); -} - #list { z-index: 0; vertical-align: top; @@ -165,6 +37,25 @@ governing permissions and limitations under the License. position: relative; } +:host([emphasized]) #list { + --mod-tabs-color-selected: var( + --mod-tabs-color-selected-emphasized, + var(--spectrum-tabs-color-selected) + ); + --mod-tabs-color-hover: var( + --mod-tabs-color-hover-emphasized, + var(--spectrum-tabs-color-hover) + ); + --mod-tabs-color-key-focus: var( + --mod-tabs-color-key-focus-emphasized, + var(--spectrum-tabs-color-key-focus) + ); + --mod-tabs-selection-indicator-color: var( + --mod-tabs-selection-indicator-color-emphasized, + var(--spectrum-tabs-selection-indicator-color) + ); +} + ::slotted([selected]:not([slot])) { color: var( --highcontrast-tabs-color-selected, @@ -243,6 +134,13 @@ governing permissions and limitations under the License. ); } +:host([direction^='vertical']) #list { + --mod-tabs-list-background-direction: var( + --mod-tabs-list-background-direction-vertical, + right + ); +} + :host([direction^='vertical']) #list, :host([direction^='vertical-right']) #list { flex-direction: column; @@ -295,10 +193,52 @@ governing permissions and limitations under the License. inset-inline-start: 0; } +:host([direction^='vertical-right']) #list { + --mod-tabs-list-background-direction: var( + --mod-tabs-list-background-direction-vertical-right, + left + ); +} + :host([direction^='vertical-right']) #list #selection-indicator { inset-inline: auto 0; } +:host([direction^='vertical']) #list:dir(rtl), +:host([dir='rtl'][direction^='vertical']) #list { + --mod-tabs-list-background-direction: var( + --mod-tabs-list-background-direction-vertical, + left + ); +} + +:host([direction^='vertical-right']) #list:dir(rtl), +:host([dir='rtl'][direction^='vertical-right']) #list { + --mod-tabs-list-background-direction: var( + --mod-tabs-list-background-direction-vertical, + right + ); +} + +:host([compact]) #list { + --spectrum-tabs-item-height: var( + --mod-tabs-item-height-compact, + var(--spectrum-tab-item-compact-height-medium) + ); + --spectrum-tabs-top-to-text: var( + --mod-tabs-top-to-text-compact, + var(--spectrum-tab-item-top-to-text-compact-medium) + ); + --spectrum-tabs-bottom-to-text: var( + --mod-tabs-bottom-to-text-compact, + var(--spectrum-tab-item-top-to-text-compact-medium) + ); + --spectrum-tabs-top-to-icon: var( + --mod-tabs-top-to-icon-compact, + var(--spectrum-tab-item-top-to-workflow-icon-compact-medium) + ); +} + @media (forced-colors: active) { #list { --highcontrast-tabs-divider-background-color: var(--spectrum-gray-500); @@ -348,7 +288,3 @@ governing permissions and limitations under the License. ); } } - -#list { - --spectrum-tabs-font-weight: var(--system-spectrum-tabs-font-weight); -} diff --git a/packages/tabs/src/tabs-overrides.css b/packages/tabs/src/tabs-overrides.css new file mode 100644 index 0000000000..455c65120b --- /dev/null +++ b/packages/tabs/src/tabs-overrides.css @@ -0,0 +1,76 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +#list { + --spectrum-tabs-font-weight: var(--system-tabs-font-weight); + --spectrum-tabs-item-height: var(--system-tabs-item-height); + --spectrum-tabs-item-horizontal-spacing: var( + --system-tabs-item-horizontal-spacing + ); + --spectrum-tabs-item-vertical-spacing: var( + --system-tabs-item-vertical-spacing + ); + --spectrum-tabs-start-to-edge: var(--system-tabs-start-to-edge); + --spectrum-tabs-top-to-text: var(--system-tabs-top-to-text); + --spectrum-tabs-bottom-to-text: var(--system-tabs-bottom-to-text); + --spectrum-tabs-icon-size: var(--system-tabs-icon-size); + --spectrum-tabs-icon-to-text: var(--system-tabs-icon-to-text); + --spectrum-tabs-top-to-icon: var(--system-tabs-top-to-icon); + --spectrum-tabs-color: var(--system-tabs-color); + --spectrum-tabs-color-selected: var(--system-tabs-color-selected); + --spectrum-tabs-color-hover: var(--system-tabs-color-hover); + --spectrum-tabs-color-key-focus: var(--system-tabs-color-key-focus); + --spectrum-tabs-color-disabled: var(--system-tabs-color-disabled); + --spectrum-tabs-font-family: var(--system-tabs-font-family); + --spectrum-tabs-font-style: var(--system-tabs-font-style); + --spectrum-tabs-font-size: var(--system-tabs-font-size); + --spectrum-tabs-line-height: var(--system-tabs-line-height); + --spectrum-tabs-focus-indicator-width: var( + --system-tabs-focus-indicator-width + ); + --spectrum-tabs-focus-indicator-border-radius: var( + --system-tabs-focus-indicator-border-radius + ); + --spectrum-tabs-focus-indicator-gap: var(--system-tabs-focus-indicator-gap); + --spectrum-tabs-focus-indicator-color: var( + --system-tabs-focus-indicator-color + ); + --spectrum-tabs-selection-indicator-color: var( + --system-tabs-selection-indicator-color + ); + --spectrum-tabs-list-background-direction: var( + --system-tabs-list-background-direction + ); + --spectrum-tabs-divider-background-color: var( + --system-tabs-divider-background-color + ); + --spectrum-tabs-divider-size: var(--system-tabs-divider-size); + --spectrum-tabs-divider-border-radius: var( + --system-tabs-divider-border-radius + ); + --spectrum-tabs-animation-duration: var(--system-tabs-animation-duration); + --spectrum-tabs-animation-ease: var(--system-tabs-animation-ease); +} + +:host([emphasized]) #list { + --spectrum-tabs-color-selected: var( + --system-tabs-emphasized-color-selected + ); + --spectrum-tabs-color-hover: var(--system-tabs-emphasized-color-hover); + --spectrum-tabs-color-key-focus: var( + --system-tabs-emphasized-color-key-focus + ); + --spectrum-tabs-selection-indicator-color: var( + --system-tabs-emphasized-selection-indicator-color + ); +} diff --git a/packages/tabs/src/tabs-sizes-overrides.css b/packages/tabs/src/tabs-sizes-overrides.css new file mode 100644 index 0000000000..695c157fe6 --- /dev/null +++ b/packages/tabs/src/tabs-sizes-overrides.css @@ -0,0 +1,72 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host([size='s']) #list { + --spectrum-tabs-item-height: var(--system-tabs-size-s-item-height); + --spectrum-tabs-item-horizontal-spacing: var( + --system-tabs-size-s-item-horizontal-spacing + ); + --spectrum-tabs-item-vertical-spacing: var( + --system-tabs-size-s-item-vertical-spacing + ); + --spectrum-tabs-start-to-edge: var(--system-tabs-size-s-start-to-edge); + --spectrum-tabs-top-to-text: var(--system-tabs-size-s-top-to-text); + --spectrum-tabs-bottom-to-text: var(--system-tabs-size-s-bottom-to-text); + --spectrum-tabs-icon-size: var(--system-tabs-size-s-icon-size); + --spectrum-tabs-icon-to-text: var(--system-tabs-size-s-icon-to-text); + --spectrum-tabs-top-to-icon: var(--system-tabs-size-s-top-to-icon); + --spectrum-tabs-focus-indicator-gap: var( + --system-tabs-size-s-focus-indicator-gap + ); + --spectrum-tabs-font-size: var(--system-tabs-size-s-font-size); +} + +:host([size='l']) #list { + --spectrum-tabs-item-height: var(--system-tabs-size-l-item-height); + --spectrum-tabs-item-horizontal-spacing: var( + --system-tabs-size-l-item-horizontal-spacing + ); + --spectrum-tabs-item-vertical-spacing: var( + --system-tabs-size-l-item-vertical-spacing + ); + --spectrum-tabs-start-to-edge: var(--system-tabs-size-l-start-to-edge); + --spectrum-tabs-top-to-text: var(--system-tabs-size-l-top-to-text); + --spectrum-tabs-bottom-to-text: var(--system-tabs-size-l-bottom-to-text); + --spectrum-tabs-icon-size: var(--system-tabs-size-l-icon-size); + --spectrum-tabs-icon-to-text: var(--system-tabs-size-l-icon-to-text); + --spectrum-tabs-top-to-icon: var(--system-tabs-size-l-top-to-icon); + --spectrum-tabs-focus-indicator-gap: var( + --system-tabs-size-l-focus-indicator-gap + ); + --spectrum-tabs-font-size: var(--system-tabs-size-l-font-size); +} + +:host([size='xl']) #list { + --spectrum-tabs-item-height: var(--system-tabs-size-xl-item-height); + --spectrum-tabs-item-horizontal-spacing: var( + --system-tabs-size-xl-item-horizontal-spacing + ); + --spectrum-tabs-item-vertical-spacing: var( + --system-tabs-size-xl-item-vertical-spacing + ); + --spectrum-tabs-start-to-edge: var(--system-tabs-size-xl-start-to-edge); + --spectrum-tabs-top-to-text: var(--system-tabs-size-xl-top-to-text); + --spectrum-tabs-bottom-to-text: var(--system-tabs-size-xl-bottom-to-text); + --spectrum-tabs-icon-size: var(--system-tabs-size-xl-icon-size); + --spectrum-tabs-icon-to-text: var(--system-tabs-size-xl-icon-to-text); + --spectrum-tabs-top-to-icon: var(--system-tabs-size-xl-top-to-icon); + --spectrum-tabs-focus-indicator-gap: var( + --system-tabs-size-xl-focus-indicator-gap + ); + --spectrum-tabs-font-size: var(--system-tabs-size-xl-font-size); +} diff --git a/packages/tabs/src/tabs-sizes.css b/packages/tabs/src/tabs-sizes.css index 9406912b1c..689d949575 100644 --- a/packages/tabs/src/tabs-sizes.css +++ b/packages/tabs/src/tabs-sizes.css @@ -11,3 +11,4 @@ governing permissions and limitations under the License. */ @import url('./spectrum-tabs-sizes.css'); +@import url('./tabs-sizes-overrides.css'); diff --git a/packages/tabs/src/tabs.css b/packages/tabs/src/tabs.css index 62e48caa47..e500cded04 100644 --- a/packages/tabs/src/tabs.css +++ b/packages/tabs/src/tabs.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-tabs.css'); +@import url('./tabs-overrides.css'); :host { display: grid; diff --git a/packages/tags/package.json b/packages/tags/package.json index 4c21c3ed12..d82c9c5ca8 100644 --- a/packages/tags/package.json +++ b/packages/tags/package.json @@ -37,7 +37,9 @@ "development": "./src/index.dev.js", "default": "./src/index.js" }, + "./src/tag-overrides.css.js": "./src/tag-overrides.css.js", "./src/tag.css.js": "./src/tag.css.js", + "./src/tags-overrides.css.js": "./src/tags-overrides.css.js", "./src/tags.css.js": "./src/tags.css.js", "./sp-tags.js": { "development": "./sp-tags.dev.js", @@ -72,8 +74,8 @@ "@spectrum-web-components/shared": "^0.49.0" }, "devDependencies": { - "@spectrum-css/tag": "^9.1.0", - "@spectrum-css/taggroup": "^5.1.0" + "@spectrum-css/tag": "^10.0.0-s2-foundations.15", + "@spectrum-css/taggroup": "^6.0.0-s2-foundations.15" }, "types": "./src/index.d.ts", "customElements": "custom-elements.json", diff --git a/packages/tags/src/spectrum-tag.css b/packages/tags/src/spectrum-tag.css index 170bda45a4..403695cb53 100644 --- a/packages/tags/src/spectrum-tag.css +++ b/packages/tags/src/spectrum-tag.css @@ -11,256 +11,6 @@ governing permissions and limitations under the License. */ /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ -:host { - --spectrum-avatar-opacity-disabled: 0.3; - --spectrum-tag-animation-duration: var(--spectrum-animation-duration-100); - --spectrum-tag-border-width: var(--spectrum-border-width-100); - --spectrum-tag-focus-ring-thickness: var( - --spectrum-focus-indicator-thickness - ); - --spectrum-tag-focus-ring-gap: var(--spectrum-focus-indicator-gap); - --spectrum-tag-focus-ring-color: var(--spectrum-focus-indicator-color); - --spectrum-tag-label-line-height: var(--spectrum-line-height-100); - --spectrum-tag-label-font-weight: var(--spectrum-regular-font-weight); - --spectrum-tag-content-color-selected: var(--spectrum-gray-50); - --spectrum-tag-background-color-selected: var( - --spectrum-neutral-background-color-selected-default - ); - --spectrum-tag-background-color-selected-hover: var( - --spectrum-neutral-background-color-selected-hover - ); - --spectrum-tag-background-color-selected-active: var( - --spectrum-neutral-background-color-selected-down - ); - --spectrum-tag-background-color-selected-focus: var( - --spectrum-neutral-background-color-selected-key-focus - ); - --spectrum-tag-border-color-invalid: var(--spectrum-negative-color-900); - --spectrum-tag-border-color-invalid-hover: var( - --spectrum-negative-color-1000 - ); - --spectrum-tag-border-color-invalid-active: var( - --spectrum-negative-color-1100 - ); - --spectrum-tag-border-color-invalid-focus: var( - --spectrum-negative-color-1000 - ); - --spectrum-tag-content-color-invalid: var( - --spectrum-negative-content-color-default - ); - --spectrum-tag-content-color-invalid-hover: var( - --spectrum-negative-content-color-hover - ); - --spectrum-tag-content-color-invalid-active: var( - --spectrum-negative-content-color-down - ); - --spectrum-tag-content-color-invalid-focus: var( - --spectrum-negative-content-color-key-focus - ); - --spectrum-tag-border-color-invalid-selected: var( - --spectrum-negative-background-color-default - ); - --spectrum-tag-border-color-invalid-selected-hover: var( - --spectrum-negative-background-color-hover - ); - --spectrum-tag-border-color-invalid-selected-focus: var( - --spectrum-negative-background-color-down - ); - --spectrum-tag-border-color-invalid-selected-active: var( - --spectrum-negative-background-color-key-focus - ); - --spectrum-tag-background-color-invalid-selected: var( - --spectrum-negative-background-color-default - ); - --spectrum-tag-background-color-invalid-selected-hover: var( - --spectrum-negative-background-color-hover - ); - --spectrum-tag-background-color-invalid-selected-active: var( - --spectrum-negative-background-color-down - ); - --spectrum-tag-background-color-invalid-selected-focus: var( - --spectrum-negative-background-color-key-focus - ); - --spectrum-tag-content-color-invalid-selected: var(--spectrum-white); - --spectrum-tag-border-color-emphasized: var( - --spectrum-accent-background-color-default - ); - --spectrum-tag-border-color-emphasized-hover: var( - --spectrum-accent-background-color-hover - ); - --spectrum-tag-border-color-emphasized-active: var( - --spectrum-accent-background-color-down - ); - --spectrum-tag-border-color-emphasized-focus: var( - --spectrum-accent-background-color-key-focus - ); - --spectrum-tag-background-color-emphasized: var( - --spectrum-accent-background-color-default - ); - --spectrum-tag-background-color-emphasized-hover: var( - --spectrum-accent-background-color-hover - ); - --spectrum-tag-background-color-emphasized-active: var( - --spectrum-accent-background-color-down - ); - --spectrum-tag-background-color-emphasized-focus: var( - --spectrum-accent-background-color-key-focus - ); - --spectrum-tag-content-color-emphasized: var(--spectrum-white); - --spectrum-tag-content-color-disabled: var( - --spectrum-disabled-content-color - ); - --spectrum-tag-icon-spacing-inline-end: var(--spectrum-text-to-visual-100); - --spectrum-tag-icon-size: var(--spectrum-workflow-icon-size-100); - --spectrum-tag-icon-spacing-block-start: var( - --spectrum-component-top-to-workflow-icon-100 - ); - --spectrum-tag-icon-spacing-block-end: var( - --spectrum-component-top-to-workflow-icon-100 - ); - --spectrum-tag-avatar-spacing-block-start: var( - --spectrum-tag-top-to-avatar-medium - ); - --spectrum-tag-avatar-spacing-block-end: var( - --spectrum-tag-top-to-avatar-medium - ); - --spectrum-tag-avatar-spacing-inline-end: var( - --spectrum-text-to-visual-100 - ); - --spectrum-tag-label-spacing-block: var( - --spectrum-component-top-to-text-100 - ); - --spectrum-tag-clear-button-spacing-inline-start: var( - --spectrum-text-to-visual-100 - ); - --spectrum-tag-height: var(--spectrum-component-height-100); - --spectrum-tag-font-size: var(--spectrum-font-size-100); - --spectrum-tag-clear-button-spacing-block: var( - --spectrum-tag-top-to-cross-icon-medium - ); -} - -:host([size='s']) { - --spectrum-tag-height: var(--spectrum-component-height-75); - --spectrum-tag-font-size: var(--spectrum-font-size-75); - --spectrum-tag-icon-size: var(--spectrum-workflow-icon-size-75); - --spectrum-tag-clear-button-spacing-inline-start: var( - --spectrum-text-to-visual-75 - ); - --spectrum-tag-clear-button-spacing-block: var( - --spectrum-tag-top-to-cross-icon-small - ); - --spectrum-tag-icon-spacing-block-start: var( - --spectrum-component-top-to-workflow-icon-75 - ); - --spectrum-tag-icon-spacing-block-end: var( - --spectrum-component-top-to-workflow-icon-75 - ); - --spectrum-tag-icon-spacing-inline-end: var(--spectrum-text-to-visual-75); - --spectrum-tag-avatar-spacing-block-start: var( - --spectrum-tag-top-to-avatar-small - ); - --spectrum-tag-avatar-spacing-block-end: var( - --spectrum-tag-top-to-avatar-small - ); - --spectrum-tag-avatar-spacing-inline-end: var(--spectrum-text-to-visual-75); - --spectrum-tag-label-spacing-block: var( - --spectrum-component-top-to-text-75 - ); - --spectrum-tag-corner-radius: var(--spectrum-tag-size-small-corner-radius); - --spectrum-tag-spacing-inline-start: var( - --spectrum-tag-size-small-spacing-inline-start - ); - --spectrum-tag-label-spacing-inline-end: var( - --spectrum-tag-size-small-label-spacing-inline-end - ); - --spectrum-tag-clear-button-spacing-inline-end: var( - --spectrum-tag-size-small-clear-button-spacing-inline-end - ); -} - -:host { - --spectrum-tag-height: var(--spectrum-component-height-100); - --spectrum-tag-font-size: var(--spectrum-font-size-100); - --spectrum-tag-icon-size: var(--spectrum-workflow-icon-size-100); - --spectrum-tag-clear-button-spacing-inline-start: var( - --spectrum-text-to-visual-100 - ); - --spectrum-tag-clear-button-spacing-block: var( - --spectrum-tag-top-to-cross-icon-medium - ); - --spectrum-tag-icon-spacing-block-start: var( - --spectrum-component-top-to-workflow-icon-100 - ); - --spectrum-tag-icon-spacing-block-end: var( - --spectrum-component-top-to-workflow-icon-100 - ); - --spectrum-tag-icon-spacing-inline-end: var(--spectrum-text-to-visual-100); - --spectrum-tag-avatar-spacing-block-start: var( - --spectrum-tag-top-to-avatar-medium - ); - --spectrum-tag-avatar-spacing-block-end: var( - --spectrum-tag-top-to-avatar-medium - ); - --spectrum-tag-avatar-spacing-inline-end: var( - --spectrum-text-to-visual-100 - ); - --spectrum-tag-label-spacing-block: var( - --spectrum-component-top-to-text-100 - ); - --spectrum-tag-corner-radius: var(--spectrum-tag-size-medium-corner-radius); - --spectrum-tag-spacing-inline-start: var( - --spectrum-tag-size-medium-spacing-inline-start - ); - --spectrum-tag-label-spacing-inline-end: var( - --spectrum-tag-size-medium-label-spacing-inline-end - ); - --spectrum-tag-clear-button-spacing-inline-end: var( - --spectrum-tag-size-medium-clear-button-spacing-inline-end - ); -} - -:host([size='l']) { - --spectrum-tag-height: var(--spectrum-component-height-200); - --spectrum-tag-font-size: var(--spectrum-font-size-200); - --spectrum-tag-icon-size: var(--spectrum-workflow-icon-size-200); - --spectrum-tag-clear-button-spacing-inline-start: var( - --spectrum-text-to-visual-200 - ); - --spectrum-tag-clear-button-spacing-block: var( - --spectrum-tag-top-to-cross-icon-large - ); - --spectrum-tag-icon-spacing-block-start: var( - --spectrum-component-top-to-workflow-icon-200 - ); - --spectrum-tag-icon-spacing-block-end: var( - --spectrum-component-top-to-workflow-icon-200 - ); - --spectrum-tag-icon-spacing-inline-end: var(--spectrum-text-to-visual-200); - --spectrum-tag-avatar-spacing-block-start: var( - --spectrum-tag-top-to-avatar-large - ); - --spectrum-tag-avatar-spacing-block-end: var( - --spectrum-tag-top-to-avatar-large - ); - --spectrum-tag-avatar-spacing-inline-end: var( - --spectrum-text-to-visual-200 - ); - --spectrum-tag-label-spacing-block: var( - --spectrum-component-top-to-text-200 - ); - --spectrum-tag-corner-radius: var(--spectrum-tag-size-large-corner-radius); - --spectrum-tag-spacing-inline-start: var( - --spectrum-tag-size-large-spacing-inline-start - ); - --spectrum-tag-label-spacing-inline-end: var( - --spectrum-tag-size-large-label-spacing-inline-end - ); - --spectrum-tag-clear-button-spacing-inline-end: var( - --spectrum-tag-size-large-clear-button-spacing-inline-end - ); -} - :host { border-color: var( --highcontrast-tag-border-color, @@ -327,6 +77,7 @@ governing permissions and limitations under the License. ::slotted([slot='icon']) { block-size: var(--mod-tag-icon-size, var(--spectrum-tag-icon-size)); inline-size: var(--mod-tag-icon-size, var(--spectrum-tag-icon-size)); + flex-shrink: 0; margin-block-start: calc( var( --mod-tag-icon-spacing-block-start, @@ -365,11 +116,11 @@ governing permissions and limitations under the License. } .clear-button { - box-sizing: border-box; - color: currentColor; --mod-clear-button-width: fit-content; --spectrum-clearbutton-fill-size: fit-content; --spectrum-clearbutton-fill-background-color: transparent; + box-sizing: border-box; + color: currentColor; margin-inline-start: calc( var( --mod-tag-clear-button-spacing-inline-start, @@ -927,7 +678,6 @@ governing permissions and limitations under the License. @media (forced-colors: active) { :host { - forced-color-adjust: none; --highcontrast-tag-border-color: ButtonText; --highcontrast-tag-border-color-hover: ButtonText; --highcontrast-tag-border-color-active: ButtonText; @@ -941,6 +691,7 @@ governing permissions and limitations under the License. --highcontrast-tag-content-color-active: ButtonText; --highcontrast-tag-content-color-focus: ButtonText; --highcontrast-tag-focus-ring-color: Highlight; + forced-color-adjust: none; } :host([selected]) { @@ -996,92 +747,3 @@ governing permissions and limitations under the License. --highcontrast-tag-content-color-emphasized: CanvasText; } } - -:host { - --spectrum-tag-border-color: var(--system-spectrum-tag-border-color); - --spectrum-tag-border-color-hover: var( - --system-spectrum-tag-border-color-hover - ); - --spectrum-tag-border-color-active: var( - --system-spectrum-tag-border-color-active - ); - --spectrum-tag-border-color-focus: var( - --system-spectrum-tag-border-color-focus - ); - --spectrum-tag-size-small-corner-radius: var( - --system-spectrum-tag-size-small-corner-radius - ); - --spectrum-tag-size-medium-corner-radius: var( - --system-spectrum-tag-size-medium-corner-radius - ); - --spectrum-tag-size-large-corner-radius: var( - --system-spectrum-tag-size-large-corner-radius - ); - --spectrum-tag-background-color: var( - --system-spectrum-tag-background-color - ); - --spectrum-tag-background-color-hover: var( - --system-spectrum-tag-background-color-hover - ); - --spectrum-tag-background-color-active: var( - --system-spectrum-tag-background-color-active - ); - --spectrum-tag-background-color-focus: var( - --system-spectrum-tag-background-color-focus - ); - --spectrum-tag-content-color: var(--system-spectrum-tag-content-color); - --spectrum-tag-content-color-hover: var( - --system-spectrum-tag-content-color-hover - ); - --spectrum-tag-content-color-active: var( - --system-spectrum-tag-content-color-active - ); - --spectrum-tag-content-color-focus: var( - --system-spectrum-tag-content-color-focus - ); - --spectrum-tag-border-color-selected: var( - --system-spectrum-tag-border-color-selected - ); - --spectrum-tag-border-color-selected-hover: var( - --system-spectrum-tag-border-color-selected-hover - ); - --spectrum-tag-border-color-selected-active: var( - --system-spectrum-tag-border-color-selected-active - ); - --spectrum-tag-border-color-selected-focus: var( - --system-spectrum-tag-border-color-selected-focus - ); - --spectrum-tag-border-color-disabled: var( - --system-spectrum-tag-border-color-disabled - ); - --spectrum-tag-background-color-disabled: var( - --system-spectrum-tag-background-color-disabled - ); - --spectrum-tag-size-small-spacing-inline-start: var( - --system-spectrum-tag-size-small-spacing-inline-start - ); - --spectrum-tag-size-small-label-spacing-inline-end: var( - --system-spectrum-tag-size-small-label-spacing-inline-end - ); - --spectrum-tag-size-small-clear-button-spacing-inline-end: var( - --system-spectrum-tag-size-small-clear-button-spacing-inline-end - ); - --spectrum-tag-size-medium-spacing-inline-start: var( - --system-spectrum-tag-size-medium-spacing-inline-start - ); - --spectrum-tag-size-medium-label-spacing-inline-end: var( - --system-spectrum-tag-size-medium-label-spacing-inline-end - ); - --spectrum-tag-size-medium-clear-button-spacing-inline-end: var( - --system-spectrum-tag-size-medium-clear-button-spacing-inline-end - ); - --spectrum-tag-size-large-spacing-inline-start: var( - --system-spectrum-tag-size-large-spacing-inline-start - ); - --spectrum-tag-size-large-label-spacing-inline-end: var( - --system-spectrum-tag-size-large-label-spacing-inline-end - ); - --spectrum-tag-size-large-clear-button-spacing-inline-end: var( - --system-spectrum-tag-size-large-clear-button-spacing-inline-end - ); -} diff --git a/packages/tags/src/spectrum-tags.css b/packages/tags/src/spectrum-tags.css index 0df4a93691..1af81362f9 100644 --- a/packages/tags/src/spectrum-tags.css +++ b/packages/tags/src/spectrum-tags.css @@ -12,8 +12,6 @@ governing permissions and limitations under the License. /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ :host { - --spectrum-tag-group-item-margin-block: var(--spectrum-spacing-75); - --spectrum-tag-group-item-margin-inline: var(--spectrum-spacing-75); flex-wrap: wrap; margin: 0; padding: 0; diff --git a/packages/tags/src/tag-overrides.css b/packages/tags/src/tag-overrides.css new file mode 100644 index 0000000000..92c47e8592 --- /dev/null +++ b/packages/tags/src/tag-overrides.css @@ -0,0 +1,356 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host { + --spectrum-tag-border-color: var(--system-tag-border-color); + --spectrum-tag-border-color-hover: var(--system-tag-border-color-hover); + --spectrum-tag-border-color-active: var(--system-tag-border-color-active); + --spectrum-tag-border-color-focus: var(--system-tag-border-color-focus); + --spectrum-tag-size-small-corner-radius: var( + --system-tag-size-small-corner-radius + ); + --spectrum-tag-size-medium-corner-radius: var( + --system-tag-size-medium-corner-radius + ); + --spectrum-tag-size-large-corner-radius: var( + --system-tag-size-large-corner-radius + ); + --spectrum-tag-background-color: var(--system-tag-background-color); + --spectrum-tag-background-color-hover: var( + --system-tag-background-color-hover + ); + --spectrum-tag-background-color-active: var( + --system-tag-background-color-active + ); + --spectrum-tag-background-color-focus: var( + --system-tag-background-color-focus + ); + --spectrum-tag-content-color: var(--system-tag-content-color); + --spectrum-tag-content-color-hover: var(--system-tag-content-color-hover); + --spectrum-tag-content-color-active: var(--system-tag-content-color-active); + --spectrum-tag-content-color-focus: var(--system-tag-content-color-focus); + --spectrum-tag-border-color-selected: var( + --system-tag-border-color-selected + ); + --spectrum-tag-border-color-selected-hover: var( + --system-tag-border-color-selected-hover + ); + --spectrum-tag-border-color-selected-active: var( + --system-tag-border-color-selected-active + ); + --spectrum-tag-border-color-selected-focus: var( + --system-tag-border-color-selected-focus + ); + --spectrum-tag-border-color-disabled: var( + --system-tag-border-color-disabled + ); + --spectrum-tag-background-color-disabled: var( + --system-tag-background-color-disabled + ); + --spectrum-tag-size-small-spacing-inline-start: var( + --system-tag-size-small-spacing-inline-start + ); + --spectrum-tag-size-small-label-spacing-inline-end: var( + --system-tag-size-small-label-spacing-inline-end + ); + --spectrum-tag-size-small-clear-button-spacing-inline-end: var( + --system-tag-size-small-clear-button-spacing-inline-end + ); + --spectrum-tag-size-medium-spacing-inline-start: var( + --system-tag-size-medium-spacing-inline-start + ); + --spectrum-tag-size-medium-label-spacing-inline-end: var( + --system-tag-size-medium-label-spacing-inline-end + ); + --spectrum-tag-size-medium-clear-button-spacing-inline-end: var( + --system-tag-size-medium-clear-button-spacing-inline-end + ); + --spectrum-tag-size-large-spacing-inline-start: var( + --system-tag-size-large-spacing-inline-start + ); + --spectrum-tag-size-large-label-spacing-inline-end: var( + --system-tag-size-large-label-spacing-inline-end + ); + --spectrum-tag-size-large-clear-button-spacing-inline-end: var( + --system-tag-size-large-clear-button-spacing-inline-end + ); + --spectrum-avatar-opacity-disabled: var( + --system-tag-avatar-opacity-disabled + ); + --spectrum-tag-animation-duration: var(--system-tag-animation-duration); + --spectrum-tag-border-width: var(--system-tag-border-width); + --spectrum-tag-focus-ring-thickness: var(--system-tag-focus-ring-thickness); + --spectrum-tag-focus-ring-gap: var(--system-tag-focus-ring-gap); + --spectrum-tag-focus-ring-color: var(--system-tag-focus-ring-color); + --spectrum-tag-label-line-height: var(--system-tag-label-line-height); + --spectrum-tag-label-font-weight: var(--system-tag-label-font-weight); + --spectrum-tag-content-color-selected: var( + --system-tag-content-color-selected + ); + --spectrum-tag-background-color-selected: var( + --system-tag-background-color-selected + ); + --spectrum-tag-background-color-selected-hover: var( + --system-tag-background-color-selected-hover + ); + --spectrum-tag-background-color-selected-active: var( + --system-tag-background-color-selected-active + ); + --spectrum-tag-background-color-selected-focus: var( + --system-tag-background-color-selected-focus + ); + --spectrum-tag-border-color-invalid: var(--system-tag-border-color-invalid); + --spectrum-tag-border-color-invalid-hover: var( + --system-tag-border-color-invalid-hover + ); + --spectrum-tag-border-color-invalid-active: var( + --system-tag-border-color-invalid-active + ); + --spectrum-tag-border-color-invalid-focus: var( + --system-tag-border-color-invalid-focus + ); + --spectrum-tag-content-color-invalid: var( + --system-tag-content-color-invalid + ); + --spectrum-tag-content-color-invalid-hover: var( + --system-tag-content-color-invalid-hover + ); + --spectrum-tag-content-color-invalid-active: var( + --system-tag-content-color-invalid-active + ); + --spectrum-tag-content-color-invalid-focus: var( + --system-tag-content-color-invalid-focus + ); + --spectrum-tag-border-color-invalid-selected: var( + --system-tag-border-color-invalid-selected + ); + --spectrum-tag-border-color-invalid-selected-hover: var( + --system-tag-border-color-invalid-selected-hover + ); + --spectrum-tag-border-color-invalid-selected-focus: var( + --system-tag-border-color-invalid-selected-focus + ); + --spectrum-tag-border-color-invalid-selected-active: var( + --system-tag-border-color-invalid-selected-active + ); + --spectrum-tag-background-color-invalid-selected: var( + --system-tag-background-color-invalid-selected + ); + --spectrum-tag-background-color-invalid-selected-hover: var( + --system-tag-background-color-invalid-selected-hover + ); + --spectrum-tag-background-color-invalid-selected-active: var( + --system-tag-background-color-invalid-selected-active + ); + --spectrum-tag-background-color-invalid-selected-focus: var( + --system-tag-background-color-invalid-selected-focus + ); + --spectrum-tag-content-color-invalid-selected: var( + --system-tag-content-color-invalid-selected + ); + --spectrum-tag-border-color-emphasized: var( + --system-tag-border-color-emphasized + ); + --spectrum-tag-border-color-emphasized-hover: var( + --system-tag-border-color-emphasized-hover + ); + --spectrum-tag-border-color-emphasized-active: var( + --system-tag-border-color-emphasized-active + ); + --spectrum-tag-border-color-emphasized-focus: var( + --system-tag-border-color-emphasized-focus + ); + --spectrum-tag-background-color-emphasized: var( + --system-tag-background-color-emphasized + ); + --spectrum-tag-background-color-emphasized-hover: var( + --system-tag-background-color-emphasized-hover + ); + --spectrum-tag-background-color-emphasized-active: var( + --system-tag-background-color-emphasized-active + ); + --spectrum-tag-background-color-emphasized-focus: var( + --system-tag-background-color-emphasized-focus + ); + --spectrum-tag-content-color-emphasized: var( + --system-tag-content-color-emphasized + ); + --spectrum-tag-content-color-disabled: var( + --system-tag-content-color-disabled + ); + --spectrum-tag-icon-spacing-inline-end: var( + --system-tag-icon-spacing-inline-end + ); + --spectrum-tag-icon-size: var(--system-tag-icon-size); + --spectrum-tag-icon-spacing-block-start: var( + --system-tag-icon-spacing-block-start + ); + --spectrum-tag-icon-spacing-block-end: var( + --system-tag-icon-spacing-block-end + ); + --spectrum-tag-avatar-spacing-block-start: var( + --system-tag-avatar-spacing-block-start + ); + --spectrum-tag-avatar-spacing-block-end: var( + --system-tag-avatar-spacing-block-end + ); + --spectrum-tag-avatar-spacing-inline-end: var( + --system-tag-avatar-spacing-inline-end + ); + --spectrum-tag-label-spacing-block: var(--system-tag-label-spacing-block); + --spectrum-tag-clear-button-spacing-inline-start: var( + --system-tag-clear-button-spacing-inline-start + ); + --spectrum-tag-height: var(--system-tag-height); + --spectrum-tag-font-size: var(--system-tag-font-size); + --spectrum-tag-clear-button-spacing-block: var( + --system-tag-clear-button-spacing-block + ); + --spectrum-tag-corner-radius: var(--system-tag-corner-radius); + --spectrum-tag-spacing-inline-start: var(--system-tag-spacing-inline-start); + --spectrum-tag-label-spacing-inline-end: var( + --system-tag-label-spacing-inline-end + ); + --spectrum-tag-clear-button-spacing-inline-end: var( + --system-tag-clear-button-spacing-inline-end + ); +} + +:host([size='s']) { + --spectrum-tag-height: var(--system-tag-size-s-height); + --spectrum-tag-font-size: var(--system-tag-size-s-font-size); + --spectrum-tag-icon-size: var(--system-tag-size-s-icon-size); + --spectrum-tag-clear-button-spacing-inline-start: var( + --system-tag-size-s-clear-button-spacing-inline-start + ); + --spectrum-tag-clear-button-spacing-block: var( + --system-tag-size-s-clear-button-spacing-block + ); + --spectrum-tag-icon-spacing-block-start: var( + --system-tag-size-s-icon-spacing-block-start + ); + --spectrum-tag-icon-spacing-block-end: var( + --system-tag-size-s-icon-spacing-block-end + ); + --spectrum-tag-icon-spacing-inline-end: var( + --system-tag-size-s-icon-spacing-inline-end + ); + --spectrum-tag-avatar-spacing-block-start: var( + --system-tag-size-s-avatar-spacing-block-start + ); + --spectrum-tag-avatar-spacing-block-end: var( + --system-tag-size-s-avatar-spacing-block-end + ); + --spectrum-tag-avatar-spacing-inline-end: var( + --system-tag-size-s-avatar-spacing-inline-end + ); + --spectrum-tag-label-spacing-block: var( + --system-tag-size-s-label-spacing-block + ); + --spectrum-tag-corner-radius: var(--system-tag-size-s-corner-radius); + --spectrum-tag-spacing-inline-start: var( + --system-tag-size-s-spacing-inline-start + ); + --spectrum-tag-label-spacing-inline-end: var( + --system-tag-size-s-label-spacing-inline-end + ); + --spectrum-tag-clear-button-spacing-inline-end: var( + --system-tag-size-s-clear-button-spacing-inline-end + ); +} + +:host { + --spectrum-tag-height: var(--system-tag-size-m-height); + --spectrum-tag-font-size: var(--system-tag-size-m-font-size); + --spectrum-tag-icon-size: var(--system-tag-size-m-icon-size); + --spectrum-tag-clear-button-spacing-inline-start: var( + --system-tag-size-m-clear-button-spacing-inline-start + ); + --spectrum-tag-clear-button-spacing-block: var( + --system-tag-size-m-clear-button-spacing-block + ); + --spectrum-tag-icon-spacing-block-start: var( + --system-tag-size-m-icon-spacing-block-start + ); + --spectrum-tag-icon-spacing-block-end: var( + --system-tag-size-m-icon-spacing-block-end + ); + --spectrum-tag-icon-spacing-inline-end: var( + --system-tag-size-m-icon-spacing-inline-end + ); + --spectrum-tag-avatar-spacing-block-start: var( + --system-tag-size-m-avatar-spacing-block-start + ); + --spectrum-tag-avatar-spacing-block-end: var( + --system-tag-size-m-avatar-spacing-block-end + ); + --spectrum-tag-avatar-spacing-inline-end: var( + --system-tag-size-m-avatar-spacing-inline-end + ); + --spectrum-tag-label-spacing-block: var( + --system-tag-size-m-label-spacing-block + ); + --spectrum-tag-corner-radius: var(--system-tag-size-m-corner-radius); + --spectrum-tag-spacing-inline-start: var( + --system-tag-size-m-spacing-inline-start + ); + --spectrum-tag-label-spacing-inline-end: var( + --system-tag-size-m-label-spacing-inline-end + ); + --spectrum-tag-clear-button-spacing-inline-end: var( + --system-tag-size-m-clear-button-spacing-inline-end + ); +} + +:host([size='l']) { + --spectrum-tag-height: var(--system-tag-size-l-height); + --spectrum-tag-font-size: var(--system-tag-size-l-font-size); + --spectrum-tag-icon-size: var(--system-tag-size-l-icon-size); + --spectrum-tag-clear-button-spacing-inline-start: var( + --system-tag-size-l-clear-button-spacing-inline-start + ); + --spectrum-tag-clear-button-spacing-block: var( + --system-tag-size-l-clear-button-spacing-block + ); + --spectrum-tag-icon-spacing-block-start: var( + --system-tag-size-l-icon-spacing-block-start + ); + --spectrum-tag-icon-spacing-block-end: var( + --system-tag-size-l-icon-spacing-block-end + ); + --spectrum-tag-icon-spacing-inline-end: var( + --system-tag-size-l-icon-spacing-inline-end + ); + --spectrum-tag-avatar-spacing-block-start: var( + --system-tag-size-l-avatar-spacing-block-start + ); + --spectrum-tag-avatar-spacing-block-end: var( + --system-tag-size-l-avatar-spacing-block-end + ); + --spectrum-tag-avatar-spacing-inline-end: var( + --system-tag-size-l-avatar-spacing-inline-end + ); + --spectrum-tag-label-spacing-block: var( + --system-tag-size-l-label-spacing-block + ); + --spectrum-tag-corner-radius: var(--system-tag-size-l-corner-radius); + --spectrum-tag-spacing-inline-start: var( + --system-tag-size-l-spacing-inline-start + ); + --spectrum-tag-label-spacing-inline-end: var( + --system-tag-size-l-label-spacing-inline-end + ); + --spectrum-tag-clear-button-spacing-inline-end: var( + --system-tag-size-l-clear-button-spacing-inline-end + ); +} diff --git a/packages/tags/src/tag.css b/packages/tags/src/tag.css index cb20fc8b65..540747a619 100644 --- a/packages/tags/src/tag.css +++ b/packages/tags/src/tag.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-tag.css'); +@import url('./tag-overrides.css'); :host([invalid]) .clear-button { --spectrum-clearbutton-medium-icon-color: var( diff --git a/packages/tags/src/tags-overrides.css b/packages/tags/src/tags-overrides.css new file mode 100644 index 0000000000..7b87e2f6fa --- /dev/null +++ b/packages/tags/src/tags-overrides.css @@ -0,0 +1,21 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host { + --spectrum-tag-group-item-margin-block: var( + --system-tag-group-item-margin-block + ); + --spectrum-tag-group-item-margin-inline: var( + --system-tag-group-item-margin-inline + ); +} diff --git a/packages/tags/src/tags.css b/packages/tags/src/tags.css index c2bbcd71f7..eb9ce88f6e 100644 --- a/packages/tags/src/tags.css +++ b/packages/tags/src/tags.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-tags.css'); +@import url('./tags-overrides.css'); :host { --mod-clear-button-width: fit-content; diff --git a/packages/textfield/package.json b/packages/textfield/package.json index 21daba8c71..8c2143dc38 100644 --- a/packages/textfield/package.json +++ b/packages/textfield/package.json @@ -33,6 +33,7 @@ "development": "./src/index.dev.js", "default": "./src/index.js" }, + "./src/textfield-overrides.css.js": "./src/textfield-overrides.css.js", "./src/textfield.css.js": "./src/textfield.css.js", "./sp-textfield.js": { "development": "./sp-textfield.dev.js", @@ -65,7 +66,7 @@ "@spectrum-web-components/shared": "^0.49.0" }, "devDependencies": { - "@spectrum-css/textfield": "^7.1.0" + "@spectrum-css/textfield": "^8.0.0-s2-foundations.16" }, "types": "./src/index.d.ts", "customElements": "custom-elements.json", diff --git a/packages/textfield/src/Textfield.ts b/packages/textfield/src/Textfield.ts index 44476c9fa3..467e121d49 100644 --- a/packages/textfield/src/Textfield.ts +++ b/packages/textfield/src/Textfield.ts @@ -35,6 +35,7 @@ import '@spectrum-web-components/icons-workflow/icons/sp-icon-alert.js'; import textfieldStyles from './textfield.css.js'; import checkmarkStyles from '@spectrum-web-components/icon/src/spectrum-icon-checkmark.css.js'; +import checkmarkSmallOverrides from '@spectrum-web-components/icon/src/icon-checkmark-overrides.css.js'; const textfieldTypes = ['text', 'url', 'tel', 'email', 'password'] as const; export type TextfieldType = (typeof textfieldTypes)[number]; @@ -49,7 +50,7 @@ export class TextfieldBase extends ManageHelpText( }) ) { public static override get styles(): CSSResultArray { - return [textfieldStyles, checkmarkStyles]; + return [textfieldStyles, checkmarkStyles, checkmarkSmallOverrides]; } @state() diff --git a/packages/textfield/src/spectrum-textfield.css b/packages/textfield/src/spectrum-textfield.css index 4983f215a3..88a6b3d23c 100644 --- a/packages/textfield/src/spectrum-textfield.css +++ b/packages/textfield/src/spectrum-textfield.css @@ -11,390 +11,10 @@ governing permissions and limitations under the License. */ /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ -:host { - --spectrum-textfield-input-line-height: var(--spectrum-textfield-height); - --spectrum-texfield-animation-duration: var( - --spectrum-animation-duration-100 - ); - --spectrum-textfield-width: 240px; - --spectrum-textfield-min-width: var( - --spectrum-text-field-minimum-width-multiplier - ); - --spectrum-textfield-corner-radius: var(--spectrum-corner-radius-100); - --spectrum-textfield-height: var(--spectrum-component-height-100); - --spectrum-textfield-spacing-inline: var( - --spectrum-component-edge-to-text-100 - ); - --spectrum-textfield-spacing-inline-quiet: var( - --spectrum-field-edge-to-text-quiet - ); - --spectrum-textfield-spacing-block-start: var( - --spectrum-component-top-to-text-100 - ); - --spectrum-textfield-spacing-block-end: var( - --spectrum-component-bottom-to-text-100 - ); - --spectrum-textfield-spacing-block-quiet: var( - --spectrum-field-edge-to-border-quiet - ); - --spectrum-textfield-label-spacing-block: var( - --spectrum-field-label-to-component - ); - --spectrum-textfield-label-spacing-block-quiet: var( - --spectrum-field-label-to-component-quiet-medium - ); - --spectrum-textfield-label-spacing-inline-side-label: var( - --spectrum-spacing-100 - ); - --spectrum-textfield-helptext-spacing-block: var( - --spectrum-help-text-to-component - ); - --spectrum-textfield-icon-size-invalid: var( - --spectrum-workflow-icon-size-100 - ); - --spectrum-textfield-icon-size-valid: var( - --spectrum-checkmark-icon-size-100 - ); - --spectrum-textfield-icon-spacing-inline-start-invalid: var( - --spectrum-field-text-to-alert-icon-medium - ); - --spectrum-textfield-icon-spacing-inline-end-invalid: var( - --spectrum-field-edge-to-alert-icon-medium - ); - --spectrum-textfield-icon-spacing-inline-end-quiet-invalid: var( - --spectrum-field-edge-to-alert-icon-quiet - ); - --spectrum-textfield-icon-spacing-block-invalid: var( - --spectrum-field-top-to-alert-icon-medium - ); - --spectrum-textfield-icon-spacing-inline-start-valid: var( - --spectrum-field-text-to-validation-icon-medium - ); - --spectrum-textfield-icon-spacing-inline-end-valid: var( - --spectrum-field-edge-to-validation-icon-medium - ); - --spectrum-textfield-icon-spacing-inline-end-quiet-valid: var( - --spectrum-field-edge-to-validation-icon-quiet - ); - --spectrum-textfield-icon-spacing-block-valid: var( - --spectrum-field-top-to-validation-icon-medium - ); - --spectrum-textfield-font-family: var(--spectrum-sans-font-family-stack); - --spectrum-textfield-font-weight: var(--spectrum-regular-font-weight); - --spectrum-textfield-placeholder-font-size: var(--spectrum-font-size-100); - --spectrum-textfield-character-count-font-family: var( - --spectrum-sans-font-family-stack - ); - --spectrum-textfield-character-count-font-weight: var( - --spectrum-regular-font-weight - ); - --spectrum-textfield-character-count-font-size: var( - --spectrum-font-size-75 - ); - --spectrum-textfield-character-count-spacing-inline: var( - --spectrum-spacing-200 - ); - --spectrum-textfield-character-count-spacing-block: var( - --spectrum-component-bottom-to-text-75 - ); - --spectrum-textfield-character-count-spacing-inline-side: var( - --spectrum-side-label-character-count-to-field - ); - --spectrum-textfield-character-count-spacing-block-side: var( - --spectrum-side-label-character-count-top-margin-medium - ); - --spectrum-textfield-focus-indicator-width: var( - --spectrum-focus-indicator-thickness - ); - --spectrum-textfield-focus-indicator-gap: var( - --spectrum-focus-indicator-gap - ); - --spectrum-textfield-background-color: var(--spectrum-gray-50); - --spectrum-textfield-text-color-default: var( - --spectrum-neutral-content-color-default - ); - --spectrum-textfield-text-color-hover: var( - --spectrum-neutral-content-color-hover - ); - --spectrum-textfield-text-color-focus: var( - --spectrum-neutral-content-color-focus - ); - --spectrum-textfield-text-color-focus-hover: var( - --spectrum-neutral-content-color-focus-hover - ); - --spectrum-textfield-text-color-keyboard-focus: var( - --spectrum-neutral-content-color-key-focus - ); - --spectrum-textfield-text-color-readonly: var( - --spectrum-neutral-content-color-default - ); - --spectrum-textfield-background-color-disabled: var( - --spectrum-disabled-background-color - ); - --spectrum-textfield-border-color-disabled: var( - --spectrum-disabled-border-color - ); - --spectrum-textfield-text-color-disabled: var( - --spectrum-disabled-content-color - ); - --spectrum-textfield-border-color-invalid-default: var( - --spectrum-negative-border-color-default - ); - --spectrum-textfield-border-color-invalid-hover: var( - --spectrum-negative-border-color-hover - ); - --spectrum-textfield-border-color-invalid-focus: var( - --spectrum-negative-border-color-focus - ); - --spectrum-textfield-border-color-invalid-focus-hover: var( - --spectrum-negative-border-color-focus-hover - ); - --spectrum-textfield-border-color-invalid-keyboard-focus: var( - --spectrum-negative-border-color-key-focus - ); - --spectrum-textfield-icon-color-invalid: var( - --spectrum-negative-visual-color - ); - --spectrum-textfield-text-color-invalid: var( - --spectrum-neutral-content-color-default - ); - --spectrum-textfield-text-color-valid: var( - --spectrum-neutral-content-color-default - ); - --spectrum-textfield-icon-color-valid: var( - --spectrum-positive-visual-color - ); - --spectrum-textfield-focus-indicator-color: var( - --spectrum-focus-indicator-color - ); - --spectrum-text-area-min-inline-size: var( - --spectrum-text-area-minimum-width - ); - --spectrum-text-area-min-block-size: var( - --spectrum-text-area-minimum-height - ); - --spectrum-text-area-min-block-size-quiet: var( - --spectrum-component-height-100 - ); -} - -:host([size='s']) { - --spectrum-textfield-height: var(--spectrum-component-height-75); - --spectrum-textfield-label-spacing-block-quiet: var( - --spectrum-field-label-to-component-quiet-small - ); - --spectrum-textfield-label-spacing-inline-side-label: var( - --spectrum-spacing-100 - ); - --spectrum-textfield-placeholder-font-size: var(--spectrum-font-size-75); - --spectrum-textfield-spacing-inline: var( - --spectrum-component-edge-to-text-75 - ); - --spectrum-textfield-icon-size-invalid: var( - --spectrum-workflow-icon-size-75 - ); - --spectrum-textfield-icon-size-valid: var( - --spectrum-checkmark-icon-size-75 - ); - --spectrum-textfield-icon-spacing-inline-end-invalid: var( - --spectrum-field-edge-to-alert-icon-small - ); - --spectrum-textfield-icon-spacing-inline-end-valid: var( - --spectrum-field-edge-to-validation-icon-small - ); - --spectrum-textfield-icon-spacing-block-invalid: var( - --spectrum-field-top-to-alert-icon-small - ); - --spectrum-textfield-icon-spacing-block-valid: var( - --spectrum-field-top-to-validation-icon-small - ); - --spectrum-textfield-icon-spacing-inline-start-invalid: var( - --spectrum-field-text-to-alert-icon-small - ); - --spectrum-textfield-icon-spacing-inline-start-valid: var( - --spectrum-field-text-to-validation-icon-small - ); - --spectrum-textfield-character-count-font-size: var( - --spectrum-font-size-75 - ); - --spectrum-textfield-character-count-spacing-block: var( - --spectrum-component-bottom-to-text-75 - ); - --spectrum-textfield-character-count-spacing-block-quiet: var( - --spectrum-character-count-to-field-quiet-small - ); - --spectrum-textfield-character-count-spacing-block-side: var( - --spectrum-side-label-character-count-top-margin-small - ); - --spectrum-text-area-min-block-size-quiet: var( - --spectrum-component-height-75 - ); -} - -:host { - --spectrum-textfield-height: var(--spectrum-component-height-100); - --spectrum-textfield-label-spacing-block-quiet: var( - --spectrum-field-label-to-component-quiet-medium - ); - --spectrum-textfield-label-spacing-inline-side-label: var( - --spectrum-spacing-200 - ); - --spectrum-textfield-placeholder-font-size: var(--spectrum-font-size-100); - --spectrum-textfield-spacing-inline: var( - --spectrum-component-edge-to-text-100 - ); - --spectrum-textfield-icon-size-invalid: var( - --spectrum-workflow-icon-size-100 - ); - --spectrum-textfield-icon-size-valid: var( - --spectrum-checkmark-icon-size-100 - ); - --spectrum-textfield-icon-spacing-inline-end-invalid: var( - --spectrum-field-edge-to-alert-icon-medium - ); - --spectrum-textfield-icon-spacing-inline-end-valid: var( - --spectrum-field-edge-to-validation-icon-medium - ); - --spectrum-textfield-icon-spacing-block-invalid: var( - --spectrum-field-top-to-alert-icon-medium - ); - --spectrum-textfield-icon-spacing-block-valid: var( - --spectrum-field-top-to-validation-icon-medium - ); - --spectrum-textfield-icon-spacing-inline-start-invalid: var( - --spectrum-field-text-to-alert-icon-medium - ); - --spectrum-textfield-icon-spacing-inline-start-valid: var( - --spectrum-field-text-to-validation-icon-medium - ); - --spectrum-textfield-character-count-font-size: var( - --spectrum-font-size-75 - ); - --spectrum-textfield-character-count-spacing-block: var( - --spectrum-component-bottom-to-text-75 - ); - --spectrum-textfield-character-count-spacing-block-quiet: var( - --spectrum-character-count-to-field-quiet-medium - ); - --spectrum-textfield-character-count-spacing-block-side: var( - --spectrum-side-label-character-count-top-margin-medium - ); - --spectrum-text-area-min-block-size-quiet: var( - --spectrum-component-height-100 - ); -} - -:host([size='l']) { - --spectrum-textfield-height: var(--spectrum-component-height-200); - --spectrum-textfield-label-spacing-block-quiet: var( - --spectrum-field-label-to-component-quiet-large - ); - --spectrum-textfield-label-spacing-inline-side-label: var( - --spectrum-spacing-200 - ); - --spectrum-textfield-placeholder-font-size: var(--spectrum-font-size-200); - --spectrum-textfield-spacing-inline: var( - --spectrum-component-edge-to-text-200 - ); - --spectrum-textfield-icon-size-invalid: var( - --spectrum-workflow-icon-size-200 - ); - --spectrum-textfield-icon-size-valid: var( - --spectrum-checkmark-icon-size-200 - ); - --spectrum-textfield-icon-spacing-inline-end-invalid: var( - --spectrum-field-edge-to-alert-icon-large - ); - --spectrum-textfield-icon-spacing-inline-end-valid: var( - --spectrum-field-edge-to-validation-icon-large - ); - --spectrum-textfield-icon-spacing-block-invalid: var( - --spectrum-field-top-to-alert-icon-large - ); - --spectrum-textfield-icon-spacing-block-valid: var( - --spectrum-field-top-to-validation-icon-large - ); - --spectrum-textfield-icon-spacing-inline-start-invalid: var( - --spectrum-field-text-to-alert-icon-large - ); - --spectrum-textfield-icon-spacing-inline-start-valid: var( - --spectrum-field-text-to-validation-icon-large - ); - --spectrum-textfield-character-count-font-size: var( - --spectrum-font-size-100 - ); - --spectrum-textfield-character-count-spacing-block: var( - --spectrum-component-bottom-to-text-100 - ); - --spectrum-textfield-character-count-spacing-block-quiet: var( - --spectrum-character-count-to-field-quiet-large - ); - --spectrum-textfield-character-count-spacing-block-side: var( - --spectrum-side-label-character-count-top-margin-large - ); - --spectrum-text-area-min-block-size-quiet: var( - --spectrum-component-height-200 - ); -} - -:host([size='xl']) { - --spectrum-textfield-height: var(--spectrum-component-height-300); - --spectrum-textfield-label-spacing-block-quiet: var( - --spectrum-field-label-to-component-quiet-extra-large - ); - --spectrum-textfield-label-spacing-inline-side-label: var( - --spectrum-spacing-200 - ); - --spectrum-textfield-placeholder-font-size: var(--spectrum-font-size-300); - --spectrum-textfield-spacing-inline: var( - --spectrum-component-edge-to-text-200 - ); - --spectrum-textfield-icon-size-invalid: var( - --spectrum-workflow-icon-size-300 - ); - --spectrum-textfield-icon-size-valid: var( - --spectrum-checkmark-icon-size-300 - ); - --spectrum-textfield-icon-spacing-inline-end-invalid: var( - --spectrum-field-edge-to-alert-icon-extra-large - ); - --spectrum-textfield-icon-spacing-inline-end-valid: var( - --spectrum-field-edge-to-validation-icon-extra-large - ); - --spectrum-textfield-icon-spacing-block-invalid: var( - --spectrum-field-top-to-alert-icon-extra-large - ); - --spectrum-textfield-icon-spacing-block-valid: var( - --spectrum-field-top-to-validation-icon-extra-large - ); - --spectrum-textfield-icon-spacing-inline-start-invalid: var( - --spectrum-field-text-to-alert-icon-extra-large - ); - --spectrum-textfield-icon-spacing-inline-start-valid: var( - --spectrum-field-text-to-validation-icon-extra-large - ); - --spectrum-textfield-character-count-font-size: var( - --spectrum-font-size-200 - ); - --spectrum-textfield-character-count-spacing-block: var( - --spectrum-component-bottom-to-text-200 - ); - --spectrum-textfield-character-count-spacing-block-quiet: var( - --spectrum-character-count-to-field-quiet-extra-large - ); - --spectrum-textfield-character-count-spacing-block-side: var( - --spectrum-side-label-character-count-top-margin-extra-large - ); - --spectrum-text-area-min-block-size-quiet: var( - --spectrum-component-height-300 - ); -} - #textfield { - inline-size: var(--mod-textfield-width, var(--spectrum-textfield-width)); - text-indent: 0; - appearance: textfield; + --spectrum-textfield-input-line-height: var(--spectrum-textfield-height); text-overflow: ellipsis; + inline-size: var(--mod-textfield-width, var(--spectrum-textfield-width)); grid-template-rows: auto auto auto; grid-template-columns: auto auto; margin: 0; @@ -405,6 +25,7 @@ governing permissions and limitations under the License. :host([quiet]) #textfield:after { content: ''; + pointer-events: none; inline-size: 100%; block-size: var( --mod-textfield-focus-indicator-width, @@ -658,24 +279,23 @@ governing permissions and limitations under the License. var(--spectrum-textfield-border-width) ) ); - text-indent: 0; vertical-align: top; background-color: var( --mod-textfield-background-color, var(--spectrum-textfield-background-color) ); - border: var( - --mod-textfield-border-width, - var(--spectrum-textfield-border-width) - ) - solid + border-color: var( + --highcontrast-textfield-border-color, var( - --highcontrast-textfield-border-color, - var( - --mod-textfield-border-color, - var(--spectrum-textfield-border-color) - ) - ); + --mod-textfield-border-color, + var(--spectrum-textfield-border-color) + ) + ); + border-style: solid; + border-width: var( + --mod-textfield-border-width, + var(--spectrum-textfield-border-width) + ); border-radius: var( --mod-textfield-corner-radius, var(--spectrum-textfield-corner-radius) @@ -706,20 +326,19 @@ governing permissions and limitations under the License. ) ); text-overflow: ellipsis; - appearance: textfield; + appearance: none; outline: none; grid-area: 2 / 1 / auto / span 2; margin: 0; } -.input::-ms-clear { - inline-size: 0; - block-size: 0; +:host([type='number']) .input { + -moz-appearance: textfield; } -.input::-webkit-inner-spin-button, -.input::-webkit-outer-spin-button { - appearance: none; +:host([type='number']) .input::-webkit-inner-spin-button, +:host([type='number']) .input::-webkit-outer-spin-button { + -webkit-appearance: none; margin: 0; } @@ -762,12 +381,6 @@ governing permissions and limitations under the License. font-style: normal; } -.input:lang(ja)::-moz-placeholder, -.input:lang(ko)::-moz-placeholder, -.input:lang(zh)::-moz-placeholder { - font-style: normal; -} - :host([focused]) .input, .input:focus { border-color: var( @@ -777,16 +390,11 @@ governing permissions and limitations under the License. var(--spectrum-textfield-border-color-focus) ) ); - color: var( - --highcontrast-textfield-text-color-focus, - var( - --mod-textfield-text-color-focus, - var(--spectrum-textfield-text-color-focus) - ) - ); } +:host([focused]) .input, :host([focused]) .input::placeholder, +.input:focus, .input:focus::placeholder { color: var( --highcontrast-textfield-text-color-focus, @@ -805,13 +413,6 @@ governing permissions and limitations under the License. var(--spectrum-textfield-border-color-keyboard-focus) ) ); - color: var( - --highcontrast-textfield-text-color-keyboard-focus, - var( - --mod-textfield-text-color-keyboard-focus, - var(--spectrum-textfield-text-color-keyboard-focus) - ) - ); outline: var( --mod-textfield-focus-indicator-width, var(--spectrum-textfield-focus-indicator-width) @@ -830,6 +431,7 @@ governing permissions and limitations under the License. ); } +:host([focused]) .input, :host([focused]) .input::placeholder { color: var( --highcontrast-textfield-text-color-keyboard-focus, @@ -932,26 +534,14 @@ governing permissions and limitations under the License. --mod-textfield-background-color-disabled, var(--spectrum-textfield-background-color-disabled) ); - color: var( - --highcontrast-textfield-text-color-disabled, - var( - --mod-textfield-text-color-disabled, - var(--spectrum-textfield-text-color-disabled) - ) - ); - -webkit-text-fill-color: var( - --highcontrast-textfield-text-color-disabled, - var( - --mod-textfield-text-color-disabled, - var(--spectrum-textfield-text-color-disabled) - ) - ); resize: none; opacity: 1; border-color: #0000; } +.input:disabled, .input:disabled::placeholder, +:host([disabled]) #textfield .input, :host([disabled]) #textfield .input::placeholder { color: var( --highcontrast-textfield-text-color-disabled, @@ -991,16 +581,11 @@ governing permissions and limitations under the License. --mod-textfield-border-color-disabled, var(--spectrum-textfield-border-color-disabled) ); - color: var( - --highcontrast-textfield-text-color-disabled, - var( - --mod-textfield-text-color-disabled, - var(--spectrum-textfield-text-color-disabled) - ) - ); } +:host([quiet][disabled]) .input, :host([quiet][disabled]) .input::placeholder, +.input:disabled, .input:disabled::placeholder { color: var( --highcontrast-textfield-text-color-disabled, @@ -1047,16 +632,11 @@ governing permissions and limitations under the License. var(--spectrum-textfield-border-color-hover) ) ); - color: var( - --highcontrast-textfield-text-color-hover, - var( - --mod-textfield-text-color-hover, - var(--spectrum-textfield-text-color-hover) - ) - ); } + .input:hover, .input:hover::placeholder, + #textfield:hover .input, #textfield:hover .input::placeholder { color: var( --highcontrast-textfield-text-color-hover, @@ -1091,8 +671,8 @@ governing permissions and limitations under the License. ); } - :host([invalid]) .input:hover, - :host([invalid]:hover) .input { + :host([invalid]) .input:hover:not(.is-disabled), + :host([invalid]:hover):not(.is-disabled) .input { border-color: var( --highcontrast-textfield-border-color-invalid-hover, var( @@ -1119,25 +699,13 @@ governing permissions and limitations under the License. --mod-textfield-background-color-disabled, var(--spectrum-textfield-background-color-disabled) ); - color: var( - --highcontrast-textfield-text-color-disabled, - var( - --mod-textfield-text-color-disabled, - var(--spectrum-textfield-text-color-disabled) - ) - ); - -webkit-text-fill-color: var( - --highcontrast-textfield-text-color-disabled, - var( - --mod-textfield-text-color-disabled, - var(--spectrum-textfield-text-color-disabled) - ) - ); resize: none; opacity: 1; border-color: #0000; } + :host([quiet][disabled]:hover) .input, + :host([disabled]) #textfield:hover .input, :host([disabled]) #textfield:hover .input::placeholder { color: var( --highcontrast-textfield-text-color-disabled, @@ -1154,13 +722,6 @@ governing permissions and limitations under the License. --mod-textfield-border-color-disabled, var(--spectrum-textfield-border-color-disabled) ); - color: var( - --highcontrast-textfield-text-color-disabled, - var( - --mod-textfield-text-color-disabled, - var(--spectrum-textfield-text-color-disabled) - ) - ); } :host([quiet][disabled]:hover) .input::placeholder { @@ -1174,19 +735,13 @@ governing permissions and limitations under the License. } :host([readonly]) #textfield:hover .input { - background-color: initial; - color: var( - --highcontrast-textfield-text-color-readonly, - var( - --mod-textfield-text-color-readonly, - var(--spectrum-textfield-text-color-readonly) - ) - ); border-color: #0000; outline: none; } + :host([readonly]) #textfield:hover .input, :host([readonly]) #textfield:hover .input::placeholder { + background-color: initial; color: var( --highcontrast-textfield-text-color-readonly, var( @@ -1194,7 +749,6 @@ governing permissions and limitations under the License. var(--spectrum-textfield-text-color-readonly) ) ); - background-color: initial; } } @@ -1300,24 +854,3 @@ governing permissions and limitations under the License. --highcontrast-textfield-text-color-readonly: CanvasText; } } - -:host { - --spectrum-textfield-border-color: var( - --system-spectrum-textfield-border-color - ); - --spectrum-textfield-border-color-hover: var( - --system-spectrum-textfield-border-color-hover - ); - --spectrum-textfield-border-color-focus: var( - --system-spectrum-textfield-border-color-focus - ); - --spectrum-textfield-border-color-focus-hover: var( - --system-spectrum-textfield-border-color-focus-hover - ); - --spectrum-textfield-border-color-keyboard-focus: var( - --system-spectrum-textfield-border-color-keyboard-focus - ); - --spectrum-textfield-border-width: var( - --system-spectrum-textfield-border-width - ); -} diff --git a/packages/textfield/src/textfield-overrides.css b/packages/textfield/src/textfield-overrides.css new file mode 100644 index 0000000000..33537fecb1 --- /dev/null +++ b/packages/textfield/src/textfield-overrides.css @@ -0,0 +1,415 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host { + --spectrum-textfield-border-color: var(--system-textfield-border-color); + --spectrum-textfield-border-color-hover: var( + --system-textfield-border-color-hover + ); + --spectrum-textfield-border-color-focus: var( + --system-textfield-border-color-focus + ); + --spectrum-textfield-border-color-focus-hover: var( + --system-textfield-border-color-focus-hover + ); + --spectrum-textfield-border-color-keyboard-focus: var( + --system-textfield-border-color-keyboard-focus + ); + --spectrum-textfield-border-width: var(--system-textfield-border-width); + --spectrum-texfield-animation-duration: var( + --system-textfield-texfield-animation-duration + ); + --spectrum-textfield-width: var(--system-textfield-width); + --spectrum-textfield-min-width: var(--system-textfield-min-width); + --spectrum-textfield-corner-radius: var(--system-textfield-corner-radius); + --spectrum-textfield-spacing-inline-quiet: var( + --system-textfield-spacing-inline-quiet + ); + --spectrum-textfield-spacing-block-start: var( + --system-textfield-spacing-block-start + ); + --spectrum-textfield-spacing-block-end: var( + --system-textfield-spacing-block-end + ); + --spectrum-textfield-spacing-block-quiet: var( + --system-textfield-spacing-block-quiet + ); + --spectrum-textfield-label-spacing-block: var( + --system-textfield-label-spacing-block + ); + --spectrum-textfield-helptext-spacing-block: var( + --system-textfield-helptext-spacing-block + ); + --spectrum-textfield-icon-spacing-inline-end-quiet-invalid: var( + --system-textfield-icon-spacing-inline-end-quiet-invalid + ); + --spectrum-textfield-icon-spacing-inline-end-quiet-valid: var( + --system-textfield-icon-spacing-inline-end-quiet-valid + ); + --spectrum-textfield-font-family: var(--system-textfield-font-family); + --spectrum-textfield-font-weight: var(--system-textfield-font-weight); + --spectrum-textfield-character-count-font-family: var( + --system-textfield-character-count-font-family + ); + --spectrum-textfield-character-count-font-weight: var( + --system-textfield-character-count-font-weight + ); + --spectrum-textfield-character-count-spacing-inline: var( + --system-textfield-character-count-spacing-inline + ); + --spectrum-textfield-character-count-spacing-inline-side: var( + --system-textfield-character-count-spacing-inline-side + ); + --spectrum-textfield-focus-indicator-width: var( + --system-textfield-focus-indicator-width + ); + --spectrum-textfield-focus-indicator-gap: var( + --system-textfield-focus-indicator-gap + ); + --spectrum-textfield-background-color: var( + --system-textfield-background-color + ); + --spectrum-textfield-text-color-default: var( + --system-textfield-text-color-default + ); + --spectrum-textfield-text-color-hover: var( + --system-textfield-text-color-hover + ); + --spectrum-textfield-text-color-focus: var( + --system-textfield-text-color-focus + ); + --spectrum-textfield-text-color-focus-hover: var( + --system-textfield-text-color-focus-hover + ); + --spectrum-textfield-text-color-keyboard-focus: var( + --system-textfield-text-color-keyboard-focus + ); + --spectrum-textfield-text-color-readonly: var( + --system-textfield-text-color-readonly + ); + --spectrum-textfield-background-color-disabled: var( + --system-textfield-background-color-disabled + ); + --spectrum-textfield-border-color-disabled: var( + --system-textfield-border-color-disabled + ); + --spectrum-textfield-text-color-disabled: var( + --system-textfield-text-color-disabled + ); + --spectrum-textfield-border-color-invalid-default: var( + --system-textfield-border-color-invalid-default + ); + --spectrum-textfield-border-color-invalid-hover: var( + --system-textfield-border-color-invalid-hover + ); + --spectrum-textfield-border-color-invalid-focus: var( + --system-textfield-border-color-invalid-focus + ); + --spectrum-textfield-border-color-invalid-focus-hover: var( + --system-textfield-border-color-invalid-focus-hover + ); + --spectrum-textfield-border-color-invalid-keyboard-focus: var( + --system-textfield-border-color-invalid-keyboard-focus + ); + --spectrum-textfield-icon-color-invalid: var( + --system-textfield-icon-color-invalid + ); + --spectrum-textfield-text-color-invalid: var( + --system-textfield-text-color-invalid + ); + --spectrum-textfield-text-color-valid: var( + --system-textfield-text-color-valid + ); + --spectrum-textfield-icon-color-valid: var( + --system-textfield-icon-color-valid + ); + --spectrum-textfield-focus-indicator-color: var( + --system-textfield-focus-indicator-color + ); + --spectrum-text-area-min-inline-size: var( + --system-textfield-text-area-min-inline-size + ); + --spectrum-text-area-min-block-size: var( + --system-textfield-text-area-min-block-size + ); + --spectrum-textfield-height: var(--system-textfield-height); + --spectrum-textfield-label-spacing-block-quiet: var( + --system-textfield-label-spacing-block-quiet + ); + --spectrum-textfield-label-spacing-inline-side-label: var( + --system-textfield-label-spacing-inline-side-label + ); + --spectrum-textfield-placeholder-font-size: var( + --system-textfield-placeholder-font-size + ); + --spectrum-textfield-spacing-inline: var(--system-textfield-spacing-inline); + --spectrum-textfield-icon-size-invalid: var( + --system-textfield-icon-size-invalid + ); + --spectrum-textfield-icon-size-valid: var( + --system-textfield-icon-size-valid + ); + --spectrum-textfield-icon-spacing-inline-end-invalid: var( + --system-textfield-icon-spacing-inline-end-invalid + ); + --spectrum-textfield-icon-spacing-inline-end-valid: var( + --system-textfield-icon-spacing-inline-end-valid + ); + --spectrum-textfield-icon-spacing-block-invalid: var( + --system-textfield-icon-spacing-block-invalid + ); + --spectrum-textfield-icon-spacing-block-valid: var( + --system-textfield-icon-spacing-block-valid + ); + --spectrum-textfield-icon-spacing-inline-start-invalid: var( + --system-textfield-icon-spacing-inline-start-invalid + ); + --spectrum-textfield-icon-spacing-inline-start-valid: var( + --system-textfield-icon-spacing-inline-start-valid + ); + --spectrum-textfield-character-count-font-size: var( + --system-textfield-character-count-font-size + ); + --spectrum-textfield-character-count-spacing-block: var( + --system-textfield-character-count-spacing-block + ); + --spectrum-textfield-character-count-spacing-block-quiet: var( + --system-textfield-character-count-spacing-block-quiet + ); + --spectrum-textfield-character-count-spacing-block-side: var( + --system-textfield-character-count-spacing-block-side + ); + --spectrum-text-area-min-block-size-quiet: var( + --system-textfield-text-area-min-block-size-quiet + ); +} + +:host([size='s']) { + --spectrum-textfield-height: var(--system-textfield-size-s-height); + --spectrum-textfield-label-spacing-block-quiet: var( + --system-textfield-size-s-label-spacing-block-quiet + ); + --spectrum-textfield-label-spacing-inline-side-label: var( + --system-textfield-size-s-label-spacing-inline-side-label + ); + --spectrum-textfield-placeholder-font-size: var( + --system-textfield-size-s-placeholder-font-size + ); + --spectrum-textfield-spacing-inline: var( + --system-textfield-size-s-spacing-inline + ); + --spectrum-textfield-icon-size-invalid: var( + --system-textfield-size-s-icon-size-invalid + ); + --spectrum-textfield-icon-size-valid: var( + --system-textfield-size-s-icon-size-valid + ); + --spectrum-textfield-icon-spacing-inline-end-invalid: var( + --system-textfield-size-s-icon-spacing-inline-end-invalid + ); + --spectrum-textfield-icon-spacing-inline-end-valid: var( + --system-textfield-size-s-icon-spacing-inline-end-valid + ); + --spectrum-textfield-icon-spacing-block-invalid: var( + --system-textfield-size-s-icon-spacing-block-invalid + ); + --spectrum-textfield-icon-spacing-block-valid: var( + --system-textfield-size-s-icon-spacing-block-valid + ); + --spectrum-textfield-icon-spacing-inline-start-invalid: var( + --system-textfield-size-s-icon-spacing-inline-start-invalid + ); + --spectrum-textfield-icon-spacing-inline-start-valid: var( + --system-textfield-size-s-icon-spacing-inline-start-valid + ); + --spectrum-textfield-character-count-font-size: var( + --system-textfield-size-s-character-count-font-size + ); + --spectrum-textfield-character-count-spacing-block: var( + --system-textfield-size-s-character-count-spacing-block + ); + --spectrum-textfield-character-count-spacing-block-quiet: var( + --system-textfield-size-s-character-count-spacing-block-quiet + ); + --spectrum-textfield-character-count-spacing-block-side: var( + --system-textfield-size-s-character-count-spacing-block-side + ); + --spectrum-text-area-min-block-size-quiet: var( + --system-textfield-size-s-text-area-min-block-size-quiet + ); +} + +:host { + --spectrum-textfield-height: var(--system-textfield-size-m-height); + --spectrum-textfield-label-spacing-block-quiet: var( + --system-textfield-size-m-label-spacing-block-quiet + ); + --spectrum-textfield-label-spacing-inline-side-label: var( + --system-textfield-size-m-label-spacing-inline-side-label + ); + --spectrum-textfield-placeholder-font-size: var( + --system-textfield-size-m-placeholder-font-size + ); + --spectrum-textfield-spacing-inline: var( + --system-textfield-size-m-spacing-inline + ); + --spectrum-textfield-icon-size-invalid: var( + --system-textfield-size-m-icon-size-invalid + ); + --spectrum-textfield-icon-size-valid: var( + --system-textfield-size-m-icon-size-valid + ); + --spectrum-textfield-icon-spacing-inline-end-invalid: var( + --system-textfield-size-m-icon-spacing-inline-end-invalid + ); + --spectrum-textfield-icon-spacing-inline-end-valid: var( + --system-textfield-size-m-icon-spacing-inline-end-valid + ); + --spectrum-textfield-icon-spacing-block-invalid: var( + --system-textfield-size-m-icon-spacing-block-invalid + ); + --spectrum-textfield-icon-spacing-block-valid: var( + --system-textfield-size-m-icon-spacing-block-valid + ); + --spectrum-textfield-icon-spacing-inline-start-invalid: var( + --system-textfield-size-m-icon-spacing-inline-start-invalid + ); + --spectrum-textfield-icon-spacing-inline-start-valid: var( + --system-textfield-size-m-icon-spacing-inline-start-valid + ); + --spectrum-textfield-character-count-font-size: var( + --system-textfield-size-m-character-count-font-size + ); + --spectrum-textfield-character-count-spacing-block: var( + --system-textfield-size-m-character-count-spacing-block + ); + --spectrum-textfield-character-count-spacing-block-quiet: var( + --system-textfield-size-m-character-count-spacing-block-quiet + ); + --spectrum-textfield-character-count-spacing-block-side: var( + --system-textfield-size-m-character-count-spacing-block-side + ); + --spectrum-text-area-min-block-size-quiet: var( + --system-textfield-size-m-text-area-min-block-size-quiet + ); +} + +:host([size='l']) { + --spectrum-textfield-height: var(--system-textfield-size-l-height); + --spectrum-textfield-label-spacing-block-quiet: var( + --system-textfield-size-l-label-spacing-block-quiet + ); + --spectrum-textfield-label-spacing-inline-side-label: var( + --system-textfield-size-l-label-spacing-inline-side-label + ); + --spectrum-textfield-placeholder-font-size: var( + --system-textfield-size-l-placeholder-font-size + ); + --spectrum-textfield-spacing-inline: var( + --system-textfield-size-l-spacing-inline + ); + --spectrum-textfield-icon-size-invalid: var( + --system-textfield-size-l-icon-size-invalid + ); + --spectrum-textfield-icon-size-valid: var( + --system-textfield-size-l-icon-size-valid + ); + --spectrum-textfield-icon-spacing-inline-end-invalid: var( + --system-textfield-size-l-icon-spacing-inline-end-invalid + ); + --spectrum-textfield-icon-spacing-inline-end-valid: var( + --system-textfield-size-l-icon-spacing-inline-end-valid + ); + --spectrum-textfield-icon-spacing-block-invalid: var( + --system-textfield-size-l-icon-spacing-block-invalid + ); + --spectrum-textfield-icon-spacing-block-valid: var( + --system-textfield-size-l-icon-spacing-block-valid + ); + --spectrum-textfield-icon-spacing-inline-start-invalid: var( + --system-textfield-size-l-icon-spacing-inline-start-invalid + ); + --spectrum-textfield-icon-spacing-inline-start-valid: var( + --system-textfield-size-l-icon-spacing-inline-start-valid + ); + --spectrum-textfield-character-count-font-size: var( + --system-textfield-size-l-character-count-font-size + ); + --spectrum-textfield-character-count-spacing-block: var( + --system-textfield-size-l-character-count-spacing-block + ); + --spectrum-textfield-character-count-spacing-block-quiet: var( + --system-textfield-size-l-character-count-spacing-block-quiet + ); + --spectrum-textfield-character-count-spacing-block-side: var( + --system-textfield-size-l-character-count-spacing-block-side + ); + --spectrum-text-area-min-block-size-quiet: var( + --system-textfield-size-l-text-area-min-block-size-quiet + ); +} + +:host([size='xl']) { + --spectrum-textfield-height: var(--system-textfield-size-xl-height); + --spectrum-textfield-label-spacing-block-quiet: var( + --system-textfield-size-xl-label-spacing-block-quiet + ); + --spectrum-textfield-label-spacing-inline-side-label: var( + --system-textfield-size-xl-label-spacing-inline-side-label + ); + --spectrum-textfield-placeholder-font-size: var( + --system-textfield-size-xl-placeholder-font-size + ); + --spectrum-textfield-spacing-inline: var( + --system-textfield-size-xl-spacing-inline + ); + --spectrum-textfield-icon-size-invalid: var( + --system-textfield-size-xl-icon-size-invalid + ); + --spectrum-textfield-icon-size-valid: var( + --system-textfield-size-xl-icon-size-valid + ); + --spectrum-textfield-icon-spacing-inline-end-invalid: var( + --system-textfield-size-xl-icon-spacing-inline-end-invalid + ); + --spectrum-textfield-icon-spacing-inline-end-valid: var( + --system-textfield-size-xl-icon-spacing-inline-end-valid + ); + --spectrum-textfield-icon-spacing-block-invalid: var( + --system-textfield-size-xl-icon-spacing-block-invalid + ); + --spectrum-textfield-icon-spacing-block-valid: var( + --system-textfield-size-xl-icon-spacing-block-valid + ); + --spectrum-textfield-icon-spacing-inline-start-invalid: var( + --system-textfield-size-xl-icon-spacing-inline-start-invalid + ); + --spectrum-textfield-icon-spacing-inline-start-valid: var( + --system-textfield-size-xl-icon-spacing-inline-start-valid + ); + --spectrum-textfield-character-count-font-size: var( + --system-textfield-size-xl-character-count-font-size + ); + --spectrum-textfield-character-count-spacing-block: var( + --system-textfield-size-xl-character-count-spacing-block + ); + --spectrum-textfield-character-count-spacing-block-quiet: var( + --system-textfield-size-xl-character-count-spacing-block-quiet + ); + --spectrum-textfield-character-count-spacing-block-side: var( + --system-textfield-size-xl-character-count-spacing-block-side + ); + --spectrum-text-area-min-block-size-quiet: var( + --system-textfield-size-xl-text-area-min-block-size-quiet + ); +} diff --git a/packages/textfield/src/textfield.css b/packages/textfield/src/textfield.css index 475a7e1b05..fc9f4b6c3c 100644 --- a/packages/textfield/src/textfield.css +++ b/packages/textfield/src/textfield.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-textfield.css'); +@import url('./textfield-overrides.css'); :host { display: inline-flex; @@ -62,6 +63,8 @@ textarea { :host([multiline]) #textfield { display: inline-grid; + + --spectrum-textfield-input-line-height: normal; } :host([multiline]) textarea { diff --git a/packages/thumbnail/package.json b/packages/thumbnail/package.json index 5b8f10f661..7c3a548491 100644 --- a/packages/thumbnail/package.json +++ b/packages/thumbnail/package.json @@ -33,6 +33,7 @@ "development": "./src/index.dev.js", "default": "./src/index.js" }, + "./src/thumbnail-overrides.css.js": "./src/thumbnail-overrides.css.js", "./src/thumbnail.css.js": "./src/thumbnail.css.js", "./sp-thumbnail.js": { "development": "./sp-thumbnail.dev.js", @@ -61,7 +62,7 @@ "@spectrum-web-components/opacity-checkerboard": "^0.49.0" }, "devDependencies": { - "@spectrum-css/thumbnail": "^6.1.0" + "@spectrum-css/thumbnail": "6.2.0" }, "types": "./src/index.d.ts", "customElements": "custom-elements.json", diff --git a/packages/thumbnail/src/Thumbnail.ts b/packages/thumbnail/src/Thumbnail.ts index 3a8d5202b3..388e6a01a0 100644 --- a/packages/thumbnail/src/Thumbnail.ts +++ b/packages/thumbnail/src/Thumbnail.ts @@ -36,7 +36,7 @@ const validSizes = [ '900', '1000', ]; -export type ThumbnailSize = typeof validSizes[number]; +export type ThumbnailSize = (typeof validSizes)[number]; const defaultSize = validSizes[6]; @@ -66,30 +66,6 @@ export class Thumbnail extends SpectrumElement { } public set size(value: ThumbnailSize) { - const deprecatedSizes = ['xxs', 'xs', 's', 'm', 'l']; - type DeprecatedThumbnailSize = typeof deprecatedSizes[number]; - const managedSizes: Record = { - xxs: '100', - xs: '300', - s: '500', - m: '700', - l: '900', - }; - const usesDeprecatedSize = deprecatedSizes.includes(value); - if (usesDeprecatedSize) { - if (window.__swc.DEBUG) { - window.__swc.warn( - this, - `The "size" attribute/property for <${this.localName}> no longer supports the value "${value}". Use one of the following values, instead:`, - 'https://opensource.adobe.com/spectrum-web-components/components/thumbnail/#sizes', - { - level: 'deprecation', - issues: validSizes as unknown as string[], - } - ); - } - value = managedSizes[value]; - } const size = ( validSizes.includes(value) ? value : defaultSize ) as ThumbnailSize; diff --git a/packages/thumbnail/src/spectrum-thumbnail.css b/packages/thumbnail/src/spectrum-thumbnail.css index edc8502b62..d26a0f383a 100644 --- a/packages/thumbnail/src/spectrum-thumbnail.css +++ b/packages/thumbnail/src/spectrum-thumbnail.css @@ -17,7 +17,7 @@ governing permissions and limitations under the License. --spectrum-thumbnail-border-width: var(--spectrum-border-width-100); --spectrum-thumbnail-border-color-rgba: rgba( var(--spectrum-gray-800-rgb), - var(--spectrum-thumbnail-border-color-opacity) + var(--spectrum-thumbnail-border-opacity) ); --spectrum-thumbnail-layer-border-width-inner: var( --spectrum-border-width-400 @@ -98,10 +98,6 @@ governing permissions and limitations under the License. :host { inline-size: var(--mod-thumbnail-size, var(--spectrum-thumbnail-size)); block-size: var(--mod-thumbnail-size, var(--spectrum-thumbnail-size)); - border-radius: var( - --mod-thumbnail-border-radius, - var(--spectrum-thumbnail-border-radius) - ); vertical-align: top; z-index: 0; margin: 0; @@ -111,15 +107,19 @@ governing permissions and limitations under the License. overflow: hidden; } +:host, :host:before { - content: ''; - z-index: 2; - inline-size: 100%; - block-size: 100%; border-radius: var( --mod-thumbnail-border-radius, var(--spectrum-thumbnail-border-radius) ); +} + +:host:before { + content: ''; + z-index: 2; + inline-size: 100%; + block-size: 100%; box-shadow: inset 0 0 0 var( --mod-thumbnail-border-width, @@ -352,11 +352,11 @@ governing permissions and limitations under the License. @media (forced-colors: active) { :host { - forced-color-adjust: none; --highcontrast-thumbnail-border-color-selected: Highlight; --highcontrast-thumbnail-focus-indicator-color: Highlight; --highcontrast-thumbnail-border-color: CanvasText; --highcontrast-thumbnail-layer-border-color-inner: Canvas; --highcontrast-thumbnail-layer-border-color-outer: CanvasText; + forced-color-adjust: none; } } diff --git a/packages/thumbnail/src/thumbnail-overrides.css b/packages/thumbnail/src/thumbnail-overrides.css new file mode 100644 index 0000000000..0ba20daf97 --- /dev/null +++ b/packages/thumbnail/src/thumbnail-overrides.css @@ -0,0 +1,99 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host { + --spectrum-thumbnail-size: var(--system-thumbnail-size); + --spectrum-thumbnail-border-radius: var(--system-thumbnail-border-radius); + --spectrum-thumbnail-border-width: var(--system-thumbnail-border-width); + --spectrum-thumbnail-border-color-rgba: var( + --system-thumbnail-border-color-rgba + ); + --spectrum-thumbnail-layer-border-width-inner: var( + --system-thumbnail-layer-border-width-inner + ); + --spectrum-thumbnail-layer-border-color-inner: var( + --system-thumbnail-layer-border-color-inner + ); + --spectrum-thumbnail-layer-border-width-outer: var( + --system-thumbnail-layer-border-width-outer + ); + --spectrum-thumbnail-layer-border-color-outer: var( + --system-thumbnail-layer-border-color-outer + ); + --spectrum-thumbnail-border-width-selected: var( + --system-thumbnail-border-width-selected + ); + --spectrum-thumbnail-border-color-selected: var( + --system-thumbnail-border-color-selected + ); + --spectrum-thumbnail-focus-indicator-thickness: var( + --system-thumbnail-focus-indicator-thickness + ); + --spectrum-thumbnail-focus-indicator-gap: var( + --system-thumbnail-focus-indicator-gap + ); + --spectrum-thumbnail-focus-indicator-color: var( + --system-thumbnail-focus-indicator-color + ); + --spectrum-thumbnail-color-opacity-disabled: var( + --system-thumbnail-color-opacity-disabled + ); +} + +:host([size='50']) { + --spectrum-thumbnail-size: var(--system-thumbnail-size-50-size); +} + +:host([size='75']) { + --spectrum-thumbnail-size: var(--system-thumbnail-size-75-size); +} + +:host([size='100']) { + --spectrum-thumbnail-size: var(--system-thumbnail-size-100-size); +} + +:host([size='200']) { + --spectrum-thumbnail-size: var(--system-thumbnail-size-200-size); +} + +:host([size='300']) { + --spectrum-thumbnail-size: var(--system-thumbnail-size-300-size); +} + +:host([size='400']) { + --spectrum-thumbnail-size: var(--system-thumbnail-size-400-size); +} + +:host([size='500']) { + --spectrum-thumbnail-size: var(--system-thumbnail-size-500-size); +} + +:host([size='600']) { + --spectrum-thumbnail-size: var(--system-thumbnail-size-600-size); +} + +:host([size='700']) { + --spectrum-thumbnail-size: var(--system-thumbnail-size-700-size); +} + +:host([size='800']) { + --spectrum-thumbnail-size: var(--system-thumbnail-size-800-size); +} + +:host([size='900']) { + --spectrum-thumbnail-size: var(--system-thumbnail-size-900-size); +} + +:host([size='1000']) { + --spectrum-thumbnail-size: var(--system-thumbnail-size-1000-size); +} diff --git a/packages/thumbnail/src/thumbnail.css b/packages/thumbnail/src/thumbnail.css index d8722162b4..414dc1559f 100644 --- a/packages/thumbnail/src/thumbnail.css +++ b/packages/thumbnail/src/thumbnail.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-thumbnail.css'); +@import url('./thumbnail-overrides.css'); ::slotted(:not(img)) { display: none; diff --git a/packages/thumbnail/test/thumbnail.test.ts b/packages/thumbnail/test/thumbnail.test.ts index f32cf67973..a15ef3ff7d 100644 --- a/packages/thumbnail/test/thumbnail.test.ts +++ b/packages/thumbnail/test/thumbnail.test.ts @@ -90,31 +90,5 @@ describe('Thumbnail', () => { window.__swc.verbose = false; consoleWarnStub.restore(); }); - - it('warns in devMode when white/black variant is provided', async () => { - const el = await fixture(html` - - Woman crouching - - `); - - await elementUpdated(el); - expect(consoleWarnStub.called).to.be.true; - - const spyCall = consoleWarnStub.getCall(0); - expect( - (spyCall.args.at(0) as string).includes( - 'no longer supports the value' - ), - 'confirm deprecated size warning' - ).to.be.true; - expect(spyCall.args.at(-1), 'confirm `data` shape').to.deep.equal({ - data: { - localName: 'sp-thumbnail', - type: 'api', - level: 'deprecation', - }, - }); - }); }); }); diff --git a/packages/toast/package.json b/packages/toast/package.json index 017fa61dff..443ab8ccd0 100644 --- a/packages/toast/package.json +++ b/packages/toast/package.json @@ -33,6 +33,7 @@ "development": "./src/index.dev.js", "default": "./src/index.js" }, + "./src/toast-overrides.css.js": "./src/toast-overrides.css.js", "./src/toast.css.js": "./src/toast.css.js", "./sp-toast.js": { "development": "./sp-toast.dev.js", @@ -64,7 +65,7 @@ "@spectrum-web-components/shared": "^0.49.0" }, "devDependencies": { - "@spectrum-css/toast": "^10.2.0" + "@spectrum-css/toast": "^11.0.0-s2-foundations.15" }, "types": "./src/index.d.ts", "customElements": "custom-elements.json", diff --git a/packages/toast/src/spectrum-toast.css b/packages/toast/src/spectrum-toast.css index e80dbfbd13..06a2738fbe 100644 --- a/packages/toast/src/spectrum-toast.css +++ b/packages/toast/src/spectrum-toast.css @@ -11,54 +11,6 @@ governing permissions and limitations under the License. */ /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ -:host { - --spectrum-toast-font-weight: var(--spectrum-regular-font-weight); - --spectrum-toast-font-size: var(--spectrum-font-size-100); - --spectrum-toast-corner-radius: var(--spectrum-corner-radius-100); - --spectrum-toast-block-size: var(--spectrum-toast-height); - --spectrum-toast-max-inline-size: var(--spectrum-toast-maximum-width); - --spectrum-toast-border-width: var(--spectrum-border-width-100); - --spectrum-toast-line-height: var(--spectrum-line-height-100); - --spectrum-toast-line-height-cjk: var(--spectrum-cjk-line-height-100); - --spectrum-toast-spacing-icon-to-text: var(--spectrum-text-to-visual-100); - --spectrum-toast-spacing-start-edge-to-text-and-icon: var( - --spectrum-spacing-300 - ); - --spectrum-toast-spacing-text-and-action-button-to-divider: var( - --spectrum-spacing-300 - ); - --spectrum-toast-spacing-top-edge-to-divider: var(--spectrum-spacing-100); - --spectrum-toast-spacing-bottom-edge-to-divider: var( - --spectrum-spacing-100 - ); - --spectrum-toast-spacing-top-edge-to-icon: var( - --spectrum-toast-top-to-workflow-icon - ); - --spectrum-toast-spacing-text-to-action-button-horizontal: var( - --spectrum-spacing-300 - ); - --spectrum-toast-spacing-close-button: var(--spectrum-spacing-100); - --spectrum-toast-spacing-block-start: var(--spectrum-spacing-100); - --spectrum-toast-spacing-block-end: var(--spectrum-spacing-100); - --spectrum-toast-spacing-top-edge-to-text: var( - --spectrum-toast-top-to-text - ); - --spectrum-toast-spacing-bottom-edge-to-text: var( - --spectrum-toast-bottom-to-text - ); - --spectrum-toast-negative-background-color-default: var( - --spectrum-negative-background-color-default - ); - --spectrum-toast-positive-background-color-default: var( - --spectrum-positive-background-color-default - ); - --spectrum-toast-informative-background-color-default: var( - --spectrum-informative-background-color-default - ); - --spectrum-toast-text-and-icon-color: var(--spectrum-white); - --spectrum-toast-divider-color: var(--spectrum-transparent-white-300); -} - @media (forced-colors: active) { :host { --highcontrast-toast-border-color: ButtonText; @@ -313,9 +265,3 @@ governing permissions and limitations under the License. var(--spectrum-toast-spacing-close-button) ); } - -:host { - --spectrum-toast-background-color-default: var( - --system-spectrum-toast-background-color-default - ); -} diff --git a/packages/toast/src/toast-overrides.css b/packages/toast/src/toast-overrides.css new file mode 100644 index 0000000000..bfc90e3680 --- /dev/null +++ b/packages/toast/src/toast-overrides.css @@ -0,0 +1,73 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host { + --spectrum-toast-background-color-default: var( + --system-toast-background-color-default + ); + --spectrum-toast-font-weight: var(--system-toast-font-weight); + --spectrum-toast-font-size: var(--system-toast-font-size); + --spectrum-toast-corner-radius: var(--system-toast-corner-radius); + --spectrum-toast-block-size: var(--system-toast-block-size); + --spectrum-toast-max-inline-size: var(--system-toast-max-inline-size); + --spectrum-toast-border-width: var(--system-toast-border-width); + --spectrum-toast-line-height: var(--system-toast-line-height); + --spectrum-toast-line-height-cjk: var(--system-toast-line-height-cjk); + --spectrum-toast-spacing-icon-to-text: var( + --system-toast-spacing-icon-to-text + ); + --spectrum-toast-spacing-start-edge-to-text-and-icon: var( + --system-toast-spacing-start-edge-to-text-and-icon + ); + --spectrum-toast-spacing-text-and-action-button-to-divider: var( + --system-toast-spacing-text-and-action-button-to-divider + ); + --spectrum-toast-spacing-top-edge-to-divider: var( + --system-toast-spacing-top-edge-to-divider + ); + --spectrum-toast-spacing-bottom-edge-to-divider: var( + --system-toast-spacing-bottom-edge-to-divider + ); + --spectrum-toast-spacing-top-edge-to-icon: var( + --system-toast-spacing-top-edge-to-icon + ); + --spectrum-toast-spacing-text-to-action-button-horizontal: var( + --system-toast-spacing-text-to-action-button-horizontal + ); + --spectrum-toast-spacing-close-button: var( + --system-toast-spacing-close-button + ); + --spectrum-toast-spacing-block-start: var( + --system-toast-spacing-block-start + ); + --spectrum-toast-spacing-block-end: var(--system-toast-spacing-block-end); + --spectrum-toast-spacing-top-edge-to-text: var( + --system-toast-spacing-top-edge-to-text + ); + --spectrum-toast-spacing-bottom-edge-to-text: var( + --system-toast-spacing-bottom-edge-to-text + ); + --spectrum-toast-negative-background-color-default: var( + --system-toast-negative-background-color-default + ); + --spectrum-toast-positive-background-color-default: var( + --system-toast-positive-background-color-default + ); + --spectrum-toast-informative-background-color-default: var( + --system-toast-informative-background-color-default + ); + --spectrum-toast-text-and-icon-color: var( + --system-toast-text-and-icon-color + ); + --spectrum-toast-divider-color: var(--system-toast-divider-color); +} diff --git a/packages/toast/src/toast.css b/packages/toast/src/toast.css index 45b7e925a3..ce940b9cee 100644 --- a/packages/toast/src/toast.css +++ b/packages/toast/src/toast.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-toast.css'); +@import url('./toast-overrides.css'); :host { --spectrum-overlay-animation-distance: var(--spectrum-spacing-100); @@ -20,7 +21,8 @@ governing permissions and limitations under the License. opacity: 0; pointer-events: none; - transition: transform var(--spectrum-overlay-animation-duration) ease-in-out, + transition: + transform var(--spectrum-overlay-animation-duration) ease-in-out, opacity var(--spectrum-overlay-animation-duration) ease-in-out, visibility 0s linear var(--spectrum-overlay-animation-duration); visibility: hidden; diff --git a/packages/tooltip/package.json b/packages/tooltip/package.json index 3ec18bb07d..148b86a3aa 100644 --- a/packages/tooltip/package.json +++ b/packages/tooltip/package.json @@ -37,6 +37,7 @@ "development": "./src/tooltip-directive.dev.js", "default": "./src/tooltip-directive.js" }, + "./src/tooltip-overrides.css.js": "./src/tooltip-overrides.css.js", "./src/tooltip.css.js": "./src/tooltip.css.js", "./sp-tooltip.js": { "development": "./sp-tooltip.dev.js", @@ -67,7 +68,7 @@ "@spectrum-web-components/shared": "^0.49.0" }, "devDependencies": { - "@spectrum-css/tooltip": "^6.1.1" + "@spectrum-css/tooltip": "^7.0.0-s2-foundations.15" }, "types": "./src/index.d.ts", "customElements": "custom-elements.json", diff --git a/packages/tooltip/src/spectrum-tooltip.css b/packages/tooltip/src/spectrum-tooltip.css index 12e1130342..5f133656b3 100644 --- a/packages/tooltip/src/spectrum-tooltip.css +++ b/packages/tooltip/src/spectrum-tooltip.css @@ -15,6 +15,10 @@ governing permissions and limitations under the License. pointer-events: none; visibility: hidden; opacity: 0; + transition: + transform 0.13s ease-in-out, + opacity 0.13s ease-in-out, + visibility 0s linear 0.13s; transition: transform var( @@ -39,78 +43,24 @@ governing permissions and limitations under the License. pointer-events: auto; visibility: visible; opacity: 1; + transition-delay: 0s; transition-delay: var( --mod-overlay-animation-duration-opened, var(--spectrum-animation-duration-0, 0s) ); } -#tooltip { - --spectrum-tooltip-animation-duration: var( - --spectrum-animation-duration-100 - ); - --spectrum-tooltip-margin: 0px; - --spectrum-tooltip-height: var(--spectrum-component-height-75); - --spectrum-tooltip-max-inline-size: var(--spectrum-tooltip-maximum-width); - --spectrum-tooltip-border-radius: var(--spectrum-corner-radius-100); - --spectrum-tooltip-icon-width: var(--spectrum-workflow-icon-size-50); - --spectrum-tooltip-icon-height: var(--spectrum-workflow-icon-size-50); - --spectrum-tooltip-font-size: var(--spectrum-font-size-75); - --spectrum-tooltip-line-height: var(--spectrum-line-height-100); - --spectrum-tooltip-cjk-line-height: var(--spectrum-cjk-line-height-100); - --spectrum-tooltip-font-weight: var(--spectrum-regular-font-weight); - --spectrum-tooltip-spacing-inline: var( - --spectrum-component-edge-to-text-75 - ); - --spectrum-tooltip-spacing-block-start: var( - --spectrum-component-top-to-text-75 - ); - --spectrum-tooltip-spacing-block-end: var( - --spectrum-component-bottom-to-text-75 - ); - --spectrum-tooltip-icon-spacing-inline-start: var( - --spectrum-text-to-visual-75 - ); - --spectrum-tooltip-icon-spacing-inline-end: var( - --spectrum-text-to-visual-75 - ); - --spectrum-tooltip-icon-spacing-block-start: var( - --spectrum-component-top-to-workflow-icon-75 - ); - --spectrum-tooltip-background-color-informative: var( - --spectrum-informative-background-color-default - ); - --spectrum-tooltip-background-color-positive: var( - --spectrum-positive-background-color-default - ); - --spectrum-tooltip-background-color-negative: var( - --spectrum-negative-background-color-default - ); - --spectrum-tooltip-content-color: var(--spectrum-white); - --spectrum-tooltip-tip-inline-size: var(--spectrum-tooltip-tip-width); - --spectrum-tooltip-tip-block-size: var(--spectrum-tooltip-tip-height); - --spectrum-tooltip-tip-square-size: var(--spectrum-tooltip-tip-inline-size); - --spectrum-tooltip-tip-height-percentage: 50%; - --spectrum-tooltip-tip-antialiasing-inset: 0.5px; - --spectrum-tooltip-pointer-corner-spacing: var( - --spectrum-corner-radius-100 - ); - --spectrum-tooltip-background-color-default: var( - --spectrum-tooltip-backgound-color-default-neutral - ); -} - @media (forced-colors: active) { #tooltip { border: 1px solid #0000; } #tip { - forced-color-adjust: none; --highcontrast-tooltip-background-color-default: CanvasText; --highcontrast-tooltip-background-color-informative: CanvasText; --highcontrast-tooltip-background-color-positive: CanvasText; --highcontrast-tooltip-background-color-negative: CanvasText; + forced-color-adjust: none; } } @@ -807,9 +757,3 @@ governing permissions and limitations under the License. ) ); } - -#tooltip { - --spectrum-tooltip-backgound-color-default-neutral: var( - --system-spectrum-tooltip-backgound-color-default-neutral - ); -} diff --git a/packages/tooltip/src/tooltip-overrides.css b/packages/tooltip/src/tooltip-overrides.css new file mode 100644 index 0000000000..2b78b654c7 --- /dev/null +++ b/packages/tooltip/src/tooltip-overrides.css @@ -0,0 +1,72 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +#tooltip { + --spectrum-tooltip-backgound-color-default-neutral: var( + --system-tooltip-backgound-color-default-neutral + ); + --spectrum-tooltip-animation-duration: var( + --system-tooltip-animation-duration + ); + --spectrum-tooltip-margin: var(--system-tooltip-margin); + --spectrum-tooltip-height: var(--system-tooltip-height); + --spectrum-tooltip-max-inline-size: var(--system-tooltip-max-inline-size); + --spectrum-tooltip-border-radius: var(--system-tooltip-border-radius); + --spectrum-tooltip-icon-width: var(--system-tooltip-icon-width); + --spectrum-tooltip-icon-height: var(--system-tooltip-icon-height); + --spectrum-tooltip-font-size: var(--system-tooltip-font-size); + --spectrum-tooltip-line-height: var(--system-tooltip-line-height); + --spectrum-tooltip-cjk-line-height: var(--system-tooltip-cjk-line-height); + --spectrum-tooltip-font-weight: var(--system-tooltip-font-weight); + --spectrum-tooltip-spacing-inline: var(--system-tooltip-spacing-inline); + --spectrum-tooltip-spacing-block-start: var( + --system-tooltip-spacing-block-start + ); + --spectrum-tooltip-spacing-block-end: var( + --system-tooltip-spacing-block-end + ); + --spectrum-tooltip-icon-spacing-inline-start: var( + --system-tooltip-icon-spacing-inline-start + ); + --spectrum-tooltip-icon-spacing-inline-end: var( + --system-tooltip-icon-spacing-inline-end + ); + --spectrum-tooltip-icon-spacing-block-start: var( + --system-tooltip-icon-spacing-block-start + ); + --spectrum-tooltip-background-color-informative: var( + --system-tooltip-background-color-informative + ); + --spectrum-tooltip-background-color-positive: var( + --system-tooltip-background-color-positive + ); + --spectrum-tooltip-background-color-negative: var( + --system-tooltip-background-color-negative + ); + --spectrum-tooltip-content-color: var(--system-tooltip-content-color); + --spectrum-tooltip-tip-inline-size: var(--system-tooltip-tip-inline-size); + --spectrum-tooltip-tip-block-size: var(--system-tooltip-tip-block-size); + --spectrum-tooltip-tip-square-size: var(--system-tooltip-tip-square-size); + --spectrum-tooltip-tip-height-percentage: var( + --system-tooltip-tip-height-percentage + ); + --spectrum-tooltip-tip-antialiasing-inset: var( + --system-tooltip-tip-antialiasing-inset + ); + --spectrum-tooltip-pointer-corner-spacing: var( + --system-tooltip-pointer-corner-spacing + ); + --spectrum-tooltip-background-color-default: var( + --system-tooltip-background-color-default + ); +} diff --git a/packages/tooltip/src/tooltip.css b/packages/tooltip/src/tooltip.css index d7bba1802d..7cf8464a16 100644 --- a/packages/tooltip/src/tooltip.css +++ b/packages/tooltip/src/tooltip.css @@ -11,6 +11,7 @@ governing permissions and limitations under the License. */ @import url('./spectrum-tooltip.css'); +@import url('./tooltip-overrides.css'); :host { display: contents; diff --git a/packages/tray/package.json b/packages/tray/package.json index 4f379a4071..b395f8ed23 100644 --- a/packages/tray/package.json +++ b/packages/tray/package.json @@ -33,6 +33,7 @@ "development": "./src/index.dev.js", "default": "./src/index.js" }, + "./src/tray-overrides.css.js": "./src/tray-overrides.css.js", "./src/tray.css.js": "./src/tray.css.js", "./sp-tray.js": { "development": "./sp-tray.dev.js", @@ -64,7 +65,7 @@ "@spectrum-web-components/underlay": "^0.49.0" }, "devDependencies": { - "@spectrum-css/tray": "^3.1.0" + "@spectrum-css/tray": "^4.0.0-s2-foundations.15" }, "types": "./src/index.d.ts", "customElements": "custom-elements.json", diff --git a/packages/tray/src/spectrum-tray.css b/packages/tray/src/spectrum-tray.css index b08f93657c..b805794541 100644 --- a/packages/tray/src/spectrum-tray.css +++ b/packages/tray/src/spectrum-tray.css @@ -11,24 +11,9 @@ governing permissions and limitations under the License. */ /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ -:host { - --spectrum-tray-exit-animation-delay: 0s; - --spectrum-tray-entry-animation-delay: 0.16s; - --spectrum-tray-max-inline-size: 375px; - --spectrum-tray-spacing-edge-to-tray-safe-zone: 64px; - --spectrum-tray-entry-animation-duration: var( - --spectrum-animation-duration-500 - ); - --spectrum-tray-exit-animation-duration: var( - --spectrum-animation-duration-100 - ); - --spectrum-tray-corner-radius: var(--spectrum-corner-radius-100); - --spectrum-tray-background-color: var(--spectrum-background-layer-2-color); -} - .tray { - inline-size: 100%; --mod-modal-max-width: 100%; + inline-size: 100%; max-inline-size: 100%; max-block-size: calc( 100vh - @@ -38,6 +23,7 @@ governing permissions and limitations under the License. ) ); box-sizing: border-box; + border-radius: 0; border-radius: var(--mod-tray-corner-radius-portrait, 0) var(--mod-tray-corner-radius-portrait, 0) 0 0; transition: diff --git a/packages/tray/src/tray-overrides.css b/packages/tray/src/tray-overrides.css new file mode 100644 index 0000000000..e4675d827c --- /dev/null +++ b/packages/tray/src/tray-overrides.css @@ -0,0 +1,33 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host { + --spectrum-tray-exit-animation-delay: var( + --system-tray-exit-animation-delay + ); + --spectrum-tray-entry-animation-delay: var( + --system-tray-entry-animation-delay + ); + --spectrum-tray-max-inline-size: var(--system-tray-max-inline-size); + --spectrum-tray-spacing-edge-to-tray-safe-zone: var( + --system-tray-spacing-edge-to-safe-zone + ); + --spectrum-tray-entry-animation-duration: var( + --system-tray-entry-animation-duration + ); + --spectrum-tray-exit-animation-duration: var( + --system-tray-exit-animation-duration + ); + --spectrum-tray-corner-radius: var(--system-tray-corner-radius); + --spectrum-tray-background-color: var(--system-tray-background-color); +} diff --git a/packages/tray/src/tray.css b/packages/tray/src/tray.css index 45c493bba1..0c2ac0d46b 100644 --- a/packages/tray/src/tray.css +++ b/packages/tray/src/tray.css @@ -12,6 +12,7 @@ governing permissions and limitations under the License. @import url('./spectrum-tray-wrapper.css'); @import url('./spectrum-tray.css'); +@import url('./tray-overrides.css'); :host { align-items: flex-end; diff --git a/packages/tray/test/tray.test.ts b/packages/tray/test/tray.test.ts index 719ef03142..9b2efbe2a5 100644 --- a/packages/tray/test/tray.test.ts +++ b/packages/tray/test/tray.test.ts @@ -28,33 +28,27 @@ import { testForLitDevWarnings } from '../../../test/testing-helpers.js'; describe('Tray', () => { testForLitDevWarnings( async () => - await fixture( - html` - - ` - ) + await fixture(html` + + `) ); it('loads default tray accessibly', async () => { - const el = await fixture( - html` - - ` - ); + const el = await fixture(html` + + `); await elementUpdated(el); await expect(el).to.be.accessible(); }); it('focuses focusable light DOM element', async () => { - const el = await fixture( - html` - - - - ` - ); + const el = await fixture(html` + + + + `); const anchor = el.querySelector('a'); await elementUpdated(el); @@ -64,13 +58,11 @@ describe('Tray', () => { expect(document.activeElement).to.equal(anchor); }); it('focuses "tray"', async () => { - const el = await fixture( - html` - -
-
- ` - ); + const el = await fixture(html` + +
+
+ `); await elementUpdated(el); el.focus(); @@ -82,13 +74,11 @@ describe('Tray', () => { ); }); it('closes', async () => { - const test = await fixture( - html` - - - - ` - ); + const test = await fixture(html` + + + + `); const el = test.querySelector('sp-tray') as Tray; // Ensure closed styles are set before opening so that diff --git a/packages/underlay/package.json b/packages/underlay/package.json index 745778843c..09067b7e93 100644 --- a/packages/underlay/package.json +++ b/packages/underlay/package.json @@ -33,6 +33,7 @@ "development": "./src/index.dev.js", "default": "./src/index.js" }, + "./src/underlay-overrides.css.js": "./src/underlay-overrides.css.js", "./src/underlay.css.js": "./src/underlay.css.js", "./sp-underlay.js": { "development": "./sp-underlay.dev.js", @@ -60,7 +61,7 @@ "@spectrum-web-components/base": "^0.49.0" }, "devDependencies": { - "@spectrum-css/underlay": "^4.1.0" + "@spectrum-css/underlay": "^5.0.0-s2-foundations.15" }, "types": "./src/index.d.ts", "customElements": "custom-elements.json", diff --git a/packages/underlay/src/spectrum-underlay.css b/packages/underlay/src/spectrum-underlay.css index 8b2cd13e7e..e2732e8653 100644 --- a/packages/underlay/src/spectrum-underlay.css +++ b/packages/underlay/src/spectrum-underlay.css @@ -15,6 +15,10 @@ governing permissions and limitations under the License. pointer-events: none; visibility: hidden; opacity: 0; + transition: + transform 0.13s ease-in-out, + opacity 0.13s ease-in-out, + visibility 0s linear 0.13s; transition: transform var( @@ -39,6 +43,7 @@ governing permissions and limitations under the License. pointer-events: auto; visibility: visible; opacity: 1; + transition-delay: 0s; transition-delay: var( --mod-overlay-animation-duration-opened, var(--spectrum-animation-duration-0, 0s) @@ -46,31 +51,6 @@ governing permissions and limitations under the License. } :host { - --spectrum-underlay-background-entry-animation-delay: var( - --spectrum-animation-duration-0 - ); - --spectrum-underlay-background-exit-animation-ease: var( - --spectrum-animation-ease-in - ); - --spectrum-underlay-background-entry-animation-ease: var( - --spectrum-animation-ease-out - ); - --spectrum-underlay-background-exit-animation-duration: var( - --spectrum-animation-duration-100 - ); - --spectrum-underlay-background-entry-animation-duration: var( - --spectrum-animation-duration-600 - ); - --spectrum-underlay-background-exit-animation-duration: var( - --spectrum-animation-duration-300 - ); - --spectrum-underlay-background-exit-animation-delay: var( - --spectrum-animation-duration-200 - ); - --spectrum-underlay-background-color: rgba( - var(--spectrum-black-rgb), - var(--spectrum-overlay-opacity) - ); background-color: var( --mod-underlay-background-color, var(--spectrum-underlay-background-color) diff --git a/packages/underlay/src/underlay-overrides.css b/packages/underlay/src/underlay-overrides.css new file mode 100644 index 0000000000..12ae6f7f93 --- /dev/null +++ b/packages/underlay/src/underlay-overrides.css @@ -0,0 +1,36 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host { + --spectrum-underlay-background-entry-animation-delay: var( + --system-underlay-background-entry-animation-delay + ); + --spectrum-underlay-background-exit-animation-ease: var( + --system-underlay-background-exit-animation-ease + ); + --spectrum-underlay-background-entry-animation-ease: var( + --system-underlay-background-entry-animation-ease + ); + --spectrum-underlay-background-entry-animation-duration: var( + --system-underlay-background-entry-animation-duration + ); + --spectrum-underlay-background-exit-animation-duration: var( + --system-underlay-background-exit-animation-duration + ); + --spectrum-underlay-background-exit-animation-delay: var( + --system-underlay-background-exit-animation-delay + ); + --spectrum-underlay-background-color: var( + --system-underlay-background-color + ); +} diff --git a/packages/underlay/src/underlay.css b/packages/underlay/src/underlay.css index a40da31593..7f5d69a770 100644 --- a/packages/underlay/src/underlay.css +++ b/packages/underlay/src/underlay.css @@ -11,3 +11,4 @@ governing permissions and limitations under the License. */ @import url('./spectrum-underlay.css'); +@import url('./underlay-overrides.css'); diff --git a/projects/documentation/content/deprecation.md b/projects/documentation/content/deprecation.md index dda4bb3ffe..11f0626130 100644 --- a/projects/documentation/content/deprecation.md +++ b/projects/documentation/content/deprecation.md @@ -97,9 +97,9 @@ window.__swc.warn( ```json { - "name": "@spectrum-web-components/split-button", + "name": "@spectrum-web-components/some-component", "version": "0.0.1", - "deprecationNotice": "@spectrum-web-components/split-button is deprecated and will be removed in the SWC 1.0 release." + "deprecationNotice": "@spectrum-web-components/some-component is deprecated and will be removed in some future release." } ``` diff --git a/projects/documentation/content/migrations/2021-8-11.11tydata.cjs b/projects/documentation/content/migrations/2021-8-11.11tydata.cjs index e564230707..3487e3e2fd 100644 --- a/projects/documentation/content/migrations/2021-8-11.11tydata.cjs +++ b/projects/documentation/content/migrations/2021-8-11.11tydata.cjs @@ -216,11 +216,6 @@ module.exports = { version: '0.4.0', dir: '../../components/progress-circle', }, - { - name: '@spectrum-web-components/quick-actions', - version: '0.6.0', - dir: '../../components/quick-actions', - }, { name: '@spectrum-web-components/radio', version: '0.9.0', @@ -246,11 +241,6 @@ module.exports = { version: '0.12.0', dir: '../../components/slider', }, - { - name: '@spectrum-web-components/split-button', - version: '0.7.0', - dir: '../../components/split-button', - }, { name: '@spectrum-web-components/split-view', version: '0.4.0', diff --git a/projects/documentation/content/migrations/2024-10-31 (1.0.0).md b/projects/documentation/content/migrations/2024-10-31 (1.0.0).md new file mode 100644 index 0000000000..476837a5cc --- /dev/null +++ b/projects/documentation/content/migrations/2024-10-31 (1.0.0).md @@ -0,0 +1,207 @@ +--- +layout: guide.njk +title: 'Migration Guide: Spectrum Web Components (v1.0.0)' +displayName: 2024/10/31 (v1.0.0) +slug: migration-guide +--- + +## Migration: 2024/10/31 (v1.0.0) + +With the release of Spectrum Web Components v1.0.0, we've removed previously deprecated components and features. + +Starting with this version, Spectrum Web Components will adhere to [semantic versioning (semver)](https://semver.org/), which ensures that any future breaking changes are introduced only in major version bumps. These changes will be communicated in advance so that developers can prepare for the updates. As part of this versioning approach, patch releases will be non-breaking and will focus on fixes and minor improvements. + +If you're upgrading from an earlier version, please review the following changes carefully to ensure your project remains compatible. + +## Removed Components and Features + +### 1. Banner (`sp-banner`) + +The `sp-banner` component has been removed. + +**Action Required**: If you are using `sp-banner`, remove it from your application and replace it with the [alert banner](/components/alert-banner/) component to show pressing and high-signal messages, such as system alerts. + +### 2. Quick actions (`sp-quick-actions`) + +The `sp-quick-actions` component has been removed. + +**Action Required**: If you are using `sp-quick-actions`, remove it from your application and replace it with the [action bar](/components/alert-banner/) component to allow users to perform actions on either a single or multiple items at the same time. + +### 3. Split button (`sp-split-button`) + +The `sp-split-button` component has been removed. + +**Action Required**: If you are using `sp-split-button`, remove it from your application and replace it with the [button group](/components/button-group/) component to to show any additional actions related to the most critical action. + +### 4. Action button (`sp-action-button`) + +The `variant` attribute for `sp-action-button` has been removed. + +**Action Required**: If your application uses the `variant` attribute, replace it with the `static-color` attribute while keeping the same values. See the example below: + +```ts +// Before + + +// After + +``` + +### 5. Badge (`sp-badge`) + +The values for the `position` attribute on `sp-badge` have been removed: `top`, `bottom`, `left`, `right`. + +**Action Required**: Replace these fixed values with their logical equivalents: + +- `top` → `block-start` +- `bottom` → `block-end` +- `left` → `inline-start` +- `right` → `inline-end` + +### 6. Button (`sp-button`) + +Several deprecated values for the `variant` attribute on `sp-button` have been removed, including: + +- `black` and `white`: Use `static-color="black"` or `static-color="white"` instead. +- `variant="over-background"`: Use `static-color="white"` with `treatment="outline"` instead. +- `cta`: Use `variant="accent"` instead. + +**Action Required**: Update all instances where you use the above `variant` attributes on `sp-button`. See the examples below: + +#### `black` and `white` + +```ts +// Before (black and white) + + +// After (black and white) + +``` + +#### `overBackground`/`over-background` + +```ts +// Before (overBackground) + + +// After (overBackground) + +``` + +#### `cta` + +```ts +// Before (cta) + + +// After (cta) + +``` + +### 7. Coach Indicator (`sp-coach-indicator`) + +The `variant` attribute for `sp-coach-indicator` has been removed. + +**Action Required**: Replace the `variant` attribute with the `static-color` attribute, using the same values. See the example below: + +```ts +// Before + + +// After + +``` + +Ensure that all instances of `sp-coach-indicator` in your codebase are updated accordingly. + +### 8. Popover (`sp-popover`) + +The `dialog` attribute for `sp-popover` has been removed. + +**Action Required**: Instead of using the `dialog` attribute, slot an `` element into the `sp-popover` component. See the example below: + +```ts +// Before + + +// After + + + +``` + +Ensure that all instances of `sp-popover` using the `dialog` attribute are updated to this new structure. + +### 9. Progress Circle (`sp-progress-circle`) + +The `overBackground` property and respective `over-background` attribute for `sp-progress-circle` have been removed. + +**Action Required**: Replace the `over-background` attribute with the `static-color="white"` attribute. See the example below: + +```ts +// Before + + +// After + +``` + +Make sure to update all instances of `sp-progress-circle` where `overBackground`/`over-background` is used. + +### 10. Theme (`sp-theme`) + +The `theme` attribute for `sp-theme` has been removed. + +**Action Required**: Replace the `theme` attribute with the `system` attribute. This is a drop-in replacement. See the example below: + +```ts +// Before + + +// After + +``` + +Ensure that all instances of the `theme` attribute in your application are updated to use `system` instead. + +### 11. Thumbnail (`sp-thumbnail`) + +The following deprecated size values for `sp-thumbnail` have been removed: `xxs`, `xs`, `s`, `m`, `l`. + +**Action Required**: Replace these deprecated sizes with their corresponding numeric values: + +- `xxs` → `100` +- `xs` → `300` +- `s` → `500` +- `m` → `700` +- `l` → `900` + +See the example below for the migration: + +```ts +// Before + + +// After + +``` + +Make sure to update all instances of `sp-thumbnail` using the deprecated `size` values. + +### 12. Dialog and Dialog Wrapper (`sp-dialog` and `sp-dialog-wrapper`) + +The `error` attribute for `sp-dialog` and `sp-dialog-wrapper` has been removed. + +**Action Required**: Use the [Alert Dialog](/components/alert-dialog/#error) component with the `variant="error"` instead. See the example below: + +```ts +// Before + + +// After + +``` + +## Final Notes + +Please ensure your project is fully compatible with Spectrum Web Components 1.0.0 before upgrading. Test thoroughly and review any deprecated or removed functionality as outlined above. If you encounter any issues during migration, consult the documentation or reach out to the team for support. diff --git a/projects/documentation/content/using-swc-react.md b/projects/documentation/content/using-swc-react.md index e6f2a6a31c..af8132fe64 100644 --- a/projects/documentation/content/using-swc-react.md +++ b/projects/documentation/content/using-swc-react.md @@ -87,7 +87,7 @@ import { Theme } from "@swc-react/theme"; ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render( - + diff --git a/projects/documentation/content/what-is-a-theme.md b/projects/documentation/content/what-is-a-theme.md index c97466e450..a799d68189 100644 --- a/projects/documentation/content/what-is-a-theme.md +++ b/projects/documentation/content/what-is-a-theme.md @@ -10,7 +10,7 @@ slug: what-is-a-theme Theme is an overloaded term that can lead to confusion and a general thought of "What is a theme anyway?". Is it just color appearance changes for light and dark mode? Is it scale changes? Our answer historically has kind of been, "yes—all that". We've built `sp-theme` to represent these different contexts as a collective type called a "theme". ```html - + Don't Click ``` diff --git a/projects/documentation/package.json b/projects/documentation/package.json index 4da003a16d..907d506c78 100644 --- a/projects/documentation/package.json +++ b/projects/documentation/package.json @@ -31,7 +31,7 @@ "@open-wc/building-rollup": "^3.0.2", "@rollup/plugin-alias": "^5.0.1", "@rollup/plugin-commonjs": "^25.0.7", - "@rollup/plugin-json": "^6.0.1", + "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^15.2.3", "@toycode/markdown-it-class": "^1.2.4", "@types/lunr": "^2.3.3", diff --git a/projects/documentation/rollup.config.js b/projects/documentation/rollup.config.js index 950d4235da..1d02b1ac5b 100644 --- a/projects/documentation/rollup.config.js +++ b/projects/documentation/rollup.config.js @@ -9,16 +9,17 @@ the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTA OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ -import { minify } from 'html-minifier-terser'; import { copy } from '@web/rollup-plugin-copy'; -import alias from '@rollup/plugin-alias'; -import commonjs from '@rollup/plugin-commonjs'; import { createBasicConfig } from '@open-wc/building-rollup'; import { injectManifest } from 'rollup-plugin-workbox'; -import path from 'path'; +import { minify } from 'html-minifier-terser'; +import { nodeResolve } from '@rollup/plugin-node-resolve'; import { rollupPluginHTML as html } from '@web/rollup-plugin-html'; +import alias from '@rollup/plugin-alias'; +import commonjs from '@rollup/plugin-commonjs'; +import json from '@rollup/plugin-json'; +import path from 'path'; import Terser from 'terser'; -import { nodeResolve } from '@rollup/plugin-node-resolve'; const stringReplaceHtml = (source) => { return source @@ -138,6 +139,7 @@ export default async () => { mpaConfig.preserveEntrySignatures = false; mpaConfig.plugins.push( + json(), commonjs({ exclude: [ '../../node_modules/focus-visible/**', diff --git a/projects/documentation/scripts/build-ts.js b/projects/documentation/scripts/build-ts.js index 0a2dc4839c..12e4fff5f5 100644 --- a/projects/documentation/scripts/build-ts.js +++ b/projects/documentation/scripts/build-ts.js @@ -45,6 +45,7 @@ async function main() { filename: filePath, code: css, minify: true, + errorRecovery: true, resolver: { read(readPath) { const file = fs.readFileSync(readPath, 'utf8'); diff --git a/projects/documentation/scripts/gather-spectrum-urls.js b/projects/documentation/scripts/gather-spectrum-urls.js index ab4612d29a..d1c7c47a53 100644 --- a/projects/documentation/scripts/gather-spectrum-urls.js +++ b/projects/documentation/scripts/gather-spectrum-urls.js @@ -28,7 +28,6 @@ const targetDir = path.resolve( const targetFile = path.resolve(targetDir, 'spectrumURLs.js'); const packageNameCorrections = { - quickaction: 'quick-actions', tag: 'tags', }; diff --git a/projects/documentation/src/components/styles.css b/projects/documentation/src/components/styles.css index 445ba97682..7577c6f13b 100644 --- a/projects/documentation/src/components/styles.css +++ b/projects/documentation/src/components/styles.css @@ -14,8 +14,11 @@ governing permissions and limitations under the License. @import '@spectrum-web-components/styles/tokens/spectrum/global-vars.css'; @import '@spectrum-web-components/styles/tokens/spectrum/custom-vars.css'; @import '@spectrum-web-components/styles/src/spectrum-heading.css'; +@import '@spectrum-web-components/styles/src/heading-overrides.css'; @import '@spectrum-web-components/styles/src/spectrum-body.css'; +@import '@spectrum-web-components/styles/src/body-overrides.css'; @import '@spectrum-web-components/styles/src/spectrum-code.css'; +@import '@spectrum-web-components/styles/src/code-overrides.css'; @import '@spectrum-web-components/opacity-checkerboard/src/spectrum-opacity-checkerboard.css'; @import './inline-alert.css'; @import './fonts.css'; diff --git a/projects/story-decorator/src/StoryDecorator.ts b/projects/story-decorator/src/StoryDecorator.ts index 9edcff1340..98d6c82cdc 100644 --- a/projects/story-decorator/src/StoryDecorator.ts +++ b/projects/story-decorator/src/StoryDecorator.ts @@ -25,7 +25,7 @@ import { import { DARK_MODE } from '@spectrum-web-components/reactive-controllers/src/MatchMedia.js'; import '@spectrum-web-components/theme/sp-theme.js'; import '@spectrum-web-components/theme/src/themes.js'; -import '@spectrum-web-components/theme/src/spectrum-two/themes-core-tokens.js'; +import '@spectrum-web-components/theme/src/spectrum-two/themes.js'; import '@spectrum-web-components/theme/src/express/themes.js'; import '@spectrum-web-components/field-label/sp-field-label.js'; import '@spectrum-web-components/picker/sp-picker.js'; @@ -121,7 +121,7 @@ export class StoryDecorator extends SpectrumElement { var(--spectrum-component-height-100) ); box-sizing: border-box; - background-color: var(--spectrum-gray-100); + background-color: var(--spectrum-background-base-color); color: var(--spectrum-body-color); --decorator-padding-100: calc( @@ -149,7 +149,6 @@ export class StoryDecorator extends SpectrumElement { align-items: flex-start; justify-content: flex-end; box-sizing: border-box; - background-color: var(--spectrum-gray-100); padding-bottom: calc( 2 * var(--spectrum-alias-focus-ring-size) ); @@ -247,6 +246,13 @@ export class StoryDecorator extends SpectrumElement { } } + public get backgroundStyle() { + if (system === 'spectrum-two') { + return `background-color: var(--spectrum-background-base-color);`; + } + return `background-color: var(--spectrum-gray-100);`; + } + protected handleKeydown(event: KeyboardEvent): void { const path = event.composedPath(); const hasInput = path.some( @@ -267,7 +273,7 @@ export class StoryDecorator extends SpectrumElement { color=${this.color} scale=${this.scale} dir=${this.direction} - lang=${this.lang} + style=${this.backgroundStyle} part="container" @keydown=${this.handleKeydown} > diff --git a/scripts/generate-tokens-wrapper.js b/scripts/generate-tokens-wrapper.js index b98bd76ba1..1df6d2276a 100644 --- a/scripts/generate-tokens-wrapper.js +++ b/scripts/generate-tokens-wrapper.js @@ -38,26 +38,40 @@ const tokenPackages = [ 'actiongroup', 'alertbanner', 'alertdialog', + 'asset', 'avatar', 'badge', 'button', 'buttongroup', + 'breadcrumb', 'checkbox', + 'card', + 'clearbutton', 'closebutton', + 'coachindicator', + 'coachmark', 'colorarea', + 'colorfield', 'colorhandle', 'colorloupe', + 'colorslider', 'colorwheel', 'combobox', + 'contextualhelp', + 'dialog', 'divider', 'dropzone', 'fieldgroup', 'fieldlabel', 'helptext', 'illustratedmessage', + 'icon', 'infieldbutton', 'link', 'menu', + 'meter', + 'modal', + 'numberfield', 'picker', 'pickerbutton', 'popover', @@ -72,16 +86,20 @@ const tokenPackages = [ 'stepper', 'swatch', 'swatchgroup', + 'opacitycheckerboard', 'switch', 'table', 'tabs', 'tag', + 'taggroup', 'textfield', 'thumbnail', 'toast', 'tooltip', + 'topnav', 'tray', 'underlay', + 'typography', ]; const packagePaths = tokenPackages.map((packageName) => { @@ -97,7 +115,7 @@ const packagePaths = tokenPackages.map((packageName) => { }); const spectrumThemeSelectorRegExp = - /(?:\.spectrum(--(?:express|light(?:est)?|dark(?:est)?|medium|large)?,?(\n|\s)*)?)+\s?\{/g; + /(?:\.spectrum(--(?:express|light(?:est)?|dark(?:est)?|medium|large|legacy)?,?(\n|\s)*)?)+\s?\{/g; const importantCommentRegExp = /\/\*![^*]*\*+([^\/*][^*]*\*+)*\//g; const targetHost = (css) => { @@ -117,7 +135,7 @@ const targetHost = (css) => { return css.replaceAll(spectrumThemeSelectorRegExp, ':host,\n:root {'); }; -const removeImporantComments = (css) => { +const removeImportantComments = (css) => { /** * Spectrum CSS uses /*! comments that are "not" removable. * These comments pile up in merged files, so we _need_ to remove them. @@ -125,98 +143,78 @@ const removeImporantComments = (css) => { return css.replaceAll(importantCommentRegExp, ''); }; +/** + * copies @spectrum-css/dist/css/*.css and @spectrum-css/dist/css/**\/*.css + * replaces classes with :root, :host, and pastes them into + * corresponding /tools/styles/*.css and /tools/styles/tokens/**\/*.css + * @param {string} srcPath @spectrum-css/dist/css path + * @param {*} tokensDir styles/tokens path + */ const processTokens = (srcPath, tokensDir) => { let css = fs.readFileSync(srcPath, 'utf8'); const fileName = srcPath.split(path.sep + 'css' + path.sep).at(-1); - css = removeImporantComments(targetHost(css)); - - // s2 doesn't need express tokens - if (tokensDir === 'tokens-v2' && fileName.startsWith('express')) { - return; - } - - fs.writeFileSync( - path.join(__dirname, '..', 'tools', 'styles', tokensDir, fileName), - css - ); -}; -const processPackages = async (srcPath, tokensDir, index) => { - const packageName = tokenPackages[index]; - const spectrumPath = path.join(srcPath, 'spectrum.css'); + css = removeImportantComments(targetHost(css)); - // check if spectrumPath exists - if (fs.existsSync(spectrumPath)) { - let spectrum = fs.readFileSync(spectrumPath, 'utf8'); - spectrum = removeImporantComments(targetHost(spectrum)); - fs.appendFileSync( - path.join( - __dirname, - '..', - 'tools', - 'styles', - tokensDir, - 'spectrum', - 'global-vars.css' - ), - spectrum + try { + fs.writeFileSync( + path.join(__dirname, '..', 'tools', 'styles', tokensDir, fileName), + css ); - } - - // spectrum-2 doesn't need express package tokens - if (tokensDir === 'tokens-v2') { - return; - } - - const expressPath = path.join(srcPath, 'express.css'); - - // check if expressPath exists - if (fs.existsSync(expressPath)) { - let express = fs.readFileSync(expressPath, 'utf8'); - express = removeImporantComments(targetHost(express)); - fs.appendFileSync( - path.join( - __dirname, - '..', - 'tools', - 'styles', - tokensDir, - 'express', - 'global-vars.css' - ), - express - ); - } + } catch (er) {} +}; +const processPackages = async (tokensDir, index) => { + const packagename = tokenPackages[index]; - const varsPaths = path.join( + let componentLevelTokensPath = path.join( __dirname, '..', - 'tools', - 'styles', - '**', - '*.css' + 'node_modules', + '@spectrum-css', + tokensDir, + 'dist', + 'css', + 'components' ); - const varsRegExp = new RegExp(`\\s*--spectrum-${packageName}[^;}]*;*`, 'g'); - const aliasRegExp = new RegExp( - `\\s*--spectrum-alias-${packageName}[^;}]*;*`, - 'g' + + return Promise.all( + ['spectrum', 'express', 'spectrum-two'].map((type) => { + const outputDir = type !== 'spectrum-two' ? 'tokens' : 'tokens-v2'; + const outputType = outputDir === 'tokens-v2' ? 'spectrum' : type; + const cssFilePath = path.join( + componentLevelTokensPath, + type, + packagename + '.css' + ); + + // check if cssFilePath exists + if (fs.existsSync(cssFilePath)) { + let content = fs.readFileSync(cssFilePath, 'utf8'); + content = removeImportantComments(targetHost(content)); + fs.appendFileSync( + path.join( + __dirname, + '..', + 'tools', + 'styles', + outputDir, + outputType, + 'global-vars.css' + ), + content + ); + } + }) ); - const varsWithoutTokens = await fg([varsPaths], { - ignore: ['**/tokens/**/*.css'], - }); - for (const varsPath of varsWithoutTokens) { - let css = fs.readFileSync(varsPath, 'utf8'); - css = css.replaceAll(varsRegExp, ''); - css = css.replaceAll(aliasRegExp, ''); - fs.writeFileSync(varsPath, css); - } }; /** * Core entry function */ export async function generateTokensWrapper(spectrumVersion) { - const tokensDir = spectrumVersion === 'spectrum' ? 'tokens' : 'tokens-v2'; + const isSpectrumOne = Boolean(spectrumVersion === 'spectrum'); + const tokensDir = isSpectrumOne ? 'tokens' : 'tokens-v2'; + fs.mkdirSync( path.join(__dirname, '..', 'tools', 'styles', tokensDir, 'spectrum'), { @@ -249,9 +247,12 @@ export async function generateTokensWrapper(spectrumVersion) { for (const tokensPath of await fg([`${tokensRoot(tokensDir)}`])) { processTokens(tokensPath, tokensDir); } - - const processes = packagePaths.map((path, index) => { - return processPackages(path, tokensDir, index); - }); - await Promise.all(processes); + if (isSpectrumOne) { + return; + } + return Promise.all( + packagePaths.map((_, index) => { + return processPackages(tokensDir, index); + }) + ); } diff --git a/scripts/icons-sync.json b/scripts/icons-sync.json new file mode 100644 index 0000000000..aaedbe9590 --- /dev/null +++ b/scripts/icons-sync.json @@ -0,0 +1,900 @@ +{ + "iconsDir1": [ + "Accessibility", + "AddContent", + "AlertTriangle", + "AlignOnGrid", + "AllCaps", + "Animation", + "AnimationNo", + "AppGear", + "AppsAll", + "AppsInYourPlan", + "ArrowHeadTool", + "AspectRatio", + "AudioWave", + "AutoSelectSubject", + "Background", + "BellRotated", + "BetaApp", + "Binoculars", + "BrightnessContrast", + "Buildings", + "BuildingsGear", + "CalendarDay", + "CalendarEdit", + "CalendarWeek", + "CheckBox", + "ClockEdit", + "ClockPending", + "CloudStateDefault", + "CloudStateDisconnected", + "CloudStateError", + "CloudStateErrorRed", + "CloudStateInProgress", + "CloudStatePaused", + "CloudStatePending", + "CloudStateSlowConnection", + "Color", + "CommentText", + "Community", + "CornerCount", + "CornerRadius", + "CornerRadiusEach", + "DeviceAll", + "DeviceDesktopMobile", + "DeviceMobile", + "DirectSelect", + "Discover", + "Distort", + "DistributeSpaceHorizontally", + "DistributeSpaceVertically", + "Emoji", + "ExportTo", + "Eyedropper", + "File", + "FileConvert", + "FileText", + "Files", + "Filmstrip", + "Filters", + "FolderBreadcrumb", + "FolderClock", + "GridView", + "HealSpot", + "HelpCircle", + "Illustration", + "ImageBackgroundRemove", + "InfoCircle", + "Interaction", + "LassoSelect", + "Layout", + "Length", + "Lightbulb", + "Lighten", + "LinkVertical", + "ListNumbered", + "ListView", + "Lock", + "MagneticLine", + "MarginTemplate", + "Mention", + "MenuHamburger", + "Microphone", + "MicrophoneOff", + "New", + "Nudge", + "Number", + "ObjectSelectionLasso", + "Order", + "OrderBottom", + "OrderOneDown", + "OrderOneUp", + "OrderTop", + "Pages", + "Paragraph", + "Percentage", + "PerspectiveTransform", + "Plugin", + "PluginGear", + "Polygon3", + "Polygon4", + "Polygon5", + "Polygon6", + "PolygonLassoSelect", + "PossibleClippingMask", + "ProjectCreate", + "Projects", + "ProjectsAddInto", + "Prompt", + "Prototyping", + "Publish", + "RadioButton", + "RectangleSelect", + "Replace", + "ReportAbuse", + "ReviewLink", + "RotateOrientation", + "SelectAll", + "SelectAndMove", + "SelectCircularAdd", + "SelectCircularSubtract", + "SelectMultiple", + "SelectNone", + "Skew", + "Slideshow", + "Smudge", + "Sort", + "SortDown", + "SortUp", + "StampClone", + "StarFilled", + "StickyNote", + "StrokeDotted", + "SubtractFrom", + "SwitchVertical", + "Tag", + "Template", + "TextAlignJustifyLastCenter", + "TextAlignJustifyLastLeft", + "TextJustifyLastRight", + "TextStrikeThrough", + "Toggle", + "Transform", + "TransformGeneric", + "UnLink", + "UnlinkHoriz", + "UnlinkVertical", + "Unpublish", + "UserAvatar", + "Video", + "VolumeOff", + "Warp", + "WebNavBar", + "Workspace" + ], + "iconsDir2": [ + "ABC", + "AEMScreens", + "Actions", + "AddCircle", + "Airplane", + "Alert", + "AlertAdd", + "AlertCheck", + "AlertCircleFilled", + "Algorithm", + "Alias", + "Amusementpark", + "Anchor", + "AnchorSelect", + "Annotate", + "AnnotatePen", + "Answer", + "AnswerFavorite", + "App", + "AppRefresh", + "AppleFiles", + "ApplicationDelivery", + "ApproveReject", + "ArchiveRemove", + "ArrowDown", + "ArrowLeft", + "ArrowRight", + "ArrowUp", + "ArrowUpRight", + "Article", + "AssetCheck", + "AssetsAdded", + "AssetsDownloaded", + "AssetsExpired", + "AssetsLinkedPublished", + "AssetsModified", + "AssetsPublished", + "Asterisk", + "At", + "AttachmentExclude", + "Attributes", + "Audio", + "AutomatedSegment", + "Back", + "Back30Seconds", + "BackAndroid", + "Beaker", + "BeakerCheck", + "BeakerShare", + "BidRule", + "BidRuleAdd", + "Blower", + "Blur", + "Book", + "Bookmark", + "BookmarkSingle", + "BookmarkSingleOutline", + "BookmarkSmall", + "BookmarkSmallOutline", + "Boolean", + "Border", + "Box", + "BoxAdd", + "BoxExport", + "BoxImport", + "Brackets", + "BracketsSquare", + "Branch1", + "Branch2", + "Branch3", + "BranchCircle", + "BreadcrumbNavigation", + "Breakdown", + "BreakdownAdd", + "Browse", + "Building", + "BulkEditUsers", + "Button", + "Calculator", + "CalendarLocked", + "CalendarUnlocked", + "CallCenter", + "CameraFlip", + "CameraRefresh", + "Campaign", + "CampaignAdd", + "CampaignClose", + "CampaignDelete", + "CampaignEdit", + "Cancel", + "Capitals", + "Captcha", + "Car", + "Card", + "Channel", + "Chat", + "ChatAdd", + "CheckPause", + "Checkmark", + "CheckmarkCircleOutline", + "ChevronDoubleLeft", + "ChevronDoubleRight", + "ChevronDown", + "ChevronLeft", + "ChevronRight", + "ChevronUp", + "ChevronUpDown", + "CircleFilled", + "ClassicGridView", + "ClockCheck", + "CloneStamp", + "Close", + "CloseCaptions", + "CloseCircle", + "CloudDisconnected", + "CloudError", + "CloudOutline", + "Code", + "Collection", + "CollectionAdd", + "CollectionAddTo", + "CollectionCheck", + "CollectionEdit", + "CollectionExclude", + "CollectionLink", + "ColorPalette", + "ColorWheel", + "ColumnSettings", + "ColumnTwoA", + "ColumnTwoB", + "ColumnTwoC", + "Compare", + "Compass", + "Condition", + "ConfidenceFour", + "ConfidenceOne", + "ConfidenceThree", + "ConfidenceTwo", + "ConversionFunnel", + "CoverImage", + "CreditCard", + "CropLightning", + "CropRotate", + "Crosshairs", + "Curate", + "Dashboard", + "Data", + "DataAdd", + "DataBook", + "DataCheck", + "DataCorrelated", + "DataDownload", + "DataEdit", + "DataMapping", + "DataRefresh", + "DataRemove", + "DataSettings", + "DataUnavailable", + "DataUpload", + "DataUser", + "Date", + "DateInput", + "Deduplication", + "Delegate", + "DeleteOutline", + "Demographic", + "DeselectCircular", + "DesktopAndMobile", + "DevicePhoneRefresh", + "DevicePreview", + "DeviceRotateLandscape", + "DeviceRotatePortrait", + "DeviceTV", + "Devices", + "DisplayAdvert", + "DistributeHorizontally", + "DistributeSpaceHoriz", + "DistributeSpaceVert", + "DistributeVertically", + "Divide", + "Document", + "DocumentFragment", + "DocumentFragmentGroup", + "DocumentOutline", + "DocumentRefresh", + "Dolly", + "DownloadFromCloud", + "DownloadFromCloudOutline", + "Draft", + "DragHandle", + "Dropdown", + "EditCircle", + "EditExclude", + "EditIn", + "EditInLight", + "Effects", + "Efficient", + "Ellipse", + "Email", + "EmailCancel", + "EmailCheck", + "EmailExclude", + "EmailExcludeOutline", + "EmailGear", + "EmailGearOutline", + "EmailKey", + "EmailKeyOutline", + "EmailLightning", + "EmailNotification", + "EmailOutline", + "EmailRefresh", + "EmailSchedule", + "Engagement", + "Event", + "EventExclude", + "EventShare", + "Events", + "Experience", + "ExperienceAdd", + "ExperienceAddTo", + "ExperienceExport", + "ExperienceImport", + "Export", + "ExportOriginal", + "Exposure", + "Extension", + "FacebookCoverImage", + "Fast", + "FastForward", + "FastForwardCircle", + "Feature", + "Feed", + "FeedAdd", + "FeedManagement", + "Feedback", + "FileCSV", + "FileCampaign", + "FileChart", + "FileCheckedOut", + "FileCode", + "FileData", + "FileEmail", + "FileExcel", + "FileFolder", + "FileGear", + "FileGlobe", + "FileHTML", + "FileImportant", + "FileJson", + "FileKey", + "FileMobile", + "FilePDF", + "FileShare", + "FileSingleWebPage", + "FileSpace", + "FileTemplate", + "FileTxt", + "FileWord", + "FileWorkflow", + "FileXML", + "FileZip", + "FilingCabinet", + "Filmroll", + "FilmrollAutoAdd", + "FilterAdd", + "FilterCheck", + "FilterDelete", + "FilterEdit", + "FilterHeart", + "FilterRemove", + "FilterStar", + "FindAndReplace", + "FlagExclude", + "FlashAuto", + "FlashOff", + "FlashOn", + "Flashlight", + "FlashlightOff", + "FlashlightOn", + "Folder2Color", + "FolderAddTo", + "FolderArchive", + "FolderDelete", + "FolderGear", + "FolderLocked", + "FolderOpenOutline", + "FolderOutline", + "FolderRemove", + "FolderSearch", + "FolderUser", + "Follow", + "FollowOff", + "ForPlacementOnly", + "Forecast", + "Form", + "Forward", + "Function", + "Game", + "Gauge1", + "Gauge2", + "Gauge3", + "Gauge4", + "Gauge5", + "Gears", + "GearsAdd", + "GearsDelete", + "GearsEdit", + "GenderFemale", + "GenderMale", + "Globe", + "GlobeCheck", + "GlobeClock", + "GlobeEnter", + "GlobeExit", + "GlobeOutline", + "GlobeRemove", + "GlobeSearch", + "GlobeStrike", + "GlobeStrikeClock", + "Gradient", + "GraphArea", + "GraphAreaStacked", + "GraphBarHorizontal", + "GraphBarHorizontalAdd", + "GraphBarHorizontalStacked", + "GraphBarVertical", + "GraphBarVerticalAdd", + "GraphBarVerticalStacked", + "GraphBubble", + "GraphBullet", + "GraphConfidenceBands", + "GraphDonut", + "GraphDonutAdd", + "GraphGantt", + "GraphHistogram", + "GraphPathing", + "GraphPie", + "GraphProfitCurve", + "GraphScatter", + "GraphStream", + "GraphStreamRanked", + "GraphStreamRankedAdd", + "GraphSunburst", + "GraphTree", + "GraphTrend", + "GraphTrendAdd", + "GraphTrendAlert", + "Graphic", + "Hammer", + "Hand0", + "Hand1", + "Hand2", + "Hand3", + "Hand4", + "Help", + "HelpOutline", + "Histogram", + "History", + "Homepage", + "HotFixes", + "HotelBed", + "IdentityService", + "ImageAdd", + "ImageAlbum", + "ImageAutoMode", + "ImageCarousel", + "ImageCheck", + "ImageCheckedOut", + "ImageMapCircle", + "ImageMapPolygon", + "ImageMapRectangle", + "ImageNext", + "ImageProfile", + "ImageSearch", + "ImageText", + "Images", + "Import", + "Inbox", + "Individual", + "Info", + "InfoOutline", + "InvertAdj", + "Journey", + "JourneyAction", + "JourneyData", + "JourneyEvent", + "JourneyEvent2", + "JourneyReports", + "JourneyVoyager", + "JumpToTop", + "Key", + "KeyClock", + "KeyExclude", + "Label", + "LabelExclude", + "Labels", + "Landscape", + "Launch", + "LayersBackward", + "LayersBringToFront", + "LayersForward", + "LayersSendToBack", + "Light", + "LinearGradient", + "LinkCheck", + "LinkGlobe", + "LinkNav", + "LinkOff", + "LinkOut", + "LinkOutLight", + "LinkPage", + "LinkUser", + "LocationBasedDate", + "LocationBasedEvent", + "LocationContribution", + "LockClosed", + "LogOut", + "Login", + "Looks", + "LoupeView", + "MBox", + "Magnify", + "Mailbox", + "MapView", + "MarginBottom", + "MarginLeft", + "MarginRight", + "MarginTop", + "MarketingActivities", + "Measure", + "Menu", + "Merge", + "MergeLayers", + "Messenger", + "MobileServices", + "ModernGridView", + "Money", + "Monitoring", + "Moon", + "MoreCircle", + "MoreSmall", + "MoreSmallList", + "MoreSmallListVert", + "MoreVertical", + "MoveLeftRight", + "MoveTo", + "MoveUpDown", + "Multiple", + "MultipleAdd", + "MultipleCheck", + "MultipleExclude", + "NamingOrder", + "NewItem", + "News", + "NewsAdd", + "Note", + "NoteAdd", + "OS", + "Offer", + "OfferDelete", + "OnAir", + "OpenInLight", + "OpenRecent", + "OpenRecentOutline", + "Orbit", + "Organisations", + "Organize", + "OutlinePath", + "PaddingBottom", + "PaddingLeft", + "PaddingRight", + "PaddingTop", + "PageBreak", + "PageExclude", + "PageGear", + "PageRule", + "PageShare", + "PageTag", + "PagesExclude", + "Pan", + "Panel", + "PasteHTML", + "PasteList", + "PasteText", + "Pattern", + "Pause", + "PauseCircle", + "Pawn", + "Pending", + "PeopleGroup", + "PersonalizationField", + "Perspective", + "PinOff", + "PinOn", + "Pivot", + "PlatformDataMapping", + "Play", + "PlayCircle", + "Plug", + "Polygon", + "PolygonSelect", + "PopIn", + "Portrait", + "Preset", + "PrintAdvert", + "PrintPreview", + "Project", + "ProjectAdd", + "ProjectEdit", + "ProjectNameEdit", + "PropertiesCopy", + "PublishCheck", + "PublishPending", + "PublishReject", + "PublishRemove", + "PublishSchedule", + "PushNotification", + "Question", + "RSS", + "RadialGradient", + "Rail", + "RailBottom", + "RailLeft", + "RailRight", + "RailRightClose", + "RailRightOpen", + "RailTop", + "RangeMask", + "RealTimeCustomerProfile", + "RectSelect", + "Rectangle", + "RegionSelect", + "Relevance", + "Remove", + "RemoveCircle", + "Reorder", + "Replay", + "Replies", + "Reply", + "ReplyAll", + "Report", + "ReportAdd", + "Retweet", + "Reuse", + "Revenue", + "Rewind", + "RewindCircle", + "Ribbon", + "RotateCCWBold", + "RotateCWBold", + "RotateLeft", + "RotateLeftOutline", + "RotateRight", + "RotateRightOutline", + "SMS", + "SMSKey", + "SMSLightning", + "SMSRefresh", + "SQLQuery", + "Sampler", + "Sandbox", + "SaveAsFloppy", + "SaveFloppy", + "SaveTo", + "SaveToLight", + "Scribble", + "Seat", + "SeatAdd", + "Segmentation", + "Segments", + "SelectAdd", + "SelectBox", + "SelectBoxAll", + "SelectContainer", + "SelectGear", + "SelectIntersect", + "SelectSubtract", + "Selection", + "SelectionChecked", + "SelectionMove", + "SentimentNegative", + "SentimentNeutral", + "SentimentPositive", + "Separator", + "Servers", + "ShareAndroid", + "ShareCheck", + "ShareLight", + "ShareWindows", + "Sharpen", + "Shield", + "Ship", + "Shop", + "ShowAllLayers", + "ShowMenu", + "ShowOneLayer", + "Shuffle", + "Slice", + "Slow", + "Snapshot", + "SocialNetwork", + "SortOrderDown", + "SortOrderUp", + "Spam", + "Spellcheck", + "Spin", + "SplitView", + "SpotHeal", + "Stadium", + "Stage", + "Stamp", + "StarOutline", + "Starburst", + "StepBackward", + "StepBackwardCircle", + "StepForward", + "StepForwardCircle", + "Stop", + "StopCircle", + "Stopwatch", + "Straighten", + "StraightenOutline", + "Subscribe", + "SubtractBackPath", + "SubtractFrontPath", + "SuccessMetric", + "Summarize", + "Survey", + "Sync", + "SyncRemove", + "Table", + "TableAdd", + "TableAndChart", + "TableColumnAddLeft", + "TableColumnAddRight", + "TableColumnMerge", + "TableColumnRemoveCenter", + "TableColumnSplit", + "TableEdit", + "TableHistogram", + "TableMergeCells", + "TableRowAddBottom", + "TableRowAddTop", + "TableRowMerge", + "TableRowRemoveCenter", + "TableRowSplit", + "TableSelectColumn", + "TableSelectRow", + "TagBold", + "TagItalic", + "TagUnderline", + "Target", + "Targeted", + "TaskList", + "Teapot", + "TestAB", + "TestABEdit", + "TestABGear", + "TestABRemove", + "TestProfile", + "TextAdd", + "TextBulletedAttach", + "TextBulletedHierarchy", + "TextBulletedHierarchyExclude", + "TextColor", + "TextDecrease", + "TextEdit", + "TextExclude", + "TextIncrease", + "TextIndentDecrease", + "TextIndentIncrease", + "TextLetteredLowerCase", + "TextLetteredUpperCase", + "TextNumbered", + "TextParagraph", + "TextRomanLowercase", + "TextRomanUppercase", + "TextSizeAdd", + "TextSpaceAfter", + "TextSpaceBefore", + "TextStrikethrough", + "TextStroke", + "TextStyle", + "ThumbDownOutline", + "ThumbUpOutline", + "Tips", + "Train", + "TransferToPlatform", + "Transparency", + "Trap", + "TreeCollapse", + "TreeCollapseAll", + "TreeExpand", + "TreeExpandAll", + "TrendInspect", + "TrimPath", + "Trophy", + "Type", + "USA", + "Underline", + "Unlink", + "Unmerge", + "UploadToCloudOutline", + "UserActivity", + "UserAdmin", + "UserArrow", + "UserCheckedOut", + "UserDeveloper", + "UserEdit", + "UserExclude", + "UserShare", + "UsersAdd", + "UsersExclude", + "UsersShare", + "Variable", + "VideoCheckedOut", + "VideoFilled", + "VideoOutline", + "ViewAllTags", + "ViewBiWeek", + "ViewCard", + "ViewColumn", + "ViewDay", + "ViewDetail", + "ViewGrid", + "ViewList", + "ViewRow", + "ViewSingle", + "ViewStack", + "ViewWeek", + "ViewedMarkAs", + "Vignette", + "Visit", + "VisitShare", + "VoiceOver", + "VolumeMute", + "VolumeThree", + "Watch", + "WebPages", + "Workflow", + "WorkflowAdd", + "Wrench" + ] +} diff --git a/scripts/spectrum-vars.js b/scripts/spectrum-vars.js index 6fe2ff2c3d..4edfb61ece 100755 --- a/scripts/spectrum-vars.js +++ b/scripts/spectrum-vars.js @@ -53,7 +53,7 @@ const processCSSData = async ( from, usedVariables = undefined ) => { - /* lit-html is a JS litteral, so `\` escapes by default. + /* lit-html is a JS literal, so `\` escapes by default. * for there to be unicode characters, the escape must * escape itself... */ @@ -114,32 +114,27 @@ const processCSS = async ( fs.writeFileSync(dstPath, result, 'utf8'); }; -// where is spectrum-css? -// TODO: use resolve package to find node_modules -const spectrumPaths = [ - path.resolve( - path.join( - __dirname, - '..', - 'node_modules', - '@spectrum-css', - 'vars', - 'dist' - ) - ), - path.resolve( - path.join( - __dirname, - '..', - 'node_modules', - '@spectrum-css', - 'expressvars', - 'dist' - ) - ), -]; +const processTypography = async ( + baseSrcPath, + overridesSrcPath, + dstPath, + identifier, + from, + usedVariables = undefined +) => { + const baseData = fs.readFileSync(baseSrcPath, 'utf8'); + const overridesData = fs.readFileSync(overridesSrcPath, 'utf8'); + const data = baseData + overridesData; + const result = await processCSSData(data, identifier, from, usedVariables); + fs.writeFileSync(dstPath, result, 'utf8'); + + const fontPath = path.resolve( + path.join(__dirname, '..', 'tools', 'styles', 'fonts.css') + ); + fs.writeFileSync(fontPath, result, 'utf8'); +}; -// sources to use from spectrum-css +const systems = ['spectrum', 'spectrum-two', 'express']; const themes = ['lightest', 'light', 'dark', 'darkest']; const scales = ['medium', 'large']; const cores = ['global']; @@ -147,13 +142,20 @@ const processes = []; const foundVars = await findUsedVars(); -spectrumPaths.forEach((spectrumPath, i) => { +systems.forEach((system) => { + const varsPackage = system === 'express' ? 'expressvars' : 'vars'; + const varsPath = path + .dirname(import.meta.resolve(`@spectrum-css/${varsPackage}`)) + .replace(/^file:/, ''); const packageDir = ['styles']; - const isExpress = i === 1; - if (isExpress) packageDir.push('express'); + if (system !== 'spectrum') { + packageDir.push(system); + } themes.forEach((theme) => { - if (isExpress && ['lightest', 'darkest'].includes(theme)) return; - const srcPath = path.join(spectrumPath, `spectrum-${theme}.css`); + if (system !== 'spectrum' && ['lightest', 'darkest'].includes(theme)) { + return; + } + const srcPath = path.join(varsPath, `spectrum-${theme}.css`); const dstPath = path.resolve( path.join( __dirname, @@ -169,7 +171,7 @@ spectrumPaths.forEach((spectrumPath, i) => { }); scales.forEach((scale) => { - const srcPath = path.join(spectrumPath, `spectrum-${scale}.css`); + const srcPath = path.join(varsPath, `spectrum-${scale}.css`); const dstPath = path.resolve( path.join( __dirname, @@ -186,7 +188,7 @@ spectrumPaths.forEach((spectrumPath, i) => { }); cores.forEach((core) => { - const srcPath = path.join(spectrumPath, `spectrum-${core}.css`); + const srcPath = path.join(varsPath, `spectrum-${core}.css`); const dstPath = path.resolve( path.join( __dirname, @@ -212,12 +214,20 @@ async function processSpectrumVars() { 'typography', 'dist' ); - const srcPath = path.join(typographyPath, 'index-vars.css'); + const baseSrcPath = path.join(typographyPath, 'index-base.css'); + const overridesSrcPath = path.join(typographyPath, 'index-theme.css'); const dstPath = path.resolve( path.join(__dirname, '..', 'tools', 'styles', 'typography.css') ); console.log(`processing typography`); - processes.push(processCSS(srcPath, dstPath, 'typography')); + processes.push( + processTypography( + baseSrcPath, + overridesSrcPath, + dstPath, + 'typography' + ) + ); } await Promise.all(processes).then(() => { diff --git a/tasks/build-css.js b/tasks/build-css.js index 5efd1b76d4..f0b01c6b05 100755 --- a/tasks/build-css.js +++ b/tasks/build-css.js @@ -20,7 +20,11 @@ const buildCSS = async () => { './tools/*/src/*.css', './tools/*/src/**/*.css', ])) { - await processCSS(cssPath); + try { + await processCSS(cssPath); + } catch (error) { + console.error(`Error processing ${cssPath}: ${error}`); + } } process.exit(0); }; diff --git a/tasks/css-tools.js b/tasks/css-tools.js index 8ff321a309..65aa40e0be 100644 --- a/tasks/css-tools.js +++ b/tasks/css-tools.js @@ -44,6 +44,7 @@ export const processCSS = async (cssPath) => { let { code, map } = await bundleAsync({ filename: cssPath, minify: true, + errorRecovery: true, resolver: { read(filePath) { const file = fs.readFileSync(filePath, 'utf8'); diff --git a/tasks/hydrate-export-maps.js b/tasks/hydrate-export-maps.js index 4b08ec8d4b..e44fd85315 100644 --- a/tasks/hydrate-export-maps.js +++ b/tasks/hydrate-export-maps.js @@ -19,7 +19,7 @@ const excludes = [ './src/spectrum-config.js', './src/spectrum-config.v1.js', // partial only asset the is used to build other exports - /spectrum-(?![i][c][o][n][-]).+\.css/, + /spectrum-(?!(([i][c][o][n][-])|([t][w][o]))).+\.css/, /\.css$/, /\.ts$/, /\.map/, diff --git a/tasks/process-spectrum.js b/tasks/process-spectrum.js index 2da84a5fdd..e3276c6479 100644 --- a/tasks/process-spectrum.js +++ b/tasks/process-spectrum.js @@ -168,8 +168,11 @@ async function processComponent(componentPath) { * @type { import('./spectrum-css-converter').SpectrumCSSConverter} */ for await (const conversion of conversions) { - const sourcePath = require.resolve(conversion.inPackage); - const sourceCSS = fs.readFileSync(sourcePath, 'utf-8'); + const sourcePath = require + .resolve(conversion.inPackage) + .replace('index.css', 'index-base.css'); + var sourceCSS = fs.readFileSync(sourcePath, 'utf-8'); + const outputPath = path.join( ...(Array.isArray(conversion.outPackage) ? conversion.outPackage @@ -423,6 +426,233 @@ async function processComponent(componentPath) { const selectorMetadata = selectors.map(processSelectorV2); return buildSelectorsV2(selectorMetadata); }; + if (conversion.systemOverrides !== false) { + const bridgepath = require + .resolve(conversion.inPackage) + .replace('index.css', 'index-theme.css'); + + if (fs.existsSync(bridgepath)) { + let bridgeCss = fs.readFileSync(bridgepath, 'utf8'); + + const systemsPath = path.join( + ...(Array.isArray(conversion.outPackage) + ? conversion.outPackage + : ['packages', conversion.outPackage]), + 'src', + `${conversion.fileName}-overrides.css` + ); + + const { code } = transform({ + code: Buffer.from(bridgeCss), + visitor: { + // @ts-ignore + Rule(rule) { + if ( + !conversion.allowThemeRules && + isThemeOnlyRule(rule) + ) { + return nullRuleFromRule(rule); + } + if ( + rule.type === 'style' && + rule.value.selectors?.length + ) { + if ( + conversion.hoistCustomPropertiesFrom && + rule.value.selectors.length === 1 && + rule.value.selectors[0].length === 1 && + rule.value.selectors[0][0].type === + 'class' && + rule.value.selectors[0][0].name === + conversion.hoistCustomPropertiesFrom && + rule.value.declarations.declarations.every( + (declaration) => + declaration.property === 'custom' + ) + ) { + return { + ...rule, + value: { + ...rule.value, + selectors: [ + [ + { + type: 'pseudo-class', + kind: 'host', + }, + ], + ], + }, + }; + } + const currentSelectors = [ + ...rule.value.selectors, + ]; + const nextSelectors = []; + currentSelectors.forEach((selector) => { + let include = true; + conversion.excludeByWholeSelector?.forEach( + (exclusion) => { + include = + include && + !( + exclusion.length === + selector.length && + exclusion.every( + ( + component, + exclusionIndex + ) => + compareSelectors( + component, + selector[ + exclusionIndex + ] + ) + ) + ); + } + ); + conversion.excludeByComponents?.forEach( + (exclusion) => { + if (exclusion.regex) { + include = + include && + !selector.find( + (component) => { + return ( + component.type === + 'class' && + component.type === + exclusion.type && + component.name.search( + /** @type {RegExp} */ ( + exclusion.regex + ) + ) > -1 + ); + } + ); + } else { + include = + include && + !selector.find( + (component) => + compareSelectors( + exclusion, + component + ) + ); + } + } + ); + conversion.requireComponentPresence?.forEach( + (required) => { + if (required.regex) { + include = + include && + !!selector.find( + (component) => { + return ( + component.type === + 'class' && + component.type === + required.type && + component.name.search( + /** @type {RegExp} */ ( + required.regex + ) + ) > -1 + ); + } + ); + } else { + include = + include && + !!selector.find( + (component) => + compareSelectors( + required, + component + ) + ); + } + } + ); + if (!include) { + conversion.includeByWholeSelector?.forEach( + (inclusion) => { + const sameLength = + inclusion.length === + selector.length; + if (!sameLength) { + return; + } + const selectorSameAsComponent = + inclusion.every( + ( + component, + inclusionIndex + ) => + compareSelectors( + selector[ + inclusionIndex + ], + component + ) + ); + include = + include || + (sameLength && + selectorSameAsComponent); + } + ); + } + if (include) { + nextSelectors.push(selector); + } + }); + if (!nextSelectors.length) { + return nullRuleFromRule(rule); + } + const selectors = + processSelectors(nextSelectors); + return { + ...rule, + value: { + ...rule.value, + selectors, + }, + }; + } + }, + }, + filename: systemsPath, + }); + + // if the code is an empty buffer then don't write the file + if (code.length != 1) { + fs.writeFileSync( + systemsPath, + `/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + + /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ + ${code} + `.replace(/\/\*\![\w|\W]*\*\//, '') + ); + } + } + } const { code } = transform({ code: Buffer.from(sourceCSS), @@ -585,6 +815,7 @@ async function processComponent(componentPath) { } }, }, + filename: outputPath, }); fs.writeFileSync( diff --git a/tasks/spectrum-css-converter.d.ts b/tasks/spectrum-css-converter.d.ts index 3f459cdb9e..b4edf4385b 100644 --- a/tasks/spectrum-css-converter.d.ts +++ b/tasks/spectrum-css-converter.d.ts @@ -93,6 +93,10 @@ type Conversion = { * Exclude Selectors that do not feature the Selector Components included herein */ requireComponentPresence?: SelectorComponentWithRegex[]; + /** + * Create a system-overrides.css file that acts as a bridge between different themes + */ + systemOverrides?: boolean; }; export type SpectrumCSSConverter = { diff --git a/tools/.eslintrc.json b/tools/.eslintrc.json index 5504ec430f..0f8451dd20 100644 --- a/tools/.eslintrc.json +++ b/tools/.eslintrc.json @@ -97,7 +97,7 @@ } }, { - "files": ["Picker.ts", "SplitButton.ts"], + "files": ["Picker.ts"], "rules": { "lit-a11y/click-events-have-key-events": [ "error", diff --git a/tools/base/test/define-element.test.ts b/tools/base/test/define-element.test.ts index d359f341c6..9ea96c808f 100644 --- a/tools/base/test/define-element.test.ts +++ b/tools/base/test/define-element.test.ts @@ -40,7 +40,6 @@ const elements = { 'sp-asset': () => import('@spectrum-web-components/asset/sp-asset.js'), 'sp-avatar': () => import('@spectrum-web-components/avatar/sp-avatar.js'), 'sp-badge': () => import('@spectrum-web-components/badge/sp-badge.js'), - 'sp-banner': () => import('@spectrum-web-components/banner/sp-banner.js'), 'sp-dialog-wrapper': () => import('@spectrum-web-components/dialog/sp-dialog-wrapper.js'), 'sp-dialog': () => import('@spectrum-web-components/dialog/sp-dialog.js'), @@ -104,8 +103,6 @@ const elements = { import( '@spectrum-web-components/progress-circle/sp-progress-circle.js' ), - 'sp-quick-actions': () => - import('@spectrum-web-components/quick-actions/sp-quick-actions.js'), 'sp-radio-group': () => import('@spectrum-web-components/radio/sp-radio-group.js'), 'sp-radio': () => import('@spectrum-web-components/radio/sp-radio.js'), @@ -117,8 +114,6 @@ const elements = { 'sp-slider': () => import('@spectrum-web-components/slider/sp-slider.js'), 'sp-slider-handle': () => import('@spectrum-web-components/slider/sp-slider-handle.js'), - 'sp-split-button': () => - import('@spectrum-web-components/split-button/sp-split-button.js'), 'sp-split-view': () => import('@spectrum-web-components/split-view/sp-split-view.js'), 'sp-status-light': () => @@ -163,8 +158,8 @@ const elements = { const browser: 'webkit' | 'firefox' | 'chromium' = isWebKit() ? 'webkit' : isFirefox() - ? 'firefox' - : 'chromium'; + ? 'firefox' + : 'chromium'; describe('define-element', function () { // registrations are globally-unique, so retries will always fail diff --git a/tools/bundle/elements.ts b/tools/bundle/elements.ts index eb4ba12b0d..4e8e7833d6 100644 --- a/tools/bundle/elements.ts +++ b/tools/bundle/elements.ts @@ -20,7 +20,6 @@ import '@spectrum-web-components/alert-dialog/sp-alert-dialog.js'; import '@spectrum-web-components/asset/sp-asset.js'; import '@spectrum-web-components/avatar/sp-avatar.js'; import '@spectrum-web-components/badge/sp-badge.js'; -import '@spectrum-web-components/banner/sp-banner.js'; import '@spectrum-web-components/breadcrumbs/sp-breadcrumbs.js'; import '@spectrum-web-components/breadcrumbs/sp-breadcrumb-item.js'; import '@spectrum-web-components/button/sp-button.js'; @@ -64,7 +63,6 @@ import '@spectrum-web-components/picker-button/sp-picker-button.js'; import '@spectrum-web-components/popover/sp-popover.js'; import '@spectrum-web-components/progress-bar/sp-progress-bar.js'; import '@spectrum-web-components/progress-circle/sp-progress-circle.js'; -import '@spectrum-web-components/quick-actions/sp-quick-actions.js'; import '@spectrum-web-components/radio/sp-radio.js'; import '@spectrum-web-components/radio/sp-radio-group.js'; import '@spectrum-web-components/search/sp-search.js'; @@ -73,7 +71,6 @@ import '@spectrum-web-components/sidenav/sp-sidenav-heading.js'; import '@spectrum-web-components/sidenav/sp-sidenav-item.js'; import '@spectrum-web-components/slider/sp-slider.js'; import '@spectrum-web-components/slider/sp-slider-handle.js'; -import '@spectrum-web-components/split-button/sp-split-button.js'; import '@spectrum-web-components/split-view/sp-split-view.js'; import '@spectrum-web-components/status-light/sp-status-light.js'; import '@spectrum-web-components/swatch/sp-swatch.js'; diff --git a/tools/bundle/package.json b/tools/bundle/package.json index bf54a7fadf..1168f78c5c 100644 --- a/tools/bundle/package.json +++ b/tools/bundle/package.json @@ -69,7 +69,6 @@ "@spectrum-web-components/asset": "^0.49.0", "@spectrum-web-components/avatar": "^0.49.0", "@spectrum-web-components/badge": "^0.49.0", - "@spectrum-web-components/banner": "^0.49.0", "@spectrum-web-components/base": "^0.49.0", "@spectrum-web-components/breadcrumbs": "^0.49.0", "@spectrum-web-components/button": "^0.49.0", @@ -112,14 +111,12 @@ "@spectrum-web-components/popover": "^0.49.0", "@spectrum-web-components/progress-bar": "^0.49.0", "@spectrum-web-components/progress-circle": "^0.49.0", - "@spectrum-web-components/quick-actions": "^0.49.0", "@spectrum-web-components/radio": "^0.49.0", "@spectrum-web-components/reactive-controllers": "^0.49.0", "@spectrum-web-components/search": "^0.49.0", "@spectrum-web-components/shared": "^0.49.0", "@spectrum-web-components/sidenav": "^0.49.0", "@spectrum-web-components/slider": "^0.49.0", - "@spectrum-web-components/split-button": "^0.49.0", "@spectrum-web-components/split-view": "^0.49.0", "@spectrum-web-components/status-light": "^0.49.0", "@spectrum-web-components/styles": "^0.49.0", diff --git a/tools/bundle/src/index.ts b/tools/bundle/src/index.ts index d259c5c54e..97fa232f81 100644 --- a/tools/bundle/src/index.ts +++ b/tools/bundle/src/index.ts @@ -18,7 +18,6 @@ export * from '@spectrum-web-components/alert-banner'; export * from '@spectrum-web-components/avatar'; export * from '@spectrum-web-components/asset'; export * from '@spectrum-web-components/badge'; -export * from '@spectrum-web-components/banner'; export * from '@spectrum-web-components/breadcrumbs'; export * from '@spectrum-web-components/button'; export * from '@spectrum-web-components/button-group'; @@ -51,12 +50,10 @@ export * from '@spectrum-web-components/picker-button'; export * from '@spectrum-web-components/popover'; export * from '@spectrum-web-components/progress-bar'; export * from '@spectrum-web-components/progress-circle'; -export * from '@spectrum-web-components/quick-actions'; export * from '@spectrum-web-components/radio'; export * from '@spectrum-web-components/search'; export * from '@spectrum-web-components/sidenav'; export * from '@spectrum-web-components/slider'; -export * from '@spectrum-web-components/split-button'; export * from '@spectrum-web-components/split-view'; export * from '@spectrum-web-components/status-light'; export * from '@spectrum-web-components/swatch'; diff --git a/tools/bundle/tsconfig.json b/tools/bundle/tsconfig.json index d2bb8c9aee..ef447a2453 100644 --- a/tools/bundle/tsconfig.json +++ b/tools/bundle/tsconfig.json @@ -7,72 +7,197 @@ "include": ["*.ts", "src/*.ts"], "exclude": ["test/*.ts", "stories/*.ts"], "references": [ - { "path": "../../packages/accordion" }, - { "path": "../../packages/action-bar" }, - { "path": "../../packages/action-button" }, - { "path": "../../packages/action-group" }, - { "path": "../../packages/action-menu" }, - { "path": "../../packages/alert-banner" }, - { "path": "../../packages/asset" }, - { "path": "../../packages/avatar" }, - { "path": "../../packages/badge" }, - { "path": "../../packages/banner" }, - { "path": "../../packages/breadcrumbs" }, - { "path": "../../packages/button" }, - { "path": "../../packages/button-group" }, - { "path": "../../packages/card" }, - { "path": "../../packages/checkbox" }, - { "path": "../../packages/coachmark" }, - { "path": "../../packages/color-area" }, - { "path": "../../packages/color-handle" }, - { "path": "../../packages/color-loupe" }, - { "path": "../../packages/color-slider" }, - { "path": "../../packages/color-wheel" }, - { "path": "../../packages/color-field" }, - { "path": "../../packages/combobox" }, - { "path": "../../packages/dialog" }, - { "path": "../../packages/divider" }, - { "path": "../../packages/dropzone" }, - { "path": "../../packages/field-group" }, - { "path": "../../packages/field-label" }, - { "path": "../../packages/help-text" }, - { "path": "../../packages/icon" }, - { "path": "../../packages/icons" }, - { "path": "../../packages/icons-ui" }, - { "path": "../../packages/icons-workflow" }, - { "path": "../../packages/iconset" }, - { "path": "../../packages/illustrated-message" }, - { "path": "../../packages/link" }, - { "path": "../../packages/menu" }, - { "path": "../../packages/meter" }, - { "path": "../../packages/number-field" }, - { "path": "../../packages/picker" }, - { "path": "../../packages/picker-button" }, - { "path": "../../packages/popover" }, - { "path": "../../packages/progress-bar" }, - { "path": "../../packages/progress-circle" }, - { "path": "../../packages/overlay" }, - { "path": "../../packages/quick-actions" }, - { "path": "../../packages/radio" }, - { "path": "../../packages/search" }, - { "path": "../../packages/sidenav" }, - { "path": "../../packages/slider" }, - { "path": "../../packages/split-button" }, - { "path": "../../packages/split-view" }, - { "path": "../../packages/status-light" }, - { "path": "../../packages/swatch" }, - { "path": "../../packages/switch" }, - { "path": "../../packages/table" }, - { "path": "../../packages/tabs" }, - { "path": "../../packages/tags" }, - { "path": "../../packages/textfield" }, - { "path": "../theme" }, - { "path": "../truncated" }, - { "path": "../../packages/thumbnail" }, - { "path": "../../packages/toast" }, - { "path": "../../packages/tooltip" }, - { "path": "../../packages/top-nav" }, - { "path": "../../packages/tray" }, - { "path": "../../packages/underlay" } + { + "path": "../../packages/accordion" + }, + { + "path": "../../packages/action-bar" + }, + { + "path": "../../packages/action-button" + }, + { + "path": "../../packages/action-group" + }, + { + "path": "../../packages/action-menu" + }, + { + "path": "../../packages/alert-banner" + }, + { + "path": "../../packages/asset" + }, + { + "path": "../../packages/avatar" + }, + { + "path": "../../packages/badge" + }, + { + "path": "../../packages/breadcrumbs" + }, + { + "path": "../../packages/button" + }, + { + "path": "../../packages/button-group" + }, + { + "path": "../../packages/card" + }, + { + "path": "../../packages/checkbox" + }, + { + "path": "../../packages/coachmark" + }, + { + "path": "../../packages/color-area" + }, + { + "path": "../../packages/color-handle" + }, + { + "path": "../../packages/color-loupe" + }, + { + "path": "../../packages/color-slider" + }, + { + "path": "../../packages/color-wheel" + }, + { + "path": "../../packages/color-field" + }, + { + "path": "../../packages/combobox" + }, + { + "path": "../../packages/dialog" + }, + { + "path": "../../packages/divider" + }, + { + "path": "../../packages/dropzone" + }, + { + "path": "../../packages/field-group" + }, + { + "path": "../../packages/field-label" + }, + { + "path": "../../packages/help-text" + }, + { + "path": "../../packages/icon" + }, + { + "path": "../../packages/icons" + }, + { + "path": "../../packages/icons-ui" + }, + { + "path": "../../packages/icons-workflow" + }, + { + "path": "../../packages/iconset" + }, + { + "path": "../../packages/illustrated-message" + }, + { + "path": "../../packages/link" + }, + { + "path": "../../packages/menu" + }, + { + "path": "../../packages/meter" + }, + { + "path": "../../packages/number-field" + }, + { + "path": "../../packages/picker" + }, + { + "path": "../../packages/picker-button" + }, + { + "path": "../../packages/popover" + }, + { + "path": "../../packages/progress-bar" + }, + { + "path": "../../packages/progress-circle" + }, + { + "path": "../../packages/overlay" + }, + { + "path": "../../packages/radio" + }, + { + "path": "../../packages/search" + }, + { + "path": "../../packages/sidenav" + }, + { + "path": "../../packages/slider" + }, + { + "path": "../../packages/split-view" + }, + { + "path": "../../packages/status-light" + }, + { + "path": "../../packages/swatch" + }, + { + "path": "../../packages/switch" + }, + { + "path": "../../packages/table" + }, + { + "path": "../../packages/tabs" + }, + { + "path": "../../packages/tags" + }, + { + "path": "../../packages/textfield" + }, + { + "path": "../theme" + }, + { + "path": "../truncated" + }, + { + "path": "../../packages/thumbnail" + }, + { + "path": "../../packages/toast" + }, + { + "path": "../../packages/tooltip" + }, + { + "path": "../../packages/top-nav" + }, + { + "path": "../../packages/tray" + }, + { + "path": "../../packages/underlay" + } ] } diff --git a/tools/opacity-checkerboard/package.json b/tools/opacity-checkerboard/package.json index c5d36b15ae..e891552ae9 100644 --- a/tools/opacity-checkerboard/package.json +++ b/tools/opacity-checkerboard/package.json @@ -22,7 +22,9 @@ "exports": { ".": "./src/opacity-checkerboard.css.js", "./package.json": "./package.json", + "./src/is-opacity-checkerboard-overrides.css.js": "./src/is-opacity-checkerboard-overrides.css.js", "./src/is-opacity-checkerboard.css.js": "./src/is-opacity-checkerboard.css.js", + "./src/opacity-checkerboard-overrides.css.js": "./src/opacity-checkerboard-overrides.css.js", "./src/opacity-checkerboard.css.js": "./src/opacity-checkerboard.css.js" }, "scripts": { @@ -46,7 +48,7 @@ "@spectrum-web-components/base": "^0.49.0" }, "devDependencies": { - "@spectrum-css/opacitycheckerboard": "^2.1.0" + "@spectrum-css/opacitycheckerboard": "^3.0.0-s2-foundations.13" }, "types": "./src/opacity-checkerboard.d.ts", "sideEffects": [ diff --git a/tools/opacity-checkerboard/src/is-opacity-checkerboard-overrides.css b/tools/opacity-checkerboard/src/is-opacity-checkerboard-overrides.css new file mode 100644 index 0000000000..1d8e8c61f3 --- /dev/null +++ b/tools/opacity-checkerboard/src/is-opacity-checkerboard-overrides.css @@ -0,0 +1,27 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +:host { + --spectrum-opacity-checkerboard-dark: var( + --system-opacity-checkerboard-dark + ); + --spectrum-opacity-checkerboard-light: var( + --system-opacity-checkerboard-light + ); + --spectrum-opacity-checkerboard-size: var( + --system-opacity-checkerboard-size + ); + --spectrum-opacity-checkerboard-position: var( + --system-opacity-checkerboard-position + ); +} diff --git a/tools/opacity-checkerboard/src/is-opacity-checkerboard.css b/tools/opacity-checkerboard/src/is-opacity-checkerboard.css index 278f215eec..067419fb8a 100644 --- a/tools/opacity-checkerboard/src/is-opacity-checkerboard.css +++ b/tools/opacity-checkerboard/src/is-opacity-checkerboard.css @@ -11,3 +11,4 @@ governing permissions and limitations under the License. */ @import url('./spectrum-is-opacity-checkerboard.css'); +@import url('./is-opacity-checkerboard-overrides.css'); diff --git a/tools/opacity-checkerboard/src/opacity-checkerboard-overrides.css b/tools/opacity-checkerboard/src/opacity-checkerboard-overrides.css new file mode 100644 index 0000000000..2c75c4afd3 --- /dev/null +++ b/tools/opacity-checkerboard/src/opacity-checkerboard-overrides.css @@ -0,0 +1,27 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +.opacity-checkerboard { + --spectrum-opacity-checkerboard-dark: var( + --system-opacity-checkerboard-dark + ); + --spectrum-opacity-checkerboard-light: var( + --system-opacity-checkerboard-light + ); + --spectrum-opacity-checkerboard-size: var( + --system-opacity-checkerboard-size + ); + --spectrum-opacity-checkerboard-position: var( + --system-opacity-checkerboard-position + ); +} diff --git a/tools/opacity-checkerboard/src/opacity-checkerboard.css b/tools/opacity-checkerboard/src/opacity-checkerboard.css index 6d7d151300..e174aa1d0c 100644 --- a/tools/opacity-checkerboard/src/opacity-checkerboard.css +++ b/tools/opacity-checkerboard/src/opacity-checkerboard.css @@ -11,3 +11,4 @@ governing permissions and limitations under the License. */ @import url('./spectrum-opacity-checkerboard.css'); +@import url('./opacity-checkerboard-overrides.css'); diff --git a/tools/opacity-checkerboard/src/spectrum-is-opacity-checkerboard.css b/tools/opacity-checkerboard/src/spectrum-is-opacity-checkerboard.css index 8387798100..844adb9d69 100644 --- a/tools/opacity-checkerboard/src/spectrum-is-opacity-checkerboard.css +++ b/tools/opacity-checkerboard/src/spectrum-is-opacity-checkerboard.css @@ -12,16 +12,6 @@ governing permissions and limitations under the License. /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ :host { - --spectrum-opacity-checkerboard-dark: var( - --spectrum-opacity-checkerboard-square-dark - ); - --spectrum-opacity-checkerboard-light: var( - --spectrum-opacity-checkerboard-square-light - ); - --spectrum-opacity-checkerboard-size: var( - --spectrum-opacity-checkerboard-square-size - ); - --spectrum-opacity-checkerboard-position: left top; background: repeating-conic-gradient( var( --mod-opacity-checkerboard-light, diff --git a/tools/opacity-checkerboard/src/spectrum-opacity-checkerboard.css b/tools/opacity-checkerboard/src/spectrum-opacity-checkerboard.css index 6e53e30d36..0f55fda1b4 100644 --- a/tools/opacity-checkerboard/src/spectrum-opacity-checkerboard.css +++ b/tools/opacity-checkerboard/src/spectrum-opacity-checkerboard.css @@ -12,16 +12,6 @@ governing permissions and limitations under the License. /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ .opacity-checkerboard { - --spectrum-opacity-checkerboard-dark: var( - --spectrum-opacity-checkerboard-square-dark - ); - --spectrum-opacity-checkerboard-light: var( - --spectrum-opacity-checkerboard-square-light - ); - --spectrum-opacity-checkerboard-size: var( - --spectrum-opacity-checkerboard-square-size - ); - --spectrum-opacity-checkerboard-position: left top; background: repeating-conic-gradient( var( --mod-opacity-checkerboard-light, diff --git a/tools/styles/body.ts b/tools/styles/body.ts index 9cde836775..40ec99839b 100644 --- a/tools/styles/body.ts +++ b/tools/styles/body.ts @@ -11,7 +11,23 @@ governing permissions and limitations under the License. */ import baseStyles from './src/spectrum-base.css.js'; -import langStyles from './src/spectrum-lang.css.js'; -import bodyStyles from './src/spectrum-body.css.js'; +import langBaseStyles from './src/spectrum-lang.css.js'; +import langOverrides from './src/lang-overrides.css.js'; +import bodyBaseStyles from './src/spectrum-body.css.js'; +import bodyOverrides from './src/body-overrides.css.js'; + +import { css } from 'lit'; + +// bodyStyles is a combination of bodyBaseStyles and bodyOverrides +const bodyStyles = css` + ${bodyBaseStyles} + ${bodyOverrides} +`; + +// langStyles is a combination of langBaseStyles and langOverrides +const langStyles = css` + ${langBaseStyles} + ${langOverrides} +`; export default [baseStyles, langStyles, bodyStyles]; diff --git a/tools/styles/code.ts b/tools/styles/code.ts index 31e88b8f65..0fc65df900 100644 --- a/tools/styles/code.ts +++ b/tools/styles/code.ts @@ -11,7 +11,21 @@ governing permissions and limitations under the License. */ import baseStyles from './src/spectrum-base.css.js'; -import langStyles from './src/spectrum-lang.css.js'; -import codeStyles from './src/spectrum-code.css.js'; +import langBaseStyles from './src/spectrum-lang.css.js'; +import langOverrides from './src/lang-overrides.css.js'; +import codeBaseStyles from './src/spectrum-code.css.js'; +import codeOverrides from './src/code-overrides.css.js'; + +import { css } from 'lit'; + +const langStyles = css` + ${langBaseStyles} + ${langOverrides} +`; + +const codeStyles = css` + ${codeBaseStyles} + ${codeOverrides} +`; export default [baseStyles, langStyles, codeStyles]; diff --git a/tools/styles/detail.ts b/tools/styles/detail.ts index 00951c5eab..4f6922faec 100644 --- a/tools/styles/detail.ts +++ b/tools/styles/detail.ts @@ -11,7 +11,21 @@ governing permissions and limitations under the License. */ import baseStyles from './src/spectrum-base.css.js'; -import langStyles from './src/spectrum-lang.css.js'; -import detailStyles from './src/spectrum-detail.css.js'; +import langBaseStyles from './src/spectrum-lang.css.js'; +import langOverrides from './src/lang-overrides.css.js'; +import detailBaseStyles from './src/spectrum-detail.css.js'; +import detailOverrides from './src/detail-overrides.css.js'; + +import { css } from 'lit'; + +const langStyles = css` + ${langBaseStyles} + ${langOverrides} +`; + +const detailStyles = css` + ${detailBaseStyles} + ${detailOverrides} +`; export default [baseStyles, langStyles, detailStyles]; diff --git a/tools/styles/exports.json b/tools/styles/exports.json index 14e36becea..0de880ce69 100755 --- a/tools/styles/exports.json +++ b/tools/styles/exports.json @@ -33,10 +33,15 @@ "./tokens-v2/*": "./tokens-v2/*", "./src/spectrum-base.css": "./src/spectrum-base.css", "./src/spectrum-body.css": "./src/spectrum-body.css", + "./src/body-overrides.css": "./src/body-overrides.css", "./src/spectrum-code.css": "./src/spectrum-code.css", + "./src/code-overrides.css": "./src/code-overrides.css", "./src/spectrum-detail.css": "./src/spectrum-code.css", + "./src/detail-overrides.css": "./src/detail-overrides.css", "./src/spectrum-heading.css": "./src/spectrum-heading.css", + "./src/heading-overrides.css": "./src/heading-overrides.css", "./src/spectrum-lang.css": "./src/spectrum-lang.css", + "./src/lang-overrides.css": "./src/lang-overrides.css", "./src/spectrum-typography.css": "./src/spectrum-typography.css", "./tokens/express/custom-large-vars.css": "./tokens/express/custom-large-vars.css", "./tokens/express/custom-medium-vars.css": "./tokens/express/custom-medium-vars.css", diff --git a/tools/styles/express/spectrum-core-global.css b/tools/styles/express/spectrum-core-global.css index 25717a30e7..4156844d04 100644 --- a/tools/styles/express/spectrum-core-global.css +++ b/tools/styles/express/spectrum-core-global.css @@ -982,6 +982,9 @@ --spectrum-alias-font-family-condensed: var( --spectrum-global-font-font-family-condensed ); + --spectrum-alias-button-text-line-height: var( + --spectrum-global-font-line-height-small + ); --spectrum-alias-component-text-line-height: var( --spectrum-global-font-line-height-small ); @@ -1549,6 +1552,119 @@ --spectrum-alias-control-three-width-s: var( --spectrum-global-dimension-size-300 ); + --spectrum-alias-infieldbutton-icon-margin-y-s: var( + --spectrum-global-dimension-size-10 + ); + --spectrum-alias-infieldbutton-icon-margin-y-m: var( + --spectrum-global-dimension-size-40 + ); + --spectrum-alias-infieldbutton-icon-margin-y-l: var( + --spectrum-global-dimension-size-75 + ); + --spectrum-alias-infieldbutton-icon-margin-y-xl: var( + --spectrum-global-dimension-size-115 + ); + --spectrum-alias-infieldbutton-padding-s: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-infieldbutton-padding-m: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-infieldbutton-padding-l: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-infieldbutton-padding-xl: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-infieldbutton-border-radius: var( + --spectrum-global-dimension-size-40 + ); + --spectrum-alias-infieldbutton-border-radius-sided: var( + --spectrum-global-dimension-size-40 + ); + --spectrum-alias-infieldbutton-border-size: var( + --spectrum-global-dimension-static-size-0 + ); + --spectrum-alias-infieldbutton-fill-padding-s: var( + --spectrum-global-dimension-size-10 + ); + --spectrum-alias-infieldbutton-fill-padding-m: var( + --spectrum-global-dimension-size-40 + ); + --spectrum-alias-infieldbutton-fill-padding-l: var( + --spectrum-global-dimension-size-75 + ); + --spectrum-alias-infieldbutton-fill-padding-xl: var( + --spectrum-global-dimension-size-115 + ); + --spectrum-alias-infieldbutton-full-height-s: var( + --spectrum-global-dimension-size-200 + ); + --spectrum-alias-infieldbutton-full-height-m: var( + --spectrum-global-dimension-size-300 + ); + --spectrum-alias-infieldbutton-full-height-l: var( + --spectrum-global-dimension-size-400 + ); + --spectrum-alias-infieldbutton-full-height-xl: var( + --spectrum-global-dimension-size-500 + ); + --spectrum-alias-infieldbutton-half-height-s: var( + --spectrum-global-dimension-size-115 + ); + --spectrum-alias-infieldbutton-half-height-m: var( + --spectrum-global-dimension-size-130 + ); + --spectrum-alias-infieldbutton-half-height-l: var( + --spectrum-global-dimension-size-150 + ); + --spectrum-alias-infieldbutton-half-height-xl: var( + --spectrum-global-dimension-size-185 + ); + --spectrum-alias-stepperbutton-gap: var( + --spectrum-global-dimension-size-25 + ); + --spectrum-alias-stepperbutton-width-s: var( + --spectrum-global-dimension-size-225 + ); + --spectrum-alias-stepperbutton-width-m: var( + --spectrum-global-dimension-size-250 + ); + --spectrum-alias-stepperbutton-width-l: var( + --spectrum-global-dimension-size-275 + ); + --spectrum-alias-stepperbutton-width-xl: var( + --spectrum-global-dimension-size-325 + ); + --spectrum-alias-stepperbutton-icon-x-offset-s: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-stepperbutton-icon-x-offset-m: var( + --spectrum-global-dimension-size-65 + ); + --spectrum-alias-stepperbutton-icon-x-offset-l: var( + --spectrum-global-dimension-size-65 + ); + --spectrum-alias-stepperbutton-icon-x-offset-xl: var( + --spectrum-global-dimension-size-75 + ); + --spectrum-alias-stepperbutton-icon-y-offset-top-s: 0; + --spectrum-alias-stepperbutton-icon-y-offset-top-m: var( + --spectrum-global-dimension-size-10 + ); + --spectrum-alias-stepperbutton-icon-y-offset-top-l: var( + --spectrum-global-dimension-size-10 + ); + --spectrum-alias-stepperbutton-icon-y-offset-top-xl: var( + --spectrum-global-dimension-size-10 + ); + --spectrum-alias-stepperbutton-icon-y-offset-bottom-s: 0; + --spectrum-alias-stepperbutton-icon-y-offset-bottom-m: 0; + --spectrum-alias-stepperbutton-icon-y-offset-bottom-l: 0; + --spectrum-alias-stepperbutton-icon-y-offset-bottom-xl: 0; + --spectrum-alias-stepperbutton-radius-touching: var( + --spectrum-global-dimension-size-25 + ); --spectrum-alias-clearbutton-icon-margin-s: var( --spectrum-global-dimension-size-50 ); @@ -1564,6 +1680,55 @@ --spectrum-alias-clearbutton-border-radius: var( --spectrum-global-dimension-size-150 ); + --spectrum-alias-pickerbutton-icononly-padding-x-s: var( + --spectrum-global-dimension-size-40 + ); + --spectrum-alias-pickerbutton-icononly-padding-x-m: var( + --spectrum-global-dimension-size-75 + ); + --spectrum-alias-pickerbutton-icononly-padding-x-l: var( + --spectrum-global-dimension-size-115 + ); + --spectrum-alias-pickerbutton-icononly-padding-x-xl: var( + --spectrum-global-dimension-size-150 + ); + --spectrum-alias-pickerbutton-icon-margin-y-s: var( + --spectrum-global-dimension-size-40 + ); + --spectrum-alias-pickerbutton-icon-margin-y-m: var( + --spectrum-global-dimension-size-75 + ); + --spectrum-alias-pickerbutton-icon-margin-y-l: var( + --spectrum-global-dimension-size-115 + ); + --spectrum-alias-pickerbutton-icon-margin-y-xl: var( + --spectrum-global-dimension-size-150 + ); + --spectrum-alias-pickerbutton-label-padding-y-s: 0; + --spectrum-alias-pickerbutton-label-padding-y-m: var( + --spectrum-global-dimension-size-40 + ); + --spectrum-alias-pickerbutton-label-padding-y-l: var( + --spectrum-global-dimension-size-65 + ); + --spectrum-alias-pickerbutton-label-padding-y-xl: var( + --spectrum-global-dimension-size-100 + ); + --spectrum-alias-pickerbutton-border-radius-rounded: var( + --spectrum-global-dimension-size-150 + ); + --spectrum-alias-pickerbutton-border-radius-rounded-sided: var( + --spectrum-global-dimension-size-150 + ); + --spectrum-alias-search-border-radius: var( + --spectrum-global-dimension-size-300 + ); + --spectrum-alias-combobox-quiet-button-offset-x: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-thumbnail-border-radius-small: var( + --spectrum-global-dimension-size-75 + ); --spectrum-alias-focus-ring-gap-small: var( --spectrum-global-dimension-static-size-25 ); @@ -1573,6 +1738,114 @@ --spectrum-alias-input-border-size: var( --spectrum-global-dimension-static-size-25 ); + --spectrum-alias-avatar-border-size: var( + --spectrum-global-dimension-static-size-25 + ); + --spectrum-alias-actiongroup-button-gap: var( + --spectrum-global-dimension-size-100 + ); + --spectrum-alias-actiongroup-button-gap-compact: var( + --spectrum-global-dimension-size-25 + ); + --spectrum-alias-actiongroup-button-gap-quiet: var( + --spectrum-global-dimension-size-100 + ); + --spectrum-alias-actiongroup-button-gap-quiet-compact: var( + --spectrum-global-dimension-size-25 + ); + --spectrum-alias-search-padding-left-s: var( + --spectrum-global-dimension-size-125 + ); + --spectrum-alias-search-padding-left-m: var( + --spectrum-global-dimension-size-175 + ); + --spectrum-alias-search-padding-left-l: var( + --spectrum-global-dimension-size-200 + ); + --spectrum-alias-search-padding-left-xl: var( + --spectrum-global-dimension-size-225 + ); + --spectrum-alias-tag-border-radius: var( + --spectrum-global-dimension-size-300 + ); + --spectrum-alias-tag-border-size-default: var( + --spectrum-global-dimension-static-size-25 + ); + --spectrum-alias-tag-border-size-disabled: var( + --spectrum-global-dimension-static-size-25 + ); + --spectrum-alias-tag-border-size-key-focus: var( + --spectrum-global-dimension-static-size-25 + ); + --spectrum-alias-tag-padding-right-s: var( + --spectrum-global-dimension-size-125 + ); + --spectrum-alias-tag-padding-right-m: var( + --spectrum-global-dimension-size-130 + ); + --spectrum-alias-tag-padding-right-l: var( + --spectrum-global-dimension-size-175 + ); + --spectrum-alias-tag-height-s: var(--spectrum-global-dimension-size-250); + --spectrum-alias-tag-height-m: var(--spectrum-global-dimension-size-300); + --spectrum-alias-tag-height-l: var(--spectrum-global-dimension-size-400); + --spectrum-alias-tag-font-size-s: var( + --spectrum-global-dimension-font-size-50 + ); + --spectrum-alias-tag-font-size-m: var( + --spectrum-global-dimension-font-size-75 + ); + --spectrum-alias-tag-font-size-l: var( + --spectrum-global-dimension-font-size-100 + ); + --spectrum-alias-tag-text-padding-top-m: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-tag-text-padding-top-l: var( + --spectrum-global-dimension-size-85 + ); + --spectrum-alias-tag-icon-size-s: var(--spectrum-global-dimension-size-175); + --spectrum-alias-tag-icon-size-m: var(--spectrum-global-dimension-size-200); + --spectrum-alias-tag-icon-margin-top-s: var( + --spectrum-global-dimension-size-40 + ); + --spectrum-alias-tag-icon-margin-top-m: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-tag-icon-margin-top-l: var( + --spectrum-global-dimension-size-85 + ); + --spectrum-alias-tag-clearbutton-width-s: var( + --spectrum-global-dimension-size-175 + ); + --spectrum-alias-tag-clearbutton-width-m: var( + --spectrum-global-dimension-size-225 + ); + --spectrum-alias-tag-clearbutton-width-l: var( + --spectrum-global-dimension-size-350 + ); + --spectrum-alias-tag-clearbutton-icon-margin-s: var( + --spectrum-global-dimension-size-30 + ); + --spectrum-alias-tag-clearbutton-icon-margin-m: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-tag-clearbutton-icon-margin-l: var( + --spectrum-global-dimension-size-100 + ); + --spectrum-alias-tag-focusring-border-radius: var( + --spectrum-global-dimension-size-300 + ); + --spectrum-alias-tag-focusring-gap: var( + --spectrum-global-dimension-size-25 + ); + --spectrum-alias-colorloupe-width: var( + --spectrum-global-dimension-static-size-450 + ); + --spectrum-alias-colorloupe-height: var( + --spectrum-global-dimension-static-size-550 + ); + --spectrum-alias-search-border-radius-quiet: 0; --spectrum-alias-percent-50: 50%; --spectrum-alias-percent-70: 70%; --spectrum-alias-percent-100: 100%; @@ -1729,10 +2002,35 @@ --spectrum-alias-ui-icon-asterisk-size-100: var( --spectrum-global-dimension-size-100 ); + --spectrum-alias-avatar-size-50: var(--spectrum-global-dimension-size-200); + --spectrum-alias-avatar-size-75: var(--spectrum-global-dimension-size-225); + --spectrum-alias-avatar-size-200: var(--spectrum-global-dimension-size-275); + --spectrum-alias-avatar-size-300: var(--spectrum-global-dimension-size-325); + --spectrum-alias-avatar-size-500: var(--spectrum-global-dimension-size-400); + --spectrum-alias-avatar-size-700: var(--spectrum-global-dimension-size-500); + --spectrum-alias-tag-border-size: var( + --spectrum-global-dimension-static-size-25 + ); + --spectrum-alias-tag-icon-margin-right-s: var( + --spectrum-global-dimension-size-85 + ); + --spectrum-alias-tag-icon-margin-right-m: var( + --spectrum-global-dimension-size-100 + ); + --spectrum-alias-tag-icon-margin-right-l: var( + --spectrum-global-dimension-size-115 + ); + --spectrum-alias-tag-focusring-size: var( + --spectrum-global-dimension-size-25 + ); + --spectrum-alias-tag-focusring-gap-selected: var( + --spectrum-global-dimension-size-25 + ); } :root, :host { + --spectrum-alias-colorhandle-outer-border-color: #0000006b; --spectrum-alias-component-text-color-selected-default: var( --spectrum-global-color-gray-50 ); @@ -1862,6 +2160,120 @@ --spectrum-alias-toggle-border-color-key-focus: var( --spectrum-global-color-gray-900 ); + --spectrum-alias-tag-border-color-default: var( + --spectrum-global-color-gray-300 + ); + --spectrum-alias-tag-border-color-hover: var( + --spectrum-global-color-gray-400 + ); + --spectrum-alias-tag-border-color-down: var( + --spectrum-global-color-gray-500 + ); + --spectrum-alias-tag-border-color-key-focus: var( + --spectrum-global-color-gray-400 + ); + --spectrum-alias-tag-border-color-disabled-default: var( + --spectrum-global-color-gray-200 + ); + --spectrum-alias-tag-border-color-error-key-focus: var( + --spectrum-semantic-negative-color-default + ); + --spectrum-alias-tag-focusring-border-color-key-focus: var( + --spectrum-alias-focus-ring-color + ); + --spectrum-alias-tag-background-color-disabled: var( + --spectrum-global-color-gray-100 + ); + --spectrum-alias-tag-background-color-default: var( + --spectrum-global-color-gray-100 + ); + --spectrum-alias-tag-background-color-hover: var( + --spectrum-global-color-gray-300 + ); + --spectrum-alias-tag-background-color-down: var( + --spectrum-global-color-gray-400 + ); + --spectrum-alias-tag-background-color-key-focus: var( + --spectrum-global-color-gray-300 + ); + --spectrum-alias-tag-background-color-error-default: var( + --spectrum-alias-tag-background-color-default + ); + --spectrum-alias-tag-background-color-error-hover: var( + --spectrum-alias-tag-background-color-hover + ); + --spectrum-alias-tag-background-color-error-down: var( + --spectrum-alias-tag-background-color-down + ); + --spectrum-alias-tag-background-color-error-key-focus: var( + --spectrum-alias-tag-background-color-key-focus + ); + --spectrum-alias-avatar-border-color-disabled: var( + --spectrum-alias-background-color-transparent + ); + --spectrum-alias-avatar-border-color-selected-default: var( + --spectrum-global-color-gray-900 + ); + --spectrum-alias-avatar-border-color-selected-hover: var( + --spectrum-alias-component-background-color-selected-hover + ); + --spectrum-alias-avatar-border-color-selected-down: var( + --spectrum-alias-component-background-color-selected-hover + ); + --spectrum-alias-avatar-border-color-selected-key-focus: var( + --spectrum-global-color-gray-900 + ); + --spectrum-alias-link-primary-text-color-default: var( + --spectrum-global-color-indigo-600 + ); + --spectrum-alias-link-primary-text-color-hover: var( + --spectrum-global-color-indigo-600 + ); + --spectrum-alias-link-primary-text-color-down: var( + --spectrum-global-color-indigo-700 + ); + --spectrum-alias-link-primary-text-color-key-focus: var( + --spectrum-alias-text-color-key-focus + ); + --spectrum-alias-link-secondary-text-color-default: var( + --spectrum-alias-text-color + ); + --spectrum-alias-link-secondary-text-color-hover: var( + --spectrum-alias-link-primary-text-color-hover + ); + --spectrum-alias-link-secondary-text-color-down: var( + --spectrum-alias-link-primary-text-color-down + ); + --spectrum-alias-link-secondary-text-color-key-focus: var( + --spectrum-alias-link-primary-text-color-key-focus + ); + --spectrum-alias-button-primary-background-color-default: var( + --spectrum-alias-button-primary-border-color-default + ); + --spectrum-alias-button-primary-text-color-default: var( + --spectrum-alias-button-primary-text-color-hover + ); + --spectrum-alias-button-primary-icon-color-default: var( + --spectrum-alias-button-primary-text-color-default + ); + --spectrum-alias-button-secondary-background-color-default: var( + --spectrum-alias-button-secondary-border-color-default + ); + --spectrum-alias-button-secondary-text-color-default: var( + --spectrum-alias-button-secondary-text-color-hover + ); + --spectrum-alias-button-secondary-icon-color-default: var( + --spectrum-alias-button-secondary-text-color-default + ); + --spectrum-alias-button-negative-background-color-default: var( + --spectrum-alias-button-negative-border-color-default + ); + --spectrum-alias-button-negative-text-color-default: var( + --spectrum-alias-button-negative-text-color-hover + ); + --spectrum-alias-button-negative-icon-color-default: var( + --spectrum-alias-button-negative-text-color-default + ); --spectrum-alias-input-border-color-default: var( --spectrum-alias-border-color ); @@ -1892,7 +2304,88 @@ --spectrum-alias-yellow-background-color-down: var( --spectrum-global-color-static-yellow-600 ); + --spectrum-alias-infieldbutton-background-color: transparent; + --spectrum-alias-infieldbutton-fill-border-color-default: transparent; + --spectrum-alias-infieldbutton-fill-border-color-hover: transparent; + --spectrum-alias-infieldbutton-fill-border-color-down: transparent; + --spectrum-alias-infieldbutton-fill-border-color-mouse-focus: transparent; + --spectrum-alias-infieldbutton-fill-border-color-key-focus: transparent; + --spectrum-alias-infieldbutton-fill-loudnessHigh-background-color-default: var( + --spectrum-global-color-gray-200 + ); + --spectrum-alias-infieldbutton-fill-loudnessHigh-background-color-hover: var( + --spectrum-global-color-gray-300 + ); + --spectrum-alias-infieldbutton-fill-loudnessHigh-background-color-down: var( + --spectrum-global-color-gray-400 + ); + --spectrum-alias-infieldbutton-fill-loudnessHigh-background-color-key-focus: var( + --spectrum-global-color-gray-300 + ); + --spectrum-alias-infieldbutton-fill-loudnessHigh-background-color-disabled: var( + --spectrum-alias-component-background-color-disabled + ); + --spectrum-alias-infieldbutton-fill-loudnessMedium-background-color-default: var( + --spectrum-alias-infieldbutton-fill-loudnessHigh-background-color-default + ); + --spectrum-alias-infieldbutton-fill-loudnessMedium-background-color-hover: var( + --spectrum-alias-infieldbutton-fill-loudnessHigh-background-color-hover + ); + --spectrum-alias-infieldbutton-fill-loudnessMedium-background-color-down: var( + --spectrum-alias-infieldbutton-fill-loudnessHigh-background-color-down + ); + --spectrum-alias-infieldbutton-fill-loudnessMedium-background-color-key-focus: var( + --spectrum-alias-infieldbutton-fill-loudnessHigh-background-color-key-focus + ); + --spectrum-alias-infieldbutton-fill-loudnessMedium-background-color-disabled: transparent; + --spectrum-alias-infieldbutton-fill-loudnessLow-background-color-default: transparent; + --spectrum-alias-infieldbutton-fill-loudnessLow-background-color-hover: var( + --spectrum-alias-infieldbutton-fill-loudnessHigh-background-color-hover + ); + --spectrum-alias-infieldbutton-fill-loudnessLow-background-color-down: var( + --spectrum-alias-infieldbutton-fill-loudnessHigh-background-color-down + ); + --spectrum-alias-infieldbutton-fill-loudnessLow-background-color-key-focus: var( + --spectrum-alias-infieldbutton-fill-loudnessHigh-background-color-key-focus + ); + --spectrum-alias-infieldbutton-fill-loudnessLow-background-color-disabled: transparent; + --spectrum-alias-actionbutton-staticBlack-border-color-default: transparent; + --spectrum-alias-actionbutton-staticBlack-background-color-default: #0000001a; + --spectrum-alias-actionbutton-staticBlack-border-color-hover: transparent; + --spectrum-alias-actionbutton-staticBlack-background-color-hover: #00000040; + --spectrum-alias-actionbutton-staticBlack-border-color-down: transparent; + --spectrum-alias-actionbutton-staticBlack-background-color-down: #0006; + --spectrum-alias-actionbutton-staticBlack-border-color-key-focus: transparent; + --spectrum-alias-actionbutton-staticBlack-background-color-key-focus: #00000040; + --spectrum-alias-actionbutton-staticBlack-border-color-disabled: transparent; + --spectrum-alias-actionbutton-staticBlack-background-color-disabled: transparent; + --spectrum-alias-actionbutton-staticBlack-border-color-disabled-selected: transparent; + --spectrum-alias-actionbutton-staticBlack-background-color-disabled-selected: #0000001a; + --spectrum-alias-actionbutton-staticWhite-border-color-default: transparent; + --spectrum-alias-actionbutton-staticWhite-background-color-default: #ffffff1a; + --spectrum-alias-actionbutton-staticWhite-border-color-hover: transparent; + --spectrum-alias-actionbutton-staticWhite-background-color-hover: #ffffff40; + --spectrum-alias-actionbutton-staticWhite-border-color-down: transparent; + --spectrum-alias-actionbutton-staticWhite-background-color-down: #fff6; + --spectrum-alias-actionbutton-staticWhite-border-color-key-focus: transparent; + --spectrum-alias-actionbutton-staticWhite-background-color-key-focus: #ffffff40; + --spectrum-alias-actionbutton-staticWhite-border-color-disabled: transparent; + --spectrum-alias-actionbutton-staticWhite-background-color-disabled: transparent; + --spectrum-alias-actionbutton-staticWhite-border-color-disabled-selected: transparent; + --spectrum-alias-actionbutton-staticWhite-background-color-disabled-selected: #ffffff1a; --spectrum-alias-track-color-default: var(--spectrum-global-color-gray-300); + --spectrum-alias-thumbnail-darksquare-background-color: var( + --spectrum-global-color-gray-200 + ); + --spectrum-alias-thumbnail-lightsquare-background-color: var( + --spectrum-global-color-static-white + ); + --spectrum-alias-tabs-divider-background-color-default: var( + --spectrum-global-color-gray-200 + ); + --spectrum-alias-tabs-divider-background-color-quiet: var( + --spectrum-alias-background-color-transparent + ); --spectrum-alias-tabitem-text-color-default: var( --spectrum-global-color-gray-700 ); @@ -2190,6 +2683,132 @@ --spectrum-alias-component-border-color-emphasized-selected: var( --spectrum-alias-component-border-color-emphasized-selected-default ); + --spectrum-alias-tag-border-color-error-default: var( + --spectrum-semantic-negative-color-default + ); + --spectrum-alias-tag-border-color-error-hover: var( + --spectrum-semantic-negative-color-hover + ); + --spectrum-alias-tag-border-color-error-down: var( + --spectrum-semantic-negative-color-hover + ); + --spectrum-alias-tag-border-color-error-selected: var( + --spectrum-semantic-negative-color-default + ); + --spectrum-alias-tag-border-color-selected: var( + --spectrum-alias-tag-background-color-selected-default + ); + --spectrum-alias-tag-border-color: var( + --spectrum-alias-tag-border-color-default + ); + --spectrum-alias-tag-border-color-disabled: var( + --spectrum-alias-border-color-disabled + ); + --spectrum-alias-tag-border-color-error: var( + --spectrum-alias-tag-border-color-error-default + ); + --spectrum-alias-tag-text-color-default: var( + --spectrum-alias-label-text-color + ); + --spectrum-alias-tag-text-color-hover: var( + --spectrum-alias-text-color-hover + ); + --spectrum-alias-tag-text-color-down: var(--spectrum-alias-text-color-down); + --spectrum-alias-tag-text-color-key-focus: var( + --spectrum-alias-text-color-hover + ); + --spectrum-alias-tag-text-color-disabled: var( + --spectrum-global-color-gray-500 + ); + --spectrum-alias-tag-text-color: var( + --spectrum-alias-tag-text-color-default + ); + --spectrum-alias-tag-text-color-error-default: var( + --spectrum-global-color-red-600 + ); + --spectrum-alias-tag-text-color-error-hover: var( + --spectrum-global-color-red-700 + ); + --spectrum-alias-tag-text-color-error-down: var( + --spectrum-global-color-red-700 + ); + --spectrum-alias-tag-text-color-error-key-focus: var( + --spectrum-global-color-red-700 + ); + --spectrum-alias-tag-text-color-error: var( + --spectrum-alias-tag-text-color-error-default + ); + --spectrum-alias-tag-text-color-selected: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-tag-icon-color-default: var(--spectrum-alias-icon-color); + --spectrum-alias-tag-icon-color-hover: var( + --spectrum-alias-icon-color-hover + ); + --spectrum-alias-tag-icon-color-down: var(--spectrum-alias-icon-color-down); + --spectrum-alias-tag-icon-color-key-focus: var( + --spectrum-alias-icon-color-hover + ); + --spectrum-alias-tag-icon-color-disabled: var( + --spectrum-alias-icon-color-disabled + ); + --spectrum-alias-tag-icon-color: var( + --spectrum-alias-tag-icon-color-default + ); + --spectrum-alias-tag-icon-color-error: var(--spectrum-global-color-red-600); + --spectrum-alias-tag-icon-color-selected: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-tag-background-color: var( + --spectrum-alias-tag-background-color-default + ); + --spectrum-alias-tag-background-color-error: var( + --spectrum-alias-tag-background-color-error-default + ); + --spectrum-alias-tag-background-color-error-selected-default: var( + --spectrum-semantic-negative-color-default + ); + --spectrum-alias-tag-background-color-error-selected-hover: var( + --spectrum-semantic-negative-color-hover + ); + --spectrum-alias-tag-background-color-error-selected-down: var( + --spectrum-semantic-negative-color-hover + ); + --spectrum-alias-tag-background-color-error-selected-key-focus: var( + --spectrum-global-color-red-600 + ); + --spectrum-alias-tag-background-color-error-selected: var( + --spectrum-alias-tag-background-color-error-selected-default + ); + --spectrum-alias-tag-background-color-selected-default: var( + --spectrum-global-color-gray-700 + ); + --spectrum-alias-tag-background-color-selected-hover: var( + --spectrum-global-color-gray-800 + ); + --spectrum-alias-tag-background-color-selected-down: var( + --spectrum-global-color-gray-900 + ); + --spectrum-alias-tag-background-color-selected-key-focus: var( + --spectrum-global-color-gray-900 + ); + --spectrum-alias-tag-background-color-selected: var( + --spectrum-alias-tag-background-color-selected-default + ); + --spectrum-alias-tag-focusring-border-color-default: transparent; + --spectrum-alias-tag-focusring-border-color-disabled: transparent; + --spectrum-alias-tag-focusring-border-color-selected-key-focus: var( + --spectrum-alias-focus-ring-color + ); + --spectrum-alias-tag-focusring-border-color: var( + --spectrum-alias-tag-focusring-border-color-default + ); + --spectrum-alias-avatar-border-color: var( + --spectrum-alias-avatar-border-color-default + ); + --spectrum-alias-avatar-border-color-selected: var( + --spectrum-alias-avatar-border-color-selected-default + ); --spectrum-alias-toggle-background-color: var( --spectrum-alias-toggle-background-color-default ); @@ -2205,6 +2824,159 @@ --spectrum-alias-toggle-icon-color-emphasized-selected: var( --spectrum-global-color-gray-75 ); + --spectrum-alias-button-primary-background-color-hover: var( + --spectrum-global-color-gray-800 + ); + --spectrum-alias-button-primary-background-color-down: var( + --spectrum-global-color-gray-900 + ); + --spectrum-alias-button-primary-background-color-key-focus: var( + --spectrum-global-color-gray-800 + ); + --spectrum-alias-button-primary-background-color: var( + --spectrum-alias-button-primary-background-color-default + ); + --spectrum-alias-button-primary-border-color-default: var( + --spectrum-global-color-gray-800 + ); + --spectrum-alias-button-primary-border-color-hover: var( + --spectrum-alias-button-primary-background-color-hover + ); + --spectrum-alias-button-primary-border-color-down: var( + --spectrum-alias-button-primary-background-color-down + ); + --spectrum-alias-button-primary-border-color-key-focus: var( + --spectrum-alias-button-primary-background-color-key-focus + ); + --spectrum-alias-button-primary-border-color: var( + --spectrum-alias-button-primary-border-color-default + ); + --spectrum-alias-button-primary-text-color-hover: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-button-primary-text-color-down: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-button-primary-text-color-key-focus: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-button-primary-text-color: var( + --spectrum-alias-button-primary-text-color-default + ); + --spectrum-alias-button-primary-icon-color-hover: var( + --spectrum-alias-button-primary-text-color-hover + ); + --spectrum-alias-button-primary-icon-color-down: var( + --spectrum-alias-button-primary-text-color-down + ); + --spectrum-alias-button-primary-icon-color-key-focus: var( + --spectrum-alias-button-primary-text-color-key-focus + ); + --spectrum-alias-button-primary-icon-color: var( + --spectrum-alias-button-primary-icon-color-default + ); + --spectrum-alias-button-secondary-background-color-hover: var( + --spectrum-global-color-gray-700 + ); + --spectrum-alias-button-secondary-background-color-down: var( + --spectrum-global-color-gray-800 + ); + --spectrum-alias-button-secondary-background-color-key-focus: var( + --spectrum-global-color-gray-700 + ); + --spectrum-alias-button-secondary-background-color: var( + --spectrum-alias-button-secondary-background-color-default + ); + --spectrum-alias-button-secondary-border-color-default: var( + --spectrum-global-color-gray-700 + ); + --spectrum-alias-button-secondary-border-color-hover: var( + --spectrum-alias-button-secondary-background-color-hover + ); + --spectrum-alias-button-secondary-border-color-down: var( + --spectrum-alias-button-secondary-background-color-down + ); + --spectrum-alias-button-secondary-border-color-key-focus: var( + --spectrum-alias-button-secondary-background-color-key-focus + ); + --spectrum-alias-button-secondary-border-color: var( + --spectrum-alias-button-secondary-border-color-default + ); + --spectrum-alias-button-secondary-text-color-hover: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-button-secondary-text-color-down: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-button-secondary-text-color-key-focus: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-button-secondary-text-color: var( + --spectrum-alias-button-secondary-text-color-default + ); + --spectrum-alias-button-secondary-icon-color-hover: var( + --spectrum-alias-button-secondary-text-color-hover + ); + --spectrum-alias-button-secondary-icon-color-down: var( + --spectrum-alias-button-secondary-text-color-down + ); + --spectrum-alias-button-secondary-icon-color-key-focus: var( + --spectrum-alias-button-secondary-text-color-key-focus + ); + --spectrum-alias-button-secondary-icon-color: var( + --spectrum-alias-button-secondary-icon-color-default + ); + --spectrum-alias-button-negative-background-color-hover: var( + --spectrum-semantic-negative-text-color-small + ); + --spectrum-alias-button-negative-background-color-down: var( + --spectrum-global-color-red-700 + ); + --spectrum-alias-button-negative-background-color-key-focus: var( + --spectrum-semantic-negative-text-color-small + ); + --spectrum-alias-button-negative-background-color: var( + --spectrum-alias-button-negative-background-color-default + ); + --spectrum-alias-button-negative-border-color-default: var( + --spectrum-semantic-negative-text-color-small + ); + --spectrum-alias-button-negative-border-color-hover: var( + --spectrum-semantic-negative-text-color-small + ); + --spectrum-alias-button-negative-border-color-down: var( + --spectrum-global-color-red-700 + ); + --spectrum-alias-button-negative-border-color-key-focus: var( + --spectrum-semantic-negative-text-color-small + ); + --spectrum-alias-button-negative-border-color: var( + --spectrum-alias-button-negative-border-color-default + ); + --spectrum-alias-button-negative-text-color-hover: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-button-negative-text-color-down: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-button-negative-text-color-key-focus: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-button-negative-text-color: var( + --spectrum-alias-button-negative-text-color-default + ); + --spectrum-alias-button-negative-icon-color-hover: var( + --spectrum-alias-button-negative-text-color-hover + ); + --spectrum-alias-button-negative-icon-color-down: var( + --spectrum-alias-button-negative-text-color-down + ); + --spectrum-alias-button-negative-icon-color-key-focus: var( + --spectrum-alias-button-negative-text-color-key-focus + ); + --spectrum-alias-button-negative-icon-color: var( + --spectrum-alias-button-negative-icon-color-default + ); --spectrum-alias-input-border-color-disabled: var( --spectrum-alias-border-color-transparent ); @@ -2244,6 +3016,11 @@ --spectrum-alias-background-color-yellow: var( --spectrum-alias-background-color-yellow-default ); + --spectrum-alias-infieldbutton-fill-loudnessLow-border-color-disabled: transparent; + --spectrum-alias-infieldbutton-fill-loudnessMedium-border-color-disabled: transparent; + --spectrum-alias-infieldbutton-fill-loudnessHigh-border-color-disabled: var( + --spectrum-alias-component-background-color-disabled + ); --spectrum-alias-tabitem-text-color: var( --spectrum-alias-tabitem-text-color-default ); @@ -2302,6 +3079,12 @@ --spectrum-alias-text-color-overbackground-disabled: #fff3; --spectrum-alias-text-color-quiet-overbackground-disabled: #fff3; --spectrum-alias-heading-text-color: var(--spectrum-global-color-gray-900); + --spectrum-alias-link-primary-text-color: var( + --spectrum-alias-link-primary-text-color-default + ); + --spectrum-alias-link-secondary-text-color: var( + --spectrum-alias-link-secondary-text-color-default + ); --spectrum-alias-border-color: var(--spectrum-global-color-gray-400); --spectrum-alias-border-color-hover: var(--spectrum-global-color-gray-500); --spectrum-alias-border-color-down: var(--spectrum-global-color-gray-500); diff --git a/tools/styles/express/spectrum-scale-large.css b/tools/styles/express/spectrum-scale-large.css index 540e5fc590..79bcff8e59 100644 --- a/tools/styles/express/spectrum-scale-large.css +++ b/tools/styles/express/spectrum-scale-large.css @@ -124,6 +124,12 @@ --spectrum-alias-control-three-width-xl: var( --spectrum-global-dimension-static-size-550 ); + --spectrum-alias-tag-text-padding-top-s: var( + --spectrum-global-dimension-size-40 + ); + --spectrum-alias-tag-icon-size-l: var( + --spectrum-global-dimension-static-size-275 + ); --spectrum-alias-focus-ring-radius-default: var( --spectrum-global-dimension-static-size-115 ); @@ -259,6 +265,13 @@ --spectrum-alias-ui-icon-asterisk-size-300: var( --spectrum-global-dimension-static-size-150 ); + --spectrum-alias-avatar-size-100: 26px; + --spectrum-alias-avatar-size-400: 36px; + --spectrum-alias-avatar-size-600: 46px; + --spectrum-button-m-primary-outline-texticon-padding-left: 17px; + --spectrum-colorwheel-min-width: var( + --spectrum-global-dimension-static-size-2600 + ); --spectrum-dialog-confirm-title-text-size: var( --spectrum-alias-heading-xs-text-size ); diff --git a/tools/styles/express/spectrum-scale-medium.css b/tools/styles/express/spectrum-scale-medium.css index e79fc76ef4..c8bfce7e7a 100644 --- a/tools/styles/express/spectrum-scale-medium.css +++ b/tools/styles/express/spectrum-scale-medium.css @@ -128,6 +128,12 @@ --spectrum-alias-control-three-width-xl: var( --spectrum-global-dimension-static-size-500 ); + --spectrum-alias-tag-text-padding-top-s: var( + --spectrum-global-dimension-size-25 + ); + --spectrum-alias-tag-icon-size-l: var( + --spectrum-global-dimension-static-size-225 + ); --spectrum-alias-focus-ring-radius-default: var( --spectrum-global-dimension-static-size-100 ); @@ -263,6 +269,13 @@ --spectrum-alias-ui-icon-asterisk-size-300: var( --spectrum-global-dimension-static-size-125 ); + --spectrum-alias-avatar-size-100: var(--spectrum-global-dimension-size-250); + --spectrum-alias-avatar-size-400: var(--spectrum-global-dimension-size-350); + --spectrum-alias-avatar-size-600: var(--spectrum-global-dimension-size-450); + --spectrum-button-m-primary-outline-texticon-padding-left: var( + --spectrum-global-dimension-size-175 + ); + --spectrum-colorwheel-min-width: var(--spectrum-global-dimension-size-2400); --spectrum-dialog-confirm-title-text-size: var( --spectrum-alias-heading-s-text-size ); diff --git a/tools/styles/express/spectrum-theme-dark.css b/tools/styles/express/spectrum-theme-dark.css index 00e416afdd..8a2ccfcbcf 100644 --- a/tools/styles/express/spectrum-theme-dark.css +++ b/tools/styles/express/spectrum-theme-dark.css @@ -258,6 +258,11 @@ --spectrum-global-color-gray-900: rgb( var(--spectrum-global-color-gray-900-rgb) ); + --spectrum-alias-avatar-border-color-default: #ffffff1a; + --spectrum-alias-avatar-border-color-hover: #ffffff40; + --spectrum-alias-avatar-border-color-down: #fff6; + --spectrum-alias-avatar-border-color-key-focus: #ffffff40; + --spectrum-alias-avatar-border-color-selected-disabled: #ffffff1a; --spectrum-alias-transparent-blue-background-color-default: #7c81fb26; --spectrum-alias-transparent-blue-background-color-hover: #9195ff26; --spectrum-alias-transparent-blue-background-color-down: #a7aaff26; diff --git a/tools/styles/express/spectrum-theme-light.css b/tools/styles/express/spectrum-theme-light.css index b584769acf..e15a59ccb8 100644 --- a/tools/styles/express/spectrum-theme-light.css +++ b/tools/styles/express/spectrum-theme-light.css @@ -258,6 +258,11 @@ --spectrum-global-color-gray-900: rgb( var(--spectrum-global-color-gray-900-rgb) ); + --spectrum-alias-avatar-border-color-default: #0000001a; + --spectrum-alias-avatar-border-color-hover: #00000040; + --spectrum-alias-avatar-border-color-down: #0006; + --spectrum-alias-avatar-border-color-key-focus: #00000040; + --spectrum-alias-avatar-border-color-selected-disabled: #0000001a; --spectrum-alias-transparent-blue-background-color-default: #5258e426; --spectrum-alias-transparent-blue-background-color-hover: #4046ca26; --spectrum-alias-transparent-blue-background-color-down: #3236a826; diff --git a/tools/styles/fonts.css b/tools/styles/fonts.css index 838a0d019d..ef47aa872e 100755 --- a/tools/styles/fonts.css +++ b/tools/styles/fonts.css @@ -1,50 +1,18 @@ -/* -Copyright 2023 Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. -*/ - -:host, -:root { - --spectrum-font-family-ar: myriad-arabic, adobe-clean, 'Source Sans Pro', - -apple-system, blinkmacsystemfont, 'Segoe UI', roboto, ubuntu, - 'Trebuchet MS', 'Lucida Grande', sans-serif; - --spectrum-font-family-he: myriad-hebrew, adobe-clean, 'Source Sans Pro', - -apple-system, blinkmacsystemfont, 'Segoe UI', roboto, ubuntu, - 'Trebuchet MS', 'Lucida Grande', sans-serif; - --spectrum-font-family: var(--spectrum-sans-font-family-stack); - --spectrum-font-style: var(--spectrum-default-font-style); - --spectrum-font-size: var(--spectrum-font-size-100); - +.spectrum-Typography { font-family: var(--spectrum-font-family); - font-size: var(--spectrum-font-size); font-style: var(--spectrum-font-style); + font-size: var(--spectrum-font-size); } -.spectrum:lang(ar) { +.spectrum-Typography:lang(ar) { font-family: var(--spectrum-font-family-ar); } -.spectrum:lang(he) { +.spectrum-Typography:lang(he) { font-family: var(--spectrum-font-family-he); } -.spectrum-Heading { - --spectrum-heading-sans-serif-font-family: var( - --spectrum-sans-font-family-stack - ); - --spectrum-heading-serif-font-family: var( - --spectrum-serif-font-family-stack - ); - --spectrum-heading-cjk-font-family: var(--spectrum-cjk-font-family-stack); - --spectrum-heading-cjk-letter-spacing: var(--spectrum-cjk-letter-spacing); - --spectrum-heading-font-color: var(--spectrum-heading-color); +.spectrum-Typography .spectrum-Heading { --spectrum-heading-margin-start: calc( var(--mod-heading-font-size, var(--spectrum-heading-font-size)) * var(--spectrum-heading-margin-top-multiplier) @@ -54,62 +22,30 @@ governing permissions and limitations under the License. var(--spectrum-heading-margin-bottom-multiplier) ); } -@media (forced-colors: active) { - .spectrum-Heading { - --highcontrast-heading-font-color: text; - } -} - -.spectrum-Heading--sizeXXS { - --spectrum-heading-font-size: var(--spectrum-heading-size-xxs); - --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-xxs); -} - -.spectrum-Heading--sizeXS { - --spectrum-heading-font-size: var(--spectrum-heading-size-xs); - --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-xs); -} - -.spectrum-Heading--sizeS { - --spectrum-heading-font-size: var(--spectrum-heading-size-s); - --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-s); -} - -.spectrum-Heading--sizeM { - --spectrum-heading-font-size: var(--spectrum-heading-size-m); - --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-m); -} -.spectrum-Heading--sizeL { - --spectrum-heading-font-size: var(--spectrum-heading-size-l); - --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-l); -} - -.spectrum-Heading--sizeXL { - --spectrum-heading-font-size: var(--spectrum-heading-size-xl); - --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-xl); -} - -.spectrum-Heading--sizeXXL { - --spectrum-heading-font-size: var(--spectrum-heading-size-xxl); - --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-xxl); +.spectrum-Typography .spectrum-Body { + --spectrum-body-margin-end: calc( + var(--mod-body-font-size, var(--spectrum-body-font-size)) * + var(--spectrum-body-margin-multiplier) + ); } -.spectrum-Heading--sizeXXXL { - --spectrum-heading-font-size: var(--spectrum-heading-size-xxxl); - --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-xxxl); +.spectrum-Typography .spectrum-Detail { + --spectrum-detail-margin-start: calc( + var(--mod-detail-font-size, var(--spectrum-detail-font-size)) * + var(--spectrum-detail-margin-top-multiplier) + ); + --spectrum-detail-margin-end: calc( + var(--mod-detail-font-size, var(--spectrum-detail-font-size)) * + var(--spectrum-detail-margin-bottom-multiplier) + ); } .spectrum-Heading { - color: var( - --highcontrast-heading-font-color, - var(--mod-heading-font-color, var(--spectrum-heading-font-color)) - ); font-family: var( --mod-heading-sans-serif-font-family, var(--spectrum-heading-sans-serif-font-family) ); - font-size: var(--mod-heading-font-size, var(--spectrum-heading-font-size)); font-style: var( --mod-heading-sans-serif-font-style, var(--spectrum-heading-sans-serif-font-style) @@ -118,10 +54,23 @@ governing permissions and limitations under the License. --mod-heading-sans-serif-font-weight, var(--spectrum-heading-sans-serif-font-weight) ); + font-size: var(--mod-heading-font-size, var(--spectrum-heading-font-size)); + color: var( + --highcontrast-heading-font-color, + var(--mod-heading-font-color, var(--spectrum-heading-font-color)) + ); line-height: var( --mod-heading-line-height, var(--spectrum-heading-line-height) ); + margin-block-start: var( + --mod-heading-margin-start, + var(--spectrum-heading-margin-start, 0) + ); + margin-block-end: var( + --mod-heading-margin-end, + var(--spectrum-heading-margin-end, 0) + ); } .spectrum-Heading .spectrum-Heading-strong, @@ -168,10 +117,6 @@ governing permissions and limitations under the License. --mod-heading-cjk-font-family, var(--spectrum-heading-cjk-font-family) ); - font-size: var( - --mod-heading-cjk-font-size, - var(--spectrum-heading-cjk-font-size) - ); font-style: var( --mod-heading-cjk-font-style, var(--spectrum-heading-cjk-font-style) @@ -180,14 +125,18 @@ governing permissions and limitations under the License. --mod-heading-cjk-font-weight, var(--spectrum-heading-cjk-font-weight) ); - letter-spacing: var( - --mod-heading-cjk-letter-spacing, - var(--spectrum-heading-cjk-letter-spacing) + font-size: var( + --mod-heading-cjk-font-size, + var(--spectrum-heading-cjk-font-size) ); line-height: var( --mod-heading-cjk-line-height, var(--spectrum-heading-cjk-line-height) ); + letter-spacing: var( + --mod-heading-cjk-letter-spacing, + var(--spectrum-heading-cjk-letter-spacing) + ); } .spectrum-Heading:lang(ja) .spectrum-Heading-emphasized, @@ -621,74 +570,11 @@ governing permissions and limitations under the License. ); } -.spectrum-Typography .spectrum-Heading { - margin-block-end: var( - --mod-heading-margin-end, - var(--spectrum-heading-margin-end) - ); - margin-block-start: var( - --mod-heading-margin-start, - var(--spectrum-heading-margin-start) - ); -} - .spectrum-Body { - --spectrum-body-sans-serif-font-family: var( - --spectrum-sans-font-family-stack - ); - --spectrum-body-serif-font-family: var(--spectrum-serif-font-family-stack); - --spectrum-body-cjk-font-family: var(--spectrum-cjk-font-family-stack); - --spectrum-body-cjk-letter-spacing: var(--spectrum-cjk-letter-spacing); - --spectrum-body-margin: calc( - var(--mod-body-font-size, var(--spectrum-body-font-size)) * - var(--spectrum-body-margin-multiplier) - ); - --spectrum-body-font-color: var(--spectrum-body-color); -} -@media (forced-colors: active) { - .spectrum-body { - --highcontrast-body-font-color: text; - } -} - -.spectrum-Body--sizeXS { - --spectrum-body-font-size: var(--spectrum-body-size-xs); -} - -.spectrum-Body--sizeS { - --spectrum-body-font-size: var(--spectrum-body-size-s); -} - -.spectrum-Body--sizeM { - --spectrum-body-font-size: var(--spectrum-body-size-m); -} - -.spectrum-Body--sizeL { - --spectrum-body-font-size: var(--spectrum-body-size-l); -} - -.spectrum-Body--sizeXL { - --spectrum-body-font-size: var(--spectrum-body-size-xl); -} - -.spectrum-Body--sizeXXL { - --spectrum-body-font-size: var(--spectrum-body-size-xxl); -} - -.spectrum-Body--sizeXXXL { - --spectrum-body-font-size: var(--spectrum-body-size-xxxl); -} - -.spectrum-Body { - color: var( - --highcontrast-body-font-color, - var(--mod-body-font-color, var(--spectrum-body-font-color)) - ); font-family: var( --mod-body-sans-serif-font-family, var(--spectrum-body-sans-serif-font-family) ); - font-size: var(--mod-body-font-size, var(--spectrum-body-font-size)); font-style: var( --mod-body-sans-serif-font-style, var(--spectrum-body-sans-serif-font-style) @@ -697,7 +583,20 @@ governing permissions and limitations under the License. --mod-body-sans-serif-font-weight, var(--spectrum-body-sans-serif-font-weight) ); + font-size: var(--mod-body-font-size, var(--spectrum-body-font-size)); + color: var( + --highcontrast-body-font-color, + var(--mod-body-font-color, var(--spectrum-body-font-color)) + ); line-height: var(--mod-body-line-height, var(--spectrum-body-line-height)); + margin-block-start: var( + --mod-body-margin-start, + var(--mod-body-margin, var(--spectrum-body-margin-start, 0)) + ); + margin-block-end: var( + --mod-body-margin-end, + var(--mod-body-margin, var(--spectrum-body-margin-end, 0)) + ); } .spectrum-Body .spectrum-Body-strong, @@ -752,14 +651,14 @@ governing permissions and limitations under the License. --mod-body-cjk-font-weight, var(--spectrum-body-cjk-font-weight) ); - letter-spacing: var( - --mod-body-cjk-letter-spacing, - var(--spectrum-body-cjk-letter-spacing) - ); line-height: var( --mod-body-cjk-line-height, var(--spectrum-body-cjk-line-height) ); + letter-spacing: var( + --mod-body-cjk-letter-spacing, + var(--spectrum-body-cjk-letter-spacing) + ); } .spectrum-Body:lang(ja) .spectrum-Body-strong, @@ -818,14 +717,14 @@ governing permissions and limitations under the License. --mod-body-serif-font-family, var(--spectrum-body-serif-font-family) ); - font-style: var( - --mod-body-serif-font-style, - var(--spectrum-body-serif-font-style) - ); font-weight: var( --mod-body-serif-font-weight, var(--spectrum-body-serif-font-weight) ); + font-style: var( + --mod-body-serif-font-style, + var(--spectrum-body-serif-font-style) + ); } .spectrum-Body--serif .spectrum-Body-strong, @@ -865,60 +764,11 @@ governing permissions and limitations under the License. ); } -.spectrum-Typography .spectrum-Body { - margin-block-end: var(--mod-body-margin, var(--spectrum-body-margin)); -} - .spectrum-Detail { - --spectrum-detail-sans-serif-font-family: var( - --spectrum-sans-font-family-stack - ); - --spectrum-detail-serif-font-family: var( - --spectrum-serif-font-family-stack - ); - --spectrum-detail-cjk-font-family: var(--spectrum-cjk-font-family-stack); - --spectrum-detail-margin-start: calc( - var(--mod-detail-font-size, var(--spectrum-detail-font-size)) * - var(--spectrum-detail-margin-top-multiplier) - ); - --spectrum-detail-margin-end: calc( - var(--mod-detail-font-size, var(--spectrum-detail-font-size)) * - var(--spectrum-detail-margin-bottom-multiplier) - ); - --spectrum-detail-font-color: var(--spectrum-detail-color); -} -@media (forced-colors: active) { - .spectrum-Detail { - --highcontrast-detail-font-color: text; - } -} - -.spectrum-Detail--sizeS { - --spectrum-detail-font-size: var(--spectrum-detail-size-s); -} - -.spectrum-Detail--sizeM { - --spectrum-detail-font-size: var(--spectrum-detail-size-m); -} - -.spectrum-Detail--sizeL { - --spectrum-detail-font-size: var(--spectrum-detail-size-l); -} - -.spectrum-Detail--sizeXL { - --spectrum-detail-font-size: var(--spectrum-detail-size-xl); -} - -.spectrum-Detail { - color: var( - --highcontrast-detail-font-color, - var(--mod-detail-font-color, var(--spectrum-detail-font-color)) - ); font-family: var( --mod-detail-sans-serif-font-family, var(--spectrum-detail-sans-serif-font-family) ); - font-size: var(--mod-detail-font-size, var(--spectrum-detail-font-size)); font-style: var( --mod-detail-sans-serif-font-style, var(--spectrum-detail-sans-serif-font-style) @@ -927,15 +777,28 @@ governing permissions and limitations under the License. --mod-detail-sans-serif-font-weight, var(--spectrum-detail-sans-serif-font-weight) ); - letter-spacing: var( - --mod-detail-letter-spacing, - var(--spectrum-detail-letter-spacing) + font-size: var(--mod-detail-font-size, var(--spectrum-detail-font-size)); + color: var( + --highcontrast-detail-font-color, + var(--mod-detail-font-color, var(--spectrum-detail-font-color)) ); line-height: var( --mod-detail-line-height, var(--spectrum-detail-line-height) ); + letter-spacing: var( + --mod-detail-letter-spacing, + var(--spectrum-detail-letter-spacing) + ); text-transform: uppercase; + margin-block-start: var( + --mod-detail-margin-start, + var(--spectrum-detail-margin-start, 0) + ); + margin-block-end: var( + --mod-detail-margin-end, + var(--spectrum-detail-margin-end, 0) + ); } .spectrum-Detail .spectrum-Detail-strong, @@ -1257,58 +1120,24 @@ governing permissions and limitations under the License. ); } -.spectrum-Typography .spectrum-Detail { - margin-block-end: var( - --mod-detail-margin-end, - var(--spectrum-detail-margin-end) - ); - margin-block-start: var( - --mod-detail-margin-start, - var(--spectrum-detail-margin-start) - ); -} - -.spectrum-Code { - --spectrum-code-font-family: var(--spectrum-code-font-family-stack); - --spectrum-code-cjk-letter-spacing: var(--spectrum-cjk-letter-spacing); - --spectrum-code-font-color: var(--spectrum-code-color); -} -@media (forced-colors: active) { - .spectrum-Code { - --highcontrast-code-font-color: text; - } -} - -.spectrum-Code--sizeXS { - --spectrum-code-font-size: var(--spectrum-code-size-xs); -} - -.spectrum-Code--sizeS { - --spectrum-code-font-size: var(--spectrum-code-size-s); -} - -.spectrum-Code--sizeM { - --spectrum-code-font-size: var(--spectrum-code-size-m); -} - -.spectrum-Code--sizeL { - --spectrum-code-font-size: var(--spectrum-code-size-l); -} - -.spectrum-Code--sizeXL { - --spectrum-code-font-size: var(--spectrum-code-size-xl); -} - .spectrum-Code { - color: var( - --highcontrast-code-font-color, - var(--mod-code-font-color, var(--spectrum-code-font-color)) - ); font-family: var(--mod-code-font-family, var(--spectrum-code-font-family)); - font-size: var(--mod-code-font-size, var(--spectrum-code-font-size)); font-style: var(--mod-code-font-style, var(--spectrum-code-font-style)); font-weight: var(--mod-code-font-weight, var(--spectrum-code-font-weight)); + font-size: var(--mod-code-font-size, var(--spectrum-code-font-size)); line-height: var(--mod-code-line-height, var(--spectrum-code-line-height)); + color: var( + --highcontrast-code-font-color, + var(--mod-code-font-color, var(--spectrum-code-font-color)) + ); + margin-block-start: var( + --mod-code-margin-start, + var(--spectrum-code-margin-end, 0) + ); + margin-block-end: var( + --mod-code-margin-end, + var(--spectrum-code-margin-end, 0) + ); } .spectrum-Code .spectrum-Code-strong, @@ -1363,14 +1192,14 @@ governing permissions and limitations under the License. --mod-code-cjk-font-weight, var(--spectrum-code-cjk-font-weight) ); - letter-spacing: var( - --mod-code-cjk-letter-spacing, - var(--spectrum-code-cjk-letter-spacing) - ); line-height: var( --mod-code-cjk-line-height, var(--spectrum-code-cjk-line-height) ); + letter-spacing: var( + --mod-code-cjk-letter-spacing, + var(--spectrum-code-cjk-letter-spacing) + ); } .spectrum-Code:lang(ja) .spectrum-Code-strong, @@ -1423,3 +1252,167 @@ governing permissions and limitations under the License. var(--spectrum-code-cjk-strong-emphasized-font-weight) ); } + +.spectrum-Heading { + --spectrum-heading-sans-serif-font-family: var( + --system-heading-sans-serif-font-family + ); + --spectrum-heading-serif-font-family: var( + --system-heading-serif-font-family + ); + --spectrum-heading-cjk-font-family: var(--system-heading-cjk-font-family); + --spectrum-heading-cjk-letter-spacing: var( + --system-heading-cjk-letter-spacing + ); + --spectrum-heading-font-color: var(--system-heading-font-color); + --spectrum-heading-font-size: var(--system-heading-font-size); + --spectrum-heading-cjk-font-size: var(--system-heading-cjk-font-size); +} + +.spectrum-Heading--sizeXXS { + --spectrum-heading-font-size: var(--system-heading-size-xxs-font-size); + --spectrum-heading-cjk-font-size: var( + --system-heading-size-xxs-cjk-font-size + ); +} + +.spectrum-Heading--sizeXS { + --spectrum-heading-font-size: var(--system-heading-size-xs-font-size); + --spectrum-heading-cjk-font-size: var( + --system-heading-size-xs-cjk-font-size + ); +} + +.spectrum-Heading--sizeS { + --spectrum-heading-font-size: var(--system-heading-size-s-font-size); + --spectrum-heading-cjk-font-size: var( + --system-heading-size-s-cjk-font-size + ); +} + +.spectrum-Heading--sizeM { + --spectrum-heading-font-size: var(--system-heading-size-m-font-size); + --spectrum-heading-cjk-font-size: var( + --system-heading-size-m-cjk-font-size + ); +} + +.spectrum-Heading--sizeL { + --spectrum-heading-font-size: var(--system-heading-size-l-font-size); + --spectrum-heading-cjk-font-size: var( + --system-heading-size-l-cjk-font-size + ); +} + +.spectrum-Heading--sizeXL { + --spectrum-heading-font-size: var(--system-heading-size-xl-font-size); + --spectrum-heading-cjk-font-size: var( + --system-heading-size-xl-cjk-font-size + ); +} + +.spectrum-Heading--sizeXXL { + --spectrum-heading-font-size: var(--system-heading-size-xxl-font-size); + --spectrum-heading-cjk-font-size: var( + --system-heading-size-xxl-cjk-font-size + ); +} + +.spectrum-Heading--sizeXXXL { + --spectrum-heading-font-size: var(--system-heading-size-xxxl-font-size); + --spectrum-heading-cjk-font-size: var( + --system-heading-size-xxxl-cjk-font-size + ); +} + +.spectrum-Body { + --spectrum-body-sans-serif-font-family: var( + --system-body-sans-serif-font-family + ); + --spectrum-body-serif-font-family: var(--system-body-serif-font-family); + --spectrum-body-cjk-font-family: var(--system-body-cjk-font-family); + --spectrum-body-cjk-letter-spacing: var(--system-body-cjk-letter-spacing); + --spectrum-body-font-color: var(--system-body-font-color); + --spectrum-body-font-size: var(--system-body-font-size); +} + +.spectrum-Body--sizeXS { + --spectrum-body-font-size: var(--system-body-size-xs-font-size); +} + +.spectrum-Body--sizeS { + --spectrum-body-font-size: var(--system-body-size-s-font-size); +} + +.spectrum-Body--sizeM { + --spectrum-body-font-size: var(--system-body-size-m-font-size); +} + +.spectrum-Body--sizeL { + --spectrum-body-font-size: var(--system-body-size-l-font-size); +} + +.spectrum-Body--sizeXL { + --spectrum-body-font-size: var(--system-body-size-xl-font-size); +} + +.spectrum-Body--sizeXXL { + --spectrum-body-font-size: var(--system-body-size-xxl-font-size); +} + +.spectrum-Body--sizeXXXL { + --spectrum-body-font-size: var(--system-body-size-xxxl-font-size); +} + +.spectrum-Detail { + --spectrum-detail-sans-serif-font-family: var( + --system-detail-sans-serif-font-family + ); + --spectrum-detail-serif-font-family: var(--system-detail-serif-font-family); + --spectrum-detail-cjk-font-family: var(--system-detail-cjk-font-family); + --spectrum-detail-font-color: var(--system-detail-font-color); + --spectrum-detail-font-size: var(--system-detail-font-size); +} + +.spectrum-Detail--sizeS { + --spectrum-detail-font-size: var(--system-detail-size-s-font-size); +} + +.spectrum-Detail--sizeM { + --spectrum-detail-font-size: var(--system-detail-size-m-font-size); +} + +.spectrum-Detail--sizeL { + --spectrum-detail-font-size: var(--system-detail-size-l-font-size); +} + +.spectrum-Detail--sizeXL { + --spectrum-detail-font-size: var(--system-detail-size-xl-font-size); +} + +.spectrum-Code { + --spectrum-code-font-family: var(--system-code-font-family); + --spectrum-code-cjk-letter-spacing: var(--system-code-cjk-letter-spacing); + --spectrum-code-font-color: var(--system-code-font-color); + --spectrum-code-font-size: var(--system-code-font-size); +} + +.spectrum-Code--sizeXS { + --spectrum-code-font-size: var(--system-code-size-xs-font-size); +} + +.spectrum-Code--sizeS { + --spectrum-code-font-size: var(--system-code-size-s-font-size); +} + +.spectrum-Code--sizeM { + --spectrum-code-font-size: var(--system-code-size-m-font-size); +} + +.spectrum-Code--sizeL { + --spectrum-code-font-size: var(--system-code-size-l-font-size); +} + +.spectrum-Code--sizeXL { + --spectrum-code-font-size: var(--system-code-size-xl-font-size); +} diff --git a/tools/styles/heading.ts b/tools/styles/heading.ts index f6d7e920e3..c78b53bf9a 100644 --- a/tools/styles/heading.ts +++ b/tools/styles/heading.ts @@ -11,7 +11,21 @@ governing permissions and limitations under the License. */ import baseStyles from './src/spectrum-base.css.js'; -import langStyles from './src/spectrum-lang.css.js'; -import headingStyles from './src/spectrum-heading.css.js'; +import langBaseStyles from './src/spectrum-lang.css.js'; +import langOverrides from './src/lang-overrides.css.js'; +import headingBaseStyles from './src/spectrum-heading.css.js'; +import headingOverrides from './src/heading-overrides.css.js'; + +import { css } from 'lit'; + +const langStyles = css` + ${langBaseStyles} + ${langOverrides} +`; + +const headingStyles = css` + ${headingBaseStyles} + ${headingOverrides} +`; export default [baseStyles, langStyles, headingStyles]; diff --git a/tools/styles/package.json b/tools/styles/package.json index fea752721a..4f3a5348b0 100755 --- a/tools/styles/package.json +++ b/tools/styles/package.json @@ -65,12 +65,22 @@ "development": "./typography.dev.js", "default": "./typography.js" }, + "./src/body-overrides.css.js": "./src/body-overrides.css.js", + "./src/code-overrides.css.js": "./src/code-overrides.css.js", + "./src/detail-overrides.css.js": "./src/detail-overrides.css.js", + "./src/heading-overrides.css.js": "./src/heading-overrides.css.js", + "./src/lang-overrides.css.js": "./src/lang-overrides.css.js", "./src/spectrum-base.css": "./src/spectrum-base.css", "./src/spectrum-body.css": "./src/spectrum-body.css", + "./src/body-overrides.css": "./src/body-overrides.css", "./src/spectrum-code.css": "./src/spectrum-code.css", + "./src/code-overrides.css": "./src/code-overrides.css", "./src/spectrum-detail.css": "./src/spectrum-code.css", + "./src/detail-overrides.css": "./src/detail-overrides.css", "./src/spectrum-heading.css": "./src/spectrum-heading.css", + "./src/heading-overrides.css": "./src/heading-overrides.css", "./src/spectrum-lang.css": "./src/spectrum-lang.css", + "./src/lang-overrides.css": "./src/lang-overrides.css", "./src/spectrum-typography.css": "./src/spectrum-typography.css", "./tokens/express/custom-large-vars.css": "./tokens/express/custom-large-vars.css", "./tokens/express/custom-medium-vars.css": "./tokens/express/custom-medium-vars.css", @@ -112,11 +122,11 @@ "@spectrum-web-components/base": "^0.49.0" }, "devDependencies": { - "@spectrum-css/commons": "^10.0.0", + "@spectrum-css/commons": "^11.0.0-s2-foundations.15", "@spectrum-css/expressvars": "^3.0.9", - "@spectrum-css/tokens": "^14.0.0", - "@spectrum-css/tokens-v2": "npm:@spectrum-css/tokens@^14.0.0-next.3", - "@spectrum-css/typography": "^6.1.0", + "@spectrum-css/tokens": "^@spectrum-css/tokens@14.3.1", + "@spectrum-css/tokens-v2": "npm:@spectrum-css/tokens@15.0.0-s2-foundations.27", + "@spectrum-css/typography": "^7.0.0-s2-foundations.17", "@spectrum-css/vars": "^9.0.8" }, "customElements": "custom-elements.json", diff --git a/tools/styles/spectrum-core-global.css b/tools/styles/spectrum-core-global.css index 073e9f7ca4..7df98ecf56 100644 --- a/tools/styles/spectrum-core-global.css +++ b/tools/styles/spectrum-core-global.css @@ -982,6 +982,9 @@ --spectrum-alias-font-family-condensed: var( --spectrum-global-font-font-family-condensed ); + --spectrum-alias-button-text-line-height: var( + --spectrum-global-font-line-height-small + ); --spectrum-alias-component-text-line-height: var( --spectrum-global-font-line-height-small ); @@ -1513,6 +1516,115 @@ --spectrum-alias-control-three-height-xl: var( --spectrum-global-dimension-size-225 ); + --spectrum-alias-infieldbutton-icon-margin-y-s: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-infieldbutton-icon-margin-y-m: var( + --spectrum-global-dimension-size-85 + ); + --spectrum-alias-infieldbutton-icon-margin-y-l: var( + --spectrum-global-dimension-size-125 + ); + --spectrum-alias-infieldbutton-icon-margin-y-xl: var( + --spectrum-global-dimension-size-160 + ); + --spectrum-alias-infieldbutton-border-radius: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-infieldbutton-border-radius-sided: 0; + --spectrum-alias-infieldbutton-border-size: var( + --spectrum-global-dimension-static-size-10 + ); + --spectrum-alias-infieldbutton-fill-padding-s: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-infieldbutton-fill-padding-m: var( + --spectrum-global-dimension-size-85 + ); + --spectrum-alias-infieldbutton-fill-padding-l: var( + --spectrum-global-dimension-size-125 + ); + --spectrum-alias-infieldbutton-fill-padding-xl: var( + --spectrum-global-dimension-size-160 + ); + --spectrum-alias-infieldbutton-padding-s: 0; + --spectrum-alias-infieldbutton-padding-m: 0; + --spectrum-alias-infieldbutton-padding-l: 0; + --spectrum-alias-infieldbutton-padding-xl: 0; + --spectrum-alias-infieldbutton-full-height-s: var( + --spectrum-global-dimension-size-300 + ); + --spectrum-alias-infieldbutton-full-height-m: var( + --spectrum-global-dimension-size-400 + ); + --spectrum-alias-infieldbutton-full-height-l: var( + --spectrum-global-dimension-size-500 + ); + --spectrum-alias-infieldbutton-full-height-xl: var( + --spectrum-global-dimension-size-600 + ); + --spectrum-alias-infieldbutton-half-height-s: var( + --spectrum-global-dimension-size-150 + ); + --spectrum-alias-infieldbutton-half-height-m: var( + --spectrum-global-dimension-size-200 + ); + --spectrum-alias-infieldbutton-half-height-l: var( + --spectrum-global-dimension-size-250 + ); + --spectrum-alias-infieldbutton-half-height-xl: var( + --spectrum-global-dimension-size-300 + ); + --spectrum-alias-stepperbutton-gap: 0; + --spectrum-alias-stepperbutton-width-s: var( + --spectrum-global-dimension-size-225 + ); + --spectrum-alias-stepperbutton-width-m: var( + --spectrum-global-dimension-size-300 + ); + --spectrum-alias-stepperbutton-width-l: var( + --spectrum-global-dimension-size-400 + ); + --spectrum-alias-stepperbutton-width-xl: var( + --spectrum-global-dimension-size-450 + ); + --spectrum-alias-stepperbutton-icon-x-offset-s: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-stepperbutton-icon-x-offset-m: var( + --spectrum-global-dimension-size-85 + ); + --spectrum-alias-stepperbutton-icon-x-offset-l: var( + --spectrum-global-dimension-size-125 + ); + --spectrum-alias-stepperbutton-icon-x-offset-xl: var( + --spectrum-global-dimension-size-130 + ); + --spectrum-alias-stepperbutton-icon-y-offset-top-s: var( + --spectrum-global-dimension-size-25 + ); + --spectrum-alias-stepperbutton-icon-y-offset-top-m: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-stepperbutton-icon-y-offset-top-l: var( + --spectrum-global-dimension-size-65 + ); + --spectrum-alias-stepperbutton-icon-y-offset-top-xl: var( + --spectrum-global-dimension-size-75 + ); + --spectrum-alias-stepperbutton-icon-y-offset-bottom-s: var( + --spectrum-global-dimension-size-10 + ); + --spectrum-alias-stepperbutton-icon-y-offset-bottom-m: var( + --spectrum-global-dimension-size-25 + ); + --spectrum-alias-stepperbutton-icon-y-offset-bottom-l: var( + --spectrum-global-dimension-size-40 + ); + --spectrum-alias-stepperbutton-icon-y-offset-bottom-xl: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-stepperbutton-radius-touching: 0; --spectrum-alias-clearbutton-icon-margin-s: var( --spectrum-global-dimension-size-100 ); @@ -1528,6 +1640,77 @@ --spectrum-alias-clearbutton-border-radius: var( --spectrum-global-dimension-size-50 ); + --spectrum-alias-pickerbutton-icononly-padding-x-s: var( + --spectrum-global-dimension-size-85 + ); + --spectrum-alias-pickerbutton-icononly-padding-x-m: var( + --spectrum-global-dimension-size-125 + ); + --spectrum-alias-pickerbutton-icononly-padding-x-l: var( + --spectrum-global-dimension-size-160 + ); + --spectrum-alias-pickerbutton-icononly-padding-x-xl: var( + --spectrum-global-dimension-size-200 + ); + --spectrum-alias-pickerbutton-icon-margin-y-s: var( + --spectrum-global-dimension-size-85 + ); + --spectrum-alias-pickerbutton-icon-margin-y-m: var( + --spectrum-global-dimension-size-125 + ); + --spectrum-alias-pickerbutton-icon-margin-y-l: var( + --spectrum-global-dimension-size-160 + ); + --spectrum-alias-pickerbutton-icon-margin-y-xl: var( + --spectrum-global-dimension-size-200 + ); + --spectrum-alias-pickerbutton-label-padding-y-s: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-pickerbutton-label-padding-y-m: var( + --spectrum-global-dimension-size-75 + ); + --spectrum-alias-pickerbutton-label-padding-y-l: var( + --spectrum-global-dimension-size-115 + ); + --spectrum-alias-pickerbutton-label-padding-y-xl: var( + --spectrum-global-dimension-size-150 + ); + --spectrum-alias-pickerbutton-border-radius-rounded: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-pickerbutton-border-radius-rounded-sided: 0; + --spectrum-alias-search-border-radius: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-search-border-radius-quiet: 0; + --spectrum-alias-combobox-quiet-button-offset-x: var( + --spectrum-global-dimension-size-100 + ); + --spectrum-alias-thumbnail-border-radius-small: var( + --spectrum-global-dimension-size-25 + ); + --spectrum-alias-actiongroup-button-gap: var( + --spectrum-global-dimension-size-100 + ); + --spectrum-alias-actiongroup-button-gap-compact: var( + --spectrum-global-dimension-size-0 + ); + --spectrum-alias-actiongroup-button-gap-quiet: var( + --spectrum-global-dimension-size-100 + ); + --spectrum-alias-actiongroup-button-gap-quiet-compact: var( + --spectrum-global-dimension-size-25 + ); + --spectrum-alias-search-padding-left-s: var( + --spectrum-global-dimension-size-85 + ); + --spectrum-alias-search-padding-left-l: var( + --spectrum-global-dimension-size-160 + ); + --spectrum-alias-search-padding-left-xl: var( + --spectrum-global-dimension-size-185 + ); --spectrum-alias-percent-50: 50%; --spectrum-alias-percent-70: 70%; --spectrum-alias-percent-100: 100%; @@ -1723,10 +1906,118 @@ --spectrum-alias-ui-icon-asterisk-size-100: var( --spectrum-global-dimension-size-100 ); + --spectrum-alias-avatar-size-50: var(--spectrum-global-dimension-size-200); + --spectrum-alias-avatar-size-75: var(--spectrum-global-dimension-size-225); + --spectrum-alias-avatar-size-200: var(--spectrum-global-dimension-size-275); + --spectrum-alias-avatar-size-300: var(--spectrum-global-dimension-size-325); + --spectrum-alias-avatar-size-500: var(--spectrum-global-dimension-size-400); + --spectrum-alias-avatar-size-700: var(--spectrum-global-dimension-size-500); + --spectrum-alias-avatar-border-size: var( + --spectrum-global-dimension-size-0 + ); + --spectrum-alias-tag-border-radius: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-tag-border-size-default: var( + --spectrum-global-dimension-static-size-10 + ); + --spectrum-alias-tag-border-size-key-focus: var( + --spectrum-global-dimension-static-size-25 + ); + --spectrum-alias-tag-border-size-disabled: var( + --spectrum-global-dimension-size-0 + ); + --spectrum-alias-tag-border-size: var( + --spectrum-global-dimension-static-size-10 + ); + --spectrum-alias-tag-padding-right-s: var( + --spectrum-global-dimension-size-115 + ); + --spectrum-alias-tag-padding-right-m: var( + --spectrum-global-dimension-size-150 + ); + --spectrum-alias-tag-padding-right-l: var( + --spectrum-global-dimension-size-185 + ); + --spectrum-alias-tag-height-s: var(--spectrum-global-dimension-size-300); + --spectrum-alias-tag-height-m: var(--spectrum-global-dimension-size-400); + --spectrum-alias-tag-height-l: var(--spectrum-global-dimension-size-500); + --spectrum-alias-tag-font-size-s: var( + --spectrum-global-dimension-font-size-75 + ); + --spectrum-alias-tag-font-size-m: var( + --spectrum-global-dimension-font-size-100 + ); + --spectrum-alias-tag-font-size-l: var( + --spectrum-global-dimension-font-size-200 + ); + --spectrum-alias-tag-text-padding-top-s: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-tag-text-padding-top-m: var( + --spectrum-global-dimension-size-75 + ); + --spectrum-alias-tag-text-padding-top-l: var( + --spectrum-global-dimension-size-115 + ); + --spectrum-alias-tag-icon-size-s: var(--spectrum-global-dimension-size-200); + --spectrum-alias-tag-icon-size-m: var(--spectrum-global-dimension-size-225); + --spectrum-alias-tag-icon-margin-top-s: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-tag-icon-margin-top-m: var( + --spectrum-global-dimension-size-85 + ); + --spectrum-alias-tag-icon-margin-top-l: var( + --spectrum-global-dimension-size-125 + ); + --spectrum-alias-tag-icon-margin-right-s: var( + --spectrum-global-dimension-size-85 + ); + --spectrum-alias-tag-icon-margin-right-m: var( + --spectrum-global-dimension-size-100 + ); + --spectrum-alias-tag-icon-margin-right-l: var( + --spectrum-global-dimension-size-115 + ); + --spectrum-alias-tag-clearbutton-width-s: var( + --spectrum-global-dimension-size-300 + ); + --spectrum-alias-tag-clearbutton-width-m: var( + --spectrum-global-dimension-size-400 + ); + --spectrum-alias-tag-clearbutton-width-l: var( + --spectrum-global-dimension-size-500 + ); + --spectrum-alias-tag-clearbutton-icon-margin-s: var( + --spectrum-global-dimension-size-100 + ); + --spectrum-alias-tag-clearbutton-icon-margin-m: var( + --spectrum-global-dimension-size-150 + ); + --spectrum-alias-tag-clearbutton-icon-margin-l: var( + --spectrum-global-dimension-size-185 + ); + --spectrum-alias-tag-focusring-size: var( + --spectrum-global-dimension-size-25 + ); + --spectrum-alias-tag-focusring-gap: var( + --spectrum-global-dimension-static-size-0 + ); + --spectrum-alias-tag-focusring-gap-selected: var( + --spectrum-global-dimension-size-25 + ); + --spectrum-alias-colorloupe-width: var( + --spectrum-global-dimension-static-size-600 + ); + --spectrum-alias-colorloupe-height: var( + --spectrum-global-dimension-static-size-800 + ); } :root, :host { + --spectrum-alias-colorhandle-outer-border-color: #0000006b; --spectrum-alias-transparent-blue-background-color-hover: #0057be26; --spectrum-alias-transparent-blue-background-color-down: #0048994d; --spectrum-alias-transparent-blue-background-color-key-focus: var( @@ -2028,6 +2319,205 @@ --spectrum-alias-component-border-color-emphasized-selected: var( --spectrum-alias-component-border-color-emphasized-selected-default ); + --spectrum-alias-tag-border-color-default: var( + --spectrum-alias-border-color-darker-default + ); + --spectrum-alias-tag-border-color-hover: var( + --spectrum-alias-border-color-darker-hover + ); + --spectrum-alias-tag-border-color-down: var( + --spectrum-alias-border-color-darker-hover + ); + --spectrum-alias-tag-border-color-key-focus: var( + --spectrum-alias-border-color-key-focus + ); + --spectrum-alias-tag-border-color-error-default: var( + --spectrum-semantic-negative-color-default + ); + --spectrum-alias-tag-border-color-error-hover: var( + --spectrum-semantic-negative-color-hover + ); + --spectrum-alias-tag-border-color-error-down: var( + --spectrum-semantic-negative-color-hover + ); + --spectrum-alias-tag-border-color-error-key-focus: var( + --spectrum-alias-border-color-key-focus + ); + --spectrum-alias-tag-border-color-error-selected: var( + --spectrum-semantic-negative-color-default + ); + --spectrum-alias-tag-border-color-selected: var( + --spectrum-alias-tag-background-color-selected-default + ); + --spectrum-alias-tag-border-color: var( + --spectrum-alias-tag-border-color-default + ); + --spectrum-alias-tag-border-color-disabled: var( + --spectrum-alias-border-color-disabled + ); + --spectrum-alias-tag-border-color-error: var( + --spectrum-alias-tag-border-color-error-default + ); + --spectrum-alias-tag-text-color-default: var( + --spectrum-alias-label-text-color + ); + --spectrum-alias-tag-text-color-hover: var( + --spectrum-alias-text-color-hover + ); + --spectrum-alias-tag-text-color-down: var(--spectrum-alias-text-color-down); + --spectrum-alias-tag-text-color-key-focus: var( + --spectrum-alias-text-color-hover + ); + --spectrum-alias-tag-text-color-disabled: var( + --spectrum-global-color-gray-500 + ); + --spectrum-alias-tag-text-color: var( + --spectrum-alias-tag-text-color-default + ); + --spectrum-alias-tag-text-color-error-default: var( + --spectrum-global-color-red-600 + ); + --spectrum-alias-tag-text-color-error-hover: var( + --spectrum-global-color-red-700 + ); + --spectrum-alias-tag-text-color-error-down: var( + --spectrum-global-color-red-700 + ); + --spectrum-alias-tag-text-color-error-key-focus: var( + --spectrum-global-color-red-700 + ); + --spectrum-alias-tag-text-color-error: var( + --spectrum-alias-tag-text-color-error-default + ); + --spectrum-alias-tag-text-color-selected: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-tag-icon-color-default: var(--spectrum-alias-icon-color); + --spectrum-alias-tag-icon-color-hover: var( + --spectrum-alias-icon-color-hover + ); + --spectrum-alias-tag-icon-color-down: var(--spectrum-alias-icon-color-down); + --spectrum-alias-tag-icon-color-key-focus: var( + --spectrum-alias-icon-color-hover + ); + --spectrum-alias-tag-icon-color-disabled: var( + --spectrum-alias-icon-color-disabled + ); + --spectrum-alias-tag-icon-color: var( + --spectrum-alias-tag-icon-color-default + ); + --spectrum-alias-tag-icon-color-error: var(--spectrum-global-color-red-600); + --spectrum-alias-tag-icon-color-selected: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-tag-background-color-disabled: var( + --spectrum-global-color-gray-200 + ); + --spectrum-alias-tag-background-color-default: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-tag-background-color-hover: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-tag-background-color-down: var( + --spectrum-global-color-gray-200 + ); + --spectrum-alias-tag-background-color-key-focus: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-tag-background-color: var( + --spectrum-alias-tag-background-color-default + ); + --spectrum-alias-tag-background-color-error-default: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-tag-background-color-error-hover: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-tag-background-color-error-down: var( + --spectrum-global-color-gray-200 + ); + --spectrum-alias-tag-background-color-error-key-focus: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-tag-background-color-error: var( + --spectrum-alias-tag-background-color-error-default + ); + --spectrum-alias-tag-background-color-error-selected-default: var( + --spectrum-semantic-negative-color-default + ); + --spectrum-alias-tag-background-color-error-selected-hover: var( + --spectrum-semantic-negative-color-hover + ); + --spectrum-alias-tag-background-color-error-selected-down: var( + --spectrum-semantic-negative-color-hover + ); + --spectrum-alias-tag-background-color-error-selected-key-focus: var( + --spectrum-global-color-red-600 + ); + --spectrum-alias-tag-background-color-error-selected: var( + --spectrum-alias-tag-background-color-error-selected-default + ); + --spectrum-alias-tag-background-color-selected-default: var( + --spectrum-global-color-gray-700 + ); + --spectrum-alias-tag-background-color-selected-hover: var( + --spectrum-global-color-gray-800 + ); + --spectrum-alias-tag-background-color-selected-down: var( + --spectrum-global-color-gray-900 + ); + --spectrum-alias-tag-background-color-selected-key-focus: var( + --spectrum-global-color-gray-900 + ); + --spectrum-alias-tag-background-color-selected: var( + --spectrum-alias-tag-background-color-selected-default + ); + --spectrum-alias-tag-focusring-border-color-default: transparent; + --spectrum-alias-tag-focusring-border-color-key-focus: transparent; + --spectrum-alias-tag-focusring-border-color-disabled: transparent; + --spectrum-alias-tag-focusring-border-color-selected-key-focus: var( + --spectrum-alias-focus-ring-color + ); + --spectrum-alias-tag-focusring-border-color: var( + --spectrum-alias-tag-focusring-border-color-default + ); + --spectrum-alias-avatar-border-color-default: var( + --spectrum-alias-background-color-transparent + ); + --spectrum-alias-avatar-border-color-hover: var( + --spectrum-alias-background-color-transparent + ); + --spectrum-alias-avatar-border-color-down: var( + --spectrum-alias-background-color-transparent + ); + --spectrum-alias-avatar-border-color-key-focus: var( + --spectrum-alias-background-color-transparent + ); + --spectrum-alias-avatar-border-color: var( + --spectrum-alias-avatar-border-color-default + ); + --spectrum-alias-avatar-border-color-disabled: var( + --spectrum-alias-background-color-transparent + ); + --spectrum-alias-avatar-border-color-selected-default: var( + --spectrum-alias-background-color-transparent + ); + --spectrum-alias-avatar-border-color-selected-hover: var( + --spectrum-alias-background-color-transparent + ); + --spectrum-alias-avatar-border-color-selected-down: var( + --spectrum-alias-background-color-transparent + ); + --spectrum-alias-avatar-border-color-selected-key-focus: var( + --spectrum-alias-background-color-transparent + ); + --spectrum-alias-avatar-border-color-selected: var( + --spectrum-alias-avatar-border-color-selected-default + ); + --spectrum-alias-avatar-border-color-selected-disabled: var( + --spectrum-alias-background-color-transparent + ); --spectrum-alias-toggle-background-color-default: var( --spectrum-global-color-gray-700 ); @@ -2079,6 +2569,186 @@ --spectrum-alias-toggle-icon-color-emphasized-selected: var( --spectrum-global-color-gray-75 ); + --spectrum-alias-button-primary-background-color-default: var( + --spectrum-alias-background-color-transparent + ); + --spectrum-alias-button-primary-background-color-hover: var( + --spectrum-global-color-gray-800 + ); + --spectrum-alias-button-primary-background-color-down: var( + --spectrum-global-color-gray-900 + ); + --spectrum-alias-button-primary-background-color-key-focus: var( + --spectrum-global-color-gray-800 + ); + --spectrum-alias-button-primary-background-color: var( + --spectrum-alias-button-primary-background-color-default + ); + --spectrum-alias-button-primary-border-color-default: var( + --spectrum-global-color-gray-800 + ); + --spectrum-alias-button-primary-border-color-hover: var( + --spectrum-alias-button-primary-background-color-hover + ); + --spectrum-alias-button-primary-border-color-down: var( + --spectrum-alias-button-primary-background-color-down + ); + --spectrum-alias-button-primary-border-color-key-focus: var( + --spectrum-alias-button-primary-background-color-key-focus + ); + --spectrum-alias-button-primary-border-color: var( + --spectrum-alias-button-primary-border-color-default + ); + --spectrum-alias-button-primary-text-color-default: var( + --spectrum-global-color-gray-800 + ); + --spectrum-alias-button-primary-text-color-hover: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-button-primary-text-color-down: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-button-primary-text-color-key-focus: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-button-primary-text-color: var( + --spectrum-alias-button-primary-text-color-default + ); + --spectrum-alias-button-primary-icon-color-default: var( + --spectrum-alias-button-primary-text-color-default + ); + --spectrum-alias-button-primary-icon-color-hover: var( + --spectrum-alias-button-primary-text-color-hover + ); + --spectrum-alias-button-primary-icon-color-down: var( + --spectrum-alias-button-primary-text-color-down + ); + --spectrum-alias-button-primary-icon-color-key-focus: var( + --spectrum-alias-button-primary-text-color-key-focus + ); + --spectrum-alias-button-primary-icon-color: var( + --spectrum-alias-button-primary-icon-color-default + ); + --spectrum-alias-button-secondary-background-color-default: var( + --spectrum-alias-background-color-transparent + ); + --spectrum-alias-button-secondary-background-color-hover: var( + --spectrum-global-color-gray-700 + ); + --spectrum-alias-button-secondary-background-color-down: var( + --spectrum-global-color-gray-800 + ); + --spectrum-alias-button-secondary-background-color-key-focus: var( + --spectrum-global-color-gray-700 + ); + --spectrum-alias-button-secondary-background-color: var( + --spectrum-alias-button-secondary-background-color-default + ); + --spectrum-alias-button-secondary-border-color-default: var( + --spectrum-global-color-gray-700 + ); + --spectrum-alias-button-secondary-border-color-hover: var( + --spectrum-alias-button-secondary-background-color-hover + ); + --spectrum-alias-button-secondary-border-color-down: var( + --spectrum-alias-button-secondary-background-color-down + ); + --spectrum-alias-button-secondary-border-color-key-focus: var( + --spectrum-alias-button-secondary-background-color-key-focus + ); + --spectrum-alias-button-secondary-border-color: var( + --spectrum-alias-button-secondary-border-color-default + ); + --spectrum-alias-button-secondary-text-color-default: var( + --spectrum-global-color-gray-700 + ); + --spectrum-alias-button-secondary-text-color-hover: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-button-secondary-text-color-down: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-button-secondary-text-color-key-focus: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-button-secondary-text-color: var( + --spectrum-alias-button-secondary-text-color-default + ); + --spectrum-alias-button-secondary-icon-color-default: var( + --spectrum-alias-button-secondary-text-color-default + ); + --spectrum-alias-button-secondary-icon-color-hover: var( + --spectrum-alias-button-secondary-text-color-hover + ); + --spectrum-alias-button-secondary-icon-color-down: var( + --spectrum-alias-button-secondary-text-color-down + ); + --spectrum-alias-button-secondary-icon-color-key-focus: var( + --spectrum-alias-button-secondary-text-color-key-focus + ); + --spectrum-alias-button-secondary-icon-color: var( + --spectrum-alias-button-secondary-icon-color-default + ); + --spectrum-alias-button-negative-background-color-default: var( + --spectrum-alias-background-color-transparent + ); + --spectrum-alias-button-negative-background-color-hover: var( + --spectrum-semantic-negative-text-color-small + ); + --spectrum-alias-button-negative-background-color-down: var( + --spectrum-global-color-red-700 + ); + --spectrum-alias-button-negative-background-color-key-focus: var( + --spectrum-semantic-negative-text-color-small + ); + --spectrum-alias-button-negative-background-color: var( + --spectrum-alias-button-negative-background-color-default + ); + --spectrum-alias-button-negative-border-color-default: var( + --spectrum-semantic-negative-text-color-small + ); + --spectrum-alias-button-negative-border-color-hover: var( + --spectrum-semantic-negative-text-color-small + ); + --spectrum-alias-button-negative-border-color-down: var( + --spectrum-global-color-red-700 + ); + --spectrum-alias-button-negative-border-color-key-focus: var( + --spectrum-semantic-negative-text-color-small + ); + --spectrum-alias-button-negative-border-color: var( + --spectrum-alias-button-negative-border-color-default + ); + --spectrum-alias-button-negative-text-color-default: var( + --spectrum-semantic-negative-text-color-small + ); + --spectrum-alias-button-negative-text-color-hover: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-button-negative-text-color-down: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-button-negative-text-color-key-focus: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-button-negative-text-color: var( + --spectrum-alias-button-negative-text-color-default + ); + --spectrum-alias-button-negative-icon-color-default: var( + --spectrum-alias-button-negative-text-color-default + ); + --spectrum-alias-button-negative-icon-color-hover: var( + --spectrum-alias-button-negative-text-color-hover + ); + --spectrum-alias-button-negative-icon-color-down: var( + --spectrum-alias-button-negative-text-color-down + ); + --spectrum-alias-button-negative-icon-color-key-focus: var( + --spectrum-alias-button-negative-text-color-key-focus + ); + --spectrum-alias-button-negative-icon-color: var( + --spectrum-alias-button-negative-icon-color-default + ); --spectrum-alias-input-border-color-disabled: var( --spectrum-alias-border-color-transparent ); @@ -2136,6 +2806,92 @@ --spectrum-alias-background-color-yellow: var( --spectrum-alias-background-color-yellow-default ); + --spectrum-alias-infieldbutton-background-color: var( + --spectrum-global-color-gray-200 + ); + --spectrum-alias-infieldbutton-fill-loudnessLow-border-color-disabled: transparent; + --spectrum-alias-infieldbutton-fill-loudnessMedium-border-color-disabled: transparent; + --spectrum-alias-infieldbutton-fill-loudnessHigh-border-color-disabled: var( + --spectrum-alias-component-background-color-disabled + ); + --spectrum-alias-infieldbutton-fill-border-color-default: var( + --spectrum-alias-input-border-color-default + ); + --spectrum-alias-infieldbutton-fill-border-color-hover: var( + --spectrum-alias-input-border-color-hover + ); + --spectrum-alias-infieldbutton-fill-border-color-down: var( + --spectrum-alias-input-border-color-down + ); + --spectrum-alias-infieldbutton-fill-border-color-mouse-focus: var( + --spectrum-alias-input-border-color-mouse-focus + ); + --spectrum-alias-infieldbutton-fill-border-color-key-focus: var( + --spectrum-alias-input-border-color-key-focus + ); + --spectrum-alias-infieldbutton-fill-loudnessLow-background-color-default: transparent; + --spectrum-alias-infieldbutton-fill-loudnessLow-background-color-hover: transparent; + --spectrum-alias-infieldbutton-fill-loudnessLow-background-color-down: transparent; + --spectrum-alias-infieldbutton-fill-loudnessLow-background-color-key-focus: transparent; + --spectrum-alias-infieldbutton-fill-loudnessLow-background-color-disabled: transparent; + --spectrum-alias-infieldbutton-fill-loudnessMedium-background-color-default: var( + --spectrum-alias-infieldbutton-fill-loudnessLow-background-color-default + ); + --spectrum-alias-infieldbutton-fill-loudnessMedium-background-color-hover: var( + --spectrum-alias-infieldbutton-fill-loudnessLow-background-color-hover + ); + --spectrum-alias-infieldbutton-fill-loudnessMedium-background-color-down: var( + --spectrum-alias-infieldbutton-fill-loudnessLow-background-color-down + ); + --spectrum-alias-infieldbutton-fill-loudnessMedium-background-color-key-focus: var( + --spectrum-alias-infieldbutton-fill-loudnessLow-background-color-key-focus + ); + --spectrum-alias-infieldbutton-fill-loudnessMedium-background-color-disabled: transparent; + --spectrum-alias-infieldbutton-fill-loudnessHigh-background-color-default: var( + --spectrum-alias-component-background-color-default + ); + --spectrum-alias-infieldbutton-fill-loudnessHigh-background-color-hover: var( + --spectrum-alias-component-background-color-hover + ); + --spectrum-alias-infieldbutton-fill-loudnessHigh-background-color-down: var( + --spectrum-alias-component-background-color-down + ); + --spectrum-alias-infieldbutton-fill-loudnessHigh-background-color-key-focus: var( + --spectrum-alias-component-background-color-key-focus + ); + --spectrum-alias-infieldbutton-fill-loudnessHigh-background-color-disabled: var( + --spectrum-alias-component-background-color-disabled + ); + --spectrum-alias-actionbutton-staticBlack-border-color-default: #0006; + --spectrum-alias-actionbutton-staticBlack-background-color-default: transparent; + --spectrum-alias-actionbutton-staticBlack-border-color-hover: #0000008c; + --spectrum-alias-actionbutton-staticBlack-background-color-hover: #00000040; + --spectrum-alias-actionbutton-staticBlack-border-color-down: #000000b3; + --spectrum-alias-actionbutton-staticBlack-background-color-down: #0006; + --spectrum-alias-actionbutton-staticBlack-border-color-key-focus: #0000008c; + --spectrum-alias-actionbutton-staticBlack-background-color-key-focus: #00000040; + --spectrum-alias-actionbutton-staticBlack-border-color-disabled: #00000040; + --spectrum-alias-actionbutton-staticBlack-background-color-disabled: transparent; + --spectrum-alias-actionbutton-staticBlack-border-color-disabled-selected: transparent; + --spectrum-alias-actionbutton-staticBlack-background-color-disabled-selected: #0000001a; + --spectrum-alias-actionbutton-staticWhite-border-color-default: #fff6; + --spectrum-alias-actionbutton-staticWhite-background-color-default: transparent; + --spectrum-alias-actionbutton-staticWhite-border-color-hover: #ffffff8c; + --spectrum-alias-actionbutton-staticWhite-background-color-hover: #ffffff40; + --spectrum-alias-actionbutton-staticWhite-border-color-down: #ffffffb3; + --spectrum-alias-actionbutton-staticWhite-background-color-down: #fff6; + --spectrum-alias-actionbutton-staticWhite-border-color-key-focus: #ffffff8c; + --spectrum-alias-actionbutton-staticWhite-background-color-key-focus: #ffffff40; + --spectrum-alias-actionbutton-staticWhite-border-color-disabled: #ffffff40; + --spectrum-alias-actionbutton-staticWhite-background-color-disabled: transparent; + --spectrum-alias-actionbutton-staticWhite-border-color-disabled-selected: transparent; + --spectrum-alias-actionbutton-staticWhite-background-color-disabled-selected: #ffffff1a; + --spectrum-alias-tabs-divider-background-color-default: var( + --spectrum-global-color-gray-300 + ); + --spectrum-alias-tabs-divider-background-color-quiet: var( + --spectrum-alias-background-color-transparent + ); --spectrum-alias-tabitem-text-color-default: var( --spectrum-alias-label-text-color ); @@ -2288,6 +3044,36 @@ --spectrum-alias-text-color-overbackground-disabled: #fff3; --spectrum-alias-text-color-quiet-overbackground-disabled: #fff3; --spectrum-alias-heading-text-color: var(--spectrum-global-color-gray-900); + --spectrum-alias-link-primary-text-color-default: var( + --spectrum-global-color-blue-600 + ); + --spectrum-alias-link-primary-text-color-hover: var( + --spectrum-global-color-blue-600 + ); + --spectrum-alias-link-primary-text-color-down: var( + --spectrum-global-color-blue-700 + ); + --spectrum-alias-link-primary-text-color-key-focus: var( + --spectrum-alias-text-color-key-focus + ); + --spectrum-alias-link-primary-text-color: var( + --spectrum-alias-link-primary-text-color-default + ); + --spectrum-alias-link-secondary-text-color-default: var( + --spectrum-alias-link-primary-text-color-default + ); + --spectrum-alias-link-secondary-text-color-hover: var( + --spectrum-alias-link-primary-text-color-hover + ); + --spectrum-alias-link-secondary-text-color-down: var( + --spectrum-alias-link-primary-text-color-down + ); + --spectrum-alias-link-secondary-text-color-key-focus: var( + --spectrum-alias-link-primary-text-color-key-focus + ); + --spectrum-alias-link-secondary-text-color: var( + --spectrum-alias-link-secondary-text-color-default + ); --spectrum-alias-border-color: var(--spectrum-global-color-gray-400); --spectrum-alias-border-color-hover: var(--spectrum-global-color-gray-500); --spectrum-alias-border-color-down: var(--spectrum-global-color-gray-500); @@ -2327,6 +3113,12 @@ --spectrum-alias-track-color-disabled: var( --spectrum-global-color-gray-300 ); + --spectrum-alias-thumbnail-darksquare-background-color: var( + --spectrum-global-color-gray-300 + ); + --spectrum-alias-thumbnail-lightsquare-background-color: var( + --spectrum-global-color-static-white + ); --spectrum-alias-track-color-overbackground: #fff3; --spectrum-alias-icon-color: var(--spectrum-global-color-gray-700); --spectrum-alias-icon-color-overbackground: var( diff --git a/tools/styles/spectrum-scale-large.css b/tools/styles/spectrum-scale-large.css index 5e9b4b0f94..d356820f46 100644 --- a/tools/styles/spectrum-scale-large.css +++ b/tools/styles/spectrum-scale-large.css @@ -129,6 +129,9 @@ ); --spectrum-alias-control-three-width-l: 41px; --spectrum-alias-control-three-width-xl: 46px; + --spectrum-alias-search-padding-left-m: var( + --spectrum-global-dimension-static-size-150 + ); --spectrum-alias-focus-ring-border-radius-regular: var( --spectrum-global-dimension-static-size-115 ); @@ -267,6 +270,19 @@ --spectrum-alias-ui-icon-asterisk-size-300: var( --spectrum-global-dimension-static-size-150 ); + --spectrum-alias-avatar-size-100: 26px; + --spectrum-alias-avatar-size-400: 36px; + --spectrum-alias-avatar-size-600: 46px; + --spectrum-alias-tag-icon-size-l: var( + --spectrum-global-dimension-static-size-300 + ); + --spectrum-alias-tag-focusring-border-radius: var( + --spectrum-global-dimension-static-size-75 + ); + --spectrum-button-m-primary-outline-texticon-padding-left: 17px; + --spectrum-colorwheel-min-width: var( + --spectrum-global-dimension-static-size-2600 + ); --spectrum-dialog-confirm-title-text-size: var( --spectrum-alias-heading-xs-text-size ); diff --git a/tools/styles/spectrum-scale-medium.css b/tools/styles/spectrum-scale-medium.css index e6ab5a2bc3..6568129fef 100644 --- a/tools/styles/spectrum-scale-medium.css +++ b/tools/styles/spectrum-scale-medium.css @@ -127,6 +127,9 @@ ); --spectrum-alias-control-three-width-l: 29px; --spectrum-alias-control-three-width-xl: 33px; + --spectrum-alias-search-padding-left-m: var( + --spectrum-global-dimension-size-125 + ); --spectrum-alias-focus-ring-border-radius-regular: var( --spectrum-global-dimension-static-size-100 ); @@ -265,6 +268,19 @@ --spectrum-alias-ui-icon-asterisk-size-300: var( --spectrum-global-dimension-static-size-125 ); + --spectrum-alias-avatar-size-100: var(--spectrum-global-dimension-size-250); + --spectrum-alias-avatar-size-400: var(--spectrum-global-dimension-size-350); + --spectrum-alias-avatar-size-600: var(--spectrum-global-dimension-size-450); + --spectrum-alias-tag-icon-size-l: var( + --spectrum-global-dimension-static-size-250 + ); + --spectrum-alias-tag-focusring-border-radius: var( + --spectrum-global-dimension-static-size-65 + ); + --spectrum-button-m-primary-outline-texticon-padding-left: var( + --spectrum-global-dimension-size-175 + ); + --spectrum-colorwheel-min-width: var(--spectrum-global-dimension-size-2400); --spectrum-dialog-confirm-title-text-size: var( --spectrum-alias-heading-s-text-size ); diff --git a/tools/styles/spectrum-two/core-global.css b/tools/styles/spectrum-two/core-global.css new file mode 100644 index 0000000000..9df26c07db --- /dev/null +++ b/tools/styles/spectrum-two/core-global.css @@ -0,0 +1,17 @@ +/* +Copyright 2020 Adobe. All rights reserved. +This file is licensed to you under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. You may obtain a copy +of the License at http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software distributed under +the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS +OF ANY KIND, either express or implied. See the License for the specific language +governing permissions and limitations under the License. +*/ + +@import './spectrum-core-global.css'; + +:host, +:root { + -webkit-tap-highlight-color: rgb(0 0 0 / 0%); +} diff --git a/tools/styles/spectrum-two/scale-large.css b/tools/styles/spectrum-two/scale-large.css new file mode 100644 index 0000000000..e71510e515 --- /dev/null +++ b/tools/styles/spectrum-two/scale-large.css @@ -0,0 +1,19 @@ +/* +Copyright 2020 Adobe. All rights reserved. +This file is licensed to you under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. You may obtain a copy +of the License at http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under +the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS +OF ANY KIND, either express or implied. See the License for the specific language +governing permissions and limitations under the License. +*/ + +@import './spectrum-scale-large.css'; + +:host, +:root { + --spectrum-global-alias-appframe-border-size: 1px; + --swc-scale-factor: 1.25; +} diff --git a/tools/styles/spectrum-two/scale-medium.css b/tools/styles/spectrum-two/scale-medium.css new file mode 100644 index 0000000000..a7641bd609 --- /dev/null +++ b/tools/styles/spectrum-two/scale-medium.css @@ -0,0 +1,19 @@ +/* +Copyright 2020 Adobe. All rights reserved. +This file is licensed to you under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. You may obtain a copy +of the License at http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under +the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS +OF ANY KIND, either express or implied. See the License for the specific language +governing permissions and limitations under the License. +*/ + +@import './spectrum-scale-medium.css'; + +:host, +:root { + --spectrum-global-alias-appframe-border-size: 2px; + --swc-scale-factor: 1; +} diff --git a/tools/styles/spectrum-two/spectrum-core-global.css b/tools/styles/spectrum-two/spectrum-core-global.css new file mode 100644 index 0000000000..7df98ecf56 --- /dev/null +++ b/tools/styles/spectrum-two/spectrum-core-global.css @@ -0,0 +1,3241 @@ +:root, +:host { + --spectrum-global-animation-linear: cubic-bezier(0, 0, 1, 1); + --spectrum-global-animation-duration-0: 0s; + --spectrum-global-animation-duration-100: 0.13s; + --spectrum-global-animation-duration-200: 0.16s; + --spectrum-global-animation-duration-300: 0.19s; + --spectrum-global-animation-duration-400: 0.22s; + --spectrum-global-animation-duration-500: 0.25s; + --spectrum-global-animation-duration-600: 0.3s; + --spectrum-global-animation-duration-700: 0.35s; + --spectrum-global-animation-duration-800: 0.4s; + --spectrum-global-animation-duration-900: 0.45s; + --spectrum-global-animation-duration-1000: 0.5s; + --spectrum-global-animation-duration-2000: 1s; + --spectrum-global-animation-duration-4000: 2s; + --spectrum-global-animation-ease-in-out: cubic-bezier(0.45, 0, 0.4, 1); + --spectrum-global-animation-ease-in: cubic-bezier(0.5, 0, 1, 1); + --spectrum-global-animation-ease-out: cubic-bezier(0, 0, 0.4, 1); + --spectrum-global-animation-ease-linear: cubic-bezier(0, 0, 1, 1); + --spectrum-global-color-status: Verified; + --spectrum-global-color-version: 5.1; + --spectrum-global-color-static-black-rgb: 0, 0, 0; + --spectrum-global-color-static-black: rgb( + var(--spectrum-global-color-static-black-rgb) + ); + --spectrum-global-color-static-white-rgb: 255, 255, 255; + --spectrum-global-color-static-white: rgb( + var(--spectrum-global-color-static-white-rgb) + ); + --spectrum-global-color-static-blue-rgb: 0, 87, 191; + --spectrum-global-color-static-blue: rgb( + var(--spectrum-global-color-static-blue-rgb) + ); + --spectrum-global-color-static-gray-50-rgb: 255, 255, 255; + --spectrum-global-color-static-gray-50: rgb( + var(--spectrum-global-color-static-gray-50-rgb) + ); + --spectrum-global-color-static-gray-75-rgb: 255, 255, 255; + --spectrum-global-color-static-gray-75: rgb( + var(--spectrum-global-color-static-gray-75-rgb) + ); + --spectrum-global-color-static-gray-100-rgb: 255, 255, 255; + --spectrum-global-color-static-gray-100: rgb( + var(--spectrum-global-color-static-gray-100-rgb) + ); + --spectrum-global-color-static-gray-200-rgb: 235, 235, 235; + --spectrum-global-color-static-gray-200: rgb( + var(--spectrum-global-color-static-gray-200-rgb) + ); + --spectrum-global-color-static-gray-300-rgb: 217, 217, 217; + --spectrum-global-color-static-gray-300: rgb( + var(--spectrum-global-color-static-gray-300-rgb) + ); + --spectrum-global-color-static-gray-400-rgb: 179, 179, 179; + --spectrum-global-color-static-gray-400: rgb( + var(--spectrum-global-color-static-gray-400-rgb) + ); + --spectrum-global-color-static-gray-500-rgb: 146, 146, 146; + --spectrum-global-color-static-gray-500: rgb( + var(--spectrum-global-color-static-gray-500-rgb) + ); + --spectrum-global-color-static-gray-600-rgb: 110, 110, 110; + --spectrum-global-color-static-gray-600: rgb( + var(--spectrum-global-color-static-gray-600-rgb) + ); + --spectrum-global-color-static-gray-700-rgb: 71, 71, 71; + --spectrum-global-color-static-gray-700: rgb( + var(--spectrum-global-color-static-gray-700-rgb) + ); + --spectrum-global-color-static-gray-800-rgb: 34, 34, 34; + --spectrum-global-color-static-gray-800: rgb( + var(--spectrum-global-color-static-gray-800-rgb) + ); + --spectrum-global-color-static-gray-900-rgb: 0, 0, 0; + --spectrum-global-color-static-gray-900: rgb( + var(--spectrum-global-color-static-gray-900-rgb) + ); + --spectrum-global-color-static-red-400-rgb: 237, 64, 48; + --spectrum-global-color-static-red-400: rgb( + var(--spectrum-global-color-static-red-400-rgb) + ); + --spectrum-global-color-static-red-500-rgb: 217, 28, 21; + --spectrum-global-color-static-red-500: rgb( + var(--spectrum-global-color-static-red-500-rgb) + ); + --spectrum-global-color-static-red-600-rgb: 187, 2, 2; + --spectrum-global-color-static-red-600: rgb( + var(--spectrum-global-color-static-red-600-rgb) + ); + --spectrum-global-color-static-red-700-rgb: 154, 0, 0; + --spectrum-global-color-static-red-700: rgb( + var(--spectrum-global-color-static-red-700-rgb) + ); + --spectrum-global-color-static-red-800-rgb: 124, 0, 0; + --spectrum-global-color-static-red-800: rgb( + var(--spectrum-global-color-static-red-800-rgb) + ); + --spectrum-global-color-static-orange-400-rgb: 250, 139, 26; + --spectrum-global-color-static-orange-400: rgb( + var(--spectrum-global-color-static-orange-400-rgb) + ); + --spectrum-global-color-static-orange-500-rgb: 233, 117, 0; + --spectrum-global-color-static-orange-500: rgb( + var(--spectrum-global-color-static-orange-500-rgb) + ); + --spectrum-global-color-static-orange-600-rgb: 209, 97, 0; + --spectrum-global-color-static-orange-600: rgb( + var(--spectrum-global-color-static-orange-600-rgb) + ); + --spectrum-global-color-static-orange-700-rgb: 182, 80, 0; + --spectrum-global-color-static-orange-700: rgb( + var(--spectrum-global-color-static-orange-700-rgb) + ); + --spectrum-global-color-static-orange-800-rgb: 155, 64, 0; + --spectrum-global-color-static-orange-800: rgb( + var(--spectrum-global-color-static-orange-800-rgb) + ); + --spectrum-global-color-static-yellow-200-rgb: 250, 237, 123; + --spectrum-global-color-static-yellow-200: rgb( + var(--spectrum-global-color-static-yellow-200-rgb) + ); + --spectrum-global-color-static-yellow-300-rgb: 250, 224, 23; + --spectrum-global-color-static-yellow-300: rgb( + var(--spectrum-global-color-static-yellow-300-rgb) + ); + --spectrum-global-color-static-yellow-400-rgb: 238, 205, 0; + --spectrum-global-color-static-yellow-400: rgb( + var(--spectrum-global-color-static-yellow-400-rgb) + ); + --spectrum-global-color-static-yellow-500-rgb: 221, 185, 0; + --spectrum-global-color-static-yellow-500: rgb( + var(--spectrum-global-color-static-yellow-500-rgb) + ); + --spectrum-global-color-static-yellow-600-rgb: 201, 164, 0; + --spectrum-global-color-static-yellow-600: rgb( + var(--spectrum-global-color-static-yellow-600-rgb) + ); + --spectrum-global-color-static-yellow-700-rgb: 181, 144, 0; + --spectrum-global-color-static-yellow-700: rgb( + var(--spectrum-global-color-static-yellow-700-rgb) + ); + --spectrum-global-color-static-yellow-800-rgb: 160, 125, 0; + --spectrum-global-color-static-yellow-800: rgb( + var(--spectrum-global-color-static-yellow-800-rgb) + ); + --spectrum-global-color-static-chartreuse-300-rgb: 176, 222, 27; + --spectrum-global-color-static-chartreuse-300: rgb( + var(--spectrum-global-color-static-chartreuse-300-rgb) + ); + --spectrum-global-color-static-chartreuse-400-rgb: 157, 203, 13; + --spectrum-global-color-static-chartreuse-400: rgb( + var(--spectrum-global-color-static-chartreuse-400-rgb) + ); + --spectrum-global-color-static-chartreuse-500-rgb: 139, 182, 4; + --spectrum-global-color-static-chartreuse-500: rgb( + var(--spectrum-global-color-static-chartreuse-500-rgb) + ); + --spectrum-global-color-static-chartreuse-600-rgb: 122, 162, 0; + --spectrum-global-color-static-chartreuse-600: rgb( + var(--spectrum-global-color-static-chartreuse-600-rgb) + ); + --spectrum-global-color-static-chartreuse-700-rgb: 106, 141, 0; + --spectrum-global-color-static-chartreuse-700: rgb( + var(--spectrum-global-color-static-chartreuse-700-rgb) + ); + --spectrum-global-color-static-chartreuse-800-rgb: 90, 120, 0; + --spectrum-global-color-static-chartreuse-800: rgb( + var(--spectrum-global-color-static-chartreuse-800-rgb) + ); + --spectrum-global-color-static-celery-200-rgb: 126, 229, 114; + --spectrum-global-color-static-celery-200: rgb( + var(--spectrum-global-color-static-celery-200-rgb) + ); + --spectrum-global-color-static-celery-300-rgb: 87, 212, 86; + --spectrum-global-color-static-celery-300: rgb( + var(--spectrum-global-color-static-celery-300-rgb) + ); + --spectrum-global-color-static-celery-400-rgb: 48, 193, 61; + --spectrum-global-color-static-celery-400: rgb( + var(--spectrum-global-color-static-celery-400-rgb) + ); + --spectrum-global-color-static-celery-500-rgb: 15, 172, 38; + --spectrum-global-color-static-celery-500: rgb( + var(--spectrum-global-color-static-celery-500-rgb) + ); + --spectrum-global-color-static-celery-600-rgb: 0, 150, 20; + --spectrum-global-color-static-celery-600: rgb( + var(--spectrum-global-color-static-celery-600-rgb) + ); + --spectrum-global-color-static-celery-700-rgb: 0, 128, 15; + --spectrum-global-color-static-celery-700: rgb( + var(--spectrum-global-color-static-celery-700-rgb) + ); + --spectrum-global-color-static-celery-800-rgb: 0, 107, 15; + --spectrum-global-color-static-celery-800: rgb( + var(--spectrum-global-color-static-celery-800-rgb) + ); + --spectrum-global-color-static-green-400-rgb: 29, 169, 115; + --spectrum-global-color-static-green-400: rgb( + var(--spectrum-global-color-static-green-400-rgb) + ); + --spectrum-global-color-static-green-500-rgb: 0, 148, 97; + --spectrum-global-color-static-green-500: rgb( + var(--spectrum-global-color-static-green-500-rgb) + ); + --spectrum-global-color-static-green-600-rgb: 0, 126, 80; + --spectrum-global-color-static-green-600: rgb( + var(--spectrum-global-color-static-green-600-rgb) + ); + --spectrum-global-color-static-green-700-rgb: 0, 105, 65; + --spectrum-global-color-static-green-700: rgb( + var(--spectrum-global-color-static-green-700-rgb) + ); + --spectrum-global-color-static-green-800-rgb: 0, 86, 53; + --spectrum-global-color-static-green-800: rgb( + var(--spectrum-global-color-static-green-800-rgb) + ); + --spectrum-global-color-static-seafoam-200-rgb: 75, 206, 199; + --spectrum-global-color-static-seafoam-200: rgb( + var(--spectrum-global-color-static-seafoam-200-rgb) + ); + --spectrum-global-color-static-seafoam-300-rgb: 32, 187, 180; + --spectrum-global-color-static-seafoam-300: rgb( + var(--spectrum-global-color-static-seafoam-300-rgb) + ); + --spectrum-global-color-static-seafoam-400-rgb: 0, 166, 160; + --spectrum-global-color-static-seafoam-400: rgb( + var(--spectrum-global-color-static-seafoam-400-rgb) + ); + --spectrum-global-color-static-seafoam-500-rgb: 0, 145, 139; + --spectrum-global-color-static-seafoam-500: rgb( + var(--spectrum-global-color-static-seafoam-500-rgb) + ); + --spectrum-global-color-static-seafoam-600-rgb: 0, 124, 118; + --spectrum-global-color-static-seafoam-600: rgb( + var(--spectrum-global-color-static-seafoam-600-rgb) + ); + --spectrum-global-color-static-seafoam-700-rgb: 0, 103, 99; + --spectrum-global-color-static-seafoam-700: rgb( + var(--spectrum-global-color-static-seafoam-700-rgb) + ); + --spectrum-global-color-static-seafoam-800-rgb: 10, 83, 80; + --spectrum-global-color-static-seafoam-800: rgb( + var(--spectrum-global-color-static-seafoam-800-rgb) + ); + --spectrum-global-color-static-blue-200-rgb: 130, 193, 251; + --spectrum-global-color-static-blue-200: rgb( + var(--spectrum-global-color-static-blue-200-rgb) + ); + --spectrum-global-color-static-blue-300-rgb: 98, 173, 247; + --spectrum-global-color-static-blue-300: rgb( + var(--spectrum-global-color-static-blue-300-rgb) + ); + --spectrum-global-color-static-blue-400-rgb: 66, 151, 244; + --spectrum-global-color-static-blue-400: rgb( + var(--spectrum-global-color-static-blue-400-rgb) + ); + --spectrum-global-color-static-blue-500-rgb: 27, 127, 245; + --spectrum-global-color-static-blue-500: rgb( + var(--spectrum-global-color-static-blue-500-rgb) + ); + --spectrum-global-color-static-blue-600-rgb: 4, 105, 227; + --spectrum-global-color-static-blue-600: rgb( + var(--spectrum-global-color-static-blue-600-rgb) + ); + --spectrum-global-color-static-blue-700-rgb: 0, 87, 190; + --spectrum-global-color-static-blue-700: rgb( + var(--spectrum-global-color-static-blue-700-rgb) + ); + --spectrum-global-color-static-blue-800-rgb: 0, 72, 153; + --spectrum-global-color-static-blue-800: rgb( + var(--spectrum-global-color-static-blue-800-rgb) + ); + --spectrum-global-color-static-indigo-200-rgb: 178, 181, 255; + --spectrum-global-color-static-indigo-200: rgb( + var(--spectrum-global-color-static-indigo-200-rgb) + ); + --spectrum-global-color-static-indigo-300-rgb: 155, 159, 255; + --spectrum-global-color-static-indigo-300: rgb( + var(--spectrum-global-color-static-indigo-300-rgb) + ); + --spectrum-global-color-static-indigo-400-rgb: 132, 137, 253; + --spectrum-global-color-static-indigo-400: rgb( + var(--spectrum-global-color-static-indigo-400-rgb) + ); + --spectrum-global-color-static-indigo-500-rgb: 109, 115, 246; + --spectrum-global-color-static-indigo-500: rgb( + var(--spectrum-global-color-static-indigo-500-rgb) + ); + --spectrum-global-color-static-indigo-600-rgb: 87, 93, 232; + --spectrum-global-color-static-indigo-600: rgb( + var(--spectrum-global-color-static-indigo-600-rgb) + ); + --spectrum-global-color-static-indigo-700-rgb: 68, 74, 208; + --spectrum-global-color-static-indigo-700: rgb( + var(--spectrum-global-color-static-indigo-700-rgb) + ); + --spectrum-global-color-static-indigo-800-rgb: 68, 74, 208; + --spectrum-global-color-static-indigo-800: rgb( + var(--spectrum-global-color-static-indigo-800-rgb) + ); + --spectrum-global-color-static-purple-400-rgb: 178, 121, 250; + --spectrum-global-color-static-purple-400: rgb( + var(--spectrum-global-color-static-purple-400-rgb) + ); + --spectrum-global-color-static-purple-500-rgb: 161, 93, 246; + --spectrum-global-color-static-purple-500: rgb( + var(--spectrum-global-color-static-purple-500-rgb) + ); + --spectrum-global-color-static-purple-600-rgb: 142, 67, 234; + --spectrum-global-color-static-purple-600: rgb( + var(--spectrum-global-color-static-purple-600-rgb) + ); + --spectrum-global-color-static-purple-700-rgb: 120, 43, 216; + --spectrum-global-color-static-purple-700: rgb( + var(--spectrum-global-color-static-purple-700-rgb) + ); + --spectrum-global-color-static-purple-800-rgb: 98, 23, 190; + --spectrum-global-color-static-purple-800: rgb( + var(--spectrum-global-color-static-purple-800-rgb) + ); + --spectrum-global-color-static-fuchsia-400-rgb: 228, 93, 230; + --spectrum-global-color-static-fuchsia-400: rgb( + var(--spectrum-global-color-static-fuchsia-400-rgb) + ); + --spectrum-global-color-static-fuchsia-500-rgb: 211, 63, 212; + --spectrum-global-color-static-fuchsia-500: rgb( + var(--spectrum-global-color-static-fuchsia-500-rgb) + ); + --spectrum-global-color-static-fuchsia-600-rgb: 188, 39, 187; + --spectrum-global-color-static-fuchsia-600: rgb( + var(--spectrum-global-color-static-fuchsia-600-rgb) + ); + --spectrum-global-color-static-fuchsia-700-rgb: 163, 10, 163; + --spectrum-global-color-static-fuchsia-700: rgb( + var(--spectrum-global-color-static-fuchsia-700-rgb) + ); + --spectrum-global-color-static-fuchsia-800-rgb: 135, 0, 136; + --spectrum-global-color-static-fuchsia-800: rgb( + var(--spectrum-global-color-static-fuchsia-800-rgb) + ); + --spectrum-global-color-static-magenta-200-rgb: 253, 127, 175; + --spectrum-global-color-static-magenta-200: rgb( + var(--spectrum-global-color-static-magenta-200-rgb) + ); + --spectrum-global-color-static-magenta-300-rgb: 242, 98, 157; + --spectrum-global-color-static-magenta-300: rgb( + var(--spectrum-global-color-static-magenta-300-rgb) + ); + --spectrum-global-color-static-magenta-400-rgb: 226, 68, 135; + --spectrum-global-color-static-magenta-400: rgb( + var(--spectrum-global-color-static-magenta-400-rgb) + ); + --spectrum-global-color-static-magenta-500-rgb: 205, 40, 111; + --spectrum-global-color-static-magenta-500: rgb( + var(--spectrum-global-color-static-magenta-500-rgb) + ); + --spectrum-global-color-static-magenta-600-rgb: 179, 15, 89; + --spectrum-global-color-static-magenta-600: rgb( + var(--spectrum-global-color-static-magenta-600-rgb) + ); + --spectrum-global-color-static-magenta-700-rgb: 149, 0, 72; + --spectrum-global-color-static-magenta-700: rgb( + var(--spectrum-global-color-static-magenta-700-rgb) + ); + --spectrum-global-color-static-magenta-800-rgb: 119, 0, 58; + --spectrum-global-color-static-magenta-800: rgb( + var(--spectrum-global-color-static-magenta-800-rgb) + ); + --spectrum-global-color-static-transparent-white-200: #ffffff1a; + --spectrum-global-color-static-transparent-white-300: #ffffff40; + --spectrum-global-color-static-transparent-white-400: #fff6; + --spectrum-global-color-static-transparent-white-500: #ffffff8c; + --spectrum-global-color-static-transparent-white-600: #ffffffb3; + --spectrum-global-color-static-transparent-white-700: #fffc; + --spectrum-global-color-static-transparent-white-800: #ffffffe6; + --spectrum-global-color-static-transparent-white-900-rgb: 255, 255, 255; + --spectrum-global-color-static-transparent-white-900: rgb( + var(--spectrum-global-color-static-transparent-white-900-rgb) + ); + --spectrum-global-color-static-transparent-black-200: #0000001a; + --spectrum-global-color-static-transparent-black-300: #00000040; + --spectrum-global-color-static-transparent-black-400: #0006; + --spectrum-global-color-static-transparent-black-500: #0000008c; + --spectrum-global-color-static-transparent-black-600: #000000b3; + --spectrum-global-color-static-transparent-black-700: #000c; + --spectrum-global-color-static-transparent-black-800: #000000e6; + --spectrum-global-color-static-transparent-black-900-rgb: 0, 0, 0; + --spectrum-global-color-static-transparent-black-900: rgb( + var(--spectrum-global-color-static-transparent-black-900-rgb) + ); + --spectrum-global-color-sequential-cerulean: #e9fff1, #c8f1e4, #a5e3d7, + #82d5ca, #68c5c1, #54b4ba, #3fa2b2, #2991ac, #2280a2, #1f6d98, #1d5c8d, + #1a4b83, #1a3979, #1a266f, #191264, #180057; + --spectrum-global-color-sequential-forest: #ffffdf, #e2f6ba, #c4eb95, + #a4e16d, #8dd366, #77c460, #5fb65a, #48a754, #36984f, #2c894d, #237a4a, + #196b47, #105c45, #094d41, #033f3e, #00313a; + --spectrum-global-color-sequential-rose: #fff4dd, #ffddd7, #ffc5d2, #feaecb, + #fa96c4, #f57ebd, #ef64b5, #e846ad, #d238a1, #bb2e96, #a3248c, #8a1b83, + #71167c, #560f74, #370b6e, #000968; + --spectrum-global-color-diverging-orange-yellow-seafoam: #580000, #79260b, + #9c4511, #bd651a, #dd8629, #f5ad52, #fed693, #ffffe0, #bbe4d1, #76c7be, + #3ea8a6, #208288, #076769, #00494b, #002c2d; + --spectrum-global-color-diverging-red-yellow-blue: #4a001e, #751232, #a52747, + #c65154, #e47961, #f0a882, #fad4ac, #ffffe0, #bce2cf, #89c0c4, #579eb9, + #397aa8, #1c5796, #163771, #10194d; + --spectrum-global-color-diverging-red-blue: #4a001e, #731331, #9f2945, + #cc415a, #e06e85, #ed9ab0, #f8c3d9, #faf0ff, #c6d0f2, #92b2de, #5d94cb, + #2f74b3, #265191, #163670, #0b194c; + --spectrum-semantic-negative-background-color: var( + --spectrum-global-color-static-red-600 + ); + --spectrum-semantic-negative-color-default: var( + --spectrum-global-color-red-500 + ); + --spectrum-semantic-negative-color-hover: var( + --spectrum-global-color-red-600 + ); + --spectrum-semantic-negative-color-dark: var( + --spectrum-global-color-red-600 + ); + --spectrum-semantic-negative-border-color: var( + --spectrum-global-color-red-400 + ); + --spectrum-semantic-negative-icon-color: var( + --spectrum-global-color-red-600 + ); + --spectrum-semantic-negative-status-color: var( + --spectrum-global-color-red-400 + ); + --spectrum-semantic-negative-text-color-large: var( + --spectrum-global-color-red-500 + ); + --spectrum-semantic-negative-text-color-small: var( + --spectrum-global-color-red-600 + ); + --spectrum-semantic-negative-text-color-small-hover: var( + --spectrum-global-color-red-700 + ); + --spectrum-semantic-negative-text-color-small-down: var( + --spectrum-global-color-red-700 + ); + --spectrum-semantic-negative-text-color-small-key-focus: var( + --spectrum-global-color-red-600 + ); + --spectrum-semantic-negative-color-down: var( + --spectrum-global-color-red-700 + ); + --spectrum-semantic-negative-color-key-focus: var( + --spectrum-global-color-red-400 + ); + --spectrum-semantic-negative-background-color-default: var( + --spectrum-global-color-static-red-600 + ); + --spectrum-semantic-negative-background-color-hover: var( + --spectrum-global-color-static-red-700 + ); + --spectrum-semantic-negative-background-color-down: var( + --spectrum-global-color-static-red-800 + ); + --spectrum-semantic-negative-background-color-key-focus: var( + --spectrum-global-color-static-red-700 + ); + --spectrum-semantic-notice-background-color: var( + --spectrum-global-color-static-orange-600 + ); + --spectrum-semantic-notice-color-default: var( + --spectrum-global-color-orange-500 + ); + --spectrum-semantic-notice-color-dark: var( + --spectrum-global-color-orange-600 + ); + --spectrum-semantic-notice-border-color: var( + --spectrum-global-color-orange-400 + ); + --spectrum-semantic-notice-icon-color: var( + --spectrum-global-color-orange-600 + ); + --spectrum-semantic-notice-status-color: var( + --spectrum-global-color-orange-400 + ); + --spectrum-semantic-notice-text-color-large: var( + --spectrum-global-color-orange-500 + ); + --spectrum-semantic-notice-text-color-small: var( + --spectrum-global-color-orange-600 + ); + --spectrum-semantic-notice-color-down: var( + --spectrum-global-color-orange-700 + ); + --spectrum-semantic-notice-color-key-focus: var( + --spectrum-global-color-orange-400 + ); + --spectrum-semantic-notice-background-color-default: var( + --spectrum-global-color-static-orange-600 + ); + --spectrum-semantic-notice-background-color-hover: var( + --spectrum-global-color-static-orange-700 + ); + --spectrum-semantic-notice-background-color-down: var( + --spectrum-global-color-static-orange-800 + ); + --spectrum-semantic-notice-background-color-key-focus: var( + --spectrum-global-color-static-orange-700 + ); + --spectrum-semantic-positive-background-color: var( + --spectrum-global-color-static-green-600 + ); + --spectrum-semantic-positive-color-default: var( + --spectrum-global-color-green-500 + ); + --spectrum-semantic-positive-color-dark: var( + --spectrum-global-color-green-600 + ); + --spectrum-semantic-positive-border-color: var( + --spectrum-global-color-green-400 + ); + --spectrum-semantic-positive-icon-color: var( + --spectrum-global-color-green-600 + ); + --spectrum-semantic-positive-status-color: var( + --spectrum-global-color-green-400 + ); + --spectrum-semantic-positive-text-color-large: var( + --spectrum-global-color-green-500 + ); + --spectrum-semantic-positive-text-color-small: var( + --spectrum-global-color-green-600 + ); + --spectrum-semantic-positive-color-down: var( + --spectrum-global-color-green-700 + ); + --spectrum-semantic-positive-color-key-focus: var( + --spectrum-global-color-green-400 + ); + --spectrum-semantic-positive-background-color-default: var( + --spectrum-global-color-static-green-600 + ); + --spectrum-semantic-positive-background-color-hover: var( + --spectrum-global-color-static-green-700 + ); + --spectrum-semantic-positive-background-color-down: var( + --spectrum-global-color-static-green-800 + ); + --spectrum-semantic-positive-background-color-key-focus: var( + --spectrum-global-color-static-green-700 + ); + --spectrum-semantic-informative-background-color: var( + --spectrum-global-color-static-blue-600 + ); + --spectrum-semantic-informative-color-default: var( + --spectrum-global-color-blue-500 + ); + --spectrum-semantic-informative-color-dark: var( + --spectrum-global-color-blue-600 + ); + --spectrum-semantic-informative-border-color: var( + --spectrum-global-color-blue-400 + ); + --spectrum-semantic-informative-icon-color: var( + --spectrum-global-color-blue-600 + ); + --spectrum-semantic-informative-status-color: var( + --spectrum-global-color-blue-400 + ); + --spectrum-semantic-informative-text-color-large: var( + --spectrum-global-color-blue-500 + ); + --spectrum-semantic-informative-text-color-small: var( + --spectrum-global-color-blue-600 + ); + --spectrum-semantic-informative-color-down: var( + --spectrum-global-color-blue-700 + ); + --spectrum-semantic-informative-color-key-focus: var( + --spectrum-global-color-blue-400 + ); + --spectrum-semantic-informative-background-color-default: var( + --spectrum-global-color-static-blue-600 + ); + --spectrum-semantic-informative-background-color-hover: var( + --spectrum-global-color-static-blue-700 + ); + --spectrum-semantic-informative-background-color-down: var( + --spectrum-global-color-static-blue-800 + ); + --spectrum-semantic-informative-background-color-key-focus: var( + --spectrum-global-color-static-blue-700 + ); + --spectrum-semantic-cta-background-color-default: var( + --spectrum-global-color-static-blue-600 + ); + --spectrum-semantic-cta-background-color-hover: var( + --spectrum-global-color-static-blue-700 + ); + --spectrum-semantic-cta-background-color-down: var( + --spectrum-global-color-static-blue-800 + ); + --spectrum-semantic-cta-background-color-key-focus: var( + --spectrum-global-color-static-blue-700 + ); + --spectrum-semantic-emphasized-border-color-default: var( + --spectrum-global-color-blue-500 + ); + --spectrum-semantic-emphasized-border-color-hover: var( + --spectrum-global-color-blue-600 + ); + --spectrum-semantic-emphasized-border-color-down: var( + --spectrum-global-color-blue-700 + ); + --spectrum-semantic-emphasized-border-color-key-focus: var( + --spectrum-global-color-blue-600 + ); + --spectrum-semantic-neutral-background-color-default: var( + --spectrum-global-color-static-gray-700 + ); + --spectrum-semantic-neutral-background-color-hover: var( + --spectrum-global-color-static-gray-800 + ); + --spectrum-semantic-neutral-background-color-down: var( + --spectrum-global-color-static-gray-900 + ); + --spectrum-semantic-neutral-background-color-key-focus: var( + --spectrum-global-color-static-gray-800 + ); + --spectrum-semantic-presence-color-1: var( + --spectrum-global-color-static-red-500 + ); + --spectrum-semantic-presence-color-2: var( + --spectrum-global-color-static-orange-400 + ); + --spectrum-semantic-presence-color-3: var( + --spectrum-global-color-static-yellow-400 + ); + --spectrum-semantic-presence-color-4-rgb: 75, 204, 162; + --spectrum-semantic-presence-color-4: rgb( + var(--spectrum-semantic-presence-color-4-rgb) + ); + --spectrum-semantic-presence-color-5-rgb: 0, 199, 255; + --spectrum-semantic-presence-color-5: rgb( + var(--spectrum-semantic-presence-color-5-rgb) + ); + --spectrum-semantic-presence-color-6-rgb: 0, 140, 184; + --spectrum-semantic-presence-color-6: rgb( + var(--spectrum-semantic-presence-color-6-rgb) + ); + --spectrum-semantic-presence-color-7-rgb: 126, 75, 243; + --spectrum-semantic-presence-color-7: rgb( + var(--spectrum-semantic-presence-color-7-rgb) + ); + --spectrum-semantic-presence-color-8: var( + --spectrum-global-color-static-fuchsia-600 + ); + --spectrum-global-dimension-static-percent-50: 50%; + --spectrum-global-dimension-static-percent-70: 70%; + --spectrum-global-dimension-static-percent-100: 100%; + --spectrum-global-dimension-static-breakpoint-xsmall: 304px; + --spectrum-global-dimension-static-breakpoint-small: 768px; + --spectrum-global-dimension-static-breakpoint-medium: 1280px; + --spectrum-global-dimension-static-breakpoint-large: 1768px; + --spectrum-global-dimension-static-breakpoint-xlarge: 2160px; + --spectrum-global-dimension-static-grid-columns: 12; + --spectrum-global-dimension-static-grid-fluid-width: 100%; + --spectrum-global-dimension-static-grid-fixed-max-width: 1280px; + --spectrum-global-dimension-static-size-0: 0px; + --spectrum-global-dimension-static-size-10: 1px; + --spectrum-global-dimension-static-size-25: 2px; + --spectrum-global-dimension-static-size-40: 3px; + --spectrum-global-dimension-static-size-50: 4px; + --spectrum-global-dimension-static-size-65: 5px; + --spectrum-global-dimension-static-size-75: 6px; + --spectrum-global-dimension-static-size-85: 7px; + --spectrum-global-dimension-static-size-100: 8px; + --spectrum-global-dimension-static-size-115: 9px; + --spectrum-global-dimension-static-size-125: 10px; + --spectrum-global-dimension-static-size-130: 11px; + --spectrum-global-dimension-static-size-150: 12px; + --spectrum-global-dimension-static-size-160: 13px; + --spectrum-global-dimension-static-size-175: 14px; + --spectrum-global-dimension-static-size-185: 15px; + --spectrum-global-dimension-static-size-200: 16px; + --spectrum-global-dimension-static-size-225: 18px; + --spectrum-global-dimension-static-size-250: 20px; + --spectrum-global-dimension-static-size-275: 22px; + --spectrum-global-dimension-static-size-300: 24px; + --spectrum-global-dimension-static-size-325: 26px; + --spectrum-global-dimension-static-size-350: 28px; + --spectrum-global-dimension-static-size-400: 32px; + --spectrum-global-dimension-static-size-450: 36px; + --spectrum-global-dimension-static-size-500: 40px; + --spectrum-global-dimension-static-size-550: 44px; + --spectrum-global-dimension-static-size-600: 48px; + --spectrum-global-dimension-static-size-700: 56px; + --spectrum-global-dimension-static-size-800: 64px; + --spectrum-global-dimension-static-size-900: 72px; + --spectrum-global-dimension-static-size-1000: 80px; + --spectrum-global-dimension-static-size-1200: 96px; + --spectrum-global-dimension-static-size-1700: 136px; + --spectrum-global-dimension-static-size-2400: 192px; + --spectrum-global-dimension-static-size-2500: 200px; + --spectrum-global-dimension-static-size-2600: 208px; + --spectrum-global-dimension-static-size-2800: 224px; + --spectrum-global-dimension-static-size-3200: 256px; + --spectrum-global-dimension-static-size-3400: 272px; + --spectrum-global-dimension-static-size-3500: 280px; + --spectrum-global-dimension-static-size-3600: 288px; + --spectrum-global-dimension-static-size-3800: 304px; + --spectrum-global-dimension-static-size-4600: 368px; + --spectrum-global-dimension-static-size-5000: 400px; + --spectrum-global-dimension-static-size-6000: 480px; + --spectrum-global-dimension-static-size-16000: 1280px; + --spectrum-global-dimension-static-font-size-50: 11px; + --spectrum-global-dimension-static-font-size-75: 12px; + --spectrum-global-dimension-static-font-size-100: 14px; + --spectrum-global-dimension-static-font-size-150: 15px; + --spectrum-global-dimension-static-font-size-200: 16px; + --spectrum-global-dimension-static-font-size-300: 18px; + --spectrum-global-dimension-static-font-size-400: 20px; + --spectrum-global-dimension-static-font-size-500: 22px; + --spectrum-global-dimension-static-font-size-600: 25px; + --spectrum-global-dimension-static-font-size-700: 28px; + --spectrum-global-dimension-static-font-size-800: 32px; + --spectrum-global-dimension-static-font-size-900: 36px; + --spectrum-global-dimension-static-font-size-1000: 40px; + --spectrum-global-font-family-base: adobe-clean, 'Source Sans Pro', + -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, + 'Trebuchet MS', 'Lucida Grande', sans-serif; + --spectrum-global-font-family-serif: adobe-clean-serif, 'Source Serif Pro', + Georgia, serif; + --spectrum-global-font-family-code: 'Source Code Pro', Monaco, monospace; + --spectrum-global-font-weight-thin: 100; + --spectrum-global-font-weight-ultra-light: 200; + --spectrum-global-font-weight-light: 300; + --spectrum-global-font-weight-regular: 400; + --spectrum-global-font-weight-medium: 500; + --spectrum-global-font-weight-semi-bold: 600; + --spectrum-global-font-weight-bold: 700; + --spectrum-global-font-weight-extra-bold: 800; + --spectrum-global-font-weight-black: 900; + --spectrum-global-font-style-regular: normal; + --spectrum-global-font-style-italic: italic; + --spectrum-global-font-letter-spacing-none: 0; + --spectrum-global-font-letter-spacing-small: 0.0125em; + --spectrum-global-font-letter-spacing-han: 0.05em; + --spectrum-global-font-letter-spacing-medium: 0.06em; + --spectrum-global-font-line-height-large: 1.7; + --spectrum-global-font-line-height-medium: 1.5; + --spectrum-global-font-line-height-small: 1.3; + --spectrum-global-font-multiplier-0: 0em; + --spectrum-global-font-multiplier-25: 0.25em; + --spectrum-global-font-multiplier-75: 0.75em; + --spectrum-global-font-font-family-ar: myriad-arabic, adobe-clean, + 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, + Ubuntu, 'Trebuchet MS', 'Lucida Grande', sans-serif; + --spectrum-global-font-font-family-he: myriad-hebrew, adobe-clean, + 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, + Ubuntu, 'Trebuchet MS', 'Lucida Grande', sans-serif; + --spectrum-global-font-font-family-zh: adobe-clean-han-traditional, + source-han-traditional, 'MingLiu', 'Heiti TC Light', 'sans-serif'; + --spectrum-global-font-font-family-zhhans: adobe-clean-han-simplified-c, + source-han-simplified-c, 'SimSun', 'Heiti SC Light', 'sans-serif'; + --spectrum-global-font-font-family-ko: adobe-clean-han-korean, + source-han-korean, 'Malgun Gothic', 'Apple Gothic', 'sans-serif'; + --spectrum-global-font-font-family-ja: adobe-clean-han-japanese, + 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Osaka', YuGothic, + 'Yu Gothic', 'メイリオ', Meiryo, 'MS Pゴシック', 'MS PGothic', + 'sans-serif'; + --spectrum-global-font-font-family-condensed: adobe-clean-han-traditional, + source-han-traditional, 'MingLiu', 'Heiti TC Light', adobe-clean, + 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, + Ubuntu, 'Trebuchet MS', 'Lucida Grande', sans-serif; + --spectrum-alias-border-size-thin: var( + --spectrum-global-dimension-static-size-10 + ); + --spectrum-alias-border-size-thick: var( + --spectrum-global-dimension-static-size-25 + ); + --spectrum-alias-border-size-thicker: var( + --spectrum-global-dimension-static-size-50 + ); + --spectrum-alias-border-size-thickest: var( + --spectrum-global-dimension-static-size-100 + ); + --spectrum-alias-border-offset-thin: var( + --spectrum-global-dimension-static-size-25 + ); + --spectrum-alias-border-offset-thick: var( + --spectrum-global-dimension-static-size-50 + ); + --spectrum-alias-border-offset-thicker: var( + --spectrum-global-dimension-static-size-100 + ); + --spectrum-alias-border-offset-thickest: var( + --spectrum-global-dimension-static-size-200 + ); + --spectrum-alias-grid-baseline: var( + --spectrum-global-dimension-static-size-100 + ); + --spectrum-alias-grid-gutter-xsmall: var( + --spectrum-global-dimension-static-size-200 + ); + --spectrum-alias-grid-gutter-small: var( + --spectrum-global-dimension-static-size-300 + ); + --spectrum-alias-grid-gutter-medium: var( + --spectrum-global-dimension-static-size-400 + ); + --spectrum-alias-grid-gutter-large: var( + --spectrum-global-dimension-static-size-500 + ); + --spectrum-alias-grid-gutter-xlarge: var( + --spectrum-global-dimension-static-size-600 + ); + --spectrum-alias-grid-margin-xsmall: var( + --spectrum-global-dimension-static-size-200 + ); + --spectrum-alias-grid-margin-small: var( + --spectrum-global-dimension-static-size-300 + ); + --spectrum-alias-grid-margin-medium: var( + --spectrum-global-dimension-static-size-400 + ); + --spectrum-alias-grid-margin-large: var( + --spectrum-global-dimension-static-size-500 + ); + --spectrum-alias-grid-margin-xlarge: var( + --spectrum-global-dimension-static-size-600 + ); + --spectrum-alias-grid-layout-region-margin-bottom-xsmall: var( + --spectrum-global-dimension-static-size-200 + ); + --spectrum-alias-grid-layout-region-margin-bottom-small: var( + --spectrum-global-dimension-static-size-300 + ); + --spectrum-alias-grid-layout-region-margin-bottom-medium: var( + --spectrum-global-dimension-static-size-400 + ); + --spectrum-alias-grid-layout-region-margin-bottom-large: var( + --spectrum-global-dimension-static-size-500 + ); + --spectrum-alias-grid-layout-region-margin-bottom-xlarge: var( + --spectrum-global-dimension-static-size-600 + ); + --spectrum-alias-radial-reaction-size-default: var( + --spectrum-global-dimension-static-size-550 + ); + --spectrum-alias-focus-ring-gap: var( + --spectrum-global-dimension-static-size-25 + ); + --spectrum-alias-focus-ring-size: var( + --spectrum-global-dimension-static-size-25 + ); + --spectrum-alias-loupe-entry-animation-duration: var( + --spectrum-global-animation-duration-300 + ); + --spectrum-alias-loupe-exit-animation-duration: var( + --spectrum-global-animation-duration-300 + ); + --spectrum-alias-heading-text-line-height: var( + --spectrum-global-font-line-height-small + ); + --spectrum-alias-heading-text-font-weight-regular: var( + --spectrum-global-font-weight-bold + ); + --spectrum-alias-heading-text-font-weight-regular-strong: var( + --spectrum-global-font-weight-black + ); + --spectrum-alias-heading-text-font-weight-light: var( + --spectrum-global-font-weight-light + ); + --spectrum-alias-heading-text-font-weight-light-strong: var( + --spectrum-global-font-weight-bold + ); + --spectrum-alias-heading-text-font-weight-heavy: var( + --spectrum-global-font-weight-black + ); + --spectrum-alias-heading-text-font-weight-heavy-strong: var( + --spectrum-global-font-weight-black + ); + --spectrum-alias-heading-text-font-weight-quiet: var( + --spectrum-global-font-weight-light + ); + --spectrum-alias-heading-text-font-weight-quiet-strong: var( + --spectrum-global-font-weight-bold + ); + --spectrum-alias-heading-text-font-weight-strong: var( + --spectrum-global-font-weight-black + ); + --spectrum-alias-heading-text-font-weight-strong-strong: var( + --spectrum-global-font-weight-black + ); + --spectrum-alias-heading-margin-bottom: var( + --spectrum-global-font-multiplier-25 + ); + --spectrum-alias-subheading-text-font-weight: var( + --spectrum-global-font-weight-bold + ); + --spectrum-alias-subheading-text-font-weight-strong: var( + --spectrum-global-font-weight-black + ); + --spectrum-alias-body-text-font-family: var( + --spectrum-global-font-family-base + ); + --spectrum-alias-body-text-line-height: var( + --spectrum-global-font-line-height-medium + ); + --spectrum-alias-body-text-font-weight: var( + --spectrum-global-font-weight-regular + ); + --spectrum-alias-body-text-font-weight-strong: var( + --spectrum-global-font-weight-bold + ); + --spectrum-alias-body-margin-bottom: var( + --spectrum-global-font-multiplier-75 + ); + --spectrum-alias-detail-text-font-weight: var( + --spectrum-global-font-weight-bold + ); + --spectrum-alias-detail-text-font-weight-regular: var( + --spectrum-global-font-weight-bold + ); + --spectrum-alias-detail-text-font-weight-light: var( + --spectrum-global-font-weight-regular + ); + --spectrum-alias-detail-text-font-weight-strong: var( + --spectrum-global-font-weight-black + ); + --spectrum-alias-article-heading-text-font-weight: var( + --spectrum-global-font-weight-bold + ); + --spectrum-alias-article-heading-text-font-weight-strong: var( + --spectrum-global-font-weight-black + ); + --spectrum-alias-article-heading-text-font-weight-quiet: var( + --spectrum-global-font-weight-regular + ); + --spectrum-alias-article-heading-text-font-weight-quiet-strong: var( + --spectrum-global-font-weight-bold + ); + --spectrum-alias-article-body-text-font-weight: var( + --spectrum-global-font-weight-regular + ); + --spectrum-alias-article-body-text-font-weight-strong: var( + --spectrum-global-font-weight-black + ); + --spectrum-alias-article-subheading-text-font-weight: var( + --spectrum-global-font-weight-bold + ); + --spectrum-alias-article-subheading-text-font-weight-strong: var( + --spectrum-global-font-weight-black + ); + --spectrum-alias-article-detail-text-font-weight: var( + --spectrum-global-font-weight-regular + ); + --spectrum-alias-article-detail-text-font-weight-strong: var( + --spectrum-global-font-weight-bold + ); + --spectrum-alias-code-text-font-family: var( + --spectrum-global-font-family-code + ); + --spectrum-alias-code-text-font-weight-regular: var( + --spectrum-global-font-weight-regular + ); + --spectrum-alias-code-text-font-weight-strong: var( + --spectrum-global-font-weight-bold + ); + --spectrum-alias-code-text-line-height: var( + --spectrum-global-font-line-height-medium + ); + --spectrum-alias-code-margin-bottom: var( + --spectrum-global-font-multiplier-0 + ); + --spectrum-alias-font-family-ar: var(--spectrum-global-font-font-family-ar); + --spectrum-alias-font-family-he: var(--spectrum-global-font-font-family-he); + --spectrum-alias-font-family-zh: var(--spectrum-global-font-font-family-zh); + --spectrum-alias-font-family-zhhans: var( + --spectrum-global-font-font-family-zhhans + ); + --spectrum-alias-font-family-ko: var(--spectrum-global-font-font-family-ko); + --spectrum-alias-font-family-ja: var(--spectrum-global-font-font-family-ja); + --spectrum-alias-font-family-condensed: var( + --spectrum-global-font-font-family-condensed + ); + --spectrum-alias-button-text-line-height: var( + --spectrum-global-font-line-height-small + ); + --spectrum-alias-component-text-line-height: var( + --spectrum-global-font-line-height-small + ); + --spectrum-alias-han-component-text-line-height: var( + --spectrum-global-font-line-height-medium + ); + --spectrum-alias-serif-text-font-family: var( + --spectrum-global-font-family-serif + ); + --spectrum-alias-han-heading-text-line-height: var( + --spectrum-global-font-line-height-medium + ); + --spectrum-alias-han-heading-text-font-weight-regular: var( + --spectrum-global-font-weight-bold + ); + --spectrum-alias-han-heading-text-font-weight-regular-emphasis: var( + --spectrum-global-font-weight-extra-bold + ); + --spectrum-alias-han-heading-text-font-weight-regular-strong: var( + --spectrum-global-font-weight-black + ); + --spectrum-alias-han-heading-text-font-weight-quiet-strong: var( + --spectrum-global-font-weight-bold + ); + --spectrum-alias-han-heading-text-font-weight-light: var( + --spectrum-global-font-weight-light + ); + --spectrum-alias-han-heading-text-font-weight-light-emphasis: var( + --spectrum-global-font-weight-regular + ); + --spectrum-alias-han-heading-text-font-weight-light-strong: var( + --spectrum-global-font-weight-bold + ); + --spectrum-alias-han-heading-text-font-weight-heavy: var( + --spectrum-global-font-weight-black + ); + --spectrum-alias-han-heading-text-font-weight-heavy-emphasis: var( + --spectrum-global-font-weight-black + ); + --spectrum-alias-han-heading-text-font-weight-heavy-strong: var( + --spectrum-global-font-weight-black + ); + --spectrum-alias-han-body-text-line-height: var( + --spectrum-global-font-line-height-large + ); + --spectrum-alias-han-body-text-font-weight-regular: var( + --spectrum-global-font-weight-regular + ); + --spectrum-alias-han-body-text-font-weight-emphasis: var( + --spectrum-global-font-weight-bold + ); + --spectrum-alias-han-body-text-font-weight-strong: var( + --spectrum-global-font-weight-black + ); + --spectrum-alias-han-subheading-text-font-weight-regular: var( + --spectrum-global-font-weight-bold + ); + --spectrum-alias-han-subheading-text-font-weight-emphasis: var( + --spectrum-global-font-weight-extra-bold + ); + --spectrum-alias-han-subheading-text-font-weight-strong: var( + --spectrum-global-font-weight-black + ); + --spectrum-alias-han-detail-text-font-weight: var( + --spectrum-global-font-weight-regular + ); + --spectrum-alias-han-detail-text-font-weight-emphasis: var( + --spectrum-global-font-weight-bold + ); + --spectrum-alias-han-detail-text-font-weight-strong: var( + --spectrum-global-font-weight-black + ); +} + +:root, +:host { + --spectrum-alias-item-height-s: var(--spectrum-global-dimension-size-300); + --spectrum-alias-item-height-m: var(--spectrum-global-dimension-size-400); + --spectrum-alias-item-height-l: var(--spectrum-global-dimension-size-500); + --spectrum-alias-item-height-xl: var(--spectrum-global-dimension-size-600); + --spectrum-alias-item-rounded-border-radius-s: var( + --spectrum-global-dimension-size-150 + ); + --spectrum-alias-item-rounded-border-radius-m: var( + --spectrum-global-dimension-size-200 + ); + --spectrum-alias-item-rounded-border-radius-l: var( + --spectrum-global-dimension-size-250 + ); + --spectrum-alias-item-rounded-border-radius-xl: var( + --spectrum-global-dimension-size-300 + ); + --spectrum-alias-item-text-size-s: var( + --spectrum-global-dimension-font-size-75 + ); + --spectrum-alias-item-text-size-m: var( + --spectrum-global-dimension-font-size-100 + ); + --spectrum-alias-item-text-size-l: var( + --spectrum-global-dimension-font-size-200 + ); + --spectrum-alias-item-text-size-xl: var( + --spectrum-global-dimension-font-size-300 + ); + --spectrum-alias-item-text-padding-top-s: var( + --spectrum-global-dimension-static-size-50 + ); + --spectrum-alias-item-text-padding-top-m: var( + --spectrum-global-dimension-size-75 + ); + --spectrum-alias-item-text-padding-top-xl: var( + --spectrum-global-dimension-size-150 + ); + --spectrum-alias-item-text-padding-bottom-m: var( + --spectrum-global-dimension-size-115 + ); + --spectrum-alias-item-text-padding-bottom-l: var( + --spectrum-global-dimension-size-130 + ); + --spectrum-alias-item-text-padding-bottom-xl: var( + --spectrum-global-dimension-size-175 + ); + --spectrum-alias-item-icon-padding-top-s: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-item-icon-padding-top-m: var( + --spectrum-global-dimension-size-85 + ); + --spectrum-alias-item-icon-padding-top-l: var( + --spectrum-global-dimension-size-125 + ); + --spectrum-alias-item-icon-padding-top-xl: var( + --spectrum-global-dimension-size-160 + ); + --spectrum-alias-item-icon-padding-bottom-s: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-item-icon-padding-bottom-m: var( + --spectrum-global-dimension-size-85 + ); + --spectrum-alias-item-icon-padding-bottom-l: var( + --spectrum-global-dimension-size-125 + ); + --spectrum-alias-item-icon-padding-bottom-xl: var( + --spectrum-global-dimension-size-160 + ); + --spectrum-alias-item-padding-s: var(--spectrum-global-dimension-size-115); + --spectrum-alias-item-padding-m: var(--spectrum-global-dimension-size-150); + --spectrum-alias-item-padding-l: var(--spectrum-global-dimension-size-185); + --spectrum-alias-item-padding-xl: var(--spectrum-global-dimension-size-225); + --spectrum-alias-item-rounded-padding-s: var( + --spectrum-global-dimension-size-150 + ); + --spectrum-alias-item-rounded-padding-m: var( + --spectrum-global-dimension-size-200 + ); + --spectrum-alias-item-rounded-padding-l: var( + --spectrum-global-dimension-size-250 + ); + --spectrum-alias-item-rounded-padding-xl: var( + --spectrum-global-dimension-size-300 + ); + --spectrum-alias-item-icononly-padding-s: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-item-icononly-padding-m: var( + --spectrum-global-dimension-size-85 + ); + --spectrum-alias-item-icononly-padding-l: var( + --spectrum-global-dimension-size-125 + ); + --spectrum-alias-item-icononly-padding-xl: var( + --spectrum-global-dimension-size-160 + ); + --spectrum-alias-item-control-gap-s: var( + --spectrum-global-dimension-size-115 + ); + --spectrum-alias-item-control-gap-m: var( + --spectrum-global-dimension-size-125 + ); + --spectrum-alias-item-control-gap-l: var( + --spectrum-global-dimension-size-130 + ); + --spectrum-alias-item-control-gap-xl: var( + --spectrum-global-dimension-size-160 + ); + --spectrum-alias-item-workflow-icon-gap-s: var( + --spectrum-global-dimension-size-85 + ); + --spectrum-alias-item-workflow-icon-gap-m: var( + --spectrum-global-dimension-size-100 + ); + --spectrum-alias-item-workflow-icon-gap-l: var( + --spectrum-global-dimension-size-115 + ); + --spectrum-alias-item-workflow-icon-gap-xl: var( + --spectrum-global-dimension-size-125 + ); + --spectrum-alias-item-mark-gap-s: var(--spectrum-global-dimension-size-85); + --spectrum-alias-item-mark-gap-m: var(--spectrum-global-dimension-size-100); + --spectrum-alias-item-mark-gap-l: var(--spectrum-global-dimension-size-115); + --spectrum-alias-item-mark-gap-xl: var( + --spectrum-global-dimension-size-125 + ); + --spectrum-alias-item-ui-icon-gap-s: var( + --spectrum-global-dimension-size-85 + ); + --spectrum-alias-item-ui-icon-gap-m: var( + --spectrum-global-dimension-size-100 + ); + --spectrum-alias-item-ui-icon-gap-l: var( + --spectrum-global-dimension-size-115 + ); + --spectrum-alias-item-ui-icon-gap-xl: var( + --spectrum-global-dimension-size-125 + ); + --spectrum-alias-item-clearbutton-gap-s: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-item-clearbutton-gap-m: var( + --spectrum-global-dimension-size-85 + ); + --spectrum-alias-item-clearbutton-gap-l: var( + --spectrum-global-dimension-size-125 + ); + --spectrum-alias-item-clearbutton-gap-xl: var( + --spectrum-global-dimension-size-150 + ); + --spectrum-alias-item-workflow-padding-left-s: var( + --spectrum-global-dimension-size-85 + ); + --spectrum-alias-item-workflow-padding-left-l: var( + --spectrum-global-dimension-size-160 + ); + --spectrum-alias-item-workflow-padding-left-xl: var( + --spectrum-global-dimension-size-185 + ); + --spectrum-alias-item-rounded-workflow-padding-left-s: var( + --spectrum-global-dimension-size-125 + ); + --spectrum-alias-item-rounded-workflow-padding-left-l: var( + --spectrum-global-dimension-size-225 + ); + --spectrum-alias-item-mark-padding-top-s: var( + --spectrum-global-dimension-size-40 + ); + --spectrum-alias-item-mark-padding-top-l: var( + --spectrum-global-dimension-size-115 + ); + --spectrum-alias-item-mark-padding-top-xl: var( + --spectrum-global-dimension-size-130 + ); + --spectrum-alias-item-mark-padding-bottom-s: var( + --spectrum-global-dimension-size-40 + ); + --spectrum-alias-item-mark-padding-bottom-l: var( + --spectrum-global-dimension-size-115 + ); + --spectrum-alias-item-mark-padding-bottom-xl: var( + --spectrum-global-dimension-size-130 + ); + --spectrum-alias-item-mark-padding-left-s: var( + --spectrum-global-dimension-size-85 + ); + --spectrum-alias-item-mark-padding-left-l: var( + --spectrum-global-dimension-size-160 + ); + --spectrum-alias-item-mark-padding-left-xl: var( + --spectrum-global-dimension-size-185 + ); + --spectrum-alias-item-control-1-size-s: var( + --spectrum-global-dimension-static-size-100 + ); + --spectrum-alias-item-control-1-size-m: var( + --spectrum-global-dimension-size-100 + ); + --spectrum-alias-item-control-2-size-m: var( + --spectrum-global-dimension-size-175 + ); + --spectrum-alias-item-control-2-size-l: var( + --spectrum-global-dimension-size-200 + ); + --spectrum-alias-item-control-2-size-xl: var( + --spectrum-global-dimension-size-225 + ); + --spectrum-alias-item-control-2-size-xxl: var( + --spectrum-global-dimension-size-250 + ); + --spectrum-alias-item-control-2-border-radius-s: var( + --spectrum-global-dimension-size-75 + ); + --spectrum-alias-item-control-2-border-radius-m: var( + --spectrum-global-dimension-size-85 + ); + --spectrum-alias-item-control-2-border-radius-l: var( + --spectrum-global-dimension-size-100 + ); + --spectrum-alias-item-control-2-border-radius-xl: var( + --spectrum-global-dimension-size-115 + ); + --spectrum-alias-item-control-2-border-radius-xxl: var( + --spectrum-global-dimension-size-125 + ); + --spectrum-alias-item-control-2-padding-s: var( + --spectrum-global-dimension-size-75 + ); + --spectrum-alias-item-control-2-padding-m: var( + --spectrum-global-dimension-size-115 + ); + --spectrum-alias-item-control-2-padding-l: var( + --spectrum-global-dimension-size-150 + ); + --spectrum-alias-item-control-2-padding-xl: var( + --spectrum-global-dimension-size-185 + ); + --spectrum-alias-item-control-3-height-m: var( + --spectrum-global-dimension-size-175 + ); + --spectrum-alias-item-control-3-height-l: var( + --spectrum-global-dimension-size-200 + ); + --spectrum-alias-item-control-3-height-xl: var( + --spectrum-global-dimension-size-225 + ); + --spectrum-alias-item-control-3-border-radius-s: var( + --spectrum-global-dimension-size-75 + ); + --spectrum-alias-item-control-3-border-radius-m: var( + --spectrum-global-dimension-size-85 + ); + --spectrum-alias-item-control-3-border-radius-l: var( + --spectrum-global-dimension-size-100 + ); + --spectrum-alias-item-control-3-border-radius-xl: var( + --spectrum-global-dimension-size-115 + ); + --spectrum-alias-item-control-3-padding-s: var( + --spectrum-global-dimension-size-75 + ); + --spectrum-alias-item-control-3-padding-m: var( + --spectrum-global-dimension-size-115 + ); + --spectrum-alias-item-control-3-padding-l: var( + --spectrum-global-dimension-size-150 + ); + --spectrum-alias-item-control-3-padding-xl: var( + --spectrum-global-dimension-size-185 + ); + --spectrum-alias-item-mark-size-s: var( + --spectrum-global-dimension-size-225 + ); + --spectrum-alias-item-mark-size-l: var( + --spectrum-global-dimension-size-275 + ); + --spectrum-alias-item-mark-size-xl: var( + --spectrum-global-dimension-size-325 + ); + --spectrum-alias-heading-xxxl-text-size: var( + --spectrum-global-dimension-font-size-1300 + ); + --spectrum-alias-heading-xxl-text-size: var( + --spectrum-global-dimension-font-size-1100 + ); + --spectrum-alias-heading-xl-text-size: var( + --spectrum-global-dimension-font-size-900 + ); + --spectrum-alias-heading-l-text-size: var( + --spectrum-global-dimension-font-size-700 + ); + --spectrum-alias-heading-m-text-size: var( + --spectrum-global-dimension-font-size-500 + ); + --spectrum-alias-heading-s-text-size: var( + --spectrum-global-dimension-font-size-300 + ); + --spectrum-alias-heading-xs-text-size: var( + --spectrum-global-dimension-font-size-200 + ); + --spectrum-alias-heading-xxs-text-size: var( + --spectrum-global-dimension-font-size-100 + ); + --spectrum-alias-heading-xxxl-margin-top: var( + --spectrum-global-dimension-font-size-1200 + ); + --spectrum-alias-heading-xxl-margin-top: var( + --spectrum-global-dimension-font-size-900 + ); + --spectrum-alias-heading-xl-margin-top: var( + --spectrum-global-dimension-font-size-800 + ); + --spectrum-alias-heading-l-margin-top: var( + --spectrum-global-dimension-font-size-600 + ); + --spectrum-alias-heading-m-margin-top: var( + --spectrum-global-dimension-font-size-400 + ); + --spectrum-alias-heading-s-margin-top: var( + --spectrum-global-dimension-font-size-200 + ); + --spectrum-alias-heading-xs-margin-top: var( + --spectrum-global-dimension-font-size-100 + ); + --spectrum-alias-heading-xxs-margin-top: var( + --spectrum-global-dimension-font-size-75 + ); + --spectrum-alias-heading-han-xxxl-text-size: var( + --spectrum-global-dimension-font-size-1300 + ); + --spectrum-alias-heading-han-xxl-text-size: var( + --spectrum-global-dimension-font-size-900 + ); + --spectrum-alias-heading-han-xl-text-size: var( + --spectrum-global-dimension-font-size-800 + ); + --spectrum-alias-heading-han-l-text-size: var( + --spectrum-global-dimension-font-size-600 + ); + --spectrum-alias-heading-han-m-text-size: var( + --spectrum-global-dimension-font-size-400 + ); + --spectrum-alias-heading-han-s-text-size: var( + --spectrum-global-dimension-font-size-300 + ); + --spectrum-alias-heading-han-xs-text-size: var( + --spectrum-global-dimension-font-size-200 + ); + --spectrum-alias-heading-han-xxs-text-size: var( + --spectrum-global-dimension-font-size-100 + ); + --spectrum-alias-heading-han-xxxl-margin-top: var( + --spectrum-global-dimension-font-size-1200 + ); + --spectrum-alias-heading-han-xxl-margin-top: var( + --spectrum-global-dimension-font-size-800 + ); + --spectrum-alias-heading-han-xl-margin-top: var( + --spectrum-global-dimension-font-size-700 + ); + --spectrum-alias-heading-han-l-margin-top: var( + --spectrum-global-dimension-font-size-500 + ); + --spectrum-alias-heading-han-m-margin-top: var( + --spectrum-global-dimension-font-size-300 + ); + --spectrum-alias-heading-han-s-margin-top: var( + --spectrum-global-dimension-font-size-200 + ); + --spectrum-alias-heading-han-xs-margin-top: var( + --spectrum-global-dimension-font-size-100 + ); + --spectrum-alias-heading-han-xxs-margin-top: var( + --spectrum-global-dimension-font-size-75 + ); + --spectrum-alias-component-border-radius: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-component-border-radius-quiet: var( + --spectrum-global-dimension-static-size-0 + ); + --spectrum-alias-component-focusring-gap: var( + --spectrum-global-dimension-static-size-0 + ); + --spectrum-alias-component-focusring-gap-emphasized: var( + --spectrum-global-dimension-static-size-25 + ); + --spectrum-alias-component-focusring-size: var( + --spectrum-global-dimension-static-size-10 + ); + --spectrum-alias-component-focusring-size-emphasized: var( + --spectrum-global-dimension-static-size-25 + ); + --spectrum-alias-input-border-size: var( + --spectrum-global-dimension-static-size-10 + ); + --spectrum-alias-input-focusring-gap: var( + --spectrum-global-dimension-static-size-0 + ); + --spectrum-alias-input-quiet-focusline-gap: var( + --spectrum-global-dimension-static-size-10 + ); + --spectrum-alias-control-two-size-m: var( + --spectrum-global-dimension-size-175 + ); + --spectrum-alias-control-two-size-l: var( + --spectrum-global-dimension-size-200 + ); + --spectrum-alias-control-two-size-xl: var( + --spectrum-global-dimension-size-225 + ); + --spectrum-alias-control-two-size-xxl: var( + --spectrum-global-dimension-size-250 + ); + --spectrum-alias-control-two-border-radius-s: var( + --spectrum-global-dimension-size-75 + ); + --spectrum-alias-control-two-border-radius-m: var( + --spectrum-global-dimension-size-85 + ); + --spectrum-alias-control-two-border-radius-l: var( + --spectrum-global-dimension-size-100 + ); + --spectrum-alias-control-two-border-radius-xl: var( + --spectrum-global-dimension-size-115 + ); + --spectrum-alias-control-two-border-radius-xxl: var( + --spectrum-global-dimension-size-125 + ); + --spectrum-alias-control-two-focus-ring-border-radius-s: var( + --spectrum-global-dimension-size-125 + ); + --spectrum-alias-control-two-focus-ring-border-radius-m: var( + --spectrum-global-dimension-size-130 + ); + --spectrum-alias-control-two-focus-ring-border-radius-l: var( + --spectrum-global-dimension-size-150 + ); + --spectrum-alias-control-two-focus-ring-border-radius-xl: var( + --spectrum-global-dimension-size-160 + ); + --spectrum-alias-control-two-focus-ring-border-radius-xxl: var( + --spectrum-global-dimension-size-175 + ); + --spectrum-alias-control-three-height-m: var( + --spectrum-global-dimension-size-175 + ); + --spectrum-alias-control-three-height-l: var( + --spectrum-global-dimension-size-200 + ); + --spectrum-alias-control-three-height-xl: var( + --spectrum-global-dimension-size-225 + ); + --spectrum-alias-infieldbutton-icon-margin-y-s: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-infieldbutton-icon-margin-y-m: var( + --spectrum-global-dimension-size-85 + ); + --spectrum-alias-infieldbutton-icon-margin-y-l: var( + --spectrum-global-dimension-size-125 + ); + --spectrum-alias-infieldbutton-icon-margin-y-xl: var( + --spectrum-global-dimension-size-160 + ); + --spectrum-alias-infieldbutton-border-radius: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-infieldbutton-border-radius-sided: 0; + --spectrum-alias-infieldbutton-border-size: var( + --spectrum-global-dimension-static-size-10 + ); + --spectrum-alias-infieldbutton-fill-padding-s: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-infieldbutton-fill-padding-m: var( + --spectrum-global-dimension-size-85 + ); + --spectrum-alias-infieldbutton-fill-padding-l: var( + --spectrum-global-dimension-size-125 + ); + --spectrum-alias-infieldbutton-fill-padding-xl: var( + --spectrum-global-dimension-size-160 + ); + --spectrum-alias-infieldbutton-padding-s: 0; + --spectrum-alias-infieldbutton-padding-m: 0; + --spectrum-alias-infieldbutton-padding-l: 0; + --spectrum-alias-infieldbutton-padding-xl: 0; + --spectrum-alias-infieldbutton-full-height-s: var( + --spectrum-global-dimension-size-300 + ); + --spectrum-alias-infieldbutton-full-height-m: var( + --spectrum-global-dimension-size-400 + ); + --spectrum-alias-infieldbutton-full-height-l: var( + --spectrum-global-dimension-size-500 + ); + --spectrum-alias-infieldbutton-full-height-xl: var( + --spectrum-global-dimension-size-600 + ); + --spectrum-alias-infieldbutton-half-height-s: var( + --spectrum-global-dimension-size-150 + ); + --spectrum-alias-infieldbutton-half-height-m: var( + --spectrum-global-dimension-size-200 + ); + --spectrum-alias-infieldbutton-half-height-l: var( + --spectrum-global-dimension-size-250 + ); + --spectrum-alias-infieldbutton-half-height-xl: var( + --spectrum-global-dimension-size-300 + ); + --spectrum-alias-stepperbutton-gap: 0; + --spectrum-alias-stepperbutton-width-s: var( + --spectrum-global-dimension-size-225 + ); + --spectrum-alias-stepperbutton-width-m: var( + --spectrum-global-dimension-size-300 + ); + --spectrum-alias-stepperbutton-width-l: var( + --spectrum-global-dimension-size-400 + ); + --spectrum-alias-stepperbutton-width-xl: var( + --spectrum-global-dimension-size-450 + ); + --spectrum-alias-stepperbutton-icon-x-offset-s: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-stepperbutton-icon-x-offset-m: var( + --spectrum-global-dimension-size-85 + ); + --spectrum-alias-stepperbutton-icon-x-offset-l: var( + --spectrum-global-dimension-size-125 + ); + --spectrum-alias-stepperbutton-icon-x-offset-xl: var( + --spectrum-global-dimension-size-130 + ); + --spectrum-alias-stepperbutton-icon-y-offset-top-s: var( + --spectrum-global-dimension-size-25 + ); + --spectrum-alias-stepperbutton-icon-y-offset-top-m: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-stepperbutton-icon-y-offset-top-l: var( + --spectrum-global-dimension-size-65 + ); + --spectrum-alias-stepperbutton-icon-y-offset-top-xl: var( + --spectrum-global-dimension-size-75 + ); + --spectrum-alias-stepperbutton-icon-y-offset-bottom-s: var( + --spectrum-global-dimension-size-10 + ); + --spectrum-alias-stepperbutton-icon-y-offset-bottom-m: var( + --spectrum-global-dimension-size-25 + ); + --spectrum-alias-stepperbutton-icon-y-offset-bottom-l: var( + --spectrum-global-dimension-size-40 + ); + --spectrum-alias-stepperbutton-icon-y-offset-bottom-xl: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-stepperbutton-radius-touching: 0; + --spectrum-alias-clearbutton-icon-margin-s: var( + --spectrum-global-dimension-size-100 + ); + --spectrum-alias-clearbutton-icon-margin-m: var( + --spectrum-global-dimension-size-150 + ); + --spectrum-alias-clearbutton-icon-margin-l: var( + --spectrum-global-dimension-size-185 + ); + --spectrum-alias-clearbutton-icon-margin-xl: var( + --spectrum-global-dimension-size-225 + ); + --spectrum-alias-clearbutton-border-radius: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-pickerbutton-icononly-padding-x-s: var( + --spectrum-global-dimension-size-85 + ); + --spectrum-alias-pickerbutton-icononly-padding-x-m: var( + --spectrum-global-dimension-size-125 + ); + --spectrum-alias-pickerbutton-icononly-padding-x-l: var( + --spectrum-global-dimension-size-160 + ); + --spectrum-alias-pickerbutton-icononly-padding-x-xl: var( + --spectrum-global-dimension-size-200 + ); + --spectrum-alias-pickerbutton-icon-margin-y-s: var( + --spectrum-global-dimension-size-85 + ); + --spectrum-alias-pickerbutton-icon-margin-y-m: var( + --spectrum-global-dimension-size-125 + ); + --spectrum-alias-pickerbutton-icon-margin-y-l: var( + --spectrum-global-dimension-size-160 + ); + --spectrum-alias-pickerbutton-icon-margin-y-xl: var( + --spectrum-global-dimension-size-200 + ); + --spectrum-alias-pickerbutton-label-padding-y-s: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-pickerbutton-label-padding-y-m: var( + --spectrum-global-dimension-size-75 + ); + --spectrum-alias-pickerbutton-label-padding-y-l: var( + --spectrum-global-dimension-size-115 + ); + --spectrum-alias-pickerbutton-label-padding-y-xl: var( + --spectrum-global-dimension-size-150 + ); + --spectrum-alias-pickerbutton-border-radius-rounded: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-pickerbutton-border-radius-rounded-sided: 0; + --spectrum-alias-search-border-radius: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-search-border-radius-quiet: 0; + --spectrum-alias-combobox-quiet-button-offset-x: var( + --spectrum-global-dimension-size-100 + ); + --spectrum-alias-thumbnail-border-radius-small: var( + --spectrum-global-dimension-size-25 + ); + --spectrum-alias-actiongroup-button-gap: var( + --spectrum-global-dimension-size-100 + ); + --spectrum-alias-actiongroup-button-gap-compact: var( + --spectrum-global-dimension-size-0 + ); + --spectrum-alias-actiongroup-button-gap-quiet: var( + --spectrum-global-dimension-size-100 + ); + --spectrum-alias-actiongroup-button-gap-quiet-compact: var( + --spectrum-global-dimension-size-25 + ); + --spectrum-alias-search-padding-left-s: var( + --spectrum-global-dimension-size-85 + ); + --spectrum-alias-search-padding-left-l: var( + --spectrum-global-dimension-size-160 + ); + --spectrum-alias-search-padding-left-xl: var( + --spectrum-global-dimension-size-185 + ); + --spectrum-alias-percent-50: 50%; + --spectrum-alias-percent-70: 70%; + --spectrum-alias-percent-100: 100%; + --spectrum-alias-breakpoint-xsmall: 304px; + --spectrum-alias-breakpoint-small: 768px; + --spectrum-alias-breakpoint-medium: 1280px; + --spectrum-alias-breakpoint-large: 1768px; + --spectrum-alias-breakpoint-xlarge: 2160px; + --spectrum-alias-grid-columns: 12; + --spectrum-alias-grid-fluid-width: 100%; + --spectrum-alias-grid-fixed-max-width: 1280px; + --spectrum-alias-border-size-thin: var( + --spectrum-global-dimension-static-size-10 + ); + --spectrum-alias-border-size-thick: var( + --spectrum-global-dimension-static-size-25 + ); + --spectrum-alias-border-size-thicker: var( + --spectrum-global-dimension-static-size-50 + ); + --spectrum-alias-border-size-thickest: var( + --spectrum-global-dimension-static-size-100 + ); + --spectrum-alias-border-offset-thin: var( + --spectrum-global-dimension-static-size-25 + ); + --spectrum-alias-border-offset-thick: var( + --spectrum-global-dimension-static-size-50 + ); + --spectrum-alias-border-offset-thicker: var( + --spectrum-global-dimension-static-size-100 + ); + --spectrum-alias-border-offset-thickest: var( + --spectrum-global-dimension-static-size-200 + ); + --spectrum-alias-grid-baseline: var( + --spectrum-global-dimension-static-size-100 + ); + --spectrum-alias-grid-gutter-xsmall: var( + --spectrum-global-dimension-static-size-200 + ); + --spectrum-alias-grid-gutter-small: var( + --spectrum-global-dimension-static-size-300 + ); + --spectrum-alias-grid-gutter-medium: var( + --spectrum-global-dimension-static-size-400 + ); + --spectrum-alias-grid-gutter-large: var( + --spectrum-global-dimension-static-size-500 + ); + --spectrum-alias-grid-gutter-xlarge: var( + --spectrum-global-dimension-static-size-600 + ); + --spectrum-alias-grid-margin-xsmall: var( + --spectrum-global-dimension-static-size-200 + ); + --spectrum-alias-grid-margin-small: var( + --spectrum-global-dimension-static-size-300 + ); + --spectrum-alias-grid-margin-medium: var( + --spectrum-global-dimension-static-size-400 + ); + --spectrum-alias-grid-margin-large: var( + --spectrum-global-dimension-static-size-500 + ); + --spectrum-alias-grid-margin-xlarge: var( + --spectrum-global-dimension-static-size-600 + ); + --spectrum-alias-grid-layout-region-margin-bottom-xsmall: var( + --spectrum-global-dimension-static-size-200 + ); + --spectrum-alias-grid-layout-region-margin-bottom-small: var( + --spectrum-global-dimension-static-size-300 + ); + --spectrum-alias-grid-layout-region-margin-bottom-medium: var( + --spectrum-global-dimension-static-size-400 + ); + --spectrum-alias-grid-layout-region-margin-bottom-large: var( + --spectrum-global-dimension-static-size-500 + ); + --spectrum-alias-grid-layout-region-margin-bottom-xlarge: var( + --spectrum-global-dimension-static-size-600 + ); + --spectrum-alias-radial-reaction-size-default: var( + --spectrum-global-dimension-static-size-550 + ); + --spectrum-alias-focus-ring-gap: var( + --spectrum-global-dimension-static-size-25 + ); + --spectrum-alias-focus-ring-size: var( + --spectrum-global-dimension-static-size-25 + ); + --spectrum-alias-focus-ring-gap-small: var( + --spectrum-global-dimension-static-size-0 + ); + --spectrum-alias-focus-ring-size-small: var( + --spectrum-global-dimension-static-size-10 + ); + --spectrum-alias-dropshadow-blur: var(--spectrum-global-dimension-size-50); + --spectrum-alias-dropshadow-offset-y: var( + --spectrum-global-dimension-size-10 + ); + --spectrum-alias-font-size-default: var( + --spectrum-global-dimension-font-size-100 + ); + --spectrum-alias-layout-label-gap-size: var( + --spectrum-global-dimension-size-100 + ); + --spectrum-alias-pill-button-text-size: var( + --spectrum-global-dimension-font-size-100 + ); + --spectrum-alias-pill-button-text-baseline: var( + --spectrum-global-dimension-static-size-150 + ); + --spectrum-alias-border-radius-xsmall: var( + --spectrum-global-dimension-size-10 + ); + --spectrum-alias-border-radius-small: var( + --spectrum-global-dimension-size-25 + ); + --spectrum-alias-border-radius-regular: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-border-radius-medium: var( + --spectrum-global-dimension-size-100 + ); + --spectrum-alias-border-radius-large: var( + --spectrum-global-dimension-size-200 + ); + --spectrum-alias-border-radius-xlarge: var( + --spectrum-global-dimension-size-300 + ); + --spectrum-alias-focus-ring-border-radius-xsmall: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-focus-ring-border-radius-small: var( + --spectrum-global-dimension-static-size-65 + ); + --spectrum-alias-focus-ring-border-radius-medium: var( + --spectrum-global-dimension-size-150 + ); + --spectrum-alias-focus-ring-border-radius-large: var( + --spectrum-global-dimension-size-250 + ); + --spectrum-alias-focus-ring-border-radius-xlarge: var( + --spectrum-global-dimension-size-350 + ); + --spectrum-alias-single-line-height: var( + --spectrum-global-dimension-size-400 + ); + --spectrum-alias-single-line-width: var( + --spectrum-global-dimension-size-2400 + ); + --spectrum-alias-workflow-icon-size-s: var( + --spectrum-global-dimension-size-200 + ); + --spectrum-alias-workflow-icon-size-m: var( + --spectrum-global-dimension-size-225 + ); + --spectrum-alias-workflow-icon-size-xl: var( + --spectrum-global-dimension-size-275 + ); + --spectrum-alias-ui-icon-alert-size-75: var( + --spectrum-global-dimension-size-200 + ); + --spectrum-alias-ui-icon-alert-size-100: var( + --spectrum-global-dimension-size-225 + ); + --spectrum-alias-ui-icon-alert-size-200: var( + --spectrum-global-dimension-size-250 + ); + --spectrum-alias-ui-icon-alert-size-300: var( + --spectrum-global-dimension-size-275 + ); + --spectrum-alias-ui-icon-triplegripper-size-100-height: var( + --spectrum-global-dimension-size-100 + ); + --spectrum-alias-ui-icon-doublegripper-size-100-width: var( + --spectrum-global-dimension-size-200 + ); + --spectrum-alias-ui-icon-singlegripper-size-100-width: var( + --spectrum-global-dimension-size-300 + ); + --spectrum-alias-ui-icon-cornertriangle-size-75: var( + --spectrum-global-dimension-size-65 + ); + --spectrum-alias-ui-icon-cornertriangle-size-200: var( + --spectrum-global-dimension-size-75 + ); + --spectrum-alias-ui-icon-asterisk-size-75: var( + --spectrum-global-dimension-static-size-100 + ); + --spectrum-alias-ui-icon-asterisk-size-100: var( + --spectrum-global-dimension-size-100 + ); + --spectrum-alias-avatar-size-50: var(--spectrum-global-dimension-size-200); + --spectrum-alias-avatar-size-75: var(--spectrum-global-dimension-size-225); + --spectrum-alias-avatar-size-200: var(--spectrum-global-dimension-size-275); + --spectrum-alias-avatar-size-300: var(--spectrum-global-dimension-size-325); + --spectrum-alias-avatar-size-500: var(--spectrum-global-dimension-size-400); + --spectrum-alias-avatar-size-700: var(--spectrum-global-dimension-size-500); + --spectrum-alias-avatar-border-size: var( + --spectrum-global-dimension-size-0 + ); + --spectrum-alias-tag-border-radius: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-tag-border-size-default: var( + --spectrum-global-dimension-static-size-10 + ); + --spectrum-alias-tag-border-size-key-focus: var( + --spectrum-global-dimension-static-size-25 + ); + --spectrum-alias-tag-border-size-disabled: var( + --spectrum-global-dimension-size-0 + ); + --spectrum-alias-tag-border-size: var( + --spectrum-global-dimension-static-size-10 + ); + --spectrum-alias-tag-padding-right-s: var( + --spectrum-global-dimension-size-115 + ); + --spectrum-alias-tag-padding-right-m: var( + --spectrum-global-dimension-size-150 + ); + --spectrum-alias-tag-padding-right-l: var( + --spectrum-global-dimension-size-185 + ); + --spectrum-alias-tag-height-s: var(--spectrum-global-dimension-size-300); + --spectrum-alias-tag-height-m: var(--spectrum-global-dimension-size-400); + --spectrum-alias-tag-height-l: var(--spectrum-global-dimension-size-500); + --spectrum-alias-tag-font-size-s: var( + --spectrum-global-dimension-font-size-75 + ); + --spectrum-alias-tag-font-size-m: var( + --spectrum-global-dimension-font-size-100 + ); + --spectrum-alias-tag-font-size-l: var( + --spectrum-global-dimension-font-size-200 + ); + --spectrum-alias-tag-text-padding-top-s: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-tag-text-padding-top-m: var( + --spectrum-global-dimension-size-75 + ); + --spectrum-alias-tag-text-padding-top-l: var( + --spectrum-global-dimension-size-115 + ); + --spectrum-alias-tag-icon-size-s: var(--spectrum-global-dimension-size-200); + --spectrum-alias-tag-icon-size-m: var(--spectrum-global-dimension-size-225); + --spectrum-alias-tag-icon-margin-top-s: var( + --spectrum-global-dimension-size-50 + ); + --spectrum-alias-tag-icon-margin-top-m: var( + --spectrum-global-dimension-size-85 + ); + --spectrum-alias-tag-icon-margin-top-l: var( + --spectrum-global-dimension-size-125 + ); + --spectrum-alias-tag-icon-margin-right-s: var( + --spectrum-global-dimension-size-85 + ); + --spectrum-alias-tag-icon-margin-right-m: var( + --spectrum-global-dimension-size-100 + ); + --spectrum-alias-tag-icon-margin-right-l: var( + --spectrum-global-dimension-size-115 + ); + --spectrum-alias-tag-clearbutton-width-s: var( + --spectrum-global-dimension-size-300 + ); + --spectrum-alias-tag-clearbutton-width-m: var( + --spectrum-global-dimension-size-400 + ); + --spectrum-alias-tag-clearbutton-width-l: var( + --spectrum-global-dimension-size-500 + ); + --spectrum-alias-tag-clearbutton-icon-margin-s: var( + --spectrum-global-dimension-size-100 + ); + --spectrum-alias-tag-clearbutton-icon-margin-m: var( + --spectrum-global-dimension-size-150 + ); + --spectrum-alias-tag-clearbutton-icon-margin-l: var( + --spectrum-global-dimension-size-185 + ); + --spectrum-alias-tag-focusring-size: var( + --spectrum-global-dimension-size-25 + ); + --spectrum-alias-tag-focusring-gap: var( + --spectrum-global-dimension-static-size-0 + ); + --spectrum-alias-tag-focusring-gap-selected: var( + --spectrum-global-dimension-size-25 + ); + --spectrum-alias-colorloupe-width: var( + --spectrum-global-dimension-static-size-600 + ); + --spectrum-alias-colorloupe-height: var( + --spectrum-global-dimension-static-size-800 + ); +} + +:root, +:host { + --spectrum-alias-colorhandle-outer-border-color: #0000006b; + --spectrum-alias-transparent-blue-background-color-hover: #0057be26; + --spectrum-alias-transparent-blue-background-color-down: #0048994d; + --spectrum-alias-transparent-blue-background-color-key-focus: var( + --spectrum-alias-transparent-blue-background-color-hover + ); + --spectrum-alias-transparent-blue-background-color-mouse-focus: var( + --spectrum-alias-transparent-blue-background-color-hover + ); + --spectrum-alias-transparent-blue-background-color: var( + --spectrum-alias-component-text-color-default + ); + --spectrum-alias-transparent-red-background-color-hover: #9a000026; + --spectrum-alias-transparent-red-background-color-down: #7c00004d; + --spectrum-alias-transparent-red-background-color-key-focus: var( + --spectrum-alias-transparent-red-background-color-hover + ); + --spectrum-alias-transparent-red-background-color-mouse-focus: var( + --spectrum-alias-transparent-red-background-color-hover + ); + --spectrum-alias-transparent-red-background-color: var( + --spectrum-alias-component-text-color-default + ); + --spectrum-alias-component-text-color-disabled: var( + --spectrum-global-color-gray-500 + ); + --spectrum-alias-component-text-color-default: var( + --spectrum-global-color-gray-800 + ); + --spectrum-alias-component-text-color-hover: var( + --spectrum-global-color-gray-900 + ); + --spectrum-alias-component-text-color-down: var( + --spectrum-global-color-gray-900 + ); + --spectrum-alias-component-text-color-key-focus: var( + --spectrum-alias-component-text-color-hover + ); + --spectrum-alias-component-text-color-mouse-focus: var( + --spectrum-alias-component-text-color-hover + ); + --spectrum-alias-component-text-color: var( + --spectrum-alias-component-text-color-default + ); + --spectrum-alias-component-text-color-selected-default: var( + --spectrum-alias-component-text-color-default + ); + --spectrum-alias-component-text-color-selected-hover: var( + --spectrum-alias-component-text-color-hover + ); + --spectrum-alias-component-text-color-selected-down: var( + --spectrum-alias-component-text-color-down + ); + --spectrum-alias-component-text-color-selected-key-focus: var( + --spectrum-alias-component-text-color-key-focus + ); + --spectrum-alias-component-text-color-selected-mouse-focus: var( + --spectrum-alias-component-text-color-mouse-focus + ); + --spectrum-alias-component-text-color-selected: var( + --spectrum-alias-component-text-color-selected-default + ); + --spectrum-alias-component-text-color-emphasized-selected-default: var( + --spectrum-global-color-static-white + ); + --spectrum-alias-component-text-color-emphasized-selected-hover: var( + --spectrum-alias-component-text-color-emphasized-selected-default + ); + --spectrum-alias-component-text-color-emphasized-selected-down: var( + --spectrum-alias-component-text-color-emphasized-selected-default + ); + --spectrum-alias-component-text-color-emphasized-selected-key-focus: var( + --spectrum-alias-component-text-color-emphasized-selected-default + ); + --spectrum-alias-component-text-color-emphasized-selected-mouse-focus: var( + --spectrum-alias-component-text-color-emphasized-selected-default + ); + --spectrum-alias-component-text-color-emphasized-selected: var( + --spectrum-alias-component-text-color-emphasized-selected-default + ); + --spectrum-alias-component-text-color-error-default: var( + --spectrum-semantic-negative-text-color-small + ); + --spectrum-alias-component-text-color-error-hover: var( + --spectrum-semantic-negative-text-color-small-hover + ); + --spectrum-alias-component-text-color-error-down: var( + --spectrum-semantic-negative-text-color-small-down + ); + --spectrum-alias-component-text-color-error-key-focus: var( + --spectrum-semantic-negative-text-color-small-key-focus + ); + --spectrum-alias-component-text-color-error-mouse-focus: var( + --spectrum-semantic-negative-text-color-small-key-focus + ); + --spectrum-alias-component-text-color-error: var( + --spectrum-alias-component-text-color-error-default + ); + --spectrum-alias-component-icon-color-disabled: var( + --spectrum-alias-icon-color-disabled + ); + --spectrum-alias-component-icon-color-default: var( + --spectrum-alias-icon-color + ); + --spectrum-alias-component-icon-color-hover: var( + --spectrum-alias-icon-color-hover + ); + --spectrum-alias-component-icon-color-down: var( + --spectrum-alias-icon-color-down + ); + --spectrum-alias-component-icon-color-key-focus: var( + --spectrum-alias-icon-color-hover + ); + --spectrum-alias-component-icon-color-mouse-focus: var( + --spectrum-alias-icon-color-down + ); + --spectrum-alias-component-icon-color: var( + --spectrum-alias-component-icon-color-default + ); + --spectrum-alias-component-icon-color-selected: var( + --spectrum-alias-icon-color-selected-neutral-subdued + ); + --spectrum-alias-component-icon-color-emphasized-selected-default: var( + --spectrum-global-color-static-white + ); + --spectrum-alias-component-icon-color-emphasized-selected-hover: var( + --spectrum-alias-component-icon-color-emphasized-selected-default + ); + --spectrum-alias-component-icon-color-emphasized-selected-down: var( + --spectrum-alias-component-icon-color-emphasized-selected-default + ); + --spectrum-alias-component-icon-color-emphasized-selected-key-focus: var( + --spectrum-alias-component-icon-color-emphasized-selected-default + ); + --spectrum-alias-component-icon-color-emphasized-selected: var( + --spectrum-alias-component-icon-color-emphasized-selected-default + ); + --spectrum-alias-component-background-color-disabled: var( + --spectrum-global-color-gray-200 + ); + --spectrum-alias-component-background-color-quiet-disabled: var( + --spectrum-alias-background-color-transparent + ); + --spectrum-alias-component-background-color-quiet-selected-disabled: var( + --spectrum-alias-component-background-color-disabled + ); + --spectrum-alias-component-background-color-default: var( + --spectrum-global-color-gray-75 + ); + --spectrum-alias-component-background-color-hover: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-component-background-color-down: var( + --spectrum-global-color-gray-200 + ); + --spectrum-alias-component-background-color-key-focus: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-component-background-color: var( + --spectrum-alias-component-background-color-default + ); + --spectrum-alias-component-background-color-selected-default: var( + --spectrum-global-color-gray-200 + ); + --spectrum-alias-component-background-color-selected-hover: var( + --spectrum-global-color-gray-200 + ); + --spectrum-alias-component-background-color-selected-down: var( + --spectrum-global-color-gray-200 + ); + --spectrum-alias-component-background-color-selected-key-focus: var( + --spectrum-global-color-gray-200 + ); + --spectrum-alias-component-background-color-selected: var( + --spectrum-alias-component-background-color-selected-default + ); + --spectrum-alias-component-background-color-quiet-default: var( + --spectrum-alias-background-color-transparent + ); + --spectrum-alias-component-background-color-quiet-hover: var( + --spectrum-alias-background-color-transparent + ); + --spectrum-alias-component-background-color-quiet-down: var( + --spectrum-global-color-gray-300 + ); + --spectrum-alias-component-background-color-quiet-key-focus: var( + --spectrum-alias-background-color-transparent + ); + --spectrum-alias-component-background-color-quiet: var( + --spectrum-alias-component-background-color-quiet-default + ); + --spectrum-alias-component-background-color-quiet-selected-default: var( + --spectrum-alias-component-background-color-selected-default + ); + --spectrum-alias-component-background-color-quiet-selected-hover: var( + --spectrum-alias-component-background-color-selected-hover + ); + --spectrum-alias-component-background-color-quiet-selected-down: var( + --spectrum-alias-component-background-color-selected-down + ); + --spectrum-alias-component-background-color-quiet-selected-key-focus: var( + --spectrum-alias-component-background-color-selected-key-focus + ); + --spectrum-alias-component-background-color-quiet-selected: var( + --spectrum-alias-component-background-color-selected-default + ); + --spectrum-alias-component-background-color-emphasized-selected-default: var( + --spectrum-semantic-cta-background-color-default + ); + --spectrum-alias-component-background-color-emphasized-selected-hover: var( + --spectrum-semantic-cta-background-color-hover + ); + --spectrum-alias-component-background-color-emphasized-selected-down: var( + --spectrum-semantic-cta-background-color-down + ); + --spectrum-alias-component-background-color-emphasized-selected-key-focus: var( + --spectrum-semantic-cta-background-color-key-focus + ); + --spectrum-alias-component-background-color-emphasized-selected: var( + --spectrum-alias-component-background-color-emphasized-selected-default + ); + --spectrum-alias-component-border-color-disabled: var( + --spectrum-alias-border-color-disabled + ); + --spectrum-alias-component-border-color-quiet-disabled: var( + --spectrum-alias-border-color-transparent + ); + --spectrum-alias-component-border-color-default: var( + --spectrum-alias-border-color + ); + --spectrum-alias-component-border-color-hover: var( + --spectrum-alias-border-color-hover + ); + --spectrum-alias-component-border-color-down: var( + --spectrum-alias-border-color-down + ); + --spectrum-alias-component-border-color-key-focus: var( + --spectrum-alias-border-color-key-focus + ); + --spectrum-alias-component-border-color: var( + --spectrum-alias-component-border-color-default + ); + --spectrum-alias-component-border-color-selected-default: var( + --spectrum-alias-border-color + ); + --spectrum-alias-component-border-color-selected-hover: var( + --spectrum-alias-border-color-hover + ); + --spectrum-alias-component-border-color-selected-down: var( + --spectrum-alias-border-color-down + ); + --spectrum-alias-component-border-color-selected-key-focus: var( + --spectrum-alias-border-color-key-focus + ); + --spectrum-alias-component-border-color-selected: var( + --spectrum-alias-component-border-color-selected-default + ); + --spectrum-alias-component-border-color-quiet-default: var( + --spectrum-alias-border-color-transparent + ); + --spectrum-alias-component-border-color-quiet-hover: var( + --spectrum-alias-border-color-transparent + ); + --spectrum-alias-component-border-color-quiet-down: var( + --spectrum-alias-border-color-transparent + ); + --spectrum-alias-component-border-color-quiet-key-focus: var( + --spectrum-alias-border-color-key-focus + ); + --spectrum-alias-component-border-color-quiet: var( + --spectrum-alias-component-border-color-quiet-default + ); + --spectrum-alias-component-border-color-quiet-selected-default: var( + --spectrum-global-color-gray-200 + ); + --spectrum-alias-component-border-color-quiet-selected-hover: var( + --spectrum-global-color-gray-200 + ); + --spectrum-alias-component-border-color-quiet-selected-down: var( + --spectrum-global-color-gray-200 + ); + --spectrum-alias-component-border-color-quiet-selected-key-focus: var( + --spectrum-alias-border-color-key-focus + ); + --spectrum-alias-component-border-color-quiet-selected: var( + --spectrum-alias-component-border-color-quiet-selected-default + ); + --spectrum-alias-component-border-color-emphasized-selected-default: var( + --spectrum-semantic-cta-background-color-default + ); + --spectrum-alias-component-border-color-emphasized-selected-hover: var( + --spectrum-semantic-cta-background-color-hover + ); + --spectrum-alias-component-border-color-emphasized-selected-down: var( + --spectrum-semantic-cta-background-color-down + ); + --spectrum-alias-component-border-color-emphasized-selected-key-focus: var( + --spectrum-semantic-cta-background-color-key-focus + ); + --spectrum-alias-component-border-color-emphasized-selected: var( + --spectrum-alias-component-border-color-emphasized-selected-default + ); + --spectrum-alias-tag-border-color-default: var( + --spectrum-alias-border-color-darker-default + ); + --spectrum-alias-tag-border-color-hover: var( + --spectrum-alias-border-color-darker-hover + ); + --spectrum-alias-tag-border-color-down: var( + --spectrum-alias-border-color-darker-hover + ); + --spectrum-alias-tag-border-color-key-focus: var( + --spectrum-alias-border-color-key-focus + ); + --spectrum-alias-tag-border-color-error-default: var( + --spectrum-semantic-negative-color-default + ); + --spectrum-alias-tag-border-color-error-hover: var( + --spectrum-semantic-negative-color-hover + ); + --spectrum-alias-tag-border-color-error-down: var( + --spectrum-semantic-negative-color-hover + ); + --spectrum-alias-tag-border-color-error-key-focus: var( + --spectrum-alias-border-color-key-focus + ); + --spectrum-alias-tag-border-color-error-selected: var( + --spectrum-semantic-negative-color-default + ); + --spectrum-alias-tag-border-color-selected: var( + --spectrum-alias-tag-background-color-selected-default + ); + --spectrum-alias-tag-border-color: var( + --spectrum-alias-tag-border-color-default + ); + --spectrum-alias-tag-border-color-disabled: var( + --spectrum-alias-border-color-disabled + ); + --spectrum-alias-tag-border-color-error: var( + --spectrum-alias-tag-border-color-error-default + ); + --spectrum-alias-tag-text-color-default: var( + --spectrum-alias-label-text-color + ); + --spectrum-alias-tag-text-color-hover: var( + --spectrum-alias-text-color-hover + ); + --spectrum-alias-tag-text-color-down: var(--spectrum-alias-text-color-down); + --spectrum-alias-tag-text-color-key-focus: var( + --spectrum-alias-text-color-hover + ); + --spectrum-alias-tag-text-color-disabled: var( + --spectrum-global-color-gray-500 + ); + --spectrum-alias-tag-text-color: var( + --spectrum-alias-tag-text-color-default + ); + --spectrum-alias-tag-text-color-error-default: var( + --spectrum-global-color-red-600 + ); + --spectrum-alias-tag-text-color-error-hover: var( + --spectrum-global-color-red-700 + ); + --spectrum-alias-tag-text-color-error-down: var( + --spectrum-global-color-red-700 + ); + --spectrum-alias-tag-text-color-error-key-focus: var( + --spectrum-global-color-red-700 + ); + --spectrum-alias-tag-text-color-error: var( + --spectrum-alias-tag-text-color-error-default + ); + --spectrum-alias-tag-text-color-selected: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-tag-icon-color-default: var(--spectrum-alias-icon-color); + --spectrum-alias-tag-icon-color-hover: var( + --spectrum-alias-icon-color-hover + ); + --spectrum-alias-tag-icon-color-down: var(--spectrum-alias-icon-color-down); + --spectrum-alias-tag-icon-color-key-focus: var( + --spectrum-alias-icon-color-hover + ); + --spectrum-alias-tag-icon-color-disabled: var( + --spectrum-alias-icon-color-disabled + ); + --spectrum-alias-tag-icon-color: var( + --spectrum-alias-tag-icon-color-default + ); + --spectrum-alias-tag-icon-color-error: var(--spectrum-global-color-red-600); + --spectrum-alias-tag-icon-color-selected: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-tag-background-color-disabled: var( + --spectrum-global-color-gray-200 + ); + --spectrum-alias-tag-background-color-default: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-tag-background-color-hover: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-tag-background-color-down: var( + --spectrum-global-color-gray-200 + ); + --spectrum-alias-tag-background-color-key-focus: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-tag-background-color: var( + --spectrum-alias-tag-background-color-default + ); + --spectrum-alias-tag-background-color-error-default: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-tag-background-color-error-hover: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-tag-background-color-error-down: var( + --spectrum-global-color-gray-200 + ); + --spectrum-alias-tag-background-color-error-key-focus: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-tag-background-color-error: var( + --spectrum-alias-tag-background-color-error-default + ); + --spectrum-alias-tag-background-color-error-selected-default: var( + --spectrum-semantic-negative-color-default + ); + --spectrum-alias-tag-background-color-error-selected-hover: var( + --spectrum-semantic-negative-color-hover + ); + --spectrum-alias-tag-background-color-error-selected-down: var( + --spectrum-semantic-negative-color-hover + ); + --spectrum-alias-tag-background-color-error-selected-key-focus: var( + --spectrum-global-color-red-600 + ); + --spectrum-alias-tag-background-color-error-selected: var( + --spectrum-alias-tag-background-color-error-selected-default + ); + --spectrum-alias-tag-background-color-selected-default: var( + --spectrum-global-color-gray-700 + ); + --spectrum-alias-tag-background-color-selected-hover: var( + --spectrum-global-color-gray-800 + ); + --spectrum-alias-tag-background-color-selected-down: var( + --spectrum-global-color-gray-900 + ); + --spectrum-alias-tag-background-color-selected-key-focus: var( + --spectrum-global-color-gray-900 + ); + --spectrum-alias-tag-background-color-selected: var( + --spectrum-alias-tag-background-color-selected-default + ); + --spectrum-alias-tag-focusring-border-color-default: transparent; + --spectrum-alias-tag-focusring-border-color-key-focus: transparent; + --spectrum-alias-tag-focusring-border-color-disabled: transparent; + --spectrum-alias-tag-focusring-border-color-selected-key-focus: var( + --spectrum-alias-focus-ring-color + ); + --spectrum-alias-tag-focusring-border-color: var( + --spectrum-alias-tag-focusring-border-color-default + ); + --spectrum-alias-avatar-border-color-default: var( + --spectrum-alias-background-color-transparent + ); + --spectrum-alias-avatar-border-color-hover: var( + --spectrum-alias-background-color-transparent + ); + --spectrum-alias-avatar-border-color-down: var( + --spectrum-alias-background-color-transparent + ); + --spectrum-alias-avatar-border-color-key-focus: var( + --spectrum-alias-background-color-transparent + ); + --spectrum-alias-avatar-border-color: var( + --spectrum-alias-avatar-border-color-default + ); + --spectrum-alias-avatar-border-color-disabled: var( + --spectrum-alias-background-color-transparent + ); + --spectrum-alias-avatar-border-color-selected-default: var( + --spectrum-alias-background-color-transparent + ); + --spectrum-alias-avatar-border-color-selected-hover: var( + --spectrum-alias-background-color-transparent + ); + --spectrum-alias-avatar-border-color-selected-down: var( + --spectrum-alias-background-color-transparent + ); + --spectrum-alias-avatar-border-color-selected-key-focus: var( + --spectrum-alias-background-color-transparent + ); + --spectrum-alias-avatar-border-color-selected: var( + --spectrum-alias-avatar-border-color-selected-default + ); + --spectrum-alias-avatar-border-color-selected-disabled: var( + --spectrum-alias-background-color-transparent + ); + --spectrum-alias-toggle-background-color-default: var( + --spectrum-global-color-gray-700 + ); + --spectrum-alias-toggle-background-color-hover: var( + --spectrum-global-color-gray-800 + ); + --spectrum-alias-toggle-background-color-down: var( + --spectrum-global-color-gray-900 + ); + --spectrum-alias-toggle-background-color-key-focus: var( + --spectrum-global-color-gray-800 + ); + --spectrum-alias-toggle-background-color: var( + --spectrum-alias-toggle-background-color-default + ); + --spectrum-alias-toggle-background-color-emphasized-selected-default: var( + --spectrum-global-color-blue-500 + ); + --spectrum-alias-toggle-background-color-emphasized-selected-hover: var( + --spectrum-global-color-blue-600 + ); + --spectrum-alias-toggle-background-color-emphasized-selected-down: var( + --spectrum-global-color-blue-700 + ); + --spectrum-alias-toggle-background-color-emphasized-selected-key-focus: var( + --spectrum-global-color-blue-600 + ); + --spectrum-alias-toggle-background-color-emphasized-selected: var( + --spectrum-alias-toggle-background-color-emphasized-selected-default + ); + --spectrum-alias-toggle-border-color-default: var( + --spectrum-global-color-gray-700 + ); + --spectrum-alias-toggle-border-color-hover: var( + --spectrum-global-color-gray-800 + ); + --spectrum-alias-toggle-border-color-down: var( + --spectrum-global-color-gray-900 + ); + --spectrum-alias-toggle-border-color-key-focus: var( + --spectrum-global-color-gray-800 + ); + --spectrum-alias-toggle-border-color: var( + --spectrum-alias-toggle-border-color-default + ); + --spectrum-alias-toggle-icon-color-selected: var( + --spectrum-global-color-gray-75 + ); + --spectrum-alias-toggle-icon-color-emphasized-selected: var( + --spectrum-global-color-gray-75 + ); + --spectrum-alias-button-primary-background-color-default: var( + --spectrum-alias-background-color-transparent + ); + --spectrum-alias-button-primary-background-color-hover: var( + --spectrum-global-color-gray-800 + ); + --spectrum-alias-button-primary-background-color-down: var( + --spectrum-global-color-gray-900 + ); + --spectrum-alias-button-primary-background-color-key-focus: var( + --spectrum-global-color-gray-800 + ); + --spectrum-alias-button-primary-background-color: var( + --spectrum-alias-button-primary-background-color-default + ); + --spectrum-alias-button-primary-border-color-default: var( + --spectrum-global-color-gray-800 + ); + --spectrum-alias-button-primary-border-color-hover: var( + --spectrum-alias-button-primary-background-color-hover + ); + --spectrum-alias-button-primary-border-color-down: var( + --spectrum-alias-button-primary-background-color-down + ); + --spectrum-alias-button-primary-border-color-key-focus: var( + --spectrum-alias-button-primary-background-color-key-focus + ); + --spectrum-alias-button-primary-border-color: var( + --spectrum-alias-button-primary-border-color-default + ); + --spectrum-alias-button-primary-text-color-default: var( + --spectrum-global-color-gray-800 + ); + --spectrum-alias-button-primary-text-color-hover: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-button-primary-text-color-down: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-button-primary-text-color-key-focus: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-button-primary-text-color: var( + --spectrum-alias-button-primary-text-color-default + ); + --spectrum-alias-button-primary-icon-color-default: var( + --spectrum-alias-button-primary-text-color-default + ); + --spectrum-alias-button-primary-icon-color-hover: var( + --spectrum-alias-button-primary-text-color-hover + ); + --spectrum-alias-button-primary-icon-color-down: var( + --spectrum-alias-button-primary-text-color-down + ); + --spectrum-alias-button-primary-icon-color-key-focus: var( + --spectrum-alias-button-primary-text-color-key-focus + ); + --spectrum-alias-button-primary-icon-color: var( + --spectrum-alias-button-primary-icon-color-default + ); + --spectrum-alias-button-secondary-background-color-default: var( + --spectrum-alias-background-color-transparent + ); + --spectrum-alias-button-secondary-background-color-hover: var( + --spectrum-global-color-gray-700 + ); + --spectrum-alias-button-secondary-background-color-down: var( + --spectrum-global-color-gray-800 + ); + --spectrum-alias-button-secondary-background-color-key-focus: var( + --spectrum-global-color-gray-700 + ); + --spectrum-alias-button-secondary-background-color: var( + --spectrum-alias-button-secondary-background-color-default + ); + --spectrum-alias-button-secondary-border-color-default: var( + --spectrum-global-color-gray-700 + ); + --spectrum-alias-button-secondary-border-color-hover: var( + --spectrum-alias-button-secondary-background-color-hover + ); + --spectrum-alias-button-secondary-border-color-down: var( + --spectrum-alias-button-secondary-background-color-down + ); + --spectrum-alias-button-secondary-border-color-key-focus: var( + --spectrum-alias-button-secondary-background-color-key-focus + ); + --spectrum-alias-button-secondary-border-color: var( + --spectrum-alias-button-secondary-border-color-default + ); + --spectrum-alias-button-secondary-text-color-default: var( + --spectrum-global-color-gray-700 + ); + --spectrum-alias-button-secondary-text-color-hover: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-button-secondary-text-color-down: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-button-secondary-text-color-key-focus: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-button-secondary-text-color: var( + --spectrum-alias-button-secondary-text-color-default + ); + --spectrum-alias-button-secondary-icon-color-default: var( + --spectrum-alias-button-secondary-text-color-default + ); + --spectrum-alias-button-secondary-icon-color-hover: var( + --spectrum-alias-button-secondary-text-color-hover + ); + --spectrum-alias-button-secondary-icon-color-down: var( + --spectrum-alias-button-secondary-text-color-down + ); + --spectrum-alias-button-secondary-icon-color-key-focus: var( + --spectrum-alias-button-secondary-text-color-key-focus + ); + --spectrum-alias-button-secondary-icon-color: var( + --spectrum-alias-button-secondary-icon-color-default + ); + --spectrum-alias-button-negative-background-color-default: var( + --spectrum-alias-background-color-transparent + ); + --spectrum-alias-button-negative-background-color-hover: var( + --spectrum-semantic-negative-text-color-small + ); + --spectrum-alias-button-negative-background-color-down: var( + --spectrum-global-color-red-700 + ); + --spectrum-alias-button-negative-background-color-key-focus: var( + --spectrum-semantic-negative-text-color-small + ); + --spectrum-alias-button-negative-background-color: var( + --spectrum-alias-button-negative-background-color-default + ); + --spectrum-alias-button-negative-border-color-default: var( + --spectrum-semantic-negative-text-color-small + ); + --spectrum-alias-button-negative-border-color-hover: var( + --spectrum-semantic-negative-text-color-small + ); + --spectrum-alias-button-negative-border-color-down: var( + --spectrum-global-color-red-700 + ); + --spectrum-alias-button-negative-border-color-key-focus: var( + --spectrum-semantic-negative-text-color-small + ); + --spectrum-alias-button-negative-border-color: var( + --spectrum-alias-button-negative-border-color-default + ); + --spectrum-alias-button-negative-text-color-default: var( + --spectrum-semantic-negative-text-color-small + ); + --spectrum-alias-button-negative-text-color-hover: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-button-negative-text-color-down: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-button-negative-text-color-key-focus: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-button-negative-text-color: var( + --spectrum-alias-button-negative-text-color-default + ); + --spectrum-alias-button-negative-icon-color-default: var( + --spectrum-alias-button-negative-text-color-default + ); + --spectrum-alias-button-negative-icon-color-hover: var( + --spectrum-alias-button-negative-text-color-hover + ); + --spectrum-alias-button-negative-icon-color-down: var( + --spectrum-alias-button-negative-text-color-down + ); + --spectrum-alias-button-negative-icon-color-key-focus: var( + --spectrum-alias-button-negative-text-color-key-focus + ); + --spectrum-alias-button-negative-icon-color: var( + --spectrum-alias-button-negative-icon-color-default + ); + --spectrum-alias-input-border-color-disabled: var( + --spectrum-alias-border-color-transparent + ); + --spectrum-alias-input-border-color-quiet-disabled: var( + --spectrum-alias-border-color-mid + ); + --spectrum-alias-input-border-color-default: var( + --spectrum-alias-border-color + ); + --spectrum-alias-input-border-color-hover: var( + --spectrum-alias-border-color-hover + ); + --spectrum-alias-input-border-color-down: var( + --spectrum-alias-border-color-mouse-focus + ); + --spectrum-alias-input-border-color-mouse-focus: var( + --spectrum-alias-border-color-mouse-focus + ); + --spectrum-alias-input-border-color-key-focus: var( + --spectrum-alias-border-color-key-focus + ); + --spectrum-alias-input-border-color: var( + --spectrum-alias-input-border-color-default + ); + --spectrum-alias-input-border-color-invalid-default: var( + --spectrum-semantic-negative-color-default + ); + --spectrum-alias-input-border-color-invalid-hover: var( + --spectrum-semantic-negative-color-hover + ); + --spectrum-alias-input-border-color-invalid-down: var( + --spectrum-semantic-negative-color-down + ); + --spectrum-alias-input-border-color-invalid-mouse-focus: var( + --spectrum-semantic-negative-color-hover + ); + --spectrum-alias-input-border-color-invalid-key-focus: var( + --spectrum-alias-border-color-key-focus + ); + --spectrum-alias-input-border-color-invalid: var( + --spectrum-alias-input-border-color-invalid-default + ); + --spectrum-alias-background-color-yellow-default: var( + --spectrum-global-color-static-yellow-300 + ); + --spectrum-alias-background-color-yellow-hover: var( + --spectrum-global-color-static-yellow-400 + ); + --spectrum-alias-background-color-yellow-key-focus: var( + --spectrum-global-color-static-yellow-400 + ); + --spectrum-alias-background-color-yellow-down: var( + --spectrum-global-color-static-yellow-500 + ); + --spectrum-alias-background-color-yellow: var( + --spectrum-alias-background-color-yellow-default + ); + --spectrum-alias-infieldbutton-background-color: var( + --spectrum-global-color-gray-200 + ); + --spectrum-alias-infieldbutton-fill-loudnessLow-border-color-disabled: transparent; + --spectrum-alias-infieldbutton-fill-loudnessMedium-border-color-disabled: transparent; + --spectrum-alias-infieldbutton-fill-loudnessHigh-border-color-disabled: var( + --spectrum-alias-component-background-color-disabled + ); + --spectrum-alias-infieldbutton-fill-border-color-default: var( + --spectrum-alias-input-border-color-default + ); + --spectrum-alias-infieldbutton-fill-border-color-hover: var( + --spectrum-alias-input-border-color-hover + ); + --spectrum-alias-infieldbutton-fill-border-color-down: var( + --spectrum-alias-input-border-color-down + ); + --spectrum-alias-infieldbutton-fill-border-color-mouse-focus: var( + --spectrum-alias-input-border-color-mouse-focus + ); + --spectrum-alias-infieldbutton-fill-border-color-key-focus: var( + --spectrum-alias-input-border-color-key-focus + ); + --spectrum-alias-infieldbutton-fill-loudnessLow-background-color-default: transparent; + --spectrum-alias-infieldbutton-fill-loudnessLow-background-color-hover: transparent; + --spectrum-alias-infieldbutton-fill-loudnessLow-background-color-down: transparent; + --spectrum-alias-infieldbutton-fill-loudnessLow-background-color-key-focus: transparent; + --spectrum-alias-infieldbutton-fill-loudnessLow-background-color-disabled: transparent; + --spectrum-alias-infieldbutton-fill-loudnessMedium-background-color-default: var( + --spectrum-alias-infieldbutton-fill-loudnessLow-background-color-default + ); + --spectrum-alias-infieldbutton-fill-loudnessMedium-background-color-hover: var( + --spectrum-alias-infieldbutton-fill-loudnessLow-background-color-hover + ); + --spectrum-alias-infieldbutton-fill-loudnessMedium-background-color-down: var( + --spectrum-alias-infieldbutton-fill-loudnessLow-background-color-down + ); + --spectrum-alias-infieldbutton-fill-loudnessMedium-background-color-key-focus: var( + --spectrum-alias-infieldbutton-fill-loudnessLow-background-color-key-focus + ); + --spectrum-alias-infieldbutton-fill-loudnessMedium-background-color-disabled: transparent; + --spectrum-alias-infieldbutton-fill-loudnessHigh-background-color-default: var( + --spectrum-alias-component-background-color-default + ); + --spectrum-alias-infieldbutton-fill-loudnessHigh-background-color-hover: var( + --spectrum-alias-component-background-color-hover + ); + --spectrum-alias-infieldbutton-fill-loudnessHigh-background-color-down: var( + --spectrum-alias-component-background-color-down + ); + --spectrum-alias-infieldbutton-fill-loudnessHigh-background-color-key-focus: var( + --spectrum-alias-component-background-color-key-focus + ); + --spectrum-alias-infieldbutton-fill-loudnessHigh-background-color-disabled: var( + --spectrum-alias-component-background-color-disabled + ); + --spectrum-alias-actionbutton-staticBlack-border-color-default: #0006; + --spectrum-alias-actionbutton-staticBlack-background-color-default: transparent; + --spectrum-alias-actionbutton-staticBlack-border-color-hover: #0000008c; + --spectrum-alias-actionbutton-staticBlack-background-color-hover: #00000040; + --spectrum-alias-actionbutton-staticBlack-border-color-down: #000000b3; + --spectrum-alias-actionbutton-staticBlack-background-color-down: #0006; + --spectrum-alias-actionbutton-staticBlack-border-color-key-focus: #0000008c; + --spectrum-alias-actionbutton-staticBlack-background-color-key-focus: #00000040; + --spectrum-alias-actionbutton-staticBlack-border-color-disabled: #00000040; + --spectrum-alias-actionbutton-staticBlack-background-color-disabled: transparent; + --spectrum-alias-actionbutton-staticBlack-border-color-disabled-selected: transparent; + --spectrum-alias-actionbutton-staticBlack-background-color-disabled-selected: #0000001a; + --spectrum-alias-actionbutton-staticWhite-border-color-default: #fff6; + --spectrum-alias-actionbutton-staticWhite-background-color-default: transparent; + --spectrum-alias-actionbutton-staticWhite-border-color-hover: #ffffff8c; + --spectrum-alias-actionbutton-staticWhite-background-color-hover: #ffffff40; + --spectrum-alias-actionbutton-staticWhite-border-color-down: #ffffffb3; + --spectrum-alias-actionbutton-staticWhite-background-color-down: #fff6; + --spectrum-alias-actionbutton-staticWhite-border-color-key-focus: #ffffff8c; + --spectrum-alias-actionbutton-staticWhite-background-color-key-focus: #ffffff40; + --spectrum-alias-actionbutton-staticWhite-border-color-disabled: #ffffff40; + --spectrum-alias-actionbutton-staticWhite-background-color-disabled: transparent; + --spectrum-alias-actionbutton-staticWhite-border-color-disabled-selected: transparent; + --spectrum-alias-actionbutton-staticWhite-background-color-disabled-selected: #ffffff1a; + --spectrum-alias-tabs-divider-background-color-default: var( + --spectrum-global-color-gray-300 + ); + --spectrum-alias-tabs-divider-background-color-quiet: var( + --spectrum-alias-background-color-transparent + ); + --spectrum-alias-tabitem-text-color-default: var( + --spectrum-alias-label-text-color + ); + --spectrum-alias-tabitem-text-color-hover: var( + --spectrum-alias-text-color-hover + ); + --spectrum-alias-tabitem-text-color-down: var( + --spectrum-alias-text-color-down + ); + --spectrum-alias-tabitem-text-color-key-focus: var( + --spectrum-alias-text-color-hover + ); + --spectrum-alias-tabitem-text-color-mouse-focus: var( + --spectrum-alias-text-color-hover + ); + --spectrum-alias-tabitem-text-color: var( + --spectrum-alias-tabitem-text-color-default + ); + --spectrum-alias-tabitem-text-color-selected-default: var( + --spectrum-global-color-gray-900 + ); + --spectrum-alias-tabitem-text-color-selected-hover: var( + --spectrum-alias-tabitem-text-color-selected-default + ); + --spectrum-alias-tabitem-text-color-selected-down: var( + --spectrum-alias-tabitem-text-color-selected-default + ); + --spectrum-alias-tabitem-text-color-selected-key-focus: var( + --spectrum-alias-tabitem-text-color-selected-default + ); + --spectrum-alias-tabitem-text-color-selected-mouse-focus: var( + --spectrum-alias-tabitem-text-color-selected-default + ); + --spectrum-alias-tabitem-text-color-selected: var( + --spectrum-alias-tabitem-text-color-selected-default + ); + --spectrum-alias-tabitem-text-color-emphasized: var( + --spectrum-alias-tabitem-text-color-default + ); + --spectrum-alias-tabitem-text-color-emphasized-selected-default: var( + --spectrum-global-color-static-blue-500 + ); + --spectrum-alias-tabitem-text-color-emphasized-selected-hover: var( + --spectrum-alias-tabitem-text-color-emphasized-selected-default + ); + --spectrum-alias-tabitem-text-color-emphasized-selected-down: var( + --spectrum-alias-tabitem-text-color-emphasized-selected-default + ); + --spectrum-alias-tabitem-text-color-emphasized-selected-key-focus: var( + --spectrum-alias-tabitem-text-color-emphasized-selected-default + ); + --spectrum-alias-tabitem-text-color-emphasized-selected-mouse-focus: var( + --spectrum-alias-tabitem-text-color-emphasized-selected-default + ); + --spectrum-alias-tabitem-text-color-emphasized-selected: var( + --spectrum-alias-tabitem-text-color-emphasized-selected-default + ); + --spectrum-alias-tabitem-selection-indicator-color-default: var( + --spectrum-alias-tabitem-text-color-selected-default + ); + --spectrum-alias-tabitem-selection-indicator-color-emphasized: var( + --spectrum-alias-tabitem-text-color-emphasized-selected-default + ); + --spectrum-alias-tabitem-icon-color-disabled: var( + --spectrum-alias-text-color-disabled + ); + --spectrum-alias-tabitem-icon-color-default: var( + --spectrum-alias-icon-color + ); + --spectrum-alias-tabitem-icon-color-hover: var( + --spectrum-alias-icon-color-hover + ); + --spectrum-alias-tabitem-icon-color-down: var( + --spectrum-alias-icon-color-down + ); + --spectrum-alias-tabitem-icon-color-key-focus: var( + --spectrum-alias-icon-color-hover + ); + --spectrum-alias-tabitem-icon-color-mouse-focus: var( + --spectrum-alias-icon-color-down + ); + --spectrum-alias-tabitem-icon-color: var( + --spectrum-alias-tabitem-icon-color-default + ); + --spectrum-alias-tabitem-icon-color-selected: var( + --spectrum-alias-icon-color-selected-neutral + ); + --spectrum-alias-tabitem-icon-color-emphasized: var( + --spectrum-alias-tabitem-text-color-default + ); + --spectrum-alias-tabitem-icon-color-emphasized-selected: var( + --spectrum-alias-tabitem-text-color-emphasized-selected-default + ); + --spectrum-alias-assetcard-selectionindicator-background-color-ordered: var( + --spectrum-global-color-blue-500 + ); + --spectrum-alias-assetcard-overlay-background-color: #1b7ff51a; + --spectrum-alias-assetcard-border-color-selected: var( + --spectrum-global-color-blue-500 + ); + --spectrum-alias-assetcard-border-color-selected-hover: var( + --spectrum-global-color-blue-500 + ); + --spectrum-alias-assetcard-border-color-selected-down: var( + --spectrum-global-color-blue-600 + ); + --spectrum-alias-background-color-default: var( + --spectrum-global-color-gray-100 + ); + --spectrum-alias-background-color-disabled: var( + --spectrum-global-color-gray-200 + ); + --spectrum-alias-background-color-transparent: transparent; + --spectrum-alias-background-color-overbackground-down: #fff3; + --spectrum-alias-background-color-quiet-overbackground-hover: #ffffff1a; + --spectrum-alias-background-color-quiet-overbackground-down: #fff3; + --spectrum-alias-background-color-overbackground-disabled: #ffffff1a; + --spectrum-alias-background-color-quickactions-overlay: #0003; + --spectrum-alias-placeholder-text-color: var( + --spectrum-global-color-gray-800 + ); + --spectrum-alias-placeholder-text-color-hover: var( + --spectrum-global-color-gray-900 + ); + --spectrum-alias-placeholder-text-color-down: var( + --spectrum-global-color-gray-900 + ); + --spectrum-alias-placeholder-text-color-selected: var( + --spectrum-global-color-gray-800 + ); + --spectrum-alias-label-text-color: var(--spectrum-global-color-gray-700); + --spectrum-alias-text-color: var(--spectrum-global-color-gray-800); + --spectrum-alias-text-color-hover: var(--spectrum-global-color-gray-900); + --spectrum-alias-text-color-down: var(--spectrum-global-color-gray-900); + --spectrum-alias-text-color-key-focus: var( + --spectrum-global-color-blue-600 + ); + --spectrum-alias-text-color-mouse-focus: var( + --spectrum-global-color-blue-600 + ); + --spectrum-alias-text-color-disabled: var(--spectrum-global-color-gray-500); + --spectrum-alias-text-color-invalid: var(--spectrum-global-color-red-500); + --spectrum-alias-text-color-selected: var(--spectrum-global-color-blue-600); + --spectrum-alias-text-color-selected-neutral: var( + --spectrum-global-color-gray-900 + ); + --spectrum-alias-text-color-overbackground: var( + --spectrum-global-color-static-white + ); + --spectrum-alias-text-color-overbackground-disabled: #fff3; + --spectrum-alias-text-color-quiet-overbackground-disabled: #fff3; + --spectrum-alias-heading-text-color: var(--spectrum-global-color-gray-900); + --spectrum-alias-link-primary-text-color-default: var( + --spectrum-global-color-blue-600 + ); + --spectrum-alias-link-primary-text-color-hover: var( + --spectrum-global-color-blue-600 + ); + --spectrum-alias-link-primary-text-color-down: var( + --spectrum-global-color-blue-700 + ); + --spectrum-alias-link-primary-text-color-key-focus: var( + --spectrum-alias-text-color-key-focus + ); + --spectrum-alias-link-primary-text-color: var( + --spectrum-alias-link-primary-text-color-default + ); + --spectrum-alias-link-secondary-text-color-default: var( + --spectrum-alias-link-primary-text-color-default + ); + --spectrum-alias-link-secondary-text-color-hover: var( + --spectrum-alias-link-primary-text-color-hover + ); + --spectrum-alias-link-secondary-text-color-down: var( + --spectrum-alias-link-primary-text-color-down + ); + --spectrum-alias-link-secondary-text-color-key-focus: var( + --spectrum-alias-link-primary-text-color-key-focus + ); + --spectrum-alias-link-secondary-text-color: var( + --spectrum-alias-link-secondary-text-color-default + ); + --spectrum-alias-border-color: var(--spectrum-global-color-gray-400); + --spectrum-alias-border-color-hover: var(--spectrum-global-color-gray-500); + --spectrum-alias-border-color-down: var(--spectrum-global-color-gray-500); + --spectrum-alias-border-color-key-focus: var( + --spectrum-global-color-blue-400 + ); + --spectrum-alias-border-color-mouse-focus: var( + --spectrum-global-color-blue-500 + ); + --spectrum-alias-border-color-disabled: var( + --spectrum-global-color-gray-200 + ); + --spectrum-alias-border-color-extralight: var( + --spectrum-global-color-gray-100 + ); + --spectrum-alias-border-color-light: var(--spectrum-global-color-gray-200); + --spectrum-alias-border-color-mid: var(--spectrum-global-color-gray-300); + --spectrum-alias-border-color-dark: var(--spectrum-global-color-gray-400); + --spectrum-alias-border-color-darker-default: var( + --spectrum-global-color-gray-600 + ); + --spectrum-alias-border-color-darker-hover: var( + --spectrum-global-color-gray-900 + ); + --spectrum-alias-border-color-darker-down: var( + --spectrum-global-color-gray-900 + ); + --spectrum-alias-border-color-transparent: transparent; + --spectrum-alias-border-color-translucent-dark: #0000000d; + --spectrum-alias-border-color-translucent-darker: #0000001a; + --spectrum-alias-focus-color: var(--spectrum-global-color-blue-400); + --spectrum-alias-focus-ring-color: var(--spectrum-alias-focus-color); + --spectrum-alias-track-color-default: var(--spectrum-global-color-gray-300); + --spectrum-alias-track-fill-color-overbackground: var( + --spectrum-global-color-static-white + ); + --spectrum-alias-track-color-disabled: var( + --spectrum-global-color-gray-300 + ); + --spectrum-alias-thumbnail-darksquare-background-color: var( + --spectrum-global-color-gray-300 + ); + --spectrum-alias-thumbnail-lightsquare-background-color: var( + --spectrum-global-color-static-white + ); + --spectrum-alias-track-color-overbackground: #fff3; + --spectrum-alias-icon-color: var(--spectrum-global-color-gray-700); + --spectrum-alias-icon-color-overbackground: var( + --spectrum-global-color-static-white + ); + --spectrum-alias-icon-color-hover: var(--spectrum-global-color-gray-900); + --spectrum-alias-icon-color-down: var(--spectrum-global-color-gray-900); + --spectrum-alias-icon-color-key-focus: var( + --spectrum-global-color-gray-900 + ); + --spectrum-alias-icon-color-disabled: var(--spectrum-global-color-gray-400); + --spectrum-alias-icon-color-overbackground-disabled: #fff3; + --spectrum-alias-icon-color-quiet-overbackground-disabled: #ffffff26; + --spectrum-alias-icon-color-selected-neutral: var( + --spectrum-global-color-gray-900 + ); + --spectrum-alias-icon-color-selected-neutral-subdued: var( + --spectrum-global-color-gray-800 + ); + --spectrum-alias-icon-color-selected: var(--spectrum-global-color-blue-500); + --spectrum-alias-icon-color-selected-hover: var( + --spectrum-global-color-blue-600 + ); + --spectrum-alias-icon-color-selected-down: var( + --spectrum-global-color-blue-700 + ); + --spectrum-alias-icon-color-selected-focus: var( + --spectrum-global-color-blue-600 + ); + --spectrum-alias-image-opacity-disabled: var( + --spectrum-global-color-opacity-30 + ); + --spectrum-alias-toolbar-background-color: var( + --spectrum-global-color-gray-100 + ); + --spectrum-alias-code-highlight-color-default: var( + --spectrum-global-color-gray-800 + ); + --spectrum-alias-code-highlight-background-color: var( + --spectrum-global-color-gray-75 + ); + --spectrum-alias-code-highlight-color-keyword: var( + --spectrum-global-color-fuchsia-600 + ); + --spectrum-alias-code-highlight-color-section: var( + --spectrum-global-color-red-600 + ); + --spectrum-alias-code-highlight-color-literal: var( + --spectrum-global-color-blue-600 + ); + --spectrum-alias-code-highlight-color-attribute: var( + --spectrum-global-color-seafoam-600 + ); + --spectrum-alias-code-highlight-color-class: var( + --spectrum-global-color-magenta-600 + ); + --spectrum-alias-code-highlight-color-variable: var( + --spectrum-global-color-purple-600 + ); + --spectrum-alias-code-highlight-color-title: var( + --spectrum-global-color-indigo-600 + ); + --spectrum-alias-code-highlight-color-string: var( + --spectrum-global-color-fuchsia-600 + ); + --spectrum-alias-code-highlight-color-function: var( + --spectrum-global-color-blue-600 + ); + --spectrum-alias-code-highlight-color-comment: var( + --spectrum-global-color-gray-700 + ); + --spectrum-alias-categorical-color-1: var( + --spectrum-global-color-static-seafoam-200 + ); + --spectrum-alias-categorical-color-2: var( + --spectrum-global-color-static-indigo-700 + ); + --spectrum-alias-categorical-color-3: var( + --spectrum-global-color-static-orange-500 + ); + --spectrum-alias-categorical-color-4: var( + --spectrum-global-color-static-magenta-500 + ); + --spectrum-alias-categorical-color-5: var( + --spectrum-global-color-static-indigo-200 + ); + --spectrum-alias-categorical-color-6: var( + --spectrum-global-color-static-celery-200 + ); + --spectrum-alias-categorical-color-7: var( + --spectrum-global-color-static-blue-500 + ); + --spectrum-alias-categorical-color-8: var( + --spectrum-global-color-static-purple-800 + ); + --spectrum-alias-categorical-color-9: var( + --spectrum-global-color-static-yellow-500 + ); + --spectrum-alias-categorical-color-10: var( + --spectrum-global-color-static-orange-700 + ); + --spectrum-alias-categorical-color-11: var( + --spectrum-global-color-static-green-600 + ); + --spectrum-alias-categorical-color-12: var( + --spectrum-global-color-static-chartreuse-300 + ); + --spectrum-alias-categorical-color-13: var( + --spectrum-global-color-static-blue-200 + ); + --spectrum-alias-categorical-color-14: var( + --spectrum-global-color-static-fuchsia-500 + ); + --spectrum-alias-categorical-color-15: var( + --spectrum-global-color-static-magenta-200 + ); + --spectrum-alias-categorical-color-16: var( + --spectrum-global-color-static-yellow-200 + ); +} diff --git a/tools/styles/spectrum-two/spectrum-scale-large.css b/tools/styles/spectrum-two/spectrum-scale-large.css new file mode 100644 index 0000000000..d356820f46 --- /dev/null +++ b/tools/styles/spectrum-two/spectrum-scale-large.css @@ -0,0 +1,292 @@ +:root, +:host { + --spectrum-global-dimension-scale-factor: 1.25; + --spectrum-global-dimension-size-0: 0px; + --spectrum-global-dimension-size-10: 1px; + --spectrum-global-dimension-size-25: 2px; + --spectrum-global-dimension-size-30: 3px; + --spectrum-global-dimension-size-40: 4px; + --spectrum-global-dimension-size-50: 5px; + --spectrum-global-dimension-size-65: 6px; + --spectrum-global-dimension-size-75: 8px; + --spectrum-global-dimension-size-85: 9px; + --spectrum-global-dimension-size-100: 10px; + --spectrum-global-dimension-size-115: 11px; + --spectrum-global-dimension-size-125: 13px; + --spectrum-global-dimension-size-130: 14px; + --spectrum-global-dimension-size-150: 15px; + --spectrum-global-dimension-size-160: 16px; + --spectrum-global-dimension-size-175: 18px; + --spectrum-global-dimension-size-185: 19px; + --spectrum-global-dimension-size-200: 20px; + --spectrum-global-dimension-size-225: 22px; + --spectrum-global-dimension-size-250: 25px; + --spectrum-global-dimension-size-275: 28px; + --spectrum-global-dimension-size-300: 30px; + --spectrum-global-dimension-size-325: 32px; + --spectrum-global-dimension-size-350: 35px; + --spectrum-global-dimension-size-400: 40px; + --spectrum-global-dimension-size-450: 45px; + --spectrum-global-dimension-size-500: 50px; + --spectrum-global-dimension-size-550: 56px; + --spectrum-global-dimension-size-600: 60px; + --spectrum-global-dimension-size-650: 65px; + --spectrum-global-dimension-size-675: 68px; + --spectrum-global-dimension-size-700: 70px; + --spectrum-global-dimension-size-750: 75px; + --spectrum-global-dimension-size-800: 80px; + --spectrum-global-dimension-size-900: 90px; + --spectrum-global-dimension-size-1000: 100px; + --spectrum-global-dimension-size-1125: 112px; + --spectrum-global-dimension-size-1200: 120px; + --spectrum-global-dimension-size-1250: 125px; + --spectrum-global-dimension-size-1600: 160px; + --spectrum-global-dimension-size-1700: 170px; + --spectrum-global-dimension-size-1800: 180px; + --spectrum-global-dimension-size-2000: 200px; + --spectrum-global-dimension-size-2400: 240px; + --spectrum-global-dimension-size-2500: 250px; + --spectrum-global-dimension-size-3000: 300px; + --spectrum-global-dimension-size-3400: 340px; + --spectrum-global-dimension-size-3600: 360px; + --spectrum-global-dimension-size-4600: 460px; + --spectrum-global-dimension-size-5000: 500px; + --spectrum-global-dimension-size-6000: 600px; + --spectrum-global-dimension-font-size-25: 12px; + --spectrum-global-dimension-font-size-50: 13px; + --spectrum-global-dimension-font-size-75: 15px; + --spectrum-global-dimension-font-size-100: 17px; + --spectrum-global-dimension-font-size-150: 18px; + --spectrum-global-dimension-font-size-200: 19px; + --spectrum-global-dimension-font-size-300: 22px; + --spectrum-global-dimension-font-size-400: 24px; + --spectrum-global-dimension-font-size-500: 27px; + --spectrum-global-dimension-font-size-600: 31px; + --spectrum-global-dimension-font-size-700: 34px; + --spectrum-global-dimension-font-size-800: 39px; + --spectrum-global-dimension-font-size-900: 44px; + --spectrum-global-dimension-font-size-1000: 49px; + --spectrum-global-dimension-font-size-1100: 55px; + --spectrum-global-dimension-font-size-1200: 62px; + --spectrum-global-dimension-font-size-1300: 70px; + --spectrum-alias-item-text-padding-top-l: var( + --spectrum-global-dimension-static-size-150 + ); + --spectrum-alias-item-text-padding-bottom-s: var( + --spectrum-global-dimension-static-size-85 + ); + --spectrum-alias-item-workflow-padding-left-m: var( + --spectrum-global-dimension-static-size-150 + ); + --spectrum-alias-item-rounded-workflow-padding-left-m: 17px; + --spectrum-alias-item-rounded-workflow-padding-left-xl: 27px; + --spectrum-alias-item-mark-padding-top-m: var( + --spectrum-global-dimension-static-size-85 + ); + --spectrum-alias-item-mark-padding-bottom-m: var( + --spectrum-global-dimension-static-size-85 + ); + --spectrum-alias-item-mark-padding-left-m: var( + --spectrum-global-dimension-static-size-150 + ); + --spectrum-alias-item-control-1-size-l: var( + --spectrum-global-dimension-static-size-150 + ); + --spectrum-alias-item-control-1-size-xl: var( + --spectrum-global-dimension-static-size-150 + ); + --spectrum-alias-item-control-2-size-s: var( + --spectrum-global-dimension-size-160 + ); + --spectrum-alias-item-control-3-height-s: var( + --spectrum-global-dimension-size-160 + ); + --spectrum-alias-item-control-3-width-s: var( + --spectrum-global-dimension-size-325 + ); + --spectrum-alias-item-control-3-width-m: var( + --spectrum-global-dimension-static-size-450 + ); + --spectrum-alias-item-control-3-width-l: 41px; + --spectrum-alias-item-control-3-width-xl: 46px; + --spectrum-alias-item-mark-size-m: var( + --spectrum-global-dimension-static-size-325 + ); + --spectrum-alias-component-focusring-border-radius: var( + --spectrum-global-dimension-static-size-75 + ); + --spectrum-alias-control-two-size-s: var( + --spectrum-global-dimension-size-160 + ); + --spectrum-alias-control-three-height-s: var( + --spectrum-global-dimension-size-160 + ); + --spectrum-alias-control-three-width-s: var( + --spectrum-global-dimension-size-325 + ); + --spectrum-alias-control-three-width-m: var( + --spectrum-global-dimension-static-size-450 + ); + --spectrum-alias-control-three-width-l: 41px; + --spectrum-alias-control-three-width-xl: 46px; + --spectrum-alias-search-padding-left-m: var( + --spectrum-global-dimension-static-size-150 + ); + --spectrum-alias-focus-ring-border-radius-regular: var( + --spectrum-global-dimension-static-size-115 + ); + --spectrum-alias-focus-ring-radius-default: var( + --spectrum-global-dimension-static-size-115 + ); + --spectrum-alias-workflow-icon-size-l: var( + --spectrum-global-dimension-static-size-300 + ); + --spectrum-alias-ui-icon-chevron-size-75: var( + --spectrum-global-dimension-static-size-150 + ); + --spectrum-alias-ui-icon-chevron-size-100: var( + --spectrum-global-dimension-static-size-175 + ); + --spectrum-alias-ui-icon-chevron-size-200: var( + --spectrum-global-dimension-static-size-200 + ); + --spectrum-alias-ui-icon-chevron-size-300: var( + --spectrum-global-dimension-static-size-200 + ); + --spectrum-alias-ui-icon-chevron-size-400: var( + --spectrum-global-dimension-static-size-225 + ); + --spectrum-alias-ui-icon-chevron-size-500: var( + --spectrum-global-dimension-static-size-250 + ); + --spectrum-alias-ui-icon-checkmark-size-50: var( + --spectrum-global-dimension-static-size-150 + ); + --spectrum-alias-ui-icon-checkmark-size-75: var( + --spectrum-global-dimension-static-size-150 + ); + --spectrum-alias-ui-icon-checkmark-size-100: var( + --spectrum-global-dimension-static-size-175 + ); + --spectrum-alias-ui-icon-checkmark-size-200: var( + --spectrum-global-dimension-static-size-200 + ); + --spectrum-alias-ui-icon-checkmark-size-300: var( + --spectrum-global-dimension-static-size-200 + ); + --spectrum-alias-ui-icon-checkmark-size-400: var( + --spectrum-global-dimension-static-size-225 + ); + --spectrum-alias-ui-icon-checkmark-size-500: var( + --spectrum-global-dimension-static-size-250 + ); + --spectrum-alias-ui-icon-checkmark-size-600: var( + --spectrum-global-dimension-static-size-300 + ); + --spectrum-alias-ui-icon-dash-size-50: var( + --spectrum-global-dimension-static-size-125 + ); + --spectrum-alias-ui-icon-dash-size-75: var( + --spectrum-global-dimension-static-size-125 + ); + --spectrum-alias-ui-icon-dash-size-100: var( + --spectrum-global-dimension-static-size-150 + ); + --spectrum-alias-ui-icon-dash-size-200: var( + --spectrum-global-dimension-static-size-175 + ); + --spectrum-alias-ui-icon-dash-size-300: var( + --spectrum-global-dimension-static-size-200 + ); + --spectrum-alias-ui-icon-dash-size-400: var( + --spectrum-global-dimension-static-size-225 + ); + --spectrum-alias-ui-icon-dash-size-500: var( + --spectrum-global-dimension-static-size-250 + ); + --spectrum-alias-ui-icon-dash-size-600: var( + --spectrum-global-dimension-static-size-275 + ); + --spectrum-alias-ui-icon-cross-size-75: var( + --spectrum-global-dimension-static-size-125 + ); + --spectrum-alias-ui-icon-cross-size-100: var( + --spectrum-global-dimension-static-size-125 + ); + --spectrum-alias-ui-icon-cross-size-200: var( + --spectrum-global-dimension-static-size-150 + ); + --spectrum-alias-ui-icon-cross-size-300: var( + --spectrum-global-dimension-static-size-175 + ); + --spectrum-alias-ui-icon-cross-size-400: var( + --spectrum-global-dimension-static-size-200 + ); + --spectrum-alias-ui-icon-cross-size-500: var( + --spectrum-global-dimension-static-size-200 + ); + --spectrum-alias-ui-icon-cross-size-600: var( + --spectrum-global-dimension-static-size-225 + ); + --spectrum-alias-ui-icon-arrow-size-75: var( + --spectrum-global-dimension-static-size-150 + ); + --spectrum-alias-ui-icon-arrow-size-100: var( + --spectrum-global-dimension-static-size-175 + ); + --spectrum-alias-ui-icon-arrow-size-200: var( + --spectrum-global-dimension-static-size-200 + ); + --spectrum-alias-ui-icon-arrow-size-300: var( + --spectrum-global-dimension-static-size-200 + ); + --spectrum-alias-ui-icon-arrow-size-400: var( + --spectrum-global-dimension-static-size-225 + ); + --spectrum-alias-ui-icon-arrow-size-500: var( + --spectrum-global-dimension-static-size-275 + ); + --spectrum-alias-ui-icon-arrow-size-600: var( + --spectrum-global-dimension-static-size-300 + ); + --spectrum-alias-ui-icon-triplegripper-size-100-width: var( + --spectrum-global-dimension-static-size-175 + ); + --spectrum-alias-ui-icon-doublegripper-size-100-height: var( + --spectrum-global-dimension-static-size-75 + ); + --spectrum-alias-ui-icon-singlegripper-size-100-height: var( + --spectrum-global-dimension-static-size-50 + ); + --spectrum-alias-ui-icon-cornertriangle-size-100: var( + --spectrum-global-dimension-static-size-85 + ); + --spectrum-alias-ui-icon-cornertriangle-size-300: var( + --spectrum-global-dimension-static-size-100 + ); + --spectrum-alias-ui-icon-asterisk-size-200: var( + --spectrum-global-dimension-static-size-150 + ); + --spectrum-alias-ui-icon-asterisk-size-300: var( + --spectrum-global-dimension-static-size-150 + ); + --spectrum-alias-avatar-size-100: 26px; + --spectrum-alias-avatar-size-400: 36px; + --spectrum-alias-avatar-size-600: 46px; + --spectrum-alias-tag-icon-size-l: var( + --spectrum-global-dimension-static-size-300 + ); + --spectrum-alias-tag-focusring-border-radius: var( + --spectrum-global-dimension-static-size-75 + ); + --spectrum-button-m-primary-outline-texticon-padding-left: 17px; + --spectrum-colorwheel-min-width: var( + --spectrum-global-dimension-static-size-2600 + ); + --spectrum-dialog-confirm-title-text-size: var( + --spectrum-alias-heading-xs-text-size + ); + --spectrum-dialog-confirm-description-text-size: var( + --spectrum-global-dimension-font-size-75 + ); +} diff --git a/tools/styles/spectrum-two/spectrum-scale-medium.css b/tools/styles/spectrum-two/spectrum-scale-medium.css new file mode 100644 index 0000000000..6568129fef --- /dev/null +++ b/tools/styles/spectrum-two/spectrum-scale-medium.css @@ -0,0 +1,290 @@ +:root, +:host { + --spectrum-global-dimension-scale-factor: 1; + --spectrum-global-dimension-size-0: 0px; + --spectrum-global-dimension-size-10: 1px; + --spectrum-global-dimension-size-25: 2px; + --spectrum-global-dimension-size-30: 2px; + --spectrum-global-dimension-size-40: 3px; + --spectrum-global-dimension-size-50: 4px; + --spectrum-global-dimension-size-65: 5px; + --spectrum-global-dimension-size-75: 6px; + --spectrum-global-dimension-size-85: 7px; + --spectrum-global-dimension-size-100: 8px; + --spectrum-global-dimension-size-115: 9px; + --spectrum-global-dimension-size-125: 10px; + --spectrum-global-dimension-size-130: 11px; + --spectrum-global-dimension-size-150: 12px; + --spectrum-global-dimension-size-160: 13px; + --spectrum-global-dimension-size-175: 14px; + --spectrum-global-dimension-size-185: 15px; + --spectrum-global-dimension-size-200: 16px; + --spectrum-global-dimension-size-225: 18px; + --spectrum-global-dimension-size-250: 20px; + --spectrum-global-dimension-size-275: 22px; + --spectrum-global-dimension-size-300: 24px; + --spectrum-global-dimension-size-325: 26px; + --spectrum-global-dimension-size-350: 28px; + --spectrum-global-dimension-size-400: 32px; + --spectrum-global-dimension-size-450: 36px; + --spectrum-global-dimension-size-500: 40px; + --spectrum-global-dimension-size-550: 44px; + --spectrum-global-dimension-size-600: 48px; + --spectrum-global-dimension-size-650: 52px; + --spectrum-global-dimension-size-675: 54px; + --spectrum-global-dimension-size-700: 56px; + --spectrum-global-dimension-size-750: 60px; + --spectrum-global-dimension-size-800: 64px; + --spectrum-global-dimension-size-900: 72px; + --spectrum-global-dimension-size-1000: 80px; + --spectrum-global-dimension-size-1125: 90px; + --spectrum-global-dimension-size-1200: 96px; + --spectrum-global-dimension-size-1250: 100px; + --spectrum-global-dimension-size-1600: 128px; + --spectrum-global-dimension-size-1700: 136px; + --spectrum-global-dimension-size-1800: 144px; + --spectrum-global-dimension-size-2000: 160px; + --spectrum-global-dimension-size-2400: 192px; + --spectrum-global-dimension-size-2500: 200px; + --spectrum-global-dimension-size-3000: 240px; + --spectrum-global-dimension-size-3400: 272px; + --spectrum-global-dimension-size-3600: 288px; + --spectrum-global-dimension-size-4600: 368px; + --spectrum-global-dimension-size-5000: 400px; + --spectrum-global-dimension-size-6000: 480px; + --spectrum-global-dimension-font-size-25: 10px; + --spectrum-global-dimension-font-size-50: 11px; + --spectrum-global-dimension-font-size-75: 12px; + --spectrum-global-dimension-font-size-100: 14px; + --spectrum-global-dimension-font-size-150: 15px; + --spectrum-global-dimension-font-size-200: 16px; + --spectrum-global-dimension-font-size-300: 18px; + --spectrum-global-dimension-font-size-400: 20px; + --spectrum-global-dimension-font-size-500: 22px; + --spectrum-global-dimension-font-size-600: 25px; + --spectrum-global-dimension-font-size-700: 28px; + --spectrum-global-dimension-font-size-800: 32px; + --spectrum-global-dimension-font-size-900: 36px; + --spectrum-global-dimension-font-size-1000: 40px; + --spectrum-global-dimension-font-size-1100: 45px; + --spectrum-global-dimension-font-size-1200: 50px; + --spectrum-global-dimension-font-size-1300: 60px; + --spectrum-alias-item-text-padding-top-l: var( + --spectrum-global-dimension-size-115 + ); + --spectrum-alias-item-text-padding-bottom-s: var( + --spectrum-global-dimension-static-size-65 + ); + --spectrum-alias-item-workflow-padding-left-m: var( + --spectrum-global-dimension-size-125 + ); + --spectrum-alias-item-rounded-workflow-padding-left-m: var( + --spectrum-global-dimension-size-175 + ); + --spectrum-alias-item-rounded-workflow-padding-left-xl: 21px; + --spectrum-alias-item-mark-padding-top-m: var( + --spectrum-global-dimension-static-size-75 + ); + --spectrum-alias-item-mark-padding-bottom-m: var( + --spectrum-global-dimension-static-size-75 + ); + --spectrum-alias-item-mark-padding-left-m: var( + --spectrum-global-dimension-size-125 + ); + --spectrum-alias-item-control-1-size-l: var( + --spectrum-global-dimension-size-125 + ); + --spectrum-alias-item-control-1-size-xl: var( + --spectrum-global-dimension-size-125 + ); + --spectrum-alias-item-control-2-size-s: var( + --spectrum-global-dimension-size-150 + ); + --spectrum-alias-item-control-3-height-s: var( + --spectrum-global-dimension-size-150 + ); + --spectrum-alias-item-control-3-width-s: 23px; + --spectrum-alias-item-control-3-width-m: var( + --spectrum-global-dimension-static-size-325 + ); + --spectrum-alias-item-control-3-width-l: 29px; + --spectrum-alias-item-control-3-width-xl: 33px; + --spectrum-alias-item-mark-size-m: var( + --spectrum-global-dimension-size-250 + ); + --spectrum-alias-component-focusring-border-radius: var( + --spectrum-global-dimension-static-size-65 + ); + --spectrum-alias-control-two-size-s: var( + --spectrum-global-dimension-size-150 + ); + --spectrum-alias-control-three-height-s: var( + --spectrum-global-dimension-size-150 + ); + --spectrum-alias-control-three-width-s: 23px; + --spectrum-alias-control-three-width-m: var( + --spectrum-global-dimension-static-size-325 + ); + --spectrum-alias-control-three-width-l: 29px; + --spectrum-alias-control-three-width-xl: 33px; + --spectrum-alias-search-padding-left-m: var( + --spectrum-global-dimension-size-125 + ); + --spectrum-alias-focus-ring-border-radius-regular: var( + --spectrum-global-dimension-static-size-100 + ); + --spectrum-alias-focus-ring-radius-default: var( + --spectrum-global-dimension-static-size-100 + ); + --spectrum-alias-workflow-icon-size-l: var( + --spectrum-global-dimension-static-size-250 + ); + --spectrum-alias-ui-icon-chevron-size-75: var( + --spectrum-global-dimension-static-size-125 + ); + --spectrum-alias-ui-icon-chevron-size-100: var( + --spectrum-global-dimension-static-size-125 + ); + --spectrum-alias-ui-icon-chevron-size-200: var( + --spectrum-global-dimension-static-size-150 + ); + --spectrum-alias-ui-icon-chevron-size-300: var( + --spectrum-global-dimension-static-size-175 + ); + --spectrum-alias-ui-icon-chevron-size-400: var( + --spectrum-global-dimension-static-size-200 + ); + --spectrum-alias-ui-icon-chevron-size-500: var( + --spectrum-global-dimension-static-size-200 + ); + --spectrum-alias-ui-icon-checkmark-size-50: var( + --spectrum-global-dimension-static-size-125 + ); + --spectrum-alias-ui-icon-checkmark-size-75: var( + --spectrum-global-dimension-static-size-125 + ); + --spectrum-alias-ui-icon-checkmark-size-100: var( + --spectrum-global-dimension-static-size-125 + ); + --spectrum-alias-ui-icon-checkmark-size-200: var( + --spectrum-global-dimension-static-size-150 + ); + --spectrum-alias-ui-icon-checkmark-size-300: var( + --spectrum-global-dimension-static-size-175 + ); + --spectrum-alias-ui-icon-checkmark-size-400: var( + --spectrum-global-dimension-static-size-200 + ); + --spectrum-alias-ui-icon-checkmark-size-500: var( + --spectrum-global-dimension-static-size-200 + ); + --spectrum-alias-ui-icon-checkmark-size-600: var( + --spectrum-global-dimension-static-size-225 + ); + --spectrum-alias-ui-icon-dash-size-50: var( + --spectrum-global-dimension-static-size-100 + ); + --spectrum-alias-ui-icon-dash-size-75: var( + --spectrum-global-dimension-static-size-100 + ); + --spectrum-alias-ui-icon-dash-size-100: var( + --spectrum-global-dimension-static-size-125 + ); + --spectrum-alias-ui-icon-dash-size-200: var( + --spectrum-global-dimension-static-size-150 + ); + --spectrum-alias-ui-icon-dash-size-300: var( + --spectrum-global-dimension-static-size-150 + ); + --spectrum-alias-ui-icon-dash-size-400: var( + --spectrum-global-dimension-static-size-175 + ); + --spectrum-alias-ui-icon-dash-size-500: var( + --spectrum-global-dimension-static-size-200 + ); + --spectrum-alias-ui-icon-dash-size-600: var( + --spectrum-global-dimension-static-size-225 + ); + --spectrum-alias-ui-icon-cross-size-75: var( + --spectrum-global-dimension-static-size-100 + ); + --spectrum-alias-ui-icon-cross-size-100: var( + --spectrum-global-dimension-static-size-100 + ); + --spectrum-alias-ui-icon-cross-size-200: var( + --spectrum-global-dimension-static-size-125 + ); + --spectrum-alias-ui-icon-cross-size-300: var( + --spectrum-global-dimension-static-size-150 + ); + --spectrum-alias-ui-icon-cross-size-400: var( + --spectrum-global-dimension-static-size-150 + ); + --spectrum-alias-ui-icon-cross-size-500: var( + --spectrum-global-dimension-static-size-175 + ); + --spectrum-alias-ui-icon-cross-size-600: var( + --spectrum-global-dimension-static-size-200 + ); + --spectrum-alias-ui-icon-arrow-size-75: var( + --spectrum-global-dimension-static-size-125 + ); + --spectrum-alias-ui-icon-arrow-size-100: var( + --spectrum-global-dimension-static-size-125 + ); + --spectrum-alias-ui-icon-arrow-size-200: var( + --spectrum-global-dimension-static-size-150 + ); + --spectrum-alias-ui-icon-arrow-size-300: var( + --spectrum-global-dimension-static-size-175 + ); + --spectrum-alias-ui-icon-arrow-size-400: var( + --spectrum-global-dimension-static-size-200 + ); + --spectrum-alias-ui-icon-arrow-size-500: var( + --spectrum-global-dimension-static-size-225 + ); + --spectrum-alias-ui-icon-arrow-size-600: var( + --spectrum-global-dimension-static-size-250 + ); + --spectrum-alias-ui-icon-triplegripper-size-100-width: var( + --spectrum-global-dimension-static-size-125 + ); + --spectrum-alias-ui-icon-doublegripper-size-100-height: var( + --spectrum-global-dimension-static-size-50 + ); + --spectrum-alias-ui-icon-singlegripper-size-100-height: var( + --spectrum-global-dimension-static-size-25 + ); + --spectrum-alias-ui-icon-cornertriangle-size-100: var( + --spectrum-global-dimension-static-size-65 + ); + --spectrum-alias-ui-icon-cornertriangle-size-300: var( + --spectrum-global-dimension-static-size-85 + ); + --spectrum-alias-ui-icon-asterisk-size-200: var( + --spectrum-global-dimension-static-size-125 + ); + --spectrum-alias-ui-icon-asterisk-size-300: var( + --spectrum-global-dimension-static-size-125 + ); + --spectrum-alias-avatar-size-100: var(--spectrum-global-dimension-size-250); + --spectrum-alias-avatar-size-400: var(--spectrum-global-dimension-size-350); + --spectrum-alias-avatar-size-600: var(--spectrum-global-dimension-size-450); + --spectrum-alias-tag-icon-size-l: var( + --spectrum-global-dimension-static-size-250 + ); + --spectrum-alias-tag-focusring-border-radius: var( + --spectrum-global-dimension-static-size-65 + ); + --spectrum-button-m-primary-outline-texticon-padding-left: var( + --spectrum-global-dimension-size-175 + ); + --spectrum-colorwheel-min-width: var(--spectrum-global-dimension-size-2400); + --spectrum-dialog-confirm-title-text-size: var( + --spectrum-alias-heading-s-text-size + ); + --spectrum-dialog-confirm-description-text-size: var( + --spectrum-global-dimension-font-size-100 + ); +} diff --git a/tools/styles/spectrum-two/spectrum-theme-dark.css b/tools/styles/spectrum-two/spectrum-theme-dark.css new file mode 100644 index 0000000000..e677ccfb4d --- /dev/null +++ b/tools/styles/spectrum-two/spectrum-theme-dark.css @@ -0,0 +1,293 @@ +:root, +:host { + --spectrum-global-color-status: Verified; + --spectrum-global-color-version: 5.1; + --spectrum-global-color-opacity-100: 1; + --spectrum-global-color-opacity-90: 0.9; + --spectrum-global-color-opacity-80: 0.8; + --spectrum-global-color-opacity-70: 0.7; + --spectrum-global-color-opacity-60: 0.6; + --spectrum-global-color-opacity-55: 0.55; + --spectrum-global-color-opacity-50: 0.5; + --spectrum-global-color-opacity-42: 0.42; + --spectrum-global-color-opacity-40: 0.4; + --spectrum-global-color-opacity-30: 0.3; + --spectrum-global-color-opacity-25: 0.25; + --spectrum-global-color-opacity-20: 0.2; + --spectrum-global-color-opacity-15: 0.15; + --spectrum-global-color-opacity-10: 0.1; + --spectrum-global-color-opacity-8: 0.08; + --spectrum-global-color-opacity-7: 0.07; + --spectrum-global-color-opacity-6: 0.06; + --spectrum-global-color-opacity-5: 0.05; + --spectrum-global-color-opacity-4: 0.04; + --spectrum-global-color-opacity-0: 0; + --spectrum-global-color-celery-400-rgb: 34, 184, 51; + --spectrum-global-color-celery-400: rgb( + var(--spectrum-global-color-celery-400-rgb) + ); + --spectrum-global-color-celery-500-rgb: 68, 202, 73; + --spectrum-global-color-celery-500: rgb( + var(--spectrum-global-color-celery-500-rgb) + ); + --spectrum-global-color-celery-600-rgb: 105, 220, 99; + --spectrum-global-color-celery-600: rgb( + var(--spectrum-global-color-celery-600-rgb) + ); + --spectrum-global-color-celery-700-rgb: 142, 235, 127; + --spectrum-global-color-celery-700: rgb( + var(--spectrum-global-color-celery-700-rgb) + ); + --spectrum-global-color-chartreuse-400-rgb: 148, 192, 8; + --spectrum-global-color-chartreuse-400: rgb( + var(--spectrum-global-color-chartreuse-400-rgb) + ); + --spectrum-global-color-chartreuse-500-rgb: 166, 211, 18; + --spectrum-global-color-chartreuse-500: rgb( + var(--spectrum-global-color-chartreuse-500-rgb) + ); + --spectrum-global-color-chartreuse-600-rgb: 184, 229, 37; + --spectrum-global-color-chartreuse-600: rgb( + var(--spectrum-global-color-chartreuse-600-rgb) + ); + --spectrum-global-color-chartreuse-700-rgb: 205, 245, 71; + --spectrum-global-color-chartreuse-700: rgb( + var(--spectrum-global-color-chartreuse-700-rgb) + ); + --spectrum-global-color-yellow-400-rgb: 228, 194, 0; + --spectrum-global-color-yellow-400: rgb( + var(--spectrum-global-color-yellow-400-rgb) + ); + --spectrum-global-color-yellow-500-rgb: 244, 213, 0; + --spectrum-global-color-yellow-500: rgb( + var(--spectrum-global-color-yellow-500-rgb) + ); + --spectrum-global-color-yellow-600-rgb: 249, 232, 92; + --spectrum-global-color-yellow-600: rgb( + var(--spectrum-global-color-yellow-600-rgb) + ); + --spectrum-global-color-yellow-700-rgb: 252, 246, 187; + --spectrum-global-color-yellow-700: rgb( + var(--spectrum-global-color-yellow-700-rgb) + ); + --spectrum-global-color-magenta-400-rgb: 222, 61, 130; + --spectrum-global-color-magenta-400: rgb( + var(--spectrum-global-color-magenta-400-rgb) + ); + --spectrum-global-color-magenta-500-rgb: 237, 87, 149; + --spectrum-global-color-magenta-500: rgb( + var(--spectrum-global-color-magenta-500-rgb) + ); + --spectrum-global-color-magenta-600-rgb: 249, 114, 167; + --spectrum-global-color-magenta-600: rgb( + var(--spectrum-global-color-magenta-600-rgb) + ); + --spectrum-global-color-magenta-700-rgb: 255, 143, 185; + --spectrum-global-color-magenta-700: rgb( + var(--spectrum-global-color-magenta-700-rgb) + ); + --spectrum-global-color-fuchsia-400-rgb: 205, 57, 206; + --spectrum-global-color-fuchsia-400: rgb( + var(--spectrum-global-color-fuchsia-400-rgb) + ); + --spectrum-global-color-fuchsia-500-rgb: 223, 81, 224; + --spectrum-global-color-fuchsia-500: rgb( + var(--spectrum-global-color-fuchsia-500-rgb) + ); + --spectrum-global-color-fuchsia-600-rgb: 235, 110, 236; + --spectrum-global-color-fuchsia-600: rgb( + var(--spectrum-global-color-fuchsia-600-rgb) + ); + --spectrum-global-color-fuchsia-700-rgb: 244, 140, 242; + --spectrum-global-color-fuchsia-700: rgb( + var(--spectrum-global-color-fuchsia-700-rgb) + ); + --spectrum-global-color-purple-400-rgb: 157, 87, 243; + --spectrum-global-color-purple-400: rgb( + var(--spectrum-global-color-purple-400-rgb) + ); + --spectrum-global-color-purple-500-rgb: 172, 111, 249; + --spectrum-global-color-purple-500: rgb( + var(--spectrum-global-color-purple-500-rgb) + ); + --spectrum-global-color-purple-600-rgb: 187, 135, 251; + --spectrum-global-color-purple-600: rgb( + var(--spectrum-global-color-purple-600-rgb) + ); + --spectrum-global-color-purple-700-rgb: 202, 159, 252; + --spectrum-global-color-purple-700: rgb( + var(--spectrum-global-color-purple-700-rgb) + ); + --spectrum-global-color-indigo-400-rgb: 104, 109, 244; + --spectrum-global-color-indigo-400: rgb( + var(--spectrum-global-color-indigo-400-rgb) + ); + --spectrum-global-color-indigo-500-rgb: 124, 129, 251; + --spectrum-global-color-indigo-500: rgb( + var(--spectrum-global-color-indigo-500-rgb) + ); + --spectrum-global-color-indigo-600-rgb: 145, 149, 255; + --spectrum-global-color-indigo-600: rgb( + var(--spectrum-global-color-indigo-600-rgb) + ); + --spectrum-global-color-indigo-700-rgb: 167, 170, 255; + --spectrum-global-color-indigo-700: rgb( + var(--spectrum-global-color-indigo-700-rgb) + ); + --spectrum-global-color-seafoam-400-rgb: 0, 158, 152; + --spectrum-global-color-seafoam-400: rgb( + var(--spectrum-global-color-seafoam-400-rgb) + ); + --spectrum-global-color-seafoam-500-rgb: 3, 178, 171; + --spectrum-global-color-seafoam-500: rgb( + var(--spectrum-global-color-seafoam-500-rgb) + ); + --spectrum-global-color-seafoam-600-rgb: 54, 197, 189; + --spectrum-global-color-seafoam-600: rgb( + var(--spectrum-global-color-seafoam-600-rgb) + ); + --spectrum-global-color-seafoam-700-rgb: 93, 214, 207; + --spectrum-global-color-seafoam-700: rgb( + var(--spectrum-global-color-seafoam-700-rgb) + ); + --spectrum-global-color-red-400-rgb: 234, 56, 41; + --spectrum-global-color-red-400: rgb( + var(--spectrum-global-color-red-400-rgb) + ); + --spectrum-global-color-red-500-rgb: 246, 88, 67; + --spectrum-global-color-red-500: rgb( + var(--spectrum-global-color-red-500-rgb) + ); + --spectrum-global-color-red-600-rgb: 255, 117, 94; + --spectrum-global-color-red-600: rgb( + var(--spectrum-global-color-red-600-rgb) + ); + --spectrum-global-color-red-700-rgb: 255, 149, 129; + --spectrum-global-color-red-700: rgb( + var(--spectrum-global-color-red-700-rgb) + ); + --spectrum-global-color-orange-400-rgb: 244, 129, 12; + --spectrum-global-color-orange-400: rgb( + var(--spectrum-global-color-orange-400-rgb) + ); + --spectrum-global-color-orange-500-rgb: 254, 154, 46; + --spectrum-global-color-orange-500: rgb( + var(--spectrum-global-color-orange-500-rgb) + ); + --spectrum-global-color-orange-600-rgb: 255, 181, 88; + --spectrum-global-color-orange-600: rgb( + var(--spectrum-global-color-orange-600-rgb) + ); + --spectrum-global-color-orange-700-rgb: 253, 206, 136; + --spectrum-global-color-orange-700: rgb( + var(--spectrum-global-color-orange-700-rgb) + ); + --spectrum-global-color-green-400-rgb: 18, 162, 108; + --spectrum-global-color-green-400: rgb( + var(--spectrum-global-color-green-400-rgb) + ); + --spectrum-global-color-green-500-rgb: 43, 180, 125; + --spectrum-global-color-green-500: rgb( + var(--spectrum-global-color-green-500-rgb) + ); + --spectrum-global-color-green-600-rgb: 67, 199, 143; + --spectrum-global-color-green-600: rgb( + var(--spectrum-global-color-green-600-rgb) + ); + --spectrum-global-color-green-700-rgb: 94, 217, 162; + --spectrum-global-color-green-700: rgb( + var(--spectrum-global-color-green-700-rgb) + ); + --spectrum-global-color-blue-400-rgb: 52, 143, 244; + --spectrum-global-color-blue-400: rgb( + var(--spectrum-global-color-blue-400-rgb) + ); + --spectrum-global-color-blue-500-rgb: 84, 163, 246; + --spectrum-global-color-blue-500: rgb( + var(--spectrum-global-color-blue-500-rgb) + ); + --spectrum-global-color-blue-600-rgb: 114, 183, 249; + --spectrum-global-color-blue-600: rgb( + var(--spectrum-global-color-blue-600-rgb) + ); + --spectrum-global-color-blue-700-rgb: 143, 202, 252; + --spectrum-global-color-blue-700: rgb( + var(--spectrum-global-color-blue-700-rgb) + ); + --spectrum-global-color-gray-50-rgb: 29, 29, 29; + --spectrum-global-color-gray-50: rgb( + var(--spectrum-global-color-gray-50-rgb) + ); + --spectrum-global-color-gray-75-rgb: 38, 38, 38; + --spectrum-global-color-gray-75: rgb( + var(--spectrum-global-color-gray-75-rgb) + ); + --spectrum-global-color-gray-100-rgb: 50, 50, 50; + --spectrum-global-color-gray-100: rgb( + var(--spectrum-global-color-gray-100-rgb) + ); + --spectrum-global-color-gray-200-rgb: 63, 63, 63; + --spectrum-global-color-gray-200: rgb( + var(--spectrum-global-color-gray-200-rgb) + ); + --spectrum-global-color-gray-300-rgb: 84, 84, 84; + --spectrum-global-color-gray-300: rgb( + var(--spectrum-global-color-gray-300-rgb) + ); + --spectrum-global-color-gray-400-rgb: 112, 112, 112; + --spectrum-global-color-gray-400: rgb( + var(--spectrum-global-color-gray-400-rgb) + ); + --spectrum-global-color-gray-500-rgb: 144, 144, 144; + --spectrum-global-color-gray-500: rgb( + var(--spectrum-global-color-gray-500-rgb) + ); + --spectrum-global-color-gray-600-rgb: 178, 178, 178; + --spectrum-global-color-gray-600: rgb( + var(--spectrum-global-color-gray-600-rgb) + ); + --spectrum-global-color-gray-700-rgb: 209, 209, 209; + --spectrum-global-color-gray-700: rgb( + var(--spectrum-global-color-gray-700-rgb) + ); + --spectrum-global-color-gray-800-rgb: 235, 235, 235; + --spectrum-global-color-gray-800: rgb( + var(--spectrum-global-color-gray-800-rgb) + ); + --spectrum-global-color-gray-900-rgb: 255, 255, 255; + --spectrum-global-color-gray-900: rgb( + var(--spectrum-global-color-gray-900-rgb) + ); + --spectrum-alias-background-color-primary: var( + --spectrum-global-color-gray-100 + ); + --spectrum-alias-background-color-secondary: var( + --spectrum-global-color-gray-75 + ); + --spectrum-alias-background-color-tertiary: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-background-color-modal-overlay: #00000080; + --spectrum-alias-dropshadow-color: #00000080; + --spectrum-alias-background-color-hover-overlay: #ffffff0f; + --spectrum-alias-highlight-hover: #ffffff12; + --spectrum-alias-highlight-down: #ffffff1a; + --spectrum-alias-highlight-selected: #54a3f626; + --spectrum-alias-highlight-selected-hover: #54a3f640; + --spectrum-alias-text-highlight-color: #54a3f640; + --spectrum-alias-background-color-quickactions: #323232e6; + --spectrum-alias-border-color-selected: var( + --spectrum-global-color-blue-600 + ); + --spectrum-alias-border-color-translucent: #ffffff1a; + --spectrum-alias-radial-reaction-color-default: #ebebeb99; + --spectrum-alias-pasteboard-background-color: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-appframe-border-color: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-appframe-separator-color: var( + --spectrum-global-color-gray-50 + ); +} diff --git a/tools/styles/spectrum-two/spectrum-theme-light.css b/tools/styles/spectrum-two/spectrum-theme-light.css new file mode 100644 index 0000000000..99414590fb --- /dev/null +++ b/tools/styles/spectrum-two/spectrum-theme-light.css @@ -0,0 +1,293 @@ +:root, +:host { + --spectrum-global-color-status: Verified; + --spectrum-global-color-version: 5.1; + --spectrum-global-color-opacity-100: 1; + --spectrum-global-color-opacity-90: 0.9; + --spectrum-global-color-opacity-80: 0.8; + --spectrum-global-color-opacity-70: 0.7; + --spectrum-global-color-opacity-60: 0.6; + --spectrum-global-color-opacity-55: 0.55; + --spectrum-global-color-opacity-50: 0.5; + --spectrum-global-color-opacity-42: 0.42; + --spectrum-global-color-opacity-40: 0.4; + --spectrum-global-color-opacity-30: 0.3; + --spectrum-global-color-opacity-25: 0.25; + --spectrum-global-color-opacity-20: 0.2; + --spectrum-global-color-opacity-15: 0.15; + --spectrum-global-color-opacity-10: 0.1; + --spectrum-global-color-opacity-8: 0.08; + --spectrum-global-color-opacity-7: 0.07; + --spectrum-global-color-opacity-6: 0.06; + --spectrum-global-color-opacity-5: 0.05; + --spectrum-global-color-opacity-4: 0.04; + --spectrum-global-color-opacity-0: 0; + --spectrum-global-color-celery-400-rgb: 39, 187, 54; + --spectrum-global-color-celery-400: rgb( + var(--spectrum-global-color-celery-400-rgb) + ); + --spectrum-global-color-celery-500-rgb: 7, 167, 33; + --spectrum-global-color-celery-500: rgb( + var(--spectrum-global-color-celery-500-rgb) + ); + --spectrum-global-color-celery-600-rgb: 0, 145, 18; + --spectrum-global-color-celery-600: rgb( + var(--spectrum-global-color-celery-600-rgb) + ); + --spectrum-global-color-celery-700-rgb: 0, 124, 15; + --spectrum-global-color-celery-700: rgb( + var(--spectrum-global-color-celery-700-rgb) + ); + --spectrum-global-color-chartreuse-400-rgb: 152, 197, 10; + --spectrum-global-color-chartreuse-400: rgb( + var(--spectrum-global-color-chartreuse-400-rgb) + ); + --spectrum-global-color-chartreuse-500-rgb: 135, 177, 3; + --spectrum-global-color-chartreuse-500: rgb( + var(--spectrum-global-color-chartreuse-500-rgb) + ); + --spectrum-global-color-chartreuse-600-rgb: 118, 156, 0; + --spectrum-global-color-chartreuse-600: rgb( + var(--spectrum-global-color-chartreuse-600-rgb) + ); + --spectrum-global-color-chartreuse-700-rgb: 103, 136, 0; + --spectrum-global-color-chartreuse-700: rgb( + var(--spectrum-global-color-chartreuse-700-rgb) + ); + --spectrum-global-color-yellow-400-rgb: 232, 198, 0; + --spectrum-global-color-yellow-400: rgb( + var(--spectrum-global-color-yellow-400-rgb) + ); + --spectrum-global-color-yellow-500-rgb: 215, 179, 0; + --spectrum-global-color-yellow-500: rgb( + var(--spectrum-global-color-yellow-500-rgb) + ); + --spectrum-global-color-yellow-600-rgb: 196, 159, 0; + --spectrum-global-color-yellow-600: rgb( + var(--spectrum-global-color-yellow-600-rgb) + ); + --spectrum-global-color-yellow-700-rgb: 176, 140, 0; + --spectrum-global-color-yellow-700: rgb( + var(--spectrum-global-color-yellow-700-rgb) + ); + --spectrum-global-color-magenta-400-rgb: 222, 61, 130; + --spectrum-global-color-magenta-400: rgb( + var(--spectrum-global-color-magenta-400-rgb) + ); + --spectrum-global-color-magenta-500-rgb: 200, 34, 105; + --spectrum-global-color-magenta-500: rgb( + var(--spectrum-global-color-magenta-500-rgb) + ); + --spectrum-global-color-magenta-600-rgb: 173, 9, 85; + --spectrum-global-color-magenta-600: rgb( + var(--spectrum-global-color-magenta-600-rgb) + ); + --spectrum-global-color-magenta-700-rgb: 142, 0, 69; + --spectrum-global-color-magenta-700: rgb( + var(--spectrum-global-color-magenta-700-rgb) + ); + --spectrum-global-color-fuchsia-400-rgb: 205, 58, 206; + --spectrum-global-color-fuchsia-400: rgb( + var(--spectrum-global-color-fuchsia-400-rgb) + ); + --spectrum-global-color-fuchsia-500-rgb: 182, 34, 183; + --spectrum-global-color-fuchsia-500: rgb( + var(--spectrum-global-color-fuchsia-500-rgb) + ); + --spectrum-global-color-fuchsia-600-rgb: 157, 3, 158; + --spectrum-global-color-fuchsia-600: rgb( + var(--spectrum-global-color-fuchsia-600-rgb) + ); + --spectrum-global-color-fuchsia-700-rgb: 128, 0, 129; + --spectrum-global-color-fuchsia-700: rgb( + var(--spectrum-global-color-fuchsia-700-rgb) + ); + --spectrum-global-color-purple-400-rgb: 157, 87, 244; + --spectrum-global-color-purple-400: rgb( + var(--spectrum-global-color-purple-400-rgb) + ); + --spectrum-global-color-purple-500-rgb: 137, 61, 231; + --spectrum-global-color-purple-500: rgb( + var(--spectrum-global-color-purple-500-rgb) + ); + --spectrum-global-color-purple-600-rgb: 115, 38, 211; + --spectrum-global-color-purple-600: rgb( + var(--spectrum-global-color-purple-600-rgb) + ); + --spectrum-global-color-purple-700-rgb: 93, 19, 183; + --spectrum-global-color-purple-700: rgb( + var(--spectrum-global-color-purple-700-rgb) + ); + --spectrum-global-color-indigo-400-rgb: 104, 109, 244; + --spectrum-global-color-indigo-400: rgb( + var(--spectrum-global-color-indigo-400-rgb) + ); + --spectrum-global-color-indigo-500-rgb: 82, 88, 228; + --spectrum-global-color-indigo-500: rgb( + var(--spectrum-global-color-indigo-500-rgb) + ); + --spectrum-global-color-indigo-600-rgb: 64, 70, 202; + --spectrum-global-color-indigo-600: rgb( + var(--spectrum-global-color-indigo-600-rgb) + ); + --spectrum-global-color-indigo-700-rgb: 50, 54, 168; + --spectrum-global-color-indigo-700: rgb( + var(--spectrum-global-color-indigo-700-rgb) + ); + --spectrum-global-color-seafoam-400-rgb: 0, 161, 154; + --spectrum-global-color-seafoam-400: rgb( + var(--spectrum-global-color-seafoam-400-rgb) + ); + --spectrum-global-color-seafoam-500-rgb: 0, 140, 135; + --spectrum-global-color-seafoam-500: rgb( + var(--spectrum-global-color-seafoam-500-rgb) + ); + --spectrum-global-color-seafoam-600-rgb: 0, 119, 114; + --spectrum-global-color-seafoam-600: rgb( + var(--spectrum-global-color-seafoam-600-rgb) + ); + --spectrum-global-color-seafoam-700-rgb: 0, 99, 95; + --spectrum-global-color-seafoam-700: rgb( + var(--spectrum-global-color-seafoam-700-rgb) + ); + --spectrum-global-color-red-400-rgb: 234, 56, 41; + --spectrum-global-color-red-400: rgb( + var(--spectrum-global-color-red-400-rgb) + ); + --spectrum-global-color-red-500-rgb: 211, 21, 16; + --spectrum-global-color-red-500: rgb( + var(--spectrum-global-color-red-500-rgb) + ); + --spectrum-global-color-red-600-rgb: 180, 0, 0; + --spectrum-global-color-red-600: rgb( + var(--spectrum-global-color-red-600-rgb) + ); + --spectrum-global-color-red-700-rgb: 147, 0, 0; + --spectrum-global-color-red-700: rgb( + var(--spectrum-global-color-red-700-rgb) + ); + --spectrum-global-color-orange-400-rgb: 246, 133, 17; + --spectrum-global-color-orange-400: rgb( + var(--spectrum-global-color-orange-400-rgb) + ); + --spectrum-global-color-orange-500-rgb: 228, 111, 0; + --spectrum-global-color-orange-500: rgb( + var(--spectrum-global-color-orange-500-rgb) + ); + --spectrum-global-color-orange-600-rgb: 203, 93, 0; + --spectrum-global-color-orange-600: rgb( + var(--spectrum-global-color-orange-600-rgb) + ); + --spectrum-global-color-orange-700-rgb: 177, 76, 0; + --spectrum-global-color-orange-700: rgb( + var(--spectrum-global-color-orange-700-rgb) + ); + --spectrum-global-color-green-400-rgb: 0, 143, 93; + --spectrum-global-color-green-400: rgb( + var(--spectrum-global-color-green-400-rgb) + ); + --spectrum-global-color-green-500-rgb: 0, 122, 77; + --spectrum-global-color-green-500: rgb( + var(--spectrum-global-color-green-500-rgb) + ); + --spectrum-global-color-green-600-rgb: 0, 101, 62; + --spectrum-global-color-green-600: rgb( + var(--spectrum-global-color-green-600-rgb) + ); + --spectrum-global-color-green-700-rgb: 0, 81, 50; + --spectrum-global-color-green-700: rgb( + var(--spectrum-global-color-green-700-rgb) + ); + --spectrum-global-color-blue-400-rgb: 20, 122, 243; + --spectrum-global-color-blue-400: rgb( + var(--spectrum-global-color-blue-400-rgb) + ); + --spectrum-global-color-blue-500-rgb: 2, 101, 220; + --spectrum-global-color-blue-500: rgb( + var(--spectrum-global-color-blue-500-rgb) + ); + --spectrum-global-color-blue-600-rgb: 0, 84, 182; + --spectrum-global-color-blue-600: rgb( + var(--spectrum-global-color-blue-600-rgb) + ); + --spectrum-global-color-blue-700-rgb: 0, 68, 145; + --spectrum-global-color-blue-700: rgb( + var(--spectrum-global-color-blue-700-rgb) + ); + --spectrum-global-color-gray-50-rgb: 255, 255, 255; + --spectrum-global-color-gray-50: rgb( + var(--spectrum-global-color-gray-50-rgb) + ); + --spectrum-global-color-gray-75-rgb: 253, 253, 253; + --spectrum-global-color-gray-75: rgb( + var(--spectrum-global-color-gray-75-rgb) + ); + --spectrum-global-color-gray-100-rgb: 248, 248, 248; + --spectrum-global-color-gray-100: rgb( + var(--spectrum-global-color-gray-100-rgb) + ); + --spectrum-global-color-gray-200-rgb: 230, 230, 230; + --spectrum-global-color-gray-200: rgb( + var(--spectrum-global-color-gray-200-rgb) + ); + --spectrum-global-color-gray-300-rgb: 213, 213, 213; + --spectrum-global-color-gray-300: rgb( + var(--spectrum-global-color-gray-300-rgb) + ); + --spectrum-global-color-gray-400-rgb: 177, 177, 177; + --spectrum-global-color-gray-400: rgb( + var(--spectrum-global-color-gray-400-rgb) + ); + --spectrum-global-color-gray-500-rgb: 144, 144, 144; + --spectrum-global-color-gray-500: rgb( + var(--spectrum-global-color-gray-500-rgb) + ); + --spectrum-global-color-gray-600-rgb: 109, 109, 109; + --spectrum-global-color-gray-600: rgb( + var(--spectrum-global-color-gray-600-rgb) + ); + --spectrum-global-color-gray-700-rgb: 70, 70, 70; + --spectrum-global-color-gray-700: rgb( + var(--spectrum-global-color-gray-700-rgb) + ); + --spectrum-global-color-gray-800-rgb: 34, 34, 34; + --spectrum-global-color-gray-800: rgb( + var(--spectrum-global-color-gray-800-rgb) + ); + --spectrum-global-color-gray-900-rgb: 0, 0, 0; + --spectrum-global-color-gray-900: rgb( + var(--spectrum-global-color-gray-900-rgb) + ); + --spectrum-alias-background-color-primary: var( + --spectrum-global-color-gray-50 + ); + --spectrum-alias-background-color-secondary: var( + --spectrum-global-color-gray-100 + ); + --spectrum-alias-background-color-tertiary: var( + --spectrum-global-color-gray-300 + ); + --spectrum-alias-background-color-modal-overlay: #0006; + --spectrum-alias-dropshadow-color: #00000026; + --spectrum-alias-background-color-hover-overlay: #0000000a; + --spectrum-alias-highlight-hover: #0000000f; + --spectrum-alias-highlight-down: #0000001a; + --spectrum-alias-highlight-selected: #0265dc1a; + --spectrum-alias-highlight-selected-hover: #0265dc33; + --spectrum-alias-text-highlight-color: #0265dc33; + --spectrum-alias-background-color-quickactions: #f8f8f8e6; + --spectrum-alias-border-color-selected: var( + --spectrum-global-color-blue-500 + ); + --spectrum-alias-border-color-translucent: #0000001a; + --spectrum-alias-radial-reaction-color-default: #2229; + --spectrum-alias-pasteboard-background-color: var( + --spectrum-global-color-gray-300 + ); + --spectrum-alias-appframe-border-color: var( + --spectrum-global-color-gray-300 + ); + --spectrum-alias-appframe-separator-color: var( + --spectrum-global-color-gray-300 + ); +} diff --git a/tools/styles/spectrum-two/theme-dark.css b/tools/styles/spectrum-two/theme-dark.css new file mode 100644 index 0000000000..d36696ee36 --- /dev/null +++ b/tools/styles/spectrum-two/theme-dark.css @@ -0,0 +1,18 @@ +/* +Copyright 2022 Adobe. All rights reserved. +This file is licensed to you under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. You may obtain a copy +of the License at http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under +the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS +OF ANY KIND, either express or implied. See the License for the specific language +governing permissions and limitations under the License. +*/ + +@import './spectrum-theme-dark.css'; + +:host, +:root { + color-scheme: dark; +} diff --git a/tools/styles/spectrum-two/theme-light.css b/tools/styles/spectrum-two/theme-light.css new file mode 100644 index 0000000000..5d30ef82d1 --- /dev/null +++ b/tools/styles/spectrum-two/theme-light.css @@ -0,0 +1,18 @@ +/* +Copyright 2022 Adobe. All rights reserved. +This file is licensed to you under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. You may obtain a copy +of the License at http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under +the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS +OF ANY KIND, either express or implied. See the License for the specific language +governing permissions and limitations under the License. +*/ + +@import './spectrum-theme-light.css'; + +:host, +:root { + color-scheme: light; +} diff --git a/tools/styles/spectrum-two/themes.ts b/tools/styles/spectrum-two/themes.ts new file mode 100644 index 0000000000..6c3be16d0f --- /dev/null +++ b/tools/styles/spectrum-two/themes.ts @@ -0,0 +1,16 @@ +/* +Copyright 2020 Adobe. All rights reserved. +This file is licensed to you under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. You may obtain a copy +of the License at http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under +the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS +OF ANY KIND, either express or implied. See the License for the specific language +governing permissions and limitations under the License. +*/ + +import '../../spectrum-two/theme-light.js'; +import '../../spectrum-two/theme-dark.js'; +import '../../spectrum-two/scale-medium.js'; +import '../../spectrum-two/scale-large.js'; diff --git a/tools/styles/src/body-overrides.css b/tools/styles/src/body-overrides.css new file mode 100644 index 0000000000..b2e1c5a7a0 --- /dev/null +++ b/tools/styles/src/body-overrides.css @@ -0,0 +1,51 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +.spectrum-Body { + --spectrum-body-sans-serif-font-family: var( + --system-body-sans-serif-font-family + ); + --spectrum-body-serif-font-family: var(--system-body-serif-font-family); + --spectrum-body-cjk-font-family: var(--system-body-cjk-font-family); + --spectrum-body-cjk-letter-spacing: var(--system-body-cjk-letter-spacing); + --spectrum-body-font-color: var(--system-body-font-color); + --spectrum-body-font-size: var(--system-body-font-size); +} + +.spectrum-Body--sizeXS { + --spectrum-body-font-size: var(--system-body-size-xs-font-size); +} + +.spectrum-Body--sizeS { + --spectrum-body-font-size: var(--system-body-size-s-font-size); +} + +.spectrum-Body--sizeM { + --spectrum-body-font-size: var(--system-body-size-m-font-size); +} + +.spectrum-Body--sizeL { + --spectrum-body-font-size: var(--system-body-size-l-font-size); +} + +.spectrum-Body--sizeXL { + --spectrum-body-font-size: var(--system-body-size-xl-font-size); +} + +.spectrum-Body--sizeXXL { + --spectrum-body-font-size: var(--system-body-size-xxl-font-size); +} + +.spectrum-Body--sizeXXXL { + --spectrum-body-font-size: var(--system-body-size-xxxl-font-size); +} diff --git a/tools/styles/src/code-overrides.css b/tools/styles/src/code-overrides.css new file mode 100644 index 0000000000..58d3804499 --- /dev/null +++ b/tools/styles/src/code-overrides.css @@ -0,0 +1,39 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +.spectrum-Code { + --spectrum-code-font-family: var(--system-code-font-family); + --spectrum-code-cjk-letter-spacing: var(--system-code-cjk-letter-spacing); + --spectrum-code-font-color: var(--system-code-font-color); + --spectrum-code-font-size: var(--system-code-font-size); +} + +.spectrum-Code--sizeXS { + --spectrum-code-font-size: var(--system-code-size-xs-font-size); +} + +.spectrum-Code--sizeS { + --spectrum-code-font-size: var(--system-code-size-s-font-size); +} + +.spectrum-Code--sizeM { + --spectrum-code-font-size: var(--system-code-size-m-font-size); +} + +.spectrum-Code--sizeL { + --spectrum-code-font-size: var(--system-code-size-l-font-size); +} + +.spectrum-Code--sizeXL { + --spectrum-code-font-size: var(--system-code-size-xl-font-size); +} diff --git a/tools/styles/src/detail-overrides.css b/tools/styles/src/detail-overrides.css new file mode 100644 index 0000000000..9aff846cc8 --- /dev/null +++ b/tools/styles/src/detail-overrides.css @@ -0,0 +1,38 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +.spectrum-Detail { + --spectrum-detail-sans-serif-font-family: var( + --system-detail-sans-serif-font-family + ); + --spectrum-detail-serif-font-family: var(--system-detail-serif-font-family); + --spectrum-detail-cjk-font-family: var(--system-detail-cjk-font-family); + --spectrum-detail-font-color: var(--system-detail-font-color); + --spectrum-detail-font-size: var(--system-detail-font-size); +} + +.spectrum-Detail--sizeS { + --spectrum-detail-font-size: var(--system-detail-size-s-font-size); +} + +.spectrum-Detail--sizeM { + --spectrum-detail-font-size: var(--system-detail-size-m-font-size); +} + +.spectrum-Detail--sizeL { + --spectrum-detail-font-size: var(--system-detail-size-l-font-size); +} + +.spectrum-Detail--sizeXL { + --spectrum-detail-font-size: var(--system-detail-size-xl-font-size); +} diff --git a/tools/styles/src/heading-overrides.css b/tools/styles/src/heading-overrides.css new file mode 100644 index 0000000000..0ec47c8faf --- /dev/null +++ b/tools/styles/src/heading-overrides.css @@ -0,0 +1,84 @@ +/* + Copyright 2023 Adobe. All rights reserved. + This file is licensed to you under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. You may obtain a copy + of the License at http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under + the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS + OF ANY KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. + */ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +.spectrum-Heading { + --spectrum-heading-sans-serif-font-family: var( + --system-heading-sans-serif-font-family + ); + --spectrum-heading-serif-font-family: var( + --system-heading-serif-font-family + ); + --spectrum-heading-cjk-font-family: var(--system-heading-cjk-font-family); + --spectrum-heading-cjk-letter-spacing: var( + --system-heading-cjk-letter-spacing + ); + --spectrum-heading-font-color: var(--system-heading-font-color); + --spectrum-heading-font-size: var(--system-heading-font-size); + --spectrum-heading-cjk-font-size: var(--system-heading-cjk-font-size); +} + +.spectrum-Heading--sizeXXS { + --spectrum-heading-font-size: var(--system-heading-size-xxs-font-size); + --spectrum-heading-cjk-font-size: var( + --system-heading-size-xxs-cjk-font-size + ); +} + +.spectrum-Heading--sizeXS { + --spectrum-heading-font-size: var(--system-heading-size-xs-font-size); + --spectrum-heading-cjk-font-size: var( + --system-heading-size-xs-cjk-font-size + ); +} + +.spectrum-Heading--sizeS { + --spectrum-heading-font-size: var(--system-heading-size-s-font-size); + --spectrum-heading-cjk-font-size: var( + --system-heading-size-s-cjk-font-size + ); +} + +.spectrum-Heading--sizeM { + --spectrum-heading-font-size: var(--system-heading-size-m-font-size); + --spectrum-heading-cjk-font-size: var( + --system-heading-size-m-cjk-font-size + ); +} + +.spectrum-Heading--sizeL { + --spectrum-heading-font-size: var(--system-heading-size-l-font-size); + --spectrum-heading-cjk-font-size: var( + --system-heading-size-l-cjk-font-size + ); +} + +.spectrum-Heading--sizeXL { + --spectrum-heading-font-size: var(--system-heading-size-xl-font-size); + --spectrum-heading-cjk-font-size: var( + --system-heading-size-xl-cjk-font-size + ); +} + +.spectrum-Heading--sizeXXL { + --spectrum-heading-font-size: var(--system-heading-size-xxl-font-size); + --spectrum-heading-cjk-font-size: var( + --system-heading-size-xxl-cjk-font-size + ); +} + +.spectrum-Heading--sizeXXXL { + --spectrum-heading-font-size: var(--system-heading-size-xxxl-font-size); + --spectrum-heading-cjk-font-size: var( + --system-heading-size-xxxl-cjk-font-size + ); +} diff --git a/tools/styles/src/lang-overrides.css b/tools/styles/src/lang-overrides.css new file mode 100644 index 0000000000..b1cee0dbcd --- /dev/null +++ b/tools/styles/src/lang-overrides.css @@ -0,0 +1,13 @@ +/* +Copyright 2023 Adobe. All rights reserved. +This file is licensed to you under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. You may obtain a copy +of the License at http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under +the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS +OF ANY KIND, either express or implied. See the License for the specific language +governing permissions and limitations under the License. +*/ + +/* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ diff --git a/tools/styles/src/spectrum-body.css b/tools/styles/src/spectrum-body.css index b4e4f583a3..3b75f4b56c 100644 --- a/tools/styles/src/spectrum-body.css +++ b/tools/styles/src/spectrum-body.css @@ -11,46 +11,17 @@ governing permissions and limitations under the License. */ /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ -.spectrum-Body { - --spectrum-body-sans-serif-font-family: var( - --spectrum-sans-font-family-stack - ); - --spectrum-body-serif-font-family: var(--spectrum-serif-font-family-stack); - --spectrum-body-cjk-font-family: var(--spectrum-cjk-font-family-stack); - --spectrum-body-cjk-letter-spacing: var(--spectrum-cjk-letter-spacing); - --spectrum-body-margin: calc( +.spectrum-Typography .spectrum-Body { + --spectrum-body-margin-end: calc( var(--mod-body-font-size, var(--spectrum-body-font-size)) * var(--spectrum-body-margin-multiplier) ); - --spectrum-body-font-color: var(--spectrum-body-color); -} - -.spectrum-Body--sizeXS { - --spectrum-body-font-size: var(--spectrum-body-size-xs); -} - -.spectrum-Body--sizeS { - --spectrum-body-font-size: var(--spectrum-body-size-s); -} - -.spectrum-Body--sizeM { - --spectrum-body-font-size: var(--spectrum-body-size-m); -} - -.spectrum-Body--sizeL { - --spectrum-body-font-size: var(--spectrum-body-size-l); -} - -.spectrum-Body--sizeXL { - --spectrum-body-font-size: var(--spectrum-body-size-xl); -} - -.spectrum-Body--sizeXXL { - --spectrum-body-font-size: var(--spectrum-body-size-xxl); } -.spectrum-Body--sizeXXXL { - --spectrum-body-font-size: var(--spectrum-body-size-xxxl); +@media (forced-colors: active) { + .spectrum-Body { + --highcontrast-body-font-color: Text; + } } .spectrum-Body { @@ -72,7 +43,14 @@ governing permissions and limitations under the License. var(--mod-body-font-color, var(--spectrum-body-font-color)) ); line-height: var(--mod-body-line-height, var(--spectrum-body-line-height)); - margin-block: 0; + margin-block-start: var( + --mod-body-margin-start, + var(--mod-body-margin, var(--spectrum-body-margin-start, 0)) + ); + margin-block-end: var( + --mod-body-margin-end, + var(--mod-body-margin, var(--spectrum-body-margin-end, 0)) + ); } .spectrum-Body .spectrum-Body-strong, @@ -240,10 +218,6 @@ governing permissions and limitations under the License. ); } -.spectrum-Typography .spectrum-Body { - margin-block-end: var(--mod-body-margin, var(--spectrum-body-margin)); -} - .spectrum-Detail--light .spectrum-Detail-strong.spectrum-Body-emphasized { font-style: var( --mod-detail-sans-serif-light-strong-emphasized-font-style, @@ -266,9 +240,3 @@ governing permissions and limitations under the License. var(--spectrum-detail-serif-light-strong-emphasized-font-weight) ); } - -@media (forced-colors: active) { - .spectrum-Body { - --highcontrast-body-font-color: Text; - } -} diff --git a/tools/styles/src/spectrum-code.css b/tools/styles/src/spectrum-code.css index ab1ead74e9..a628316dbc 100644 --- a/tools/styles/src/spectrum-code.css +++ b/tools/styles/src/spectrum-code.css @@ -11,38 +11,12 @@ governing permissions and limitations under the License. */ /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ -.spectrum-Code { - --spectrum-code-font-family: var(--spectrum-code-font-family-stack); - --spectrum-code-cjk-letter-spacing: var(--spectrum-cjk-letter-spacing); - --spectrum-code-font-color: var(--spectrum-code-color); -} - @media (forced-colors: active) { .spectrum-Code { --highcontrast-code-font-color: Text; } } -.spectrum-Code--sizeXS { - --spectrum-code-font-size: var(--spectrum-code-size-xs); -} - -.spectrum-Code--sizeS { - --spectrum-code-font-size: var(--spectrum-code-size-s); -} - -.spectrum-Code--sizeM { - --spectrum-code-font-size: var(--spectrum-code-size-m); -} - -.spectrum-Code--sizeL { - --spectrum-code-font-size: var(--spectrum-code-size-l); -} - -.spectrum-Code--sizeXL { - --spectrum-code-font-size: var(--spectrum-code-size-xl); -} - .spectrum-Code { font-family: var(--mod-code-font-family, var(--spectrum-code-font-family)); font-style: var(--mod-code-font-style, var(--spectrum-code-font-style)); @@ -53,7 +27,14 @@ governing permissions and limitations under the License. --highcontrast-code-font-color, var(--mod-code-font-color, var(--spectrum-code-font-color)) ); - margin-block: 0; + margin-block-start: var( + --mod-code-margin-start, + var(--spectrum-code-margin-end, 0) + ); + margin-block-end: var( + --mod-code-margin-end, + var(--spectrum-code-margin-end, 0) + ); } .spectrum-Code .spectrum-Code-strong, diff --git a/tools/styles/src/spectrum-detail.css b/tools/styles/src/spectrum-detail.css index 40d4a0a82d..17d6726a3d 100644 --- a/tools/styles/src/spectrum-detail.css +++ b/tools/styles/src/spectrum-detail.css @@ -11,14 +11,7 @@ governing permissions and limitations under the License. */ /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ -.spectrum-Detail { - --spectrum-detail-sans-serif-font-family: var( - --spectrum-sans-font-family-stack - ); - --spectrum-detail-serif-font-family: var( - --spectrum-serif-font-family-stack - ); - --spectrum-detail-cjk-font-family: var(--spectrum-cjk-font-family-stack); +.spectrum-Typography .spectrum-Detail { --spectrum-detail-margin-start: calc( var(--mod-detail-font-size, var(--spectrum-detail-font-size)) * var(--spectrum-detail-margin-top-multiplier) @@ -27,23 +20,12 @@ governing permissions and limitations under the License. var(--mod-detail-font-size, var(--spectrum-detail-font-size)) * var(--spectrum-detail-margin-bottom-multiplier) ); - --spectrum-detail-font-color: var(--spectrum-detail-color); -} - -.spectrum-Detail--sizeS { - --spectrum-detail-font-size: var(--spectrum-detail-size-s); -} - -.spectrum-Detail--sizeM { - --spectrum-detail-font-size: var(--spectrum-detail-size-m); -} - -.spectrum-Detail--sizeL { - --spectrum-detail-font-size: var(--spectrum-detail-size-l); } -.spectrum-Detail--sizeXL { - --spectrum-detail-font-size: var(--spectrum-detail-size-xl); +@media (forced-colors: active) { + .spectrum-Detail { + --highcontrast-detail-font-color: Text; + } } .spectrum-Detail { @@ -73,7 +55,14 @@ governing permissions and limitations under the License. var(--spectrum-detail-letter-spacing) ); text-transform: uppercase; - margin-block: 0; + margin-block-start: var( + --mod-detail-margin-start, + var(--spectrum-detail-margin-start, 0) + ); + margin-block-end: var( + --mod-detail-margin-end, + var(--spectrum-detail-margin-end, 0) + ); } .spectrum-Detail .spectrum-Detail-strong, @@ -394,20 +383,3 @@ governing permissions and limitations under the License. var(--spectrum-detail-serif-light-strong-emphasized-font-weight) ); } - -.spectrum-Typography .spectrum-Detail { - margin-block-start: var( - --mod-detail-margin-start, - var(--spectrum-detail-margin-start) - ); - margin-block-end: var( - --mod-detail-margin-end, - var(--spectrum-detail-margin-end) - ); -} - -@media (forced-colors: active) { - .spectrum-Detail { - --highcontrast-detail-font-color: Text; - } -} diff --git a/tools/styles/src/spectrum-heading.css b/tools/styles/src/spectrum-heading.css index 9788395f48..e7d20131d7 100644 --- a/tools/styles/src/spectrum-heading.css +++ b/tools/styles/src/spectrum-heading.css @@ -11,16 +11,7 @@ governing permissions and limitations under the License. */ /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ -.spectrum-Heading { - --spectrum-heading-sans-serif-font-family: var( - --spectrum-sans-font-family-stack - ); - --spectrum-heading-serif-font-family: var( - --spectrum-serif-font-family-stack - ); - --spectrum-heading-cjk-font-family: var(--spectrum-cjk-font-family-stack); - --spectrum-heading-cjk-letter-spacing: var(--spectrum-cjk-letter-spacing); - --spectrum-heading-font-color: var(--spectrum-heading-color); +.spectrum-Typography .spectrum-Heading { --spectrum-heading-margin-start: calc( var(--mod-heading-font-size, var(--spectrum-heading-font-size)) * var(--spectrum-heading-margin-top-multiplier) @@ -31,44 +22,10 @@ governing permissions and limitations under the License. ); } -.spectrum-Heading--sizeXXS { - --spectrum-heading-font-size: var(--spectrum-heading-size-xxs); - --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-xxs); -} - -.spectrum-Heading--sizeXS { - --spectrum-heading-font-size: var(--spectrum-heading-size-xs); - --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-xs); -} - -.spectrum-Heading--sizeS { - --spectrum-heading-font-size: var(--spectrum-heading-size-s); - --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-s); -} - -.spectrum-Heading--sizeM { - --spectrum-heading-font-size: var(--spectrum-heading-size-m); - --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-m); -} - -.spectrum-Heading--sizeL { - --spectrum-heading-font-size: var(--spectrum-heading-size-l); - --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-l); -} - -.spectrum-Heading--sizeXL { - --spectrum-heading-font-size: var(--spectrum-heading-size-xl); - --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-xl); -} - -.spectrum-Heading--sizeXXL { - --spectrum-heading-font-size: var(--spectrum-heading-size-xxl); - --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-xxl); -} - -.spectrum-Heading--sizeXXXL { - --spectrum-heading-font-size: var(--spectrum-heading-size-xxxl); - --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-xxxl); +@media (forced-colors: active) { + .spectrum-Heading { + --highcontrast-heading-font-color: Text; + } } .spectrum-Heading { @@ -93,7 +50,14 @@ governing permissions and limitations under the License. --mod-heading-line-height, var(--spectrum-heading-line-height) ); - margin-block: 0; + margin-block-start: var( + --mod-heading-margin-start, + var(--spectrum-heading-margin-start, 0) + ); + margin-block-end: var( + --mod-heading-margin-end, + var(--spectrum-heading-margin-end, 0) + ); } .spectrum-Heading .spectrum-Heading-strong, @@ -592,20 +556,3 @@ governing permissions and limitations under the License. var(--spectrum-heading-serif-light-strong-emphasized-font-weight) ); } - -.spectrum-Typography .spectrum-Heading { - margin-block-start: var( - --mod-heading-margin-start, - var(--spectrum-heading-margin-start) - ); - margin-block-end: var( - --mod-heading-margin-end, - var(--spectrum-heading-margin-end) - ); -} - -@media (forced-colors: active) { - .spectrum-Heading { - --highcontrast-heading-font-color: Text; - } -} diff --git a/tools/styles/src/spectrum-lang.css b/tools/styles/src/spectrum-lang.css index 01c800c149..15535783fc 100644 --- a/tools/styles/src/spectrum-lang.css +++ b/tools/styles/src/spectrum-lang.css @@ -11,11 +11,11 @@ governing permissions and limitations under the License. */ /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ -.spectrum:lang(ar) { +.spectrum-Typography:lang(ar) { font-family: var(--spectrum-font-family-ar); } -.spectrum:lang(he) { +.spectrum-Typography:lang(he) { font-family: var(--spectrum-font-family-he); } diff --git a/tools/styles/src/spectrum-typography.css b/tools/styles/src/spectrum-typography.css index 4d5e53d783..7e3e87e1f5 100644 --- a/tools/styles/src/spectrum-typography.css +++ b/tools/styles/src/spectrum-typography.css @@ -11,28 +11,45 @@ governing permissions and limitations under the License. */ /* THIS FILE IS MACHINE GENERATED. DO NOT EDIT */ +.spectrum-Typography { + font-family: var(--spectrum-font-family); + font-style: var(--spectrum-font-style); + font-size: var(--spectrum-font-size); +} + +.spectrum-Typography:lang(ar) { + font-family: var(--spectrum-font-family-ar); +} + +.spectrum-Typography:lang(he) { + font-family: var(--spectrum-font-family-he); +} + .spectrum-Typography .spectrum-Heading { - margin-block-start: var( - --mod-heading-margin-start, - var(--spectrum-heading-margin-start) + --spectrum-heading-margin-start: calc( + var(--mod-heading-font-size, var(--spectrum-heading-font-size)) * + var(--spectrum-heading-margin-top-multiplier) ); - margin-block-end: var( - --mod-heading-margin-end, - var(--spectrum-heading-margin-end) + --spectrum-heading-margin-end: calc( + var(--mod-heading-font-size, var(--spectrum-heading-font-size)) * + var(--spectrum-heading-margin-bottom-multiplier) ); } .spectrum-Typography .spectrum-Body { - margin-block-end: var(--mod-body-margin, var(--spectrum-body-margin)); + --spectrum-body-margin-end: calc( + var(--mod-body-font-size, var(--spectrum-body-font-size)) * + var(--spectrum-body-margin-multiplier) + ); } .spectrum-Typography .spectrum-Detail { - margin-block-start: var( - --mod-detail-margin-start, - var(--spectrum-detail-margin-start) + --spectrum-detail-margin-start: calc( + var(--mod-detail-font-size, var(--spectrum-detail-font-size)) * + var(--spectrum-detail-margin-top-multiplier) ); - margin-block-end: var( - --mod-detail-margin-end, - var(--spectrum-detail-margin-end) + --spectrum-detail-margin-end: calc( + var(--mod-detail-font-size, var(--spectrum-detail-font-size)) * + var(--spectrum-detail-margin-bottom-multiplier) ); } diff --git a/tools/styles/tokens-v2/dark-vars.css b/tools/styles/tokens-v2/dark-vars.css index a8acb26f31..86db64dee7 100644 --- a/tools/styles/tokens-v2/dark-vars.css +++ b/tools/styles/tokens-v2/dark-vars.css @@ -1,12 +1,6 @@ :host, :root { --spectrum-overlay-opacity: 0.6; - --spectrum-drop-shadow-color-rgb: 0, 0, 0; - --spectrum-drop-shadow-color-opacity: 0.8; - --spectrum-drop-shadow-color: rgba( - var(--spectrum-drop-shadow-color-rgb), - var(--spectrum-drop-shadow-color-opacity) - ); --spectrum-background-layer-2-color: var(--spectrum-gray-75); --spectrum-neutral-subdued-background-color-default: var( --spectrum-gray-500 @@ -17,74 +11,74 @@ --spectrum-gray-400 ); --spectrum-accent-background-color-default: var( - --spectrum-accent-color-700 + --spectrum-accent-color-800 ); - --spectrum-accent-background-color-hover: var(--spectrum-accent-color-600); - --spectrum-accent-background-color-down: var(--spectrum-accent-color-600); + --spectrum-accent-background-color-hover: var(--spectrum-accent-color-700); + --spectrum-accent-background-color-down: var(--spectrum-accent-color-700); --spectrum-accent-background-color-key-focus: var( - --spectrum-accent-color-600 + --spectrum-accent-color-700 ); --spectrum-informative-background-color-default: var( - --spectrum-informative-color-700 + --spectrum-informative-color-800 ); --spectrum-informative-background-color-hover: var( - --spectrum-informative-color-600 + --spectrum-informative-color-700 ); --spectrum-informative-background-color-down: var( - --spectrum-informative-color-600 + --spectrum-informative-color-700 ); --spectrum-informative-background-color-key-focus: var( - --spectrum-informative-color-600 + --spectrum-informative-color-700 ); --spectrum-negative-background-color-default: var( - --spectrum-negative-color-700 + --spectrum-negative-color-800 ); --spectrum-negative-background-color-hover: var( - --spectrum-negative-color-600 + --spectrum-negative-color-700 ); --spectrum-negative-background-color-down: var( - --spectrum-negative-color-600 + --spectrum-negative-color-700 ); --spectrum-negative-background-color-key-focus: var( - --spectrum-negative-color-600 + --spectrum-negative-color-700 ); --spectrum-positive-background-color-default: var( - --spectrum-positive-color-700 + --spectrum-positive-color-800 ); --spectrum-positive-background-color-hover: var( - --spectrum-positive-color-600 + --spectrum-positive-color-700 ); --spectrum-positive-background-color-down: var( - --spectrum-positive-color-600 + --spectrum-positive-color-700 ); --spectrum-positive-background-color-key-focus: var( - --spectrum-positive-color-600 + --spectrum-positive-color-700 ); --spectrum-notice-background-color-default: var( --spectrum-notice-color-900 ); --spectrum-gray-background-color-default: var(--spectrum-gray-500); - --spectrum-red-background-color-default: var(--spectrum-red-700); + --spectrum-red-background-color-default: var(--spectrum-red-800); --spectrum-orange-background-color-default: var(--spectrum-orange-900); --spectrum-yellow-background-color-default: var(--spectrum-yellow-1100); --spectrum-chartreuse-background-color-default: var( --spectrum-chartreuse-1000 ); --spectrum-celery-background-color-default: var(--spectrum-celery-900); - --spectrum-green-background-color-default: var(--spectrum-green-700); - --spectrum-seafoam-background-color-default: var(--spectrum-seafoam-700); - --spectrum-cyan-background-color-default: var(--spectrum-cyan-700); - --spectrum-blue-background-color-default: var(--spectrum-blue-700); - --spectrum-indigo-background-color-default: var(--spectrum-indigo-700); - --spectrum-purple-background-color-default: var(--spectrum-purple-700); - --spectrum-fuchsia-background-color-default: var(--spectrum-fuchsia-700); - --spectrum-magenta-background-color-default: var(--spectrum-magenta-700); + --spectrum-green-background-color-default: var(--spectrum-green-800); + --spectrum-seafoam-background-color-default: var(--spectrum-seafoam-800); + --spectrum-cyan-background-color-default: var(--spectrum-cyan-800); + --spectrum-blue-background-color-default: var(--spectrum-blue-800); + --spectrum-indigo-background-color-default: var(--spectrum-indigo-800); + --spectrum-purple-background-color-default: var(--spectrum-purple-800); + --spectrum-fuchsia-background-color-default: var(--spectrum-fuchsia-800); + --spectrum-magenta-background-color-default: var(--spectrum-magenta-800); --spectrum-neutral-visual-color: var(--spectrum-gray-600); --spectrum-accent-visual-color: var(--spectrum-accent-color-900); --spectrum-informative-visual-color: var(--spectrum-informative-color-900); - --spectrum-negative-visual-color: var(--spectrum-negative-color-700); + --spectrum-negative-visual-color: var(--spectrum-negative-color-900); --spectrum-notice-visual-color: var(--spectrum-notice-color-900); - --spectrum-positive-visual-color: var(--spectrum-positive-color-800); + --spectrum-positive-visual-color: var(--spectrum-positive-color-900); --spectrum-gray-visual-color: var(--spectrum-gray-600); --spectrum-red-visual-color: var(--spectrum-red-700); --spectrum-orange-visual-color: var(--spectrum-orange-900); @@ -106,14 +100,228 @@ --spectrum-pink-visual-color: var(--spectrum-pink-900); --spectrum-silver-visual-color: var(--spectrum-silver-900); --spectrum-turquoise-visual-color: var(--spectrum-turquoise-900); - --spectrum-brown-background-color-default: var(--spectrum-brown-700); - --spectrum-cinnamon-background-color-default: var(--spectrum-cinnamon-700); - --spectrum-pink-background-color-default: var(--spectrum-pink-700); - --spectrum-silver-background-color-default: var(--spectrum-silver-700); + --spectrum-brown-background-color-default: var(--spectrum-brown-800); + --spectrum-cinnamon-background-color-default: var(--spectrum-cinnamon-800); + --spectrum-pink-background-color-default: var(--spectrum-pink-800); + --spectrum-silver-background-color-default: var(--spectrum-silver-800); --spectrum-turquoise-background-color-default: var( - --spectrum-turquoise-700 + --spectrum-turquoise-800 + ); + --spectrum-drop-shadow-color-100-rgb: 0, 0, 0; + --spectrum-drop-shadow-color-100-opacity: 0.36; + --spectrum-drop-shadow-color-100: rgba( + var(--spectrum-drop-shadow-color-100-rgb), + var(--spectrum-drop-shadow-color-100-opacity) + ); + --spectrum-drop-shadow-color-200-rgb: 0, 0, 0; + --spectrum-drop-shadow-color-200-opacity: 0.48; + --spectrum-drop-shadow-color-200: rgba( + var(--spectrum-drop-shadow-color-200-rgb), + var(--spectrum-drop-shadow-color-200-opacity) + ); + --spectrum-drop-shadow-color-300-rgb: 0, 0, 0; + --spectrum-drop-shadow-color-300-opacity: 0.6; + --spectrum-drop-shadow-color-300: rgba( + var(--spectrum-drop-shadow-color-300-rgb), + var(--spectrum-drop-shadow-color-300-opacity) + ); + --spectrum-neutral-subtle-background-color-default: var( + --spectrum-gray-300 + ); + --spectrum-gray-subtle-background-color-default: var(--spectrum-gray-300); + --spectrum-blue-subtle-background-color-default: var(--spectrum-blue-300); + --spectrum-green-subtle-background-color-default: var(--spectrum-green-300); + --spectrum-orange-subtle-background-color-default: var( + --spectrum-orange-300 + ); + --spectrum-red-subtle-background-color-default: var(--spectrum-red-300); + --spectrum-brown-subtle-background-color-default: var(--spectrum-brown-300); + --spectrum-cinnamon-subtle-background-color-default: var( + --spectrum-cinnamon-300 + ); + --spectrum-celery-subtle-background-color-default: var( + --spectrum-celery-300 + ); + --spectrum-chartreuse-subtle-background-color-default: var( + --spectrum-chartreuse-300 + ); + --spectrum-cyan-subtle-background-color-default: var(--spectrum-cyan-300); + --spectrum-fuchsia-subtle-background-color-default: var( + --spectrum-fuchsia-300 + ); + --spectrum-indigo-subtle-background-color-default: var( + --spectrum-indigo-300 + ); + --spectrum-magenta-subtle-background-color-default: var( + --spectrum-magenta-300 + ); + --spectrum-pink-subtle-background-color-default: var(--spectrum-pink-300); + --spectrum-purple-subtle-background-color-default: var( + --spectrum-purple-300 + ); + --spectrum-seafoam-subtle-background-color-default: var( + --spectrum-seafoam-300 + ); + --spectrum-silver-subtle-background-color-default: var( + --spectrum-silver-300 + ); + --spectrum-turquoise-subtle-background-color-default: var( + --spectrum-turquoise-300 + ); + --spectrum-yellow-subtle-background-color-default: var( + --spectrum-yellow-300 ); --spectrum-opacity-checkerboard-square-dark: var(--spectrum-gray-800); + --spectrum-white-rgb: 255, 255, 255; + --spectrum-white: rgba(var(--spectrum-white-rgb)); + --spectrum-transparent-white-25-rgb: 255, 255, 255; + --spectrum-transparent-white-25-opacity: 0; + --spectrum-transparent-white-25: rgba( + var(--spectrum-transparent-white-25-rgb), + var(--spectrum-transparent-white-25-opacity) + ); + --spectrum-transparent-white-50-rgb: 255, 255, 255; + --spectrum-transparent-white-50-opacity: 0.04; + --spectrum-transparent-white-50: rgba( + var(--spectrum-transparent-white-50-rgb), + var(--spectrum-transparent-white-50-opacity) + ); + --spectrum-transparent-white-75-rgb: 255, 255, 255; + --spectrum-transparent-white-75-opacity: 0.07; + --spectrum-transparent-white-75: rgba( + var(--spectrum-transparent-white-75-rgb), + var(--spectrum-transparent-white-75-opacity) + ); + --spectrum-transparent-white-100-rgb: 255, 255, 255; + --spectrum-transparent-white-100-opacity: 0.11; + --spectrum-transparent-white-100: rgba( + var(--spectrum-transparent-white-100-rgb), + var(--spectrum-transparent-white-100-opacity) + ); + --spectrum-transparent-white-200-rgb: 255, 255, 255; + --spectrum-transparent-white-200-opacity: 0.14; + --spectrum-transparent-white-200: rgba( + var(--spectrum-transparent-white-200-rgb), + var(--spectrum-transparent-white-200-opacity) + ); + --spectrum-transparent-white-300-rgb: 255, 255, 255; + --spectrum-transparent-white-300-opacity: 0.17; + --spectrum-transparent-white-300: rgba( + var(--spectrum-transparent-white-300-rgb), + var(--spectrum-transparent-white-300-opacity) + ); + --spectrum-transparent-white-400-rgb: 255, 255, 255; + --spectrum-transparent-white-400-opacity: 0.21; + --spectrum-transparent-white-400: rgba( + var(--spectrum-transparent-white-400-rgb), + var(--spectrum-transparent-white-400-opacity) + ); + --spectrum-transparent-white-500-rgb: 255, 255, 255; + --spectrum-transparent-white-500-opacity: 0.39; + --spectrum-transparent-white-500: rgba( + var(--spectrum-transparent-white-500-rgb), + var(--spectrum-transparent-white-500-opacity) + ); + --spectrum-transparent-white-600-rgb: 255, 255, 255; + --spectrum-transparent-white-600-opacity: 0.51; + --spectrum-transparent-white-600: rgba( + var(--spectrum-transparent-white-600-rgb), + var(--spectrum-transparent-white-600-opacity) + ); + --spectrum-transparent-white-700-rgb: 255, 255, 255; + --spectrum-transparent-white-700-opacity: 0.66; + --spectrum-transparent-white-700: rgba( + var(--spectrum-transparent-white-700-rgb), + var(--spectrum-transparent-white-700-opacity) + ); + --spectrum-transparent-white-800-rgb: 255, 255, 255; + --spectrum-transparent-white-800-opacity: 0.85; + --spectrum-transparent-white-800: rgba( + var(--spectrum-transparent-white-800-rgb), + var(--spectrum-transparent-white-800-opacity) + ); + --spectrum-transparent-white-900-rgb: 255, 255, 255; + --spectrum-transparent-white-900-opacity: 0.94; + --spectrum-transparent-white-900: rgba( + var(--spectrum-transparent-white-900-rgb), + var(--spectrum-transparent-white-900-opacity) + ); + --spectrum-transparent-white-1000-rgb: 255, 255, 255; + --spectrum-transparent-white-1000: rgba( + var(--spectrum-transparent-white-1000-rgb) + ); + --spectrum-transparent-black-25-rgb: 0, 0, 0; + --spectrum-transparent-black-25-opacity: 0; + --spectrum-transparent-black-25: rgba( + var(--spectrum-transparent-black-25-rgb), + var(--spectrum-transparent-black-25-opacity) + ); + --spectrum-transparent-black-50-rgb: 0, 0, 0; + --spectrum-transparent-black-50-opacity: 0.03; + --spectrum-transparent-black-50: rgba( + var(--spectrum-transparent-black-50-rgb), + var(--spectrum-transparent-black-50-opacity) + ); + --spectrum-transparent-black-75-rgb: 0, 0, 0; + --spectrum-transparent-black-75-opacity: 0.05; + --spectrum-transparent-black-75: rgba( + var(--spectrum-transparent-black-75-rgb), + var(--spectrum-transparent-black-75-opacity) + ); + --spectrum-transparent-black-100-rgb: 0, 0, 0; + --spectrum-transparent-black-100-opacity: 0.09; + --spectrum-transparent-black-100: rgba( + var(--spectrum-transparent-black-100-rgb), + var(--spectrum-transparent-black-100-opacity) + ); + --spectrum-transparent-black-200-rgb: 0, 0, 0; + --spectrum-transparent-black-200-opacity: 0.12; + --spectrum-transparent-black-200: rgba( + var(--spectrum-transparent-black-200-rgb), + var(--spectrum-transparent-black-200-opacity) + ); + --spectrum-transparent-black-300-rgb: 0, 0, 0; + --spectrum-transparent-black-300-opacity: 0.15; + --spectrum-transparent-black-300: rgba( + var(--spectrum-transparent-black-300-rgb), + var(--spectrum-transparent-black-300-opacity) + ); + --spectrum-transparent-black-400-rgb: 0, 0, 0; + --spectrum-transparent-black-400-opacity: 0.22; + --spectrum-transparent-black-400: rgba( + var(--spectrum-transparent-black-400-rgb), + var(--spectrum-transparent-black-400-opacity) + ); + --spectrum-transparent-black-500-rgb: 0, 0, 0; + --spectrum-transparent-black-500-opacity: 0.44; + --spectrum-transparent-black-500: rgba( + var(--spectrum-transparent-black-500-rgb), + var(--spectrum-transparent-black-500-opacity) + ); + --spectrum-transparent-black-600-rgb: 0, 0, 0; + --spectrum-transparent-black-600-opacity: 0.56; + --spectrum-transparent-black-600: rgba( + var(--spectrum-transparent-black-600-rgb), + var(--spectrum-transparent-black-600-opacity) + ); + --spectrum-transparent-black-700-rgb: 0, 0, 0; + --spectrum-transparent-black-700-opacity: 0.69; + --spectrum-transparent-black-700: rgba( + var(--spectrum-transparent-black-700-rgb), + var(--spectrum-transparent-black-700-opacity) + ); + --spectrum-transparent-black-800-rgb: 0, 0, 0; + --spectrum-transparent-black-800-opacity: 0.84; + --spectrum-transparent-black-800: rgba( + var(--spectrum-transparent-black-800-rgb), + var(--spectrum-transparent-black-800-opacity) + ); + --spectrum-transparent-black-900-rgb: 0, 0, 0; + --spectrum-transparent-black-900-opacity: 0.93; + --spectrum-transparent-black-900: rgba( + var(--spectrum-transparent-black-900-rgb), + var(--spectrum-transparent-black-900-opacity) + ); --spectrum-gray-25-rgb: 17, 17, 17; --spectrum-gray-25: rgba(var(--spectrum-gray-25-rgb)); --spectrum-gray-50-rgb: 27, 27, 27; @@ -720,4 +928,104 @@ --spectrum-icon-color-green-primary-default: var(--spectrum-green-800); --spectrum-icon-color-red-primary-default: var(--spectrum-red-700); --spectrum-icon-color-yellow-primary-default: var(--spectrum-yellow-1000); + --spectrum-negative-subdued-background-color-default: var( + --spectrum-negative-subtle-background-color-default + ); + --spectrum-accent-subtle-background-color-default: var( + --spectrum-accent-color-300 + ); + --spectrum-informative-subtle-background-color-default: var( + --spectrum-informative-color-300 + ); + --spectrum-positive-subtle-background-color-default: var( + --spectrum-positive-color-300 + ); + --spectrum-notice-subtle-background-color-default: var( + --spectrum-notice-color-300 + ); + --spectrum-negative-subtle-background-color-default: var( + --spectrum-negative-color-300 + ); + --spectrum-drop-zone-background-color-rgb: var(--spectrum-blue-900-rgb); + --spectrum-dropindicator-color: var(--spectrum-blue-700); + + --spectrum-calendar-day-background-color-selected: rgba( + var(--spectrum-blue-800-rgb), + 0.15 + ); + --spectrum-calendar-day-background-color-hover: rgba( + var(--spectrum-white-rgb), + 0.07 + ); + --spectrum-calendar-day-today-background-color-selected-hover: rgba( + var(--spectrum-blue-800-rgb), + 0.25 + ); + --spectrum-calendar-day-background-color-selected-hover: rgba( + var(--spectrum-blue-800-rgb), + 0.25 + ); + --spectrum-calendar-day-background-color-down: var( + --spectrum-transparent-white-200 + ); + --spectrum-calendar-day-background-color-cap-selected: rgba( + var(--spectrum-blue-800-rgb), + 0.25 + ); + --spectrum-calendar-day-background-color-key-focus: rgba( + var(--spectrum-white-rgb), + 0.07 + ); + --spectrum-calendar-day-border-color-key-focus: var(--spectrum-blue-700); + + --spectrum-badge-label-icon-color-primary: var(--spectrum-black); + + --spectrum-coach-indicator-ring-default-color: var(--spectrum-blue-700); + + --spectrum-steplist-current-marker-color-key-focus: var( + --spectrum-blue-700 + ); + + --spectrum-treeview-item-background-color-quiet-selected: rgba( + var(--spectrum-gray-900-rgb), + 0.07 + ); + --spectrum-treeview-item-background-color-selected: rgba( + var(--spectrum-blue-800-rgb), + 0.15 + ); + + --spectrum-logic-button-and-background-color: var(--spectrum-blue-800); + --spectrum-logic-button-and-border-color: var(--spectrum-blue-800); + --spectrum-logic-button-and-background-color-hover: var( + --spectrum-blue-1000 + ); + --spectrum-logic-button-and-border-color-hover: var(--spectrum-blue-1000); + + --spectrum-logic-button-or-background-color: var(--spectrum-magenta-700); + --spectrum-logic-button-or-border-color: var(--spectrum-magenta-700); + --spectrum-logic-button-or-background-color-hover: var( + --spectrum-magenta-900 + ); + --spectrum-logic-button-or-border-color-hover: var(--spectrum-magenta-900); + + --spectrum-assetcard-border-color-selected: var(--spectrum-blue-800); + --spectrum-assetcard-border-color-selected-hover: var(--spectrum-blue-800); + --spectrum-assetcard-border-color-selected-down: var(--spectrum-blue-900); + --spectrum-assetcard-selectionindicator-background-color-ordered: var( + --spectrum-blue-800 + ); + --spectrum-assestcard-focus-indicator-color: var(--spectrum-blue-700); + + --spectrum-assetlist-item-background-color-selected-hover: rgba( + var(--spectrum-blue-800-rgb), + 0.25 + ); + --spectrum-assetlist-item-background-color-selected: rgba( + var(--spectrum-blue-800-rgb), + 0.15 + ); + --spectrum-assetlist-border-color-key-focus: var(--spectrum-blue-700); + + --spectrum-card-selected-background-color-rgb: var(--spectrum-blue-500-rgb); } diff --git a/tools/styles/tokens-v2/global-vars.css b/tools/styles/tokens-v2/global-vars.css index 30f896a805..e007b99f35 100644 --- a/tools/styles/tokens-v2/global-vars.css +++ b/tools/styles/tokens-v2/global-vars.css @@ -4,6 +4,7 @@ --spectrum-static-white-focus-indicator-color: var(--spectrum-white); --spectrum-static-black-focus-indicator-color: var(--spectrum-black); --spectrum-overlay-color: var(--spectrum-black); + --spectrum-drop-shadow-color: var(--spectrum-drop-shadow-color-100); --spectrum-opacity-disabled: 0.3; --spectrum-background-base-color: var(--spectrum-gray-25); --spectrum-background-layer-1-color: var(--spectrum-gray-50); @@ -96,6 +97,28 @@ --spectrum-negative-border-color-key-focus: var( --spectrum-negative-color-1000 ); + --spectrum-title-color: var(--spectrum-gray-900); + --spectrum-drop-shadow-emphasized-default-color: var( + --spectrum-drop-shadow-color-100 + ); + --spectrum-drop-shadow-emphasized-hover-color: var( + --spectrum-drop-shadow-color-200 + ); + --spectrum-drop-shadow-elevated-color: var( + --spectrum-drop-shadow-color-200 + ); + --spectrum-drop-shadow-dragged-color: var(--spectrum-drop-shadow-color-300); + --spectrum-static-black-text-color: var(--spectrum-black); + --spectrum-static-white-text-color: var(--spectrum-white); + --spectrum-track-color: var(--spectrum-gray-300); + --spectrum-static-black-track-color: var(--spectrum-transparent-black-300); + --spectrum-static-white-track-color: var(--spectrum-transparent-white-300); + --spectrum-static-black-track-indicator-color: var( + --spectrum-transparent-black-900 + ); + --spectrum-static-white-track-indicator-color: var( + --spectrum-transparent-white-900 + ); --spectrum-swatch-border-color: var(--spectrum-gray-900); --spectrum-swatch-border-opacity: 0.51; --spectrum-swatch-disabled-icon-border-color: var(--spectrum-black); @@ -105,15 +128,13 @@ --spectrum-thumbnail-opacity-disabled: var(--spectrum-opacity-disabled); --spectrum-opacity-checkerboard-square-light: var(--spectrum-white); --spectrum-avatar-opacity-disabled: var(--spectrum-opacity-disabled); - --spectrum-color-area-border-color: var(--spectrum-gray-1000); + --spectrum-color-area-border-color: var(--spectrum-gray-900); --spectrum-color-area-border-opacity: 0.1; - --spectrum-color-slider-border-color: var(--spectrum-gray-1000); + --spectrum-color-slider-border-color: var(--spectrum-gray-900); --spectrum-color-slider-border-opacity: 0.1; --spectrum-color-loupe-drop-shadow-color: var( --spectrum-transparent-black-300 ); - --spectrum-color-loupe-drop-shadow-y: 2px; - --spectrum-color-loupe-drop-shadow-blur: 8px; --spectrum-color-loupe-inner-border: var(--spectrum-transparent-black-200); --spectrum-color-loupe-outer-border: var(--spectrum-white); --spectrum-card-selection-background-color: var(--spectrum-gray-100); @@ -150,158 +171,8 @@ --spectrum-table-row-down-opacity: 0.1; --spectrum-table-selected-row-background-opacity-hover: 0.15; --spectrum-table-selected-row-background-opacity-non-emphasized-hover: 0.15; - --spectrum-white-rgb: 255, 255, 255; - --spectrum-white: rgba(var(--spectrum-white-rgb)); - --spectrum-transparent-white-25-rgb: 255, 255, 255; - --spectrum-transparent-white-25-opacity: 0; - --spectrum-transparent-white-25: rgba( - var(--spectrum-transparent-white-25-rgb), - var(--spectrum-transparent-white-25-opacity) - ); - --spectrum-transparent-white-50-rgb: 255, 255, 255; - --spectrum-transparent-white-50-opacity: 0.04; - --spectrum-transparent-white-50: rgba( - var(--spectrum-transparent-white-50-rgb), - var(--spectrum-transparent-white-50-opacity) - ); - --spectrum-transparent-white-75-rgb: 255, 255, 255; - --spectrum-transparent-white-75-opacity: 0.07; - --spectrum-transparent-white-75: rgba( - var(--spectrum-transparent-white-75-rgb), - var(--spectrum-transparent-white-75-opacity) - ); - --spectrum-transparent-white-100-rgb: 255, 255, 255; - --spectrum-transparent-white-100-opacity: 0.11; - --spectrum-transparent-white-100: rgba( - var(--spectrum-transparent-white-100-rgb), - var(--spectrum-transparent-white-100-opacity) - ); - --spectrum-transparent-white-200-rgb: 255, 255, 255; - --spectrum-transparent-white-200-opacity: 0.14; - --spectrum-transparent-white-200: rgba( - var(--spectrum-transparent-white-200-rgb), - var(--spectrum-transparent-white-200-opacity) - ); - --spectrum-transparent-white-300-rgb: 255, 255, 255; - --spectrum-transparent-white-300-opacity: 0.17; - --spectrum-transparent-white-300: rgba( - var(--spectrum-transparent-white-300-rgb), - var(--spectrum-transparent-white-300-opacity) - ); - --spectrum-transparent-white-400-rgb: 255, 255, 255; - --spectrum-transparent-white-400-opacity: 0.21; - --spectrum-transparent-white-400: rgba( - var(--spectrum-transparent-white-400-rgb), - var(--spectrum-transparent-white-400-opacity) - ); - --spectrum-transparent-white-500-rgb: 255, 255, 255; - --spectrum-transparent-white-500-opacity: 0.39; - --spectrum-transparent-white-500: rgba( - var(--spectrum-transparent-white-500-rgb), - var(--spectrum-transparent-white-500-opacity) - ); - --spectrum-transparent-white-600-rgb: 255, 255, 255; - --spectrum-transparent-white-600-opacity: 0.51; - --spectrum-transparent-white-600: rgba( - var(--spectrum-transparent-white-600-rgb), - var(--spectrum-transparent-white-600-opacity) - ); - --spectrum-transparent-white-700-rgb: 255, 255, 255; - --spectrum-transparent-white-700-opacity: 0.66; - --spectrum-transparent-white-700: rgba( - var(--spectrum-transparent-white-700-rgb), - var(--spectrum-transparent-white-700-opacity) - ); - --spectrum-transparent-white-800-rgb: 255, 255, 255; - --spectrum-transparent-white-800-opacity: 0.85; - --spectrum-transparent-white-800: rgba( - var(--spectrum-transparent-white-800-rgb), - var(--spectrum-transparent-white-800-opacity) - ); - --spectrum-transparent-white-900-rgb: 255, 255, 255; - --spectrum-transparent-white-900-opacity: 0.94; - --spectrum-transparent-white-900: rgba( - var(--spectrum-transparent-white-900-rgb), - var(--spectrum-transparent-white-900-opacity) - ); - --spectrum-transparent-white-1000-rgb: 255, 255, 255; - --spectrum-transparent-white-1000: rgba( - var(--spectrum-transparent-white-1000-rgb) - ); --spectrum-black-rgb: 0, 0, 0; --spectrum-black: rgba(var(--spectrum-black-rgb)); - --spectrum-transparent-black-25-rgb: 0, 0, 0; - --spectrum-transparent-black-25-opacity: 0; - --spectrum-transparent-black-25: rgba( - var(--spectrum-transparent-black-25-rgb), - var(--spectrum-transparent-black-25-opacity) - ); - --spectrum-transparent-black-50-rgb: 0, 0, 0; - --spectrum-transparent-black-50-opacity: 0.03; - --spectrum-transparent-black-50: rgba( - var(--spectrum-transparent-black-50-rgb), - var(--spectrum-transparent-black-50-opacity) - ); - --spectrum-transparent-black-75-rgb: 0, 0, 0; - --spectrum-transparent-black-75-opacity: 0.05; - --spectrum-transparent-black-75: rgba( - var(--spectrum-transparent-black-75-rgb), - var(--spectrum-transparent-black-75-opacity) - ); - --spectrum-transparent-black-100-rgb: 0, 0, 0; - --spectrum-transparent-black-100-opacity: 0.09; - --spectrum-transparent-black-100: rgba( - var(--spectrum-transparent-black-100-rgb), - var(--spectrum-transparent-black-100-opacity) - ); - --spectrum-transparent-black-200-rgb: 0, 0, 0; - --spectrum-transparent-black-200-opacity: 0.12; - --spectrum-transparent-black-200: rgba( - var(--spectrum-transparent-black-200-rgb), - var(--spectrum-transparent-black-200-opacity) - ); - --spectrum-transparent-black-300-rgb: 0, 0, 0; - --spectrum-transparent-black-300-opacity: 0.15; - --spectrum-transparent-black-300: rgba( - var(--spectrum-transparent-black-300-rgb), - var(--spectrum-transparent-black-300-opacity) - ); - --spectrum-transparent-black-400-rgb: 0, 0, 0; - --spectrum-transparent-black-400-opacity: 0.22; - --spectrum-transparent-black-400: rgba( - var(--spectrum-transparent-black-400-rgb), - var(--spectrum-transparent-black-400-opacity) - ); - --spectrum-transparent-black-500-rgb: 0, 0, 0; - --spectrum-transparent-black-500-opacity: 0.44; - --spectrum-transparent-black-500: rgba( - var(--spectrum-transparent-black-500-rgb), - var(--spectrum-transparent-black-500-opacity) - ); - --spectrum-transparent-black-600-rgb: 0, 0, 0; - --spectrum-transparent-black-600-opacity: 0.56; - --spectrum-transparent-black-600: rgba( - var(--spectrum-transparent-black-600-rgb), - var(--spectrum-transparent-black-600-opacity) - ); - --spectrum-transparent-black-700-rgb: 0, 0, 0; - --spectrum-transparent-black-700-opacity: 0.69; - --spectrum-transparent-black-700: rgba( - var(--spectrum-transparent-black-700-rgb), - var(--spectrum-transparent-black-700-opacity) - ); - --spectrum-transparent-black-800-rgb: 0, 0, 0; - --spectrum-transparent-black-800-opacity: 0.84; - --spectrum-transparent-black-800: rgba( - var(--spectrum-transparent-black-800-rgb), - var(--spectrum-transparent-black-800-opacity) - ); - --spectrum-transparent-black-900-rgb: 0, 0, 0; - --spectrum-transparent-black-900-opacity: 0.93; - --spectrum-transparent-black-900: rgba( - var(--spectrum-transparent-black-900-rgb), - var(--spectrum-transparent-black-900-opacity) - ); --spectrum-transparent-black-1000-rgb: 0, 0, 0; --spectrum-transparent-black-1000: rgba( var(--spectrum-transparent-black-1000-rgb) @@ -310,11 +181,9 @@ --spectrum-icon-color-primary-default: var( --spectrum-neutral-content-color-default ); + --spectrum-asterisk-icon-size-75: 8px; --spectrum-radio-button-selection-indicator: 4px; --spectrum-field-label-top-margin-small: 0px; - --spectrum-field-label-top-margin-medium: 0px; - --spectrum-field-label-top-margin-large: 0px; - --spectrum-field-label-top-margin-extra-large: 0px; --spectrum-field-label-to-component: 0px; --spectrum-help-text-to-component: 0px; --spectrum-status-light-dot-size-small: 8px; @@ -381,12 +250,14 @@ --spectrum-floating-action-button-drop-shadow-blur: 12px; --spectrum-floating-action-button-drop-shadow-y: 4px; --spectrum-illustrated-message-maximum-width: 380px; - --spectrum-search-field-minimum-width-multiplier: 4; + --spectrum-search-field-minimum-width-multiplier: 3; --spectrum-color-loupe-height: 64px; --spectrum-color-loupe-width: 48px; --spectrum-color-loupe-bottom-to-color-handle: 12px; --spectrum-color-loupe-outer-border-width: var(--spectrum-border-width-200); --spectrum-color-loupe-inner-border-width: 1px; + --spectrum-color-loupe-drop-shadow-y: 2px; + --spectrum-color-loupe-drop-shadow-blur: 8px; --spectrum-card-minimum-width: 100px; --spectrum-card-preview-minimum-height: 130px; --spectrum-card-selection-background-size: 40px; @@ -501,97 +372,10 @@ --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-extra-large: var( --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-extra-large ); - --spectrum-asterisk-icon-size-75: 8px; - --spectrum-divider-vertical-minimum-height: 200px; - --spectrum-divider-horizontal-minimum-width: 200px; - --spectrum-tooltip-tip-corner-radius: 1px; - --spectrum-tag-minimum-width-multiplier: 1; - --spectrum-tag-maximum-width-multiplier: 7; - --spectrum-title-cjk-emphasized-font-style: var( - --spectrum-default-font-style - ); - --spectrum-title-cjk-emphasized-font-weight: var( - --spectrum-extra-bold-font-weight - ); - --spectrum-title-cjk-font-family: var(--spectrum-cjk-font-family); - --spectrum-title-cjk-font-style: var(--spectrum-default-font-style); - --spectrum-title-cjk-font-weight: var(--spectrum-bold-font-weight); - --spectrum-title-cjk-line-height: var(--spectrum-cjk-line-height-100); - --spectrum-title-cjk-size-l: var(--spectrum-font-size-200); - --spectrum-title-cjk-size-m: var(--spectrum-font-size-100); - --spectrum-title-cjk-size-s: var(--spectrum-font-size-75); - --spectrum-title-cjk-size-xl: var(--spectrum-font-size-300); - --spectrum-title-cjk-size-xs: var(--spectrum-font-size-50); - --spectrum-title-cjk-size-xxl: var(--spectrum-font-size-400); - --spectrum-title-cjk-size-xxxl: var(--spectrum-font-size-500); - --spectrum-title-cjk-strong-emphasized-font-style: var( - --spectrum-default-font-style - ); - --spectrum-title-cjk-strong-emphasized-font-weight: var( - --spectrum-extra-bold-font-weight - ); - --spectrum-title-cjk-strong-font-style: var(--spectrum-default-font-style); - --spectrum-title-cjk-strong-font-weight: var( - --spectrum-extra-bold-font-weight - ); - --spectrum-title-line-height: var(--spectrum-line-height-100); - --spectrum-title-margin-bottom-multiplier: 0.25; - --spectrum-title-margin-top-multiplier: 0.88888889; - --spectrum-title-sans-serif-emphasized-font-style: var( - --spectrum-italic-font-style - ); - --spectrum-title-sans-serif-emphasized-font-weight: var( - --spectrum-bold-font-weight - ); - --spectrum-title-sans-serif-font-family: var( - --spectrum-sans-serif-font-family - ); - --spectrum-title-sans-serif-font-style: var(--spectrum-default-font-style); - --spectrum-title-sans-serif-font-weight: var(--spectrum-bold-font-weight); - --spectrum-title-sans-serif-strong-emphasized-font-style: var( - --spectrum-italic-font-style - ); - --spectrum-title-sans-serif-strong-emphasized-font-weight: var( - --spectrum-extra-bold-font-weight - ); - --spectrum-title-sans-serif-strong-font-style: var( - --spectrum-default-font-style - ); - --spectrum-title-sans-serif-strong-font-weight: var( - --spectrum-extra-bold-font-weight - ); - --spectrum-title-serif-emphasized-font-style: var( - --spectrum-italic-font-style - ); - --spectrum-title-serif-emphasized-font-weight: var( - --spectrum-bold-font-weight - ); - --spectrum-title-serif-font-family: var(--spectrum-serif-font-family); - --spectrum-title-serif-font-style: var(--spectrum-default-font-style); - --spectrum-title-serif-font-weight: var(--spectrum-bold-font-weight); - --spectrum-title-serif-strong-emphasized-font-style: var( - --spectrum-italic-font-style - ); - --spectrum-title-serif-strong-emphasized-font-weight: var( - --spectrum-black-font-weight - ); - --spectrum-title-serif-strong-font-style: var( - --spectrum-default-font-style - ); - --spectrum-title-serif-strong-font-weight: var( - --spectrum-black-font-weight - ); - --spectrum-title-size-l: var(--spectrum-font-size-300); - --spectrum-title-size-m: var(--spectrum-font-size-200); - --spectrum-title-size-s: var(--spectrum-font-size-100); - --spectrum-title-size-xl: var(--spectrum-font-size-400); - --spectrum-title-size-xs: var(--spectrum-font-size-75); - --spectrum-title-size-xxl: var(--spectrum-font-size-500); - --spectrum-title-size-xxxl: var(--spectrum-font-size-600); --spectrum-corner-radius-0: 0px; - --spectrum-corner-radius-75: 3px; - --spectrum-corner-radius-100: 4px; - --spectrum-corner-radius-200: 5px; + --spectrum-corner-radius-75: 4px; + --spectrum-corner-radius-100: 8px; + --spectrum-corner-radius-200: 10px; --spectrum-corner-radius-300: 6px; --spectrum-corner-radius-400: 7px; --spectrum-corner-radius-500: 8px; @@ -599,39 +383,6 @@ --spectrum-corner-radius-700: 10px; --spectrum-corner-radius-800: 16px; --spectrum-corner-radius-1000: 0.5; - --spectrum-drop-shadow-x: 0px; - --spectrum-android-elevation: 2dp; - --spectrum-spacing-50: 2px; - --spectrum-spacing-75: 4px; - --spectrum-spacing-100: 8px; - --spectrum-spacing-200: 12px; - --spectrum-spacing-300: 16px; - --spectrum-spacing-400: 24px; - --spectrum-spacing-500: 32px; - --spectrum-spacing-600: 40px; - --spectrum-spacing-700: 48px; - --spectrum-spacing-800: 64px; - --spectrum-spacing-900: 80px; - --spectrum-spacing-1000: 96px; - --spectrum-focus-indicator-thickness: 2px; - --spectrum-focus-indicator-gap: 2px; - --spectrum-border-width-100: 1px; - --spectrum-border-width-200: 2px; - --spectrum-border-width-400: 4px; - --spectrum-field-edge-to-text-quiet: 0px; - --spectrum-field-edge-to-visual-quiet: 0px; - --spectrum-field-edge-to-border-quiet: 0px; - --spectrum-field-edge-to-alert-icon-quiet: 0px; - --spectrum-field-edge-to-validation-icon-quiet: 0px; - --spectrum-side-label-character-count-top-margin-small: 0px; - --spectrum-side-label-character-count-top-margin-medium: 0px; - --spectrum-side-label-character-count-top-margin-large: 0px; - --spectrum-side-label-character-count-top-margin-extra-large: 0px; - --spectrum-text-underline-thickness: 1px; - --spectrum-text-underline-gap: 1px; - --spectrum-component-size-width-ratio-down: 0.3333; - --spectrum-component-size-minimum-perspective-down: 24px; - --spectrum-component-size-difference-down: -2px; --spectrum-corner-radius-none: var(--spectrum-corner-radius-0); --spectrum-corner-radius-small-default: var(--spectrum-corner-radius-100); --spectrum-corner-radius-medium-default: var(--spectrum-corner-radius-500); @@ -665,6 +416,32 @@ --spectrum-corner-radius-medium-size-extra-large: var( --spectrum-corner-radius-700 ); + --spectrum-drop-shadow-x: 0px; + --spectrum-android-elevation: 2dp; + --spectrum-spacing-50: 2px; + --spectrum-spacing-75: 4px; + --spectrum-spacing-100: 8px; + --spectrum-spacing-200: 12px; + --spectrum-spacing-300: 16px; + --spectrum-spacing-400: 24px; + --spectrum-spacing-500: 32px; + --spectrum-spacing-600: 40px; + --spectrum-spacing-700: 48px; + --spectrum-spacing-800: 64px; + --spectrum-spacing-900: 80px; + --spectrum-spacing-1000: 96px; + --spectrum-focus-indicator-thickness: 2px; + --spectrum-focus-indicator-gap: 2px; + --spectrum-border-width-100: 1px; + --spectrum-border-width-200: 2px; + --spectrum-border-width-400: 4px; + --spectrum-field-edge-to-text-quiet: 0px; + --spectrum-field-edge-to-visual-quiet: 0px; + --spectrum-field-edge-to-border-quiet: 0px; + --spectrum-field-edge-to-alert-icon-quiet: 0px; + --spectrum-field-edge-to-validation-icon-quiet: 0px; + --spectrum-text-underline-thickness: 1px; + --spectrum-text-underline-gap: 1px; --spectrum-accent-color-100: var(--spectrum-blue-100); --spectrum-accent-color-200: var(--spectrum-blue-200); --spectrum-accent-color-300: var(--spectrum-blue-300); @@ -745,9 +522,6 @@ --spectrum-positive-color-1400: var(--spectrum-green-1400); --spectrum-positive-color-1500: var(--spectrum-green-1500); --spectrum-positive-color-1600: var(--spectrum-green-1600); - --spectrum-negative-subdued-background-color-default: var( - --spectrum-negative-color-200 - ); --spectrum-negative-subdued-background-color-hover: var( --spectrum-negative-color-300 ); @@ -1245,4 +1019,62 @@ --spectrum-code-line-height: var(--spectrum-line-height-200); --spectrum-code-cjk-line-height: var(--spectrum-cjk-line-height-200); --spectrum-code-color: var(--spectrum-gray-800); + --system: spectrum; + + --spectrum-animation-linear: cubic-bezier(0, 0, 1, 1); + --spectrum-animation-duration-0: 0ms; + --spectrum-animation-duration-100: 130ms; + --spectrum-animation-duration-200: 160ms; + --spectrum-animation-duration-300: 190ms; + --spectrum-animation-duration-400: 220ms; + --spectrum-animation-duration-500: 250ms; + --spectrum-animation-duration-600: 300ms; + --spectrum-animation-duration-700: 350ms; + --spectrum-animation-duration-800: 400ms; + --spectrum-animation-duration-900: 450ms; + --spectrum-animation-duration-1000: 500ms; + --spectrum-animation-duration-2000: 1000ms; + --spectrum-animation-duration-4000: 2000ms; + --spectrum-animation-duration-6000: 3000ms; + --spectrum-animation-ease-in-out: cubic-bezier(0.45, 0, 0.4, 1); + --spectrum-animation-ease-in: cubic-bezier(0.5, 0, 1, 1); + --spectrum-animation-ease-out: cubic-bezier(0, 0, 0.4, 1); + --spectrum-animation-ease-linear: cubic-bezier(0, 0, 1, 1); + + --spectrum-sans-font-family-stack: adobe-clean, + var(--spectrum-sans-serif-font-family), 'Source Sans Pro', -apple-system, + blinkmacsystemfont, 'Segoe UI', roboto, ubuntu, 'Trebuchet MS', + 'Lucida Grande', sans-serif; + --spectrum-sans-serif-font: var(--spectrum-sans-font-family-stack); + + --spectrum-serif-font-family-stack: adobe-clean-serif, + var(--spectrum-serif-font-family), 'Source Serif Pro', georgia, serif; + --spectrum-serif-font: var(--spectrum-serif-font-family-stack); + + --spectrum-code-font-family-stack: 'Source Code Pro', monaco, monospace; + + --spectrum-font-family-ar: myriad-arabic, adobe-clean, 'Source Sans Pro', + -apple-system, blinkmacsystemfont, 'Segoe UI', roboto, ubuntu, + 'Trebuchet MS', 'Lucida Grande', sans-serif; + --spectrum-font-family-he: myriad-hebrew, adobe-clean, 'Source Sans Pro', + -apple-system, blinkmacsystemfont, 'Segoe UI', roboto, ubuntu, + 'Trebuchet MS', 'Lucida Grande', sans-serif; + + --spectrum-font-family: var(--spectrum-sans-font-family-stack); + --spectrum-font-style: var(--spectrum-default-font-style); + --spectrum-font-size: var(--spectrum-font-size-100); + + --spectrum-cjk-font-family-stack: adobe-clean-han-japanese, + var(--spectrum-cjk-font-family), sans-serif; + --spectrum-cjk-font: var(--spectrum-code-font-family-stack); + --spectrum-docs-static-white-background-color-rgb: 15, 121, 125; + --spectrum-docs-static-white-background-color: rgba( + var(--spectrum-docs-static-white-background-color-rgb) + ); + --spectrum-docs-static-black-background-color-rgb: 181, 209, 211; + --spectrum-docs-static-black-background-color: rgba( + var(--spectrum-docs-static-black-background-color-rgb) + ); + + --spectrum-coach-indicator-ring-static-white-color: var(--spectrum-white); } diff --git a/tools/styles/tokens-v2/index.css b/tools/styles/tokens-v2/index.css new file mode 100644 index 0000000000..0a5a71eec6 --- /dev/null +++ b/tools/styles/tokens-v2/index.css @@ -0,0 +1,4440 @@ +:host, +:root { + --spectrum-overlay-opacity: 0.6; + --spectrum-background-layer-2-color: var(--spectrum-gray-75); + --spectrum-neutral-subdued-background-color-default: var( + --spectrum-gray-500 + ); + --spectrum-neutral-subdued-background-color-hover: var(--spectrum-gray-400); + --spectrum-neutral-subdued-background-color-down: var(--spectrum-gray-400); + --spectrum-neutral-subdued-background-color-key-focus: var( + --spectrum-gray-400 + ); + --spectrum-accent-background-color-default: var( + --spectrum-accent-color-800 + ); + --spectrum-accent-background-color-hover: var(--spectrum-accent-color-700); + --spectrum-accent-background-color-down: var(--spectrum-accent-color-700); + --spectrum-accent-background-color-key-focus: var( + --spectrum-accent-color-700 + ); + --spectrum-informative-background-color-default: var( + --spectrum-informative-color-800 + ); + --spectrum-informative-background-color-hover: var( + --spectrum-informative-color-700 + ); + --spectrum-informative-background-color-down: var( + --spectrum-informative-color-700 + ); + --spectrum-informative-background-color-key-focus: var( + --spectrum-informative-color-700 + ); + --spectrum-negative-background-color-default: var( + --spectrum-negative-color-800 + ); + --spectrum-negative-background-color-hover: var( + --spectrum-negative-color-700 + ); + --spectrum-negative-background-color-down: var( + --spectrum-negative-color-700 + ); + --spectrum-negative-background-color-key-focus: var( + --spectrum-negative-color-700 + ); + --spectrum-positive-background-color-default: var( + --spectrum-positive-color-800 + ); + --spectrum-positive-background-color-hover: var( + --spectrum-positive-color-700 + ); + --spectrum-positive-background-color-down: var( + --spectrum-positive-color-700 + ); + --spectrum-positive-background-color-key-focus: var( + --spectrum-positive-color-700 + ); + --spectrum-notice-background-color-default: var( + --spectrum-notice-color-900 + ); + --spectrum-gray-background-color-default: var(--spectrum-gray-500); + --spectrum-red-background-color-default: var(--spectrum-red-800); + --spectrum-orange-background-color-default: var(--spectrum-orange-900); + --spectrum-yellow-background-color-default: var(--spectrum-yellow-1100); + --spectrum-chartreuse-background-color-default: var( + --spectrum-chartreuse-1000 + ); + --spectrum-celery-background-color-default: var(--spectrum-celery-900); + --spectrum-green-background-color-default: var(--spectrum-green-800); + --spectrum-seafoam-background-color-default: var(--spectrum-seafoam-800); + --spectrum-cyan-background-color-default: var(--spectrum-cyan-800); + --spectrum-blue-background-color-default: var(--spectrum-blue-800); + --spectrum-indigo-background-color-default: var(--spectrum-indigo-800); + --spectrum-purple-background-color-default: var(--spectrum-purple-800); + --spectrum-fuchsia-background-color-default: var(--spectrum-fuchsia-800); + --spectrum-magenta-background-color-default: var(--spectrum-magenta-800); + --spectrum-neutral-visual-color: var(--spectrum-gray-600); + --spectrum-accent-visual-color: var(--spectrum-accent-color-900); + --spectrum-informative-visual-color: var(--spectrum-informative-color-900); + --spectrum-negative-visual-color: var(--spectrum-negative-color-900); + --spectrum-notice-visual-color: var(--spectrum-notice-color-900); + --spectrum-positive-visual-color: var(--spectrum-positive-color-900); + --spectrum-gray-visual-color: var(--spectrum-gray-600); + --spectrum-red-visual-color: var(--spectrum-red-700); + --spectrum-orange-visual-color: var(--spectrum-orange-900); + --spectrum-yellow-visual-color: var(--spectrum-yellow-1100); + --spectrum-chartreuse-visual-color: var(--spectrum-chartreuse-900); + --spectrum-celery-visual-color: var(--spectrum-celery-800); + --spectrum-green-visual-color: var(--spectrum-green-800); + --spectrum-seafoam-visual-color: var(--spectrum-seafoam-800); + --spectrum-cyan-visual-color: var(--spectrum-cyan-900); + --spectrum-blue-visual-color: var(--spectrum-blue-900); + --spectrum-indigo-visual-color: var(--spectrum-indigo-900); + --spectrum-purple-visual-color: var(--spectrum-purple-900); + --spectrum-fuchsia-visual-color: var(--spectrum-fuchsia-900); + --spectrum-magenta-visual-color: var(--spectrum-magenta-900); + --spectrum-background-elevated-color: var(--spectrum-gray-75); + --spectrum-background-pasteboard-color: var(--spectrum-gray-25); + --spectrum-brown-visual-color: var(--spectrum-brown-900); + --spectrum-cinnamon-visual-color: var(--spectrum-cinnamon-900); + --spectrum-pink-visual-color: var(--spectrum-pink-900); + --spectrum-silver-visual-color: var(--spectrum-silver-900); + --spectrum-turquoise-visual-color: var(--spectrum-turquoise-900); + --spectrum-brown-background-color-default: var(--spectrum-brown-800); + --spectrum-cinnamon-background-color-default: var(--spectrum-cinnamon-800); + --spectrum-pink-background-color-default: var(--spectrum-pink-800); + --spectrum-silver-background-color-default: var(--spectrum-silver-800); + --spectrum-turquoise-background-color-default: var( + --spectrum-turquoise-800 + ); + --spectrum-drop-shadow-color-100-rgb: 0, 0, 0; + --spectrum-drop-shadow-color-100-opacity: 0.36; + --spectrum-drop-shadow-color-100: rgba( + var(--spectrum-drop-shadow-color-100-rgb), + var(--spectrum-drop-shadow-color-100-opacity) + ); + --spectrum-drop-shadow-color-200-rgb: 0, 0, 0; + --spectrum-drop-shadow-color-200-opacity: 0.48; + --spectrum-drop-shadow-color-200: rgba( + var(--spectrum-drop-shadow-color-200-rgb), + var(--spectrum-drop-shadow-color-200-opacity) + ); + --spectrum-drop-shadow-color-300-rgb: 0, 0, 0; + --spectrum-drop-shadow-color-300-opacity: 0.6; + --spectrum-drop-shadow-color-300: rgba( + var(--spectrum-drop-shadow-color-300-rgb), + var(--spectrum-drop-shadow-color-300-opacity) + ); + --spectrum-neutral-subtle-background-color-default: var( + --spectrum-gray-300 + ); + --spectrum-gray-subtle-background-color-default: var(--spectrum-gray-300); + --spectrum-blue-subtle-background-color-default: var(--spectrum-blue-300); + --spectrum-green-subtle-background-color-default: var(--spectrum-green-300); + --spectrum-orange-subtle-background-color-default: var( + --spectrum-orange-300 + ); + --spectrum-red-subtle-background-color-default: var(--spectrum-red-300); + --spectrum-brown-subtle-background-color-default: var(--spectrum-brown-300); + --spectrum-cinnamon-subtle-background-color-default: var( + --spectrum-cinnamon-300 + ); + --spectrum-celery-subtle-background-color-default: var( + --spectrum-celery-300 + ); + --spectrum-chartreuse-subtle-background-color-default: var( + --spectrum-chartreuse-300 + ); + --spectrum-cyan-subtle-background-color-default: var(--spectrum-cyan-300); + --spectrum-fuchsia-subtle-background-color-default: var( + --spectrum-fuchsia-300 + ); + --spectrum-indigo-subtle-background-color-default: var( + --spectrum-indigo-300 + ); + --spectrum-magenta-subtle-background-color-default: var( + --spectrum-magenta-300 + ); + --spectrum-pink-subtle-background-color-default: var(--spectrum-pink-300); + --spectrum-purple-subtle-background-color-default: var( + --spectrum-purple-300 + ); + --spectrum-seafoam-subtle-background-color-default: var( + --spectrum-seafoam-300 + ); + --spectrum-silver-subtle-background-color-default: var( + --spectrum-silver-300 + ); + --spectrum-turquoise-subtle-background-color-default: var( + --spectrum-turquoise-300 + ); + --spectrum-yellow-subtle-background-color-default: var( + --spectrum-yellow-300 + ); + --spectrum-opacity-checkerboard-square-dark: var(--spectrum-gray-800); + --spectrum-white-rgb: 255, 255, 255; + --spectrum-white: rgba(var(--spectrum-white-rgb)); + --spectrum-transparent-white-25-rgb: 255, 255, 255; + --spectrum-transparent-white-25-opacity: 0; + --spectrum-transparent-white-25: rgba( + var(--spectrum-transparent-white-25-rgb), + var(--spectrum-transparent-white-25-opacity) + ); + --spectrum-transparent-white-50-rgb: 255, 255, 255; + --spectrum-transparent-white-50-opacity: 0.04; + --spectrum-transparent-white-50: rgba( + var(--spectrum-transparent-white-50-rgb), + var(--spectrum-transparent-white-50-opacity) + ); + --spectrum-transparent-white-75-rgb: 255, 255, 255; + --spectrum-transparent-white-75-opacity: 0.07; + --spectrum-transparent-white-75: rgba( + var(--spectrum-transparent-white-75-rgb), + var(--spectrum-transparent-white-75-opacity) + ); + --spectrum-transparent-white-100-rgb: 255, 255, 255; + --spectrum-transparent-white-100-opacity: 0.11; + --spectrum-transparent-white-100: rgba( + var(--spectrum-transparent-white-100-rgb), + var(--spectrum-transparent-white-100-opacity) + ); + --spectrum-transparent-white-200-rgb: 255, 255, 255; + --spectrum-transparent-white-200-opacity: 0.14; + --spectrum-transparent-white-200: rgba( + var(--spectrum-transparent-white-200-rgb), + var(--spectrum-transparent-white-200-opacity) + ); + --spectrum-transparent-white-300-rgb: 255, 255, 255; + --spectrum-transparent-white-300-opacity: 0.17; + --spectrum-transparent-white-300: rgba( + var(--spectrum-transparent-white-300-rgb), + var(--spectrum-transparent-white-300-opacity) + ); + --spectrum-transparent-white-400-rgb: 255, 255, 255; + --spectrum-transparent-white-400-opacity: 0.21; + --spectrum-transparent-white-400: rgba( + var(--spectrum-transparent-white-400-rgb), + var(--spectrum-transparent-white-400-opacity) + ); + --spectrum-transparent-white-500-rgb: 255, 255, 255; + --spectrum-transparent-white-500-opacity: 0.39; + --spectrum-transparent-white-500: rgba( + var(--spectrum-transparent-white-500-rgb), + var(--spectrum-transparent-white-500-opacity) + ); + --spectrum-transparent-white-600-rgb: 255, 255, 255; + --spectrum-transparent-white-600-opacity: 0.51; + --spectrum-transparent-white-600: rgba( + var(--spectrum-transparent-white-600-rgb), + var(--spectrum-transparent-white-600-opacity) + ); + --spectrum-transparent-white-700-rgb: 255, 255, 255; + --spectrum-transparent-white-700-opacity: 0.66; + --spectrum-transparent-white-700: rgba( + var(--spectrum-transparent-white-700-rgb), + var(--spectrum-transparent-white-700-opacity) + ); + --spectrum-transparent-white-800-rgb: 255, 255, 255; + --spectrum-transparent-white-800-opacity: 0.85; + --spectrum-transparent-white-800: rgba( + var(--spectrum-transparent-white-800-rgb), + var(--spectrum-transparent-white-800-opacity) + ); + --spectrum-transparent-white-900-rgb: 255, 255, 255; + --spectrum-transparent-white-900-opacity: 0.94; + --spectrum-transparent-white-900: rgba( + var(--spectrum-transparent-white-900-rgb), + var(--spectrum-transparent-white-900-opacity) + ); + --spectrum-transparent-white-1000-rgb: 255, 255, 255; + --spectrum-transparent-white-1000: rgba( + var(--spectrum-transparent-white-1000-rgb) + ); + --spectrum-transparent-black-25-rgb: 0, 0, 0; + --spectrum-transparent-black-25-opacity: 0; + --spectrum-transparent-black-25: rgba( + var(--spectrum-transparent-black-25-rgb), + var(--spectrum-transparent-black-25-opacity) + ); + --spectrum-transparent-black-50-rgb: 0, 0, 0; + --spectrum-transparent-black-50-opacity: 0.03; + --spectrum-transparent-black-50: rgba( + var(--spectrum-transparent-black-50-rgb), + var(--spectrum-transparent-black-50-opacity) + ); + --spectrum-transparent-black-75-rgb: 0, 0, 0; + --spectrum-transparent-black-75-opacity: 0.05; + --spectrum-transparent-black-75: rgba( + var(--spectrum-transparent-black-75-rgb), + var(--spectrum-transparent-black-75-opacity) + ); + --spectrum-transparent-black-100-rgb: 0, 0, 0; + --spectrum-transparent-black-100-opacity: 0.09; + --spectrum-transparent-black-100: rgba( + var(--spectrum-transparent-black-100-rgb), + var(--spectrum-transparent-black-100-opacity) + ); + --spectrum-transparent-black-200-rgb: 0, 0, 0; + --spectrum-transparent-black-200-opacity: 0.12; + --spectrum-transparent-black-200: rgba( + var(--spectrum-transparent-black-200-rgb), + var(--spectrum-transparent-black-200-opacity) + ); + --spectrum-transparent-black-300-rgb: 0, 0, 0; + --spectrum-transparent-black-300-opacity: 0.15; + --spectrum-transparent-black-300: rgba( + var(--spectrum-transparent-black-300-rgb), + var(--spectrum-transparent-black-300-opacity) + ); + --spectrum-transparent-black-400-rgb: 0, 0, 0; + --spectrum-transparent-black-400-opacity: 0.22; + --spectrum-transparent-black-400: rgba( + var(--spectrum-transparent-black-400-rgb), + var(--spectrum-transparent-black-400-opacity) + ); + --spectrum-transparent-black-500-rgb: 0, 0, 0; + --spectrum-transparent-black-500-opacity: 0.44; + --spectrum-transparent-black-500: rgba( + var(--spectrum-transparent-black-500-rgb), + var(--spectrum-transparent-black-500-opacity) + ); + --spectrum-transparent-black-600-rgb: 0, 0, 0; + --spectrum-transparent-black-600-opacity: 0.56; + --spectrum-transparent-black-600: rgba( + var(--spectrum-transparent-black-600-rgb), + var(--spectrum-transparent-black-600-opacity) + ); + --spectrum-transparent-black-700-rgb: 0, 0, 0; + --spectrum-transparent-black-700-opacity: 0.69; + --spectrum-transparent-black-700: rgba( + var(--spectrum-transparent-black-700-rgb), + var(--spectrum-transparent-black-700-opacity) + ); + --spectrum-transparent-black-800-rgb: 0, 0, 0; + --spectrum-transparent-black-800-opacity: 0.84; + --spectrum-transparent-black-800: rgba( + var(--spectrum-transparent-black-800-rgb), + var(--spectrum-transparent-black-800-opacity) + ); + --spectrum-transparent-black-900-rgb: 0, 0, 0; + --spectrum-transparent-black-900-opacity: 0.93; + --spectrum-transparent-black-900: rgba( + var(--spectrum-transparent-black-900-rgb), + var(--spectrum-transparent-black-900-opacity) + ); + --spectrum-gray-25-rgb: 17, 17, 17; + --spectrum-gray-25: rgba(var(--spectrum-gray-25-rgb)); + --spectrum-gray-50-rgb: 27, 27, 27; + --spectrum-gray-50: rgba(var(--spectrum-gray-50-rgb)); + --spectrum-gray-75-rgb: 34, 34, 34; + --spectrum-gray-75: rgba(var(--spectrum-gray-75-rgb)); + --spectrum-gray-100-rgb: 44, 44, 44; + --spectrum-gray-100: rgba(var(--spectrum-gray-100-rgb)); + --spectrum-gray-200-rgb: 50, 50, 50; + --spectrum-gray-200: rgba(var(--spectrum-gray-200-rgb)); + --spectrum-gray-300-rgb: 57, 57, 57; + --spectrum-gray-300: rgba(var(--spectrum-gray-300-rgb)); + --spectrum-gray-400-rgb: 68, 68, 68; + --spectrum-gray-400: rgba(var(--spectrum-gray-400-rgb)); + --spectrum-gray-500-rgb: 109, 109, 109; + --spectrum-gray-500: rgba(var(--spectrum-gray-500-rgb)); + --spectrum-gray-600-rgb: 138, 138, 138; + --spectrum-gray-600: rgba(var(--spectrum-gray-600-rgb)); + --spectrum-gray-700-rgb: 175, 175, 175; + --spectrum-gray-700: rgba(var(--spectrum-gray-700-rgb)); + --spectrum-gray-800-rgb: 219, 219, 219; + --spectrum-gray-800: rgba(var(--spectrum-gray-800-rgb)); + --spectrum-gray-900-rgb: 242, 242, 242; + --spectrum-gray-900: rgba(var(--spectrum-gray-900-rgb)); + --spectrum-gray-1000-rgb: 255, 255, 255; + --spectrum-gray-1000: rgba(var(--spectrum-gray-1000-rgb)); + --spectrum-blue-100-rgb: 14, 23, 63; + --spectrum-blue-100: rgba(var(--spectrum-blue-100-rgb)); + --spectrum-blue-200-rgb: 15, 28, 82; + --spectrum-blue-200: rgba(var(--spectrum-blue-200-rgb)); + --spectrum-blue-300-rgb: 12, 33, 117; + --spectrum-blue-300: rgba(var(--spectrum-blue-300-rgb)); + --spectrum-blue-400-rgb: 18, 45, 154; + --spectrum-blue-400: rgba(var(--spectrum-blue-400-rgb)); + --spectrum-blue-500-rgb: 26, 58, 195; + --spectrum-blue-500: rgba(var(--spectrum-blue-500-rgb)); + --spectrum-blue-600-rgb: 37, 73, 229; + --spectrum-blue-600: rgba(var(--spectrum-blue-600-rgb)); + --spectrum-blue-700-rgb: 52, 91, 248; + --spectrum-blue-700: rgba(var(--spectrum-blue-700-rgb)); + --spectrum-blue-800-rgb: 69, 110, 254; + --spectrum-blue-800: rgba(var(--spectrum-blue-800-rgb)); + --spectrum-blue-900-rgb: 86, 129, 255; + --spectrum-blue-900: rgba(var(--spectrum-blue-900-rgb)); + --spectrum-blue-1000-rgb: 105, 149, 254; + --spectrum-blue-1000: rgba(var(--spectrum-blue-1000-rgb)); + --spectrum-blue-1100-rgb: 124, 169, 252; + --spectrum-blue-1100: rgba(var(--spectrum-blue-1100-rgb)); + --spectrum-blue-1200-rgb: 152, 192, 252; + --spectrum-blue-1200: rgba(var(--spectrum-blue-1200-rgb)); + --spectrum-blue-1300-rgb: 181, 213, 253; + --spectrum-blue-1300: rgba(var(--spectrum-blue-1300-rgb)); + --spectrum-blue-1400-rgb: 213, 231, 254; + --spectrum-blue-1400: rgba(var(--spectrum-blue-1400-rgb)); + --spectrum-blue-1500-rgb: 238, 245, 255; + --spectrum-blue-1500: rgba(var(--spectrum-blue-1500-rgb)); + --spectrum-blue-1600-rgb: 255, 255, 255; + --spectrum-blue-1600: rgba(var(--spectrum-blue-1600-rgb)); + --spectrum-red-100-rgb: 54, 10, 3; + --spectrum-red-100: rgba(var(--spectrum-red-100-rgb)); + --spectrum-red-200-rgb: 68, 13, 5; + --spectrum-red-200: rgba(var(--spectrum-red-200-rgb)); + --spectrum-red-300-rgb: 87, 17, 7; + --spectrum-red-300: rgba(var(--spectrum-red-300-rgb)); + --spectrum-red-400-rgb: 115, 24, 11; + --spectrum-red-400: rgba(var(--spectrum-red-400-rgb)); + --spectrum-red-500-rgb: 147, 31, 17; + --spectrum-red-500: rgba(var(--spectrum-red-500-rgb)); + --spectrum-red-600-rgb: 177, 38, 23; + --spectrum-red-600: rgba(var(--spectrum-red-600-rgb)); + --spectrum-red-700-rgb: 205, 46, 29; + --spectrum-red-700: rgba(var(--spectrum-red-700-rgb)); + --spectrum-red-800-rgb: 230, 54, 35; + --spectrum-red-800: rgba(var(--spectrum-red-800-rgb)); + --spectrum-red-900-rgb: 252, 67, 46; + --spectrum-red-900: rgba(var(--spectrum-red-900-rgb)); + --spectrum-red-1000-rgb: 255, 103, 86; + --spectrum-red-1000: rgba(var(--spectrum-red-1000-rgb)); + --spectrum-red-1100-rgb: 255, 134, 120; + --spectrum-red-1100: rgba(var(--spectrum-red-1100-rgb)); + --spectrum-red-1200-rgb: 255, 167, 157; + --spectrum-red-1200: rgba(var(--spectrum-red-1200-rgb)); + --spectrum-red-1300-rgb: 255, 196, 189; + --spectrum-red-1300: rgba(var(--spectrum-red-1300-rgb)); + --spectrum-red-1400-rgb: 255, 222, 219; + --spectrum-red-1400: rgba(var(--spectrum-red-1400-rgb)); + --spectrum-red-1500-rgb: 255, 242, 240; + --spectrum-red-1500: rgba(var(--spectrum-red-1500-rgb)); + --spectrum-red-1600-rgb: 255, 255, 255; + --spectrum-red-1600: rgba(var(--spectrum-red-1600-rgb)); + --spectrum-orange-100-rgb: 49, 16, 0; + --spectrum-orange-100: rgba(var(--spectrum-orange-100-rgb)); + --spectrum-orange-200-rgb: 61, 21, 0; + --spectrum-orange-200: rgba(var(--spectrum-orange-200-rgb)); + --spectrum-orange-300-rgb: 80, 27, 0; + --spectrum-orange-300: rgba(var(--spectrum-orange-300-rgb)); + --spectrum-orange-400-rgb: 106, 36, 0; + --spectrum-orange-400: rgba(var(--spectrum-orange-400-rgb)); + --spectrum-orange-500-rgb: 135, 47, 0; + --spectrum-orange-500: rgba(var(--spectrum-orange-500-rgb)); + --spectrum-orange-600-rgb: 162, 59, 0; + --spectrum-orange-600: rgba(var(--spectrum-orange-600-rgb)); + --spectrum-orange-700-rgb: 185, 73, 0; + --spectrum-orange-700: rgba(var(--spectrum-orange-700-rgb)); + --spectrum-orange-800-rgb: 205, 86, 0; + --spectrum-orange-800: rgba(var(--spectrum-orange-800-rgb)); + --spectrum-orange-900-rgb: 224, 100, 0; + --spectrum-orange-900: rgba(var(--spectrum-orange-900-rgb)); + --spectrum-orange-1000-rgb: 243, 117, 0; + --spectrum-orange-1000: rgba(var(--spectrum-orange-1000-rgb)); + --spectrum-orange-1100-rgb: 255, 137, 0; + --spectrum-orange-1100: rgba(var(--spectrum-orange-1100-rgb)); + --spectrum-orange-1200-rgb: 255, 173, 45; + --spectrum-orange-1200: rgba(var(--spectrum-orange-1200-rgb)); + --spectrum-orange-1300-rgb: 255, 201, 116; + --spectrum-orange-1300: rgba(var(--spectrum-orange-1300-rgb)); + --spectrum-orange-1400-rgb: 255, 225, 178; + --spectrum-orange-1400: rgba(var(--spectrum-orange-1400-rgb)); + --spectrum-orange-1500-rgb: 255, 243, 225; + --spectrum-orange-1500: rgba(var(--spectrum-orange-1500-rgb)); + --spectrum-orange-1600-rgb: 255, 255, 255; + --spectrum-orange-1600: rgba(var(--spectrum-orange-1600-rgb)); + --spectrum-yellow-100-rgb: 37, 23, 0; + --spectrum-yellow-100: rgba(var(--spectrum-yellow-100-rgb)); + --spectrum-yellow-200-rgb: 47, 29, 0; + --spectrum-yellow-200: rgba(var(--spectrum-yellow-200-rgb)); + --spectrum-yellow-300-rgb: 61, 39, 0; + --spectrum-yellow-300: rgba(var(--spectrum-yellow-300-rgb)); + --spectrum-yellow-400-rgb: 83, 52, 0; + --spectrum-yellow-400: rgba(var(--spectrum-yellow-400-rgb)); + --spectrum-yellow-500-rgb: 107, 67, 0; + --spectrum-yellow-500: rgba(var(--spectrum-yellow-500-rgb)); + --spectrum-yellow-600-rgb: 130, 82, 0; + --spectrum-yellow-600: rgba(var(--spectrum-yellow-600-rgb)); + --spectrum-yellow-700-rgb: 151, 97, 0; + --spectrum-yellow-700: rgba(var(--spectrum-yellow-700-rgb)); + --spectrum-yellow-800-rgb: 169, 110, 0; + --spectrum-yellow-800: rgba(var(--spectrum-yellow-800-rgb)); + --spectrum-yellow-900-rgb: 186, 124, 0; + --spectrum-yellow-900: rgba(var(--spectrum-yellow-900-rgb)); + --spectrum-yellow-1000-rgb: 203, 141, 0; + --spectrum-yellow-1000: rgba(var(--spectrum-yellow-1000-rgb)); + --spectrum-yellow-1100-rgb: 218, 159, 0; + --spectrum-yellow-1100: rgba(var(--spectrum-yellow-1100-rgb)); + --spectrum-yellow-1200-rgb: 235, 183, 0; + --spectrum-yellow-1200: rgba(var(--spectrum-yellow-1200-rgb)); + --spectrum-yellow-1300-rgb: 249, 206, 0; + --spectrum-yellow-1300: rgba(var(--spectrum-yellow-1300-rgb)); + --spectrum-yellow-1400-rgb: 255, 230, 86; + --spectrum-yellow-1400: rgba(var(--spectrum-yellow-1400-rgb)); + --spectrum-yellow-1500-rgb: 255, 246, 195; + --spectrum-yellow-1500: rgba(var(--spectrum-yellow-1500-rgb)); + --spectrum-yellow-1600-rgb: 255, 255, 255; + --spectrum-yellow-1600: rgba(var(--spectrum-yellow-1600-rgb)); + --spectrum-chartreuse-100-rgb: 23, 28, 0; + --spectrum-chartreuse-100: rgba(var(--spectrum-chartreuse-100-rgb)); + --spectrum-chartreuse-200-rgb: 30, 36, 0; + --spectrum-chartreuse-200: rgba(var(--spectrum-chartreuse-200-rgb)); + --spectrum-chartreuse-300-rgb: 39, 47, 0; + --spectrum-chartreuse-300: rgba(var(--spectrum-chartreuse-300-rgb)); + --spectrum-chartreuse-400-rgb: 53, 63, 0; + --spectrum-chartreuse-400: rgba(var(--spectrum-chartreuse-400-rgb)); + --spectrum-chartreuse-500-rgb: 68, 82, 0; + --spectrum-chartreuse-500: rgba(var(--spectrum-chartreuse-500-rgb)); + --spectrum-chartreuse-600-rgb: 83, 100, 0; + --spectrum-chartreuse-600: rgba(var(--spectrum-chartreuse-600-rgb)); + --spectrum-chartreuse-700-rgb: 97, 116, 0; + --spectrum-chartreuse-700: rgba(var(--spectrum-chartreuse-700-rgb)); + --spectrum-chartreuse-800-rgb: 109, 131, 0; + --spectrum-chartreuse-800: rgba(var(--spectrum-chartreuse-800-rgb)); + --spectrum-chartreuse-900-rgb: 122, 147, 0; + --spectrum-chartreuse-900: rgba(var(--spectrum-chartreuse-900-rgb)); + --spectrum-chartreuse-1000-rgb: 136, 164, 0; + --spectrum-chartreuse-1000: rgba(var(--spectrum-chartreuse-1000-rgb)); + --spectrum-chartreuse-1100-rgb: 151, 181, 0; + --spectrum-chartreuse-1100: rgba(var(--spectrum-chartreuse-1100-rgb)); + --spectrum-chartreuse-1200-rgb: 169, 203, 0; + --spectrum-chartreuse-1200: rgba(var(--spectrum-chartreuse-1200-rgb)); + --spectrum-chartreuse-1300-rgb: 187, 225, 0; + --spectrum-chartreuse-1300: rgba(var(--spectrum-chartreuse-1300-rgb)); + --spectrum-chartreuse-1400-rgb: 219, 240, 117; + --spectrum-chartreuse-1400: rgba(var(--spectrum-chartreuse-1400-rgb)); + --spectrum-chartreuse-1500-rgb: 242, 249, 206; + --spectrum-chartreuse-1500: rgba(var(--spectrum-chartreuse-1500-rgb)); + --spectrum-chartreuse-1600-rgb: 255, 255, 255; + --spectrum-chartreuse-1600: rgba(var(--spectrum-chartreuse-1600-rgb)); + --spectrum-celery-100-rgb: 11, 31, 0; + --spectrum-celery-100: rgba(var(--spectrum-celery-100-rgb)); + --spectrum-celery-200-rgb: 15, 38, 0; + --spectrum-celery-200: rgba(var(--spectrum-celery-200-rgb)); + --spectrum-celery-300-rgb: 21, 51, 1; + --spectrum-celery-300: rgba(var(--spectrum-celery-300-rgb)); + --spectrum-celery-400-rgb: 31, 67, 4; + --spectrum-celery-400: rgba(var(--spectrum-celery-400-rgb)); + --spectrum-celery-500-rgb: 41, 86, 8; + --spectrum-celery-500: rgba(var(--spectrum-celery-500-rgb)); + --spectrum-celery-600-rgb: 50, 105, 11; + --spectrum-celery-600: rgba(var(--spectrum-celery-600-rgb)); + --spectrum-celery-700-rgb: 60, 122, 15; + --spectrum-celery-700: rgba(var(--spectrum-celery-700-rgb)); + --spectrum-celery-800-rgb: 69, 138, 19; + --spectrum-celery-800: rgba(var(--spectrum-celery-800-rgb)); + --spectrum-celery-900-rgb: 78, 154, 23; + --spectrum-celery-900: rgba(var(--spectrum-celery-900-rgb)); + --spectrum-celery-1000-rgb: 88, 172, 28; + --spectrum-celery-1000: rgba(var(--spectrum-celery-1000-rgb)); + --spectrum-celery-1100-rgb: 100, 190, 35; + --spectrum-celery-1100: rgba(var(--spectrum-celery-1100-rgb)); + --spectrum-celery-1200-rgb: 116, 213, 46; + --spectrum-celery-1200: rgba(var(--spectrum-celery-1200-rgb)); + --spectrum-celery-1300-rgb: 136, 234, 65; + --spectrum-celery-1300: rgba(var(--spectrum-celery-1300-rgb)); + --spectrum-celery-1400-rgb: 170, 251, 112; + --spectrum-celery-1400: rgba(var(--spectrum-celery-1400-rgb)); + --spectrum-celery-1500-rgb: 222, 255, 198; + --spectrum-celery-1500: rgba(var(--spectrum-celery-1500-rgb)); + --spectrum-celery-1600-rgb: 255, 255, 255; + --spectrum-celery-1600: rgba(var(--spectrum-celery-1600-rgb)); + --spectrum-green-100-rgb: 0, 30, 23; + --spectrum-green-100: rgba(var(--spectrum-green-100-rgb)); + --spectrum-green-200-rgb: 0, 38, 29; + --spectrum-green-200: rgba(var(--spectrum-green-200-rgb)); + --spectrum-green-300-rgb: 0, 51, 38; + --spectrum-green-300: rgba(var(--spectrum-green-300-rgb)); + --spectrum-green-400-rgb: 0, 68, 48; + --spectrum-green-400: rgba(var(--spectrum-green-400-rgb)); + --spectrum-green-500-rgb: 2, 87, 58; + --spectrum-green-500: rgba(var(--spectrum-green-500-rgb)); + --spectrum-green-600-rgb: 3, 106, 67; + --spectrum-green-600: rgba(var(--spectrum-green-600-rgb)); + --spectrum-green-700-rgb: 4, 124, 75; + --spectrum-green-700: rgba(var(--spectrum-green-700-rgb)); + --spectrum-green-800-rgb: 6, 140, 82; + --spectrum-green-800: rgba(var(--spectrum-green-800-rgb)); + --spectrum-green-900-rgb: 9, 157, 89; + --spectrum-green-900: rgba(var(--spectrum-green-900-rgb)); + --spectrum-green-1000-rgb: 14, 175, 98; + --spectrum-green-1000: rgba(var(--spectrum-green-1000-rgb)); + --spectrum-green-1100-rgb: 24, 193, 110; + --spectrum-green-1100: rgba(var(--spectrum-green-1100-rgb)); + --spectrum-green-1200-rgb: 57, 215, 134; + --spectrum-green-1200: rgba(var(--spectrum-green-1200-rgb)); + --spectrum-green-1300-rgb: 126, 231, 172; + --spectrum-green-1300: rgba(var(--spectrum-green-1300-rgb)); + --spectrum-green-1400-rgb: 189, 241, 208; + --spectrum-green-1400: rgba(var(--spectrum-green-1400-rgb)); + --spectrum-green-1500-rgb: 229, 250, 236; + --spectrum-green-1500: rgba(var(--spectrum-green-1500-rgb)); + --spectrum-green-1600-rgb: 255, 255, 255; + --spectrum-green-1600: rgba(var(--spectrum-green-1600-rgb)); + --spectrum-seafoam-100-rgb: 0, 30, 27; + --spectrum-seafoam-100: rgba(var(--spectrum-seafoam-100-rgb)); + --spectrum-seafoam-200-rgb: 0, 39, 35; + --spectrum-seafoam-200: rgba(var(--spectrum-seafoam-200-rgb)); + --spectrum-seafoam-300-rgb: 0, 50, 44; + --spectrum-seafoam-300: rgba(var(--spectrum-seafoam-300-rgb)); + --spectrum-seafoam-400-rgb: 0, 67, 59; + --spectrum-seafoam-400: rgba(var(--spectrum-seafoam-400-rgb)); + --spectrum-seafoam-500-rgb: 2, 86, 75; + --spectrum-seafoam-500: rgba(var(--spectrum-seafoam-500-rgb)); + --spectrum-seafoam-600-rgb: 4, 105, 89; + --spectrum-seafoam-600: rgba(var(--spectrum-seafoam-600-rgb)); + --spectrum-seafoam-700-rgb: 6, 122, 103; + --spectrum-seafoam-700: rgba(var(--spectrum-seafoam-700-rgb)); + --spectrum-seafoam-800-rgb: 8, 138, 116; + --spectrum-seafoam-800: rgba(var(--spectrum-seafoam-800-rgb)); + --spectrum-seafoam-900-rgb: 10, 154, 128; + --spectrum-seafoam-900: rgba(var(--spectrum-seafoam-900-rgb)); + --spectrum-seafoam-1000-rgb: 12, 173, 142; + --spectrum-seafoam-1000: rgba(var(--spectrum-seafoam-1000-rgb)); + --spectrum-seafoam-1100-rgb: 14, 190, 156; + --spectrum-seafoam-1100: rgba(var(--spectrum-seafoam-1100-rgb)); + --spectrum-seafoam-1200-rgb: 29, 214, 176; + --spectrum-seafoam-1200: rgba(var(--spectrum-seafoam-1200-rgb)); + --spectrum-seafoam-1300-rgb: 122, 229, 203; + --spectrum-seafoam-1300: rgba(var(--spectrum-seafoam-1300-rgb)); + --spectrum-seafoam-1400-rgb: 186, 241, 222; + --spectrum-seafoam-1400: rgba(var(--spectrum-seafoam-1400-rgb)); + --spectrum-seafoam-1500-rgb: 229, 249, 243; + --spectrum-seafoam-1500: rgba(var(--spectrum-seafoam-1500-rgb)); + --spectrum-seafoam-1600-rgb: 255, 255, 255; + --spectrum-seafoam-1600: rgba(var(--spectrum-seafoam-1600-rgb)); + --spectrum-cyan-100-rgb: 0, 29, 39; + --spectrum-cyan-100: rgba(var(--spectrum-cyan-100-rgb)); + --spectrum-cyan-200-rgb: 0, 36, 49; + --spectrum-cyan-200: rgba(var(--spectrum-cyan-200-rgb)); + --spectrum-cyan-300-rgb: 0, 48, 65; + --spectrum-cyan-300: rgba(var(--spectrum-cyan-300-rgb)); + --spectrum-cyan-400-rgb: 0, 64, 88; + --spectrum-cyan-400: rgba(var(--spectrum-cyan-400-rgb)); + --spectrum-cyan-500-rgb: 0, 82, 113; + --spectrum-cyan-500: rgba(var(--spectrum-cyan-500-rgb)); + --spectrum-cyan-600-rgb: 3, 99, 140; + --spectrum-cyan-600: rgba(var(--spectrum-cyan-600-rgb)); + --spectrum-cyan-700-rgb: 8, 115, 168; + --spectrum-cyan-700: rgba(var(--spectrum-cyan-700-rgb)); + --spectrum-cyan-800-rgb: 15, 128, 194; + --spectrum-cyan-800: rgba(var(--spectrum-cyan-800-rgb)); + --spectrum-cyan-900-rgb: 24, 142, 220; + --spectrum-cyan-900: rgba(var(--spectrum-cyan-900-rgb)); + --spectrum-cyan-1000-rgb: 38, 159, 244; + --spectrum-cyan-1000: rgba(var(--spectrum-cyan-1000-rgb)); + --spectrum-cyan-1100-rgb: 63, 177, 255; + --spectrum-cyan-1100: rgba(var(--spectrum-cyan-1100-rgb)); + --spectrum-cyan-1200-rgb: 107, 199, 255; + --spectrum-cyan-1200: rgba(var(--spectrum-cyan-1200-rgb)); + --spectrum-cyan-1300-rgb: 152, 219, 255; + --spectrum-cyan-1300: rgba(var(--spectrum-cyan-1300-rgb)); + --spectrum-cyan-1400-rgb: 195, 236, 252; + --spectrum-cyan-1400: rgba(var(--spectrum-cyan-1400-rgb)); + --spectrum-cyan-1500-rgb: 230, 248, 253; + --spectrum-cyan-1500: rgba(var(--spectrum-cyan-1500-rgb)); + --spectrum-cyan-1600-rgb: 255, 255, 255; + --spectrum-cyan-1600: rgba(var(--spectrum-cyan-1600-rgb)); + --spectrum-indigo-100-rgb: 30, 0, 93; + --spectrum-indigo-100: rgba(var(--spectrum-indigo-100-rgb)); + --spectrum-indigo-200-rgb: 35, 0, 110; + --spectrum-indigo-200: rgba(var(--spectrum-indigo-200-rgb)); + --spectrum-indigo-300-rgb: 47, 0, 140; + --spectrum-indigo-300: rgba(var(--spectrum-indigo-300-rgb)); + --spectrum-indigo-400-rgb: 62, 12, 174; + --spectrum-indigo-400: rgba(var(--spectrum-indigo-400-rgb)); + --spectrum-indigo-500-rgb: 79, 30, 209; + --spectrum-indigo-500: rgba(var(--spectrum-indigo-500-rgb)); + --spectrum-indigo-600-rgb: 95, 52, 235; + --spectrum-indigo-600: rgba(var(--spectrum-indigo-600-rgb)); + --spectrum-indigo-700-rgb: 109, 75, 248; + --spectrum-indigo-700: rgba(var(--spectrum-indigo-700-rgb)); + --spectrum-indigo-800-rgb: 119, 97, 252; + --spectrum-indigo-800: rgba(var(--spectrum-indigo-800-rgb)); + --spectrum-indigo-900-rgb: 128, 119, 254; + --spectrum-indigo-900: rgba(var(--spectrum-indigo-900-rgb)); + --spectrum-indigo-1000-rgb: 139, 141, 254; + --spectrum-indigo-1000: rgba(var(--spectrum-indigo-1000-rgb)); + --spectrum-indigo-1100-rgb: 153, 161, 255; + --spectrum-indigo-1100: rgba(var(--spectrum-indigo-1100-rgb)); + --spectrum-indigo-1200-rgb: 176, 186, 255; + --spectrum-indigo-1200: rgba(var(--spectrum-indigo-1200-rgb)); + --spectrum-indigo-1300-rgb: 199, 208, 255; + --spectrum-indigo-1300: rgba(var(--spectrum-indigo-1300-rgb)); + --spectrum-indigo-1400-rgb: 223, 228, 255; + --spectrum-indigo-1400: rgba(var(--spectrum-indigo-1400-rgb)); + --spectrum-indigo-1500-rgb: 243, 244, 255; + --spectrum-indigo-1500: rgba(var(--spectrum-indigo-1500-rgb)); + --spectrum-indigo-1600-rgb: 255, 255, 255; + --spectrum-indigo-1600: rgba(var(--spectrum-indigo-1600-rgb)); + --spectrum-purple-100-rgb: 41, 0, 79; + --spectrum-purple-100: rgba(var(--spectrum-purple-100-rgb)); + --spectrum-purple-200-rgb: 50, 0, 96; + --spectrum-purple-200: rgba(var(--spectrum-purple-200-rgb)); + --spectrum-purple-300-rgb: 64, 0, 122; + --spectrum-purple-300: rgba(var(--spectrum-purple-300-rgb)); + --spectrum-purple-400-rgb: 83, 0, 159; + --spectrum-purple-400: rgba(var(--spectrum-purple-400-rgb)); + --spectrum-purple-500-rgb: 107, 6, 195; + --spectrum-purple-500: rgba(var(--spectrum-purple-500-rgb)); + --spectrum-purple-600-rgb: 130, 34, 215; + --spectrum-purple-600: rgba(var(--spectrum-purple-600-rgb)); + --spectrum-purple-700-rgb: 148, 62, 224; + --spectrum-purple-700: rgba(var(--spectrum-purple-700-rgb)); + --spectrum-purple-800-rgb: 161, 84, 229; + --spectrum-purple-800: rgba(var(--spectrum-purple-800-rgb)); + --spectrum-purple-900-rgb: 173, 105, 233; + --spectrum-purple-900: rgba(var(--spectrum-purple-900-rgb)); + --spectrum-purple-1000-rgb: 186, 127, 237; + --spectrum-purple-1000: rgba(var(--spectrum-purple-1000-rgb)); + --spectrum-purple-1100-rgb: 197, 149, 240; + --spectrum-purple-1100: rgba(var(--spectrum-purple-1100-rgb)); + --spectrum-purple-1200-rgb: 212, 176, 244; + --spectrum-purple-1200: rgba(var(--spectrum-purple-1200-rgb)); + --spectrum-purple-1300-rgb: 225, 201, 247; + --spectrum-purple-1300: rgba(var(--spectrum-purple-1300-rgb)); + --spectrum-purple-1400-rgb: 238, 224, 250; + --spectrum-purple-1400: rgba(var(--spectrum-purple-1400-rgb)); + --spectrum-purple-1500-rgb: 248, 243, 253; + --spectrum-purple-1500: rgba(var(--spectrum-purple-1500-rgb)); + --spectrum-purple-1600-rgb: 255, 255, 255; + --spectrum-purple-1600: rgba(var(--spectrum-purple-1600-rgb)); + --spectrum-fuchsia-100-rgb: 50, 0, 61; + --spectrum-fuchsia-100: rgba(var(--spectrum-fuchsia-100-rgb)); + --spectrum-fuchsia-200-rgb: 61, 0, 74; + --spectrum-fuchsia-200: rgba(var(--spectrum-fuchsia-200-rgb)); + --spectrum-fuchsia-300-rgb: 79, 0, 95; + --spectrum-fuchsia-300: rgba(var(--spectrum-fuchsia-300-rgb)); + --spectrum-fuchsia-400-rgb: 102, 9, 120; + --spectrum-fuchsia-400: rgba(var(--spectrum-fuchsia-400-rgb)); + --spectrum-fuchsia-500-rgb: 127, 23, 146; + --spectrum-fuchsia-500: rgba(var(--spectrum-fuchsia-500-rgb)); + --spectrum-fuchsia-600-rgb: 151, 38, 170; + --spectrum-fuchsia-600: rgba(var(--spectrum-fuchsia-600-rgb)); + --spectrum-fuchsia-700-rgb: 173, 51, 192; + --spectrum-fuchsia-700: rgba(var(--spectrum-fuchsia-700-rgb)); + --spectrum-fuchsia-800-rgb: 192, 64, 212; + --spectrum-fuchsia-800: rgba(var(--spectrum-fuchsia-800-rgb)); + --spectrum-fuchsia-900-rgb: 213, 73, 235; + --spectrum-fuchsia-900: rgba(var(--spectrum-fuchsia-900-rgb)); + --spectrum-fuchsia-1000-rgb: 232, 91, 253; + --spectrum-fuchsia-1000: rgba(var(--spectrum-fuchsia-1000-rgb)); + --spectrum-fuchsia-1100-rgb: 240, 122, 255; + --spectrum-fuchsia-1100: rgba(var(--spectrum-fuchsia-1100-rgb)); + --spectrum-fuchsia-1200-rgb: 245, 159, 255; + --spectrum-fuchsia-1200: rgba(var(--spectrum-fuchsia-1200-rgb)); + --spectrum-fuchsia-1300-rgb: 248, 191, 255; + --spectrum-fuchsia-1300: rgba(var(--spectrum-fuchsia-1300-rgb)); + --spectrum-fuchsia-1400-rgb: 251, 219, 255; + --spectrum-fuchsia-1400: rgba(var(--spectrum-fuchsia-1400-rgb)); + --spectrum-fuchsia-1500-rgb: 253, 241, 255; + --spectrum-fuchsia-1500: rgba(var(--spectrum-fuchsia-1500-rgb)); + --spectrum-fuchsia-1600-rgb: 255, 255, 255; + --spectrum-fuchsia-1600: rgba(var(--spectrum-fuchsia-1600-rgb)); + --spectrum-magenta-100-rgb: 59, 0, 22; + --spectrum-magenta-100: rgba(var(--spectrum-magenta-100-rgb)); + --spectrum-magenta-200-rgb: 74, 0, 27; + --spectrum-magenta-200: rgba(var(--spectrum-magenta-200-rgb)); + --spectrum-magenta-300-rgb: 93, 0, 34; + --spectrum-magenta-300: rgba(var(--spectrum-magenta-300-rgb)); + --spectrum-magenta-400-rgb: 123, 0, 45; + --spectrum-magenta-400: rgba(var(--spectrum-magenta-400-rgb)); + --spectrum-magenta-500-rgb: 152, 7, 60; + --spectrum-magenta-500: rgba(var(--spectrum-magenta-500-rgb)); + --spectrum-magenta-600-rgb: 181, 19, 76; + --spectrum-magenta-600: rgba(var(--spectrum-magenta-600-rgb)); + --spectrum-magenta-700-rgb: 207, 31, 92; + --spectrum-magenta-700: rgba(var(--spectrum-magenta-700-rgb)); + --spectrum-magenta-800-rgb: 231, 41, 105; + --spectrum-magenta-800: rgba(var(--spectrum-magenta-800-rgb)); + --spectrum-magenta-900-rgb: 255, 51, 119; + --spectrum-magenta-900: rgba(var(--spectrum-magenta-900-rgb)); + --spectrum-magenta-1000-rgb: 255, 96, 149; + --spectrum-magenta-1000: rgba(var(--spectrum-magenta-1000-rgb)); + --spectrum-magenta-1100-rgb: 255, 128, 171; + --spectrum-magenta-1100: rgba(var(--spectrum-magenta-1100-rgb)); + --spectrum-magenta-1200-rgb: 255, 163, 194; + --spectrum-magenta-1200: rgba(var(--spectrum-magenta-1200-rgb)); + --spectrum-magenta-1300-rgb: 255, 193, 214; + --spectrum-magenta-1300: rgba(var(--spectrum-magenta-1300-rgb)); + --spectrum-magenta-1400-rgb: 255, 220, 232; + --spectrum-magenta-1400: rgba(var(--spectrum-magenta-1400-rgb)); + --spectrum-magenta-1500-rgb: 255, 241, 246; + --spectrum-magenta-1500: rgba(var(--spectrum-magenta-1500-rgb)); + --spectrum-magenta-1600-rgb: 255, 255, 255; + --spectrum-magenta-1600: rgba(var(--spectrum-magenta-1600-rgb)); + --spectrum-pink-100-rgb: 58, 0, 37; + --spectrum-pink-100: rgba(var(--spectrum-pink-100-rgb)); + --spectrum-pink-200-rgb: 71, 0, 44; + --spectrum-pink-200: rgba(var(--spectrum-pink-200-rgb)); + --spectrum-pink-300-rgb: 90, 0, 57; + --spectrum-pink-300: rgba(var(--spectrum-pink-300-rgb)); + --spectrum-pink-400-rgb: 115, 7, 75; + --spectrum-pink-400: rgba(var(--spectrum-pink-400-rgb)); + --spectrum-pink-500-rgb: 143, 18, 97; + --spectrum-pink-500: rgba(var(--spectrum-pink-500-rgb)); + --spectrum-pink-600-rgb: 171, 29, 119; + --spectrum-pink-600: rgba(var(--spectrum-pink-600-rgb)); + --spectrum-pink-700-rgb: 196, 39, 138; + --spectrum-pink-700: rgba(var(--spectrum-pink-700-rgb)); + --spectrum-pink-800-rgb: 220, 47, 156; + --spectrum-pink-800: rgba(var(--spectrum-pink-800-rgb)); + --spectrum-pink-900-rgb: 236, 67, 175; + --spectrum-pink-900: rgba(var(--spectrum-pink-900-rgb)); + --spectrum-pink-1000-rgb: 251, 90, 196; + --spectrum-pink-1000: rgba(var(--spectrum-pink-1000-rgb)); + --spectrum-pink-1100-rgb: 255, 122, 210; + --spectrum-pink-1100: rgba(var(--spectrum-pink-1100-rgb)); + --spectrum-pink-1200-rgb: 255, 159, 223; + --spectrum-pink-1200: rgba(var(--spectrum-pink-1200-rgb)); + --spectrum-pink-1300-rgb: 255, 191, 234; + --spectrum-pink-1300: rgba(var(--spectrum-pink-1300-rgb)); + --spectrum-pink-1400-rgb: 255, 219, 243; + --spectrum-pink-1400: rgba(var(--spectrum-pink-1400-rgb)); + --spectrum-pink-1500-rgb: 255, 241, 250; + --spectrum-pink-1500: rgba(var(--spectrum-pink-1500-rgb)); + --spectrum-pink-1600-rgb: 255, 255, 255; + --spectrum-pink-1600: rgba(var(--spectrum-pink-1600-rgb)); + --spectrum-turquoise-100-rgb: 0, 30, 33; + --spectrum-turquoise-100: rgba(var(--spectrum-turquoise-100-rgb)); + --spectrum-turquoise-200-rgb: 0, 37, 41; + --spectrum-turquoise-200: rgba(var(--spectrum-turquoise-200-rgb)); + --spectrum-turquoise-300-rgb: 0, 49, 54; + --spectrum-turquoise-300: rgba(var(--spectrum-turquoise-300-rgb)); + --spectrum-turquoise-400-rgb: 0, 66, 72; + --spectrum-turquoise-400: rgba(var(--spectrum-turquoise-400-rgb)); + --spectrum-turquoise-500-rgb: 3, 84, 92; + --spectrum-turquoise-500: rgba(var(--spectrum-turquoise-500-rgb)); + --spectrum-turquoise-600-rgb: 5, 103, 112; + --spectrum-turquoise-600: rgba(var(--spectrum-turquoise-600-rgb)); + --spectrum-turquoise-700-rgb: 7, 120, 131; + --spectrum-turquoise-700: rgba(var(--spectrum-turquoise-700-rgb)); + --spectrum-turquoise-800-rgb: 9, 135, 147; + --spectrum-turquoise-800: rgba(var(--spectrum-turquoise-800-rgb)); + --spectrum-turquoise-900-rgb: 11, 151, 164; + --spectrum-turquoise-900: rgba(var(--spectrum-turquoise-900-rgb)); + --spectrum-turquoise-1000-rgb: 13, 168, 182; + --spectrum-turquoise-1000: rgba(var(--spectrum-turquoise-1000-rgb)); + --spectrum-turquoise-1100-rgb: 16, 186, 202; + --spectrum-turquoise-1100: rgba(var(--spectrum-turquoise-1100-rgb)); + --spectrum-turquoise-1200-rgb: 64, 208, 220; + --spectrum-turquoise-1200: rgba(var(--spectrum-turquoise-1200-rgb)); + --spectrum-turquoise-1300-rgb: 128, 225, 231; + --spectrum-turquoise-1300: rgba(var(--spectrum-turquoise-1300-rgb)); + --spectrum-turquoise-1400-rgb: 183, 240, 240; + --spectrum-turquoise-1400: rgba(var(--spectrum-turquoise-1400-rgb)); + --spectrum-turquoise-1500-rgb: 228, 249, 249; + --spectrum-turquoise-1500: rgba(var(--spectrum-turquoise-1500-rgb)); + --spectrum-turquoise-1600-rgb: 255, 255, 255; + --spectrum-turquoise-1600: rgba(var(--spectrum-turquoise-1600-rgb)); + --spectrum-brown-100-rgb: 35, 24, 8; + --spectrum-brown-100: rgba(var(--spectrum-brown-100-rgb)); + --spectrum-brown-200-rgb: 44, 31, 11; + --spectrum-brown-200: rgba(var(--spectrum-brown-200-rgb)); + --spectrum-brown-300-rgb: 58, 40, 14; + --spectrum-brown-300: rgba(var(--spectrum-brown-300-rgb)); + --spectrum-brown-400-rgb: 78, 55, 19; + --spectrum-brown-400: rgba(var(--spectrum-brown-400-rgb)); + --spectrum-brown-500-rgb: 98, 71, 30; + --spectrum-brown-500: rgba(var(--spectrum-brown-500-rgb)); + --spectrum-brown-600-rgb: 115, 88, 47; + --spectrum-brown-600: rgba(var(--spectrum-brown-600-rgb)); + --spectrum-brown-700-rgb: 132, 104, 61; + --spectrum-brown-700: rgba(var(--spectrum-brown-700-rgb)); + --spectrum-brown-800-rgb: 148, 118, 73; + --spectrum-brown-800: rgba(var(--spectrum-brown-800-rgb)); + --spectrum-brown-900-rgb: 163, 132, 84; + --spectrum-brown-900: rgba(var(--spectrum-brown-900-rgb)); + --spectrum-brown-1000-rgb: 181, 147, 98; + --spectrum-brown-1000: rgba(var(--spectrum-brown-1000-rgb)); + --spectrum-brown-1100-rgb: 199, 163, 112; + --spectrum-brown-1100: rgba(var(--spectrum-brown-1100-rgb)); + --spectrum-brown-1200-rgb: 222, 185, 130; + --spectrum-brown-1200: rgba(var(--spectrum-brown-1200-rgb)); + --spectrum-brown-1300-rgb: 232, 207, 169; + --spectrum-brown-1300: rgba(var(--spectrum-brown-1300-rgb)); + --spectrum-brown-1400-rgb: 242, 227, 206; + --spectrum-brown-1400: rgba(var(--spectrum-brown-1400-rgb)); + --spectrum-brown-1500-rgb: 250, 244, 236; + --spectrum-brown-1500: rgba(var(--spectrum-brown-1500-rgb)); + --spectrum-brown-1600-rgb: 255, 255, 255; + --spectrum-brown-1600: rgba(var(--spectrum-brown-1600-rgb)); + --spectrum-silver-100-rgb: 26, 26, 26; + --spectrum-silver-100: rgba(var(--spectrum-silver-100-rgb)); + --spectrum-silver-200-rgb: 33, 33, 33; + --spectrum-silver-200: rgba(var(--spectrum-silver-200-rgb)); + --spectrum-silver-300-rgb: 44, 44, 44; + --spectrum-silver-300: rgba(var(--spectrum-silver-300-rgb)); + --spectrum-silver-400-rgb: 59, 59, 59; + --spectrum-silver-400: rgba(var(--spectrum-silver-400-rgb)); + --spectrum-silver-500-rgb: 76, 76, 76; + --spectrum-silver-500: rgba(var(--spectrum-silver-500-rgb)); + --spectrum-silver-600-rgb: 92, 92, 92; + --spectrum-silver-600: rgba(var(--spectrum-silver-600-rgb)); + --spectrum-silver-700-rgb: 108, 108, 108; + --spectrum-silver-700: rgba(var(--spectrum-silver-700-rgb)); + --spectrum-silver-800-rgb: 123, 123, 123; + --spectrum-silver-800: rgba(var(--spectrum-silver-800-rgb)); + --spectrum-silver-900-rgb: 137, 137, 137; + --spectrum-silver-900: rgba(var(--spectrum-silver-900-rgb)); + --spectrum-silver-1000-rgb: 152, 152, 152; + --spectrum-silver-1000: rgba(var(--spectrum-silver-1000-rgb)); + --spectrum-silver-1100-rgb: 169, 169, 169; + --spectrum-silver-1100: rgba(var(--spectrum-silver-1100-rgb)); + --spectrum-silver-1200-rgb: 190, 190, 190; + --spectrum-silver-1200: rgba(var(--spectrum-silver-1200-rgb)); + --spectrum-silver-1300-rgb: 211, 211, 211; + --spectrum-silver-1300: rgba(var(--spectrum-silver-1300-rgb)); + --spectrum-silver-1400-rgb: 229, 229, 229; + --spectrum-silver-1400: rgba(var(--spectrum-silver-1400-rgb)); + --spectrum-silver-1500-rgb: 244, 244, 244; + --spectrum-silver-1500: rgba(var(--spectrum-silver-1500-rgb)); + --spectrum-silver-1600-rgb: 255, 255, 255; + --spectrum-silver-1600: rgba(var(--spectrum-silver-1600-rgb)); + --spectrum-cinnamon-100-rgb: 48, 17, 4; + --spectrum-cinnamon-100: rgba(var(--spectrum-cinnamon-100-rgb)); + --spectrum-cinnamon-200-rgb: 59, 21, 5; + --spectrum-cinnamon-200: rgba(var(--spectrum-cinnamon-200-rgb)); + --spectrum-cinnamon-300-rgb: 79, 28, 7; + --spectrum-cinnamon-300: rgba(var(--spectrum-cinnamon-300-rgb)); + --spectrum-cinnamon-400-rgb: 100, 41, 15; + --spectrum-cinnamon-400: rgba(var(--spectrum-cinnamon-400-rgb)); + --spectrum-cinnamon-500-rgb: 122, 57, 28; + --spectrum-cinnamon-500: rgba(var(--spectrum-cinnamon-500-rgb)); + --spectrum-cinnamon-600-rgb: 143, 74, 40; + --spectrum-cinnamon-600: rgba(var(--spectrum-cinnamon-600-rgb)); + --spectrum-cinnamon-700-rgb: 163, 88, 52; + --spectrum-cinnamon-700: rgba(var(--spectrum-cinnamon-700-rgb)); + --spectrum-cinnamon-800-rgb: 179, 103, 64; + --spectrum-cinnamon-800: rgba(var(--spectrum-cinnamon-800-rgb)); + --spectrum-cinnamon-900-rgb: 192, 119, 80; + --spectrum-cinnamon-900: rgba(var(--spectrum-cinnamon-900-rgb)); + --spectrum-cinnamon-1000-rgb: 206, 136, 99; + --spectrum-cinnamon-1000: rgba(var(--spectrum-cinnamon-1000-rgb)); + --spectrum-cinnamon-1100-rgb: 220, 154, 118; + --spectrum-cinnamon-1100: rgba(var(--spectrum-cinnamon-1100-rgb)); + --spectrum-cinnamon-1200-rgb: 232, 179, 149; + --spectrum-cinnamon-1200: rgba(var(--spectrum-cinnamon-1200-rgb)); + --spectrum-cinnamon-1300-rgb: 239, 203, 183; + --spectrum-cinnamon-1300: rgba(var(--spectrum-cinnamon-1300-rgb)); + --spectrum-cinnamon-1400-rgb: 246, 225, 214; + --spectrum-cinnamon-1400: rgba(var(--spectrum-cinnamon-1400-rgb)); + --spectrum-cinnamon-1500-rgb: 252, 244, 239; + --spectrum-cinnamon-1500: rgba(var(--spectrum-cinnamon-1500-rgb)); + --spectrum-cinnamon-1600-rgb: 255, 255, 255; + --spectrum-cinnamon-1600: rgba(var(--spectrum-cinnamon-1600-rgb)); + --spectrum-icon-color-blue-primary-default: var(--spectrum-blue-800); + --spectrum-icon-color-green-primary-default: var(--spectrum-green-800); + --spectrum-icon-color-red-primary-default: var(--spectrum-red-700); + --spectrum-icon-color-yellow-primary-default: var(--spectrum-yellow-1000); + --spectrum-negative-subdued-background-color-default: var( + --spectrum-negative-subtle-background-color-default + ); + --spectrum-accent-subtle-background-color-default: var( + --spectrum-accent-color-300 + ); + --spectrum-informative-subtle-background-color-default: var( + --spectrum-informative-color-300 + ); + --spectrum-positive-subtle-background-color-default: var( + --spectrum-positive-color-300 + ); + --spectrum-notice-subtle-background-color-default: var( + --spectrum-notice-color-300 + ); + --spectrum-negative-subtle-background-color-default: var( + --spectrum-negative-color-300 + ); + --spectrum-drop-zone-background-color-rgb: var(--spectrum-blue-900-rgb); + --spectrum-dropindicator-color: var(--spectrum-blue-700); + + --spectrum-calendar-day-background-color-selected: rgba( + var(--spectrum-blue-800-rgb), + 0.15 + ); + --spectrum-calendar-day-background-color-hover: rgba( + var(--spectrum-white-rgb), + 0.07 + ); + --spectrum-calendar-day-today-background-color-selected-hover: rgba( + var(--spectrum-blue-800-rgb), + 0.25 + ); + --spectrum-calendar-day-background-color-selected-hover: rgba( + var(--spectrum-blue-800-rgb), + 0.25 + ); + --spectrum-calendar-day-background-color-down: var( + --spectrum-transparent-white-200 + ); + --spectrum-calendar-day-background-color-cap-selected: rgba( + var(--spectrum-blue-800-rgb), + 0.25 + ); + --spectrum-calendar-day-background-color-key-focus: rgba( + var(--spectrum-white-rgb), + 0.07 + ); + --spectrum-calendar-day-border-color-key-focus: var(--spectrum-blue-700); + + --spectrum-badge-label-icon-color-primary: var(--spectrum-black); + + --spectrum-coach-indicator-ring-default-color: var(--spectrum-blue-700); + + --spectrum-steplist-current-marker-color-key-focus: var( + --spectrum-blue-700 + ); + + --spectrum-treeview-item-background-color-quiet-selected: rgba( + var(--spectrum-gray-900-rgb), + 0.07 + ); + --spectrum-treeview-item-background-color-selected: rgba( + var(--spectrum-blue-800-rgb), + 0.15 + ); + + --spectrum-logic-button-and-background-color: var(--spectrum-blue-800); + --spectrum-logic-button-and-border-color: var(--spectrum-blue-800); + --spectrum-logic-button-and-background-color-hover: var( + --spectrum-blue-1000 + ); + --spectrum-logic-button-and-border-color-hover: var(--spectrum-blue-1000); + + --spectrum-logic-button-or-background-color: var(--spectrum-magenta-700); + --spectrum-logic-button-or-border-color: var(--spectrum-magenta-700); + --spectrum-logic-button-or-background-color-hover: var( + --spectrum-magenta-900 + ); + --spectrum-logic-button-or-border-color-hover: var(--spectrum-magenta-900); + + --spectrum-assetcard-border-color-selected: var(--spectrum-blue-800); + --spectrum-assetcard-border-color-selected-hover: var(--spectrum-blue-800); + --spectrum-assetcard-border-color-selected-down: var(--spectrum-blue-900); + --spectrum-assetcard-selectionindicator-background-color-ordered: var( + --spectrum-blue-800 + ); + --spectrum-assestcard-focus-indicator-color: var(--spectrum-blue-700); + + --spectrum-assetlist-item-background-color-selected-hover: rgba( + var(--spectrum-blue-800-rgb), + 0.25 + ); + --spectrum-assetlist-item-background-color-selected: rgba( + var(--spectrum-blue-800-rgb), + 0.15 + ); + --spectrum-assetlist-border-color-key-focus: var(--spectrum-blue-700); + + --spectrum-card-selected-background-color-rgb: var(--spectrum-blue-500-rgb); +} + +:host, +:root { + --spectrum-focus-indicator-color: var(--spectrum-blue-800); + --spectrum-static-white-focus-indicator-color: var(--spectrum-white); + --spectrum-static-black-focus-indicator-color: var(--spectrum-black); + --spectrum-overlay-color: var(--spectrum-black); + --spectrum-drop-shadow-color: var(--spectrum-drop-shadow-color-100); + --spectrum-opacity-disabled: 0.3; + --spectrum-background-base-color: var(--spectrum-gray-25); + --spectrum-background-layer-1-color: var(--spectrum-gray-50); + --spectrum-neutral-background-color-default: var(--spectrum-gray-800); + --spectrum-neutral-background-color-hover: var(--spectrum-gray-900); + --spectrum-neutral-background-color-down: var(--spectrum-gray-900); + --spectrum-neutral-background-color-key-focus: var(--spectrum-gray-900); + --spectrum-neutral-background-color-selected-default: var( + --spectrum-gray-800 + ); + --spectrum-neutral-background-color-selected-hover: var( + --spectrum-gray-900 + ); + --spectrum-neutral-background-color-selected-down: var(--spectrum-gray-900); + --spectrum-neutral-background-color-selected-key-focus: var( + --spectrum-gray-900 + ); + --spectrum-neutral-subdued-content-color-selected: var( + --spectrum-neutral-subdued-content-color-down + ); + --spectrum-accent-content-color-selected: var( + --spectrum-accent-content-color-down + ); + --spectrum-disabled-background-color: var(--spectrum-gray-100); + --spectrum-disabled-static-white-background-color: var( + --spectrum-transparent-white-100 + ); + --spectrum-disabled-static-black-background-color: var( + --spectrum-transparent-black-100 + ); + --spectrum-background-opacity-default: 0; + --spectrum-background-opacity-hover: 0.1; + --spectrum-background-opacity-down: 0.1; + --spectrum-background-opacity-key-focus: 0.1; + --spectrum-neutral-content-color-default: var(--spectrum-gray-800); + --spectrum-neutral-content-color-hover: var(--spectrum-gray-900); + --spectrum-neutral-content-color-down: var(--spectrum-gray-900); + --spectrum-neutral-content-color-focus-hover: var( + --spectrum-neutral-content-color-down + ); + --spectrum-neutral-content-color-focus: var( + --spectrum-neutral-content-color-down + ); + --spectrum-neutral-content-color-key-focus: var(--spectrum-gray-900); + --spectrum-neutral-subdued-content-color-default: var(--spectrum-gray-700); + --spectrum-neutral-subdued-content-color-hover: var(--spectrum-gray-800); + --spectrum-neutral-subdued-content-color-down: var(--spectrum-gray-800); + --spectrum-neutral-subdued-content-color-key-focus: var( + --spectrum-gray-800 + ); + --spectrum-accent-content-color-default: var(--spectrum-accent-color-900); + --spectrum-accent-content-color-hover: var(--spectrum-accent-color-1000); + --spectrum-accent-content-color-down: var(--spectrum-accent-color-1000); + --spectrum-accent-content-color-key-focus: var( + --spectrum-accent-color-1000 + ); + --spectrum-negative-content-color-default: var( + --spectrum-negative-color-900 + ); + --spectrum-negative-content-color-hover: var( + --spectrum-negative-color-1000 + ); + --spectrum-negative-content-color-down: var(--spectrum-negative-color-1000); + --spectrum-negative-content-color-key-focus: var( + --spectrum-negative-color-1000 + ); + --spectrum-disabled-content-color: var(--spectrum-gray-400); + --spectrum-disabled-static-white-content-color: var( + --spectrum-transparent-white-400 + ); + --spectrum-disabled-static-black-content-color: var( + --spectrum-transparent-black-400 + ); + --spectrum-disabled-border-color: var(--spectrum-gray-300); + --spectrum-disabled-static-white-border-color: var( + --spectrum-transparent-white-300 + ); + --spectrum-disabled-static-black-border-color: var( + --spectrum-transparent-black-300 + ); + --spectrum-negative-border-color-default: var( + --spectrum-negative-color-900 + ); + --spectrum-negative-border-color-hover: var(--spectrum-negative-color-1000); + --spectrum-negative-border-color-down: var(--spectrum-negative-color-1100); + --spectrum-negative-border-color-focus-hover: var( + --spectrum-negative-border-color-down + ); + --spectrum-negative-border-color-focus: var(--spectrum-negative-color-1000); + --spectrum-negative-border-color-key-focus: var( + --spectrum-negative-color-1000 + ); + --spectrum-title-color: var(--spectrum-gray-900); + --spectrum-drop-shadow-emphasized-default-color: var( + --spectrum-drop-shadow-color-100 + ); + --spectrum-drop-shadow-emphasized-hover-color: var( + --spectrum-drop-shadow-color-200 + ); + --spectrum-drop-shadow-elevated-color: var( + --spectrum-drop-shadow-color-200 + ); + --spectrum-drop-shadow-dragged-color: var(--spectrum-drop-shadow-color-300); + --spectrum-static-black-text-color: var(--spectrum-black); + --spectrum-static-white-text-color: var(--spectrum-white); + --spectrum-track-color: var(--spectrum-gray-300); + --spectrum-static-black-track-color: var(--spectrum-transparent-black-300); + --spectrum-static-white-track-color: var(--spectrum-transparent-white-300); + --spectrum-static-black-track-indicator-color: var( + --spectrum-transparent-black-900 + ); + --spectrum-static-white-track-indicator-color: var( + --spectrum-transparent-white-900 + ); + --spectrum-swatch-border-color: var(--spectrum-gray-900); + --spectrum-swatch-border-opacity: 0.51; + --spectrum-swatch-disabled-icon-border-color: var(--spectrum-black); + --spectrum-swatch-disabled-icon-border-opacity: 0.51; + --spectrum-thumbnail-border-color: var(--spectrum-gray-800); + --spectrum-thumbnail-border-opacity: 0.1; + --spectrum-thumbnail-opacity-disabled: var(--spectrum-opacity-disabled); + --spectrum-opacity-checkerboard-square-light: var(--spectrum-white); + --spectrum-avatar-opacity-disabled: var(--spectrum-opacity-disabled); + --spectrum-color-area-border-color: var(--spectrum-gray-900); + --spectrum-color-area-border-opacity: 0.1; + --spectrum-color-slider-border-color: var(--spectrum-gray-900); + --spectrum-color-slider-border-opacity: 0.1; + --spectrum-color-loupe-drop-shadow-color: var( + --spectrum-transparent-black-300 + ); + --spectrum-color-loupe-inner-border: var(--spectrum-transparent-black-200); + --spectrum-color-loupe-outer-border: var(--spectrum-white); + --spectrum-card-selection-background-color: var(--spectrum-gray-100); + --spectrum-card-selection-background-color-opacity: 0.95; + --spectrum-drop-zone-background-color: var(--spectrum-accent-visual-color); + --spectrum-drop-zone-background-color-opacity: 0.1; + --spectrum-drop-zone-background-color-opacity-filled: 0.3; + --spectrum-coach-mark-pagination-color: var(--spectrum-gray-600); + --spectrum-color-handle-inner-border-color: var(--spectrum-black); + --spectrum-color-handle-inner-border-opacity: 0.42; + --spectrum-color-handle-outer-border-color: var(--spectrum-black); + --spectrum-color-handle-outer-border-opacity: var( + --spectrum-color-handle-inner-border-opacity + ); + --spectrum-color-handle-drop-shadow-color: var( + --spectrum-drop-shadow-color + ); + --spectrum-floating-action-button-drop-shadow-color: var( + --spectrum-transparent-black-300 + ); + --spectrum-floating-action-button-shadow-color: var( + --spectrum-floating-action-button-drop-shadow-color + ); + --spectrum-table-row-hover-color: var(--spectrum-gray-900); + --spectrum-table-row-hover-opacity: 0.07; + --spectrum-table-selected-row-background-color: var( + --spectrum-informative-background-color-default + ); + --spectrum-table-selected-row-background-opacity: 0.1; + --spectrum-table-selected-row-background-color-non-emphasized: var( + --spectrum-neutral-background-color-selected-default + ); + --spectrum-table-selected-row-background-opacity-non-emphasized: 0.1; + --spectrum-table-row-down-opacity: 0.1; + --spectrum-table-selected-row-background-opacity-hover: 0.15; + --spectrum-table-selected-row-background-opacity-non-emphasized-hover: 0.15; + --spectrum-black-rgb: 0, 0, 0; + --spectrum-black: rgba(var(--spectrum-black-rgb)); + --spectrum-transparent-black-1000-rgb: 0, 0, 0; + --spectrum-transparent-black-1000: rgba( + var(--spectrum-transparent-black-1000-rgb) + ); + --spectrum-icon-color-inverse: var(--spectrum-gray-50); + --spectrum-icon-color-primary-default: var( + --spectrum-neutral-content-color-default + ); + --spectrum-asterisk-icon-size-75: 8px; + --spectrum-radio-button-selection-indicator: 4px; + --spectrum-field-label-top-margin-small: 0px; + --spectrum-field-label-to-component: 0px; + --spectrum-help-text-to-component: 0px; + --spectrum-status-light-dot-size-small: 8px; + --spectrum-action-button-edge-to-hold-icon-extra-small: 3px; + --spectrum-action-button-edge-to-hold-icon-small: 3px; + --spectrum-button-minimum-width-multiplier: 2.25; + --spectrum-divider-thickness-small: 1px; + --spectrum-divider-thickness-medium: 2px; + --spectrum-divider-thickness-large: 4px; + --spectrum-swatch-rectangle-width-multiplier: 2; + --spectrum-swatch-slash-thickness-extra-small: 2px; + --spectrum-swatch-slash-thickness-small: 3px; + --spectrum-swatch-slash-thickness-medium: 4px; + --spectrum-swatch-slash-thickness-large: 5px; + --spectrum-progress-bar-minimum-width: 48px; + --spectrum-progress-bar-maximum-width: 768px; + --spectrum-meter-minimum-width: 48px; + --spectrum-meter-maximum-width: 768px; + --spectrum-meter-default-width: var(--spectrum-meter-width); + --spectrum-in-line-alert-minimum-width: 240px; + --spectrum-popover-tip-width: 16px; + --spectrum-popover-tip-height: 8px; + --spectrum-menu-item-label-to-description: 1px; + --spectrum-menu-item-section-divider-height: 8px; + --spectrum-slider-track-thickness: 2px; + --spectrum-slider-handle-gap: 4px; + --spectrum-picker-minimum-width-multiplier: 2; + --spectrum-picker-border-width: var(--spectrum-border-width-100); + --spectrum-picker-end-edge-to-disclousure-icon-quiet: var( + --spectrum-picker-end-edge-to-disclosure-icon-quiet + ); + --spectrum-picker-end-edge-to-disclosure-icon-quiet: 0px; + --spectrum-text-field-minimum-width-multiplier: 1.5; + --spectrum-combo-box-minimum-width-multiplier: 2.5; + --spectrum-combo-box-quiet-minimum-width-multiplier: 2; + --spectrum-combo-box-visual-to-field-button-quiet: 0px; + --spectrum-alert-dialog-minimum-width: 288px; + --spectrum-alert-dialog-maximum-width: 480px; + --spectrum-contextual-help-minimum-width: 268px; + --spectrum-breadcrumbs-height: var(--spectrum-component-height-300); + --spectrum-breadcrumbs-height-compact: var(--spectrum-component-height-200); + --spectrum-breadcrumbs-end-edge-to-text: 0px; + --spectrum-breadcrumbs-truncated-menu-to-separator-icon: 0px; + --spectrum-breadcrumbs-start-edge-to-truncated-menu: 0px; + --spectrum-breadcrumbs-truncated-menu-to-bottom-text: 0px; + --spectrum-alert-banner-to-top-workflow-icon: var( + --spectrum-alert-banner-top-to-workflow-icon + ); + --spectrum-alert-banner-to-top-text: var( + --spectrum-alert-banner-top-to-text + ); + --spectrum-alert-banner-to-bottom-text: var( + --spectrum-alert-banner-bottom-to-text + ); + --spectrum-color-area-border-width: var(--spectrum-border-width-100); + --spectrum-color-area-border-rounding: var( + --spectrum-corner-radius-medium-size-small + ); + --spectrum-color-wheel-color-area-margin: 12px; + --spectrum-color-slider-border-width: 1px; + --spectrum-color-slider-border-rounding: var( + --spectrum-corner-radius-medium-size-small + ); + --spectrum-floating-action-button-drop-shadow-blur: 12px; + --spectrum-floating-action-button-drop-shadow-y: 4px; + --spectrum-illustrated-message-maximum-width: 380px; + --spectrum-search-field-minimum-width-multiplier: 3; + --spectrum-color-loupe-height: 64px; + --spectrum-color-loupe-width: 48px; + --spectrum-color-loupe-bottom-to-color-handle: 12px; + --spectrum-color-loupe-outer-border-width: var(--spectrum-border-width-200); + --spectrum-color-loupe-inner-border-width: 1px; + --spectrum-color-loupe-drop-shadow-y: 2px; + --spectrum-color-loupe-drop-shadow-blur: 8px; + --spectrum-card-minimum-width: 100px; + --spectrum-card-preview-minimum-height: 130px; + --spectrum-card-selection-background-size: 40px; + --spectrum-drop-zone-width: 428px; + --spectrum-drop-zone-content-maximum-width: var( + --spectrum-illustrated-message-maximum-width + ); + --spectrum-drop-zone-border-dash-length: 8px; + --spectrum-drop-zone-border-dash-gap: 4px; + --spectrum-drop-zone-title-size: var( + --spectrum-illustrated-message-title-size + ); + --spectrum-drop-zone-cjk-title-size: var( + --spectrum-illustrated-message-cjk-title-size + ); + --spectrum-drop-zone-body-size: var( + --spectrum-illustrated-message-body-size + ); + --spectrum-accordion-top-to-text-compact-small: 2px; + --spectrum-accordion-top-to-text-compact-medium: 4px; + --spectrum-accordion-disclosure-indicator-to-text: 0px; + --spectrum-accordion-edge-to-disclosure-indicator: 0px; + --spectrum-accordion-edge-to-text: 0px; + --spectrum-accordion-focus-indicator-gap: 0px; + --spectrum-color-handle-border-width: var(--spectrum-border-width-200); + --spectrum-color-handle-inner-border-width: 1px; + --spectrum-color-handle-outer-border-width: 1px; + --spectrum-color-handle-drop-shadow-x: 0; + --spectrum-color-handle-drop-shadow-y: 0; + --spectrum-color-handle-drop-shadow-blur: 0; + --spectrum-table-row-height-small-compact: var( + --spectrum-component-height-75 + ); + --spectrum-table-row-height-medium-compact: var( + --spectrum-component-height-100 + ); + --spectrum-table-row-height-large-compact: var( + --spectrum-component-height-200 + ); + --spectrum-table-row-height-extra-large-compact: var( + --spectrum-component-height-300 + ); + --spectrum-table-row-top-to-text-small-compact: var( + --spectrum-component-top-to-text-75 + ); + --spectrum-table-row-top-to-text-medium-compact: var( + --spectrum-component-top-to-text-100 + ); + --spectrum-table-row-top-to-text-large-compact: var( + --spectrum-component-top-to-text-200 + ); + --spectrum-table-row-top-to-text-extra-large-compact: var( + --spectrum-component-top-to-text-300 + ); + --spectrum-table-row-bottom-to-text-small-compact: var( + --spectrum-component-bottom-to-text-75 + ); + --spectrum-table-row-bottom-to-text-medium-compact: var( + --spectrum-component-bottom-to-text-100 + ); + --spectrum-table-row-bottom-to-text-large-compact: var( + --spectrum-component-bottom-to-text-200 + ); + --spectrum-table-row-bottom-to-text-extra-large-compact: var( + --spectrum-component-bottom-to-text-300 + ); + --spectrum-table-edge-to-content: 16px; + --spectrum-table-border-divider-width: 1px; + --spectrum-tab-item-height-small: var(--spectrum-component-height-200); + --spectrum-tab-item-height-medium: var(--spectrum-component-height-300); + --spectrum-tab-item-height-large: var(--spectrum-component-height-400); + --spectrum-tab-item-height-extra-large: var( + --spectrum-component-height-500 + ); + --spectrum-tab-item-compact-height-small: var( + --spectrum-component-height-75 + ); + --spectrum-tab-item-compact-height-medium: var( + --spectrum-component-height-100 + ); + --spectrum-tab-item-compact-height-large: var( + --spectrum-component-height-200 + ); + --spectrum-tab-item-compact-height-extra-large: var( + --spectrum-component-height-300 + ); + --spectrum-tab-item-start-to-edge-quiet: 0px; + --spectrum-in-field-button-width-stacked-small: 20px; + --spectrum-in-field-button-width-stacked-medium: 28px; + --spectrum-in-field-button-width-stacked-large: 36px; + --spectrum-in-field-button-width-stacked-extra-large: 44px; + --spectrum-in-field-button-fill-stacked-inner-border-rounding: 0px; + --spectrum-in-field-button-edge-to-fill: 0px; + --spectrum-in-field-button-stacked-inner-edge-to-fill: 0px; + --spectrum-in-field-button-edge-to-disclosure-icon-stacked-small: 7px; + --spectrum-in-field-button-edge-to-disclosure-icon-stacked-medium: 9px; + --spectrum-in-field-button-edge-to-disclosure-icon-stacked-large: 13px; + --spectrum-in-field-button-edge-to-disclosure-icon-stacked-extra-large: 16px; + --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-small: 3px; + --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-medium: 3px; + --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-large: 4px; + --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-extra-large: 5px; + --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-small: var( + --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-small + ); + --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-medium: var( + --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-medium + ); + --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-large: var( + --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-large + ); + --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-extra-large: var( + --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-extra-large + ); + --spectrum-corner-radius-0: 0px; + --spectrum-corner-radius-75: 4px; + --spectrum-corner-radius-100: 8px; + --spectrum-corner-radius-200: 10px; + --spectrum-corner-radius-300: 6px; + --spectrum-corner-radius-400: 7px; + --spectrum-corner-radius-500: 8px; + --spectrum-corner-radius-600: 9px; + --spectrum-corner-radius-700: 10px; + --spectrum-corner-radius-800: 16px; + --spectrum-corner-radius-1000: 0.5; + --spectrum-corner-radius-none: var(--spectrum-corner-radius-0); + --spectrum-corner-radius-small-default: var(--spectrum-corner-radius-100); + --spectrum-corner-radius-medium-default: var(--spectrum-corner-radius-500); + --spectrum-corner-radius-large-default: var(--spectrum-corner-radius-700); + --spectrum-corner-radius-extra-large-default: var( + --spectrum-corner-radius-800 + ); + --spectrum-corner-radius-full: var(--spectrum-corner-radius-1000); + --spectrum-corner-radius-small-size-small: var(--spectrum-corner-radius-75); + --spectrum-corner-radius-small-size-medium: var( + --spectrum-corner-radius-100 + ); + --spectrum-corner-radius-small-size-large: var( + --spectrum-corner-radius-200 + ); + --spectrum-corner-radius-small-size-extra-large: var( + --spectrum-corner-radius-300 + ); + --spectrum-corner-radius-medium-size-extra-small: var( + --spectrum-corner-radius-300 + ); + --spectrum-corner-radius-medium-size-small: var( + --spectrum-corner-radius-400 + ); + --spectrum-corner-radius-medium-size-medium: var( + --spectrum-corner-radius-500 + ); + --spectrum-corner-radius-medium-size-large: var( + --spectrum-corner-radius-600 + ); + --spectrum-corner-radius-medium-size-extra-large: var( + --spectrum-corner-radius-700 + ); + --spectrum-drop-shadow-x: 0px; + --spectrum-android-elevation: 2dp; + --spectrum-spacing-50: 2px; + --spectrum-spacing-75: 4px; + --spectrum-spacing-100: 8px; + --spectrum-spacing-200: 12px; + --spectrum-spacing-300: 16px; + --spectrum-spacing-400: 24px; + --spectrum-spacing-500: 32px; + --spectrum-spacing-600: 40px; + --spectrum-spacing-700: 48px; + --spectrum-spacing-800: 64px; + --spectrum-spacing-900: 80px; + --spectrum-spacing-1000: 96px; + --spectrum-focus-indicator-thickness: 2px; + --spectrum-focus-indicator-gap: 2px; + --spectrum-border-width-100: 1px; + --spectrum-border-width-200: 2px; + --spectrum-border-width-400: 4px; + --spectrum-field-edge-to-text-quiet: 0px; + --spectrum-field-edge-to-visual-quiet: 0px; + --spectrum-field-edge-to-border-quiet: 0px; + --spectrum-field-edge-to-alert-icon-quiet: 0px; + --spectrum-field-edge-to-validation-icon-quiet: 0px; + --spectrum-text-underline-thickness: 1px; + --spectrum-text-underline-gap: 1px; + --spectrum-accent-color-100: var(--spectrum-blue-100); + --spectrum-accent-color-200: var(--spectrum-blue-200); + --spectrum-accent-color-300: var(--spectrum-blue-300); + --spectrum-accent-color-400: var(--spectrum-blue-400); + --spectrum-accent-color-500: var(--spectrum-blue-500); + --spectrum-accent-color-600: var(--spectrum-blue-600); + --spectrum-accent-color-700: var(--spectrum-blue-700); + --spectrum-accent-color-800: var(--spectrum-blue-800); + --spectrum-accent-color-900: var(--spectrum-blue-900); + --spectrum-accent-color-1000: var(--spectrum-blue-1000); + --spectrum-accent-color-1100: var(--spectrum-blue-1100); + --spectrum-accent-color-1200: var(--spectrum-blue-1200); + --spectrum-accent-color-1300: var(--spectrum-blue-1300); + --spectrum-accent-color-1400: var(--spectrum-blue-1400); + --spectrum-accent-color-1500: var(--spectrum-blue-1500); + --spectrum-accent-color-1600: var(--spectrum-blue-1600); + --spectrum-informative-color-100: var(--spectrum-blue-100); + --spectrum-informative-color-200: var(--spectrum-blue-200); + --spectrum-informative-color-300: var(--spectrum-blue-300); + --spectrum-informative-color-400: var(--spectrum-blue-400); + --spectrum-informative-color-500: var(--spectrum-blue-500); + --spectrum-informative-color-600: var(--spectrum-blue-600); + --spectrum-informative-color-700: var(--spectrum-blue-700); + --spectrum-informative-color-800: var(--spectrum-blue-800); + --spectrum-informative-color-900: var(--spectrum-blue-900); + --spectrum-informative-color-1000: var(--spectrum-blue-1000); + --spectrum-informative-color-1100: var(--spectrum-blue-1100); + --spectrum-informative-color-1200: var(--spectrum-blue-1200); + --spectrum-informative-color-1300: var(--spectrum-blue-1300); + --spectrum-informative-color-1400: var(--spectrum-blue-1400); + --spectrum-informative-color-1500: var(--spectrum-blue-1500); + --spectrum-informative-color-1600: var(--spectrum-blue-1600); + --spectrum-negative-color-100: var(--spectrum-red-100); + --spectrum-negative-color-200: var(--spectrum-red-200); + --spectrum-negative-color-300: var(--spectrum-red-300); + --spectrum-negative-color-400: var(--spectrum-red-400); + --spectrum-negative-color-500: var(--spectrum-red-500); + --spectrum-negative-color-600: var(--spectrum-red-600); + --spectrum-negative-color-700: var(--spectrum-red-700); + --spectrum-negative-color-800: var(--spectrum-red-800); + --spectrum-negative-color-900: var(--spectrum-red-900); + --spectrum-negative-color-1000: var(--spectrum-red-1000); + --spectrum-negative-color-1100: var(--spectrum-red-1100); + --spectrum-negative-color-1200: var(--spectrum-red-1200); + --spectrum-negative-color-1300: var(--spectrum-red-1300); + --spectrum-negative-color-1400: var(--spectrum-red-1400); + --spectrum-negative-color-1500: var(--spectrum-red-1500); + --spectrum-negative-color-1600: var(--spectrum-red-1600); + --spectrum-notice-color-100: var(--spectrum-orange-100); + --spectrum-notice-color-200: var(--spectrum-orange-200); + --spectrum-notice-color-300: var(--spectrum-orange-300); + --spectrum-notice-color-400: var(--spectrum-orange-400); + --spectrum-notice-color-500: var(--spectrum-orange-500); + --spectrum-notice-color-600: var(--spectrum-orange-600); + --spectrum-notice-color-700: var(--spectrum-orange-700); + --spectrum-notice-color-800: var(--spectrum-orange-800); + --spectrum-notice-color-900: var(--spectrum-orange-900); + --spectrum-notice-color-1000: var(--spectrum-orange-1000); + --spectrum-notice-color-1100: var(--spectrum-orange-1100); + --spectrum-notice-color-1200: var(--spectrum-orange-1200); + --spectrum-notice-color-1300: var(--spectrum-orange-1300); + --spectrum-notice-color-1400: var(--spectrum-orange-1400); + --spectrum-notice-color-1500: var(--spectrum-orange-1500); + --spectrum-notice-color-1600: var(--spectrum-orange-1600); + --spectrum-positive-color-100: var(--spectrum-green-100); + --spectrum-positive-color-200: var(--spectrum-green-200); + --spectrum-positive-color-300: var(--spectrum-green-300); + --spectrum-positive-color-400: var(--spectrum-green-400); + --spectrum-positive-color-500: var(--spectrum-green-500); + --spectrum-positive-color-600: var(--spectrum-green-600); + --spectrum-positive-color-700: var(--spectrum-green-700); + --spectrum-positive-color-800: var(--spectrum-green-800); + --spectrum-positive-color-900: var(--spectrum-green-900); + --spectrum-positive-color-1000: var(--spectrum-green-1000); + --spectrum-positive-color-1100: var(--spectrum-green-1100); + --spectrum-positive-color-1200: var(--spectrum-green-1200); + --spectrum-positive-color-1300: var(--spectrum-green-1300); + --spectrum-positive-color-1400: var(--spectrum-green-1400); + --spectrum-positive-color-1500: var(--spectrum-green-1500); + --spectrum-positive-color-1600: var(--spectrum-green-1600); + --spectrum-negative-subdued-background-color-hover: var( + --spectrum-negative-color-300 + ); + --spectrum-negative-subdued-background-color-down: var( + --spectrum-negative-color-300 + ); + --spectrum-negative-subdued-background-color-key-focus: var( + --spectrum-negative-color-300 + ); + --spectrum-default-font-family: var(--spectrum-sans-serif-font-family); + --spectrum-sans-serif-font-family: adobe clean; + --spectrum-serif-font-family: adobe clean serif; + --spectrum-cjk-font-family: adobe clean han; + --spectrum-light-font-weight: 300; + --spectrum-regular-font-weight: 400; + --spectrum-medium-font-weight: 500; + --spectrum-bold-font-weight: 700; + --spectrum-extra-bold-font-weight: 800; + --spectrum-black-font-weight: 900; + --spectrum-italic-font-style: italic; + --spectrum-default-font-style: normal; + --spectrum-line-height-100: 1.3; + --spectrum-line-height-200: 1.5; + --spectrum-cjk-line-height-100: 1.5; + --spectrum-cjk-line-height-200: 1.7; + --spectrum-cjk-letter-spacing: 0.05em; + --spectrum-heading-sans-serif-font-family: var( + --spectrum-sans-serif-font-family + ); + --spectrum-heading-serif-font-family: var(--spectrum-serif-font-family); + --spectrum-heading-cjk-font-family: var(--spectrum-cjk-font-family); + --spectrum-heading-sans-serif-light-font-weight: var( + --spectrum-light-font-weight + ); + --spectrum-heading-sans-serif-light-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-serif-light-font-weight: var( + --spectrum-regular-font-weight + ); + --spectrum-heading-serif-light-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-cjk-light-font-weight: var(--spectrum-light-font-weight); + --spectrum-heading-cjk-light-font-style: var(--spectrum-default-font-style); + --spectrum-heading-sans-serif-font-weight: var(--spectrum-bold-font-weight); + --spectrum-heading-sans-serif-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-serif-font-weight: var(--spectrum-bold-font-weight); + --spectrum-heading-serif-font-style: var(--spectrum-default-font-style); + --spectrum-heading-cjk-font-weight: var(--spectrum-extra-bold-font-weight); + --spectrum-heading-cjk-font-style: var(--spectrum-default-font-style); + --spectrum-heading-sans-serif-heavy-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-sans-serif-heavy-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-serif-heavy-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-serif-heavy-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-cjk-heavy-font-weight: var(--spectrum-black-font-weight); + --spectrum-heading-cjk-heavy-font-style: var(--spectrum-default-font-style); + --spectrum-heading-sans-serif-light-strong-font-weight: var( + --spectrum-bold-font-weight + ); + --spectrum-heading-sans-serif-light-strong-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-serif-light-strong-font-weight: var( + --spectrum-bold-font-weight + ); + --spectrum-heading-serif-light-strong-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-cjk-light-strong-font-weight: var( + --spectrum-extra-bold-font-weight + ); + --spectrum-heading-cjk-light-strong-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-sans-serif-strong-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-sans-serif-strong-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-serif-strong-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-serif-strong-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-cjk-strong-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-cjk-strong-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-sans-serif-heavy-strong-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-sans-serif-heavy-strong-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-serif-heavy-strong-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-serif-heavy-strong-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-cjk-heavy-strong-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-cjk-heavy-strong-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-sans-serif-light-emphasized-font-weight: var( + --spectrum-light-font-weight + ); + --spectrum-heading-sans-serif-light-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-heading-serif-light-emphasized-font-weight: var( + --spectrum-regular-font-weight + ); + --spectrum-heading-serif-light-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-heading-cjk-light-emphasized-font-weight: var( + --spectrum-regular-font-weight + ); + --spectrum-heading-cjk-light-emphasized-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-sans-serif-emphasized-font-weight: var( + --spectrum-bold-font-weight + ); + --spectrum-heading-sans-serif-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-heading-serif-emphasized-font-weight: var( + --spectrum-bold-font-weight + ); + --spectrum-heading-serif-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-heading-cjk-emphasized-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-cjk-emphasized-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-sans-serif-heavy-emphasized-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-sans-serif-heavy-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-heading-serif-heavy-emphasized-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-serif-heavy-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-heading-cjk-heavy-emphasized-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-cjk-heavy-emphasized-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-sans-serif-light-strong-emphasized-font-weight: var( + --spectrum-bold-font-weight + ); + --spectrum-heading-sans-serif-light-strong-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-heading-serif-light-strong-emphasized-font-weight: var( + --spectrum-bold-font-weight + ); + --spectrum-heading-serif-light-strong-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-heading-cjk-light-strong-emphasized-font-weight: var( + --spectrum-extra-bold-font-weight + ); + --spectrum-heading-cjk-light-strong-emphasized-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-sans-serif-strong-emphasized-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-sans-serif-strong-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-heading-serif-strong-emphasized-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-serif-strong-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-heading-cjk-strong-emphasized-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-cjk-strong-emphasized-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-sans-serif-heavy-strong-emphasized-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-sans-serif-heavy-strong-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-heading-serif-heavy-strong-emphasized-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-serif-heavy-strong-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-heading-cjk-heavy-strong-emphasized-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-cjk-heavy-strong-emphasized-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-size-xxxl: var(--spectrum-font-size-1300); + --spectrum-heading-size-xxl: var(--spectrum-font-size-1100); + --spectrum-heading-size-xl: var(--spectrum-font-size-900); + --spectrum-heading-size-l: var(--spectrum-font-size-700); + --spectrum-heading-size-m: var(--spectrum-font-size-500); + --spectrum-heading-size-s: var(--spectrum-font-size-300); + --spectrum-heading-size-xs: var(--spectrum-font-size-200); + --spectrum-heading-size-xxs: var(--spectrum-font-size-100); + --spectrum-heading-cjk-size-xxxl: var(--spectrum-font-size-1300); + --spectrum-heading-cjk-size-xxl: var(--spectrum-font-size-900); + --spectrum-heading-cjk-size-xl: var(--spectrum-font-size-800); + --spectrum-heading-cjk-size-l: var(--spectrum-font-size-600); + --spectrum-heading-cjk-size-m: var(--spectrum-font-size-400); + --spectrum-heading-cjk-size-s: var(--spectrum-font-size-300); + --spectrum-heading-cjk-size-xs: var(--spectrum-font-size-200); + --spectrum-heading-cjk-size-xxs: var(--spectrum-font-size-100); + --spectrum-heading-line-height: var(--spectrum-line-height-100); + --spectrum-heading-cjk-line-height: var(--spectrum-cjk-line-height-100); + --spectrum-heading-margin-top-multiplier: 0.88888889; + --spectrum-heading-margin-bottom-multiplier: 0.25; + --spectrum-heading-color: var(--spectrum-gray-900); + --spectrum-body-sans-serif-font-family: var( + --spectrum-sans-serif-font-family + ); + --spectrum-body-serif-font-family: var(--spectrum-serif-font-family); + --spectrum-body-cjk-font-family: var(--spectrum-cjk-font-family); + --spectrum-body-sans-serif-font-weight: var(--spectrum-regular-font-weight); + --spectrum-body-sans-serif-font-style: var(--spectrum-default-font-style); + --spectrum-body-serif-font-weight: var(--spectrum-regular-font-weight); + --spectrum-body-serif-font-style: var(--spectrum-default-font-style); + --spectrum-body-cjk-font-weight: var(--spectrum-regular-font-weight); + --spectrum-body-cjk-font-style: var(--spectrum-default-font-style); + --spectrum-body-sans-serif-strong-font-weight: var( + --spectrum-bold-font-weight + ); + --spectrum-body-sans-serif-strong-font-style: var( + --spectrum-default-font-style + ); + --spectrum-body-serif-strong-font-weight: var(--spectrum-bold-font-weight); + --spectrum-body-serif-strong-font-style: var(--spectrum-default-font-style); + --spectrum-body-cjk-strong-font-weight: var(--spectrum-black-font-weight); + --spectrum-body-cjk-strong-font-style: var(--spectrum-default-font-style); + --spectrum-body-sans-serif-emphasized-font-weight: var( + --spectrum-regular-font-weight + ); + --spectrum-body-sans-serif-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-body-serif-emphasized-font-weight: var( + --spectrum-regular-font-weight + ); + --spectrum-body-serif-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-body-cjk-emphasized-font-weight: var( + --spectrum-extra-bold-font-weight + ); + --spectrum-body-cjk-emphasized-font-style: var( + --spectrum-default-font-style + ); + --spectrum-body-sans-serif-strong-emphasized-font-weight: var( + --spectrum-bold-font-weight + ); + --spectrum-body-sans-serif-strong-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-body-serif-strong-emphasized-font-weight: var( + --spectrum-bold-font-weight + ); + --spectrum-body-serif-strong-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-body-cjk-strong-emphasized-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-body-cjk-strong-emphasized-font-style: var( + --spectrum-default-font-style + ); + --spectrum-body-size-xxxl: var(--spectrum-font-size-600); + --spectrum-body-size-xxl: var(--spectrum-font-size-500); + --spectrum-body-size-xl: var(--spectrum-font-size-400); + --spectrum-body-size-l: var(--spectrum-font-size-300); + --spectrum-body-size-m: var(--spectrum-font-size-200); + --spectrum-body-size-s: var(--spectrum-font-size-100); + --spectrum-body-size-xs: var(--spectrum-font-size-75); + --spectrum-body-line-height: var(--spectrum-line-height-200); + --spectrum-body-cjk-line-height: var(--spectrum-cjk-line-height-200); + --spectrum-body-margin-multiplier: 0.75; + --spectrum-body-color: var(--spectrum-gray-800); + --spectrum-detail-sans-serif-font-family: var( + --spectrum-sans-serif-font-family + ); + --spectrum-detail-serif-font-family: var(--spectrum-serif-font-family); + --spectrum-detail-cjk-font-family: var(--spectrum-cjk-font-family); + --spectrum-detail-sans-serif-font-weight: var(--spectrum-bold-font-weight); + --spectrum-detail-sans-serif-font-style: var(--spectrum-default-font-style); + --spectrum-detail-serif-font-weight: var(--spectrum-bold-font-weight); + --spectrum-detail-serif-font-style: var(--spectrum-default-font-style); + --spectrum-detail-cjk-font-weight: var(--spectrum-extra-bold-font-weight); + --spectrum-detail-cjk-font-style: var(--spectrum-default-font-style); + --spectrum-detail-sans-serif-light-font-weight: var( + --spectrum-regular-font-weight + ); + --spectrum-detail-sans-serif-light-font-style: var( + --spectrum-default-font-style + ); + --spectrum-detail-serif-light-font-weight: var( + --spectrum-regular-font-weight + ); + --spectrum-detail-serif-light-font-style: var( + --spectrum-default-font-style + ); + --spectrum-detail-cjk-light-font-weight: var(--spectrum-light-font-weight); + --spectrum-detail-cjk-light-font-style: var(--spectrum-default-font-style); + --spectrum-detail-sans-serif-strong-font-weight: var( + --spectrum-bold-font-weight + ); + --spectrum-detail-sans-serif-strong-font-style: var( + --spectrum-default-font-style + ); + --spectrum-detail-serif-strong-font-weight: var( + --spectrum-bold-font-weight + ); + --spectrum-detail-serif-strong-font-style: var( + --spectrum-default-font-style + ); + --spectrum-detail-cjk-strong-font-weight: var(--spectrum-black-font-weight); + --spectrum-detail-cjk-strong-font-style: var(--spectrum-default-font-style); + --spectrum-detail-sans-serif-light-strong-font-weight: var( + --spectrum-regular-font-weight + ); + --spectrum-detail-sans-serif-light-strong-font-style: var( + --spectrum-default-font-style + ); + --spectrum-detail-serif-light-strong-font-weight: var( + --spectrum-regular-font-weight + ); + --spectrum-detail-serif-light-strong-font-style: var( + --spectrum-default-font-style + ); + --spectrum-detail-cjk-light-strong-font-weight: var( + --spectrum-extra-bold-font-weight + ); + --spectrum-detail-cjk-light-strong-font-style: var( + --spectrum-default-font-style + ); + --spectrum-detail-sans-serif-emphasized-font-weight: var( + --spectrum-bold-font-weight + ); + --spectrum-detail-sans-serif-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-detail-serif-emphasized-font-weight: var( + --spectrum-bold-font-weight + ); + --spectrum-detail-serif-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-detail-cjk-emphasized-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-detail-cjk-emphasized-font-style: var( + --spectrum-default-font-style + ); + --spectrum-detail-sans-serif-light-emphasized-font-weight: var( + --spectrum-regular-font-weight + ); + --spectrum-detail-sans-serif-light-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-detail-serif-light-emphasized-font-weight: var( + --spectrum-regular-font-weight + ); + --spectrum-detail-serif-light-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-detail-cjk-light-emphasized-font-weight: var( + --spectrum-regular-font-weight + ); + --spectrum-detail-cjk-light-emphasized-font-style: var( + --spectrum-default-font-style + ); + --spectrum-detail-sans-serif-strong-emphasized-font-weight: var( + --spectrum-bold-font-weight + ); + --spectrum-detail-sans-serif-strong-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-detail-serif-strong-emphasized-font-weight: var( + --spectrum-bold-font-weight + ); + --spectrum-detail-serif-strong-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-detail-cjk-strong-emphasized-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-detail-cjk-strong-emphasized-font-style: var( + --spectrum-default-font-style + ); + --spectrum-detail-sans-serif-light-strong-emphasized-font-weight: var( + --spectrum-regular-font-weight + ); + --spectrum-detail-sans-serif-light-strong-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-detail-serif-light-strong-emphasized-font-weight: var( + --spectrum-regular-font-weight + ); + --spectrum-detail-serif-light-strong-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-detail-cjk-light-strong-emphasized-font-weight: var( + --spectrum-extra-bold-font-weight + ); + --spectrum-detail-cjk-light-strong-emphasized-font-style: var( + --spectrum-default-font-style + ); + --spectrum-detail-size-xl: var(--spectrum-font-size-200); + --spectrum-detail-size-l: var(--spectrum-font-size-100); + --spectrum-detail-size-m: var(--spectrum-font-size-75); + --spectrum-detail-size-s: var(--spectrum-font-size-50); + --spectrum-detail-line-height: var(--spectrum-line-height-100); + --spectrum-detail-cjk-line-height: var(--spectrum-cjk-line-height-100); + --spectrum-detail-margin-top-multiplier: 0.88888889; + --spectrum-detail-margin-bottom-multiplier: 0.25; + --spectrum-detail-letter-spacing: 0.06em; + --spectrum-detail-sans-serif-text-transform: uppercase; + --spectrum-detail-serif-text-transform: uppercase; + --spectrum-detail-color: var(--spectrum-gray-900); + --spectrum-code-font-family: source code pro; + --spectrum-code-cjk-font-family: var(--spectrum-code-font-family); + --spectrum-code-font-weight: var(--spectrum-regular-font-weight); + --spectrum-code-font-style: var(--spectrum-default-font-style); + --spectrum-code-cjk-font-weight: var(--spectrum-regular-font-weight); + --spectrum-code-cjk-font-style: var(--spectrum-default-font-style); + --spectrum-code-strong-font-weight: var(--spectrum-bold-font-weight); + --spectrum-code-strong-font-style: var(--spectrum-default-font-style); + --spectrum-code-cjk-strong-font-weight: var(--spectrum-black-font-weight); + --spectrum-code-cjk-strong-font-style: var(--spectrum-default-font-style); + --spectrum-code-emphasized-font-weight: var(--spectrum-regular-font-weight); + --spectrum-code-emphasized-font-style: var(--spectrum-italic-font-style); + --spectrum-code-cjk-emphasized-font-weight: var( + --spectrum-bold-font-weight + ); + --spectrum-code-cjk-emphasized-font-style: var( + --spectrum-default-font-style + ); + --spectrum-code-strong-emphasized-font-weight: var( + --spectrum-bold-font-weight + ); + --spectrum-code-strong-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-code-cjk-strong-emphasized-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-code-cjk-strong-emphasized-font-style: var( + --spectrum-default-font-style + ); + --spectrum-code-size-xl: var(--spectrum-font-size-400); + --spectrum-code-size-l: var(--spectrum-font-size-300); + --spectrum-code-size-m: var(--spectrum-font-size-200); + --spectrum-code-size-s: var(--spectrum-font-size-100); + --spectrum-code-size-xs: var(--spectrum-font-size-75); + --spectrum-code-line-height: var(--spectrum-line-height-200); + --spectrum-code-cjk-line-height: var(--spectrum-cjk-line-height-200); + --spectrum-code-color: var(--spectrum-gray-800); + --system: spectrum; + + --spectrum-animation-linear: cubic-bezier(0, 0, 1, 1); + --spectrum-animation-duration-0: 0ms; + --spectrum-animation-duration-100: 130ms; + --spectrum-animation-duration-200: 160ms; + --spectrum-animation-duration-300: 190ms; + --spectrum-animation-duration-400: 220ms; + --spectrum-animation-duration-500: 250ms; + --spectrum-animation-duration-600: 300ms; + --spectrum-animation-duration-700: 350ms; + --spectrum-animation-duration-800: 400ms; + --spectrum-animation-duration-900: 450ms; + --spectrum-animation-duration-1000: 500ms; + --spectrum-animation-duration-2000: 1000ms; + --spectrum-animation-duration-4000: 2000ms; + --spectrum-animation-duration-6000: 3000ms; + --spectrum-animation-ease-in-out: cubic-bezier(0.45, 0, 0.4, 1); + --spectrum-animation-ease-in: cubic-bezier(0.5, 0, 1, 1); + --spectrum-animation-ease-out: cubic-bezier(0, 0, 0.4, 1); + --spectrum-animation-ease-linear: cubic-bezier(0, 0, 1, 1); + + --spectrum-sans-font-family-stack: adobe-clean, + var(--spectrum-sans-serif-font-family), 'Source Sans Pro', -apple-system, + blinkmacsystemfont, 'Segoe UI', roboto, ubuntu, 'Trebuchet MS', + 'Lucida Grande', sans-serif; + --spectrum-sans-serif-font: var(--spectrum-sans-font-family-stack); + + --spectrum-serif-font-family-stack: adobe-clean-serif, + var(--spectrum-serif-font-family), 'Source Serif Pro', georgia, serif; + --spectrum-serif-font: var(--spectrum-serif-font-family-stack); + + --spectrum-code-font-family-stack: 'Source Code Pro', monaco, monospace; + + --spectrum-font-family-ar: myriad-arabic, adobe-clean, 'Source Sans Pro', + -apple-system, blinkmacsystemfont, 'Segoe UI', roboto, ubuntu, + 'Trebuchet MS', 'Lucida Grande', sans-serif; + --spectrum-font-family-he: myriad-hebrew, adobe-clean, 'Source Sans Pro', + -apple-system, blinkmacsystemfont, 'Segoe UI', roboto, ubuntu, + 'Trebuchet MS', 'Lucida Grande', sans-serif; + + --spectrum-font-family: var(--spectrum-sans-font-family-stack); + --spectrum-font-style: var(--spectrum-default-font-style); + --spectrum-font-size: var(--spectrum-font-size-100); + + --spectrum-cjk-font-family-stack: adobe-clean-han-japanese, + var(--spectrum-cjk-font-family), sans-serif; + --spectrum-cjk-font: var(--spectrum-code-font-family-stack); + --spectrum-docs-static-white-background-color-rgb: 15, 121, 125; + --spectrum-docs-static-white-background-color: rgba( + var(--spectrum-docs-static-white-background-color-rgb) + ); + --spectrum-docs-static-black-background-color-rgb: 181, 209, 211; + --spectrum-docs-static-black-background-color: rgba( + var(--spectrum-docs-static-black-background-color-rgb) + ); + + --spectrum-coach-indicator-ring-static-white-color: var(--spectrum-white); +} + +:host, +:root { + --spectrum-workflow-icon-size-50: 16px; + --spectrum-workflow-icon-size-75: 18px; + --spectrum-workflow-icon-size-100: 24px; + --spectrum-workflow-icon-size-200: 28px; + --spectrum-workflow-icon-size-300: 30px; + --spectrum-arrow-icon-size-75: 12px; + --spectrum-arrow-icon-size-100: 14px; + --spectrum-arrow-icon-size-200: 16px; + --spectrum-arrow-icon-size-300: 16px; + --spectrum-arrow-icon-size-400: 18px; + --spectrum-arrow-icon-size-500: 22px; + --spectrum-arrow-icon-size-600: 24px; + --spectrum-asterisk-icon-size-100: 10px; + --spectrum-asterisk-icon-size-200: 12px; + --spectrum-asterisk-icon-size-300: 12px; + --spectrum-checkmark-icon-size-50: 12px; + --spectrum-checkmark-icon-size-75: 12px; + --spectrum-checkmark-icon-size-100: 14px; + --spectrum-checkmark-icon-size-200: 14px; + --spectrum-checkmark-icon-size-300: 16px; + --spectrum-checkmark-icon-size-400: 18px; + --spectrum-checkmark-icon-size-500: 20px; + --spectrum-checkmark-icon-size-600: 24px; + --spectrum-chevron-icon-size-50: 8px; + --spectrum-chevron-icon-size-75: 12px; + --spectrum-chevron-icon-size-100: 14px; + --spectrum-chevron-icon-size-200: 14px; + --spectrum-chevron-icon-size-300: 16px; + --spectrum-chevron-icon-size-400: 18px; + --spectrum-chevron-icon-size-500: 20px; + --spectrum-chevron-icon-size-600: 24px; + --spectrum-corner-triangle-icon-size-75: 6px; + --spectrum-corner-triangle-icon-size-100: 7px; + --spectrum-corner-triangle-icon-size-200: 8px; + --spectrum-corner-triangle-icon-size-300: 8px; + --spectrum-cross-icon-size-75: 10px; + --spectrum-cross-icon-size-100: 10px; + --spectrum-cross-icon-size-200: 12px; + --spectrum-cross-icon-size-300: 14px; + --spectrum-cross-icon-size-400: 16px; + --spectrum-cross-icon-size-500: 16px; + --spectrum-cross-icon-size-600: 18px; + --spectrum-dash-icon-size-50: 10px; + --spectrum-dash-icon-size-75: 10px; + --spectrum-dash-icon-size-100: 12px; + --spectrum-dash-icon-size-200: 14px; + --spectrum-dash-icon-size-300: 16px; + --spectrum-dash-icon-size-400: 18px; + --spectrum-dash-icon-size-500: 20px; + --spectrum-dash-icon-size-600: 22px; + --spectrum-checkbox-control-size-small: 16px; + --spectrum-checkbox-control-size-medium: 18px; + --spectrum-checkbox-control-size-large: 20px; + --spectrum-checkbox-control-size-extra-large: 22px; + --spectrum-checkbox-top-to-control-small: 7px; + --spectrum-checkbox-top-to-control-medium: 11px; + --spectrum-checkbox-top-to-control-large: 15px; + --spectrum-checkbox-top-to-control-extra-large: 19px; + --spectrum-switch-control-width-small: 32px; + --spectrum-switch-control-width-medium: 36px; + --spectrum-switch-control-width-large: 41px; + --spectrum-switch-control-width-extra-large: 46px; + --spectrum-switch-control-height-small: 16px; + --spectrum-switch-control-height-medium: 18px; + --spectrum-switch-control-height-large: 20px; + --spectrum-switch-control-height-extra-large: 22px; + --spectrum-switch-top-to-control-small: 7px; + --spectrum-switch-top-to-control-medium: 11px; + --spectrum-switch-top-to-control-large: 15px; + --spectrum-switch-top-to-control-extra-large: 19px; + --spectrum-radio-button-control-size-small: 16px; + --spectrum-radio-button-control-size-medium: 18px; + --spectrum-radio-button-control-size-large: 20px; + --spectrum-radio-button-control-size-extra-large: 22px; + --spectrum-radio-button-top-to-control-small: 7px; + --spectrum-radio-button-top-to-control-medium: 11px; + --spectrum-radio-button-top-to-control-large: 15px; + --spectrum-radio-button-top-to-control-extra-large: 19px; + --spectrum-field-label-text-to-asterisk-small: 5px; + --spectrum-field-label-text-to-asterisk-medium: 5px; + --spectrum-field-label-text-to-asterisk-large: 6px; + --spectrum-field-label-text-to-asterisk-extra-large: 6px; + --spectrum-field-label-top-to-asterisk-small: 11px; + --spectrum-field-label-top-to-asterisk-medium: 15px; + --spectrum-field-label-top-to-asterisk-large: 19px; + --spectrum-field-label-top-to-asterisk-extra-large: 24px; + --spectrum-field-label-top-margin-medium: 5px; + --spectrum-field-label-top-margin-large: 6px; + --spectrum-field-label-top-margin-extra-large: 6px; + --spectrum-field-label-to-component-quiet-small: -10px; + --spectrum-field-label-to-component-quiet-medium: -10px; + --spectrum-field-label-to-component-quiet-large: -15px; + --spectrum-field-label-to-component-quiet-extra-large: -19px; + --spectrum-help-text-top-to-workflow-icon-small: 5px; + --spectrum-help-text-top-to-workflow-icon-medium: 4px; + --spectrum-help-text-top-to-workflow-icon-large: 8px; + --spectrum-help-text-top-to-workflow-icon-extra-large: 11px; + --spectrum-status-light-dot-size-medium: 10px; + --spectrum-status-light-dot-size-large: 12px; + --spectrum-status-light-dot-size-extra-large: 12px; + --spectrum-status-light-top-to-dot-small: 11px; + --spectrum-status-light-top-to-dot-medium: 15px; + --spectrum-status-light-top-to-dot-large: 19px; + --spectrum-status-light-top-to-dot-extra-large: 24px; + --spectrum-action-button-edge-to-hold-icon-medium: 5px; + --spectrum-action-button-edge-to-hold-icon-large: 6px; + --spectrum-action-button-edge-to-hold-icon-extra-large: 7px; + --spectrum-tooltip-tip-width: 10px; + --spectrum-tooltip-tip-height: 5px; + --spectrum-tooltip-maximum-width: 200px; + --spectrum-progress-circle-size-small: 20px; + --spectrum-progress-circle-size-medium: 40px; + --spectrum-progress-circle-size-large: 80px; + --spectrum-progress-circle-thickness-small: 3px; + --spectrum-progress-circle-thickness-medium: 4px; + --spectrum-progress-circle-thickness-large: 5px; + --spectrum-toast-height: 56px; + --spectrum-toast-maximum-width: 420px; + --spectrum-toast-top-to-workflow-icon: 17px; + --spectrum-toast-top-to-text: 16px; + --spectrum-toast-bottom-to-text: 19px; + --spectrum-action-bar-height: 56px; + --spectrum-action-bar-top-to-item-counter: 16px; + --spectrum-swatch-size-extra-small: 20px; + --spectrum-swatch-size-small: 30px; + --spectrum-swatch-size-medium: 40px; + --spectrum-swatch-size-large: 50px; + --spectrum-progress-bar-thickness-small: 5px; + --spectrum-progress-bar-thickness-medium: 8px; + --spectrum-progress-bar-thickness-large: 10px; + --spectrum-progress-bar-thickness-extra-large: 13px; + --spectrum-meter-width: 240px; + --spectrum-meter-thickness-small: 5px; + --spectrum-meter-thickness-large: 8px; + --spectrum-tag-top-to-avatar-small: 5px; + --spectrum-tag-top-to-avatar-medium: 7px; + --spectrum-tag-top-to-avatar-large: 11px; + --spectrum-tag-top-to-cross-icon-small: 10px; + --spectrum-tag-top-to-cross-icon-medium: 15px; + --spectrum-tag-top-to-cross-icon-large: 19px; + --spectrum-popover-top-to-content-area: 5px; + --spectrum-menu-item-edge-to-content-not-selected-small: 24px; + --spectrum-menu-item-edge-to-content-not-selected-medium: 42px; + --spectrum-menu-item-edge-to-content-not-selected-large: 47px; + --spectrum-menu-item-edge-to-content-not-selected-extra-large: 54px; + --spectrum-menu-item-top-to-disclosure-icon-small: 9px; + --spectrum-menu-item-top-to-disclosure-icon-medium: 13px; + --spectrum-menu-item-top-to-disclosure-icon-large: 17px; + --spectrum-menu-item-top-to-disclosure-icon-extra-large: 22px; + --spectrum-menu-item-top-to-selected-icon-small: 9px; + --spectrum-menu-item-top-to-selected-icon-medium: 13px; + --spectrum-menu-item-top-to-selected-icon-large: 17px; + --spectrum-menu-item-top-to-selected-icon-extra-large: 22px; + --spectrum-slider-control-height-small: 18px; + --spectrum-slider-control-height-medium: 20px; + --spectrum-slider-control-height-large: 22px; + --spectrum-slider-control-height-extra-large: 26px; + --spectrum-slider-handle-size-small: 18px; + --spectrum-slider-handle-size-medium: 20px; + --spectrum-slider-handle-size-large: 22px; + --spectrum-slider-handle-size-extra-large: 26px; + --spectrum-slider-handle-border-width-down-small: 7px; + --spectrum-slider-handle-border-width-down-medium: 8px; + --spectrum-slider-handle-border-width-down-large: 9px; + --spectrum-slider-handle-border-width-down-extra-large: 11px; + --spectrum-slider-bottom-to-handle-small: 6px; + --spectrum-slider-bottom-to-handle-medium: 10px; + --spectrum-slider-bottom-to-handle-large: 14px; + --spectrum-slider-bottom-to-handle-extra-large: 17px; + --spectrum-slider-control-to-field-label-small: 6px; + --spectrum-slider-control-to-field-label-medium: 10px; + --spectrum-slider-control-to-field-label-large: 14px; + --spectrum-slider-control-to-field-label-extra-large: 17px; + --spectrum-picker-visual-to-disclosure-icon-small: 9px; + --spectrum-picker-visual-to-disclosure-icon-medium: 10px; + --spectrum-picker-visual-to-disclosure-icon-large: 11px; + --spectrum-picker-visual-to-disclosure-icon-extra-large: 13px; + --spectrum-text-area-minimum-width: 140px; + --spectrum-text-area-minimum-height: 70px; + --spectrum-combo-box-visual-to-field-button-small: 9px; + --spectrum-combo-box-visual-to-field-button-medium: 10px; + --spectrum-combo-box-visual-to-field-button-large: 11px; + --spectrum-combo-box-visual-to-field-button-extra-large: 13px; + --spectrum-thumbnail-size-50: 20px; + --spectrum-thumbnail-size-75: 22px; + --spectrum-thumbnail-size-100: 26px; + --spectrum-thumbnail-size-200: 28px; + --spectrum-thumbnail-size-300: 32px; + --spectrum-thumbnail-size-400: 36px; + --spectrum-thumbnail-size-500: 40px; + --spectrum-thumbnail-size-600: 46px; + --spectrum-thumbnail-size-700: 50px; + --spectrum-thumbnail-size-800: 55px; + --spectrum-thumbnail-size-900: 62px; + --spectrum-thumbnail-size-1000: 70px; + --spectrum-alert-dialog-title-size: var(--spectrum-heading-size-xs); + --spectrum-alert-dialog-description-size: var(--spectrum-body-size-xs); + --spectrum-opacity-checkerboard-square-size: 10px; + --spectrum-contextual-help-title-size: var(--spectrum-heading-size-xxs); + --spectrum-contextual-help-body-size: var(--spectrum-body-size-xs); + --spectrum-breadcrumbs-height-multiline: 84px; + --spectrum-breadcrumbs-top-to-text: 17px; + --spectrum-breadcrumbs-top-to-text-compact: 16px; + --spectrum-breadcrumbs-top-to-text-multiline: 15px; + --spectrum-breadcrumbs-bottom-to-text: 19px; + --spectrum-breadcrumbs-bottom-to-text-compact: 19px; + --spectrum-breadcrumbs-bottom-to-text-multiline: 10px; + --spectrum-breadcrumbs-start-edge-to-text: 9px; + --spectrum-breadcrumbs-top-text-to-bottom-text: 11px; + --spectrum-breadcrumbs-top-to-separator-icon: 25px; + --spectrum-breadcrumbs-top-to-separator-icon-compact: 23px; + --spectrum-breadcrumbs-top-to-separator-icon-multiline: 20px; + --spectrum-breadcrumbs-separator-icon-to-bottom-text-multiline: 15px; + --spectrum-breadcrumbs-top-to-truncated-menu: 10px; + --spectrum-breadcrumbs-top-to-truncated-menu-compact: 5px; + --spectrum-avatar-size-50: 20px; + --spectrum-avatar-size-75: 22px; + --spectrum-avatar-size-100: 26px; + --spectrum-avatar-size-200: 28px; + --spectrum-avatar-size-300: 32px; + --spectrum-avatar-size-400: 36px; + --spectrum-avatar-size-500: 40px; + --spectrum-avatar-size-600: 46px; + --spectrum-avatar-size-700: 50px; + --spectrum-alert-banner-minimum-height: 64px; + --spectrum-alert-banner-width: 680px; + --spectrum-alert-banner-top-to-workflow-icon: 21px; + --spectrum-alert-banner-top-to-text: 21px; + --spectrum-alert-banner-bottom-to-text: 22px; + --spectrum-rating-indicator-width: 22px; + --spectrum-rating-indicator-to-icon: 5px; + --spectrum-color-area-width: 240px; + --spectrum-color-area-minimum-width: 80px; + --spectrum-color-area-height: 240px; + --spectrum-color-area-minimum-height: 80px; + --spectrum-color-wheel-width: 240px; + --spectrum-color-wheel-minimum-width: 219px; + --spectrum-color-slider-length: 240px; + --spectrum-color-slider-minimum-length: 100px; + --spectrum-illustrated-message-title-size: var(--spectrum-heading-size-s); + --spectrum-illustrated-message-cjk-title-size: var( + --spectrum-heading-cjk-size-s + ); + --spectrum-illustrated-message-body-size: var(--spectrum-body-size-xs); + --spectrum-coach-mark-width: 216px; + --spectrum-coach-mark-minimum-width: 216px; + --spectrum-coach-mark-maximum-width: 248px; + --spectrum-coach-mark-edge-to-content: var(--spectrum-spacing-300); + --spectrum-coach-mark-pagination-text-to-bottom-edge: 22px; + --spectrum-coach-mark-media-height: 162px; + --spectrum-coach-mark-media-minimum-height: 121px; + --spectrum-coach-mark-title-size: var(--spectrum-heading-size-xxs); + --spectrum-coach-mark-body-size: var(--spectrum-body-size-xs); + --spectrum-coach-mark-pagination-body-size: var(--spectrum-body-size-xs); + --spectrum-accordion-top-to-text-regular-small: 7px; + --spectrum-accordion-small-top-to-text-spacious: 12px; + --spectrum-accordion-top-to-text-regular-medium: 9px; + --spectrum-accordion-top-to-text-spacious-medium: 14px; + --spectrum-accordion-top-to-text-compact-large: 7px; + --spectrum-accordion-top-to-text-regular-large: 12px; + --spectrum-accordion-top-to-text-spacious-large: 14px; + --spectrum-accordion-top-to-text-compact-extra-large: 7px; + --spectrum-accordion-top-to-text-regular-extra-large: 12px; + --spectrum-accordion-top-to-text-spacious-extra-large: 14px; + --spectrum-accordion-bottom-to-text-compact-small: 4px; + --spectrum-accordion-bottom-to-text-regular-small: 9px; + --spectrum-accordion-bottom-to-text-spacious-small: 14px; + --spectrum-accordion-bottom-to-text-compact-medium: 8px; + --spectrum-accordion-bottom-to-text-regular-medium: 13px; + --spectrum-accordion-bottom-to-text-spacious-medium: 18px; + --spectrum-accordion-bottom-to-text-compact-large: 9px; + --spectrum-accordion-bottom-to-text-regular-large: 14px; + --spectrum-accordion-bottom-to-text-spacious-large: 19px; + --spectrum-accordion-bottom-to-text-compact-extra-large: 10px; + --spectrum-accordion-bottom-to-text-regular-extra-large: 15px; + --spectrum-accordion-bottom-to-text-spacious-extra-large: 21px; + --spectrum-accordion-minimum-width: 250px; + --spectrum-accordion-content-area-top-to-content: 10px; + --spectrum-accordion-content-area-bottom-to-content: 20px; + --spectrum-color-handle-size: 20px; + --spectrum-color-handle-size-key-focus: 40px; + --spectrum-table-column-header-row-top-to-text-small: 10px; + --spectrum-table-column-header-row-top-to-text-medium: 9px; + --spectrum-table-column-header-row-top-to-text-large: 13px; + --spectrum-table-column-header-row-top-to-text-extra-large: 16px; + --spectrum-table-column-header-row-bottom-to-text-small: 11px; + --spectrum-table-column-header-row-bottom-to-text-medium: 10px; + --spectrum-table-column-header-row-bottom-to-text-large: 13px; + --spectrum-table-column-header-row-bottom-to-text-extra-large: 17px; + --spectrum-table-row-height-small-regular: 40px; + --spectrum-table-row-height-medium-regular: 50px; + --spectrum-table-row-height-large-regular: 60px; + --spectrum-table-row-height-extra-large-regular: 70px; + --spectrum-table-row-height-small-spacious: 50px; + --spectrum-table-row-height-medium-spacious: 60px; + --spectrum-table-row-height-large-spacious: 70px; + --spectrum-table-row-height-extra-large-spacious: 80px; + --spectrum-table-row-top-to-text-small-regular: 10px; + --spectrum-table-row-top-to-text-medium-regular: 14px; + --spectrum-table-row-top-to-text-large-regular: 18px; + --spectrum-table-row-top-to-text-extra-large-regular: 21px; + --spectrum-table-row-bottom-to-text-small-regular: 11px; + --spectrum-table-row-bottom-to-text-medium-regular: 15px; + --spectrum-table-row-bottom-to-text-large-regular: 18px; + --spectrum-table-row-bottom-to-text-extra-large-regular: 22px; + --spectrum-table-row-top-to-text-small-spacious: 15px; + --spectrum-table-row-top-to-text-medium-spacious: 18px; + --spectrum-table-row-top-to-text-large-spacious: 23px; + --spectrum-table-row-top-to-text-extra-large-spacious: 26px; + --spectrum-table-row-bottom-to-text-small-spacious: 16px; + --spectrum-table-row-bottom-to-text-medium-spacious: 18px; + --spectrum-table-row-bottom-to-text-large-spacious: 23px; + --spectrum-table-row-bottom-to-text-extra-large-spacious: 27px; + --spectrum-table-checkbox-to-text: 30px; + --spectrum-table-header-row-checkbox-to-top-small: 14px; + --spectrum-table-header-row-checkbox-to-top-medium: 13px; + --spectrum-table-header-row-checkbox-to-top-large: 17px; + --spectrum-table-header-row-checkbox-to-top-extra-large: 21px; + --spectrum-table-row-checkbox-to-top-small-compact: 9px; + --spectrum-table-row-checkbox-to-top-small-regular: 14px; + --spectrum-table-row-checkbox-to-top-small-spacious: 19px; + --spectrum-table-row-checkbox-to-top-medium-compact: 13px; + --spectrum-table-row-checkbox-to-top-medium-regular: 18px; + --spectrum-table-row-checkbox-to-top-medium-spacious: 23px; + --spectrum-table-row-checkbox-to-top-large-compact: 17px; + --spectrum-table-row-checkbox-to-top-large-regular: 22px; + --spectrum-table-row-checkbox-to-top-large-spacious: 27px; + --spectrum-table-row-checkbox-to-top-extra-large-compact: 21px; + --spectrum-table-row-checkbox-to-top-extra-large-regular: 26px; + --spectrum-table-row-checkbox-to-top-extra-large-spacious: 31px; + --spectrum-table-section-header-row-height-small: 30px; + --spectrum-table-section-header-row-height-medium: 40px; + --spectrum-table-section-header-row-height-large: 50px; + --spectrum-table-section-header-row-height-extra-large: 60px; + --spectrum-table-thumbnail-to-top-minimum-small-compact: 5px; + --spectrum-table-thumbnail-to-top-minimum-medium-compact: 6px; + --spectrum-table-thumbnail-to-top-minimum-large-compact: 9px; + --spectrum-table-thumbnail-to-top-minimum-extra-large-compact: 10px; + --spectrum-table-thumbnail-to-top-minimum-small-regular: 6px; + --spectrum-table-thumbnail-to-top-minimum-medium-regular: 9px; + --spectrum-table-thumbnail-to-top-minimum-large-regular: 10px; + --spectrum-table-thumbnail-to-top-minimum-extra-large-regular: 10px; + --spectrum-table-thumbnail-to-top-minimum-small-spacious: 9px; + --spectrum-table-thumbnail-to-top-minimum-medium-spacious: 10px; + --spectrum-table-thumbnail-to-top-minimum-large-spacious: 10px; + --spectrum-table-thumbnail-to-top-minimum-extra-large-spacious: 12px; + --spectrum-tab-item-to-tab-item-horizontal-small: 27px; + --spectrum-tab-item-to-tab-item-horizontal-medium: 30px; + --spectrum-tab-item-to-tab-item-horizontal-large: 33px; + --spectrum-tab-item-to-tab-item-horizontal-extra-large: 36px; + --spectrum-tab-item-to-tab-item-vertical-small: 5px; + --spectrum-tab-item-to-tab-item-vertical-medium: 5px; + --spectrum-tab-item-to-tab-item-vertical-large: 6px; + --spectrum-tab-item-to-tab-item-vertical-extra-large: 6px; + --spectrum-tab-item-start-to-edge-small: 13px; + --spectrum-tab-item-start-to-edge-medium: 15px; + --spectrum-tab-item-start-to-edge-large: 17px; + --spectrum-tab-item-start-to-edge-extra-large: 19px; + --spectrum-tab-item-top-to-text-small: 14px; + --spectrum-tab-item-bottom-to-text-small: 15px; + --spectrum-tab-item-top-to-text-medium: 18px; + --spectrum-tab-item-bottom-to-text-medium: 19px; + --spectrum-tab-item-top-to-text-large: 22px; + --spectrum-tab-item-bottom-to-text-large: 22px; + --spectrum-tab-item-top-to-text-extra-large: 25px; + --spectrum-tab-item-bottom-to-text-extra-large: 25px; + --spectrum-tab-item-top-to-text-compact-small: 5px; + --spectrum-tab-item-bottom-to-text-compact-small: 6px; + --spectrum-tab-item-top-to-text-compact-medium: 9px; + --spectrum-tab-item-bottom-to-text-compact-medium: 10px; + --spectrum-tab-item-top-to-text-compact-large: 12px; + --spectrum-tab-item-bottom-to-text-compact-large: 14px; + --spectrum-tab-item-top-to-text-compact-extra-large: 15px; + --spectrum-tab-item-bottom-to-text-compact-extra-large: 17px; + --spectrum-tab-item-top-to-workflow-icon-small: 15px; + --spectrum-tab-item-top-to-workflow-icon-medium: 19px; + --spectrum-tab-item-top-to-workflow-icon-large: 23px; + --spectrum-tab-item-top-to-workflow-icon-extra-large: 26px; + --spectrum-tab-item-top-to-workflow-icon-compact-small: 5px; + --spectrum-tab-item-top-to-workflow-icon-compact-medium: 9px; + --spectrum-tab-item-top-to-workflow-icon-compact-large: 13px; + --spectrum-tab-item-top-to-workflow-icon-compact-extra-large: 16px; + --spectrum-tab-item-focus-indicator-gap-small: 9px; + --spectrum-tab-item-focus-indicator-gap-medium: 10px; + --spectrum-tab-item-focus-indicator-gap-large: 11px; + --spectrum-tab-item-focus-indicator-gap-extra-large: 12px; + --spectrum-side-navigation-width: 240px; + --spectrum-side-navigation-minimum-width: 200px; + --spectrum-side-navigation-maximum-width: 300px; + --spectrum-side-navigation-second-level-edge-to-text: 30px; + --spectrum-side-navigation-third-level-edge-to-text: 45px; + --spectrum-side-navigation-with-icon-second-level-edge-to-text: 62px; + --spectrum-side-navigation-with-icon-third-level-edge-to-text: 77px; + --spectrum-side-navigation-item-to-item: 5px; + --spectrum-side-navigation-item-to-header: 30px; + --spectrum-side-navigation-header-to-item: 10px; + --spectrum-side-navigation-bottom-to-text: 10px; + --spectrum-tray-top-to-content-area: 5px; + --spectrum-accordion-top-to-text-spacious-small: 12px; + --spectrum-drop-shadow-y: 2px; + --spectrum-drop-shadow-blur: 6px; + --spectrum-text-to-visual-50: 7px; + --spectrum-text-to-visual-75: 7px; + --spectrum-text-to-visual-100: 8px; + --spectrum-text-to-visual-200: 9px; + --spectrum-text-to-visual-300: 10px; + --spectrum-text-to-visual-400: 11px; + --spectrum-text-to-control-75: 11px; + --spectrum-text-to-control-100: 13px; + --spectrum-text-to-control-200: 14px; + --spectrum-text-to-control-300: 16px; + --spectrum-component-height-50: 26px; + --spectrum-component-height-75: 30px; + --spectrum-component-height-100: 40px; + --spectrum-component-height-200: 50px; + --spectrum-component-height-300: 60px; + --spectrum-component-height-400: 70px; + --spectrum-component-height-500: 80px; + --spectrum-component-pill-edge-to-visual-75: 15px; + --spectrum-component-pill-edge-to-visual-100: 17px; + --spectrum-component-pill-edge-to-visual-200: 21px; + --spectrum-component-pill-edge-to-visual-300: 28px; + --spectrum-component-pill-edge-to-visual-only-75: 6px; + --spectrum-component-pill-edge-to-visual-only-100: 8px; + --spectrum-component-pill-edge-to-visual-only-200: 11px; + --spectrum-component-pill-edge-to-visual-only-300: 15px; + --spectrum-component-pill-edge-to-text-75: 17px; + --spectrum-component-pill-edge-to-text-100: 20px; + --spectrum-component-pill-edge-to-text-200: 24px; + --spectrum-component-pill-edge-to-text-300: 30px; + --spectrum-component-edge-to-visual-50: 9px; + --spectrum-component-edge-to-visual-75: 11px; + --spectrum-component-edge-to-visual-100: 12px; + --spectrum-component-edge-to-visual-200: 15px; + --spectrum-component-edge-to-visual-300: 20px; + --spectrum-component-edge-to-visual-only-50: 5px; + --spectrum-component-edge-to-visual-only-75: 6px; + --spectrum-component-edge-to-visual-only-100: 8px; + --spectrum-component-edge-to-visual-only-200: 11px; + --spectrum-component-edge-to-visual-only-300: 15px; + --spectrum-component-edge-to-text-50: 11px; + --spectrum-component-edge-to-text-75: 13px; + --spectrum-component-edge-to-text-100: 15px; + --spectrum-component-edge-to-text-200: 18px; + --spectrum-component-edge-to-text-300: 22px; + --spectrum-component-top-to-workflow-icon-50: 5px; + --spectrum-component-top-to-workflow-icon-75: 6px; + --spectrum-component-top-to-workflow-icon-100: 8px; + --spectrum-component-top-to-workflow-icon-200: 11px; + --spectrum-component-top-to-workflow-icon-300: 15px; + --spectrum-component-top-to-text-50: 4px; + --spectrum-component-top-to-text-75: 5px; + --spectrum-component-top-to-text-100: 8px; + --spectrum-component-top-to-text-200: 12px; + --spectrum-component-top-to-text-300: 15px; + --spectrum-component-bottom-to-text-50: 6px; + --spectrum-component-bottom-to-text-75: 6px; + --spectrum-component-bottom-to-text-100: 11px; + --spectrum-component-bottom-to-text-200: 14px; + --spectrum-component-bottom-to-text-300: 18px; + --spectrum-component-to-menu-small: 7px; + --spectrum-component-to-menu-medium: 8px; + --spectrum-component-to-menu-large: 9px; + --spectrum-component-to-menu-extra-large: 10px; + --spectrum-field-edge-to-disclosure-icon-75: 9px; + --spectrum-field-edge-to-disclosure-icon-100: 13px; + --spectrum-field-edge-to-disclosure-icon-200: 17px; + --spectrum-field-edge-to-disclosure-icon-300: 22px; + --spectrum-field-end-edge-to-disclosure-icon-75: 9px; + --spectrum-field-end-edge-to-disclosure-icon-100: 13px; + --spectrum-field-end-edge-to-disclosure-icon-200: 17px; + --spectrum-field-end-edge-to-disclosure-icon-300: 22px; + --spectrum-field-top-to-disclosure-icon-75: 9px; + --spectrum-field-top-to-disclosure-icon-100: 13px; + --spectrum-field-top-to-disclosure-icon-200: 17px; + --spectrum-field-top-to-disclosure-icon-300: 22px; + --spectrum-field-top-to-alert-icon-small: 5px; + --spectrum-field-top-to-alert-icon-medium: 9px; + --spectrum-field-top-to-alert-icon-large: 13px; + --spectrum-field-top-to-alert-icon-extra-large: 16px; + --spectrum-field-top-to-validation-icon-small: 9px; + --spectrum-field-top-to-validation-icon-medium: 13px; + --spectrum-field-top-to-validation-icon-large: 17px; + --spectrum-field-top-to-validation-icon-extra-large: 22px; + --spectrum-field-top-to-progress-circle-small: 7px; + --spectrum-field-top-to-progress-circle-medium: 12px; + --spectrum-field-top-to-progress-circle-large: 17px; + --spectrum-field-top-to-progress-circle-extra-large: 22px; + --spectrum-field-edge-to-alert-icon-small: 11px; + --spectrum-field-edge-to-alert-icon-medium: 15px; + --spectrum-field-edge-to-alert-icon-large: 19px; + --spectrum-field-edge-to-alert-icon-extra-large: 22px; + --spectrum-field-edge-to-validation-icon-small: 11px; + --spectrum-field-edge-to-validation-icon-medium: 15px; + --spectrum-field-edge-to-validation-icon-large: 19px; + --spectrum-field-edge-to-validation-icon-extra-large: 22px; + --spectrum-field-text-to-alert-icon-small: 10px; + --spectrum-field-text-to-alert-icon-medium: 15px; + --spectrum-field-text-to-alert-icon-large: 19px; + --spectrum-field-text-to-alert-icon-extra-large: 22px; + --spectrum-field-text-to-validation-icon-small: 10px; + --spectrum-field-text-to-validation-icon-medium: 15px; + --spectrum-field-text-to-validation-icon-large: 19px; + --spectrum-field-text-to-validation-icon-extra-large: 22px; + --spectrum-field-width: 240px; + --spectrum-character-count-to-field-quiet-small: -4px; + --spectrum-character-count-to-field-quiet-medium: -4px; + --spectrum-character-count-to-field-quiet-large: -4px; + --spectrum-character-count-to-field-quiet-extra-large: -5px; + --spectrum-side-label-character-count-to-field: 15px; + --spectrum-side-label-character-count-top-margin-small: 5px; + --spectrum-side-label-character-count-top-margin-medium: 10px; + --spectrum-side-label-character-count-top-margin-large: 14px; + --spectrum-side-label-character-count-top-margin-extra-large: 18px; + --spectrum-disclosure-indicator-top-to-disclosure-icon-small: 9px; + --spectrum-disclosure-indicator-top-to-disclosure-icon-medium: 13px; + --spectrum-disclosure-indicator-top-to-disclosure-icon-large: 17px; + --spectrum-disclosure-indicator-top-to-disclosure-icon-extra-large: 22px; + --spectrum-navigational-indicator-top-to-back-icon-small: 7px; + --spectrum-navigational-indicator-top-to-back-icon-medium: 12px; + --spectrum-navigational-indicator-top-to-back-icon-large: 16px; + --spectrum-navigational-indicator-top-to-back-icon-extra-large: 19px; + --spectrum-color-control-track-width: 30px; + --spectrum-font-size-50: 13px; + --spectrum-font-size-75: 15px; + --spectrum-font-size-100: 17px; + --spectrum-font-size-200: 19px; + --spectrum-font-size-300: 22px; + --spectrum-font-size-400: 24px; + --spectrum-font-size-500: 27px; + --spectrum-font-size-600: 31px; + --spectrum-font-size-700: 34px; + --spectrum-font-size-800: 39px; + --spectrum-font-size-900: 44px; + --spectrum-font-size-1000: 49px; + --spectrum-font-size-1100: 55px; + --spectrum-font-size-1200: 62px; + --spectrum-font-size-1300: 70px; + --spectrum-slider-tick-mark-height: 13px; + --spectrum-slider-ramp-track-height: 20px; + + --spectrum-colorwheel-path: 'M 119 119 m -119 0 a 119 119 0 1 0 238 0 a 119 119 0 1 0 -238 0.2 M 119 119 m -91 0 a 91 91 0 1 0 182 0 a 91 91 0 1 0 -182 0'; + --spectrum-colorwheel-path-borders: 'M 120 120 m -120 0 a 120 120 0 1 0 240 0 a 120 120 0 1 0 -240 0.2 M 120 120 m -90 0 a 90 90 0 1 0 180 0 a 90 90 0 1 0 -180 0'; + --spectrum-colorwheel-colorarea-container-size: 182px; + + --spectrum-colorloupe-checkerboard-fill: url(#checkerboard-secondary); + + --spectrum-menu-item-selectable-edge-to-text-not-selected-small: 34px; + --spectrum-menu-item-selectable-edge-to-text-not-selected-medium: 42px; + --spectrum-menu-item-selectable-edge-to-text-not-selected-large: 47px; + --spectrum-menu-item-selectable-edge-to-text-not-selected-extra-large: 54px; + + --spectrum-menu-item-checkmark-height-small: 12px; + --spectrum-menu-item-checkmark-height-medium: 14px; + --spectrum-menu-item-checkmark-height-large: 16px; + --spectrum-menu-item-checkmark-height-extra-large: 16px; + + --spectrum-menu-item-checkmark-width-small: 12px; + --spectrum-menu-item-checkmark-width-medium: 14px; + --spectrum-menu-item-checkmark-width-large: 16px; + --spectrum-menu-item-checkmark-width-extra-large: 16px; + + --spectrum-rating-icon-spacing: var(--spectrum-spacing-100); + + --spectrum-button-top-to-text-small: 6px; + --spectrum-button-bottom-to-text-small: 5px; + --spectrum-button-top-to-text-medium: 9px; + --spectrum-button-bottom-to-text-medium: 10px; + --spectrum-button-top-to-text-large: 12px; + --spectrum-button-bottom-to-text-large: 13px; + --spectrum-button-top-to-text-extra-large: 16px; + --spectrum-button-bottom-to-text-extra-large: 17px; + + --spectrum-alert-banner-close-button-spacing: var(--spectrum-spacing-200); + --spectrum-alert-banner-edge-to-divider: var(--spectrum-spacing-200); + --spectrum-alert-banner-edge-to-button: var(--spectrum-spacing-200); + --spectrum-alert-banner-text-to-button-vertical: var( + --spectrum-spacing-200 + ); + + --spectrum-alert-dialog-padding: var(--spectrum-spacing-400); + --spectrum-alert-dialog-description-to-buttons: var(--spectrum-spacing-600); + + --spectrum-coach-indicator-gap: 8px; + --spectrum-coach-indicator-ring-diameter: 20px; + --spectrum-coach-indicator-quiet-ring-diameter: 10px; + + --spectrum-coachmark-buttongroup-display: none; + --spectrum-coachmark-buttongroup-mobile-display: flex; + --spectrum-coachmark-menu-display: none; + --spectrum-coachmark-menu-mobile-display: inline-flex; + --spectrum-workflow-icon-size-xxl: 40px; + --spectrum-workflow-icon-size-xxs: 15px; + + --spectrum-treeview-item-indentation-medium: 20px; + --spectrum-treeview-item-indentation-small: 15px; + --spectrum-treeview-item-indentation-large: 25px; + --spectrum-treeview-item-indentation-extra-large: 30px; + --spectrum-treeview-indicator-inset-block-start: 6px; + --spectrum-treeview-item-min-block-size-thumbnail-offset-medium: 2px; + + --spectrum-dialog-confirm-entry-animation-distance: 25px; + --spectrum-dialog-confirm-hero-height: 160px; + --spectrum-dialog-confirm-border-radius: 5px; + --spectrum-dialog-confirm-title-text-size: 19px; + --spectrum-dialog-confirm-description-text-size: 15px; + --spectrum-dialog-confirm-padding-grid: 24px; + + --spectrum-datepicker-initial-width: 160px; + --spectrum-datepicker-generic-padding: 15px; + --spectrum-datepicker-dash-line-height: 30px; + --spectrum-datepicker-width-quiet-first: 90px; + --spectrum-datepicker-width-quiet-second: 20px; + --spectrum-datepicker-datetime-width-first: 45px; + --spectrum-datepicker-invalid-icon-to-button: 10px; + --spectrum-datepicker-invalid-icon-to-button-quiet: 9px; + --spectrum-datepicker-input-datetime-width: 30px; + + --spectrum-pagination-textfield-width: 60px; + --spectrum-pagination-item-inline-spacing: 6px; + + --spectrum-dial-border-radius: 20px; + --spectrum-dial-handle-position: 10px; + --spectrum-dial-handle-block-margin: 20px; + --spectrum-dial-handle-inline-margin: 20px; + --spectrum-dial-controls-margin: 10px; + --spectrum-dial-label-gap-y: 6px; + --spectrum-dial-label-container-top-to-text: 5px; + + --spectrum-assetcard-focus-ring-border-radius: 9px; + --spectrum-assetcard-selectionindicator-margin: 15px; + --spectrum-assetcard-title-font-size: var(--spectrum-heading-size-xxs); + --spectrum-assetcard-header-content-font-size: var( + --spectrum-heading-size-xxs + ); + --spectrum-assetcard-content-font-size: var(--spectrum-body-size-xs); + + --spectrum-tooltip-animation-distance: 5px; + + --spectrum-ui-icon-medium-display: none; + --spectrum-ui-icon-large-display: block; + + --spectrum-contextual-help-content-spacing: var(--spectrum-spacing-200); +} + +:host, +:root { + --spectrum-overlay-opacity: 0.4; + --spectrum-background-layer-2-color: var(--spectrum-gray-25); + --spectrum-neutral-subdued-background-color-default: var( + --spectrum-gray-700 + ); + --spectrum-neutral-subdued-background-color-hover: var(--spectrum-gray-800); + --spectrum-neutral-subdued-background-color-down: var(--spectrum-gray-800); + --spectrum-neutral-subdued-background-color-key-focus: var( + --spectrum-gray-800 + ); + --spectrum-accent-background-color-default: var( + --spectrum-accent-color-900 + ); + --spectrum-accent-background-color-hover: var(--spectrum-accent-color-1000); + --spectrum-accent-background-color-down: var(--spectrum-accent-color-1000); + --spectrum-accent-background-color-key-focus: var( + --spectrum-accent-color-1000 + ); + --spectrum-informative-background-color-default: var( + --spectrum-informative-color-900 + ); + --spectrum-informative-background-color-hover: var( + --spectrum-informative-color-1000 + ); + --spectrum-informative-background-color-down: var( + --spectrum-informative-color-1000 + ); + --spectrum-informative-background-color-key-focus: var( + --spectrum-informative-color-1000 + ); + --spectrum-negative-background-color-default: var( + --spectrum-negative-color-900 + ); + --spectrum-negative-background-color-hover: var( + --spectrum-negative-color-1000 + ); + --spectrum-negative-background-color-down: var( + --spectrum-negative-color-1000 + ); + --spectrum-negative-background-color-key-focus: var( + --spectrum-negative-color-1000 + ); + --spectrum-positive-background-color-default: var( + --spectrum-positive-color-900 + ); + --spectrum-positive-background-color-hover: var( + --spectrum-positive-color-1000 + ); + --spectrum-positive-background-color-down: var( + --spectrum-positive-color-1000 + ); + --spectrum-positive-background-color-key-focus: var( + --spectrum-positive-color-1000 + ); + --spectrum-notice-background-color-default: var( + --spectrum-notice-color-600 + ); + --spectrum-gray-background-color-default: var(--spectrum-gray-700); + --spectrum-red-background-color-default: var(--spectrum-red-900); + --spectrum-orange-background-color-default: var(--spectrum-orange-600); + --spectrum-yellow-background-color-default: var(--spectrum-yellow-400); + --spectrum-chartreuse-background-color-default: var( + --spectrum-chartreuse-500 + ); + --spectrum-celery-background-color-default: var(--spectrum-celery-600); + --spectrum-green-background-color-default: var(--spectrum-green-900); + --spectrum-seafoam-background-color-default: var(--spectrum-seafoam-900); + --spectrum-cyan-background-color-default: var(--spectrum-cyan-900); + --spectrum-blue-background-color-default: var(--spectrum-blue-900); + --spectrum-indigo-background-color-default: var(--spectrum-indigo-900); + --spectrum-purple-background-color-default: var(--spectrum-purple-900); + --spectrum-fuchsia-background-color-default: var(--spectrum-fuchsia-900); + --spectrum-magenta-background-color-default: var(--spectrum-magenta-900); + --spectrum-neutral-visual-color: var(--spectrum-gray-500); + --spectrum-accent-visual-color: var(--spectrum-accent-color-800); + --spectrum-informative-visual-color: var(--spectrum-informative-color-800); + --spectrum-negative-visual-color: var(--spectrum-negative-color-800); + --spectrum-notice-visual-color: var(--spectrum-notice-color-800); + --spectrum-positive-visual-color: var(--spectrum-positive-color-800); + --spectrum-gray-visual-color: var(--spectrum-gray-500); + --spectrum-red-visual-color: var(--spectrum-red-800); + --spectrum-orange-visual-color: var(--spectrum-orange-700); + --spectrum-yellow-visual-color: var(--spectrum-yellow-600); + --spectrum-chartreuse-visual-color: var(--spectrum-chartreuse-600); + --spectrum-celery-visual-color: var(--spectrum-celery-700); + --spectrum-green-visual-color: var(--spectrum-green-700); + --spectrum-seafoam-visual-color: var(--spectrum-seafoam-700); + --spectrum-cyan-visual-color: var(--spectrum-cyan-600); + --spectrum-blue-visual-color: var(--spectrum-blue-800); + --spectrum-indigo-visual-color: var(--spectrum-indigo-800); + --spectrum-purple-visual-color: var(--spectrum-purple-800); + --spectrum-fuchsia-visual-color: var(--spectrum-fuchsia-800); + --spectrum-magenta-visual-color: var(--spectrum-magenta-800); + --spectrum-background-elevated-color: var(--spectrum-gray-25); + --spectrum-background-pasteboard-color: var(--spectrum-gray-100); + --spectrum-brown-visual-color: var(--spectrum-brown-800); + --spectrum-cinnamon-visual-color: var(--spectrum-cinnamon-800); + --spectrum-pink-visual-color: var(--spectrum-pink-800); + --spectrum-silver-visual-color: var(--spectrum-silver-800); + --spectrum-turquoise-visual-color: var(--spectrum-turquoise-800); + --spectrum-brown-background-color-default: var(--spectrum-brown-900); + --spectrum-cinnamon-background-color-default: var(--spectrum-cinnamon-900); + --spectrum-pink-background-color-default: var(--spectrum-pink-900); + --spectrum-silver-background-color-default: var(--spectrum-silver-900); + --spectrum-turquoise-background-color-default: var( + --spectrum-turquoise-900 + ); + --spectrum-drop-shadow-color-100-rgb: 0, 0, 0; + --spectrum-drop-shadow-color-100-opacity: 0.12; + --spectrum-drop-shadow-color-100: rgba( + var(--spectrum-drop-shadow-color-100-rgb), + var(--spectrum-drop-shadow-color-100-opacity) + ); + --spectrum-drop-shadow-color-200-rgb: 0, 0, 0; + --spectrum-drop-shadow-color-200-opacity: 0.16; + --spectrum-drop-shadow-color-200: rgba( + var(--spectrum-drop-shadow-color-200-rgb), + var(--spectrum-drop-shadow-color-200-opacity) + ); + --spectrum-drop-shadow-color-300-rgb: 0, 0, 0; + --spectrum-drop-shadow-color-300-opacity: 0.2; + --spectrum-drop-shadow-color-300: rgba( + var(--spectrum-drop-shadow-color-300-rgb), + var(--spectrum-drop-shadow-color-300-opacity) + ); + --spectrum-neutral-subtle-background-color-default: var( + --spectrum-gray-100 + ); + --spectrum-gray-subtle-background-color-default: var(--spectrum-gray-100); + --spectrum-blue-subtle-background-color-default: var(--spectrum-blue-200); + --spectrum-green-subtle-background-color-default: var(--spectrum-green-200); + --spectrum-orange-subtle-background-color-default: var( + --spectrum-orange-200 + ); + --spectrum-red-subtle-background-color-default: var(--spectrum-red-200); + --spectrum-brown-subtle-background-color-default: var(--spectrum-brown-200); + --spectrum-cinnamon-subtle-background-color-default: var( + --spectrum-cinnamon-200 + ); + --spectrum-celery-subtle-background-color-default: var( + --spectrum-celery-200 + ); + --spectrum-chartreuse-subtle-background-color-default: var( + --spectrum-chartreuse-200 + ); + --spectrum-cyan-subtle-background-color-default: var(--spectrum-cyan-200); + --spectrum-fuchsia-subtle-background-color-default: var( + --spectrum-fuchsia-200 + ); + --spectrum-indigo-subtle-background-color-default: var( + --spectrum-indigo-200 + ); + --spectrum-magenta-subtle-background-color-default: var( + --spectrum-magenta-200 + ); + --spectrum-pink-subtle-background-color-default: var(--spectrum-pink-200); + --spectrum-purple-subtle-background-color-default: var( + --spectrum-purple-200 + ); + --spectrum-seafoam-subtle-background-color-default: var( + --spectrum-seafoam-200 + ); + --spectrum-silver-subtle-background-color-default: var( + --spectrum-silver-200 + ); + --spectrum-turquoise-subtle-background-color-default: var( + --spectrum-turquoise-200 + ); + --spectrum-yellow-subtle-background-color-default: var( + --spectrum-yellow-200 + ); + --spectrum-opacity-checkerboard-square-dark: var(--spectrum-gray-200); + --spectrum-white-rgb: 255, 255, 255; + --spectrum-white: rgba(var(--spectrum-white-rgb)); + --spectrum-transparent-white-25-rgb: 255, 255, 255; + --spectrum-transparent-white-25-opacity: 0; + --spectrum-transparent-white-25: rgba( + var(--spectrum-transparent-white-25-rgb), + var(--spectrum-transparent-white-25-opacity) + ); + --spectrum-transparent-white-50-rgb: 255, 255, 255; + --spectrum-transparent-white-50-opacity: 0.04; + --spectrum-transparent-white-50: rgba( + var(--spectrum-transparent-white-50-rgb), + var(--spectrum-transparent-white-50-opacity) + ); + --spectrum-transparent-white-75-rgb: 255, 255, 255; + --spectrum-transparent-white-75-opacity: 0.07; + --spectrum-transparent-white-75: rgba( + var(--spectrum-transparent-white-75-rgb), + var(--spectrum-transparent-white-75-opacity) + ); + --spectrum-transparent-white-100-rgb: 255, 255, 255; + --spectrum-transparent-white-100-opacity: 0.11; + --spectrum-transparent-white-100: rgba( + var(--spectrum-transparent-white-100-rgb), + var(--spectrum-transparent-white-100-opacity) + ); + --spectrum-transparent-white-200-rgb: 255, 255, 255; + --spectrum-transparent-white-200-opacity: 0.14; + --spectrum-transparent-white-200: rgba( + var(--spectrum-transparent-white-200-rgb), + var(--spectrum-transparent-white-200-opacity) + ); + --spectrum-transparent-white-300-rgb: 255, 255, 255; + --spectrum-transparent-white-300-opacity: 0.17; + --spectrum-transparent-white-300: rgba( + var(--spectrum-transparent-white-300-rgb), + var(--spectrum-transparent-white-300-opacity) + ); + --spectrum-transparent-white-400-rgb: 255, 255, 255; + --spectrum-transparent-white-400-opacity: 0.21; + --spectrum-transparent-white-400: rgba( + var(--spectrum-transparent-white-400-rgb), + var(--spectrum-transparent-white-400-opacity) + ); + --spectrum-transparent-white-500-rgb: 255, 255, 255; + --spectrum-transparent-white-500-opacity: 0.39; + --spectrum-transparent-white-500: rgba( + var(--spectrum-transparent-white-500-rgb), + var(--spectrum-transparent-white-500-opacity) + ); + --spectrum-transparent-white-600-rgb: 255, 255, 255; + --spectrum-transparent-white-600-opacity: 0.51; + --spectrum-transparent-white-600: rgba( + var(--spectrum-transparent-white-600-rgb), + var(--spectrum-transparent-white-600-opacity) + ); + --spectrum-transparent-white-700-rgb: 255, 255, 255; + --spectrum-transparent-white-700-opacity: 0.66; + --spectrum-transparent-white-700: rgba( + var(--spectrum-transparent-white-700-rgb), + var(--spectrum-transparent-white-700-opacity) + ); + --spectrum-transparent-white-800-rgb: 255, 255, 255; + --spectrum-transparent-white-800-opacity: 0.85; + --spectrum-transparent-white-800: rgba( + var(--spectrum-transparent-white-800-rgb), + var(--spectrum-transparent-white-800-opacity) + ); + --spectrum-transparent-white-900-rgb: 255, 255, 255; + --spectrum-transparent-white-900-opacity: 0.94; + --spectrum-transparent-white-900: rgba( + var(--spectrum-transparent-white-900-rgb), + var(--spectrum-transparent-white-900-opacity) + ); + --spectrum-transparent-white-1000-rgb: 255, 255, 255; + --spectrum-transparent-white-1000: rgba( + var(--spectrum-transparent-white-1000-rgb) + ); + --spectrum-transparent-black-25-rgb: 0, 0, 0; + --spectrum-transparent-black-25-opacity: 0; + --spectrum-transparent-black-25: rgba( + var(--spectrum-transparent-black-25-rgb), + var(--spectrum-transparent-black-25-opacity) + ); + --spectrum-transparent-black-50-rgb: 0, 0, 0; + --spectrum-transparent-black-50-opacity: 0.03; + --spectrum-transparent-black-50: rgba( + var(--spectrum-transparent-black-50-rgb), + var(--spectrum-transparent-black-50-opacity) + ); + --spectrum-transparent-black-75-rgb: 0, 0, 0; + --spectrum-transparent-black-75-opacity: 0.05; + --spectrum-transparent-black-75: rgba( + var(--spectrum-transparent-black-75-rgb), + var(--spectrum-transparent-black-75-opacity) + ); + --spectrum-transparent-black-100-rgb: 0, 0, 0; + --spectrum-transparent-black-100-opacity: 0.09; + --spectrum-transparent-black-100: rgba( + var(--spectrum-transparent-black-100-rgb), + var(--spectrum-transparent-black-100-opacity) + ); + --spectrum-transparent-black-200-rgb: 0, 0, 0; + --spectrum-transparent-black-200-opacity: 0.12; + --spectrum-transparent-black-200: rgba( + var(--spectrum-transparent-black-200-rgb), + var(--spectrum-transparent-black-200-opacity) + ); + --spectrum-transparent-black-300-rgb: 0, 0, 0; + --spectrum-transparent-black-300-opacity: 0.15; + --spectrum-transparent-black-300: rgba( + var(--spectrum-transparent-black-300-rgb), + var(--spectrum-transparent-black-300-opacity) + ); + --spectrum-transparent-black-400-rgb: 0, 0, 0; + --spectrum-transparent-black-400-opacity: 0.22; + --spectrum-transparent-black-400: rgba( + var(--spectrum-transparent-black-400-rgb), + var(--spectrum-transparent-black-400-opacity) + ); + --spectrum-transparent-black-500-rgb: 0, 0, 0; + --spectrum-transparent-black-500-opacity: 0.44; + --spectrum-transparent-black-500: rgba( + var(--spectrum-transparent-black-500-rgb), + var(--spectrum-transparent-black-500-opacity) + ); + --spectrum-transparent-black-600-rgb: 0, 0, 0; + --spectrum-transparent-black-600-opacity: 0.56; + --spectrum-transparent-black-600: rgba( + var(--spectrum-transparent-black-600-rgb), + var(--spectrum-transparent-black-600-opacity) + ); + --spectrum-transparent-black-700-rgb: 0, 0, 0; + --spectrum-transparent-black-700-opacity: 0.69; + --spectrum-transparent-black-700: rgba( + var(--spectrum-transparent-black-700-rgb), + var(--spectrum-transparent-black-700-opacity) + ); + --spectrum-transparent-black-800-rgb: 0, 0, 0; + --spectrum-transparent-black-800-opacity: 0.84; + --spectrum-transparent-black-800: rgba( + var(--spectrum-transparent-black-800-rgb), + var(--spectrum-transparent-black-800-opacity) + ); + --spectrum-transparent-black-900-rgb: 0, 0, 0; + --spectrum-transparent-black-900-opacity: 0.93; + --spectrum-transparent-black-900: rgba( + var(--spectrum-transparent-black-900-rgb), + var(--spectrum-transparent-black-900-opacity) + ); + --spectrum-gray-25-rgb: 255, 255, 255; + --spectrum-gray-25: rgba(var(--spectrum-gray-25-rgb)); + --spectrum-gray-50-rgb: 248, 248, 248; + --spectrum-gray-50: rgba(var(--spectrum-gray-50-rgb)); + --spectrum-gray-75-rgb: 243, 243, 243; + --spectrum-gray-75: rgba(var(--spectrum-gray-75-rgb)); + --spectrum-gray-100-rgb: 233, 233, 233; + --spectrum-gray-100: rgba(var(--spectrum-gray-100-rgb)); + --spectrum-gray-200-rgb: 225, 225, 225; + --spectrum-gray-200: rgba(var(--spectrum-gray-200-rgb)); + --spectrum-gray-300-rgb: 218, 218, 218; + --spectrum-gray-300: rgba(var(--spectrum-gray-300-rgb)); + --spectrum-gray-400-rgb: 198, 198, 198; + --spectrum-gray-400: rgba(var(--spectrum-gray-400-rgb)); + --spectrum-gray-500-rgb: 143, 143, 143; + --spectrum-gray-500: rgba(var(--spectrum-gray-500-rgb)); + --spectrum-gray-600-rgb: 113, 113, 113; + --spectrum-gray-600: rgba(var(--spectrum-gray-600-rgb)); + --spectrum-gray-700-rgb: 80, 80, 80; + --spectrum-gray-700: rgba(var(--spectrum-gray-700-rgb)); + --spectrum-gray-800-rgb: 41, 41, 41; + --spectrum-gray-800: rgba(var(--spectrum-gray-800-rgb)); + --spectrum-gray-900-rgb: 19, 19, 19; + --spectrum-gray-900: rgba(var(--spectrum-gray-900-rgb)); + --spectrum-gray-1000-rgb: 0, 0, 0; + --spectrum-gray-1000: rgba(var(--spectrum-gray-1000-rgb)); + --spectrum-blue-100-rgb: 245, 249, 255; + --spectrum-blue-100: rgba(var(--spectrum-blue-100-rgb)); + --spectrum-blue-200-rgb: 229, 240, 254; + --spectrum-blue-200: rgba(var(--spectrum-blue-200-rgb)); + --spectrum-blue-300-rgb: 203, 226, 254; + --spectrum-blue-300: rgba(var(--spectrum-blue-300-rgb)); + --spectrum-blue-400-rgb: 172, 207, 253; + --spectrum-blue-400: rgba(var(--spectrum-blue-400-rgb)); + --spectrum-blue-500-rgb: 142, 185, 252; + --spectrum-blue-500: rgba(var(--spectrum-blue-500-rgb)); + --spectrum-blue-600-rgb: 114, 158, 253; + --spectrum-blue-600: rgba(var(--spectrum-blue-600-rgb)); + --spectrum-blue-700-rgb: 93, 137, 255; + --spectrum-blue-700: rgba(var(--spectrum-blue-700-rgb)); + --spectrum-blue-800-rgb: 75, 117, 255; + --spectrum-blue-800: rgba(var(--spectrum-blue-800-rgb)); + --spectrum-blue-900-rgb: 59, 99, 251; + --spectrum-blue-900: rgba(var(--spectrum-blue-900-rgb)); + --spectrum-blue-1000-rgb: 39, 77, 234; + --spectrum-blue-1000: rgba(var(--spectrum-blue-1000-rgb)); + --spectrum-blue-1100-rgb: 29, 62, 207; + --spectrum-blue-1100: rgba(var(--spectrum-blue-1100-rgb)); + --spectrum-blue-1200-rgb: 21, 50, 173; + --spectrum-blue-1200: rgba(var(--spectrum-blue-1200-rgb)); + --spectrum-blue-1300-rgb: 16, 40, 140; + --spectrum-blue-1300: rgba(var(--spectrum-blue-1300-rgb)); + --spectrum-blue-1400-rgb: 12, 31, 105; + --spectrum-blue-1400: rgba(var(--spectrum-blue-1400-rgb)); + --spectrum-blue-1500-rgb: 14, 24, 67; + --spectrum-blue-1500: rgba(var(--spectrum-blue-1500-rgb)); + --spectrum-blue-1600-rgb: 7, 11, 30; + --spectrum-blue-1600: rgba(var(--spectrum-blue-1600-rgb)); + --spectrum-red-100-rgb: 255, 246, 245; + --spectrum-red-100: rgba(var(--spectrum-red-100-rgb)); + --spectrum-red-200-rgb: 255, 235, 232; + --spectrum-red-200: rgba(var(--spectrum-red-200-rgb)); + --spectrum-red-300-rgb: 255, 214, 209; + --spectrum-red-300: rgba(var(--spectrum-red-300-rgb)); + --spectrum-red-400-rgb: 255, 188, 180; + --spectrum-red-400: rgba(var(--spectrum-red-400-rgb)); + --spectrum-red-500-rgb: 255, 157, 145; + --spectrum-red-500: rgba(var(--spectrum-red-500-rgb)); + --spectrum-red-600-rgb: 255, 118, 101; + --spectrum-red-600: rgba(var(--spectrum-red-600-rgb)); + --spectrum-red-700-rgb: 255, 81, 61; + --spectrum-red-700: rgba(var(--spectrum-red-700-rgb)); + --spectrum-red-800-rgb: 240, 56, 35; + --spectrum-red-800: rgba(var(--spectrum-red-800-rgb)); + --spectrum-red-900-rgb: 215, 50, 32; + --spectrum-red-900: rgba(var(--spectrum-red-900-rgb)); + --spectrum-red-1000-rgb: 183, 40, 24; + --spectrum-red-1000: rgba(var(--spectrum-red-1000-rgb)); + --spectrum-red-1100-rgb: 156, 33, 19; + --spectrum-red-1100: rgba(var(--spectrum-red-1100-rgb)); + --spectrum-red-1200-rgb: 129, 27, 14; + --spectrum-red-1200: rgba(var(--spectrum-red-1200-rgb)); + --spectrum-red-1300-rgb: 104, 21, 10; + --spectrum-red-1300: rgba(var(--spectrum-red-1300-rgb)); + --spectrum-red-1400-rgb: 80, 16, 6; + --spectrum-red-1400: rgba(var(--spectrum-red-1400-rgb)); + --spectrum-red-1500-rgb: 59, 11, 4; + --spectrum-red-1500: rgba(var(--spectrum-red-1500-rgb)); + --spectrum-red-1600-rgb: 29, 5, 2; + --spectrum-red-1600: rgba(var(--spectrum-red-1600-rgb)); + --spectrum-orange-100-rgb: 255, 246, 231; + --spectrum-orange-100: rgba(var(--spectrum-orange-100-rgb)); + --spectrum-orange-200-rgb: 255, 236, 207; + --spectrum-orange-200: rgba(var(--spectrum-orange-200-rgb)); + --spectrum-orange-300-rgb: 255, 218, 158; + --spectrum-orange-300: rgba(var(--spectrum-orange-300-rgb)); + --spectrum-orange-400-rgb: 255, 193, 94; + --spectrum-orange-400: rgba(var(--spectrum-orange-400-rgb)); + --spectrum-orange-500-rgb: 255, 162, 19; + --spectrum-orange-500: rgba(var(--spectrum-orange-500-rgb)); + --spectrum-orange-600-rgb: 252, 125, 0; + --spectrum-orange-600: rgba(var(--spectrum-orange-600-rgb)); + --spectrum-orange-700-rgb: 232, 106, 0; + --spectrum-orange-700: rgba(var(--spectrum-orange-700-rgb)); + --spectrum-orange-800-rgb: 212, 91, 0; + --spectrum-orange-800: rgba(var(--spectrum-orange-800-rgb)); + --spectrum-orange-900-rgb: 194, 78, 0; + --spectrum-orange-900: rgba(var(--spectrum-orange-900-rgb)); + --spectrum-orange-1000-rgb: 167, 62, 0; + --spectrum-orange-1000: rgba(var(--spectrum-orange-1000-rgb)); + --spectrum-orange-1100-rgb: 144, 51, 0; + --spectrum-orange-1100: rgba(var(--spectrum-orange-1100-rgb)); + --spectrum-orange-1200-rgb: 118, 41, 0; + --spectrum-orange-1200: rgba(var(--spectrum-orange-1200-rgb)); + --spectrum-orange-1300-rgb: 95, 32, 0; + --spectrum-orange-1300: rgba(var(--spectrum-orange-1300-rgb)); + --spectrum-orange-1400-rgb: 73, 24, 0; + --spectrum-orange-1400: rgba(var(--spectrum-orange-1400-rgb)); + --spectrum-orange-1500-rgb: 52, 18, 0; + --spectrum-orange-1500: rgba(var(--spectrum-orange-1500-rgb)); + --spectrum-orange-1600-rgb: 25, 8, 0; + --spectrum-orange-1600: rgba(var(--spectrum-orange-1600-rgb)); + --spectrum-yellow-100-rgb: 255, 248, 204; + --spectrum-yellow-100: rgba(var(--spectrum-yellow-100-rgb)); + --spectrum-yellow-200-rgb: 255, 241, 151; + --spectrum-yellow-200: rgba(var(--spectrum-yellow-200-rgb)); + --spectrum-yellow-300-rgb: 255, 222, 44; + --spectrum-yellow-300: rgba(var(--spectrum-yellow-300-rgb)); + --spectrum-yellow-400-rgb: 245, 199, 0; + --spectrum-yellow-400: rgba(var(--spectrum-yellow-400-rgb)); + --spectrum-yellow-500-rgb: 230, 175, 0; + --spectrum-yellow-500: rgba(var(--spectrum-yellow-500-rgb)); + --spectrum-yellow-600-rgb: 210, 149, 0; + --spectrum-yellow-600: rgba(var(--spectrum-yellow-600-rgb)); + --spectrum-yellow-700-rgb: 193, 131, 0; + --spectrum-yellow-700: rgba(var(--spectrum-yellow-700-rgb)); + --spectrum-yellow-800-rgb: 175, 116, 0; + --spectrum-yellow-800: rgba(var(--spectrum-yellow-800-rgb)); + --spectrum-yellow-900-rgb: 158, 102, 0; + --spectrum-yellow-900: rgba(var(--spectrum-yellow-900-rgb)); + --spectrum-yellow-1000-rgb: 134, 85, 0; + --spectrum-yellow-1000: rgba(var(--spectrum-yellow-1000-rgb)); + --spectrum-yellow-1100-rgb: 114, 72, 0; + --spectrum-yellow-1100: rgba(var(--spectrum-yellow-1100-rgb)); + --spectrum-yellow-1200-rgb: 93, 59, 0; + --spectrum-yellow-1200: rgba(var(--spectrum-yellow-1200-rgb)); + --spectrum-yellow-1300-rgb: 75, 47, 0; + --spectrum-yellow-1300: rgba(var(--spectrum-yellow-1300-rgb)); + --spectrum-yellow-1400-rgb: 56, 35, 0; + --spectrum-yellow-1400: rgba(var(--spectrum-yellow-1400-rgb)); + --spectrum-yellow-1500-rgb: 40, 25, 0; + --spectrum-yellow-1500: rgba(var(--spectrum-yellow-1500-rgb)); + --spectrum-yellow-1600-rgb: 18, 11, 0; + --spectrum-yellow-1600: rgba(var(--spectrum-yellow-1600-rgb)); + --spectrum-chartreuse-100-rgb: 246, 251, 222; + --spectrum-chartreuse-100: rgba(var(--spectrum-chartreuse-100-rgb)); + --spectrum-chartreuse-200-rgb: 234, 246, 173; + --spectrum-chartreuse-200: rgba(var(--spectrum-chartreuse-200-rgb)); + --spectrum-chartreuse-300-rgb: 208, 236, 70; + --spectrum-chartreuse-300: rgba(var(--spectrum-chartreuse-300-rgb)); + --spectrum-chartreuse-400-rgb: 182, 219, 0; + --spectrum-chartreuse-400: rgba(var(--spectrum-chartreuse-400-rgb)); + --spectrum-chartreuse-500-rgb: 163, 196, 0; + --spectrum-chartreuse-500: rgba(var(--spectrum-chartreuse-500-rgb)); + --spectrum-chartreuse-600-rgb: 143, 172, 0; + --spectrum-chartreuse-600: rgba(var(--spectrum-chartreuse-600-rgb)); + --spectrum-chartreuse-700-rgb: 128, 153, 0; + --spectrum-chartreuse-700: rgba(var(--spectrum-chartreuse-700-rgb)); + --spectrum-chartreuse-800-rgb: 114, 137, 0; + --spectrum-chartreuse-800: rgba(var(--spectrum-chartreuse-800-rgb)); + --spectrum-chartreuse-900-rgb: 102, 122, 0; + --spectrum-chartreuse-900: rgba(var(--spectrum-chartreuse-900-rgb)); + --spectrum-chartreuse-1000-rgb: 86, 103, 0; + --spectrum-chartreuse-1000: rgba(var(--spectrum-chartreuse-1000-rgb)); + --spectrum-chartreuse-1100-rgb: 73, 87, 0; + --spectrum-chartreuse-1100: rgba(var(--spectrum-chartreuse-1100-rgb)); + --spectrum-chartreuse-1200-rgb: 60, 71, 0; + --spectrum-chartreuse-1200: rgba(var(--spectrum-chartreuse-1200-rgb)); + --spectrum-chartreuse-1300-rgb: 47, 57, 0; + --spectrum-chartreuse-1300: rgba(var(--spectrum-chartreuse-1300-rgb)); + --spectrum-chartreuse-1400-rgb: 35, 43, 0; + --spectrum-chartreuse-1400: rgba(var(--spectrum-chartreuse-1400-rgb)); + --spectrum-chartreuse-1500-rgb: 25, 30, 0; + --spectrum-chartreuse-1500: rgba(var(--spectrum-chartreuse-1500-rgb)); + --spectrum-chartreuse-1600-rgb: 11, 14, 0; + --spectrum-chartreuse-1600: rgba(var(--spectrum-chartreuse-1600-rgb)); + --spectrum-celery-100-rgb: 235, 255, 220; + --spectrum-celery-100: rgba(var(--spectrum-celery-100-rgb)); + --spectrum-celery-200-rgb: 197, 255, 156; + --spectrum-celery-200: rgba(var(--spectrum-celery-200-rgb)); + --spectrum-celery-300-rgb: 157, 247, 92; + --spectrum-celery-300: rgba(var(--spectrum-celery-300-rgb)); + --spectrum-celery-400-rgb: 129, 228, 58; + --spectrum-celery-400: rgba(var(--spectrum-celery-400-rgb)); + --spectrum-celery-500-rgb: 110, 206, 42; + --spectrum-celery-500: rgba(var(--spectrum-celery-500-rgb)); + --spectrum-celery-600-rgb: 93, 180, 31; + --spectrum-celery-600: rgba(var(--spectrum-celery-600-rgb)); + --spectrum-celery-700-rgb: 82, 161, 25; + --spectrum-celery-700: rgba(var(--spectrum-celery-700-rgb)); + --spectrum-celery-800-rgb: 72, 144, 20; + --spectrum-celery-800: rgba(var(--spectrum-celery-800-rgb)); + --spectrum-celery-900-rgb: 64, 129, 17; + --spectrum-celery-900: rgba(var(--spectrum-celery-900-rgb)); + --spectrum-celery-1000-rgb: 52, 109, 12; + --spectrum-celery-1000: rgba(var(--spectrum-celery-1000-rgb)); + --spectrum-celery-1100-rgb: 44, 92, 9; + --spectrum-celery-1100: rgba(var(--spectrum-celery-1100-rgb)); + --spectrum-celery-1200-rgb: 35, 75, 6; + --spectrum-celery-1200: rgba(var(--spectrum-celery-1200-rgb)); + --spectrum-celery-1300-rgb: 27, 60, 3; + --spectrum-celery-1300: rgba(var(--spectrum-celery-1300-rgb)); + --spectrum-celery-1400-rgb: 19, 46, 0; + --spectrum-celery-1400: rgba(var(--spectrum-celery-1400-rgb)); + --spectrum-celery-1500-rgb: 12, 33, 0; + --spectrum-celery-1500: rgba(var(--spectrum-celery-1500-rgb)); + --spectrum-celery-1600-rgb: 4, 15, 0; + --spectrum-celery-1600: rgba(var(--spectrum-celery-1600-rgb)); + --spectrum-green-100-rgb: 237, 252, 241; + --spectrum-green-100: rgba(var(--spectrum-green-100-rgb)); + --spectrum-green-200-rgb: 215, 247, 225; + --spectrum-green-200: rgba(var(--spectrum-green-200-rgb)); + --spectrum-green-300-rgb: 173, 238, 197; + --spectrum-green-300: rgba(var(--spectrum-green-300-rgb)); + --spectrum-green-400-rgb: 107, 227, 162; + --spectrum-green-400: rgba(var(--spectrum-green-400-rgb)); + --spectrum-green-500-rgb: 43, 209, 125; + --spectrum-green-500: rgba(var(--spectrum-green-500-rgb)); + --spectrum-green-600-rgb: 18, 184, 103; + --spectrum-green-600: rgba(var(--spectrum-green-600-rgb)); + --spectrum-green-700-rgb: 11, 164, 93; + --spectrum-green-700: rgba(var(--spectrum-green-700-rgb)); + --spectrum-green-800-rgb: 7, 147, 85; + --spectrum-green-800: rgba(var(--spectrum-green-800-rgb)); + --spectrum-green-900-rgb: 5, 131, 78; + --spectrum-green-900: rgba(var(--spectrum-green-900-rgb)); + --spectrum-green-1000-rgb: 3, 110, 69; + --spectrum-green-1000: rgba(var(--spectrum-green-1000-rgb)); + --spectrum-green-1100-rgb: 2, 93, 60; + --spectrum-green-1100: rgba(var(--spectrum-green-1100-rgb)); + --spectrum-green-1200-rgb: 1, 76, 52; + --spectrum-green-1200: rgba(var(--spectrum-green-1200-rgb)); + --spectrum-green-1300-rgb: 0, 61, 44; + --spectrum-green-1300: rgba(var(--spectrum-green-1300-rgb)); + --spectrum-green-1400-rgb: 0, 46, 34; + --spectrum-green-1400: rgba(var(--spectrum-green-1400-rgb)); + --spectrum-green-1500-rgb: 0, 33, 25; + --spectrum-green-1500: rgba(var(--spectrum-green-1500-rgb)); + --spectrum-green-1600-rgb: 0, 15, 12; + --spectrum-green-1600: rgba(var(--spectrum-green-1600-rgb)); + --spectrum-seafoam-100-rgb: 235, 251, 246; + --spectrum-seafoam-100: rgba(var(--spectrum-seafoam-100-rgb)); + --spectrum-seafoam-200-rgb: 211, 246, 234; + --spectrum-seafoam-200: rgba(var(--spectrum-seafoam-200-rgb)); + --spectrum-seafoam-300-rgb: 169, 237, 216; + --spectrum-seafoam-300: rgba(var(--spectrum-seafoam-300-rgb)); + --spectrum-seafoam-400-rgb: 92, 225, 194; + --spectrum-seafoam-400: rgba(var(--spectrum-seafoam-400-rgb)); + --spectrum-seafoam-500-rgb: 16, 207, 169; + --spectrum-seafoam-500: rgba(var(--spectrum-seafoam-500-rgb)); + --spectrum-seafoam-600-rgb: 13, 181, 149; + --spectrum-seafoam-600: rgba(var(--spectrum-seafoam-600-rgb)); + --spectrum-seafoam-700-rgb: 11, 162, 134; + --spectrum-seafoam-700: rgba(var(--spectrum-seafoam-700-rgb)); + --spectrum-seafoam-800-rgb: 9, 144, 120; + --spectrum-seafoam-800: rgba(var(--spectrum-seafoam-800-rgb)); + --spectrum-seafoam-900-rgb: 7, 129, 109; + --spectrum-seafoam-900: rgba(var(--spectrum-seafoam-900-rgb)); + --spectrum-seafoam-1000-rgb: 5, 108, 92; + --spectrum-seafoam-1000: rgba(var(--spectrum-seafoam-1000-rgb)); + --spectrum-seafoam-1100-rgb: 3, 92, 80; + --spectrum-seafoam-1100: rgba(var(--spectrum-seafoam-1100-rgb)); + --spectrum-seafoam-1200-rgb: 1, 75, 67; + --spectrum-seafoam-1200: rgba(var(--spectrum-seafoam-1200-rgb)); + --spectrum-seafoam-1300-rgb: 0, 60, 54; + --spectrum-seafoam-1300: rgba(var(--spectrum-seafoam-1300-rgb)); + --spectrum-seafoam-1400-rgb: 0, 46, 40; + --spectrum-seafoam-1400: rgba(var(--spectrum-seafoam-1400-rgb)); + --spectrum-seafoam-1500-rgb: 0, 33, 29; + --spectrum-seafoam-1500: rgba(var(--spectrum-seafoam-1500-rgb)); + --spectrum-seafoam-1600-rgb: 0, 15, 14; + --spectrum-seafoam-1600: rgba(var(--spectrum-seafoam-1600-rgb)); + --spectrum-cyan-100-rgb: 238, 250, 254; + --spectrum-cyan-100: rgba(var(--spectrum-cyan-100-rgb)); + --spectrum-cyan-200-rgb: 217, 244, 253; + --spectrum-cyan-200: rgba(var(--spectrum-cyan-200-rgb)); + --spectrum-cyan-300-rgb: 183, 231, 252; + --spectrum-cyan-300: rgba(var(--spectrum-cyan-300-rgb)); + --spectrum-cyan-400-rgb: 138, 213, 255; + --spectrum-cyan-400: rgba(var(--spectrum-cyan-400-rgb)); + --spectrum-cyan-500-rgb: 92, 192, 255; + --spectrum-cyan-500: rgba(var(--spectrum-cyan-500-rgb)); + --spectrum-cyan-600-rgb: 48, 167, 254; + --spectrum-cyan-600: rgba(var(--spectrum-cyan-600-rgb)); + --spectrum-cyan-700-rgb: 29, 149, 231; + --spectrum-cyan-700: rgba(var(--spectrum-cyan-700-rgb)); + --spectrum-cyan-800-rgb: 18, 134, 205; + --spectrum-cyan-800: rgba(var(--spectrum-cyan-800-rgb)); + --spectrum-cyan-900-rgb: 11, 120, 179; + --spectrum-cyan-900: rgba(var(--spectrum-cyan-900-rgb)); + --spectrum-cyan-1000-rgb: 4, 102, 145; + --spectrum-cyan-1000: rgba(var(--spectrum-cyan-1000-rgb)); + --spectrum-cyan-1100-rgb: 0, 87, 121; + --spectrum-cyan-1100: rgba(var(--spectrum-cyan-1100-rgb)); + --spectrum-cyan-1200-rgb: 0, 71, 98; + --spectrum-cyan-1200: rgba(var(--spectrum-cyan-1200-rgb)); + --spectrum-cyan-1300-rgb: 0, 57, 78; + --spectrum-cyan-1300: rgba(var(--spectrum-cyan-1300-rgb)); + --spectrum-cyan-1400-rgb: 0, 43, 59; + --spectrum-cyan-1400: rgba(var(--spectrum-cyan-1400-rgb)); + --spectrum-cyan-1500-rgb: 0, 31, 43; + --spectrum-cyan-1500: rgba(var(--spectrum-cyan-1500-rgb)); + --spectrum-cyan-1600-rgb: 0, 14, 20; + --spectrum-cyan-1600: rgba(var(--spectrum-cyan-1600-rgb)); + --spectrum-indigo-100-rgb: 247, 248, 255; + --spectrum-indigo-100: rgba(var(--spectrum-indigo-100-rgb)); + --spectrum-indigo-200-rgb: 235, 238, 255; + --spectrum-indigo-200: rgba(var(--spectrum-indigo-200-rgb)); + --spectrum-indigo-300-rgb: 216, 222, 255; + --spectrum-indigo-300: rgba(var(--spectrum-indigo-300-rgb)); + --spectrum-indigo-400-rgb: 192, 201, 255; + --spectrum-indigo-400: rgba(var(--spectrum-indigo-400-rgb)); + --spectrum-indigo-500-rgb: 167, 178, 255; + --spectrum-indigo-500: rgba(var(--spectrum-indigo-500-rgb)); + --spectrum-indigo-600-rgb: 145, 151, 254; + --spectrum-indigo-600: rgba(var(--spectrum-indigo-600-rgb)); + --spectrum-indigo-700-rgb: 132, 128, 254; + --spectrum-indigo-700: rgba(var(--spectrum-indigo-700-rgb)); + --spectrum-indigo-800-rgb: 122, 106, 253; + --spectrum-indigo-800: rgba(var(--spectrum-indigo-800-rgb)); + --spectrum-indigo-900-rgb: 113, 85, 250; + --spectrum-indigo-900: rgba(var(--spectrum-indigo-900-rgb)); + --spectrum-indigo-1000-rgb: 99, 56, 238; + --spectrum-indigo-1000: rgba(var(--spectrum-indigo-1000-rgb)); + --spectrum-indigo-1100-rgb: 84, 36, 219; + --spectrum-indigo-1100: rgba(var(--spectrum-indigo-1100-rgb)); + --spectrum-indigo-1200-rgb: 69, 19, 191; + --spectrum-indigo-1200: rgba(var(--spectrum-indigo-1200-rgb)); + --spectrum-indigo-1300-rgb: 55, 6, 160; + --spectrum-indigo-1300: rgba(var(--spectrum-indigo-1300-rgb)); + --spectrum-indigo-1400-rgb: 42, 0, 129; + --spectrum-indigo-1400: rgba(var(--spectrum-indigo-1400-rgb)); + --spectrum-indigo-1500-rgb: 31, 0, 98; + --spectrum-indigo-1500: rgba(var(--spectrum-indigo-1500-rgb)); + --spectrum-indigo-1600-rgb: 17, 0, 54; + --spectrum-indigo-1600: rgba(var(--spectrum-indigo-1600-rgb)); + --spectrum-purple-100-rgb: 251, 247, 254; + --spectrum-purple-100: rgba(var(--spectrum-purple-100-rgb)); + --spectrum-purple-200-rgb: 244, 235, 252; + --spectrum-purple-200: rgba(var(--spectrum-purple-200-rgb)); + --spectrum-purple-300-rgb: 235, 218, 249; + --spectrum-purple-300: rgba(var(--spectrum-purple-300-rgb)); + --spectrum-purple-400-rgb: 221, 193, 246; + --spectrum-purple-400: rgba(var(--spectrum-purple-400-rgb)); + --spectrum-purple-500-rgb: 208, 167, 243; + --spectrum-purple-500: rgba(var(--spectrum-purple-500-rgb)); + --spectrum-purple-600-rgb: 191, 138, 238; + --spectrum-purple-600: rgba(var(--spectrum-purple-600-rgb)); + --spectrum-purple-700-rgb: 178, 114, 235; + --spectrum-purple-700: rgba(var(--spectrum-purple-700-rgb)); + --spectrum-purple-800-rgb: 166, 92, 231; + --spectrum-purple-800: rgba(var(--spectrum-purple-800-rgb)); + --spectrum-purple-900-rgb: 154, 71, 226; + --spectrum-purple-900: rgba(var(--spectrum-purple-900-rgb)); + --spectrum-purple-1000-rgb: 134, 40, 217; + --spectrum-purple-1000: rgba(var(--spectrum-purple-1000-rgb)); + --spectrum-purple-1100-rgb: 115, 13, 204; + --spectrum-purple-1100: rgba(var(--spectrum-purple-1100-rgb)); + --spectrum-purple-1200-rgb: 93, 0, 177; + --spectrum-purple-1200: rgba(var(--spectrum-purple-1200-rgb)); + --spectrum-purple-1300-rgb: 75, 0, 144; + --spectrum-purple-1300: rgba(var(--spectrum-purple-1300-rgb)); + --spectrum-purple-1400-rgb: 59, 0, 111; + --spectrum-purple-1400: rgba(var(--spectrum-purple-1400-rgb)); + --spectrum-purple-1500-rgb: 44, 0, 84; + --spectrum-purple-1500: rgba(var(--spectrum-purple-1500-rgb)); + --spectrum-purple-1600-rgb: 23, 0, 45; + --spectrum-purple-1600: rgba(var(--spectrum-purple-1600-rgb)); + --spectrum-fuchsia-100-rgb: 254, 246, 255; + --spectrum-fuchsia-100: rgba(var(--spectrum-fuchsia-100-rgb)); + --spectrum-fuchsia-200-rgb: 253, 233, 255; + --spectrum-fuchsia-200: rgba(var(--spectrum-fuchsia-200-rgb)); + --spectrum-fuchsia-300-rgb: 250, 211, 255; + --spectrum-fuchsia-300: rgba(var(--spectrum-fuchsia-300-rgb)); + --spectrum-fuchsia-400-rgb: 247, 181, 255; + --spectrum-fuchsia-400: rgba(var(--spectrum-fuchsia-400-rgb)); + --spectrum-fuchsia-500-rgb: 243, 147, 255; + --spectrum-fuchsia-500: rgba(var(--spectrum-fuchsia-500-rgb)); + --spectrum-fuchsia-600-rgb: 236, 105, 255; + --spectrum-fuchsia-600: rgba(var(--spectrum-fuchsia-600-rgb)); + --spectrum-fuchsia-700-rgb: 223, 77, 245; + --spectrum-fuchsia-700: rgba(var(--spectrum-fuchsia-700-rgb)); + --spectrum-fuchsia-800-rgb: 200, 68, 220; + --spectrum-fuchsia-800: rgba(var(--spectrum-fuchsia-800-rgb)); + --spectrum-fuchsia-900-rgb: 181, 57, 200; + --spectrum-fuchsia-900: rgba(var(--spectrum-fuchsia-900-rgb)); + --spectrum-fuchsia-1000-rgb: 156, 40, 175; + --spectrum-fuchsia-1000: rgba(var(--spectrum-fuchsia-1000-rgb)); + --spectrum-fuchsia-1100-rgb: 135, 27, 154; + --spectrum-fuchsia-1100: rgba(var(--spectrum-fuchsia-1100-rgb)); + --spectrum-fuchsia-1200-rgb: 113, 15, 131; + --spectrum-fuchsia-1200: rgba(var(--spectrum-fuchsia-1200-rgb)); + --spectrum-fuchsia-1300-rgb: 92, 4, 109; + --spectrum-fuchsia-1300: rgba(var(--spectrum-fuchsia-1300-rgb)); + --spectrum-fuchsia-1400-rgb: 72, 0, 88; + --spectrum-fuchsia-1400: rgba(var(--spectrum-fuchsia-1400-rgb)); + --spectrum-fuchsia-1500-rgb: 54, 0, 66; + --spectrum-fuchsia-1500: rgba(var(--spectrum-fuchsia-1500-rgb)); + --spectrum-fuchsia-1600-rgb: 29, 0, 35; + --spectrum-fuchsia-1600: rgba(var(--spectrum-fuchsia-1600-rgb)); + --spectrum-magenta-100-rgb: 255, 245, 248; + --spectrum-magenta-100: rgba(var(--spectrum-magenta-100-rgb)); + --spectrum-magenta-200-rgb: 255, 232, 240; + --spectrum-magenta-200: rgba(var(--spectrum-magenta-200-rgb)); + --spectrum-magenta-300-rgb: 255, 213, 227; + --spectrum-magenta-300: rgba(var(--spectrum-magenta-300-rgb)); + --spectrum-magenta-400-rgb: 255, 185, 208; + --spectrum-magenta-400: rgba(var(--spectrum-magenta-400-rgb)); + --spectrum-magenta-500-rgb: 255, 152, 187; + --spectrum-magenta-500: rgba(var(--spectrum-magenta-500-rgb)); + --spectrum-magenta-600-rgb: 255, 112, 159; + --spectrum-magenta-600: rgba(var(--spectrum-magenta-600-rgb)); + --spectrum-magenta-700-rgb: 255, 72, 133; + --spectrum-magenta-700: rgba(var(--spectrum-magenta-700-rgb)); + --spectrum-magenta-800-rgb: 240, 45, 110; + --spectrum-magenta-800: rgba(var(--spectrum-magenta-800-rgb)); + --spectrum-magenta-900-rgb: 217, 35, 97; + --spectrum-magenta-900: rgba(var(--spectrum-magenta-900-rgb)); + --spectrum-magenta-1000-rgb: 186, 22, 80; + --spectrum-magenta-1000: rgba(var(--spectrum-magenta-1000-rgb)); + --spectrum-magenta-1100-rgb: 163, 5, 62; + --spectrum-magenta-1100: rgba(var(--spectrum-magenta-1100-rgb)); + --spectrum-magenta-1200-rgb: 136, 0, 51; + --spectrum-magenta-1200: rgba(var(--spectrum-magenta-1200-rgb)); + --spectrum-magenta-1300-rgb: 111, 0, 40; + --spectrum-magenta-1300: rgba(var(--spectrum-magenta-1300-rgb)); + --spectrum-magenta-1400-rgb: 86, 0, 30; + --spectrum-magenta-1400: rgba(var(--spectrum-magenta-1400-rgb)); + --spectrum-magenta-1500-rgb: 64, 0, 22; + --spectrum-magenta-1500: rgba(var(--spectrum-magenta-1500-rgb)); + --spectrum-magenta-1600-rgb: 35, 0, 12; + --spectrum-magenta-1600: rgba(var(--spectrum-magenta-1600-rgb)); + --spectrum-pink-100-rgb: 255, 246, 252; + --spectrum-pink-100: rgba(var(--spectrum-pink-100-rgb)); + --spectrum-pink-200-rgb: 255, 232, 247; + --spectrum-pink-200: rgba(var(--spectrum-pink-200-rgb)); + --spectrum-pink-300-rgb: 255, 211, 240; + --spectrum-pink-300: rgba(var(--spectrum-pink-300-rgb)); + --spectrum-pink-400-rgb: 255, 181, 230; + --spectrum-pink-400: rgba(var(--spectrum-pink-400-rgb)); + --spectrum-pink-500-rgb: 255, 148, 219; + --spectrum-pink-500: rgba(var(--spectrum-pink-500-rgb)); + --spectrum-pink-600-rgb: 255, 103, 204; + --spectrum-pink-600: rgba(var(--spectrum-pink-600-rgb)); + --spectrum-pink-700-rgb: 242, 76, 184; + --spectrum-pink-700: rgba(var(--spectrum-pink-700-rgb)); + --spectrum-pink-800-rgb: 228, 52, 163; + --spectrum-pink-800: rgba(var(--spectrum-pink-800-rgb)); + --spectrum-pink-900-rgb: 206, 42, 146; + --spectrum-pink-900: rgba(var(--spectrum-pink-900-rgb)); + --spectrum-pink-1000-rgb: 176, 31, 123; + --spectrum-pink-1000: rgba(var(--spectrum-pink-1000-rgb)); + --spectrum-pink-1100-rgb: 152, 22, 104; + --spectrum-pink-1100: rgba(var(--spectrum-pink-1100-rgb)); + --spectrum-pink-1200-rgb: 128, 12, 85; + --spectrum-pink-1200: rgba(var(--spectrum-pink-1200-rgb)); + --spectrum-pink-1300-rgb: 105, 3, 68; + --spectrum-pink-1300: rgba(var(--spectrum-pink-1300-rgb)); + --spectrum-pink-1400-rgb: 83, 0, 53; + --spectrum-pink-1400: rgba(var(--spectrum-pink-1400-rgb)); + --spectrum-pink-1500-rgb: 62, 0, 39; + --spectrum-pink-1500: rgba(var(--spectrum-pink-1500-rgb)); + --spectrum-pink-1600-rgb: 33, 0, 21; + --spectrum-pink-1600: rgba(var(--spectrum-pink-1600-rgb)); + --spectrum-turquoise-100-rgb: 238, 251, 251; + --spectrum-turquoise-100: rgba(var(--spectrum-turquoise-100-rgb)); + --spectrum-turquoise-200-rgb: 209, 245, 245; + --spectrum-turquoise-200: rgba(var(--spectrum-turquoise-200-rgb)); + --spectrum-turquoise-300-rgb: 169, 236, 237; + --spectrum-turquoise-300: rgba(var(--spectrum-turquoise-300-rgb)); + --spectrum-turquoise-400-rgb: 111, 221, 228; + --spectrum-turquoise-400: rgba(var(--spectrum-turquoise-400-rgb)); + --spectrum-turquoise-500-rgb: 39, 202, 216; + --spectrum-turquoise-500: rgba(var(--spectrum-turquoise-500-rgb)); + --spectrum-turquoise-600-rgb: 15, 177, 192; + --spectrum-turquoise-600: rgba(var(--spectrum-turquoise-600-rgb)); + --spectrum-turquoise-700-rgb: 12, 158, 171; + --spectrum-turquoise-700: rgba(var(--spectrum-turquoise-700-rgb)); + --spectrum-turquoise-800-rgb: 10, 141, 153; + --spectrum-turquoise-800: rgba(var(--spectrum-turquoise-800-rgb)); + --spectrum-turquoise-900-rgb: 8, 126, 137; + --spectrum-turquoise-900: rgba(var(--spectrum-turquoise-900-rgb)); + --spectrum-turquoise-1000-rgb: 5, 107, 116; + --spectrum-turquoise-1000: rgba(var(--spectrum-turquoise-1000-rgb)); + --spectrum-turquoise-1100-rgb: 3, 90, 98; + --spectrum-turquoise-1100: rgba(var(--spectrum-turquoise-1100-rgb)); + --spectrum-turquoise-1200-rgb: 1, 74, 81; + --spectrum-turquoise-1200: rgba(var(--spectrum-turquoise-1200-rgb)); + --spectrum-turquoise-1300-rgb: 0, 59, 65; + --spectrum-turquoise-1300: rgba(var(--spectrum-turquoise-1300-rgb)); + --spectrum-turquoise-1400-rgb: 0, 44, 49; + --spectrum-turquoise-1400: rgba(var(--spectrum-turquoise-1400-rgb)); + --spectrum-turquoise-1500-rgb: 0, 32, 35; + --spectrum-turquoise-1500: rgba(var(--spectrum-turquoise-1500-rgb)); + --spectrum-turquoise-1600-rgb: 0, 15, 17; + --spectrum-turquoise-1600: rgba(var(--spectrum-turquoise-1600-rgb)); + --spectrum-brown-100-rgb: 252, 247, 242; + --spectrum-brown-100: rgba(var(--spectrum-brown-100-rgb)); + --spectrum-brown-200-rgb: 247, 238, 225; + --spectrum-brown-200: rgba(var(--spectrum-brown-200-rgb)); + --spectrum-brown-300-rgb: 239, 221, 195; + --spectrum-brown-300: rgba(var(--spectrum-brown-300-rgb)); + --spectrum-brown-400-rgb: 229, 200, 157; + --spectrum-brown-400: rgba(var(--spectrum-brown-400-rgb)); + --spectrum-brown-500-rgb: 214, 177, 123; + --spectrum-brown-500: rgba(var(--spectrum-brown-500-rgb)); + --spectrum-brown-600-rgb: 190, 155, 104; + --spectrum-brown-600: rgba(var(--spectrum-brown-600-rgb)); + --spectrum-brown-700-rgb: 171, 138, 90; + --spectrum-brown-700: rgba(var(--spectrum-brown-700-rgb)); + --spectrum-brown-800-rgb: 154, 123, 77; + --spectrum-brown-800: rgba(var(--spectrum-brown-800-rgb)); + --spectrum-brown-900-rgb: 139, 109, 66; + --spectrum-brown-900: rgba(var(--spectrum-brown-900-rgb)); + --spectrum-brown-1000-rgb: 119, 91, 50; + --spectrum-brown-1000: rgba(var(--spectrum-brown-1000-rgb)); + --spectrum-brown-1100-rgb: 103, 76, 35; + --spectrum-brown-1100: rgba(var(--spectrum-brown-1100-rgb)); + --spectrum-brown-1200-rgb: 88, 61, 21; + --spectrum-brown-1200: rgba(var(--spectrum-brown-1200-rgb)); + --spectrum-brown-1300-rgb: 70, 49, 17; + --spectrum-brown-1300: rgba(var(--spectrum-brown-1300-rgb)); + --spectrum-brown-1400-rgb: 52, 37, 13; + --spectrum-brown-1400: rgba(var(--spectrum-brown-1400-rgb)); + --spectrum-brown-1500-rgb: 38, 26, 9; + --spectrum-brown-1500: rgba(var(--spectrum-brown-1500-rgb)); + --spectrum-brown-1600-rgb: 16, 12, 4; + --spectrum-brown-1600: rgba(var(--spectrum-brown-1600-rgb)); + --spectrum-silver-100-rgb: 247, 247, 247; + --spectrum-silver-100: rgba(var(--spectrum-silver-100-rgb)); + --spectrum-silver-200-rgb: 239, 239, 239; + --spectrum-silver-200: rgba(var(--spectrum-silver-200-rgb)); + --spectrum-silver-300-rgb: 223, 223, 223; + --spectrum-silver-300: rgba(var(--spectrum-silver-300-rgb)); + --spectrum-silver-400-rgb: 204, 204, 204; + --spectrum-silver-400: rgba(var(--spectrum-silver-400-rgb)); + --spectrum-silver-500-rgb: 183, 183, 183; + --spectrum-silver-500: rgba(var(--spectrum-silver-500-rgb)); + --spectrum-silver-600-rgb: 160, 160, 160; + --spectrum-silver-600: rgba(var(--spectrum-silver-600-rgb)); + --spectrum-silver-700-rgb: 143, 143, 143; + --spectrum-silver-700: rgba(var(--spectrum-silver-700-rgb)); + --spectrum-silver-800-rgb: 128, 128, 128; + --spectrum-silver-800: rgba(var(--spectrum-silver-800-rgb)); + --spectrum-silver-900-rgb: 114, 114, 114; + --spectrum-silver-900: rgba(var(--spectrum-silver-900-rgb)); + --spectrum-silver-1000-rgb: 96, 96, 96; + --spectrum-silver-1000: rgba(var(--spectrum-silver-1000-rgb)); + --spectrum-silver-1100-rgb: 81, 81, 81; + --spectrum-silver-1100: rgba(var(--spectrum-silver-1100-rgb)); + --spectrum-silver-1200-rgb: 66, 66, 66; + --spectrum-silver-1200: rgba(var(--spectrum-silver-1200-rgb)); + --spectrum-silver-1300-rgb: 52, 52, 52; + --spectrum-silver-1300: rgba(var(--spectrum-silver-1300-rgb)); + --spectrum-silver-1400-rgb: 39, 39, 39; + --spectrum-silver-1400: rgba(var(--spectrum-silver-1400-rgb)); + --spectrum-silver-1500-rgb: 28, 28, 28; + --spectrum-silver-1500: rgba(var(--spectrum-silver-1500-rgb)); + --spectrum-silver-1600-rgb: 12, 12, 12; + --spectrum-silver-1600: rgba(var(--spectrum-silver-1600-rgb)); + --spectrum-cinnamon-100-rgb: 253, 247, 243; + --spectrum-cinnamon-100: rgba(var(--spectrum-cinnamon-100-rgb)); + --spectrum-cinnamon-200-rgb: 249, 236, 229; + --spectrum-cinnamon-200: rgba(var(--spectrum-cinnamon-200-rgb)); + --spectrum-cinnamon-300-rgb: 244, 218, 203; + --spectrum-cinnamon-300: rgba(var(--spectrum-cinnamon-300-rgb)); + --spectrum-cinnamon-400-rgb: 237, 196, 172; + --spectrum-cinnamon-400: rgba(var(--spectrum-cinnamon-400-rgb)); + --spectrum-cinnamon-500-rgb: 229, 170, 136; + --spectrum-cinnamon-500: rgba(var(--spectrum-cinnamon-500-rgb)); + --spectrum-cinnamon-600-rgb: 212, 145, 108; + --spectrum-cinnamon-600: rgba(var(--spectrum-cinnamon-600-rgb)); + --spectrum-cinnamon-700-rgb: 198, 126, 88; + --spectrum-cinnamon-700: rgba(var(--spectrum-cinnamon-700-rgb)); + --spectrum-cinnamon-800-rgb: 184, 109, 70; + --spectrum-cinnamon-800: rgba(var(--spectrum-cinnamon-800-rgb)); + --spectrum-cinnamon-900-rgb: 170, 94, 56; + --spectrum-cinnamon-900: rgba(var(--spectrum-cinnamon-900-rgb)); + --spectrum-cinnamon-1000-rgb: 147, 77, 43; + --spectrum-cinnamon-1000: rgba(var(--spectrum-cinnamon-1000-rgb)); + --spectrum-cinnamon-1100-rgb: 128, 62, 32; + --spectrum-cinnamon-1100: rgba(var(--spectrum-cinnamon-1100-rgb)); + --spectrum-cinnamon-1200-rgb: 110, 48, 21; + --spectrum-cinnamon-1200: rgba(var(--spectrum-cinnamon-1200-rgb)); + --spectrum-cinnamon-1300-rgb: 92, 35, 11; + --spectrum-cinnamon-1300: rgba(var(--spectrum-cinnamon-1300-rgb)); + --spectrum-cinnamon-1400-rgb: 72, 25, 6; + --spectrum-cinnamon-1400: rgba(var(--spectrum-cinnamon-1400-rgb)); + --spectrum-cinnamon-1500-rgb: 52, 18, 4; + --spectrum-cinnamon-1500: rgba(var(--spectrum-cinnamon-1500-rgb)); + --spectrum-cinnamon-1600-rgb: 24, 8, 2; + --spectrum-cinnamon-1600: rgba(var(--spectrum-cinnamon-1600-rgb)); + --spectrum-icon-color-blue-primary-default: var(--spectrum-blue-900); + --spectrum-icon-color-green-primary-default: var(--spectrum-green-900); + --spectrum-icon-color-red-primary-default: var(--spectrum-red-900); + --spectrum-icon-color-yellow-primary-default: var(--spectrum-yellow-400); + --spectrum-negative-subdued-background-color-default: var( + --spectrum-negative-subtle-background-color-default + ); + --spectrum-accent-subtle-background-color-default: var( + --spectrum-accent-color-200 + ); + --spectrum-informative-subtle-background-color-default: var( + --spectrum-informative-color-200 + ); + --spectrum-positive-subtle-background-color-default: var( + --spectrum-positive-color-200 + ); + --spectrum-notice-subtle-background-color-default: var( + --spectrum-notice-color-200 + ); + --spectrum-negative-subtle-background-color-default: var( + --spectrum-negative-color-200 + ); + --spectrum-drop-zone-background-color-rgb: var(--spectrum-blue-800-rgb); + --spectrum-dropindicator-color: var(--spectrum-blue-800); + + --spectrum-calendar-day-background-color-selected: rgba( + var(--spectrum-blue-900-rgb), + 0.1 + ); + --spectrum-calendar-day-background-color-hover: rgba( + var(--spectrum-black-rgb), + 0.06 + ); + --spectrum-calendar-day-today-background-color-selected-hover: rgba( + var(--spectrum-blue-900-rgb), + 0.2 + ); + --spectrum-calendar-day-background-color-selected-hover: rgba( + var(--spectrum-blue-900-rgb), + 0.2 + ); + --spectrum-calendar-day-background-color-down: var( + --spectrum-transparent-black-200 + ); + --spectrum-calendar-day-background-color-cap-selected: rgba( + var(--spectrum-blue-900-rgb), + 0.2 + ); + --spectrum-calendar-day-background-color-key-focus: rgba( + var(--spectrum-black-rgb), + 0.06 + ); + --spectrum-calendar-day-border-color-key-focus: var(--spectrum-blue-800); + + --spectrum-badge-label-icon-color-primary: var(--spectrum-white); + + --spectrum-coach-indicator-ring-default-color: var(--spectrum-blue-800); + + --spectrum-steplist-current-marker-color-key-focus: var( + --spectrum-blue-800 + ); + + --spectrum-treeview-item-background-color-quiet-selected: rgba( + var(--spectrum-gray-900-rgb), + 0.06 + ); + --spectrum-treeview-item-background-color-selected: rgba( + var(--spectrum-blue-900-rgb), + 0.1 + ); + + --spectrum-logic-button-and-background-color: var(--spectrum-blue-900); + --spectrum-logic-button-and-border-color: var(--spectrum-blue-900); + --spectrum-logic-button-and-background-color-hover: var( + --spectrum-blue-1100 + ); + --spectrum-logic-button-and-border-color-hover: var(--spectrum-blue-1100); + + --spectrum-logic-button-or-background-color: var(--spectrum-magenta-900); + --spectrum-logic-button-or-border-color: var(--spectrum-magenta-900); + --spectrum-logic-button-or-background-color-hover: var( + --spectrum-magenta-1100 + ); + --spectrum-logic-button-or-border-color-hover: var(--spectrum-magenta-1100); + + --spectrum-assetcard-border-color-selected: var(--spectrum-blue-900); + --spectrum-assetcard-border-color-selected-hover: var(--spectrum-blue-900); + --spectrum-assetcard-border-color-selected-down: var(--spectrum-blue-1000); + --spectrum-assetcard-selectionindicator-background-color-ordered: var( + --spectrum-blue-900 + ); + --spectrum-assestcard-focus-indicator-color: var(--spectrum-blue-800); + + --spectrum-assetlist-item-background-color-selected-hover: rgba( + var(--spectrum-blue-900-rgb), + 0.2 + ); + --spectrum-assetlist-item-background-color-selected: rgba( + var(--spectrum-blue-900-rgb), + 0.1 + ); + --spectrum-assetlist-border-color-key-focus: var(--spectrum-blue-800); + + --spectrum-card-selected-background-color-rgb: var(--spectrum-blue-900-rgb); +} + +:host, +:root { + --spectrum-workflow-icon-size-50: 14px; + --spectrum-workflow-icon-size-75: 16px; + --spectrum-workflow-icon-size-100: 20px; + --spectrum-workflow-icon-size-200: 22px; + --spectrum-workflow-icon-size-300: 26px; + --spectrum-arrow-icon-size-75: 10px; + --spectrum-arrow-icon-size-100: 10px; + --spectrum-arrow-icon-size-200: 12px; + --spectrum-arrow-icon-size-300: 14px; + --spectrum-arrow-icon-size-400: 16px; + --spectrum-arrow-icon-size-500: 18px; + --spectrum-arrow-icon-size-600: 20px; + --spectrum-asterisk-icon-size-100: 8px; + --spectrum-asterisk-icon-size-200: 10px; + --spectrum-asterisk-icon-size-300: 10px; + --spectrum-checkmark-icon-size-50: 10px; + --spectrum-checkmark-icon-size-75: 10px; + --spectrum-checkmark-icon-size-100: 10px; + --spectrum-checkmark-icon-size-200: 12px; + --spectrum-checkmark-icon-size-300: 14px; + --spectrum-checkmark-icon-size-400: 16px; + --spectrum-checkmark-icon-size-500: 16px; + --spectrum-checkmark-icon-size-600: 18px; + --spectrum-chevron-icon-size-50: 6px; + --spectrum-chevron-icon-size-75: 10px; + --spectrum-chevron-icon-size-100: 10px; + --spectrum-chevron-icon-size-200: 12px; + --spectrum-chevron-icon-size-300: 14px; + --spectrum-chevron-icon-size-400: 16px; + --spectrum-chevron-icon-size-500: 16px; + --spectrum-chevron-icon-size-600: 18px; + --spectrum-corner-triangle-icon-size-75: 5px; + --spectrum-corner-triangle-icon-size-100: 5px; + --spectrum-corner-triangle-icon-size-200: 6px; + --spectrum-corner-triangle-icon-size-300: 7px; + --spectrum-cross-icon-size-75: 8px; + --spectrum-cross-icon-size-100: 8px; + --spectrum-cross-icon-size-200: 10px; + --spectrum-cross-icon-size-300: 12px; + --spectrum-cross-icon-size-400: 12px; + --spectrum-cross-icon-size-500: 14px; + --spectrum-cross-icon-size-600: 16px; + --spectrum-dash-icon-size-50: 8px; + --spectrum-dash-icon-size-75: 8px; + --spectrum-dash-icon-size-100: 10px; + --spectrum-dash-icon-size-200: 12px; + --spectrum-dash-icon-size-300: 12px; + --spectrum-dash-icon-size-400: 14px; + --spectrum-dash-icon-size-500: 16px; + --spectrum-dash-icon-size-600: 18px; + --spectrum-checkbox-control-size-small: 12px; + --spectrum-checkbox-control-size-medium: 14px; + --spectrum-checkbox-control-size-large: 16px; + --spectrum-checkbox-control-size-extra-large: 18px; + --spectrum-checkbox-top-to-control-small: 6px; + --spectrum-checkbox-top-to-control-medium: 9px; + --spectrum-checkbox-top-to-control-large: 12px; + --spectrum-checkbox-top-to-control-extra-large: 15px; + --spectrum-switch-control-width-small: 23px; + --spectrum-switch-control-width-medium: 26px; + --spectrum-switch-control-width-large: 29px; + --spectrum-switch-control-width-extra-large: 33px; + --spectrum-switch-control-height-small: 12px; + --spectrum-switch-control-height-medium: 14px; + --spectrum-switch-control-height-large: 16px; + --spectrum-switch-control-height-extra-large: 18px; + --spectrum-switch-top-to-control-small: 6px; + --spectrum-switch-top-to-control-medium: 9px; + --spectrum-switch-top-to-control-large: 12px; + --spectrum-switch-top-to-control-extra-large: 15px; + --spectrum-radio-button-control-size-small: 12px; + --spectrum-radio-button-control-size-medium: 14px; + --spectrum-radio-button-control-size-large: 16px; + --spectrum-radio-button-control-size-extra-large: 18px; + --spectrum-radio-button-top-to-control-small: 6px; + --spectrum-radio-button-top-to-control-medium: 9px; + --spectrum-radio-button-top-to-control-large: 12px; + --spectrum-radio-button-top-to-control-extra-large: 15px; + --spectrum-field-label-text-to-asterisk-small: 4px; + --spectrum-field-label-text-to-asterisk-medium: 4px; + --spectrum-field-label-text-to-asterisk-large: 5px; + --spectrum-field-label-text-to-asterisk-extra-large: 5px; + --spectrum-field-label-top-to-asterisk-small: 8px; + --spectrum-field-label-top-to-asterisk-medium: 12px; + --spectrum-field-label-top-to-asterisk-large: 15px; + --spectrum-field-label-top-to-asterisk-extra-large: 19px; + --spectrum-field-label-top-margin-medium: 4px; + --spectrum-field-label-top-margin-large: 5px; + --spectrum-field-label-top-margin-extra-large: 5px; + --spectrum-field-label-to-component-quiet-small: -8px; + --spectrum-field-label-to-component-quiet-medium: -8px; + --spectrum-field-label-to-component-quiet-large: -12px; + --spectrum-field-label-to-component-quiet-extra-large: -15px; + --spectrum-help-text-top-to-workflow-icon-small: 4px; + --spectrum-help-text-top-to-workflow-icon-medium: 3px; + --spectrum-help-text-top-to-workflow-icon-large: 6px; + --spectrum-help-text-top-to-workflow-icon-extra-large: 9px; + --spectrum-status-light-dot-size-medium: 8px; + --spectrum-status-light-dot-size-large: 10px; + --spectrum-status-light-dot-size-extra-large: 10px; + --spectrum-status-light-top-to-dot-small: 8px; + --spectrum-status-light-top-to-dot-medium: 12px; + --spectrum-status-light-top-to-dot-large: 15px; + --spectrum-status-light-top-to-dot-extra-large: 19px; + --spectrum-action-button-edge-to-hold-icon-medium: 4px; + --spectrum-action-button-edge-to-hold-icon-large: 5px; + --spectrum-action-button-edge-to-hold-icon-extra-large: 6px; + --spectrum-tooltip-tip-width: 8px; + --spectrum-tooltip-tip-height: 4px; + --spectrum-tooltip-maximum-width: 160px; + --spectrum-progress-circle-size-small: 16px; + --spectrum-progress-circle-size-medium: 32px; + --spectrum-progress-circle-size-large: 64px; + --spectrum-progress-circle-thickness-small: 2px; + --spectrum-progress-circle-thickness-medium: 3px; + --spectrum-progress-circle-thickness-large: 4px; + --spectrum-toast-height: 48px; + --spectrum-toast-maximum-width: 336px; + --spectrum-toast-top-to-workflow-icon: 15px; + --spectrum-toast-top-to-text: 14px; + --spectrum-toast-bottom-to-text: 17px; + --spectrum-action-bar-height: 48px; + --spectrum-action-bar-top-to-item-counter: 14px; + --spectrum-swatch-size-extra-small: 16px; + --spectrum-swatch-size-small: 24px; + --spectrum-swatch-size-medium: 32px; + --spectrum-swatch-size-large: 40px; + --spectrum-progress-bar-thickness-small: 4px; + --spectrum-progress-bar-thickness-medium: 6px; + --spectrum-progress-bar-thickness-large: 8px; + --spectrum-progress-bar-thickness-extra-large: 10px; + --spectrum-meter-width: 192px; + --spectrum-meter-thickness-small: 4px; + --spectrum-meter-thickness-large: 6px; + --spectrum-tag-top-to-avatar-small: 4px; + --spectrum-tag-top-to-avatar-medium: 6px; + --spectrum-tag-top-to-avatar-large: 9px; + --spectrum-tag-top-to-cross-icon-small: 8px; + --spectrum-tag-top-to-cross-icon-medium: 12px; + --spectrum-tag-top-to-cross-icon-large: 15px; + --spectrum-popover-top-to-content-area: 4px; + --spectrum-menu-item-edge-to-content-not-selected-small: 28px; + --spectrum-menu-item-edge-to-content-not-selected-medium: 32px; + --spectrum-menu-item-edge-to-content-not-selected-large: 38px; + --spectrum-menu-item-edge-to-content-not-selected-extra-large: 45px; + --spectrum-menu-item-top-to-disclosure-icon-small: 7px; + --spectrum-menu-item-top-to-disclosure-icon-medium: 11px; + --spectrum-menu-item-top-to-disclosure-icon-large: 14px; + --spectrum-menu-item-top-to-disclosure-icon-extra-large: 17px; + --spectrum-menu-item-top-to-selected-icon-small: 7px; + --spectrum-menu-item-top-to-selected-icon-medium: 11px; + --spectrum-menu-item-top-to-selected-icon-large: 14px; + --spectrum-menu-item-top-to-selected-icon-extra-large: 17px; + --spectrum-slider-control-height-small: 14px; + --spectrum-slider-control-height-medium: 16px; + --spectrum-slider-control-height-large: 18px; + --spectrum-slider-control-height-extra-large: 20px; + --spectrum-slider-handle-size-small: 14px; + --spectrum-slider-handle-size-medium: 16px; + --spectrum-slider-handle-size-large: 18px; + --spectrum-slider-handle-size-extra-large: 20px; + --spectrum-slider-handle-border-width-down-small: 5px; + --spectrum-slider-handle-border-width-down-medium: 6px; + --spectrum-slider-handle-border-width-down-large: 7px; + --spectrum-slider-handle-border-width-down-extra-large: 8px; + --spectrum-slider-bottom-to-handle-small: 5px; + --spectrum-slider-bottom-to-handle-medium: 8px; + --spectrum-slider-bottom-to-handle-large: 11px; + --spectrum-slider-bottom-to-handle-extra-large: 14px; + --spectrum-slider-control-to-field-label-small: 5px; + --spectrum-slider-control-to-field-label-medium: 8px; + --spectrum-slider-control-to-field-label-large: 11px; + --spectrum-slider-control-to-field-label-extra-large: 14px; + --spectrum-picker-visual-to-disclosure-icon-small: 7px; + --spectrum-picker-visual-to-disclosure-icon-medium: 8px; + --spectrum-picker-visual-to-disclosure-icon-large: 9px; + --spectrum-picker-visual-to-disclosure-icon-extra-large: 10px; + --spectrum-text-area-minimum-width: 112px; + --spectrum-text-area-minimum-height: 56px; + --spectrum-combo-box-visual-to-field-button-small: 7px; + --spectrum-combo-box-visual-to-field-button-medium: 8px; + --spectrum-combo-box-visual-to-field-button-large: 9px; + --spectrum-combo-box-visual-to-field-button-extra-large: 10px; + --spectrum-thumbnail-size-50: 16px; + --spectrum-thumbnail-size-75: 18px; + --spectrum-thumbnail-size-100: 20px; + --spectrum-thumbnail-size-200: 22px; + --spectrum-thumbnail-size-300: 26px; + --spectrum-thumbnail-size-400: 28px; + --spectrum-thumbnail-size-500: 32px; + --spectrum-thumbnail-size-600: 36px; + --spectrum-thumbnail-size-700: 40px; + --spectrum-thumbnail-size-800: 44px; + --spectrum-thumbnail-size-900: 50px; + --spectrum-thumbnail-size-1000: 56px; + --spectrum-alert-dialog-title-size: var(--spectrum-heading-size-s); + --spectrum-alert-dialog-description-size: var(--spectrum-body-size-s); + --spectrum-opacity-checkerboard-square-size: 8px; + --spectrum-contextual-help-title-size: var(--spectrum-heading-size-xs); + --spectrum-contextual-help-body-size: var(--spectrum-body-size-s); + --spectrum-breadcrumbs-height-multiline: 72px; + --spectrum-breadcrumbs-top-to-text: 13px; + --spectrum-breadcrumbs-top-to-text-compact: 11px; + --spectrum-breadcrumbs-top-to-text-multiline: 12px; + --spectrum-breadcrumbs-bottom-to-text: 15px; + --spectrum-breadcrumbs-bottom-to-text-compact: 12px; + --spectrum-breadcrumbs-bottom-to-text-multiline: 9px; + --spectrum-breadcrumbs-start-edge-to-text: 8px; + --spectrum-breadcrumbs-top-text-to-bottom-text: 9px; + --spectrum-breadcrumbs-top-to-separator-icon: 19px; + --spectrum-breadcrumbs-top-to-separator-icon-compact: 15px; + --spectrum-breadcrumbs-top-to-separator-icon-multiline: 15px; + --spectrum-breadcrumbs-separator-icon-to-bottom-text-multiline: 11px; + --spectrum-breadcrumbs-top-to-truncated-menu: 8px; + --spectrum-breadcrumbs-top-to-truncated-menu-compact: 4px; + --spectrum-avatar-size-50: 16px; + --spectrum-avatar-size-75: 18px; + --spectrum-avatar-size-100: 20px; + --spectrum-avatar-size-200: 22px; + --spectrum-avatar-size-300: 26px; + --spectrum-avatar-size-400: 28px; + --spectrum-avatar-size-500: 32px; + --spectrum-avatar-size-600: 36px; + --spectrum-avatar-size-700: 40px; + --spectrum-alert-banner-minimum-height: 48px; + --spectrum-alert-banner-width: 832px; + --spectrum-alert-banner-top-to-workflow-icon: 15px; + --spectrum-alert-banner-top-to-text: 14px; + --spectrum-alert-banner-bottom-to-text: 17px; + --spectrum-rating-indicator-width: 18px; + --spectrum-rating-indicator-to-icon: 4px; + --spectrum-color-area-width: 192px; + --spectrum-color-area-minimum-width: 64px; + --spectrum-color-area-height: 192px; + --spectrum-color-area-minimum-height: 64px; + --spectrum-color-wheel-width: 192px; + --spectrum-color-wheel-minimum-width: 175px; + --spectrum-color-slider-length: 192px; + --spectrum-color-slider-minimum-length: 80px; + --spectrum-illustrated-message-title-size: var(--spectrum-heading-size-m); + --spectrum-illustrated-message-cjk-title-size: var( + --spectrum-heading-cjk-size-m + ); + --spectrum-illustrated-message-body-size: var(--spectrum-body-size-s); + --spectrum-coach-mark-width: 296px; + --spectrum-coach-mark-minimum-width: 296px; + --spectrum-coach-mark-maximum-width: 380px; + --spectrum-coach-mark-edge-to-content: var(--spectrum-spacing-400); + --spectrum-coach-mark-pagination-text-to-bottom-edge: 33px; + --spectrum-coach-mark-media-height: 222px; + --spectrum-coach-mark-media-minimum-height: 166px; + --spectrum-coach-mark-title-size: var(--spectrum-heading-size-xs); + --spectrum-coach-mark-body-size: var(--spectrum-body-size-s); + --spectrum-coach-mark-pagination-body-size: var(--spectrum-body-size-s); + --spectrum-accordion-top-to-text-regular-small: 5px; + --spectrum-accordion-small-top-to-text-spacious: 9px; + --spectrum-accordion-top-to-text-regular-medium: 8px; + --spectrum-accordion-top-to-text-spacious-medium: 12px; + --spectrum-accordion-top-to-text-compact-large: 4px; + --spectrum-accordion-top-to-text-regular-large: 9px; + --spectrum-accordion-top-to-text-spacious-large: 12px; + --spectrum-accordion-top-to-text-compact-extra-large: 5px; + --spectrum-accordion-top-to-text-regular-extra-large: 9px; + --spectrum-accordion-top-to-text-spacious-extra-large: 13px; + --spectrum-accordion-bottom-to-text-compact-small: 2px; + --spectrum-accordion-bottom-to-text-regular-small: 7px; + --spectrum-accordion-bottom-to-text-spacious-small: 11px; + --spectrum-accordion-bottom-to-text-compact-medium: 5px; + --spectrum-accordion-bottom-to-text-regular-medium: 9px; + --spectrum-accordion-bottom-to-text-spacious-medium: 13px; + --spectrum-accordion-bottom-to-text-compact-large: 8px; + --spectrum-accordion-bottom-to-text-regular-large: 11px; + --spectrum-accordion-bottom-to-text-spacious-large: 16px; + --spectrum-accordion-bottom-to-text-compact-extra-large: 8px; + --spectrum-accordion-bottom-to-text-regular-extra-large: 12px; + --spectrum-accordion-bottom-to-text-spacious-extra-large: 16px; + --spectrum-accordion-minimum-width: 200px; + --spectrum-accordion-content-area-top-to-content: 8px; + --spectrum-accordion-content-area-bottom-to-content: 16px; + --spectrum-color-handle-size: 16px; + --spectrum-color-handle-size-key-focus: 32px; + --spectrum-table-column-header-row-top-to-text-small: 8px; + --spectrum-table-column-header-row-top-to-text-medium: 7px; + --spectrum-table-column-header-row-top-to-text-large: 10px; + --spectrum-table-column-header-row-top-to-text-extra-large: 13px; + --spectrum-table-column-header-row-bottom-to-text-small: 9px; + --spectrum-table-column-header-row-bottom-to-text-medium: 8px; + --spectrum-table-column-header-row-bottom-to-text-large: 10px; + --spectrum-table-column-header-row-bottom-to-text-extra-large: 13px; + --spectrum-table-row-height-small-regular: 32px; + --spectrum-table-row-height-medium-regular: 40px; + --spectrum-table-row-height-large-regular: 48px; + --spectrum-table-row-height-extra-large-regular: 56px; + --spectrum-table-row-height-small-spacious: 40px; + --spectrum-table-row-height-medium-spacious: 48px; + --spectrum-table-row-height-large-spacious: 56px; + --spectrum-table-row-height-extra-large-spacious: 64px; + --spectrum-table-row-top-to-text-small-regular: 8px; + --spectrum-table-row-top-to-text-medium-regular: 11px; + --spectrum-table-row-top-to-text-large-regular: 14px; + --spectrum-table-row-top-to-text-extra-large-regular: 17px; + --spectrum-table-row-bottom-to-text-small-regular: 9px; + --spectrum-table-row-bottom-to-text-medium-regular: 12px; + --spectrum-table-row-bottom-to-text-large-regular: 14px; + --spectrum-table-row-bottom-to-text-extra-large-regular: 17px; + --spectrum-table-row-top-to-text-small-spacious: 12px; + --spectrum-table-row-top-to-text-medium-spacious: 15px; + --spectrum-table-row-top-to-text-large-spacious: 18px; + --spectrum-table-row-top-to-text-extra-large-spacious: 21px; + --spectrum-table-row-bottom-to-text-small-spacious: 13px; + --spectrum-table-row-bottom-to-text-medium-spacious: 16px; + --spectrum-table-row-bottom-to-text-large-spacious: 18px; + --spectrum-table-row-bottom-to-text-extra-large-spacious: 21px; + --spectrum-table-checkbox-to-text: 24px; + --spectrum-table-header-row-checkbox-to-top-small: 10px; + --spectrum-table-header-row-checkbox-to-top-medium: 9px; + --spectrum-table-header-row-checkbox-to-top-large: 12px; + --spectrum-table-header-row-checkbox-to-top-extra-large: 15px; + --spectrum-table-row-checkbox-to-top-small-compact: 6px; + --spectrum-table-row-checkbox-to-top-small-regular: 10px; + --spectrum-table-row-checkbox-to-top-small-spacious: 14px; + --spectrum-table-row-checkbox-to-top-medium-compact: 9px; + --spectrum-table-row-checkbox-to-top-medium-regular: 13px; + --spectrum-table-row-checkbox-to-top-medium-spacious: 17px; + --spectrum-table-row-checkbox-to-top-large-compact: 12px; + --spectrum-table-row-checkbox-to-top-large-regular: 16px; + --spectrum-table-row-checkbox-to-top-large-spacious: 20px; + --spectrum-table-row-checkbox-to-top-extra-large-compact: 15px; + --spectrum-table-row-checkbox-to-top-extra-large-regular: 19px; + --spectrum-table-row-checkbox-to-top-extra-large-spacious: 23px; + --spectrum-table-section-header-row-height-small: 24px; + --spectrum-table-section-header-row-height-medium: 32px; + --spectrum-table-section-header-row-height-large: 40px; + --spectrum-table-section-header-row-height-extra-large: 48px; + --spectrum-table-thumbnail-to-top-minimum-small-compact: 4px; + --spectrum-table-thumbnail-to-top-minimum-medium-compact: 5px; + --spectrum-table-thumbnail-to-top-minimum-large-compact: 7px; + --spectrum-table-thumbnail-to-top-minimum-extra-large-compact: 8px; + --spectrum-table-thumbnail-to-top-minimum-small-regular: 5px; + --spectrum-table-thumbnail-to-top-minimum-medium-regular: 7px; + --spectrum-table-thumbnail-to-top-minimum-large-regular: 8px; + --spectrum-table-thumbnail-to-top-minimum-extra-large-regular: 8px; + --spectrum-table-thumbnail-to-top-minimum-small-spacious: 7px; + --spectrum-table-thumbnail-to-top-minimum-medium-spacious: 8px; + --spectrum-table-thumbnail-to-top-minimum-large-spacious: 8px; + --spectrum-table-thumbnail-to-top-minimum-extra-large-spacious: 10px; + --spectrum-tab-item-to-tab-item-horizontal-small: 21px; + --spectrum-tab-item-to-tab-item-horizontal-medium: 24px; + --spectrum-tab-item-to-tab-item-horizontal-large: 27px; + --spectrum-tab-item-to-tab-item-horizontal-extra-large: 30px; + --spectrum-tab-item-to-tab-item-vertical-small: 4px; + --spectrum-tab-item-to-tab-item-vertical-medium: 4px; + --spectrum-tab-item-to-tab-item-vertical-large: 5px; + --spectrum-tab-item-to-tab-item-vertical-extra-large: 5px; + --spectrum-tab-item-start-to-edge-small: 12px; + --spectrum-tab-item-start-to-edge-medium: 12px; + --spectrum-tab-item-start-to-edge-large: 13px; + --spectrum-tab-item-start-to-edge-extra-large: 13px; + --spectrum-tab-item-top-to-text-small: 11px; + --spectrum-tab-item-bottom-to-text-small: 12px; + --spectrum-tab-item-top-to-text-medium: 14px; + --spectrum-tab-item-bottom-to-text-medium: 14px; + --spectrum-tab-item-top-to-text-large: 16px; + --spectrum-tab-item-bottom-to-text-large: 18px; + --spectrum-tab-item-top-to-text-extra-large: 19px; + --spectrum-tab-item-bottom-to-text-extra-large: 20px; + --spectrum-tab-item-top-to-text-compact-small: 4px; + --spectrum-tab-item-bottom-to-text-compact-small: 5px; + --spectrum-tab-item-top-to-text-compact-medium: 6px; + --spectrum-tab-item-bottom-to-text-compact-medium: 8px; + --spectrum-tab-item-top-to-text-compact-large: 10px; + --spectrum-tab-item-bottom-to-text-compact-large: 12px; + --spectrum-tab-item-top-to-text-compact-extra-large: 12px; + --spectrum-tab-item-bottom-to-text-compact-extra-large: 13px; + --spectrum-tab-item-top-to-workflow-icon-small: 13px; + --spectrum-tab-item-top-to-workflow-icon-medium: 15px; + --spectrum-tab-item-top-to-workflow-icon-large: 17px; + --spectrum-tab-item-top-to-workflow-icon-extra-large: 19px; + --spectrum-tab-item-top-to-workflow-icon-compact-small: 3px; + --spectrum-tab-item-top-to-workflow-icon-compact-medium: 7px; + --spectrum-tab-item-top-to-workflow-icon-compact-large: 9px; + --spectrum-tab-item-top-to-workflow-icon-compact-extra-large: 11px; + --spectrum-tab-item-focus-indicator-gap-small: 7px; + --spectrum-tab-item-focus-indicator-gap-medium: 8px; + --spectrum-tab-item-focus-indicator-gap-large: 9px; + --spectrum-tab-item-focus-indicator-gap-extra-large: 10px; + --spectrum-side-navigation-width: 192px; + --spectrum-side-navigation-minimum-width: 160px; + --spectrum-side-navigation-maximum-width: 240px; + --spectrum-side-navigation-second-level-edge-to-text: 24px; + --spectrum-side-navigation-third-level-edge-to-text: 36px; + --spectrum-side-navigation-with-icon-second-level-edge-to-text: 50px; + --spectrum-side-navigation-with-icon-third-level-edge-to-text: 62px; + --spectrum-side-navigation-item-to-item: 4px; + --spectrum-side-navigation-item-to-header: 24px; + --spectrum-side-navigation-header-to-item: 8px; + --spectrum-side-navigation-bottom-to-text: 8px; + --spectrum-tray-top-to-content-area: 4px; + --spectrum-accordion-top-to-text-spacious-small: 9px; + --spectrum-drop-shadow-y: 1px; + --spectrum-drop-shadow-blur: 4px; + --spectrum-text-to-visual-50: 5px; + --spectrum-text-to-visual-75: 5px; + --spectrum-text-to-visual-100: 6px; + --spectrum-text-to-visual-200: 7px; + --spectrum-text-to-visual-300: 8px; + --spectrum-text-to-visual-400: 9px; + --spectrum-text-to-control-75: 9px; + --spectrum-text-to-control-100: 10px; + --spectrum-text-to-control-200: 11px; + --spectrum-text-to-control-300: 13px; + --spectrum-component-height-50: 20px; + --spectrum-component-height-75: 24px; + --spectrum-component-height-100: 32px; + --spectrum-component-height-200: 40px; + --spectrum-component-height-300: 48px; + --spectrum-component-height-400: 56px; + --spectrum-component-height-500: 64px; + --spectrum-component-pill-edge-to-visual-75: 11px; + --spectrum-component-pill-edge-to-visual-100: 14px; + --spectrum-component-pill-edge-to-visual-200: 18px; + --spectrum-component-pill-edge-to-visual-300: 20px; + --spectrum-component-pill-edge-to-visual-only-75: 4px; + --spectrum-component-pill-edge-to-visual-only-100: 6px; + --spectrum-component-pill-edge-to-visual-only-200: 9px; + --spectrum-component-pill-edge-to-visual-only-300: 11px; + --spectrum-component-pill-edge-to-text-75: 13px; + --spectrum-component-pill-edge-to-text-100: 16px; + --spectrum-component-pill-edge-to-text-200: 20px; + --spectrum-component-pill-edge-to-text-300: 23px; + --spectrum-component-edge-to-visual-50: 7px; + --spectrum-component-edge-to-visual-75: 8px; + --spectrum-component-edge-to-visual-100: 10px; + --spectrum-component-edge-to-visual-200: 13px; + --spectrum-component-edge-to-visual-300: 14px; + --spectrum-component-edge-to-visual-only-50: 3px; + --spectrum-component-edge-to-visual-only-75: 4px; + --spectrum-component-edge-to-visual-only-100: 6px; + --spectrum-component-edge-to-visual-only-200: 9px; + --spectrum-component-edge-to-visual-only-300: 11px; + --spectrum-component-edge-to-text-50: 8px; + --spectrum-component-edge-to-text-75: 10px; + --spectrum-component-edge-to-text-100: 12px; + --spectrum-component-edge-to-text-200: 15px; + --spectrum-component-edge-to-text-300: 17px; + --spectrum-component-top-to-workflow-icon-50: 3px; + --spectrum-component-top-to-workflow-icon-75: 4px; + --spectrum-component-top-to-workflow-icon-100: 6px; + --spectrum-component-top-to-workflow-icon-200: 9px; + --spectrum-component-top-to-workflow-icon-300: 11px; + --spectrum-component-top-to-text-50: 3px; + --spectrum-component-top-to-text-75: 4px; + --spectrum-component-top-to-text-100: 6px; + --spectrum-component-top-to-text-200: 9px; + --spectrum-component-top-to-text-300: 12px; + --spectrum-component-bottom-to-text-50: 3px; + --spectrum-component-bottom-to-text-75: 5px; + --spectrum-component-bottom-to-text-100: 9px; + --spectrum-component-bottom-to-text-200: 11px; + --spectrum-component-bottom-to-text-300: 14px; + --spectrum-component-to-menu-small: 6px; + --spectrum-component-to-menu-medium: 6px; + --spectrum-component-to-menu-large: 7px; + --spectrum-component-to-menu-extra-large: 8px; + --spectrum-field-edge-to-disclosure-icon-75: 7px; + --spectrum-field-edge-to-disclosure-icon-100: 11px; + --spectrum-field-edge-to-disclosure-icon-200: 14px; + --spectrum-field-edge-to-disclosure-icon-300: 17px; + --spectrum-field-end-edge-to-disclosure-icon-75: 7px; + --spectrum-field-end-edge-to-disclosure-icon-100: 11px; + --spectrum-field-end-edge-to-disclosure-icon-200: 14px; + --spectrum-field-end-edge-to-disclosure-icon-300: 17px; + --spectrum-field-top-to-disclosure-icon-75: 7px; + --spectrum-field-top-to-disclosure-icon-100: 11px; + --spectrum-field-top-to-disclosure-icon-200: 14px; + --spectrum-field-top-to-disclosure-icon-300: 17px; + --spectrum-field-top-to-alert-icon-small: 4px; + --spectrum-field-top-to-alert-icon-medium: 7px; + --spectrum-field-top-to-alert-icon-large: 10px; + --spectrum-field-top-to-alert-icon-extra-large: 13px; + --spectrum-field-top-to-validation-icon-small: 7px; + --spectrum-field-top-to-validation-icon-medium: 11px; + --spectrum-field-top-to-validation-icon-large: 14px; + --spectrum-field-top-to-validation-icon-extra-large: 17px; + --spectrum-field-top-to-progress-circle-small: 4px; + --spectrum-field-top-to-progress-circle-medium: 8px; + --spectrum-field-top-to-progress-circle-large: 12px; + --spectrum-field-top-to-progress-circle-extra-large: 16px; + --spectrum-field-edge-to-alert-icon-small: 9px; + --spectrum-field-edge-to-alert-icon-medium: 12px; + --spectrum-field-edge-to-alert-icon-large: 15px; + --spectrum-field-edge-to-alert-icon-extra-large: 18px; + --spectrum-field-edge-to-validation-icon-small: 9px; + --spectrum-field-edge-to-validation-icon-medium: 12px; + --spectrum-field-edge-to-validation-icon-large: 15px; + --spectrum-field-edge-to-validation-icon-extra-large: 18px; + --spectrum-field-text-to-alert-icon-small: 8px; + --spectrum-field-text-to-alert-icon-medium: 12px; + --spectrum-field-text-to-alert-icon-large: 15px; + --spectrum-field-text-to-alert-icon-extra-large: 18px; + --spectrum-field-text-to-validation-icon-small: 8px; + --spectrum-field-text-to-validation-icon-medium: 12px; + --spectrum-field-text-to-validation-icon-large: 15px; + --spectrum-field-text-to-validation-icon-extra-large: 18px; + --spectrum-field-width: 192px; + --spectrum-character-count-to-field-quiet-small: -3px; + --spectrum-character-count-to-field-quiet-medium: -3px; + --spectrum-character-count-to-field-quiet-large: -3px; + --spectrum-character-count-to-field-quiet-extra-large: -4px; + --spectrum-side-label-character-count-to-field: 12px; + --spectrum-side-label-character-count-top-margin-small: 4px; + --spectrum-side-label-character-count-top-margin-medium: 8px; + --spectrum-side-label-character-count-top-margin-large: 11px; + --spectrum-side-label-character-count-top-margin-extra-large: 14px; + --spectrum-disclosure-indicator-top-to-disclosure-icon-small: 7px; + --spectrum-disclosure-indicator-top-to-disclosure-icon-medium: 11px; + --spectrum-disclosure-indicator-top-to-disclosure-icon-large: 14px; + --spectrum-disclosure-indicator-top-to-disclosure-icon-extra-large: 17px; + --spectrum-navigational-indicator-top-to-back-icon-small: 6px; + --spectrum-navigational-indicator-top-to-back-icon-medium: 9px; + --spectrum-navigational-indicator-top-to-back-icon-large: 12px; + --spectrum-navigational-indicator-top-to-back-icon-extra-large: 15px; + --spectrum-color-control-track-width: 24px; + --spectrum-font-size-50: 11px; + --spectrum-font-size-75: 12px; + --spectrum-font-size-100: 14px; + --spectrum-font-size-200: 16px; + --spectrum-font-size-300: 18px; + --spectrum-font-size-400: 20px; + --spectrum-font-size-500: 22px; + --spectrum-font-size-600: 25px; + --spectrum-font-size-700: 28px; + --spectrum-font-size-800: 32px; + --spectrum-font-size-900: 36px; + --spectrum-font-size-1000: 40px; + --spectrum-font-size-1100: 45px; + --spectrum-font-size-1200: 50px; + --spectrum-font-size-1300: 60px; + --spectrum-slider-tick-mark-height: 10px; + --spectrum-slider-ramp-track-height: 16px; + + --spectrum-colorwheel-path: 'M 95 95 m -95 0 a 95 95 0 1 0 190 0 a 95 95 0 1 0 -190 0.2 M 95 95 m -73 0 a 73 73 0 1 0 146 0 a 73 73 0 1 0 -146 0'; + --spectrum-colorwheel-path-borders: 'M 96 96 m -96 0 a 96 96 0 1 0 192 0 a 96 96 0 1 0 -192 0.2 M 96 96 m -72 0 a 72 72 0 1 0 144 0 a 72 72 0 1 0 -144 0'; + --spectrum-colorwheel-colorarea-container-size: 144px; + + --spectrum-colorloupe-checkerboard-fill: url(#checkerboard-primary); + + --spectrum-menu-item-selectable-edge-to-text-not-selected-small: 28px; + --spectrum-menu-item-selectable-edge-to-text-not-selected-medium: 32px; + --spectrum-menu-item-selectable-edge-to-text-not-selected-large: 38px; + --spectrum-menu-item-selectable-edge-to-text-not-selected-extra-large: 45px; + + --spectrum-menu-item-checkmark-height-small: 10px; + --spectrum-menu-item-checkmark-height-medium: 10px; + --spectrum-menu-item-checkmark-height-large: 12px; + --spectrum-menu-item-checkmark-height-extra-large: 14px; + + --spectrum-menu-item-checkmark-width-small: 10px; + --spectrum-menu-item-checkmark-width-medium: 10px; + --spectrum-menu-item-checkmark-width-large: 12px; + --spectrum-menu-item-checkmark-width-extra-large: 14px; + + --spectrum-rating-icon-spacing: var(--spectrum-spacing-75); + + --spectrum-button-top-to-text-small: 5px; + --spectrum-button-bottom-to-text-small: 4px; + --spectrum-button-top-to-text-medium: 7px; + --spectrum-button-bottom-to-text-medium: 8px; + --spectrum-button-top-to-text-large: 10px; + --spectrum-button-bottom-to-text-large: 10px; + --spectrum-button-top-to-text-extra-large: 13px; + --spectrum-button-bottom-to-text-extra-large: 13px; + + --spectrum-alert-banner-close-button-spacing: var(--spectrum-spacing-100); + --spectrum-alert-banner-edge-to-divider: var(--spectrum-spacing-100); + --spectrum-alert-banner-edge-to-button: var(--spectrum-spacing-100); + --spectrum-alert-banner-text-to-button-vertical: var( + --spectrum-spacing-100 + ); + + --spectrum-alert-dialog-padding: var(--spectrum-spacing-500); + --spectrum-alert-dialog-description-to-buttons: var(--spectrum-spacing-700); + + --spectrum-coach-indicator-gap: 6px; + --spectrum-coach-indicator-ring-diameter: var(--spectrum-spacing-300); + --spectrum-coach-indicator-quiet-ring-diameter: var(--spectrum-spacing-100); + + --spectrum-coachmark-buttongroup-display: flex; + --spectrum-coachmark-buttongroup-mobile-display: none; + --spectrum-coachmark-menu-display: inline-flex; + --spectrum-coachmark-menu-mobile-display: none; + --spectrum-workflow-icon-size-xxl: 32px; + --spectrum-workflow-icon-size-xxs: 12px; + + --spectrum-treeview-item-indentation-medium: var(--spectrum-spacing-300); + --spectrum-treeview-item-indentation-small: var(--spectrum-spacing-200); + --spectrum-treeview-item-indentation-large: 20px; + --spectrum-treeview-item-indentation-extra-large: var( + --spectrum-spacing-400 + ); + --spectrum-treeview-indicator-inset-block-start: 5px; + --spectrum-treeview-item-min-block-size-thumbnail-offset-medium: 0px; + + --spectrum-dialog-confirm-entry-animation-distance: 20px; + --spectrum-dialog-confirm-hero-height: 128px; + --spectrum-dialog-confirm-border-radius: 4px; + --spectrum-dialog-confirm-title-text-size: 18px; + --spectrum-dialog-confirm-description-text-size: 14px; + --spectrum-dialog-confirm-padding-grid: 40px; + + --spectrum-datepicker-initial-width: 128px; + --spectrum-datepicker-generic-padding: var(--spectrum-spacing-200); + --spectrum-datepicker-dash-line-height: 24px; + --spectrum-datepicker-width-quiet-first: 72px; + --spectrum-datepicker-width-quiet-second: 16px; + --spectrum-datepicker-datetime-width-first: 36px; + --spectrum-datepicker-invalid-icon-to-button: 8px; + --spectrum-datepicker-invalid-icon-to-button-quiet: 7px; + --spectrum-datepicker-input-datetime-width: var(--spectrum-spacing-400); + + --spectrum-pagination-textfield-width: var(--spectrum-spacing-700); + --spectrum-pagination-item-inline-spacing: 5px; + + --spectrum-dial-border-radius: 16px; + --spectrum-dial-handle-position: 8px; + --spectrum-dial-handle-block-margin: 16px; + --spectrum-dial-handle-inline-margin: 16px; + --spectrum-dial-controls-margin: 8px; + --spectrum-dial-label-gap-y: 5px; + --spectrum-dial-label-container-top-to-text: 4px; + + --spectrum-assetcard-focus-ring-border-radius: 8px; + --spectrum-assetcard-selectionindicator-margin: 12px; + --spectrum-assetcard-title-font-size: var(--spectrum-heading-size-xs); + --spectrum-assetcard-header-content-font-size: var( + --spectrum-heading-size-xs + ); + --spectrum-assetcard-content-font-size: var(--spectrum-body-size-s); + + --spectrum-tooltip-animation-distance: var(--spectrum-spacing-75); + + --spectrum-ui-icon-medium-display: block; + --spectrum-ui-icon-large-display: none; + + --spectrum-contextual-help-content-spacing: var(--spectrum-spacing-100); +} diff --git a/tools/styles/tokens-v2/large-vars.css b/tools/styles/tokens-v2/large-vars.css index ade4542c96..3d71f783c0 100644 --- a/tools/styles/tokens-v2/large-vars.css +++ b/tools/styles/tokens-v2/large-vars.css @@ -1,5 +1,55 @@ :host, :root { + --spectrum-workflow-icon-size-50: 16px; + --spectrum-workflow-icon-size-75: 18px; + --spectrum-workflow-icon-size-100: 24px; + --spectrum-workflow-icon-size-200: 28px; + --spectrum-workflow-icon-size-300: 30px; + --spectrum-arrow-icon-size-75: 12px; + --spectrum-arrow-icon-size-100: 14px; + --spectrum-arrow-icon-size-200: 16px; + --spectrum-arrow-icon-size-300: 16px; + --spectrum-arrow-icon-size-400: 18px; + --spectrum-arrow-icon-size-500: 22px; + --spectrum-arrow-icon-size-600: 24px; + --spectrum-asterisk-icon-size-100: 10px; + --spectrum-asterisk-icon-size-200: 12px; + --spectrum-asterisk-icon-size-300: 12px; + --spectrum-checkmark-icon-size-50: 12px; + --spectrum-checkmark-icon-size-75: 12px; + --spectrum-checkmark-icon-size-100: 14px; + --spectrum-checkmark-icon-size-200: 14px; + --spectrum-checkmark-icon-size-300: 16px; + --spectrum-checkmark-icon-size-400: 18px; + --spectrum-checkmark-icon-size-500: 20px; + --spectrum-checkmark-icon-size-600: 24px; + --spectrum-chevron-icon-size-50: 8px; + --spectrum-chevron-icon-size-75: 12px; + --spectrum-chevron-icon-size-100: 14px; + --spectrum-chevron-icon-size-200: 14px; + --spectrum-chevron-icon-size-300: 16px; + --spectrum-chevron-icon-size-400: 18px; + --spectrum-chevron-icon-size-500: 20px; + --spectrum-chevron-icon-size-600: 24px; + --spectrum-corner-triangle-icon-size-75: 6px; + --spectrum-corner-triangle-icon-size-100: 7px; + --spectrum-corner-triangle-icon-size-200: 8px; + --spectrum-corner-triangle-icon-size-300: 8px; + --spectrum-cross-icon-size-75: 10px; + --spectrum-cross-icon-size-100: 10px; + --spectrum-cross-icon-size-200: 12px; + --spectrum-cross-icon-size-300: 14px; + --spectrum-cross-icon-size-400: 16px; + --spectrum-cross-icon-size-500: 16px; + --spectrum-cross-icon-size-600: 18px; + --spectrum-dash-icon-size-50: 10px; + --spectrum-dash-icon-size-75: 10px; + --spectrum-dash-icon-size-100: 12px; + --spectrum-dash-icon-size-200: 14px; + --spectrum-dash-icon-size-300: 16px; + --spectrum-dash-icon-size-400: 18px; + --spectrum-dash-icon-size-500: 20px; + --spectrum-dash-icon-size-600: 22px; --spectrum-checkbox-control-size-small: 16px; --spectrum-checkbox-control-size-medium: 18px; --spectrum-checkbox-control-size-large: 20px; @@ -8,14 +58,14 @@ --spectrum-checkbox-top-to-control-medium: 11px; --spectrum-checkbox-top-to-control-large: 15px; --spectrum-checkbox-top-to-control-extra-large: 19px; - --spectrum-switch-control-width-small: 30px; - --spectrum-switch-control-width-medium: 34px; - --spectrum-switch-control-width-large: 38px; + --spectrum-switch-control-width-small: 32px; + --spectrum-switch-control-width-medium: 36px; + --spectrum-switch-control-width-large: 41px; --spectrum-switch-control-width-extra-large: 46px; - --spectrum-switch-control-height-small: 18px; - --spectrum-switch-control-height-medium: 20px; - --spectrum-switch-control-height-large: 22px; - --spectrum-switch-control-height-extra-large: 26px; + --spectrum-switch-control-height-small: 16px; + --spectrum-switch-control-height-medium: 18px; + --spectrum-switch-control-height-large: 20px; + --spectrum-switch-control-height-extra-large: 22px; --spectrum-switch-top-to-control-small: 7px; --spectrum-switch-top-to-control-medium: 11px; --spectrum-switch-top-to-control-large: 15px; @@ -36,22 +86,17 @@ --spectrum-field-label-top-to-asterisk-medium: 15px; --spectrum-field-label-top-to-asterisk-large: 19px; --spectrum-field-label-top-to-asterisk-extra-large: 24px; + --spectrum-field-label-top-margin-medium: 5px; + --spectrum-field-label-top-margin-large: 6px; + --spectrum-field-label-top-margin-extra-large: 6px; --spectrum-field-label-to-component-quiet-small: -10px; --spectrum-field-label-to-component-quiet-medium: -10px; --spectrum-field-label-to-component-quiet-large: -15px; --spectrum-field-label-to-component-quiet-extra-large: -19px; - --spectrum-help-text-top-to-workflow-icon-small: var( - --spectrum-component-top-to-workflow-icon-75 - ); - --spectrum-help-text-top-to-workflow-icon-medium: var( - --spectrum-component-top-to-workflow-icon-100 - ); - --spectrum-help-text-top-to-workflow-icon-large: var( - --spectrum-component-top-to-workflow-icon-200 - ); - --spectrum-help-text-top-to-workflow-icon-extra-large: var( - --spectrum-component-top-to-workflow-icon-300 - ); + --spectrum-help-text-top-to-workflow-icon-small: 5px; + --spectrum-help-text-top-to-workflow-icon-medium: 4px; + --spectrum-help-text-top-to-workflow-icon-large: 8px; + --spectrum-help-text-top-to-workflow-icon-extra-large: 11px; --spectrum-status-light-dot-size-medium: 10px; --spectrum-status-light-dot-size-large: 12px; --spectrum-status-light-dot-size-extra-large: 12px; @@ -62,8 +107,8 @@ --spectrum-action-button-edge-to-hold-icon-medium: 5px; --spectrum-action-button-edge-to-hold-icon-large: 6px; --spectrum-action-button-edge-to-hold-icon-extra-large: 7px; - --spectrum-tooltip-tip-width: 12px; - --spectrum-tooltip-tip-height: 6px; + --spectrum-tooltip-tip-width: 10px; + --spectrum-tooltip-tip-height: 5px; --spectrum-tooltip-maximum-width: 200px; --spectrum-progress-circle-size-small: 20px; --spectrum-progress-circle-size-medium: 40px; @@ -71,11 +116,11 @@ --spectrum-progress-circle-thickness-small: 3px; --spectrum-progress-circle-thickness-medium: 4px; --spectrum-progress-circle-thickness-large: 5px; - --spectrum-toast-height: 60px; + --spectrum-toast-height: 56px; --spectrum-toast-maximum-width: 420px; - --spectrum-toast-top-to-workflow-icon: 20px; - --spectrum-toast-top-to-text: 20px; - --spectrum-toast-bottom-to-text: 22px; + --spectrum-toast-top-to-workflow-icon: 17px; + --spectrum-toast-top-to-text: 16px; + --spectrum-toast-bottom-to-text: 19px; --spectrum-action-bar-height: 56px; --spectrum-action-bar-top-to-item-counter: 16px; --spectrum-swatch-size-extra-small: 20px; @@ -152,10 +197,7 @@ --spectrum-thumbnail-size-1000: 70px; --spectrum-alert-dialog-title-size: var(--spectrum-heading-size-xs); --spectrum-alert-dialog-description-size: var(--spectrum-body-size-xs); - --spectrum-opacity-checkerboard-square-size: var( - --spectrum-opacity-checkerboard-square-size-medium - ); - --spectrum-opacity-checkerboard-square-size-medium: 10px; + --spectrum-opacity-checkerboard-square-size: 10px; --spectrum-contextual-help-title-size: var(--spectrum-heading-size-xxs); --spectrum-contextual-help-body-size: var(--spectrum-body-size-xs); --spectrum-breadcrumbs-height-multiline: 84px; @@ -353,77 +395,18 @@ --spectrum-side-navigation-with-icon-third-level-edge-to-text: 77px; --spectrum-side-navigation-item-to-item: 5px; --spectrum-side-navigation-item-to-header: 30px; + --spectrum-side-navigation-header-to-item: 10px; --spectrum-side-navigation-bottom-to-text: 10px; --spectrum-tray-top-to-content-area: 5px; - --spectrum-arrow-icon-size-75: 12px; - --spectrum-arrow-icon-size-100: 14px; - --spectrum-arrow-icon-size-200: 16px; - --spectrum-arrow-icon-size-300: 16px; - --spectrum-arrow-icon-size-400: 18px; - --spectrum-arrow-icon-size-500: 22px; - --spectrum-arrow-icon-size-600: 24px; - --spectrum-asterisk-icon-size-100: 10px; - --spectrum-asterisk-icon-size-200: 12px; - --spectrum-asterisk-icon-size-300: 12px; - --spectrum-checkmark-icon-size-50: 12px; - --spectrum-checkmark-icon-size-75: 12px; - --spectrum-checkmark-icon-size-100: 14px; - --spectrum-checkmark-icon-size-200: 14px; - --spectrum-checkmark-icon-size-300: 16px; - --spectrum-checkmark-icon-size-400: 18px; - --spectrum-checkmark-icon-size-500: 20px; - --spectrum-checkmark-icon-size-600: 24px; - --spectrum-chevron-icon-size-50: 8px; - --spectrum-chevron-icon-size-75: 12px; - --spectrum-chevron-icon-size-100: 14px; - --spectrum-chevron-icon-size-200: 14px; - --spectrum-chevron-icon-size-300: 16px; - --spectrum-chevron-icon-size-400: 18px; - --spectrum-chevron-icon-size-500: 20px; - --spectrum-chevron-icon-size-600: 24px; - --spectrum-cross-icon-size-75: 10px; - --spectrum-cross-icon-size-100: 10px; - --spectrum-cross-icon-size-200: 12px; - --spectrum-cross-icon-size-300: 14px; - --spectrum-cross-icon-size-400: 16px; - --spectrum-cross-icon-size-500: 16px; - --spectrum-cross-icon-size-600: 18px; - --spectrum-dash-icon-size-50: 10px; - --spectrum-dash-icon-size-75: 10px; - --spectrum-dash-icon-size-100: 12px; - --spectrum-dash-icon-size-200: 14px; - --spectrum-dash-icon-size-300: 16px; - --spectrum-dash-icon-size-400: 18px; - --spectrum-dash-icon-size-500: 20px; - --spectrum-dash-icon-size-600: 22px; - --spectrum-side-navigation-header-to-item: 10px; - --spectrum-switch-handle-size-small: 10px; - --spectrum-switch-handle-selected-size-small: 12px; - --spectrum-switch-handle-selected-size-medium: 14px; - --spectrum-switch-handle-selected-size-large: 16px; - --spectrum-switch-handle-selected-size-extra-large: 20px; - --spectrum-switch-handle-size-medium: 12px; - --spectrum-switch-handle-size-large: 14px; - --spectrum-switch-handle-size-extra-large: 18px; - --spectrum-tag-label-to-clear-icon-small: 10px; - --spectrum-tag-label-to-clear-icon-medium: 15px; - --spectrum-tag-label-to-clear-icon-large: 19px; - --spectrum-tag-edge-to-clear-icon-small: 10px; - --spectrum-tag-edge-to-clear-icon-medium: 15px; - --spectrum-tag-edge-to-clear-icon-large: 19px; - --spectrum-opacity-checkerboard-square-size-small: 5px; + --spectrum-accordion-top-to-text-spacious-small: 12px; --spectrum-drop-shadow-y: 2px; --spectrum-drop-shadow-blur: 6px; - --spectrum-workflow-icon-size-50: 16px; - --spectrum-workflow-icon-size-75: 18px; - --spectrum-workflow-icon-size-100: 24px; - --spectrum-workflow-icon-size-200: 28px; - --spectrum-workflow-icon-size-300: 30px; --spectrum-text-to-visual-50: 7px; --spectrum-text-to-visual-75: 7px; --spectrum-text-to-visual-100: 8px; --spectrum-text-to-visual-200: 9px; --spectrum-text-to-visual-300: 10px; + --spectrum-text-to-visual-400: 11px; --spectrum-text-to-control-75: 11px; --spectrum-text-to-control-100: 13px; --spectrum-text-to-control-200: 14px; @@ -435,32 +418,32 @@ --spectrum-component-height-300: 60px; --spectrum-component-height-400: 70px; --spectrum-component-height-500: 80px; - --spectrum-component-pill-edge-to-visual-75: 13px; + --spectrum-component-pill-edge-to-visual-75: 15px; --spectrum-component-pill-edge-to-visual-100: 17px; - --spectrum-component-pill-edge-to-visual-200: 22px; - --spectrum-component-pill-edge-to-visual-300: 27px; - --spectrum-component-pill-edge-to-visual-only-75: 5px; - --spectrum-component-pill-edge-to-visual-only-100: 9px; - --spectrum-component-pill-edge-to-visual-only-200: 13px; - --spectrum-component-pill-edge-to-visual-only-300: 16px; - --spectrum-component-pill-edge-to-text-75: 15px; + --spectrum-component-pill-edge-to-visual-200: 21px; + --spectrum-component-pill-edge-to-visual-300: 28px; + --spectrum-component-pill-edge-to-visual-only-75: 6px; + --spectrum-component-pill-edge-to-visual-only-100: 8px; + --spectrum-component-pill-edge-to-visual-only-200: 11px; + --spectrum-component-pill-edge-to-visual-only-300: 15px; + --spectrum-component-pill-edge-to-text-75: 17px; --spectrum-component-pill-edge-to-text-100: 20px; - --spectrum-component-pill-edge-to-text-200: 25px; + --spectrum-component-pill-edge-to-text-200: 24px; --spectrum-component-pill-edge-to-text-300: 30px; - --spectrum-component-edge-to-visual-50: 7px; - --spectrum-component-edge-to-visual-75: 9px; + --spectrum-component-edge-to-visual-50: 9px; + --spectrum-component-edge-to-visual-75: 11px; --spectrum-component-edge-to-visual-100: 12px; - --spectrum-component-edge-to-visual-200: 16px; - --spectrum-component-edge-to-visual-300: 19px; + --spectrum-component-edge-to-visual-200: 15px; + --spectrum-component-edge-to-visual-300: 20px; --spectrum-component-edge-to-visual-only-50: 5px; --spectrum-component-edge-to-visual-only-75: 6px; --spectrum-component-edge-to-visual-only-100: 8px; --spectrum-component-edge-to-visual-only-200: 11px; --spectrum-component-edge-to-visual-only-300: 15px; - --spectrum-component-edge-to-text-50: 10px; - --spectrum-component-edge-to-text-75: 11px; + --spectrum-component-edge-to-text-50: 11px; + --spectrum-component-edge-to-text-75: 13px; --spectrum-component-edge-to-text-100: 15px; - --spectrum-component-edge-to-text-200: 19px; + --spectrum-component-edge-to-text-200: 18px; --spectrum-component-edge-to-text-300: 22px; --spectrum-component-top-to-workflow-icon-50: 5px; --spectrum-component-top-to-workflow-icon-75: 6px; @@ -521,13 +504,16 @@ --spectrum-field-text-to-validation-icon-medium: 15px; --spectrum-field-text-to-validation-icon-large: 19px; --spectrum-field-text-to-validation-icon-extra-large: 22px; - --spectrum-field-width: var(--spectrum-field-width-small); - --spectrum-field-width-small: 240px; + --spectrum-field-width: 240px; --spectrum-character-count-to-field-quiet-small: -4px; --spectrum-character-count-to-field-quiet-medium: -4px; --spectrum-character-count-to-field-quiet-large: -4px; --spectrum-character-count-to-field-quiet-extra-large: -5px; --spectrum-side-label-character-count-to-field: 15px; + --spectrum-side-label-character-count-top-margin-small: 5px; + --spectrum-side-label-character-count-top-margin-medium: 10px; + --spectrum-side-label-character-count-top-margin-large: 14px; + --spectrum-side-label-character-count-top-margin-extra-large: 18px; --spectrum-disclosure-indicator-top-to-disclosure-icon-small: 9px; --spectrum-disclosure-indicator-top-to-disclosure-icon-medium: 13px; --spectrum-disclosure-indicator-top-to-disclosure-icon-large: 17px; @@ -537,13 +523,6 @@ --spectrum-navigational-indicator-top-to-back-icon-large: 16px; --spectrum-navigational-indicator-top-to-back-icon-extra-large: 19px; --spectrum-color-control-track-width: 30px; - --spectrum-corner-triangle-icon-size-75: 6px; - --spectrum-corner-triangle-icon-size-100: 7px; - --spectrum-corner-triangle-icon-size-200: 8px; - --spectrum-corner-triangle-icon-size-300: 8px; - --spectrum-field-width-medium: 256px; - --spectrum-field-width-large: 272px; - --spectrum-field-width-extra-large: 288px; --spectrum-font-size-50: 13px; --spectrum-font-size-75: 15px; --spectrum-font-size-100: 17px; @@ -559,4 +538,109 @@ --spectrum-font-size-1100: 55px; --spectrum-font-size-1200: 62px; --spectrum-font-size-1300: 70px; + --spectrum-slider-tick-mark-height: 13px; + --spectrum-slider-ramp-track-height: 20px; + + --spectrum-colorwheel-path: 'M 119 119 m -119 0 a 119 119 0 1 0 238 0 a 119 119 0 1 0 -238 0.2 M 119 119 m -91 0 a 91 91 0 1 0 182 0 a 91 91 0 1 0 -182 0'; + --spectrum-colorwheel-path-borders: 'M 120 120 m -120 0 a 120 120 0 1 0 240 0 a 120 120 0 1 0 -240 0.2 M 120 120 m -90 0 a 90 90 0 1 0 180 0 a 90 90 0 1 0 -180 0'; + --spectrum-colorwheel-colorarea-container-size: 182px; + + --spectrum-colorloupe-checkerboard-fill: url(#checkerboard-secondary); + + --spectrum-menu-item-selectable-edge-to-text-not-selected-small: 34px; + --spectrum-menu-item-selectable-edge-to-text-not-selected-medium: 42px; + --spectrum-menu-item-selectable-edge-to-text-not-selected-large: 47px; + --spectrum-menu-item-selectable-edge-to-text-not-selected-extra-large: 54px; + + --spectrum-menu-item-checkmark-height-small: 12px; + --spectrum-menu-item-checkmark-height-medium: 14px; + --spectrum-menu-item-checkmark-height-large: 16px; + --spectrum-menu-item-checkmark-height-extra-large: 16px; + + --spectrum-menu-item-checkmark-width-small: 12px; + --spectrum-menu-item-checkmark-width-medium: 14px; + --spectrum-menu-item-checkmark-width-large: 16px; + --spectrum-menu-item-checkmark-width-extra-large: 16px; + + --spectrum-rating-icon-spacing: var(--spectrum-spacing-100); + + --spectrum-button-top-to-text-small: 6px; + --spectrum-button-bottom-to-text-small: 5px; + --spectrum-button-top-to-text-medium: 9px; + --spectrum-button-bottom-to-text-medium: 10px; + --spectrum-button-top-to-text-large: 12px; + --spectrum-button-bottom-to-text-large: 13px; + --spectrum-button-top-to-text-extra-large: 16px; + --spectrum-button-bottom-to-text-extra-large: 17px; + + --spectrum-alert-banner-close-button-spacing: var(--spectrum-spacing-200); + --spectrum-alert-banner-edge-to-divider: var(--spectrum-spacing-200); + --spectrum-alert-banner-edge-to-button: var(--spectrum-spacing-200); + --spectrum-alert-banner-text-to-button-vertical: var( + --spectrum-spacing-200 + ); + + --spectrum-alert-dialog-padding: var(--spectrum-spacing-400); + --spectrum-alert-dialog-description-to-buttons: var(--spectrum-spacing-600); + + --spectrum-coach-indicator-gap: 8px; + --spectrum-coach-indicator-ring-diameter: 20px; + --spectrum-coach-indicator-quiet-ring-diameter: 10px; + + --spectrum-coachmark-buttongroup-display: none; + --spectrum-coachmark-buttongroup-mobile-display: flex; + --spectrum-coachmark-menu-display: none; + --spectrum-coachmark-menu-mobile-display: inline-flex; + --spectrum-workflow-icon-size-xxl: 40px; + --spectrum-workflow-icon-size-xxs: 15px; + + --spectrum-treeview-item-indentation-medium: 20px; + --spectrum-treeview-item-indentation-small: 15px; + --spectrum-treeview-item-indentation-large: 25px; + --spectrum-treeview-item-indentation-extra-large: 30px; + --spectrum-treeview-indicator-inset-block-start: 6px; + --spectrum-treeview-item-min-block-size-thumbnail-offset-medium: 2px; + + --spectrum-dialog-confirm-entry-animation-distance: 25px; + --spectrum-dialog-confirm-hero-height: 160px; + --spectrum-dialog-confirm-border-radius: 5px; + --spectrum-dialog-confirm-title-text-size: 19px; + --spectrum-dialog-confirm-description-text-size: 15px; + --spectrum-dialog-confirm-padding-grid: 24px; + + --spectrum-datepicker-initial-width: 160px; + --spectrum-datepicker-generic-padding: 15px; + --spectrum-datepicker-dash-line-height: 30px; + --spectrum-datepicker-width-quiet-first: 90px; + --spectrum-datepicker-width-quiet-second: 20px; + --spectrum-datepicker-datetime-width-first: 45px; + --spectrum-datepicker-invalid-icon-to-button: 10px; + --spectrum-datepicker-invalid-icon-to-button-quiet: 9px; + --spectrum-datepicker-input-datetime-width: 30px; + + --spectrum-pagination-textfield-width: 60px; + --spectrum-pagination-item-inline-spacing: 6px; + + --spectrum-dial-border-radius: 20px; + --spectrum-dial-handle-position: 10px; + --spectrum-dial-handle-block-margin: 20px; + --spectrum-dial-handle-inline-margin: 20px; + --spectrum-dial-controls-margin: 10px; + --spectrum-dial-label-gap-y: 6px; + --spectrum-dial-label-container-top-to-text: 5px; + + --spectrum-assetcard-focus-ring-border-radius: 9px; + --spectrum-assetcard-selectionindicator-margin: 15px; + --spectrum-assetcard-title-font-size: var(--spectrum-heading-size-xxs); + --spectrum-assetcard-header-content-font-size: var( + --spectrum-heading-size-xxs + ); + --spectrum-assetcard-content-font-size: var(--spectrum-body-size-xs); + + --spectrum-tooltip-animation-distance: 5px; + + --spectrum-ui-icon-medium-display: none; + --spectrum-ui-icon-large-display: block; + + --spectrum-contextual-help-content-spacing: var(--spectrum-spacing-200); } diff --git a/tools/styles/tokens-v2/light-vars.css b/tools/styles/tokens-v2/light-vars.css index cb20577406..18cd1d732a 100644 --- a/tools/styles/tokens-v2/light-vars.css +++ b/tools/styles/tokens-v2/light-vars.css @@ -1,12 +1,6 @@ :host, :root { --spectrum-overlay-opacity: 0.4; - --spectrum-drop-shadow-color-rgb: 0, 0, 0; - --spectrum-drop-shadow-color-opacity: 0.15; - --spectrum-drop-shadow-color: rgba( - var(--spectrum-drop-shadow-color-rgb), - var(--spectrum-drop-shadow-color-opacity) - ); --spectrum-background-layer-2-color: var(--spectrum-gray-25); --spectrum-neutral-subdued-background-color-default: var( --spectrum-gray-700 @@ -83,8 +77,8 @@ --spectrum-accent-visual-color: var(--spectrum-accent-color-800); --spectrum-informative-visual-color: var(--spectrum-informative-color-800); --spectrum-negative-visual-color: var(--spectrum-negative-color-800); - --spectrum-notice-visual-color: var(--spectrum-notice-color-700); - --spectrum-positive-visual-color: var(--spectrum-positive-color-700); + --spectrum-notice-visual-color: var(--spectrum-notice-color-800); + --spectrum-positive-visual-color: var(--spectrum-positive-color-800); --spectrum-gray-visual-color: var(--spectrum-gray-500); --spectrum-red-visual-color: var(--spectrum-red-800); --spectrum-orange-visual-color: var(--spectrum-orange-700); @@ -113,7 +107,221 @@ --spectrum-turquoise-background-color-default: var( --spectrum-turquoise-900 ); + --spectrum-drop-shadow-color-100-rgb: 0, 0, 0; + --spectrum-drop-shadow-color-100-opacity: 0.12; + --spectrum-drop-shadow-color-100: rgba( + var(--spectrum-drop-shadow-color-100-rgb), + var(--spectrum-drop-shadow-color-100-opacity) + ); + --spectrum-drop-shadow-color-200-rgb: 0, 0, 0; + --spectrum-drop-shadow-color-200-opacity: 0.16; + --spectrum-drop-shadow-color-200: rgba( + var(--spectrum-drop-shadow-color-200-rgb), + var(--spectrum-drop-shadow-color-200-opacity) + ); + --spectrum-drop-shadow-color-300-rgb: 0, 0, 0; + --spectrum-drop-shadow-color-300-opacity: 0.2; + --spectrum-drop-shadow-color-300: rgba( + var(--spectrum-drop-shadow-color-300-rgb), + var(--spectrum-drop-shadow-color-300-opacity) + ); + --spectrum-neutral-subtle-background-color-default: var( + --spectrum-gray-100 + ); + --spectrum-gray-subtle-background-color-default: var(--spectrum-gray-100); + --spectrum-blue-subtle-background-color-default: var(--spectrum-blue-200); + --spectrum-green-subtle-background-color-default: var(--spectrum-green-200); + --spectrum-orange-subtle-background-color-default: var( + --spectrum-orange-200 + ); + --spectrum-red-subtle-background-color-default: var(--spectrum-red-200); + --spectrum-brown-subtle-background-color-default: var(--spectrum-brown-200); + --spectrum-cinnamon-subtle-background-color-default: var( + --spectrum-cinnamon-200 + ); + --spectrum-celery-subtle-background-color-default: var( + --spectrum-celery-200 + ); + --spectrum-chartreuse-subtle-background-color-default: var( + --spectrum-chartreuse-200 + ); + --spectrum-cyan-subtle-background-color-default: var(--spectrum-cyan-200); + --spectrum-fuchsia-subtle-background-color-default: var( + --spectrum-fuchsia-200 + ); + --spectrum-indigo-subtle-background-color-default: var( + --spectrum-indigo-200 + ); + --spectrum-magenta-subtle-background-color-default: var( + --spectrum-magenta-200 + ); + --spectrum-pink-subtle-background-color-default: var(--spectrum-pink-200); + --spectrum-purple-subtle-background-color-default: var( + --spectrum-purple-200 + ); + --spectrum-seafoam-subtle-background-color-default: var( + --spectrum-seafoam-200 + ); + --spectrum-silver-subtle-background-color-default: var( + --spectrum-silver-200 + ); + --spectrum-turquoise-subtle-background-color-default: var( + --spectrum-turquoise-200 + ); + --spectrum-yellow-subtle-background-color-default: var( + --spectrum-yellow-200 + ); --spectrum-opacity-checkerboard-square-dark: var(--spectrum-gray-200); + --spectrum-white-rgb: 255, 255, 255; + --spectrum-white: rgba(var(--spectrum-white-rgb)); + --spectrum-transparent-white-25-rgb: 255, 255, 255; + --spectrum-transparent-white-25-opacity: 0; + --spectrum-transparent-white-25: rgba( + var(--spectrum-transparent-white-25-rgb), + var(--spectrum-transparent-white-25-opacity) + ); + --spectrum-transparent-white-50-rgb: 255, 255, 255; + --spectrum-transparent-white-50-opacity: 0.04; + --spectrum-transparent-white-50: rgba( + var(--spectrum-transparent-white-50-rgb), + var(--spectrum-transparent-white-50-opacity) + ); + --spectrum-transparent-white-75-rgb: 255, 255, 255; + --spectrum-transparent-white-75-opacity: 0.07; + --spectrum-transparent-white-75: rgba( + var(--spectrum-transparent-white-75-rgb), + var(--spectrum-transparent-white-75-opacity) + ); + --spectrum-transparent-white-100-rgb: 255, 255, 255; + --spectrum-transparent-white-100-opacity: 0.11; + --spectrum-transparent-white-100: rgba( + var(--spectrum-transparent-white-100-rgb), + var(--spectrum-transparent-white-100-opacity) + ); + --spectrum-transparent-white-200-rgb: 255, 255, 255; + --spectrum-transparent-white-200-opacity: 0.14; + --spectrum-transparent-white-200: rgba( + var(--spectrum-transparent-white-200-rgb), + var(--spectrum-transparent-white-200-opacity) + ); + --spectrum-transparent-white-300-rgb: 255, 255, 255; + --spectrum-transparent-white-300-opacity: 0.17; + --spectrum-transparent-white-300: rgba( + var(--spectrum-transparent-white-300-rgb), + var(--spectrum-transparent-white-300-opacity) + ); + --spectrum-transparent-white-400-rgb: 255, 255, 255; + --spectrum-transparent-white-400-opacity: 0.21; + --spectrum-transparent-white-400: rgba( + var(--spectrum-transparent-white-400-rgb), + var(--spectrum-transparent-white-400-opacity) + ); + --spectrum-transparent-white-500-rgb: 255, 255, 255; + --spectrum-transparent-white-500-opacity: 0.39; + --spectrum-transparent-white-500: rgba( + var(--spectrum-transparent-white-500-rgb), + var(--spectrum-transparent-white-500-opacity) + ); + --spectrum-transparent-white-600-rgb: 255, 255, 255; + --spectrum-transparent-white-600-opacity: 0.51; + --spectrum-transparent-white-600: rgba( + var(--spectrum-transparent-white-600-rgb), + var(--spectrum-transparent-white-600-opacity) + ); + --spectrum-transparent-white-700-rgb: 255, 255, 255; + --spectrum-transparent-white-700-opacity: 0.66; + --spectrum-transparent-white-700: rgba( + var(--spectrum-transparent-white-700-rgb), + var(--spectrum-transparent-white-700-opacity) + ); + --spectrum-transparent-white-800-rgb: 255, 255, 255; + --spectrum-transparent-white-800-opacity: 0.85; + --spectrum-transparent-white-800: rgba( + var(--spectrum-transparent-white-800-rgb), + var(--spectrum-transparent-white-800-opacity) + ); + --spectrum-transparent-white-900-rgb: 255, 255, 255; + --spectrum-transparent-white-900-opacity: 0.94; + --spectrum-transparent-white-900: rgba( + var(--spectrum-transparent-white-900-rgb), + var(--spectrum-transparent-white-900-opacity) + ); + --spectrum-transparent-white-1000-rgb: 255, 255, 255; + --spectrum-transparent-white-1000: rgba( + var(--spectrum-transparent-white-1000-rgb) + ); + --spectrum-transparent-black-25-rgb: 0, 0, 0; + --spectrum-transparent-black-25-opacity: 0; + --spectrum-transparent-black-25: rgba( + var(--spectrum-transparent-black-25-rgb), + var(--spectrum-transparent-black-25-opacity) + ); + --spectrum-transparent-black-50-rgb: 0, 0, 0; + --spectrum-transparent-black-50-opacity: 0.03; + --spectrum-transparent-black-50: rgba( + var(--spectrum-transparent-black-50-rgb), + var(--spectrum-transparent-black-50-opacity) + ); + --spectrum-transparent-black-75-rgb: 0, 0, 0; + --spectrum-transparent-black-75-opacity: 0.05; + --spectrum-transparent-black-75: rgba( + var(--spectrum-transparent-black-75-rgb), + var(--spectrum-transparent-black-75-opacity) + ); + --spectrum-transparent-black-100-rgb: 0, 0, 0; + --spectrum-transparent-black-100-opacity: 0.09; + --spectrum-transparent-black-100: rgba( + var(--spectrum-transparent-black-100-rgb), + var(--spectrum-transparent-black-100-opacity) + ); + --spectrum-transparent-black-200-rgb: 0, 0, 0; + --spectrum-transparent-black-200-opacity: 0.12; + --spectrum-transparent-black-200: rgba( + var(--spectrum-transparent-black-200-rgb), + var(--spectrum-transparent-black-200-opacity) + ); + --spectrum-transparent-black-300-rgb: 0, 0, 0; + --spectrum-transparent-black-300-opacity: 0.15; + --spectrum-transparent-black-300: rgba( + var(--spectrum-transparent-black-300-rgb), + var(--spectrum-transparent-black-300-opacity) + ); + --spectrum-transparent-black-400-rgb: 0, 0, 0; + --spectrum-transparent-black-400-opacity: 0.22; + --spectrum-transparent-black-400: rgba( + var(--spectrum-transparent-black-400-rgb), + var(--spectrum-transparent-black-400-opacity) + ); + --spectrum-transparent-black-500-rgb: 0, 0, 0; + --spectrum-transparent-black-500-opacity: 0.44; + --spectrum-transparent-black-500: rgba( + var(--spectrum-transparent-black-500-rgb), + var(--spectrum-transparent-black-500-opacity) + ); + --spectrum-transparent-black-600-rgb: 0, 0, 0; + --spectrum-transparent-black-600-opacity: 0.56; + --spectrum-transparent-black-600: rgba( + var(--spectrum-transparent-black-600-rgb), + var(--spectrum-transparent-black-600-opacity) + ); + --spectrum-transparent-black-700-rgb: 0, 0, 0; + --spectrum-transparent-black-700-opacity: 0.69; + --spectrum-transparent-black-700: rgba( + var(--spectrum-transparent-black-700-rgb), + var(--spectrum-transparent-black-700-opacity) + ); + --spectrum-transparent-black-800-rgb: 0, 0, 0; + --spectrum-transparent-black-800-opacity: 0.84; + --spectrum-transparent-black-800: rgba( + var(--spectrum-transparent-black-800-rgb), + var(--spectrum-transparent-black-800-opacity) + ); + --spectrum-transparent-black-900-rgb: 0, 0, 0; + --spectrum-transparent-black-900-opacity: 0.93; + --spectrum-transparent-black-900: rgba( + var(--spectrum-transparent-black-900-rgb), + var(--spectrum-transparent-black-900-opacity) + ); --spectrum-gray-25-rgb: 255, 255, 255; --spectrum-gray-25: rgba(var(--spectrum-gray-25-rgb)); --spectrum-gray-50-rgb: 248, 248, 248; @@ -720,4 +928,104 @@ --spectrum-icon-color-green-primary-default: var(--spectrum-green-900); --spectrum-icon-color-red-primary-default: var(--spectrum-red-900); --spectrum-icon-color-yellow-primary-default: var(--spectrum-yellow-400); + --spectrum-negative-subdued-background-color-default: var( + --spectrum-negative-subtle-background-color-default + ); + --spectrum-accent-subtle-background-color-default: var( + --spectrum-accent-color-200 + ); + --spectrum-informative-subtle-background-color-default: var( + --spectrum-informative-color-200 + ); + --spectrum-positive-subtle-background-color-default: var( + --spectrum-positive-color-200 + ); + --spectrum-notice-subtle-background-color-default: var( + --spectrum-notice-color-200 + ); + --spectrum-negative-subtle-background-color-default: var( + --spectrum-negative-color-200 + ); + --spectrum-drop-zone-background-color-rgb: var(--spectrum-blue-800-rgb); + --spectrum-dropindicator-color: var(--spectrum-blue-800); + + --spectrum-calendar-day-background-color-selected: rgba( + var(--spectrum-blue-900-rgb), + 0.1 + ); + --spectrum-calendar-day-background-color-hover: rgba( + var(--spectrum-black-rgb), + 0.06 + ); + --spectrum-calendar-day-today-background-color-selected-hover: rgba( + var(--spectrum-blue-900-rgb), + 0.2 + ); + --spectrum-calendar-day-background-color-selected-hover: rgba( + var(--spectrum-blue-900-rgb), + 0.2 + ); + --spectrum-calendar-day-background-color-down: var( + --spectrum-transparent-black-200 + ); + --spectrum-calendar-day-background-color-cap-selected: rgba( + var(--spectrum-blue-900-rgb), + 0.2 + ); + --spectrum-calendar-day-background-color-key-focus: rgba( + var(--spectrum-black-rgb), + 0.06 + ); + --spectrum-calendar-day-border-color-key-focus: var(--spectrum-blue-800); + + --spectrum-badge-label-icon-color-primary: var(--spectrum-white); + + --spectrum-coach-indicator-ring-default-color: var(--spectrum-blue-800); + + --spectrum-steplist-current-marker-color-key-focus: var( + --spectrum-blue-800 + ); + + --spectrum-treeview-item-background-color-quiet-selected: rgba( + var(--spectrum-gray-900-rgb), + 0.06 + ); + --spectrum-treeview-item-background-color-selected: rgba( + var(--spectrum-blue-900-rgb), + 0.1 + ); + + --spectrum-logic-button-and-background-color: var(--spectrum-blue-900); + --spectrum-logic-button-and-border-color: var(--spectrum-blue-900); + --spectrum-logic-button-and-background-color-hover: var( + --spectrum-blue-1100 + ); + --spectrum-logic-button-and-border-color-hover: var(--spectrum-blue-1100); + + --spectrum-logic-button-or-background-color: var(--spectrum-magenta-900); + --spectrum-logic-button-or-border-color: var(--spectrum-magenta-900); + --spectrum-logic-button-or-background-color-hover: var( + --spectrum-magenta-1100 + ); + --spectrum-logic-button-or-border-color-hover: var(--spectrum-magenta-1100); + + --spectrum-assetcard-border-color-selected: var(--spectrum-blue-900); + --spectrum-assetcard-border-color-selected-hover: var(--spectrum-blue-900); + --spectrum-assetcard-border-color-selected-down: var(--spectrum-blue-1000); + --spectrum-assetcard-selectionindicator-background-color-ordered: var( + --spectrum-blue-900 + ); + --spectrum-assestcard-focus-indicator-color: var(--spectrum-blue-800); + + --spectrum-assetlist-item-background-color-selected-hover: rgba( + var(--spectrum-blue-900-rgb), + 0.2 + ); + --spectrum-assetlist-item-background-color-selected: rgba( + var(--spectrum-blue-900-rgb), + 0.1 + ); + --spectrum-assetlist-border-color-key-focus: var(--spectrum-blue-800); + + --spectrum-card-selected-background-color-rgb: var(--spectrum-blue-900-rgb); } diff --git a/tools/styles/tokens-v2/medium-vars.css b/tools/styles/tokens-v2/medium-vars.css index 3777d920d8..6d4ef46ede 100644 --- a/tools/styles/tokens-v2/medium-vars.css +++ b/tools/styles/tokens-v2/medium-vars.css @@ -1,5 +1,55 @@ :host, :root { + --spectrum-workflow-icon-size-50: 14px; + --spectrum-workflow-icon-size-75: 16px; + --spectrum-workflow-icon-size-100: 20px; + --spectrum-workflow-icon-size-200: 22px; + --spectrum-workflow-icon-size-300: 26px; + --spectrum-arrow-icon-size-75: 10px; + --spectrum-arrow-icon-size-100: 10px; + --spectrum-arrow-icon-size-200: 12px; + --spectrum-arrow-icon-size-300: 14px; + --spectrum-arrow-icon-size-400: 16px; + --spectrum-arrow-icon-size-500: 18px; + --spectrum-arrow-icon-size-600: 20px; + --spectrum-asterisk-icon-size-100: 8px; + --spectrum-asterisk-icon-size-200: 10px; + --spectrum-asterisk-icon-size-300: 10px; + --spectrum-checkmark-icon-size-50: 10px; + --spectrum-checkmark-icon-size-75: 10px; + --spectrum-checkmark-icon-size-100: 10px; + --spectrum-checkmark-icon-size-200: 12px; + --spectrum-checkmark-icon-size-300: 14px; + --spectrum-checkmark-icon-size-400: 16px; + --spectrum-checkmark-icon-size-500: 16px; + --spectrum-checkmark-icon-size-600: 18px; + --spectrum-chevron-icon-size-50: 6px; + --spectrum-chevron-icon-size-75: 10px; + --spectrum-chevron-icon-size-100: 10px; + --spectrum-chevron-icon-size-200: 12px; + --spectrum-chevron-icon-size-300: 14px; + --spectrum-chevron-icon-size-400: 16px; + --spectrum-chevron-icon-size-500: 16px; + --spectrum-chevron-icon-size-600: 18px; + --spectrum-corner-triangle-icon-size-75: 5px; + --spectrum-corner-triangle-icon-size-100: 5px; + --spectrum-corner-triangle-icon-size-200: 6px; + --spectrum-corner-triangle-icon-size-300: 7px; + --spectrum-cross-icon-size-75: 8px; + --spectrum-cross-icon-size-100: 8px; + --spectrum-cross-icon-size-200: 10px; + --spectrum-cross-icon-size-300: 12px; + --spectrum-cross-icon-size-400: 12px; + --spectrum-cross-icon-size-500: 14px; + --spectrum-cross-icon-size-600: 16px; + --spectrum-dash-icon-size-50: 8px; + --spectrum-dash-icon-size-75: 8px; + --spectrum-dash-icon-size-100: 10px; + --spectrum-dash-icon-size-200: 12px; + --spectrum-dash-icon-size-300: 12px; + --spectrum-dash-icon-size-400: 14px; + --spectrum-dash-icon-size-500: 16px; + --spectrum-dash-icon-size-600: 18px; --spectrum-checkbox-control-size-small: 12px; --spectrum-checkbox-control-size-medium: 14px; --spectrum-checkbox-control-size-large: 16px; @@ -8,14 +58,14 @@ --spectrum-checkbox-top-to-control-medium: 9px; --spectrum-checkbox-top-to-control-large: 12px; --spectrum-checkbox-top-to-control-extra-large: 15px; - --spectrum-switch-control-width-small: 22px; + --spectrum-switch-control-width-small: 23px; --spectrum-switch-control-width-medium: 26px; - --spectrum-switch-control-width-large: 30px; - --spectrum-switch-control-width-extra-large: 34px; - --spectrum-switch-control-height-small: 14px; - --spectrum-switch-control-height-medium: 16px; - --spectrum-switch-control-height-large: 18px; - --spectrum-switch-control-height-extra-large: 20px; + --spectrum-switch-control-width-large: 29px; + --spectrum-switch-control-width-extra-large: 33px; + --spectrum-switch-control-height-small: 12px; + --spectrum-switch-control-height-medium: 14px; + --spectrum-switch-control-height-large: 16px; + --spectrum-switch-control-height-extra-large: 18px; --spectrum-switch-top-to-control-small: 6px; --spectrum-switch-top-to-control-medium: 9px; --spectrum-switch-top-to-control-large: 12px; @@ -35,23 +85,18 @@ --spectrum-field-label-top-to-asterisk-small: 8px; --spectrum-field-label-top-to-asterisk-medium: 12px; --spectrum-field-label-top-to-asterisk-large: 15px; - --spectrum-field-label-top-to-asterisk-extra-large: 18px; + --spectrum-field-label-top-to-asterisk-extra-large: 19px; + --spectrum-field-label-top-margin-medium: 4px; + --spectrum-field-label-top-margin-large: 5px; + --spectrum-field-label-top-margin-extra-large: 5px; --spectrum-field-label-to-component-quiet-small: -8px; --spectrum-field-label-to-component-quiet-medium: -8px; --spectrum-field-label-to-component-quiet-large: -12px; --spectrum-field-label-to-component-quiet-extra-large: -15px; - --spectrum-help-text-top-to-workflow-icon-small: var( - --spectrum-component-top-to-workflow-icon-75 - ); - --spectrum-help-text-top-to-workflow-icon-medium: var( - --spectrum-component-top-to-workflow-icon-100 - ); - --spectrum-help-text-top-to-workflow-icon-large: var( - --spectrum-component-top-to-workflow-icon-200 - ); - --spectrum-help-text-top-to-workflow-icon-extra-large: var( - --spectrum-component-top-to-workflow-icon-300 - ); + --spectrum-help-text-top-to-workflow-icon-small: 4px; + --spectrum-help-text-top-to-workflow-icon-medium: 3px; + --spectrum-help-text-top-to-workflow-icon-large: 6px; + --spectrum-help-text-top-to-workflow-icon-extra-large: 9px; --spectrum-status-light-dot-size-medium: 8px; --spectrum-status-light-dot-size-large: 10px; --spectrum-status-light-dot-size-extra-large: 10px; @@ -62,8 +107,8 @@ --spectrum-action-button-edge-to-hold-icon-medium: 4px; --spectrum-action-button-edge-to-hold-icon-large: 5px; --spectrum-action-button-edge-to-hold-icon-extra-large: 6px; - --spectrum-tooltip-tip-width: 10px; - --spectrum-tooltip-tip-height: 5px; + --spectrum-tooltip-tip-width: 8px; + --spectrum-tooltip-tip-height: 4px; --spectrum-tooltip-maximum-width: 160px; --spectrum-progress-circle-size-small: 16px; --spectrum-progress-circle-size-medium: 32px; @@ -71,11 +116,11 @@ --spectrum-progress-circle-thickness-small: 2px; --spectrum-progress-circle-thickness-medium: 3px; --spectrum-progress-circle-thickness-large: 4px; - --spectrum-toast-height: 52px; + --spectrum-toast-height: 48px; --spectrum-toast-maximum-width: 336px; - --spectrum-toast-top-to-workflow-icon: 18px; - --spectrum-toast-top-to-text: 18px; - --spectrum-toast-bottom-to-text: 20px; + --spectrum-toast-top-to-workflow-icon: 15px; + --spectrum-toast-top-to-text: 14px; + --spectrum-toast-bottom-to-text: 17px; --spectrum-action-bar-height: 48px; --spectrum-action-bar-top-to-item-counter: 14px; --spectrum-swatch-size-extra-small: 16px; @@ -152,10 +197,7 @@ --spectrum-thumbnail-size-1000: 56px; --spectrum-alert-dialog-title-size: var(--spectrum-heading-size-s); --spectrum-alert-dialog-description-size: var(--spectrum-body-size-s); - --spectrum-opacity-checkerboard-square-size: var( - --spectrum-opacity-checkerboard-square-size-medium - ); - --spectrum-opacity-checkerboard-square-size-medium: 8px; + --spectrum-opacity-checkerboard-square-size: 8px; --spectrum-contextual-help-title-size: var(--spectrum-heading-size-xs); --spectrum-contextual-help-body-size: var(--spectrum-body-size-s); --spectrum-breadcrumbs-height-multiline: 72px; @@ -182,11 +224,11 @@ --spectrum-avatar-size-500: 32px; --spectrum-avatar-size-600: 36px; --spectrum-avatar-size-700: 40px; - --spectrum-alert-banner-minimum-height: 56px; + --spectrum-alert-banner-minimum-height: 48px; --spectrum-alert-banner-width: 832px; - --spectrum-alert-banner-top-to-workflow-icon: 19px; - --spectrum-alert-banner-top-to-text: 18px; - --spectrum-alert-banner-bottom-to-text: 20px; + --spectrum-alert-banner-top-to-workflow-icon: 15px; + --spectrum-alert-banner-top-to-text: 14px; + --spectrum-alert-banner-bottom-to-text: 17px; --spectrum-rating-indicator-width: 18px; --spectrum-rating-indicator-to-icon: 4px; --spectrum-color-area-width: 192px; @@ -353,77 +395,18 @@ --spectrum-side-navigation-with-icon-third-level-edge-to-text: 62px; --spectrum-side-navigation-item-to-item: 4px; --spectrum-side-navigation-item-to-header: 24px; + --spectrum-side-navigation-header-to-item: 8px; --spectrum-side-navigation-bottom-to-text: 8px; --spectrum-tray-top-to-content-area: 4px; - --spectrum-arrow-icon-size-75: 10px; - --spectrum-arrow-icon-size-100: 10px; - --spectrum-arrow-icon-size-200: 12px; - --spectrum-arrow-icon-size-300: 14px; - --spectrum-arrow-icon-size-400: 16px; - --spectrum-arrow-icon-size-500: 18px; - --spectrum-arrow-icon-size-600: 20px; - --spectrum-asterisk-icon-size-100: 8px; - --spectrum-asterisk-icon-size-200: 10px; - --spectrum-asterisk-icon-size-300: 10px; - --spectrum-checkmark-icon-size-50: 10px; - --spectrum-checkmark-icon-size-75: 10px; - --spectrum-checkmark-icon-size-100: 10px; - --spectrum-checkmark-icon-size-200: 12px; - --spectrum-checkmark-icon-size-300: 14px; - --spectrum-checkmark-icon-size-400: 16px; - --spectrum-checkmark-icon-size-500: 16px; - --spectrum-checkmark-icon-size-600: 18px; - --spectrum-chevron-icon-size-50: 6px; - --spectrum-chevron-icon-size-75: 10px; - --spectrum-chevron-icon-size-100: 10px; - --spectrum-chevron-icon-size-200: 12px; - --spectrum-chevron-icon-size-300: 14px; - --spectrum-chevron-icon-size-400: 16px; - --spectrum-chevron-icon-size-500: 16px; - --spectrum-chevron-icon-size-600: 18px; - --spectrum-cross-icon-size-75: 8px; - --spectrum-cross-icon-size-100: 8px; - --spectrum-cross-icon-size-200: 10px; - --spectrum-cross-icon-size-300: 12px; - --spectrum-cross-icon-size-400: 12px; - --spectrum-cross-icon-size-500: 14px; - --spectrum-cross-icon-size-600: 16px; - --spectrum-dash-icon-size-50: 8px; - --spectrum-dash-icon-size-75: 8px; - --spectrum-dash-icon-size-100: 10px; - --spectrum-dash-icon-size-200: 12px; - --spectrum-dash-icon-size-300: 12px; - --spectrum-dash-icon-size-400: 14px; - --spectrum-dash-icon-size-500: 16px; - --spectrum-dash-icon-size-600: 18px; - --spectrum-side-navigation-header-to-item: 8px; - --spectrum-switch-handle-size-small: 6px; - --spectrum-switch-handle-selected-size-small: 8px; - --spectrum-switch-handle-selected-size-medium: 10px; - --spectrum-switch-handle-selected-size-large: 12px; - --spectrum-switch-handle-selected-size-extra-large: 14px; - --spectrum-switch-handle-size-medium: 8px; - --spectrum-switch-handle-size-large: 10px; - --spectrum-switch-handle-size-extra-large: 12px; - --spectrum-tag-label-to-clear-icon-small: 8px; - --spectrum-tag-label-to-clear-icon-medium: 12px; - --spectrum-tag-label-to-clear-icon-large: 15px; - --spectrum-tag-edge-to-clear-icon-small: 8px; - --spectrum-tag-edge-to-clear-icon-medium: 12px; - --spectrum-tag-edge-to-clear-icon-large: 15px; - --spectrum-opacity-checkerboard-square-size-small: 4px; + --spectrum-accordion-top-to-text-spacious-small: 9px; --spectrum-drop-shadow-y: 1px; --spectrum-drop-shadow-blur: 4px; - --spectrum-workflow-icon-size-50: 14px; - --spectrum-workflow-icon-size-75: 16px; - --spectrum-workflow-icon-size-100: 20px; - --spectrum-workflow-icon-size-200: 22px; - --spectrum-workflow-icon-size-300: 26px; --spectrum-text-to-visual-50: 5px; --spectrum-text-to-visual-75: 5px; --spectrum-text-to-visual-100: 6px; --spectrum-text-to-visual-200: 7px; --spectrum-text-to-visual-300: 8px; + --spectrum-text-to-visual-400: 9px; --spectrum-text-to-control-75: 9px; --spectrum-text-to-control-100: 10px; --spectrum-text-to-control-200: 11px; @@ -435,33 +418,33 @@ --spectrum-component-height-300: 48px; --spectrum-component-height-400: 56px; --spectrum-component-height-500: 64px; - --spectrum-component-pill-edge-to-visual-75: 10px; + --spectrum-component-pill-edge-to-visual-75: 11px; --spectrum-component-pill-edge-to-visual-100: 14px; --spectrum-component-pill-edge-to-visual-200: 18px; - --spectrum-component-pill-edge-to-visual-300: 21px; + --spectrum-component-pill-edge-to-visual-300: 20px; --spectrum-component-pill-edge-to-visual-only-75: 4px; - --spectrum-component-pill-edge-to-visual-only-100: 7px; - --spectrum-component-pill-edge-to-visual-only-200: 10px; - --spectrum-component-pill-edge-to-visual-only-300: 13px; - --spectrum-component-pill-edge-to-text-75: 12px; + --spectrum-component-pill-edge-to-visual-only-100: 6px; + --spectrum-component-pill-edge-to-visual-only-200: 9px; + --spectrum-component-pill-edge-to-visual-only-300: 11px; + --spectrum-component-pill-edge-to-text-75: 13px; --spectrum-component-pill-edge-to-text-100: 16px; --spectrum-component-pill-edge-to-text-200: 20px; - --spectrum-component-pill-edge-to-text-300: 24px; - --spectrum-component-edge-to-visual-50: 6px; - --spectrum-component-edge-to-visual-75: 7px; + --spectrum-component-pill-edge-to-text-300: 23px; + --spectrum-component-edge-to-visual-50: 7px; + --spectrum-component-edge-to-visual-75: 8px; --spectrum-component-edge-to-visual-100: 10px; --spectrum-component-edge-to-visual-200: 13px; - --spectrum-component-edge-to-visual-300: 15px; + --spectrum-component-edge-to-visual-300: 14px; --spectrum-component-edge-to-visual-only-50: 3px; --spectrum-component-edge-to-visual-only-75: 4px; --spectrum-component-edge-to-visual-only-100: 6px; --spectrum-component-edge-to-visual-only-200: 9px; --spectrum-component-edge-to-visual-only-300: 11px; --spectrum-component-edge-to-text-50: 8px; - --spectrum-component-edge-to-text-75: 9px; + --spectrum-component-edge-to-text-75: 10px; --spectrum-component-edge-to-text-100: 12px; --spectrum-component-edge-to-text-200: 15px; - --spectrum-component-edge-to-text-300: 18px; + --spectrum-component-edge-to-text-300: 17px; --spectrum-component-top-to-workflow-icon-50: 3px; --spectrum-component-top-to-workflow-icon-75: 4px; --spectrum-component-top-to-workflow-icon-100: 6px; @@ -521,13 +504,16 @@ --spectrum-field-text-to-validation-icon-medium: 12px; --spectrum-field-text-to-validation-icon-large: 15px; --spectrum-field-text-to-validation-icon-extra-large: 18px; - --spectrum-field-width: var(--spectrum-field-width-small); - --spectrum-field-width-small: 192px; + --spectrum-field-width: 192px; --spectrum-character-count-to-field-quiet-small: -3px; --spectrum-character-count-to-field-quiet-medium: -3px; --spectrum-character-count-to-field-quiet-large: -3px; --spectrum-character-count-to-field-quiet-extra-large: -4px; --spectrum-side-label-character-count-to-field: 12px; + --spectrum-side-label-character-count-top-margin-small: 4px; + --spectrum-side-label-character-count-top-margin-medium: 8px; + --spectrum-side-label-character-count-top-margin-large: 11px; + --spectrum-side-label-character-count-top-margin-extra-large: 14px; --spectrum-disclosure-indicator-top-to-disclosure-icon-small: 7px; --spectrum-disclosure-indicator-top-to-disclosure-icon-medium: 11px; --spectrum-disclosure-indicator-top-to-disclosure-icon-large: 14px; @@ -537,13 +523,6 @@ --spectrum-navigational-indicator-top-to-back-icon-large: 12px; --spectrum-navigational-indicator-top-to-back-icon-extra-large: 15px; --spectrum-color-control-track-width: 24px; - --spectrum-corner-triangle-icon-size-75: 5px; - --spectrum-corner-triangle-icon-size-100: 5px; - --spectrum-corner-triangle-icon-size-200: 6px; - --spectrum-corner-triangle-icon-size-300: 7px; - --spectrum-field-width-medium: 208px; - --spectrum-field-width-large: 224px; - --spectrum-field-width-extra-large: 240px; --spectrum-font-size-50: 11px; --spectrum-font-size-75: 12px; --spectrum-font-size-100: 14px; @@ -559,4 +538,111 @@ --spectrum-font-size-1100: 45px; --spectrum-font-size-1200: 50px; --spectrum-font-size-1300: 60px; + --spectrum-slider-tick-mark-height: 10px; + --spectrum-slider-ramp-track-height: 16px; + + --spectrum-colorwheel-path: 'M 95 95 m -95 0 a 95 95 0 1 0 190 0 a 95 95 0 1 0 -190 0.2 M 95 95 m -73 0 a 73 73 0 1 0 146 0 a 73 73 0 1 0 -146 0'; + --spectrum-colorwheel-path-borders: 'M 96 96 m -96 0 a 96 96 0 1 0 192 0 a 96 96 0 1 0 -192 0.2 M 96 96 m -72 0 a 72 72 0 1 0 144 0 a 72 72 0 1 0 -144 0'; + --spectrum-colorwheel-colorarea-container-size: 144px; + + --spectrum-colorloupe-checkerboard-fill: url(#checkerboard-primary); + + --spectrum-menu-item-selectable-edge-to-text-not-selected-small: 28px; + --spectrum-menu-item-selectable-edge-to-text-not-selected-medium: 32px; + --spectrum-menu-item-selectable-edge-to-text-not-selected-large: 38px; + --spectrum-menu-item-selectable-edge-to-text-not-selected-extra-large: 45px; + + --spectrum-menu-item-checkmark-height-small: 10px; + --spectrum-menu-item-checkmark-height-medium: 10px; + --spectrum-menu-item-checkmark-height-large: 12px; + --spectrum-menu-item-checkmark-height-extra-large: 14px; + + --spectrum-menu-item-checkmark-width-small: 10px; + --spectrum-menu-item-checkmark-width-medium: 10px; + --spectrum-menu-item-checkmark-width-large: 12px; + --spectrum-menu-item-checkmark-width-extra-large: 14px; + + --spectrum-rating-icon-spacing: var(--spectrum-spacing-75); + + --spectrum-button-top-to-text-small: 5px; + --spectrum-button-bottom-to-text-small: 4px; + --spectrum-button-top-to-text-medium: 7px; + --spectrum-button-bottom-to-text-medium: 8px; + --spectrum-button-top-to-text-large: 10px; + --spectrum-button-bottom-to-text-large: 10px; + --spectrum-button-top-to-text-extra-large: 13px; + --spectrum-button-bottom-to-text-extra-large: 13px; + + --spectrum-alert-banner-close-button-spacing: var(--spectrum-spacing-100); + --spectrum-alert-banner-edge-to-divider: var(--spectrum-spacing-100); + --spectrum-alert-banner-edge-to-button: var(--spectrum-spacing-100); + --spectrum-alert-banner-text-to-button-vertical: var( + --spectrum-spacing-100 + ); + + --spectrum-alert-dialog-padding: var(--spectrum-spacing-500); + --spectrum-alert-dialog-description-to-buttons: var(--spectrum-spacing-700); + + --spectrum-coach-indicator-gap: 6px; + --spectrum-coach-indicator-ring-diameter: var(--spectrum-spacing-300); + --spectrum-coach-indicator-quiet-ring-diameter: var(--spectrum-spacing-100); + + --spectrum-coachmark-buttongroup-display: flex; + --spectrum-coachmark-buttongroup-mobile-display: none; + --spectrum-coachmark-menu-display: inline-flex; + --spectrum-coachmark-menu-mobile-display: none; + --spectrum-workflow-icon-size-xxl: 32px; + --spectrum-workflow-icon-size-xxs: 12px; + + --spectrum-treeview-item-indentation-medium: var(--spectrum-spacing-300); + --spectrum-treeview-item-indentation-small: var(--spectrum-spacing-200); + --spectrum-treeview-item-indentation-large: 20px; + --spectrum-treeview-item-indentation-extra-large: var( + --spectrum-spacing-400 + ); + --spectrum-treeview-indicator-inset-block-start: 5px; + --spectrum-treeview-item-min-block-size-thumbnail-offset-medium: 0px; + + --spectrum-dialog-confirm-entry-animation-distance: 20px; + --spectrum-dialog-confirm-hero-height: 128px; + --spectrum-dialog-confirm-border-radius: 4px; + --spectrum-dialog-confirm-title-text-size: 18px; + --spectrum-dialog-confirm-description-text-size: 14px; + --spectrum-dialog-confirm-padding-grid: 40px; + + --spectrum-datepicker-initial-width: 128px; + --spectrum-datepicker-generic-padding: var(--spectrum-spacing-200); + --spectrum-datepicker-dash-line-height: 24px; + --spectrum-datepicker-width-quiet-first: 72px; + --spectrum-datepicker-width-quiet-second: 16px; + --spectrum-datepicker-datetime-width-first: 36px; + --spectrum-datepicker-invalid-icon-to-button: 8px; + --spectrum-datepicker-invalid-icon-to-button-quiet: 7px; + --spectrum-datepicker-input-datetime-width: var(--spectrum-spacing-400); + + --spectrum-pagination-textfield-width: var(--spectrum-spacing-700); + --spectrum-pagination-item-inline-spacing: 5px; + + --spectrum-dial-border-radius: 16px; + --spectrum-dial-handle-position: 8px; + --spectrum-dial-handle-block-margin: 16px; + --spectrum-dial-handle-inline-margin: 16px; + --spectrum-dial-controls-margin: 8px; + --spectrum-dial-label-gap-y: 5px; + --spectrum-dial-label-container-top-to-text: 4px; + + --spectrum-assetcard-focus-ring-border-radius: 8px; + --spectrum-assetcard-selectionindicator-margin: 12px; + --spectrum-assetcard-title-font-size: var(--spectrum-heading-size-xs); + --spectrum-assetcard-header-content-font-size: var( + --spectrum-heading-size-xs + ); + --spectrum-assetcard-content-font-size: var(--spectrum-body-size-s); + + --spectrum-tooltip-animation-distance: var(--spectrum-spacing-75); + + --spectrum-ui-icon-medium-display: block; + --spectrum-ui-icon-large-display: none; + + --spectrum-contextual-help-content-spacing: var(--spectrum-spacing-100); } diff --git a/tools/styles/tokens-v2/spectrum/global-vars.css b/tools/styles/tokens-v2/spectrum/global-vars.css index 568ee96dca..9c032dd2e8 100644 --- a/tools/styles/tokens-v2/spectrum/global-vars.css +++ b/tools/styles/tokens-v2/spectrum/global-vars.css @@ -1,1359 +1,7232 @@ :host, :root { - --system-spectrum-actionbutton-background-color-default: var( - --spectrum-gray-75 + --system-accordion-item-width: var(--spectrum-accordion-minimum-width); + --system-accordion-disclosure-indicator-to-text-space: var( + --spectrum-accordion-disclosure-indicator-to-text ); - --system-spectrum-actionbutton-background-color-hover: var( - --spectrum-gray-200 + --system-accordion-edge-to-disclosure-indicator-space: var( + --spectrum-accordion-edge-to-disclosure-indicator ); - --system-spectrum-actionbutton-background-color-down: var( - --spectrum-gray-300 + --system-accordion-edge-to-text-space: var( + --spectrum-accordion-edge-to-text ); - --system-spectrum-actionbutton-background-color-focus: var( - --spectrum-gray-200 + --system-accordion-focus-indicator-gap: var(--spectrum-focus-indicator-gap); + --system-accordion-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness ); - --system-spectrum-actionbutton-border-color-default: var( - --spectrum-gray-400 + --system-accordion-corner-radius: var(--spectrum-corner-radius-100); + --system-accordion-item-content-area-top-to-content: var( + --spectrum-accordion-content-area-top-to-content ); - --system-spectrum-actionbutton-border-color-hover: var(--spectrum-gray-500); - --system-spectrum-actionbutton-border-color-down: var(--spectrum-gray-600); - --system-spectrum-actionbutton-border-color-focus: var(--spectrum-gray-500); - --system-spectrum-actionbutton-background-color-disabled: transparent; - --system-spectrum-actionbutton-border-color-disabled: var( - --spectrum-disabled-border-color + --system-accordion-item-content-area-bottom-to-content: var( + --spectrum-accordion-content-area-bottom-to-content + ); + --system-accordion-item-header-font: var(--spectrum-sans-font-family-stack); + --system-accordion-item-header-font-weight: var( + --spectrum-bold-font-weight + ); + --system-accordion-item-header-font-style: var( + --spectrum-default-font-style + ); + --system-accordion-item-header-line-height: 1.25; + --system-accordion-item-content-font: var( + --spectrum-sans-font-family-stack + ); + --system-accordion-item-content-font-weight: var( + --spectrum-body-sans-serif-font-weight + ); + --system-accordion-item-content-font-style: var( + --spectrum-body-sans-serif-font-style + ); + --system-accordion-item-content-line-height: var( + --spectrum-line-height-100 + ); + --system-accordion-background-color-default: rgba( + var(--spectrum-gray-900-rgb), + var(--spectrum-background-opacity-default) + ); + --system-accordion-background-color-hover: rgba( + var(--spectrum-gray-900-rgb), + var(--spectrum-background-opacity-hover) + ); + --system-accordion-background-color-down: rgba( + var(--spectrum-gray-900-rgb), + var(--spectrum-background-opacity-down) + ); + --system-accordion-background-color-key-focus: rgba( + var(--spectrum-gray-900-rgb), + var(--spectrum-background-opacity-key-focus) + ); + --system-accordion-item-header-color-default: var( + --spectrum-neutral-content-color-default ); - --system-spectrum-actionbutton-content-color-disabled: var( + --system-accordion-item-header-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-accordion-item-header-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-accordion-item-header-color-key-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-accordion-item-header-disabled-color: var( --spectrum-disabled-content-color ); - --system-spectrum-actionbutton-quiet-background-color-default: transparent; - --system-spectrum-actionbutton-quiet-background-color-hover: var( - --spectrum-gray-200 + --system-accordion-item-content-disabled-color: var( + --spectrum-disabled-content-color ); - --system-spectrum-actionbutton-quiet-background-color-down: var( - --spectrum-gray-300 + --system-accordion-item-content-color: var(--spectrum-body-color); + --system-accordion-focus-indicator-color: var( + --spectrum-focus-indicator-color ); - --system-spectrum-actionbutton-quiet-background-color-focus: var( - --spectrum-gray-200 + --system-accordion-divider-color: var(--spectrum-gray-200); + --system-accordion-item-header-line-height-cjk: var( + --spectrum-cjk-line-height-100 ); - --system-spectrum-actionbutton-quiet-border-color-default: transparent; - --system-spectrum-actionbutton-quiet-border-color-hover: transparent; - --system-spectrum-actionbutton-quiet-border-color-down: transparent; - --system-spectrum-actionbutton-quiet-border-color-focus: transparent; - --system-spectrum-actionbutton-quiet-background-color-disabled: transparent; - --system-spectrum-actionbutton-quiet-border-color-disabled: transparent; - --system-spectrum-actionbutton-selected-border-color-default: transparent; - --system-spectrum-actionbutton-selected-border-color-hover: transparent; - --system-spectrum-actionbutton-selected-border-color-down: transparent; - --system-spectrum-actionbutton-selected-border-color-focus: transparent; - --system-spectrum-actionbutton-selected-background-color-disabled: var( - --spectrum-disabled-background-color + --system-accordion-item-content-line-height-cjk: var( + --spectrum-cjk-line-height-100 ); - --system-spectrum-actionbutton-selected-border-color-disabled: transparent; - --system-spectrum-actionbutton-staticblack-quiet-border-color-default: transparent; - --system-spectrum-actionbutton-staticwhite-quiet-border-color-default: transparent; - --system-spectrum-actionbutton-staticblack-quiet-border-color-hover: transparent; - --system-spectrum-actionbutton-staticwhite-quiet-border-color-hover: transparent; - --system-spectrum-actionbutton-staticblack-quiet-border-color-down: transparent; - --system-spectrum-actionbutton-staticwhite-quiet-border-color-down: transparent; - --system-spectrum-actionbutton-staticblack-quiet-border-color-focus: transparent; - --system-spectrum-actionbutton-staticwhite-quiet-border-color-focus: transparent; - --system-spectrum-actionbutton-staticblack-quiet-border-color-disabled: transparent; - --system-spectrum-actionbutton-staticwhite-quiet-border-color-disabled: transparent; - --system-spectrum-actionbutton-staticblack-background-color-default: transparent; - --system-spectrum-actionbutton-staticblack-background-color-hover: var( - --spectrum-transparent-black-300 + --system-accordion-item-height: var(--spectrum-component-height-200); + --system-accordion-size-m-item-height: var(--spectrum-component-height-200); + --system-accordion-disclosure-indicator-height: var( + --spectrum-component-height-100 ); - --system-spectrum-actionbutton-staticblack-background-color-down: var( - --spectrum-transparent-black-400 + --system-accordion-size-m-disclosure-indicator-height: var( + --spectrum-component-height-100 ); - --system-spectrum-actionbutton-staticblack-background-color-focus: var( - --spectrum-transparent-black-300 + --system-accordion-component-edge-to-text: var( + --spectrum-component-edge-to-text-75 ); - --system-spectrum-actionbutton-staticblack-border-color-default: var( - --spectrum-transparent-black-400 + --system-accordion-size-m-component-edge-to-text: var( + --spectrum-component-edge-to-text-75 ); - --system-spectrum-actionbutton-staticblack-border-color-hover: var( - --spectrum-transparent-black-500 + --system-accordion-item-header-font-size: var(--spectrum-font-size-300); + --system-accordion-size-m-item-header-font-size: var( + --spectrum-font-size-300 ); - --system-spectrum-actionbutton-staticblack-border-color-down: var( - --spectrum-transparent-black-600 + --system-accordion-item-content-font-size: var(--spectrum-body-size-s); + --system-accordion-size-m-item-content-font-size: var( + --spectrum-body-size-s ); - --system-spectrum-actionbutton-staticblack-border-color-focus: var( - --spectrum-transparent-black-500 + --system-accordion-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-regular-medium ); - --system-spectrum-actionbutton-staticblack-content-color-default: var( - --spectrum-black + --system-accordion-size-m-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-regular-medium ); - --system-spectrum-actionbutton-staticblack-content-color-hover: var( - --spectrum-black + --system-accordion-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-regular-medium ); - --system-spectrum-actionbutton-staticblack-content-color-down: var( - --spectrum-black + --system-accordion-size-m-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-regular-medium ); - --system-spectrum-actionbutton-staticblack-content-color-focus: var( - --spectrum-black + --system-accordion-size-s-item-height: var(--spectrum-component-height-100); + --system-accordion-size-s-disclosure-indicator-height: var( + --spectrum-component-height-75 ); - --system-spectrum-actionbutton-staticblack-focus-indicator-color: var( - --spectrum-static-black-focus-indicator-color + --system-accordion-size-s-component-edge-to-text: var( + --spectrum-component-edge-to-text-50 ); - --system-spectrum-actionbutton-staticblack-background-color-disabled: transparent; - --system-spectrum-actionbutton-staticblack-border-color-disabled: var( - --spectrum-disabled-static-black-border-color + --system-accordion-size-s-item-header-font-size: var( + --spectrum-font-size-200 ); - --system-spectrum-actionbutton-staticblack-content-color-disabled: var( - --spectrum-disabled-static-black-content-color + --system-accordion-size-s-item-content-font-size: var( + --spectrum-body-size-xs ); - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-default: var( - --spectrum-transparent-black-800 + --system-accordion-size-s-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-regular-small ); - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-hover: var( - --spectrum-transparent-black-900 + --system-accordion-size-s-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-regular-small ); - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-down: var( - --spectrum-transparent-black-900 + --system-accordion-size-l-item-height: var(--spectrum-component-height-300); + --system-accordion-size-l-disclosure-indicator-height: var( + --spectrum-component-height-200 ); - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-focus: var( - --spectrum-transparent-black-900 + --system-accordion-size-l-component-edge-to-text: var( + --spectrum-component-edge-to-text-100 ); - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-content-color-default: var( - --spectrum-white + --system-accordion-size-l-item-header-font-size: var( + --spectrum-font-size-500 ); - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-content-color-hover: var( - --spectrum-white + --system-accordion-size-l-item-content-font-size: var( + --spectrum-body-size-m ); - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-content-color-down: var( - --spectrum-white + --system-accordion-size-l-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-regular-large ); - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-content-color-focus: var( - --spectrum-white + --system-accordion-size-l-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-regular-large ); - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-disabled: var( - --spectrum-disabled-static-black-background-color + --system-accordion-size-xl-item-height: var( + --spectrum-component-height-400 ); - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-border-color-disabled: transparent; - --system-spectrum-actionbutton-staticwhite-background-color-default: transparent; - --system-spectrum-actionbutton-staticwhite-background-color-hover: var( - --spectrum-transparent-white-300 + --system-accordion-size-xl-disclosure-indicator-height: var( + --spectrum-component-height-300 ); - --system-spectrum-actionbutton-staticwhite-background-color-down: var( - --spectrum-transparent-white-400 + --system-accordion-size-xl-component-edge-to-text: var( + --spectrum-component-edge-to-text-200 ); - --system-spectrum-actionbutton-staticwhite-background-color-focus: var( - --spectrum-transparent-white-300 + --system-accordion-size-xl-item-header-font-size: var( + --spectrum-font-size-700 ); - --system-spectrum-actionbutton-staticwhite-border-color-default: var( - --spectrum-transparent-white-400 + --system-accordion-size-xl-item-content-font-size: var( + --spectrum-body-size-l ); - --system-spectrum-actionbutton-staticwhite-border-color-hover: var( - --spectrum-transparent-white-500 + --system-accordion-size-xl-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-regular-extra-large ); - --system-spectrum-actionbutton-staticwhite-border-color-down: var( - --spectrum-transparent-white-600 + --system-accordion-size-xl-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-regular-extra-large ); - --system-spectrum-actionbutton-staticwhite-border-color-focus: var( - --spectrum-transparent-white-500 + --system-accordion-compact-size-s-item-height: var( + --spectrum-component-height-75 ); - --system-spectrum-actionbutton-staticwhite-content-color-default: var( - --spectrum-white + --system-accordion-compact-size-s-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-compact-small ); - --system-spectrum-actionbutton-staticwhite-content-color-hover: var( - --spectrum-white + --system-accordion-compact-size-s-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-compact-small ); - --system-spectrum-actionbutton-staticwhite-content-color-down: var( - --spectrum-white + --system-accordion-compact-item-height: var( + --spectrum-component-height-100 ); - --system-spectrum-actionbutton-staticwhite-content-color-focus: var( - --spectrum-white + --system-accordion-compact-size-m-item-height: var( + --spectrum-component-height-100 ); - --system-spectrum-actionbutton-staticwhite-focus-indicator-color: var( - --spectrum-static-white-focus-indicator-color + --system-accordion-compact-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-compact-medium ); - --system-spectrum-actionbutton-staticwhite-background-color-disabled: transparent; - --system-spectrum-actionbutton-staticwhite-border-color-disabled: var( - --spectrum-disabled-static-white-border-color + --system-accordion-compact-size-m-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-compact-medium ); - --system-spectrum-actionbutton-staticwhite-content-color-disabled: var( - --spectrum-disabled-static-white-content-color + --system-accordion-compact-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-compact-medium ); - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-default: var( - --spectrum-transparent-white-800 + --system-accordion-compact-size-m-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-compact-medium ); - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-hover: var( - --spectrum-transparent-white-900 + --system-accordion-compact-size-l-item-height: var( + --spectrum-component-height-200 ); - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-down: var( - --spectrum-transparent-white-900 + --system-accordion-compact-size-l-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-compact-large ); - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-focus: var( - --spectrum-transparent-white-900 + --system-accordion-compact-size-l-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-compact-large ); - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-content-color-default: var( - --spectrum-black + --system-accordion-compact-size-xl-item-height: var( + --spectrum-component-height-300 ); - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-content-color-hover: var( - --spectrum-black + --system-accordion-compact-size-xl-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-compact-extra-large ); - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-content-color-down: var( - --spectrum-black + --system-accordion-compact-size-xl-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-compact-extra-large ); - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-content-color-focus: var( - --spectrum-black + --system-accordion-spacious-size-s-item-header-line-height: 1.25; + --system-accordion-spacious-size-s-item-header-top-to-text-space: var( + --spectrum-accordion-small-top-to-text-spacious ); - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-disabled: var( - --spectrum-disabled-static-white-background-color + --system-accordion-spacious-size-s-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-spacious-small + ); + --system-accordion-spacious-item-header-line-height: 1.278; + --system-accordion-spacious-size-m-item-header-line-height: 1.278; + --system-accordion-spacious-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-spacious-medium + ); + --system-accordion-spacious-size-m-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-spacious-medium + ); + --system-accordion-spacious-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-spacious-medium + ); + --system-accordion-spacious-size-m-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-spacious-medium + ); + --system-accordion-spacious-size-l-item-header-line-height: 1.273; + --system-accordion-spacious-size-l-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-spacious-large + ); + --system-accordion-spacious-size-l-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-spacious-large + ); + --system-accordion-spacious-size-xl-item-header-line-height: 1.25; + --system-accordion-spacious-size-xl-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-spacious-extra-large + ); + --system-accordion-spacious-size-xl-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-spacious-extra-large ); - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-border-color-disabled: transparent; -} - -:host, -:root { - --system-spectrum-actiongroup-gap-size-compact: 0; - --system-spectrum-actiongroup-horizontal-spacing-compact: -1px; - --system-spectrum-actiongroup-vertical-spacing-compact: -1px; } :host, :root { - --system-spectrum-alertbanner-spectrum-alert-banner-netural-background: var( - --spectrum-neutral-subdued-background-color-default + --system-action-bar-height: var(--spectrum-action-bar-height); + --system-action-bar-corner-radius: var(--spectrum-corner-radius-100); + --system-action-bar-item-counter-font-size: var(--spectrum-font-size-100); + --system-action-bar-item-counter-line-height: var( + --spectrum-line-height-100 ); + --system-action-bar-item-counter-color: var( + --spectrum-neutral-content-color-default + ); + --system-action-bar-item-counter-line-height-cjk: var( + --spectrum-cjk-line-height-100 + ); + --system-action-bar-popover-background-color: var(--spectrum-gray-25); + --system-action-bar-popover-border-color: var(--spectrum-gray-400); + --system-action-bar-emphasized-background-color: var( + --spectrum-informative-background-color-default + ); + --system-action-bar-emphasized-item-counter-color: var(--spectrum-white); + --system-action-bar-spacing-outer-edge: var(--spectrum-spacing-300); + --system-action-bar-spacing-close-button-top: var(--spectrum-spacing-100); + --system-action-bar-spacing-close-button-start: var(--spectrum-spacing-100); + --system-action-bar-spacing-close-button-end: var(--spectrum-spacing-75); + --system-action-bar-spacing-item-counter-top: var( + --spectrum-action-bar-top-to-item-counter + ); + --system-action-bar-spacing-item-counter-end: var(--spectrum-spacing-400); + --system-action-bar-spacing-action-group-top: var(--spectrum-spacing-100); + --system-action-bar-spacing-action-group-end: var(--spectrum-spacing-100); + --system-action-bar-shadow-horizontal: var(--spectrum-drop-shadow-x); + --system-action-bar-shadow-vertical: var(--spectrum-drop-shadow-y); + --system-action-bar-shadow-blur: var(--spectrum-drop-shadow-blur); + --system-action-bar-shadow-color: var(--spectrum-drop-shadow-color); } :host, :root { - --system-spectrum-button-background-color-default: var(--spectrum-gray-75); - --system-spectrum-button-background-color-hover: var(--spectrum-gray-200); - --system-spectrum-button-background-color-down: var(--spectrum-gray-300); - --system-spectrum-button-background-color-focus: var(--spectrum-gray-200); - --system-spectrum-button-border-color-default: var(--spectrum-gray-400); - --system-spectrum-button-border-color-hover: var(--spectrum-gray-500); - --system-spectrum-button-border-color-down: var(--spectrum-gray-600); - --system-spectrum-button-border-color-focus: var(--spectrum-gray-500); - --system-spectrum-button-content-color-default: var( + --system-action-button-animation-duration: var( + --spectrum-animation-duration-100 + ); + --system-action-button-border-radius: var(--spectrum-corner-radius-100); + --system-action-button-border-width: var(--spectrum-border-width-100); + --system-action-button-content-color-default: var( --spectrum-neutral-content-color-default ); - --system-spectrum-button-content-color-hover: var( + --system-action-button-content-color-hover: var( --spectrum-neutral-content-color-hover ); - --system-spectrum-button-content-color-down: var( + --system-action-button-content-color-down: var( --spectrum-neutral-content-color-down ); - --system-spectrum-button-content-color-focus: var( + --system-action-button-content-color-focus: var( --spectrum-neutral-content-color-key-focus ); - --system-spectrum-button-background-color-disabled: transparent; - --system-spectrum-button-border-color-disabled: var( - --spectrum-disabled-border-color - ); - --system-spectrum-button-content-color-disabled: var( - --spectrum-disabled-content-color - ); - --system-spectrum-button-accent-background-color-default: var( - --spectrum-accent-background-color-default - ); - --system-spectrum-button-accent-background-color-hover: var( - --spectrum-accent-background-color-hover - ); - --system-spectrum-button-accent-background-color-down: var( - --spectrum-accent-background-color-down + --system-action-button-focus-indicator-gap: var( + --spectrum-focus-indicator-gap ); - --system-spectrum-button-accent-background-color-focus: var( - --spectrum-accent-background-color-key-focus + --system-action-button-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness ); - --system-spectrum-button-accent-border-color-default: transparent; - --system-spectrum-button-accent-border-color-hover: transparent; - --system-spectrum-button-accent-border-color-down: transparent; - --system-spectrum-button-accent-border-color-focus: transparent; - --system-spectrum-button-accent-content-color-default: var( - --spectrum-white + --system-action-button-focus-indicator-color: var( + --spectrum-focus-indicator-color ); - --system-spectrum-button-accent-content-color-hover: var(--spectrum-white); - --system-spectrum-button-accent-content-color-down: var(--spectrum-white); - --system-spectrum-button-accent-content-color-focus: var(--spectrum-white); - --system-spectrum-button-accent-background-color-disabled: var( - --spectrum-disabled-background-color + --system-action-button-background-color-default: var(--spectrum-gray-50); + --system-action-button-background-color-hover: var(--spectrum-gray-100); + --system-action-button-background-color-down: var(--spectrum-gray-200); + --system-action-button-background-color-focus: var(--spectrum-gray-100); + --system-action-button-border-color-default: var(--spectrum-gray-400); + --system-action-button-border-color-hover: var(--spectrum-gray-500); + --system-action-button-border-color-down: var(--spectrum-gray-600); + --system-action-button-border-color-focus: var(--spectrum-gray-500); + --system-action-button-background-color-disabled: transparent; + --system-action-button-border-color-disabled: var( + --spectrum-disabled-border-color ); - --system-spectrum-button-accent-border-color-disabled: transparent; - --system-spectrum-button-accent-content-color-disabled: var( + --system-action-button-content-color-disabled: var( --spectrum-disabled-content-color ); - --system-spectrum-button-accent-outline-background-color-default: transparent; - --system-spectrum-button-accent-outline-background-color-hover: var( - --spectrum-accent-color-200 - ); - --system-spectrum-button-accent-outline-background-color-down: var( - --spectrum-accent-color-300 + --system-action-button-quiet-background-color-default: transparent; + --system-action-button-quiet-background-color-hover: var( + --spectrum-gray-100 ); - --system-spectrum-button-accent-outline-background-color-focus: var( - --spectrum-accent-color-200 + --system-action-button-quiet-background-color-down: var( + --spectrum-gray-200 ); - --system-spectrum-button-accent-outline-border-color-default: var( - --spectrum-accent-color-900 + --system-action-button-quiet-background-color-focus: var( + --spectrum-gray-100 ); - --system-spectrum-button-accent-outline-border-color-hover: var( - --spectrum-accent-color-1000 + --system-action-button-quiet-background-color-disabled: transparent; + --system-action-button-quiet-border-color-default: transparent; + --system-action-button-quiet-border-color-hover: transparent; + --system-action-button-quiet-border-color-down: transparent; + --system-action-button-quiet-border-color-focus: transparent; + --system-action-button-quiet-border-color-disabled: transparent; + --system-action-button-selected-background-color-default: var( + --spectrum-neutral-background-color-selected-default ); - --system-spectrum-button-accent-outline-border-color-down: var( - --spectrum-accent-color-1100 + --system-action-button-selected-background-color-hover: var( + --spectrum-neutral-background-color-selected-hover ); - --system-spectrum-button-accent-outline-border-color-focus: var( - --spectrum-accent-color-1000 + --system-action-button-selected-background-color-down: var( + --spectrum-neutral-background-color-selected-down ); - --system-spectrum-button-accent-outline-content-color-default: var( - --spectrum-accent-content-color-default + --system-action-button-selected-background-color-focus: var( + --spectrum-neutral-background-color-selected-key-focus ); - --system-spectrum-button-accent-outline-content-color-hover: var( - --spectrum-accent-content-color-hover + --system-action-button-selected-content-color-default: var( + --spectrum-gray-50 ); - --system-spectrum-button-accent-outline-content-color-down: var( - --spectrum-accent-content-color-down + --system-action-button-selected-content-color-hover: var( + --spectrum-gray-50 ); - --system-spectrum-button-accent-outline-content-color-focus: var( - --spectrum-accent-content-color-key-focus + --system-action-button-selected-content-color-down: var(--spectrum-gray-50); + --system-action-button-selected-content-color-focus: var( + --spectrum-gray-50 ); - --system-spectrum-button-accent-outline-background-color-disabled: transparent; - --system-spectrum-button-accent-outline-border-color-disabled: var( - --spectrum-disabled-border-color + --system-action-button-selected-border-color-default: transparent; + --system-action-button-selected-border-color-hover: transparent; + --system-action-button-selected-border-color-down: transparent; + --system-action-button-selected-border-color-focus: transparent; + --system-action-button-selected-border-color-disabled: transparent; + --system-action-button-selected-background-color-disabled: var( + --spectrum-disabled-background-color ); - --system-spectrum-button-accent-outline-content-color-disabled: var( - --spectrum-disabled-content-color + --system-action-button-selected-emphasized-background-color-default: var( + --spectrum-accent-background-color-default ); - --system-spectrum-button-negative-background-color-default: var( - --spectrum-negative-background-color-default + --system-action-button-selected-emphasized-background-color-hover: var( + --spectrum-accent-background-color-hover ); - --system-spectrum-button-negative-background-color-hover: var( - --spectrum-negative-background-color-hover + --system-action-button-selected-emphasized-background-color-down: var( + --spectrum-accent-background-color-down ); - --system-spectrum-button-negative-background-color-down: var( - --spectrum-negative-background-color-down + --system-action-button-selected-emphasized-background-color-focus: var( + --spectrum-accent-background-color-key-focus ); - --system-spectrum-button-negative-background-color-focus: var( - --spectrum-negative-background-color-key-focus + --system-action-button-selected-emphasized-content-color-default: var( + --spectrum-white ); - --system-spectrum-button-negative-border-color-default: transparent; - --system-spectrum-button-negative-border-color-hover: transparent; - --system-spectrum-button-negative-border-color-down: transparent; - --system-spectrum-button-negative-border-color-focus: transparent; - --system-spectrum-button-negative-content-color-default: var( + --system-action-button-selected-emphasized-content-color-hover: var( --spectrum-white ); - --system-spectrum-button-negative-content-color-hover: var( + --system-action-button-selected-emphasized-content-color-down: var( --spectrum-white ); - --system-spectrum-button-negative-content-color-down: var(--spectrum-white); - --system-spectrum-button-negative-content-color-focus: var( + --system-action-button-selected-emphasized-content-color-focus: var( --spectrum-white ); - --system-spectrum-button-negative-background-color-disabled: var( - --spectrum-disabled-background-color + --system-action-button-static-black-quiet-border-color-default: transparent; + --system-action-button-static-white-quiet-border-color-default: transparent; + --system-action-button-static-black-quiet-border-color-hover: transparent; + --system-action-button-static-white-quiet-border-color-hover: transparent; + --system-action-button-static-black-quiet-border-color-down: transparent; + --system-action-button-static-white-quiet-border-color-down: transparent; + --system-action-button-static-black-quiet-border-color-focus: transparent; + --system-action-button-static-white-quiet-border-color-focus: transparent; + --system-action-button-static-black-quiet-border-color-disabled: transparent; + --system-action-button-static-white-quiet-border-color-disabled: transparent; + --system-action-button-static-black-background-color-default: transparent; + --system-action-button-static-black-background-color-hover: var( + --spectrum-transparent-black-400 ); - --system-spectrum-button-negative-border-color-disabled: transparent; - --system-spectrum-button-negative-content-color-disabled: var( - --spectrum-disabled-content-color + --system-action-button-static-black-background-color-down: var( + --spectrum-transparent-black-500 ); - --system-spectrum-button-negative-outline-background-color-default: transparent; - --system-spectrum-button-negative-outline-background-color-hover: var( - --spectrum-negative-color-200 + --system-action-button-static-black-background-color-focus: var( + --spectrum-transparent-black-400 ); - --system-spectrum-button-negative-outline-background-color-down: var( - --spectrum-negative-color-300 + --system-action-button-static-black-background-color-disabled: transparent; + --system-action-button-static-black-border-color-default: var( + --spectrum-transparent-black-500 ); - --system-spectrum-button-negative-outline-background-color-focus: var( - --spectrum-negative-color-200 + --system-action-button-static-black-border-color-hover: var( + --spectrum-transparent-black-600 ); - --system-spectrum-button-negative-outline-border-color-default: var( - --spectrum-negative-color-900 + --system-action-button-static-black-border-color-down: var( + --spectrum-transparent-black-700 ); - --system-spectrum-button-negative-outline-border-color-hover: var( - --spectrum-negative-color-1000 + --system-action-button-static-black-border-color-focus: var( + --spectrum-transparent-black-600 ); - --system-spectrum-button-negative-outline-border-color-down: var( - --spectrum-negative-color-1100 + --system-action-button-static-black-border-color-disabled: var( + --spectrum-disabled-static-black-border-color ); - --system-spectrum-button-negative-outline-border-color-focus: var( - --spectrum-negative-color-1000 + --system-action-button-static-black-content-color-default: var( + --spectrum-black ); - --system-spectrum-button-negative-outline-content-color-default: var( - --spectrum-negative-content-color-default + --system-action-button-static-black-content-color-hover: var( + --spectrum-black ); - --system-spectrum-button-negative-outline-content-color-hover: var( - --spectrum-negative-content-color-hover + --system-action-button-static-black-content-color-down: var( + --spectrum-black ); - --system-spectrum-button-negative-outline-content-color-down: var( - --spectrum-negative-content-color-down + --system-action-button-static-black-content-color-focus: var( + --spectrum-black ); - --system-spectrum-button-negative-outline-content-color-focus: var( - --spectrum-negative-content-color-key-focus + --system-action-button-static-black-content-color-disabled: var( + --spectrum-disabled-static-black-content-color ); - --system-spectrum-button-negative-outline-background-color-disabled: transparent; - --system-spectrum-button-negative-outline-border-color-disabled: var( - --spectrum-disabled-border-color + --system-action-button-static-black-focus-indicator-color: var( + --spectrum-static-black-focus-indicator-color ); - --system-spectrum-button-negative-outline-content-color-disabled: var( - --spectrum-disabled-content-color + --system-action-button-static-black-selected-background-color-default: var( + --spectrum-transparent-black-900 ); - --system-spectrum-button-primary-background-color-default: var( - --spectrum-neutral-background-color-default + --system-action-button-static-black-selected-background-color-hover: var( + --spectrum-transparent-black-1000 ); - --system-spectrum-button-primary-background-color-hover: var( - --spectrum-neutral-background-color-hover + --system-action-button-static-black-selected-background-color-down: var( + --spectrum-transparent-black-1000 ); - --system-spectrum-button-primary-background-color-down: var( - --spectrum-neutral-background-color-down + --system-action-button-static-black-selected-background-color-focus: var( + --spectrum-transparent-black-1000 ); - --system-spectrum-button-primary-background-color-focus: var( - --spectrum-neutral-background-color-key-focus + --system-action-button-static-black-selected-background-color-disabled: var( + --spectrum-transparent-black-300 ); - --system-spectrum-button-primary-border-color-default: transparent; - --system-spectrum-button-primary-border-color-hover: transparent; - --system-spectrum-button-primary-border-color-down: transparent; - --system-spectrum-button-primary-border-color-focus: transparent; - --system-spectrum-button-primary-content-color-default: var( + --system-action-button-static-black-selected-border-color-disabled: transparent; + --system-action-button-static-black-selected-content-color-default: var( --spectrum-white ); - --system-spectrum-button-primary-content-color-hover: var(--spectrum-white); - --system-spectrum-button-primary-content-color-down: var(--spectrum-white); - --system-spectrum-button-primary-content-color-focus: var(--spectrum-white); - --system-spectrum-button-primary-background-color-disabled: var( - --spectrum-disabled-background-color + --system-action-button-static-black-selected-content-color-hover: var( + --spectrum-white ); - --system-spectrum-button-primary-border-color-disabled: transparent; - --system-spectrum-button-primary-content-color-disabled: var( - --spectrum-disabled-content-color + --system-action-button-static-black-selected-content-color-down: var( + --spectrum-white ); - --system-spectrum-button-primary-outline-background-color-default: transparent; - --system-spectrum-button-primary-outline-background-color-hover: var( - --spectrum-gray-300 + --system-action-button-static-black-selected-content-color-focus: var( + --spectrum-white ); - --system-spectrum-button-primary-outline-background-color-down: var( - --spectrum-gray-400 + --system-action-button-static-black-selected-emphasized-background-color-default: var( + --spectrum-transparent-black-900 ); - --system-spectrum-button-primary-outline-background-color-focus: var( - --spectrum-gray-300 + --system-action-button-static-black-selected-emphasized-background-color-hover: var( + --spectrum-transparent-black-1000 ); - --system-spectrum-button-primary-outline-border-color-default: var( - --spectrum-gray-800 + --system-action-button-static-black-selected-emphasized-background-color-down: var( + --spectrum-transparent-black-1000 + ); + --system-action-button-static-black-selected-emphasized-background-color-focus: var( + --spectrum-transparent-black-1000 + ); + --system-action-button-static-black-selected-emphasized-content-color-default: var( + --spectrum-gray-50 ); - --system-spectrum-button-primary-outline-border-color-hover: var( + --system-action-button-static-black-selected-emphasized-content-color-hover: var( --spectrum-gray-900 ); - --system-spectrum-button-primary-outline-border-color-down: var( + --system-action-button-static-black-selected-emphasized-content-color-down: var( --spectrum-gray-900 ); - --system-spectrum-button-primary-outline-border-color-focus: var( + --system-action-button-static-black-selected-emphasized-content-color-focus: var( --spectrum-gray-900 ); - --system-spectrum-button-primary-outline-content-color-default: var( - --spectrum-neutral-content-color-default + --system-action-button-static-white-background-color-default: transparent; + --system-action-button-static-white-background-color-hover: var( + --spectrum-transparent-white-400 ); - --system-spectrum-button-primary-outline-content-color-hover: var( - --spectrum-neutral-content-color-hover + --system-action-button-static-white-background-color-down: var( + --spectrum-transparent-white-500 ); - --system-spectrum-button-primary-outline-content-color-down: var( - --spectrum-neutral-content-color-down + --system-action-button-static-white-background-color-focus: var( + --spectrum-transparent-white-400 ); - --system-spectrum-button-primary-outline-content-color-focus: var( - --spectrum-neutral-content-color-key-focus + --system-action-button-static-white-background-color-disabled: transparent; + --system-action-button-static-white-border-color-default: var( + --spectrum-transparent-white-500 ); - --system-spectrum-button-primary-outline-background-color-disabled: transparent; - --system-spectrum-button-primary-outline-border-color-disabled: var( - --spectrum-disabled-border-color + --system-action-button-static-white-border-color-hover: var( + --spectrum-transparent-white-600 ); - --system-spectrum-button-primary-outline-content-color-disabled: var( - --spectrum-disabled-content-color + --system-action-button-static-white-border-color-down: var( + --spectrum-transparent-white-700 ); - --system-spectrum-button-secondary-background-color-default: var( - --spectrum-gray-200 + --system-action-button-static-white-border-color-focus: var( + --spectrum-transparent-white-600 ); - --system-spectrum-button-secondary-background-color-hover: var( - --spectrum-gray-300 + --system-action-button-static-white-border-color-disabled: var( + --spectrum-disabled-static-white-border-color ); - --system-spectrum-button-secondary-background-color-down: var( - --spectrum-gray-400 + --system-action-button-static-white-content-color-default: var( + --spectrum-white ); - --system-spectrum-button-secondary-background-color-focus: var( - --spectrum-gray-300 + --system-action-button-static-white-content-color-hover: var( + --spectrum-white ); - --system-spectrum-button-secondary-border-color-default: transparent; - --system-spectrum-button-secondary-border-color-hover: transparent; - --system-spectrum-button-secondary-border-color-down: transparent; - --system-spectrum-button-secondary-border-color-focus: transparent; - --system-spectrum-button-secondary-content-color-default: var( - --spectrum-neutral-content-color-default + --system-action-button-static-white-content-color-down: var( + --spectrum-white ); - --system-spectrum-button-secondary-content-color-hover: var( - --spectrum-neutral-content-color-hover + --system-action-button-static-white-content-color-focus: var( + --spectrum-white ); - --system-spectrum-button-secondary-content-color-down: var( - --spectrum-neutral-content-color-down + --system-action-button-static-white-content-color-disabled: var( + --spectrum-disabled-static-white-content-color ); - --system-spectrum-button-secondary-content-color-focus: var( - --spectrum-neutral-content-color-key-focus + --system-action-button-static-white-focus-indicator-color: var( + --spectrum-static-white-focus-indicator-color ); - --system-spectrum-button-secondary-background-color-disabled: var( - --spectrum-disabled-background-color + --system-action-button-static-white-selected-background-color-default: var( + --spectrum-transparent-white-900 ); - --system-spectrum-button-secondary-border-color-disabled: transparent; - --system-spectrum-button-secondary-content-color-disabled: var( - --spectrum-disabled-content-color + --system-action-button-static-white-selected-background-color-hover: var( + --spectrum-transparent-white-1000 ); - --system-spectrum-button-secondary-outline-background-color-default: transparent; - --system-spectrum-button-secondary-outline-background-color-hover: var( - --spectrum-gray-300 + --system-action-button-static-white-selected-background-color-down: var( + --spectrum-transparent-white-1000 ); - --system-spectrum-button-secondary-outline-background-color-down: var( - --spectrum-gray-400 + --system-action-button-static-white-selected-background-color-focus: var( + --spectrum-transparent-white-1000 ); - --system-spectrum-button-secondary-outline-background-color-focus: var( - --spectrum-gray-300 + --system-action-button-static-white-selected-background-color-disabled: var( + --spectrum-transparent-white-300 ); - --system-spectrum-button-secondary-outline-border-color-default: var( - --spectrum-gray-300 + --system-action-button-static-white-selected-border-color-disabled: transparent; + --system-action-button-static-white-selected-content-color-default: var( + --spectrum-black ); - --system-spectrum-button-secondary-outline-border-color-hover: var( - --spectrum-gray-400 + --system-action-button-static-white-selected-content-color-hover: var( + --spectrum-black ); - --system-spectrum-button-secondary-outline-border-color-down: var( - --spectrum-gray-500 + --system-action-button-static-white-selected-content-color-down: var( + --spectrum-black ); - --system-spectrum-button-secondary-outline-border-color-focus: var( - --spectrum-gray-400 + --system-action-button-static-white-selected-content-color-focus: var( + --spectrum-black ); - --system-spectrum-button-secondary-outline-content-color-default: var( - --spectrum-neutral-content-color-default + --system-action-button-static-white-selected-emphasized-background-color-default: var( + --spectrum-transparent-white-900 ); - --system-spectrum-button-secondary-outline-content-color-hover: var( - --spectrum-neutral-content-color-hover + --system-action-button-static-white-selected-emphasized-background-color-hover: var( + --spectrum-transparent-white-1000 ); - --system-spectrum-button-secondary-outline-content-color-down: var( - --spectrum-neutral-content-color-down + --system-action-button-static-white-selected-emphasized-background-color-down: var( + --spectrum-transparent-white-1000 ); - --system-spectrum-button-secondary-outline-content-color-focus: var( - --spectrum-neutral-content-color-key-focus + --system-action-button-static-white-selected-emphasized-background-color-focus: var( + --spectrum-transparent-white-1000 ); - --system-spectrum-button-secondary-outline-background-color-disabled: transparent; - --system-spectrum-button-secondary-outline-border-color-disabled: var( - --spectrum-disabled-border-color + --system-action-button-static-white-selected-emphasized-content-color-default: var( + --spectrum-gray-50 ); - --system-spectrum-button-secondary-outline-content-color-disabled: var( - --spectrum-disabled-content-color + --system-action-button-min-width: calc( + var(--spectrum-component-edge-to-visual-only-100) * 2 + + var(--spectrum-workflow-icon-size-100) ); - --system-spectrum-button-quiet-background-color-default: transparent; - --system-spectrum-button-quiet-background-color-hover: var( - --spectrum-gray-200 + --system-action-button-size-m-min-width: calc( + var(--spectrum-component-edge-to-visual-only-100) * 2 + + var(--spectrum-workflow-icon-size-100) ); - --system-spectrum-button-quiet-background-color-down: var( - --spectrum-gray-300 + --system-action-button-height: var(--spectrum-component-height-100); + --system-action-button-size-m-height: var(--spectrum-component-height-100); + --system-action-button-icon-size: var(--spectrum-workflow-icon-size-100); + --system-action-button-size-m-icon-size: var( + --spectrum-workflow-icon-size-100 ); - --system-spectrum-button-quiet-background-color-focus: var( - --spectrum-gray-200 + --system-action-button-font-size: var(--spectrum-font-size-100); + --system-action-button-size-m-font-size: var(--spectrum-font-size-100); + --system-action-button-text-to-visual: var(--spectrum-text-to-visual-100); + --system-action-button-size-m-text-to-visual: var( + --spectrum-text-to-visual-100 ); - --system-spectrum-button-quiet-border-color-default: transparent; - --system-spectrum-button-quiet-border-color-hover: transparent; - --system-spectrum-button-quiet-border-color-down: transparent; - --system-spectrum-button-quiet-border-color-focus: transparent; - --system-spectrum-button-quiet-background-color-disabled: transparent; - --system-spectrum-button-quiet-border-color-disabled: transparent; - --system-spectrum-button-selected-background-color-default: var( - --spectrum-neutral-subdued-background-color-default + --system-action-button-edge-to-hold-icon: var( + --spectrum-action-button-edge-to-hold-icon-medium ); - --system-spectrum-button-selected-background-color-hover: var( - --spectrum-neutral-subdued-background-color-hover + --system-action-button-size-m-edge-to-hold-icon: var( + --spectrum-action-button-edge-to-hold-icon-medium ); - --system-spectrum-button-selected-background-color-down: var( - --spectrum-neutral-subdued-background-color-down + --system-action-button-edge-to-visual-size: var( + --spectrum-component-edge-to-visual-100 ); - --system-spectrum-button-selected-background-color-focus: var( - --spectrum-neutral-subdued-background-color-key-focus + --system-action-button-size-m-edge-to-visual-size: var( + --spectrum-component-edge-to-visual-100 ); - --system-spectrum-button-selected-border-color-default: transparent; - --system-spectrum-button-selected-border-color-hover: transparent; - --system-spectrum-button-selected-border-color-down: transparent; - --system-spectrum-button-selected-border-color-focus: transparent; - --system-spectrum-button-selected-content-color-default: var( - --spectrum-white + --system-action-button-edge-to-visual-only-size: var( + --spectrum-component-edge-to-visual-only-100 ); - --system-spectrum-button-selected-content-color-hover: var( - --spectrum-white + --system-action-button-size-m-edge-to-visual-only-size: var( + --spectrum-component-edge-to-visual-only-100 ); - --system-spectrum-button-selected-content-color-down: var(--spectrum-white); - --system-spectrum-button-selected-content-color-focus: var( - --spectrum-white + --system-action-button-edge-to-text-size: var( + --spectrum-component-edge-to-text-100 ); - --system-spectrum-button-selected-background-color-disabled: var( - --spectrum-disabled-background-color + --system-action-button-size-m-edge-to-text-size: var( + --spectrum-component-edge-to-text-100 ); - --system-spectrum-button-selected-border-color-disabled: transparent; - --system-spectrum-button-selected-emphasized-background-color-default: var( - --spectrum-accent-background-color-default + --system-action-button-size-xs-min-width: calc( + var(--spectrum-component-edge-to-visual-only-50) * 2 + + var(--spectrum-workflow-icon-size-50) ); - --system-spectrum-button-selected-emphasized-background-color-hover: var( - --spectrum-accent-background-color-hover + --system-action-button-size-xs-height: var(--spectrum-component-height-50); + --system-action-button-size-xs-icon-size: var( + --spectrum-workflow-icon-size-50 ); - --system-spectrum-button-selected-emphasized-background-color-down: var( - --spectrum-accent-background-color-down + --system-action-button-size-xs-font-size: var(--spectrum-font-size-50); + --system-action-button-size-xs-text-to-visual: var( + --spectrum-text-to-visual-50 ); - --system-spectrum-button-selected-emphasized-background-color-focus: var( - --spectrum-accent-background-color-key-focus + --system-action-button-size-xs-edge-to-hold-icon: var( + --spectrum-action-button-edge-to-hold-icon-extra-small ); - --system-spectrum-button-staticblack-quiet-border-color-default: transparent; - --system-spectrum-button-staticwhite-quiet-border-color-default: transparent; - --system-spectrum-button-staticblack-quiet-border-color-hover: transparent; - --system-spectrum-button-staticwhite-quiet-border-color-hover: transparent; - --system-spectrum-button-staticblack-quiet-border-color-down: transparent; - --system-spectrum-button-staticwhite-quiet-border-color-down: transparent; - --system-spectrum-button-staticblack-quiet-border-color-focus: transparent; - --system-spectrum-button-staticwhite-quiet-border-color-focus: transparent; - --system-spectrum-button-staticblack-quiet-border-color-disabled: transparent; - --system-spectrum-button-staticwhite-quiet-border-color-disabled: transparent; - --system-spectrum-button-staticwhite-background-color-default: var( - --spectrum-transparent-white-800 - ); - --system-spectrum-button-staticwhite-background-color-hover: var( - --spectrum-transparent-white-900 + --system-action-button-size-xs-edge-to-visual-size: var( + --spectrum-component-edge-to-visual-50 ); - --system-spectrum-button-staticwhite-background-color-down: var( - --spectrum-transparent-white-900 + --system-action-button-size-xs-edge-to-visual-only-size: var( + --spectrum-component-edge-to-visual-only-50 ); - --system-spectrum-button-staticwhite-background-color-focus: var( - --spectrum-transparent-white-900 + --system-action-button-size-xs-edge-to-text-size: var( + --spectrum-component-edge-to-text-50 ); - --system-spectrum-button-staticwhite-border-color-default: transparent; - --system-spectrum-button-staticwhite-border-color-hover: transparent; - --system-spectrum-button-staticwhite-border-color-down: transparent; - --system-spectrum-button-staticwhite-border-color-focus: transparent; - --system-spectrum-button-staticwhite-content-color-default: var( - --spectrum-black + --system-action-button-size-s-min-width: calc( + var(--spectrum-component-edge-to-visual-only-75) * 2 + + var(--spectrum-workflow-icon-size-75) ); - --system-spectrum-button-staticwhite-content-color-hover: var( - --spectrum-black + --system-action-button-size-s-height: var(--spectrum-component-height-75); + --system-action-button-size-s-icon-size: var( + --spectrum-workflow-icon-size-75 ); - --system-spectrum-button-staticwhite-content-color-down: var( - --spectrum-black + --system-action-button-size-s-font-size: var(--spectrum-font-size-75); + --system-action-button-size-s-text-to-visual: var( + --spectrum-text-to-visual-75 ); - --system-spectrum-button-staticwhite-content-color-focus: var( - --spectrum-black + --system-action-button-size-s-edge-to-hold-icon: var( + --spectrum-action-button-edge-to-hold-icon-small ); - --system-spectrum-button-staticwhite-focus-indicator-color: var( - --spectrum-static-white-focus-indicator-color + --system-action-button-size-s-edge-to-visual-size: var( + --spectrum-component-edge-to-visual-75 ); - --system-spectrum-button-staticwhite-background-color-disabled: var( - --spectrum-disabled-static-white-background-color + --system-action-button-size-s-edge-to-visual-only-size: var( + --spectrum-component-edge-to-visual-only-75 ); - --system-spectrum-button-staticwhite-border-color-disabled: transparent; - --system-spectrum-button-staticwhite-content-color-disabled: var( - --spectrum-disabled-static-white-content-color + --system-action-button-size-s-edge-to-text-size: var( + --spectrum-component-edge-to-text-75 ); - --system-spectrum-button-staticwhite-outline-background-color-default: transparent; - --system-spectrum-button-staticwhite-outline-background-color-hover: var( - --spectrum-transparent-white-300 + --system-action-button-size-l-min-width: calc( + var(--spectrum-component-edge-to-visual-only-200) * 2 + + var(--spectrum-workflow-icon-size-200) ); - --system-spectrum-button-staticwhite-outline-background-color-down: var( - --spectrum-transparent-white-400 + --system-action-button-size-l-height: var(--spectrum-component-height-200); + --system-action-button-size-l-icon-size: var( + --spectrum-workflow-icon-size-200 ); - --system-spectrum-button-staticwhite-outline-background-color-focus: var( - --spectrum-transparent-white-300 + --system-action-button-size-l-font-size: var(--spectrum-font-size-200); + --system-action-button-size-l-text-to-visual: var( + --spectrum-text-to-visual-200 ); - --system-spectrum-button-staticwhite-outline-border-color-default: var( - --spectrum-transparent-white-800 + --system-action-button-size-l-edge-to-hold-icon: var( + --spectrum-action-button-edge-to-hold-icon-large ); - --system-spectrum-button-staticwhite-outline-border-color-hover: var( - --spectrum-transparent-white-900 + --system-action-button-size-l-edge-to-visual-size: var( + --spectrum-component-edge-to-visual-200 ); - --system-spectrum-button-staticwhite-outline-border-color-down: var( - --spectrum-transparent-white-900 + --system-action-button-size-l-edge-to-visual-only-size: var( + --spectrum-component-edge-to-visual-only-200 ); - --system-spectrum-button-staticwhite-outline-border-color-focus: var( + --system-action-button-size-l-edge-to-text-size: var( + --spectrum-component-edge-to-text-200 + ); + --system-action-button-size-xl-min-width: calc( + var(--spectrum-component-edge-to-visual-only-300) * 2 + + var(--spectrum-workflow-icon-size-300) + ); + --system-action-button-size-xl-height: var(--spectrum-component-height-300); + --system-action-button-size-xl-icon-size: var( + --spectrum-workflow-icon-size-300 + ); + --system-action-button-size-xl-font-size: var(--spectrum-font-size-300); + --system-action-button-size-xl-text-to-visual: var( + --spectrum-text-to-visual-300 + ); + --system-action-button-size-xl-edge-to-hold-icon: var( + --spectrum-action-button-edge-to-hold-icon-extra-large + ); + --system-action-button-size-xl-edge-to-visual-size: var( + --spectrum-component-edge-to-visual-300 + ); + --system-action-button-size-xl-edge-to-visual-only-size: var( + --spectrum-component-edge-to-visual-only-300 + ); + --system-action-button-size-xl-edge-to-text-size: var( + --spectrum-component-edge-to-text-300 + ); +} + +:host, +:root { + --system-action-group-gap-size-compact: 0; + --system-action-group-horizontal-spacing-compact: -1px; + --system-action-group-vertical-spacing-compact: -1px; + --system-action-group-button-spacing-reset: 0; + --system-action-group-border-radius-reset: 0; + --system-action-group-border-radius: var(--spectrum-corner-radius-100); + --system-action-group-horizontal-spacing-regular: var( + --spectrum-spacing-100 + ); + --system-action-group-size-m-horizontal-spacing-regular: var( + --spectrum-spacing-100 + ); + --system-action-group-size-l-horizontal-spacing-regular: var( + --spectrum-spacing-100 + ); + --system-action-group-size-xl-horizontal-spacing-regular: var( + --spectrum-spacing-100 + ); + --system-action-group-vertical-spacing-regular: var(--spectrum-spacing-100); + --system-action-group-size-m-vertical-spacing-regular: var( + --spectrum-spacing-100 + ); + --system-action-group-size-l-vertical-spacing-regular: var( + --spectrum-spacing-100 + ); + --system-action-group-size-xl-vertical-spacing-regular: var( + --spectrum-spacing-100 + ); + --system-action-group-size-xs-horizontal-spacing-regular: var( + --spectrum-spacing-75 + ); + --system-action-group-size-s-horizontal-spacing-regular: var( + --spectrum-spacing-75 + ); + --system-action-group-size-xs-vertical-spacing-regular: var( + --spectrum-spacing-75 + ); + --system-action-group-size-s-vertical-spacing-regular: var( + --spectrum-spacing-75 + ); +} + +:host, +:root { + --system-alert-banner-neutral-background: var( + --spectrum-neutral-subdued-background-color-default + ); + --system-alert-banner-min-height: var( + --spectrum-alert-banner-minimum-height + ); + --system-alert-banner-max-inline-size: var(--spectrum-alert-banner-width); + --system-alert-banner-size: auto; + --system-alert-banner-font-size: var(--spectrum-font-size-100); + --system-alert-banner-icon-size: var(--spectrum-workflow-icon-size-100); + --system-alert-banner-icon-to-text: var(--spectrum-text-to-visual-300); + --system-alert-banner-start-edge: var(--spectrum-spacing-300); + --system-alert-banner-text-to-button-horizontal: var( + --spectrum-spacing-300 + ); + --system-alert-banner-text-to-divider: var(--spectrum-spacing-300); + --system-alert-banner-top-icon: var( + --spectrum-alert-banner-top-to-workflow-icon + ); + --system-alert-banner-top-text: var(--spectrum-alert-banner-top-to-text); + --system-alert-banner-bottom-text: var( + --spectrum-alert-banner-bottom-to-text + ); + --system-alert-banner-informative-background: var( + --spectrum-informative-background-color-default + ); + --system-alert-banner-negative-background: var( + --spectrum-negative-background-color-default + ); + --system-alert-banner-font-color: var(--spectrum-white); +} + +:host, +:root { + --system-alert-dialog-min-width: var(--spectrum-alert-dialog-minimum-width); + --system-alert-dialog-max-width: var(--spectrum-alert-dialog-maximum-width); + --system-alert-dialog-icon-size: var(--spectrum-workflow-icon-size-100); + --system-alert-dialog-warning-icon-color: var( + --spectrum-notice-visual-color + ); + --system-alert-dialog-error-icon-color: var( + --spectrum-negative-visual-color + ); + --system-alert-dialog-title-font-family: var( + --spectrum-sans-font-family-stack + ); + --system-alert-dialog-title-font-weight: var( + --spectrum-heading-sans-serif-font-weight + ); + --system-alert-dialog-title-font-style: var( + --spectrum-heading-sans-serif-font-style + ); + --system-alert-dialog-title-font-size: var( + --spectrum-alert-dialog-title-size + ); + --system-alert-dialog-title-line-height: var( + --spectrum-heading-line-height + ); + --system-alert-dialog-title-color: var(--spectrum-heading-color); + --system-alert-dialog-body-font-family: var( + --spectrum-sans-font-family-stack + ); + --system-alert-dialog-body-font-weight: var( + --spectrum-body-sans-serif-font-weight + ); + --system-alert-dialog-body-font-style: var( + --spectrum-body-sans-serif-font-style + ); + --system-alert-dialog-body-font-size: var( + --spectrum-alert-dialog-description-size + ); + --system-alert-dialog-body-line-height: var(--spectrum-line-height-100); + --system-alert-dialog-body-color: var(--spectrum-body-color); + --system-alert-dialog-title-to-divider: var(--spectrum-spacing-200); + --system-alert-dialog-divider-to-description: var(--spectrum-spacing-300); + --system-alert-dialog-title-to-icon: var(--spectrum-spacing-300); +} + +:host, +:root { + --system-asset-transition-duration: var(--spectrum-animation-duration-100); + --system-asset-folder-background-color: var(--spectrum-gray-200); + --system-asset-file-background-color: var(--spectrum-gray-25); + --system-asset-icon-outline-color: var(--spectrum-gray-500); +} + +:host, +:root { + --system-avatar-color-opacity: 1; + --system-avatar-inline-size: var(--spectrum-avatar-size-100); + --system-avatar-block-size: var(--spectrum-avatar-size-100); + --system-avatar-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-avatar-focus-indicator-gap: var(--spectrum-focus-indicator-gap); + --system-avatar-focus-indicator-color: var( + --spectrum-focus-indicator-color + ); + --system-avatar-color-opacity-disabled: var( + --spectrum-avatar-opacity-disabled + ); + --system-avatar-size-50-inline-size: var(--spectrum-avatar-size-50); + --system-avatar-size-50-block-size: var(--spectrum-avatar-size-50); + --system-avatar-size-75-inline-size: var(--spectrum-avatar-size-75); + --system-avatar-size-75-block-size: var(--spectrum-avatar-size-75); + --system-avatar-size-100-inline-size: var(--spectrum-avatar-size-100); + --system-avatar-size-100-block-size: var(--spectrum-avatar-size-100); + --system-avatar-size-200-inline-size: var(--spectrum-avatar-size-200); + --system-avatar-size-200-block-size: var(--spectrum-avatar-size-200); + --system-avatar-size-300-inline-size: var(--spectrum-avatar-size-300); + --system-avatar-size-300-block-size: var(--spectrum-avatar-size-300); + --system-avatar-size-400-inline-size: var(--spectrum-avatar-size-400); + --system-avatar-size-400-block-size: var(--spectrum-avatar-size-400); + --system-avatar-size-500-inline-size: var(--spectrum-avatar-size-500); + --system-avatar-size-500-block-size: var(--spectrum-avatar-size-500); + --system-avatar-size-600-inline-size: var(--spectrum-avatar-size-600); + --system-avatar-size-600-block-size: var(--spectrum-avatar-size-600); + --system-avatar-size-700-inline-size: var(--spectrum-avatar-size-700); + --system-avatar-size-700-block-size: var(--spectrum-avatar-size-700); +} + +:host, +:root { + --system-badge-corner-radius: var(--spectrum-corner-radius-100); + --system-badge-line-height: var(--spectrum-line-height-100); + --system-badge-line-height-cjk: var(--spectrum-cjk-line-height-100); + --system-badge-label-icon-color: var(--spectrum-white); + --system-badge-background-color-default: var( + --spectrum-neutral-subdued-background-color-default + ); + --system-badge-background-color-accent: var( + --spectrum-accent-background-color-default + ); + --system-badge-background-color-informative: var( + --spectrum-informative-background-color-default + ); + --system-badge-background-color-negative: var( + --spectrum-negative-background-color-default + ); + --system-badge-background-color-positive: var( + --spectrum-positive-background-color-default + ); + --system-badge-background-color-notice: var( + --spectrum-notice-background-color-default + ); + --system-badge-background-color-gray: var( + --spectrum-gray-background-color-default + ); + --system-badge-background-color-red: var( + --spectrum-red-background-color-default + ); + --system-badge-background-color-orange: var( + --spectrum-orange-background-color-default + ); + --system-badge-background-color-yellow: var( + --spectrum-yellow-background-color-default + ); + --system-badge-background-color-chartreuse: var( + --spectrum-chartreuse-background-color-default + ); + --system-badge-background-color-celery: var( + --spectrum-celery-background-color-default + ); + --system-badge-background-color-green: var( + --spectrum-green-background-color-default + ); + --system-badge-background-color-seafoam: var( + --spectrum-seafoam-background-color-default + ); + --system-badge-background-color-cyan: var( + --spectrum-cyan-background-color-default + ); + --system-badge-background-color-blue: var( + --spectrum-blue-background-color-default + ); + --system-badge-background-color-indigo: var( + --spectrum-indigo-background-color-default + ); + --system-badge-background-color-purple: var( + --spectrum-purple-background-color-default + ); + --system-badge-background-color-fuchsia: var( + --spectrum-fuchsia-background-color-default + ); + --system-badge-background-color-magenta: var( + --spectrum-magenta-background-color-default + ); + --system-badge-height: var(--spectrum-component-height-100); + --system-badge-font-size: var(--spectrum-font-size-100); + --system-badge-label-spacing-vertical-top: var( + --spectrum-component-top-to-text-100 + ); + --system-badge-label-spacing-vertical-bottom: var( + --spectrum-component-bottom-to-text-100 + ); + --system-badge-label-spacing-horizontal: var( + --spectrum-component-edge-to-text-100 + ); + --system-badge-workflow-icon-size: var(--spectrum-workflow-icon-size-100); + --system-badge-icon-text-spacing: var(--spectrum-text-to-visual-100); + --system-badge-icon-spacing-horizontal: var( + --spectrum-component-edge-to-visual-100 + ); + --system-badge-icon-spacing-vertical-top: var( + --spectrum-component-top-to-workflow-icon-100 + ); + --system-badge-icon-only-spacing-horizontal: var( + --spectrum-component-edge-to-visual-only-100 + ); + --system-badge-orange-label-icon-color: var(--spectrum-black); + --system-badge-yellow-label-icon-color: var(--spectrum-black); + --system-badge-chartreuse-label-icon-color: var(--spectrum-black); + --system-badge-celery-label-icon-color: var(--spectrum-black); + --system-badge-gray-label-icon-color: var( + --spectrum-badge-label-icon-color-primary + ); + --system-badge-red-label-icon-color: var( + --spectrum-badge-label-icon-color-primary + ); + --system-badge-green-label-icon-color: var( + --spectrum-badge-label-icon-color-primary + ); + --system-badge-seafoam-label-icon-color: var( + --spectrum-badge-label-icon-color-primary + ); + --system-badge-cyan-label-icon-color: var( + --spectrum-badge-label-icon-color-primary + ); + --system-badge-blue-label-icon-color: var( + --spectrum-badge-label-icon-color-primary + ); + --system-badge-indigo-label-icon-color: var( + --spectrum-badge-label-icon-color-primary + ); + --system-badge-purple-label-icon-color: var( + --spectrum-badge-label-icon-color-primary + ); + --system-badge-fuchsia-label-icon-color: var( + --spectrum-badge-label-icon-color-primary + ); + --system-badge-magenta-label-icon-color: var( + --spectrum-badge-label-icon-color-primary + ); + --system-badge-size-s-height: var(--spectrum-component-height-75); + --system-badge-size-s-font-size: var(--spectrum-font-size-75); + --system-badge-size-s-label-spacing-vertical-top: var( + --spectrum-component-top-to-text-75 + ); + --system-badge-size-s-label-spacing-vertical-bottom: var( + --spectrum-component-bottom-to-text-75 + ); + --system-badge-size-s-label-spacing-horizontal: var( + --spectrum-component-edge-to-text-75 + ); + --system-badge-size-s-workflow-icon-size: var( + --spectrum-workflow-icon-size-75 + ); + --system-badge-size-s-icon-text-spacing: var(--spectrum-text-to-visual-75); + --system-badge-size-s-icon-spacing-horizontal: var( + --spectrum-component-edge-to-visual-75 + ); + --system-badge-size-s-icon-spacing-vertical-top: var( + --spectrum-component-top-to-workflow-icon-75 + ); + --system-badge-size-s-icon-only-spacing-horizontal: var( + --spectrum-component-edge-to-visual-only-75 + ); + --system-badge-size-l-height: var(--spectrum-component-height-100); + --system-badge-size-l-font-size: var(--spectrum-font-size-200); + --system-badge-size-l-label-spacing-vertical-top: var( + --spectrum-component-top-to-text-200 + ); + --system-badge-size-l-label-spacing-vertical-bottom: var( + --spectrum-component-bottom-to-text-200 + ); + --system-badge-size-l-label-spacing-horizontal: var( + --spectrum-component-edge-to-text-200 + ); + --system-badge-size-l-workflow-icon-size: var( + --spectrum-workflow-icon-size-200 + ); + --system-badge-size-l-icon-text-spacing: var(--spectrum-text-to-visual-200); + --system-badge-size-l-icon-spacing-horizontal: var( + --spectrum-component-edge-to-visual-200 + ); + --system-badge-size-l-icon-spacing-vertical-top: var( + --spectrum-component-top-to-workflow-icon-200 + ); + --system-badge-size-l-icon-only-spacing-horizontal: var( + --spectrum-component-edge-to-visual-only-200 + ); + --system-badge-size-xl-height: var(--spectrum-component-height-100); + --system-badge-size-xl-font-size: var(--spectrum-font-size-300); + --system-badge-size-xl-label-spacing-vertical-top: var( + --spectrum-component-top-to-text-300 + ); + --system-badge-size-xl-label-spacing-vertical-bottom: var( + --spectrum-component-bottom-to-text-300 + ); + --system-badge-size-xl-label-spacing-horizontal: var( + --spectrum-component-edge-to-text-300 + ); + --system-badge-size-xl-workflow-icon-size: var( + --spectrum-workflow-icon-size-300 + ); + --system-badge-size-xl-icon-text-spacing: var( + --spectrum-text-to-visual-300 + ); + --system-badge-size-xl-icon-spacing-horizontal: var( + --spectrum-component-edge-to-visual-300 + ); + --system-badge-size-xl-icon-spacing-vertical-top: var( + --spectrum-component-top-to-workflow-icon-300 + ); + --system-badge-size-xl-icon-only-spacing-horizontal: var( + --spectrum-component-edge-to-visual-only-300 + ); +} + +:host, +:root { + --system-button-animation-duration: var(--spectrum-animation-duration-100); + --system-button-border-width: var(--spectrum-border-width-200); + --system-button-line-height: 1.2; + --system-button-focus-ring-gap: var(--spectrum-focus-indicator-gap); + --system-button-focus-ring-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-button-focus-indicator-color: var( + --spectrum-focus-indicator-color + ); + --system-button-background-color-default: var(--spectrum-gray-50); + --system-button-background-color-hover: var(--spectrum-gray-100); + --system-button-background-color-down: var(--spectrum-gray-200); + --system-button-background-color-focus: var(--spectrum-gray-100); + --system-button-border-color-default: var(--spectrum-gray-400); + --system-button-border-color-hover: var(--spectrum-gray-500); + --system-button-border-color-down: var(--spectrum-gray-600); + --system-button-border-color-focus: var(--spectrum-gray-500); + --system-button-content-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-button-content-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-button-content-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-button-content-color-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-button-background-color-disabled: transparent; + --system-button-border-color-disabled: var( + --spectrum-disabled-border-color + ); + --system-button-content-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-button-accent-background-color-default: var( + --spectrum-accent-background-color-default + ); + --system-button-accent-background-color-hover: var( + --spectrum-accent-background-color-hover + ); + --system-button-accent-background-color-down: var( + --spectrum-accent-background-color-down + ); + --system-button-accent-background-color-focus: var( + --spectrum-accent-background-color-key-focus + ); + --system-button-accent-border-color-default: transparent; + --system-button-accent-border-color-hover: transparent; + --system-button-accent-border-color-down: transparent; + --system-button-accent-border-color-focus: transparent; + --system-button-accent-content-color-default: var(--spectrum-white); + --system-button-accent-content-color-hover: var(--spectrum-white); + --system-button-accent-content-color-down: var(--spectrum-white); + --system-button-accent-content-color-focus: var(--spectrum-white); + --system-button-accent-background-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-button-accent-border-color-disabled: transparent; + --system-button-accent-content-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-button-accent-outline-background-color-default: transparent; + --system-button-accent-outline-background-color-hover: var( + --spectrum-accent-color-200 + ); + --system-button-accent-outline-background-color-down: var( + --spectrum-accent-color-300 + ); + --system-button-accent-outline-background-color-focus: var( + --spectrum-accent-color-200 + ); + --system-button-accent-outline-border-color-default: var( + --spectrum-accent-color-900 + ); + --system-button-accent-outline-border-color-hover: var( + --spectrum-accent-color-1000 + ); + --system-button-accent-outline-border-color-down: var( + --spectrum-accent-color-1100 + ); + --system-button-accent-outline-border-color-focus: var( + --spectrum-accent-color-1000 + ); + --system-button-accent-outline-content-color-default: var( + --spectrum-accent-content-color-default + ); + --system-button-accent-outline-content-color-hover: var( + --spectrum-accent-content-color-hover + ); + --system-button-accent-outline-content-color-down: var( + --spectrum-accent-content-color-down + ); + --system-button-accent-outline-content-color-focus: var( + --spectrum-accent-content-color-key-focus + ); + --system-button-accent-outline-background-color-disabled: transparent; + --system-button-accent-outline-border-color-disabled: var( + --spectrum-disabled-border-color + ); + --system-button-accent-outline-content-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-button-negative-background-color-default: var( + --spectrum-negative-background-color-default + ); + --system-button-negative-background-color-hover: var( + --spectrum-negative-background-color-hover + ); + --system-button-negative-background-color-down: var( + --spectrum-negative-background-color-down + ); + --system-button-negative-background-color-focus: var( + --spectrum-negative-background-color-key-focus + ); + --system-button-negative-border-color-default: transparent; + --system-button-negative-border-color-hover: transparent; + --system-button-negative-border-color-down: transparent; + --system-button-negative-border-color-focus: transparent; + --system-button-negative-content-color-default: var(--spectrum-white); + --system-button-negative-content-color-hover: var(--spectrum-white); + --system-button-negative-content-color-down: var(--spectrum-white); + --system-button-negative-content-color-focus: var(--spectrum-white); + --system-button-negative-background-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-button-negative-border-color-disabled: transparent; + --system-button-negative-content-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-button-negative-outline-background-color-default: transparent; + --system-button-negative-outline-background-color-hover: var( + --spectrum-negative-color-200 + ); + --system-button-negative-outline-background-color-down: var( + --spectrum-negative-color-300 + ); + --system-button-negative-outline-background-color-focus: var( + --spectrum-negative-color-200 + ); + --system-button-negative-outline-border-color-default: var( + --spectrum-negative-color-900 + ); + --system-button-negative-outline-border-color-hover: var( + --spectrum-negative-color-1000 + ); + --system-button-negative-outline-border-color-down: var( + --spectrum-negative-color-1100 + ); + --system-button-negative-outline-border-color-focus: var( + --spectrum-negative-color-1000 + ); + --system-button-negative-outline-content-color-default: var( + --spectrum-negative-content-color-default + ); + --system-button-negative-outline-content-color-hover: var( + --spectrum-negative-content-color-hover + ); + --system-button-negative-outline-content-color-down: var( + --spectrum-negative-content-color-down + ); + --system-button-negative-outline-content-color-focus: var( + --spectrum-negative-content-color-key-focus + ); + --system-button-negative-outline-background-color-disabled: transparent; + --system-button-negative-outline-border-color-disabled: var( + --spectrum-disabled-border-color + ); + --system-button-negative-outline-content-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-button-primary-background-color-default: var( + --spectrum-neutral-background-color-default + ); + --system-button-primary-background-color-hover: var( + --spectrum-neutral-background-color-hover + ); + --system-button-primary-background-color-down: var( + --spectrum-neutral-background-color-down + ); + --system-button-primary-background-color-focus: var( + --spectrum-neutral-background-color-key-focus + ); + --system-button-primary-border-color-default: transparent; + --system-button-primary-border-color-hover: transparent; + --system-button-primary-border-color-down: transparent; + --system-button-primary-border-color-focus: transparent; + --system-button-primary-content-color-default: var(--spectrum-gray-25); + --system-button-primary-content-color-hover: var(--spectrum-gray-25); + --system-button-primary-content-color-down: var(--spectrum-gray-25); + --system-button-primary-content-color-focus: var(--spectrum-gray-25); + --system-button-primary-background-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-button-primary-border-color-disabled: transparent; + --system-button-primary-content-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-button-primary-outline-background-color-default: transparent; + --system-button-primary-outline-background-color-hover: var( + --spectrum-gray-200 + ); + --system-button-primary-outline-background-color-down: var( + --spectrum-gray-400 + ); + --system-button-primary-outline-background-color-focus: var( + --spectrum-gray-200 + ); + --system-button-primary-outline-border-color-default: var( + --spectrum-gray-800 + ); + --system-button-primary-outline-border-color-hover: var( + --spectrum-gray-900 + ); + --system-button-primary-outline-border-color-down: var(--spectrum-gray-900); + --system-button-primary-outline-border-color-focus: var( + --spectrum-gray-900 + ); + --system-button-primary-outline-content-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-button-primary-outline-content-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-button-primary-outline-content-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-button-primary-outline-content-color-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-button-primary-outline-background-color-disabled: transparent; + --system-button-primary-outline-border-color-disabled: var( + --spectrum-disabled-border-color + ); + --system-button-primary-outline-content-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-button-secondary-background-color-default: var( + --spectrum-gray-100 + ); + --system-button-secondary-background-color-hover: var(--spectrum-gray-200); + --system-button-secondary-background-color-down: var(--spectrum-gray-400); + --system-button-secondary-background-color-focus: var(--spectrum-gray-200); + --system-button-secondary-border-color-default: transparent; + --system-button-secondary-border-color-hover: transparent; + --system-button-secondary-border-color-down: transparent; + --system-button-secondary-border-color-focus: transparent; + --system-button-secondary-content-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-button-secondary-content-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-button-secondary-content-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-button-secondary-content-color-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-button-secondary-background-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-button-secondary-border-color-disabled: transparent; + --system-button-secondary-content-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-button-secondary-outline-background-color-default: transparent; + --system-button-secondary-outline-background-color-hover: var( + --spectrum-gray-200 + ); + --system-button-secondary-outline-background-color-down: var( + --spectrum-gray-400 + ); + --system-button-secondary-outline-background-color-focus: var( + --spectrum-gray-200 + ); + --system-button-secondary-outline-border-color-default: var( + --spectrum-gray-200 + ); + --system-button-secondary-outline-border-color-hover: var( + --spectrum-gray-400 + ); + --system-button-secondary-outline-border-color-down: var( + --spectrum-gray-500 + ); + --system-button-secondary-outline-border-color-focus: var( + --spectrum-gray-400 + ); + --system-button-secondary-outline-content-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-button-secondary-outline-content-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-button-secondary-outline-content-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-button-secondary-outline-content-color-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-button-secondary-outline-background-color-disabled: transparent; + --system-button-secondary-outline-border-color-disabled: var( + --spectrum-disabled-border-color + ); + --system-button-secondary-outline-content-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-button-quiet-background-color-default: transparent; + --system-button-quiet-background-color-hover: var(--spectrum-gray-100); + --system-button-quiet-background-color-down: var(--spectrum-gray-200); + --system-button-quiet-background-color-focus: var(--spectrum-gray-100); + --system-button-quiet-border-color-default: transparent; + --system-button-quiet-border-color-hover: transparent; + --system-button-quiet-border-color-down: transparent; + --system-button-quiet-border-color-focus: transparent; + --system-button-quiet-background-color-disabled: transparent; + --system-button-quiet-border-color-disabled: transparent; + --system-button-selected-background-color-default: var( + --spectrum-neutral-subdued-background-color-default + ); + --system-button-selected-background-color-hover: var( + --spectrum-neutral-subdued-background-color-hover + ); + --system-button-selected-background-color-down: var( + --spectrum-neutral-subdued-background-color-down + ); + --system-button-selected-background-color-focus: var( + --spectrum-neutral-subdued-background-color-key-focus + ); + --system-button-selected-border-color-default: transparent; + --system-button-selected-border-color-hover: transparent; + --system-button-selected-border-color-down: transparent; + --system-button-selected-border-color-focus: transparent; + --system-button-selected-content-color-default: var(--spectrum-white); + --system-button-selected-content-color-hover: var(--spectrum-white); + --system-button-selected-content-color-down: var(--spectrum-white); + --system-button-selected-content-color-focus: var(--spectrum-white); + --system-button-selected-background-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-button-selected-border-color-disabled: transparent; + --system-button-selected-emphasized-background-color-default: var( + --spectrum-accent-background-color-default + ); + --system-button-selected-emphasized-background-color-hover: var( + --spectrum-accent-background-color-hover + ); + --system-button-selected-emphasized-background-color-down: var( + --spectrum-accent-background-color-down + ); + --system-button-selected-emphasized-background-color-focus: var( + --spectrum-accent-background-color-key-focus + ); + --system-button-static-black-quiet-border-color-default: transparent; + --system-button-static-white-quiet-border-color-default: transparent; + --system-button-static-black-quiet-border-color-hover: transparent; + --system-button-static-white-quiet-border-color-hover: transparent; + --system-button-static-black-quiet-border-color-down: transparent; + --system-button-static-white-quiet-border-color-down: transparent; + --system-button-static-black-quiet-border-color-focus: transparent; + --system-button-static-white-quiet-border-color-focus: transparent; + --system-button-static-black-quiet-border-color-disabled: transparent; + --system-button-static-white-quiet-border-color-disabled: transparent; + --system-button-static-white-background-color-default: var( + --spectrum-transparent-white-900 + ); + --system-button-static-white-background-color-hover: var( + --spectrum-transparent-white-1000 + ); + --system-button-static-white-background-color-down: var( + --spectrum-transparent-white-1000 + ); + --system-button-static-white-background-color-focus: var( + --spectrum-transparent-white-1000 + ); + --system-button-static-white-border-color-default: transparent; + --system-button-static-white-border-color-hover: transparent; + --system-button-static-white-border-color-down: transparent; + --system-button-static-white-border-color-focus: transparent; + --system-button-static-white-content-color-default: var(--spectrum-black); + --system-button-static-white-content-color-hover: var(--spectrum-black); + --system-button-static-white-content-color-down: var(--spectrum-black); + --system-button-static-white-content-color-focus: var(--spectrum-black); + --system-button-static-white-focus-indicator-color: var( + --spectrum-static-white-focus-indicator-color + ); + --system-button-static-white-background-color-disabled: var( + --spectrum-disabled-static-white-background-color + ); + --system-button-static-white-border-color-disabled: transparent; + --system-button-static-white-content-color-disabled: var( + --spectrum-disabled-static-white-content-color + ); + --system-button-static-white-outline-background-color-default: transparent; + --system-button-static-white-outline-background-color-hover: var( + --spectrum-transparent-white-400 + ); + --system-button-static-white-outline-background-color-down: var( + --spectrum-transparent-white-500 + ); + --system-button-static-white-outline-background-color-focus: var( + --spectrum-transparent-white-400 + ); + --system-button-static-white-outline-border-color-default: var( + --spectrum-transparent-white-900 + ); + --system-button-static-white-outline-border-color-hover: var( + --spectrum-transparent-white-1000 + ); + --system-button-static-white-outline-border-color-down: var( + --spectrum-transparent-white-1000 + ); + --system-button-static-white-outline-border-color-focus: var( + --spectrum-transparent-white-1000 + ); + --system-button-static-white-outline-content-color-default: var( + --spectrum-white + ); + --system-button-static-white-outline-content-color-hover: var( + --spectrum-white + ); + --system-button-static-white-outline-content-color-down: var( + --spectrum-white + ); + --system-button-static-white-outline-content-color-focus: var( + --spectrum-white + ); + --system-button-static-white-outline-focus-indicator-color: var( + --spectrum-static-white-focus-indicator-color + ); + --system-button-static-white-outline-background-color-disabled: transparent; + --system-button-static-white-outline-border-color-disabled: var( + --spectrum-disabled-static-white-border-color + ); + --system-button-static-white-outline-content-color-disabled: var( + --spectrum-disabled-static-white-content-color + ); + --system-button-static-white-selected-background-color-default: var( + --spectrum-transparent-white-900 + ); + --system-button-static-white-selected-background-color-hover: var( + --spectrum-transparent-white-1000 + ); + --system-button-static-white-selected-background-color-down: var( + --spectrum-transparent-white-1000 + ); + --system-button-static-white-selected-background-color-focus: var( + --spectrum-transparent-white-1000 + ); + --system-button-static-white-selected-static-white-content-color-default: var( + --spectrum-black + ); + --system-button-static-white-selected-static-white-content-color-hover: var( + --spectrum-black + ); + --system-button-static-white-selected-static-white-content-color-down: var( + --spectrum-black + ); + --system-button-static-white-selected-static-white-content-color-focus: var( + --spectrum-black + ); + --system-button-static-white-selected-background-color-disabled: var( + --spectrum-disabled-static-white-background-color + ); + --system-button-static-white-selected-border-color-disabled: transparent; + --system-button-static-white-secondary-background-color-default: var( + --spectrum-transparent-white-300 + ); + --system-button-static-white-secondary-background-color-hover: var( + --spectrum-transparent-white-400 + ); + --system-button-static-white-secondary-background-color-down: var( + --spectrum-transparent-white-500 + ); + --system-button-static-white-secondary-background-color-focus: var( + --spectrum-transparent-white-400 + ); + --system-button-static-white-secondary-border-color-default: transparent; + --system-button-static-white-secondary-border-color-hover: transparent; + --system-button-static-white-secondary-border-color-down: transparent; + --system-button-static-white-secondary-border-color-focus: transparent; + --system-button-static-white-secondary-content-color-default: var( + --spectrum-white + ); + --system-button-static-white-secondary-content-color-hover: var( + --spectrum-white + ); + --system-button-static-white-secondary-content-color-down: var( + --spectrum-white + ); + --system-button-static-white-secondary-content-color-focus: var( + --spectrum-white + ); + --system-button-static-white-secondary-focus-indicator-color: var( + --spectrum-static-white-focus-indicator-color + ); + --system-button-static-white-secondary-background-color-disabled: var( + --spectrum-disabled-static-white-background-color + ); + --system-button-static-white-secondary-border-color-disabled: transparent; + --system-button-static-white-secondary-content-color-disabled: var( + --spectrum-disabled-static-white-content-color + ); + --system-button-static-white-secondary-outline-background-color-default: transparent; + --system-button-static-white-secondary-outline-background-color-hover: var( + --spectrum-transparent-white-400 + ); + --system-button-static-white-secondary-outline-background-color-down: var( + --spectrum-transparent-white-500 + ); + --system-button-static-white-secondary-outline-background-color-focus: var( + --spectrum-transparent-white-400 + ); + --system-button-static-white-secondary-outline-border-color-default: var( + --spectrum-transparent-white-400 + ); + --system-button-static-white-secondary-outline-border-color-hover: var( + --spectrum-transparent-white-500 + ); + --system-button-static-white-secondary-outline-border-color-down: var( + --spectrum-transparent-white-600 + ); + --system-button-static-white-secondary-outline-border-color-focus: var( + --spectrum-transparent-white-500 + ); + --system-button-static-white-secondary-outline-content-color-default: var( + --spectrum-white + ); + --system-button-static-white-secondary-outline-content-color-hover: var( + --spectrum-white + ); + --system-button-static-white-secondary-outline-content-color-down: var( + --spectrum-white + ); + --system-button-static-white-secondary-outline-content-color-focus: var( + --spectrum-white + ); + --system-button-static-white-secondary-outline-focus-indicator-color: var( + --spectrum-static-white-focus-indicator-color + ); + --system-button-static-white-secondary-outline-background-color-disabled: transparent; + --system-button-static-white-secondary-outline-border-color-disabled: var( + --spectrum-disabled-static-white-border-color + ); + --system-button-static-white-secondary-outline-content-color-disabled: var( + --spectrum-disabled-static-white-content-color + ); + --system-button-static-black-background-color-default: var( + --spectrum-transparent-black-900 + ); + --system-button-static-black-background-color-hover: var( + --spectrum-transparent-black-1000 + ); + --system-button-static-black-background-color-down: var( + --spectrum-transparent-black-1000 + ); + --system-button-static-black-background-color-focus: var( + --spectrum-transparent-black-1000 + ); + --system-button-static-black-border-color-default: transparent; + --system-button-static-black-border-color-hover: transparent; + --system-button-static-black-border-color-down: transparent; + --system-button-static-black-border-color-focus: transparent; + --system-button-static-black-content-color-default: var(--spectrum-white); + --system-button-static-black-content-color-hover: var(--spectrum-white); + --system-button-static-black-content-color-down: var(--spectrum-white); + --system-button-static-black-content-color-focus: var(--spectrum-white); + --system-button-static-black-focus-indicator-color: var( + --spectrum-static-black-focus-indicator-color + ); + --system-button-static-black-background-color-disabled: var( + --spectrum-disabled-static-black-background-color + ); + --system-button-static-black-border-color-disabled: transparent; + --system-button-static-black-content-color-disabled: var( + --spectrum-disabled-static-black-content-color + ); + --system-button-static-black-outline-background-color-default: transparent; + --system-button-static-black-outline-background-color-hover: var( + --spectrum-transparent-black-400 + ); + --system-button-static-black-outline-background-color-down: var( + --spectrum-transparent-black-500 + ); + --system-button-static-black-outline-background-color-focus: var( + --spectrum-transparent-black-400 + ); + --system-button-static-black-outline-border-color-default: var( + --spectrum-transparent-black-500 + ); + --system-button-static-black-outline-border-color-hover: var( + --spectrum-transparent-black-600 + ); + --system-button-static-black-outline-border-color-down: var( + --spectrum-transparent-black-700 + ); + --system-button-static-black-outline-border-color-focus: var( + --spectrum-transparent-black-600 + ); + --system-button-static-black-outline-content-color-default: var( + --spectrum-black + ); + --system-button-static-black-outline-content-color-hover: var( + --spectrum-black + ); + --system-button-static-black-outline-content-color-down: var( + --spectrum-black + ); + --system-button-static-black-outline-content-color-focus: var( + --spectrum-black + ); + --system-button-static-black-outline-focus-indicator-color: var( + --spectrum-static-black-focus-indicator-color + ); + --system-button-static-black-outline-background-color-disabled: transparent; + --system-button-static-black-outline-border-color-disabled: var( + --spectrum-disabled-static-black-border-color + ); + --system-button-static-black-outline-content-color-disabled: var( + --spectrum-disabled-static-black-content-color + ); + --system-button-static-black-secondary-background-color-default: var( + --spectrum-transparent-black-300 + ); + --system-button-static-black-secondary-background-color-hover: var( + --spectrum-transparent-black-400 + ); + --system-button-static-black-secondary-background-color-down: var( + --spectrum-transparent-black-500 + ); + --system-button-static-black-secondary-background-color-focus: var( + --spectrum-transparent-black-400 + ); + --system-button-static-black-secondary-border-color-default: transparent; + --system-button-static-black-secondary-border-color-hover: transparent; + --system-button-static-black-secondary-border-color-down: transparent; + --system-button-static-black-secondary-border-color-focus: transparent; + --system-button-static-black-secondary-content-color-default: var( + --spectrum-black + ); + --system-button-static-black-secondary-content-color-hover: var( + --spectrum-black + ); + --system-button-static-black-secondary-content-color-down: var( + --spectrum-black + ); + --system-button-static-black-secondary-content-color-focus: var( + --spectrum-black + ); + --system-button-static-black-secondary-focus-indicator-color: var( + --spectrum-static-black-focus-indicator-color + ); + --system-button-static-black-secondary-background-color-disabled: var( + --spectrum-disabled-static-black-background-color + ); + --system-button-static-black-secondary-border-color-disabled: transparent; + --system-button-static-black-secondary-content-color-disabled: var( + --spectrum-disabled-static-black-content-color + ); + --system-button-static-black-secondary-outline-background-color-default: transparent; + --system-button-static-black-secondary-outline-background-color-hover: var( + --spectrum-transparent-black-400 + ); + --system-button-static-black-secondary-outline-background-color-down: var( + --spectrum-transparent-black-500 + ); + --system-button-static-black-secondary-outline-background-color-focus: var( + --spectrum-transparent-black-400 + ); + --system-button-static-black-secondary-outline-border-color-default: var( + --spectrum-transparent-black-400 + ); + --system-button-static-black-secondary-outline-border-color-hover: var( + --spectrum-transparent-black-500 + ); + --system-button-static-black-secondary-outline-border-color-down: var( + --spectrum-transparent-black-600 + ); + --system-button-static-black-secondary-outline-border-color-focus: var( + --spectrum-transparent-black-500 + ); + --system-button-static-black-secondary-outline-content-color-default: var( + --spectrum-black + ); + --system-button-static-black-secondary-outline-content-color-hover: var( + --spectrum-black + ); + --system-button-static-black-secondary-outline-content-color-down: var( + --spectrum-black + ); + --system-button-static-black-secondary-outline-content-color-focus: var( + --spectrum-black + ); + --system-button-static-black-secondary-outline-focus-indicator-color: var( + --spectrum-static-black-focus-indicator-color + ); + --system-button-static-black-secondary-outline-background-color-disabled: transparent; + --system-button-static-black-secondary-outline-border-color-disabled: var( + --spectrum-disabled-static-black-border-color + ); + --system-button-static-black-secondary-outline-content-color-disabled: var( + --spectrum-disabled-static-black-content-color + ); + --system-button-min-width: calc( + var(--spectrum-component-height-100) * + var(--spectrum-button-minimum-width-multiplier) + ); + --system-button-size-m-min-width: calc( + var(--spectrum-component-height-100) * + var(--spectrum-button-minimum-width-multiplier) + ); + --system-button-border-radius: var( + --spectrum-component-pill-edge-to-text-100 + ); + --system-button-size-m-border-radius: var( + --spectrum-component-pill-edge-to-text-100 + ); + --system-button-height: var(--spectrum-component-height-100); + --system-button-size-m-height: var(--spectrum-component-height-100); + --system-button-font-size: var(--spectrum-font-size-100); + --system-button-size-m-font-size: var(--spectrum-font-size-100); + --system-button-edge-to-visual: calc( + var(--spectrum-component-pill-edge-to-visual-100) - + var(--system-button-border-width) + ); + --system-button-size-m-edge-to-visual: calc( + var(--spectrum-component-pill-edge-to-visual-100) - + var(--system-button-border-width) + ); + --system-button-edge-to-visual-only: var( + --spectrum-component-pill-edge-to-visual-only-100 + ); + --system-button-size-m-edge-to-visual-only: var( + --spectrum-component-pill-edge-to-visual-only-100 + ); + --system-button-edge-to-text: calc( + var(--spectrum-component-pill-edge-to-text-100) - + var(--system-button-border-width) + ); + --system-button-size-m-edge-to-text: calc( + var(--spectrum-component-pill-edge-to-text-100) - + var(--system-button-border-width) + ); + --system-button-padding-label-to-icon: var(--spectrum-text-to-visual-100); + --system-button-size-m-padding-label-to-icon: var( + --spectrum-text-to-visual-100 + ); + --system-button-top-to-text: var(--spectrum-button-top-to-text-medium); + --system-button-size-m-top-to-text: var( + --spectrum-button-top-to-text-medium + ); + --system-button-bottom-to-text: var( + --spectrum-button-bottom-to-text-medium + ); + --system-button-size-m-bottom-to-text: var( + --spectrum-button-bottom-to-text-medium + ); + --system-button-top-to-icon: var( + --spectrum-component-top-to-workflow-icon-100 + ); + --system-button-size-m-top-to-icon: var( + --spectrum-component-top-to-workflow-icon-100 + ); + --system-button-intended-icon-size: var(--spectrum-workflow-icon-size-100); + --system-button-size-m-intended-icon-size: var( + --spectrum-workflow-icon-size-100 + ); + --system-button-size-s-min-width: calc( + var(--spectrum-component-height-75) * + var(--spectrum-button-minimum-width-multiplier) + ); + --system-button-size-s-border-radius: var( + --spectrum-component-pill-edge-to-text-75 + ); + --system-button-size-s-height: var(--spectrum-component-height-75); + --system-button-size-s-font-size: var(--spectrum-font-size-75); + --system-button-size-s-edge-to-visual: calc( + var(--spectrum-component-pill-edge-to-visual-75) - + var(--system-button-border-width) + ); + --system-button-size-s-edge-to-visual-only: var( + --spectrum-component-pill-edge-to-visual-only-75 + ); + --system-button-size-s-edge-to-text: calc( + var(--spectrum-component-pill-edge-to-text-75) - + var(--system-button-border-width) + ); + --system-button-size-s-padding-label-to-icon: var( + --spectrum-text-to-visual-75 + ); + --system-button-size-s-top-to-text: var( + --spectrum-button-top-to-text-small + ); + --system-button-size-s-bottom-to-text: var( + --spectrum-button-bottom-to-text-small + ); + --system-button-size-s-top-to-icon: var( + --spectrum-component-top-to-workflow-icon-75 + ); + --system-button-size-s-intended-icon-size: var( + --spectrum-workflow-icon-size-75 + ); + --system-button-size-l-min-width: calc( + var(--spectrum-component-height-200) * + var(--spectrum-button-minimum-width-multiplier) + ); + --system-button-size-l-border-radius: var( + --spectrum-component-pill-edge-to-text-200 + ); + --system-button-size-l-height: var(--spectrum-component-height-200); + --system-button-size-l-font-size: var(--spectrum-font-size-200); + --system-button-size-l-edge-to-visual: calc( + var(--spectrum-component-pill-edge-to-visual-200) - + var(--system-button-border-width) + ); + --system-button-size-l-edge-to-visual-only: var( + --spectrum-component-pill-edge-to-visual-only-200 + ); + --system-button-size-l-edge-to-text: calc( + var(--spectrum-component-pill-edge-to-text-200) - + var(--system-button-border-width) + ); + --system-button-size-l-padding-label-to-icon: var( + --spectrum-text-to-visual-200 + ); + --system-button-size-l-top-to-text: var( + --spectrum-button-top-to-text-large + ); + --system-button-size-l-bottom-to-text: var( + --spectrum-button-bottom-to-text-large + ); + --system-button-size-l-top-to-icon: var( + --spectrum-component-top-to-workflow-icon-200 + ); + --system-button-size-l-intended-icon-size: var( + --spectrum-workflow-icon-size-200 + ); + --system-button-size-xl-min-width: calc( + var(--spectrum-component-height-300) * + var(--spectrum-button-minimum-width-multiplier) + ); + --system-button-size-xl-border-radius: var( + --spectrum-component-pill-edge-to-text-300 + ); + --system-button-size-xl-height: var(--spectrum-component-height-300); + --system-button-size-xl-font-size: var(--spectrum-font-size-300); + --system-button-size-xl-edge-to-visual: calc( + var(--spectrum-component-pill-edge-to-visual-300) - + var(--system-button-border-width) + ); + --system-button-size-xl-edge-to-visual-only: var( + --spectrum-component-pill-edge-to-visual-only-300 + ); + --system-button-size-xl-edge-to-text: calc( + var(--spectrum-component-pill-edge-to-text-300) - + var(--system-button-border-width) + ); + --system-button-size-xl-padding-label-to-icon: var( + --spectrum-text-to-visual-300 + ); + --system-button-size-xl-top-to-text: var( + --spectrum-button-top-to-text-extra-large + ); + --system-button-size-xl-bottom-to-text: var( + --spectrum-button-bottom-to-text-extra-large + ); + --system-button-size-xl-top-to-icon: var( + --spectrum-component-top-to-workflow-icon-300 + ); + --system-button-size-xl-intended-icon-size: var( + --spectrum-workflow-icon-size-300 + ); +} + +:host, +:root { + --system-button-group-spacing-horizontal: var(--spectrum-spacing-300); + --system-button-group-size-m-spacing-horizontal: var( + --spectrum-spacing-300 + ); + --system-button-group-spacing-vertical: var(--spectrum-spacing-300); + --system-button-group-size-m-spacing-vertical: var(--spectrum-spacing-300); + --system-button-group-size-s-spacing-horizontal: var( + --spectrum-spacing-200 + ); + --system-button-group-size-s-spacing-vertical: var(--spectrum-spacing-200); + --system-button-group-size-l-spacing-horizontal: var( + --spectrum-spacing-300 + ); + --system-button-group-size-l-spacing-vertical: var(--spectrum-spacing-300); + --system-button-group-size-xl-spacing-horizontal: var( + --spectrum-spacing-300 + ); + --system-button-group-size-xl-spacing-vertical: var(--spectrum-spacing-300); +} + +:host, +:root { + --system-breadcrumbs-block-size: var(--spectrum-breadcrumbs-height); + --system-breadcrumbs-block-size-compact: var( + --spectrum-breadcrumbs-height-compact + ); + --system-breadcrumbs-block-size-multiline: var( + --spectrum-breadcrumbs-height-multiline + ); + --system-breadcrumbs-line-height: var(--spectrum-line-height-100); + --system-breadcrumbs-font-size: var(--spectrum-font-size-200); + --system-breadcrumbs-font-family: var(--spectrum-sans-font-family-stack); + --system-breadcrumbs-font-weight: var(--spectrum-regular-font-weight); + --system-breadcrumbs-font-size-current: var(--spectrum-font-size-200); + --system-breadcrumbs-font-family-current: var( + --spectrum-sans-font-family-stack + ); + --system-breadcrumbs-font-weight-current: var(--spectrum-bold-font-weight); + --system-breadcrumbs-font-size-compact: var(--spectrum-font-size-100); + --system-breadcrumbs-font-family-compact: var( + --spectrum-sans-font-family-stack + ); + --system-breadcrumbs-font-weight-compact: var( + --spectrum-regular-font-weight + ); + --system-breadcrumbs-font-size-compact-current: var( + --spectrum-font-size-100 + ); + --system-breadcrumbs-font-family-compact-current: var( + --spectrum-sans-font-family-stack + ); + --system-breadcrumbs-font-weight-compact-current: var( + --spectrum-bold-font-weight + ); + --system-breadcrumbs-font-size-multiline: var(--spectrum-font-size-75); + --system-breadcrumbs-font-family-multiline: var( + --spectrum-sans-font-family-stack + ); + --system-breadcrumbs-font-weight-multiline: var( + --spectrum-regular-font-weight + ); + --system-breadcrumbs-font-size-multiline-current: var( + --spectrum-font-size-300 + ); + --system-breadcrumbs-font-family-multiline-current: var( + --spectrum-sans-font-family-stack + ); + --system-breadcrumbs-font-weight-multiline-current: var( + --spectrum-bold-font-weight + ); + --system-breadcrumbs-text-decoration-thickness: var( + --spectrum-text-underline-thickness + ); + --system-breadcrumbs-text-decoration-gap: var( + --spectrum-text-underline-gap + ); + --system-breadcrumbs-separator-spacing-inline: var( + --spectrum-text-to-visual-100 + ); + --system-breadcrumbs-text-spacing-block-start: var( + --spectrum-breadcrumbs-top-to-text + ); + --system-breadcrumbs-text-spacing-block-end: var( + --spectrum-breadcrumbs-bottom-to-text + ); + --system-breadcrumbs-icon-spacing-block: var( + --spectrum-breadcrumbs-top-to-separator-icon + ); + --system-breadcrumbs-text-spacing-block-start-compact: var( + --spectrum-breadcrumbs-top-to-text-compact + ); + --system-breadcrumbs-text-spacing-block-end-compact: var( + --spectrum-breadcrumbs-bottom-to-text-compact + ); + --system-breadcrumbs-icon-spacing-block-compact: var( + --spectrum-breadcrumbs-top-to-separator-icon-compact + ); + --system-breadcrumbs-text-spacing-block-start-multiline: var( + --spectrum-breadcrumbs-top-to-text-multiline + ); + --system-breadcrumbs-text-spacing-block-end-multiline: var( + --spectrum-breadcrumbs-bottom-to-text-multiline + ); + --system-breadcrumbs-text-spacing-block-between-multiline: var( + --spectrum-breadcrumbs-top-text-to-bottom-text + ); + --system-breadcrumbs-icon-spacing-block-start-multiline: var( + --spectrum-breadcrumbs-top-to-separator-icon-multiline + ); + --system-breadcrumbs-icon-spacing-block-between-multiline: var( + --spectrum-breadcrumbs-separator-icon-to-bottom-text-multiline + ); + --system-breadcrumbs-inline-start: var( + --spectrum-breadcrumbs-start-edge-to-text + ); + --system-breadcrumbs-inline-end: var( + --spectrum-breadcrumbs-end-edge-to-text + ); + --system-breadcrumbs-action-button-spacing-inline: var( + --spectrum-breadcrumbs-truncated-menu-to-separator-icon + ); + --system-breadcrumbs-action-button-spacing-block: var( + --spectrum-breadcrumbs-top-to-truncated-menu + ); + --system-breadcrumbs-action-button-spacing-block-compact: var( + --spectrum-breadcrumbs-top-to-truncated-menu-compact + ); + --system-breadcrumbs-action-button-spacing-inline-start: var( + --spectrum-breadcrumbs-start-edge-to-truncated-menu + ); + --system-breadcrumbs-action-button-spacing-block-multiline: var( + --spectrum-breadcrumbs-top-to-truncated-menu-compact + ); + --system-breadcrumbs-action-button-spacing-block-between-multiline: var( + --spectrum-breadcrumbs-truncated-menu-to-bottom-text + ); + --system-breadcrumbs-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-breadcrumbs-focus-indicator-gap: var( + --spectrum-focus-indicator-gap + ); + --system-breadcrumbs-item-link-border-radius: var( + --spectrum-corner-radius-100 + ); + --system-breadcrumbs-text-color: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-breadcrumbs-text-color-current: var( + --spectrum-neutral-content-color-default + ); + --system-breadcrumbs-text-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-breadcrumbs-separator-color: var( + --spectrum-neutral-content-color-default + ); + --system-breadcrumbs-action-button-color: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-breadcrumbs-action-button-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-breadcrumbs-focus-indicator-color: var( + --spectrum-focus-indicator-color + ); +} + +:host, +:root { + --system-checkbox-control-color-default: var(--spectrum-gray-600); + --system-checkbox-control-color-hover: var(--spectrum-gray-700); + --system-checkbox-control-color-down: var(--spectrum-gray-800); + --system-checkbox-control-color-focus: var(--spectrum-gray-700); + --system-checkbox-content-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-checkbox-content-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-checkbox-content-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-checkbox-content-color-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-checkbox-focus-indicator-color: var( + --spectrum-focus-indicator-color + ); + --system-checkbox-content-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-checkbox-control-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-checkbox-checkmark-color: var(--spectrum-gray-50); + --system-checkbox-invalid-color-default: var(--spectrum-negative-color-900); + --system-checkbox-invalid-color-hover: var(--spectrum-negative-color-1000); + --system-checkbox-invalid-color-down: var(--spectrum-negative-color-1100); + --system-checkbox-invalid-color-focus: var(--spectrum-negative-color-1000); + --system-checkbox-emphasized-color-default: var( + --spectrum-accent-color-900 + ); + --system-checkbox-emphasized-color-hover: var(--spectrum-accent-color-1000); + --system-checkbox-emphasized-color-down: var(--spectrum-accent-color-1100); + --system-checkbox-emphasized-color-focus: var(--spectrum-accent-color-1000); + --system-checkbox-control-selected-color-default: var( + --spectrum-neutral-background-color-selected-default + ); + --system-checkbox-control-selected-color-hover: var( + --spectrum-neutral-background-color-selected-hover + ); + --system-checkbox-control-selected-color-down: var( + --spectrum-neutral-background-color-selected-down + ); + --system-checkbox-control-selected-color-focus: var( + --spectrum-neutral-background-color-selected-key-focus + ); + --system-checkbox-line-height: var(--spectrum-line-height-100); + --system-checkbox-line-height-cjk: var(--spectrum-cjk-line-height-100); + --system-checkbox-control-corner-radius: 2px; + --system-checkbox-focus-indicator-gap: var(--spectrum-focus-indicator-gap); + --system-checkbox-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-checkbox-border-width: var(--spectrum-border-width-200); + --system-checkbox-animation-duration: var( + --spectrum-animation-duration-100 + ); + --system-checkbox-font-size: var(--spectrum-font-size-100); + --system-checkbox-size-m-font-size: var(--spectrum-font-size-100); + --system-checkbox-height: var(--spectrum-component-height-100); + --system-checkbox-size-m-height: var(--spectrum-component-height-100); + --system-checkbox-control-size: var( + --spectrum-checkbox-control-size-medium + ); + --system-checkbox-size-m-control-size: var( + --spectrum-checkbox-control-size-medium + ); + --system-checkbox-top-to-text: var(--spectrum-component-top-to-text-100); + --system-checkbox-size-m-top-to-text: var( + --spectrum-component-top-to-text-100 + ); + --system-checkbox-text-to-control: var(--spectrum-text-to-control-100); + --system-checkbox-size-m-text-to-control: var( + --spectrum-text-to-control-100 + ); + --system-checkbox-size-s-font-size: var(--spectrum-font-size-75); + --system-checkbox-size-s-height: var(--spectrum-component-height-75); + --system-checkbox-size-s-control-size: var( + --spectrum-checkbox-control-size-small + ); + --system-checkbox-size-s-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-checkbox-size-s-text-to-control: var( + --spectrum-text-to-control-75 + ); + --system-checkbox-size-l-font-size: var(--spectrum-font-size-200); + --system-checkbox-size-l-height: var(--spectrum-component-height-200); + --system-checkbox-size-l-control-size: var( + --spectrum-checkbox-control-size-large + ); + --system-checkbox-size-l-top-to-text: var( + --spectrum-component-top-to-text-200 + ); + --system-checkbox-size-l-text-to-control: var( + --spectrum-text-to-control-200 + ); + --system-checkbox-size-xl-font-size: var(--spectrum-font-size-300); + --system-checkbox-size-xl-height: var(--spectrum-component-height-300); + --system-checkbox-size-xl-control-size: var( + --spectrum-checkbox-control-size-extra-large + ); + --system-checkbox-size-xl-top-to-text: var( + --spectrum-component-top-to-text-300 + ); + --system-checkbox-size-xl-text-to-control: var( + --spectrum-text-to-control-300 + ); +} + +:host, +:root { + --system-card-background-color: var(--spectrum-background-layer-2-color); + --system-card-body-spacing: var(--spectrum-spacing-400); + --system-card-title-padding-top: var(--spectrum-spacing-300); + --system-card-title-padding-right: var(--spectrum-spacing-400); + --system-card-content-margin-top: var(--spectrum-spacing-100); + --system-card-content-margin-bottom: var(--spectrum-spacing-300); + --system-card-footer-padding-top: var(--spectrum-spacing-100); + --system-card-subtitle-padding-right: var(--spectrum-spacing-100); + --system-card-border-width: var(--spectrum-border-width-100); + --system-card-corner-radius: var(--spectrum-corner-radius-100); + --system-card-border-color: var(--spectrum-gray-100); + --system-card-border-color-hover: var(--spectrum-gray-200); + --system-card-border-color-selected: var(--spectrum-blue-700); + --system-card-divider-color: var(--spectrum-gray-200); + --system-card-title-font-family: var(--spectrum-sans-font-family-stack); + --system-card-title-font-size: var(--spectrum-heading-size-xxs); + --system-card-title-font-weight: var( + --spectrum-heading-sans-serif-font-weight + ); + --system-card-title-font-style: var( + --spectrum-heading-sans-serif-font-style + ); + --system-card-title-line-height: var(--spectrum-heading-line-height); + --system-card-title-font-color: var(--spectrum-heading-color); + --system-card-body-font-family: var(--spectrum-sans-font-family-stack); + --system-card-body-font-size: var(--spectrum-body-size-s); + --system-card-body-font-weight: var(--spectrum-body-sans-serif-font-weight); + --system-card-body-font-style: var(--spectrum-body-sans-serif-font-style); + --system-card-body-line-height: var(--spectrum-body-line-height); + --system-card-body-font-color: var(--spectrum-body-color); + --system-card-actions-spacing: var(--spectrum-spacing-300); + --system-card-actions-size: var(--spectrum-card-selection-background-size); + --system-card-actions-border-radius: var(--spectrum-corner-radius-100); + --system-card-actions-background-color-rgb: var(--spectrum-gray-100-rgb); + --system-card-actions-background-color-opacity: var( + --spectrum-card-selection-background-color-opacity + ); + --system-card-actions-drop-shadow-color: var(--spectrum-drop-shadow-color); + --system-card-actions-drop-shadow-x: var(--spectrum-drop-shadow-x); + --system-card-actions-drop-shadow-y: var(--spectrum-drop-shadow-y); + --system-card-actions-drop-shadow-blur: var(--spectrum-drop-shadow-blur); + --system-card-focus-indicator-color: var(--spectrum-focus-indicator-color); + --system-card-focus-indicator-width: var( + --spectrum-focus-indicator-thickness + ); + --system-card-selected-background-opacity: 0.1; + --system-card-preview-border-width-selected: var( + --spectrum-border-width-100 + ); + --system-card-preview-background-color: var(--spectrum-gray-100); + --system-card-preview-background-color-hover: var(--spectrum-gray-200); + --system-card-horizontal-body-padding: var(--spectrum-spacing-300); + --system-card-horizontal-preview-padding: var(--spectrum-spacing-200); + --system-card-content-margin-top-quiet: var(--spectrum-spacing-100); + --system-card-minimum-width-quiet: var(--spectrum-card-minimum-width); + --system-card-background-color-quiet: var(--spectrum-background-base-color); +} + +:host, +:root { + --system-clear-button-background-color: transparent; + --system-clear-button-background-color-hover: transparent; + --system-clear-button-background-color-down: transparent; + --system-clear-button-background-color-key-focus: transparent; + --system-clear-button-padding: var(--spectrum-in-field-button-edge-to-fill); + --system-clear-button-icon-color: var( + --spectrum-neutral-content-color-default + ); + --system-clear-button-icon-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-clear-button-icon-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-clear-button-icon-color-key-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-clear-button-height: var(--spectrum-component-height-100); + --system-clear-button-size-m-height: var(--spectrum-component-height-100); + --system-clear-button-width: var(--spectrum-component-height-100); + --system-clear-button-size-m-width: var(--spectrum-component-height-100); + --system-clear-button-size-s-height: var(--spectrum-component-height-75); + --system-clear-button-size-s-width: var(--spectrum-component-height-75); + --system-clear-button-size-l-height: var(--spectrum-component-height-200); + --system-clear-button-size-l-width: var(--spectrum-component-height-200); + --system-clear-button-size-xl-height: var(--spectrum-component-height-300); + --system-clear-button-size-xl-width: var(--spectrum-component-height-300); + --system-clear-button-quiet-background-color: transparent; + --system-clear-button-quiet-background-color-hover: transparent; + --system-clear-button-quiet-background-color-down: transparent; + --system-clear-button-quiet-background-color-key-focus: transparent; + --system-clear-button-over-background-icon-color: var(--spectrum-white); + --system-clear-button-over-background-icon-color-hover: var( + --spectrum-white + ); + --system-clear-button-over-background-icon-color-down: var( + --spectrum-white + ); + --system-clear-button-over-background-icon-color-key-focus: var( + --spectrum-white + ); + --system-clear-button-over-background-background-color: transparent; + --system-clear-button-over-background-background-color-hover: var( + --spectrum-transparent-white-400 + ); + --system-clear-button-over-background-background-color-down: var( + --spectrum-transparent-white-500 + ); + --system-clear-button-over-background-background-color-key-focus: var( + --spectrum-transparent-white-400 + ); + --system-clear-button-disabled-icon-color: var( + --spectrum-disabled-content-color + ); + --system-clear-button-disabled-icon-color-hover: var( + --spectrum-disabled-content-color + ); + --system-clear-button-disabled-icon-color-down: var( + --spectrum-disabled-content-color + ); + --system-clear-button-disabled-background-color: transparent; +} + +:host, +:root { + --system-close-button-background-color-default: transparent; + --system-close-button-background-color-hover: var(--spectrum-gray-100); + --system-close-button-background-color-down: var(--spectrum-gray-200); + --system-close-button-background-color-focus: var(--spectrum-gray-100); + --system-close-button-icon-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-close-button-icon-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-close-button-icon-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-close-button-icon-color-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-close-button-icon-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-close-button-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-close-button-focus-indicator-gap: var( + --spectrum-focus-indicator-gap + ); + --system-close-button-focus-indicator-color: var( + --spectrum-focus-indicator-color + ); + --system-close-button-animation-duration: var( + --spectrum-animation-duration-100 + ); + --system-close-button-static-white-static-background-color-default: transparent; + --system-close-button-static-white-static-background-color-hover: var( + --spectrum-transparent-white-400 + ); + --system-close-button-static-white-static-background-color-down: var( + --spectrum-transparent-white-500 + ); + --system-close-button-static-white-static-background-color-focus: var( + --spectrum-transparent-white-400 + ); + --system-close-button-static-white-icon-color-default: var( + --spectrum-white + ); + --system-close-button-static-white-icon-color-disabled: var( + --spectrum-disabled-static-white-content-color + ); + --system-close-button-static-white-focus-indicator-color: var( + --spectrum-static-white-focus-indicator-color + ); + --system-close-button-static-black-static-background-color-default: transparent; + --system-close-button-static-black-static-background-color-hover: var( + --spectrum-transparent-black-400 + ); + --system-close-button-static-black-static-background-color-down: var( + --spectrum-transparent-black-500 + ); + --system-close-button-static-black-static-background-color-focus: var( + --spectrum-transparent-black-400 + ); + --system-close-button-static-black-icon-color-default: var( + --spectrum-black + ); + --system-close-button-static-black-icon-color-disabled: var( + --spectrum-disabled-static-black-content-color + ); + --system-close-button-static-black-focus-indicator-color: var( + --spectrum-static-black-focus-indicator-color + ); + --system-close-button-size: var(--spectrum-component-height-100); + --system-close-button-size-m-size: var(--spectrum-component-height-100); + --system-close-button-size-s-size: var(--spectrum-component-height-75); + --system-close-button-size-l-size: var(--spectrum-component-height-200); + --system-close-button-size-xl-size: var(--spectrum-component-height-300); +} + +:host, +:root { + --system-coach-indicator-ring-border-size: var(--spectrum-border-width-200); + --system-coach-indicator-min-inline-size: calc( + var(--spectrum-coach-indicator-ring-diameter) * 3 + ); + --system-coach-indicator-min-block-size: calc( + var(--spectrum-coach-indicator-ring-diameter) * 3 + ); + --system-coach-indicator-inline-size: var( + --system-coach-indicator-min-inline-size + ); + --system-coach-indicator-block-size: var( + --system-coach-indicator-min-block-size + ); + --system-coach-indicator-ring-inline-size: var( + --spectrum-coach-indicator-ring-diameter + ); + --system-coach-indicator-ring-block-size: var( + --spectrum-coach-indicator-ring-diameter + ); + --system-coach-indicator-ring-dark-color: var(--spectrum-gray-900); + --system-coach-indicator-ring-light-color: var(--spectrum-gray-25); + --system-coach-indicator-top: calc( + var(--system-coach-indicator-block-size) / 3 - + var(--system-coach-indicator-ring-border-size) + ); + --system-coach-indicator-left: calc( + var(--system-coach-indicator-inline-size) / 3 - + var(--system-coach-indicator-ring-border-size) + ); + --system-coach-indicator-coach-animation-indicator-ring-duration: var( + --spectrum-animation-duration-6000 + ); + --system-coach-indicator-coach-animation-indicator-ring-inner-delay-multiple: -0.5; + --system-coach-indicator-coach-animation-indicator-ring-center-delay-multiple: -0.66; + --system-coach-indicator-coach-animation-indicator-ring-outer-delay-multiple: -1; + --system-coach-indicator-quiet-animation-ring-inner-delay-multiple: -0.33; + --system-coach-indicator-animation-name: pulse; + --system-coach-indicator-inner-animation-delay-multiple: var( + --system-coach-indicator-coach-animation-indicator-ring-inner-delay-multiple + ); + --system-coach-indicator-animation-keyframe-0-scale: 1; + --system-coach-indicator-animation-keyframe-0-opacity: 0; + --system-coach-indicator-animation-keyframe-50-scale: 1.5; + --system-coach-indicator-animation-keyframe-50-opacity: 1; + --system-coach-indicator-animation-keyframe-100-scale: 2; + --system-coach-indicator-animation-keyframe-100-opacity: 0; + --system-coach-indicator-quiet-animation-keyframe-0-scale: 0.8; + --system-coach-indicator-quiet-quiet-ring-diameter-size: var( + --spectrum-coach-indicator-quiet-ring-diameter + ); + --system-coach-indicator-quiet-animation-name: pulse-quiet; +} + +:host, +:root { + --system-coach-mark-min-width: var(--spectrum-coach-mark-minimum-width); + --system-coach-mark-width: var(--spectrum-coach-mark-width); + --system-coach-mark-max-width: var(--spectrum-coach-mark-maximum-width); + --system-coach-mark-media-height: var(--spectrum-coach-mark-media-height); + --system-coach-mark-media-min-height: var( + --spectrum-coach-mark-media-minimum-height + ); + --system-coach-mark-padding: var(--spectrum-coach-mark-edge-to-content); + --system-coach-mark-heading-to-action-button: var(--spectrum-spacing-300); + --system-coach-mark-header-to-body: var(--spectrum-spacing-200); + --system-coach-mark-body-to-footer: var(--spectrum-spacing-300); + --system-coach-mark-title-color: var(--spectrum-heading-color); + --system-coach-mark-title-font-family: var(--spectrum-sans-serif-font); + --system-coach-mark-title-font-style: var( + --spectrum-heading-serif-font-style + ); + --system-coach-mark-title-text-font-weight: var( + --spectrum-heading-sans-serif-font-weight + ); + --system-coach-mark-title-font-size: var(--spectrum-coach-mark-title-size); + --system-coach-mark-title-text-line-height: var( + --spectrum-heading-line-height + ); + --system-coach-mark-content-font-color: var(--spectrum-body-color); + --system-coach-mark-content-font-weight: var( + --spectrum-body-sans-serif-font-weight + ); + --system-coach-mark-content-font-family: var(--spectrum-sans-serif-font); + --system-coach-mark-content-font-style: var( + --spectrum-body-sans-serif-font-style + ); + --system-coach-mark-content-line-height: var(--spectrum-body-line-height); + --system-coach-mark-content-font-size: var(--spectrum-coach-mark-body-size); + --system-coach-mark-step-color: var(--spectrum-coach-mark-pagination-color); + --system-coach-mark-step-font-weight: var( + --spectrum-body-sans-serif-font-weight + ); + --system-coach-mark-step-font-family: var(--spectrum-sans-serif-font); + --system-coach-mark-step-font-style: var( + --spectrum-body-sans-serif-font-style + ); + --system-coach-mark-step-line-height: var(--spectrum-body-line-height); + --system-coach-mark-step-font-size: var( + --spectrum-coach-mark-pagination-body-size + ); + --system-coach-mark-step-to-bottom: var( + --spectrum-coach-mark-pagination-text-to-bottom-edge + ); + --system-coach-mark-popover-border-width: var(--spectrum-border-width-100); + --system-coach-mark-popover-corner-radius: var( + --spectrum-corner-radius-100 + ); + --system-coach-mark-buttongroup-spacing-horizontal: var( + --spectrum-spacing-100 + ); +} + +:host, +:root { + --system-color-area-border-radius: var( + --spectrum-color-area-border-rounding + ); + --system-color-area-border-color-rgb: 0, 0, 0; + --system-color-area-border-color-opacity: 0.1; + --system-color-area-border-color: rgba( + var(--system-color-area-border-color-rgb), + var(--system-color-area-border-color-opacity) + ); + --system-color-area-disabled-background-color: var( + --spectrum-disabled-background-color + ); + --system-color-area-border-width: var(--spectrum-color-area-border-width); + --system-color-area-height: var(--spectrum-color-area-height); + --system-color-area-width: var(--spectrum-color-area-width); + --system-color-area-min-width: var(--spectrum-color-area-minimum-width); + --system-color-area-min-height: var(--spectrum-color-area-minimum-height); +} + +:host, +:root { + --system-color-handle-size: var(--spectrum-color-handle-size); + --system-color-handle-focused-size: var( + --spectrum-color-handle-size-key-focus + ); + --system-color-handle-hitarea-size: var( + --spectrum-color-control-track-width + ); + --system-color-handle-animation-duration: var( + --spectrum-animation-duration-100 + ); + --system-color-handle-animation-easing: ease-in-out; + --system-color-handle-outer-border-color: rgba( + var(--spectrum-black-rgb), + var(--spectrum-color-handle-outer-border-opacity) + ); + --system-color-handle-outer-border-width: var( + --spectrum-color-handle-outer-border-width + ); + --system-color-handle-inner-border-color: rgba( + var(--spectrum-black-rgb), + var(--spectrum-color-handle-inner-border-opacity) + ); + --system-color-handle-inner-border-width: var( + --spectrum-color-handle-inner-border-width + ); + --system-color-handle-border-width: var( + --spectrum-color-handle-border-width + ); + --system-color-handle-border-color: var(--spectrum-white); + --system-color-handle-border-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-color-handle-fill-color-disabled: var( + --spectrum-disabled-background-color + ); +} + +:host, +:root { + --system-color-loupe-width: var(--spectrum-color-loupe-width); + --system-color-loupe-height: var(--spectrum-color-loupe-height); + --system-color-loupe-offset: var( + --spectrum-color-loupe-bottom-to-color-handle + ); + --system-color-loupe-animation-distance: 8px; + --system-color-loupe-drop-shadow-x: var(--spectrum-drop-shadow-x); + --system-color-loupe-drop-shadow-y: var( + --spectrum-color-loupe-drop-shadow-y + ); + --system-color-loupe-drop-shadow-blur: var( + --spectrum-color-loupe-drop-shadow-blur + ); + --system-color-loupe-drop-shadow-color: var( + --spectrum-color-loupe-drop-shadow-color + ); + --system-color-loupe-outer-border-width: var( + --spectrum-color-loupe-outer-border-width + ); + --system-color-loupe-inner-border-width: var( + --spectrum-color-loupe-inner-border-width + ); + --system-color-loupe-outer-border-color: var( + --spectrum-color-loupe-outer-border + ); + --system-color-loupe-inner-border-color: var( + --spectrum-color-loupe-inner-border + ); + --system-color-loupe-checkerboard-dark-color: var( + --spectrum-opacity-checkerboard-square-dark + ); + --system-color-loupe-checkerboard-light-color: var( + --spectrum-opacity-checkerboard-square-light + ); +} + +:host, +:root { + --system-color-slider-handle-margin-block: var( + --spectrum-component-top-to-text-75 + ); + --system-color-slider-border-color-rgba: rgba( + var(--spectrum-gray-900-rgb), + var(--spectrum-color-slider-border-opacity) + ); + --system-color-slider-checkerboard-size: var( + --spectrum-opacity-checkerboard-square-size + ); + --system-color-slider-checkerboard-dark-color: var( + --spectrum-opacity-checkerboard-square-dark + ); + --system-color-slider-checkerboard-light-color: var( + --spectrum-opacity-checkerboard-square-light + ); +} + +:host, +:root { + --system-color-wheel-width: var(--spectrum-color-wheel-width); + --system-color-wheel-min-width: var(--spectrum-color-wheel-minimum-width); + --system-color-wheel-height: var(--spectrum-color-wheel-width); + --system-color-wheel-border-color: var(--spectrum-transparent-black-200); + --system-color-wheel-border-width: var(--spectrum-border-width-100); + --system-color-wheel-fill-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-color-wheel-track-width: var(--spectrum-color-control-track-width); + --system-color-wheel-colorarea-margin: var( + --spectrum-color-wheel-color-area-margin + ); + --system-color-wheel-colorhandle-position: calc( + var(--system-color-wheel-width) / 2 - + var(--system-color-wheel-track-width) / 2 + ); +} + +:host, +:root { + --system-combobox-border-color-default: var(--spectrum-gray-500); + --system-combobox-border-color-hover: var(--spectrum-gray-600); + --system-combobox-border-color-focus: var(--spectrum-gray-500); + --system-combobox-border-color-focus-hover: var(--spectrum-gray-600); + --system-combobox-border-color-key-focus: var(--spectrum-gray-600); + --system-combobox-inline-size: var(--spectrum-field-width); + --system-combobox-minimum-width-multiplier: var( + --spectrum-combo-box-minimum-width-multiplier + ); + --system-combobox-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-combobox-focus-indicator-gap: var(--spectrum-focus-indicator-gap); + --system-combobox-focus-indicator-color: var( + --spectrum-focus-indicator-color + ); + --system-combobox-border-radius: var(--spectrum-corner-radius-100); + --system-combobox-border-width: var(--spectrum-border-width-100); + --system-combobox-spacing-label-to: var( + --spectrum-field-label-to-component + ); + --system-combobox-font-style: var(--spectrum-default-font-style); + --system-combobox-line-height: var(--spectrum-line-height-100); + --system-combobox-border-color-invalid-default: var( + --spectrum-negative-border-color-default + ); + --system-combobox-border-color-invalid-hover: var( + --spectrum-negative-border-color-hover + ); + --system-combobox-border-color-invalid-focus: var( + --spectrum-negative-border-color-focus + ); + --system-combobox-border-color-invalid-focus-hover: var( + --spectrum-negative-border-color-focus-hover + ); + --system-combobox-border-color-invalid-key-focus: var( + --spectrum-negative-border-color-key-focus + ); + --system-combobox-block-size: var(--spectrum-component-height-100); + --system-combobox-size-m-block-size: var(--spectrum-component-height-100); + --system-combobox-icon-size: var(--spectrum-workflow-icon-size-100); + --system-combobox-size-m-icon-size: var(--spectrum-workflow-icon-size-100); + --system-combobox-font-size: var(--spectrum-font-size-100); + --system-combobox-size-m-font-size: var(--spectrum-font-size-100); + --system-combobox-spacing-inline-icon-to-button: var( + --spectrum-combo-box-visual-to-field-button-medium + ); + --system-combobox-size-m-spacing-inline-icon-to-button: var( + --spectrum-combo-box-visual-to-field-button-medium + ); + --system-combobox-block-spacing-edge-to-progress-circle: var( + --spectrum-field-top-to-progress-circle-medium + ); + --system-combobox-size-m-block-spacing-edge-to-progress-circle: var( + --spectrum-field-top-to-progress-circle-medium + ); + --system-combobox-block-spacing-edge-to-alert: var( + --spectrum-field-top-to-alert-icon-medium + ); + --system-combobox-size-m-block-spacing-edge-to-alert: var( + --spectrum-field-top-to-alert-icon-medium + ); + --system-combobox-spacing-edge-to-menu: var( + --spectrum-component-to-menu-medium + ); + --system-combobox-size-m-spacing-edge-to-menu: var( + --spectrum-component-to-menu-medium + ); + --system-combobox-spacing-block-start-edge-to-text: var( + --spectrum-component-top-to-text-100 + ); + --system-combobox-size-m-spacing-block-start-edge-to-text: var( + --spectrum-component-top-to-text-100 + ); + --system-combobox-spacing-block-end-edge-to-text: var( + --spectrum-component-bottom-to-text-100 + ); + --system-combobox-size-m-spacing-block-end-edge-to-text: var( + --spectrum-component-bottom-to-text-100 + ); + --system-combobox-spacing-inline-start-edge-to-text: var( + --spectrum-component-edge-to-text-100 + ); + --system-combobox-size-m-spacing-inline-start-edge-to-text: var( + --spectrum-component-edge-to-text-100 + ); + --system-combobox-spacing-inline-end-edge-to-text: var( + --spectrum-component-edge-to-text-100 + ); + --system-combobox-size-m-spacing-inline-end-edge-to-text: var( + --spectrum-component-edge-to-text-100 + ); + --system-combobox-size-s-block-size: var(--spectrum-component-height-75); + --system-combobox-size-s-icon-size: var(--spectrum-workflow-icon-size-75); + --system-combobox-size-s-font-size: var(--spectrum-font-size-75); + --system-combobox-size-s-spacing-inline-icon-to-button: var( + --spectrum-combo-box-visual-to-field-button-small + ); + --system-combobox-size-s-block-spacing-edge-to-progress-circle: var( + --spectrum-field-top-to-progress-circle-small + ); + --system-combobox-size-s-block-spacing-edge-to-alert: var( + --spectrum-field-top-to-alert-icon-small + ); + --system-combobox-size-s-spacing-edge-to-menu: var( + --spectrum-component-to-menu-small + ); + --system-combobox-size-s-spacing-block-start-edge-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-combobox-size-s-spacing-block-end-edge-to-text: var( + --spectrum-component-bottom-to-text-75 + ); + --system-combobox-size-s-spacing-inline-start-edge-to-text: var( + --spectrum-component-edge-to-text-75 + ); + --system-combobox-size-s-spacing-inline-end-edge-to-text: var( + --spectrum-component-edge-to-text-75 + ); + --system-combobox-size-l-block-size: var(--spectrum-component-height-200); + --system-combobox-size-l-icon-size: var(--spectrum-workflow-icon-size-200); + --system-combobox-size-l-font-size: var(--spectrum-font-size-200); + --system-combobox-size-l-spacing-inline-icon-to-button: var( + --spectrum-combo-box-visual-to-field-button-large + ); + --system-combobox-size-l-block-spacing-edge-to-progress-circle: var( + --spectrum-field-top-to-progress-circle-large + ); + --system-combobox-size-l-block-spacing-edge-to-alert: var( + --spectrum-field-top-to-alert-icon-large + ); + --system-combobox-size-l-spacing-edge-to-menu: var( + --spectrum-component-to-menu-large + ); + --system-combobox-size-l-spacing-block-start-edge-to-text: var( + --spectrum-component-top-to-text-200 + ); + --system-combobox-size-l-spacing-block-end-edge-to-text: var( + --spectrum-component-bottom-to-text-200 + ); + --system-combobox-size-l-spacing-inline-start-edge-to-text: var( + --spectrum-component-edge-to-text-200 + ); + --system-combobox-size-l-spacing-inline-end-edge-to-text: var( + --spectrum-component-edge-to-text-200 + ); + --system-combobox-size-xl-block-size: var(--spectrum-component-height-300); + --system-combobox-size-xl-icon-size: var(--spectrum-workflow-icon-size-300); + --system-combobox-size-xl-font-size: var(--spectrum-font-size-300); + --system-combobox-size-xl-spacing-inline-icon-to-button: var( + --spectrum-combo-box-visual-to-field-button-extra-large + ); + --system-combobox-size-xl-block-spacing-edge-to-progress-circle: var( + --spectrum-field-top-to-progress-circle-extra-large + ); + --system-combobox-size-xl-block-spacing-edge-to-alert: var( + --spectrum-field-top-to-alert-icon-extra-large + ); + --system-combobox-size-xl-spacing-edge-to-menu: var( + --spectrum-component-to-menu-extra-large + ); + --system-combobox-size-xl-spacing-block-start-edge-to-text: var( + --spectrum-component-top-to-text-300 + ); + --system-combobox-size-xl-spacing-block-end-edge-to-text: var( + --spectrum-component-bottom-to-text-300 + ); + --system-combobox-size-xl-spacing-inline-start-edge-to-text: var( + --spectrum-component-edge-to-text-300 + ); + --system-combobox-size-xl-spacing-inline-end-edge-to-text: var( + --spectrum-component-edge-to-text-300 + ); + --system-combobox-quiet-minimum-width-multiplier: var( + --spectrum-combo-box-quiet-minimum-width-multiplier + ); + --system-combobox-quiet-spacing-inline-icon-to-button: var( + --spectrum-combo-box-visual-to-field-button-quiet + ); + --system-combobox-quiet-spacing-inline-start-edge-to-text: var( + --spectrum-field-edge-to-text-quiet + ); + --system-combobox-quiet-spacing-label-to: var( + --spectrum-field-label-to-component-quiet-medium + ); + --system-combobox-quiet-size-m-spacing-label-to: var( + --spectrum-field-label-to-component-quiet-medium + ); + --system-combobox-quiet-size-s-spacing-label-to: var( + --spectrum-field-label-to-component-quiet-small + ); + --system-combobox-quiet-size-l-spacing-label-to: var( + --spectrum-field-label-to-component-quiet-large + ); + --system-combobox-quiet-size-xl-spacing-label-to: var( + --spectrum-field-label-to-component-quiet-extra-large + ); +} + +:host, +:root { + --system-contextual-help-padding: var(--spectrum-spacing-400); + --system-contextual-help-content-spacing: var(--spectrum-spacing-100); + --system-contextual-help-link-spacing: var(--spectrum-spacing-300); + --system-contextual-help-heading-size: var( + --spectrum-contextual-help-title-size + ); + --system-contextual-help-heading-color: var(--spectrum-heading-color); + --system-contextual-help-body-color: var(--spectrum-body-color); +} + +:host, +:root { + --system-dialog-fullscreen-header-text-size: 28px; + --system-dialog-min-inline-size: 288px; + --system-dialog-confirm-small-width: 400px; + --system-dialog-confirm-medium-width: 480px; + --system-dialog-confirm-large-width: 640px; + --system-dialog-confirm-divider-block-spacing-start: var( + --spectrum-spacing-300 + ); + --system-dialog-confirm-divider-block-spacing-end: var( + --spectrum-spacing-200 + ); + --system-dialog-confirm-description-text-color: var(--spectrum-gray-800); + --system-dialog-confirm-title-text-color: var(--spectrum-gray-900); + --system-dialog-confirm-description-text-line-height: var( + --spectrum-line-height-100 + ); + --system-dialog-confirm-title-text-line-height: var( + --spectrum-line-height-100 + ); + --system-dialog-heading-font-weight: var( + --spectrum-heading-sans-serif-font-weight + ); + --system-dialog-confirm-description-padding: var(--spectrum-spacing-50); + --system-dialog-confirm-description-margin: calc( + var(--spectrum-spacing-50) * -1 + ); + --system-dialog-confirm-footer-padding-top: var(--spectrum-spacing-600); + --system-dialog-confirm-gap-size: var( + --spectrum-component-pill-edge-to-text-100 + ); + --system-dialog-confirm-buttongroup-padding-top: var( + --spectrum-spacing-600 + ); + --system-dialog-confirm-close-button-size: var( + --spectrum-component-height-100 + ); + --system-dialog-confirm-close-button-padding: calc( + 26px - var(--spectrum-component-bottom-to-text-300) + ); + --system-dialog-confirm-divider-height: var(--spectrum-spacing-50); +} + +:host, +:root { + --system-divider-background-color-small: var(--spectrum-gray-200); + --system-divider-background-color-medium: var(--spectrum-gray-200); + --system-divider-background-color-large: var(--spectrum-gray-800); + --system-divider-background-color-small-static-white: var( + --spectrum-transparent-white-400 + ); + --system-divider-background-color-medium-static-white: var( + --spectrum-transparent-white-400 + ); + --system-divider-background-color-large-static-white: var( --spectrum-transparent-white-900 ); - --system-spectrum-button-staticwhite-outline-content-color-default: var( - --spectrum-white + --system-divider-background-color-small-static-black: var( + --spectrum-transparent-black-400 + ); + --system-divider-background-color-medium-static-black: var( + --spectrum-transparent-black-400 + ); + --system-divider-background-color-large-static-black: var( + --spectrum-transparent-black-900 + ); +} + +:host, +:root { + --system-drop-zone-padding: var(--spectrum-spacing-400); + --system-drop-zone-illustration-to-heading: var(--spectrum-spacing-400); + --system-drop-zone-heading-to-body: var(--spectrum-spacing-75); + --system-drop-zone-border-width: var(--spectrum-border-width-200); + --system-drop-zone-corner-radius: var(--spectrum-corner-radius-100); + --system-drop-zone-border-color: var(--spectrum-gray-200); + --system-drop-zone-heading-font-family: var( + --spectrum-sans-font-family-stack + ); + --system-drop-zone-heading-font-weight: var( + --spectrum-heading-sans-serif-font-weight + ); + --system-drop-zone-heading-font-style: var( + --spectrum-heading-sans-serif-font-style + ); + --system-drop-zone-heading-font-size: var(--spectrum-drop-zone-title-size); + --system-drop-zone-heading-line-height: var(--spectrum-heading-line-height); + --system-drop-zone-heading-color: var(--spectrum-heading-color); + --system-drop-zone-body-font-family: var(--spectrum-sans-font-family-stack); + --system-drop-zone-body-font-weight: var( + --spectrum-body-sans-serif-font-weight + ); + --system-drop-zone-body-font-style: var( + --spectrum-body-sans-serif-font-style + ); + --system-drop-zone-body-font-size: var(--spectrum-drop-zone-body-size); + --system-drop-zone-body-line-height: var(--spectrum-body-line-height); + --system-drop-zone-body-color: var(--spectrum-body-color); + --system-drop-zone-background-color: var( + --spectrum-drop-zone-background-color-rgb + ); + --system-drop-zone-border-color-hover: var(--spectrum-accent-visual-color); + --system-drop-zone-illustration-color: var(--spectrum-neutral-visual-color); + --system-drop-zone-illustration-color-hover: var( + --spectrum-accent-visual-color + ); + --system-drop-zone-content-height: var(--spectrum-component-height-300); + --system-drop-zone-content-max-width: var( + --spectrum-drop-zone-content-maximum-width + ); + --system-drop-zone-content-edge-to-text: var( + --spectrum-component-edge-to-text-300 + ); + --system-drop-zone-content-top-to-text: var( + --spectrum-component-top-to-text-300 + ); + --system-drop-zone-content-bottom-to-text: var( + --spectrum-component-bottom-to-text-300 + ); + --system-drop-zone-content-font-family: var( + --spectrum-sans-font-family-stack + ); + --system-drop-zone-content-font-weight: var(--spectrum-bold-font-weight); + --system-drop-zone-content-font-style: var(--spectrum-default-font-style); + --system-drop-zone-content-font-size: var(--spectrum-font-size-300); + --system-drop-zone-content-line-height: var(--spectrum-line-height-100); + --system-drop-zone-content-background-color: var( + --spectrum-accent-visual-color + ); + --system-drop-zone-content-color: var(--spectrum-white); + --system-drop-zone-heading-font-size-cjk: var( + --spectrum-drop-zone-cjk-title-size + ); +} + +:host, +:root { + --system-field-group-margin: var(--spectrum-spacing-300); + --system-field-group-readonly-delimiter: '\002c'; +} + +:host, +:root { + --system-field-label-color: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-field-label-font-weight: var(--spectrum-regular-font-weight); + --system-field-label-line-height: var(--spectrum-line-height-100); + --system-field-label-line-height-cjk: var(--spectrum-cjk-line-height-100); + --system-field-label-disabled-content-color: var( + --spectrum-disabled-content-color + ); + --system-field-label-min-height: var(--spectrum-component-height-75); + --system-field-label-size-m-min-height: var(--spectrum-component-height-75); + --system-field-label-top-to-text: var(--spectrum-component-top-to-text-75); + --system-field-label-size-m-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-field-label-bottom-to-text: var( + --spectrum-component-bottom-to-text-75 + ); + --system-field-label-size-m-bottom-to-text: var( + --spectrum-component-bottom-to-text-75 + ); + --system-field-label-font-size: var(--spectrum-font-size-75); + --system-field-label-size-m-font-size: var(--spectrum-font-size-75); + --system-field-label-side-margin-block-start: var( + --spectrum-field-label-top-margin-medium + ); + --system-field-label-size-m-side-margin-block-start: var( + --spectrum-field-label-top-margin-medium + ); + --system-field-label-side-padding-right: var(--spectrum-spacing-200); + --system-field-label-size-m-side-padding-right: var(--spectrum-spacing-200); + --system-field-label-text-to-asterisk: var( + --spectrum-field-label-text-to-asterisk-medium + ); + --system-field-label-size-m-text-to-asterisk: var( + --spectrum-field-label-text-to-asterisk-medium + ); + --system-field-label-size-s-min-height: var(--spectrum-component-height-75); + --system-field-label-size-s-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-field-label-size-s-bottom-to-text: var( + --spectrum-component-bottom-to-text-75 + ); + --system-field-label-size-s-font-size: var(--spectrum-font-size-75); + --system-field-label-size-s-side-margin-block-start: var( + --spectrum-field-label-top-margin-small + ); + --system-field-label-size-s-side-padding-right: var(--spectrum-spacing-100); + --system-field-label-size-s-text-to-asterisk: var( + --spectrum-field-label-text-to-asterisk-small + ); + --system-field-label-size-l-min-height: var( + --spectrum-component-height-100 + ); + --system-field-label-size-l-top-to-text: var( + --spectrum-component-top-to-text-100 + ); + --system-field-label-size-l-bottom-to-text: var( + --spectrum-component-bottom-to-text-100 + ); + --system-field-label-size-l-font-size: var(--spectrum-font-size-100); + --system-field-label-size-l-side-margin-block-start: var( + --spectrum-field-label-top-margin-large + ); + --system-field-label-size-l-side-padding-right: var(--spectrum-spacing-200); + --system-field-label-size-l-text-to-asterisk: var( + --spectrum-field-label-text-to-asterisk-large + ); + --system-field-label-size-xl-min-height: var( + --spectrum-component-height-200 + ); + --system-field-label-size-xl-top-to-text: var( + --spectrum-component-top-to-text-200 + ); + --system-field-label-size-xl-bottom-to-text: var( + --spectrum-component-bottom-to-text-200 + ); + --system-field-label-size-xl-font-size: var(--spectrum-font-size-200); + --system-field-label-size-xl-side-margin-block-start: var( + --spectrum-field-label-top-margin-extra-large + ); + --system-field-label-size-xl-side-padding-right: var( + --spectrum-spacing-200 + ); + --system-field-label-size-xl-text-to-asterisk: var( + --spectrum-field-label-text-to-asterisk-extra-large + ); +} + +:host, +:root { + --system-help-text-line-height: var(--spectrum-line-height-100); + --system-help-text-content-color-default: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-help-text-icon-color-default: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-help-text-disabled-content-color: var( + --spectrum-disabled-content-color + ); + --system-help-text-neutral-content-color-default: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-help-text-neutral-icon-color-default: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-help-text-negative-content-color-default: var( + --spectrum-negative-color-900 + ); + --system-help-text-negative-icon-color-default: var( + --spectrum-negative-color-900 + ); + --system-help-text-disabled-content-color-default: var( + --system-help-text-disabled-content-color + ); + --system-help-text-disabled-icon-color-default: var( + --system-help-text-disabled-content-color + ); + --system-help-text-lang-ja-line-height-cjk: var( + --spectrum-cjk-line-height-100 + ); + --system-help-text-lang-zh-line-height-cjk: var( + --spectrum-cjk-line-height-100 + ); + --system-help-text-lang-ko-line-height-cjk: var( + --spectrum-cjk-line-height-100 + ); + --system-help-text-min-height: var(--spectrum-component-height-75); + --system-help-text-size-m-min-height: var(--spectrum-component-height-75); + --system-help-text-icon-size: var(--spectrum-workflow-icon-size-100); + --system-help-text-size-m-icon-size: var(--spectrum-workflow-icon-size-100); + --system-help-text-font-size: var(--spectrum-font-size-75); + --system-help-text-size-m-font-size: var(--spectrum-font-size-75); + --system-help-text-text-to-visual: var(--spectrum-text-to-visual-75); + --system-help-text-size-m-text-to-visual: var(--spectrum-text-to-visual-75); + --system-help-text-top-to-workflow-icon: var( + --spectrum-help-text-top-to-workflow-icon-medium + ); + --system-help-text-size-m-top-to-workflow-icon: var( + --spectrum-help-text-top-to-workflow-icon-medium + ); + --system-help-text-top-to-text: var(--spectrum-component-top-to-text-75); + --system-help-text-size-m-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-help-text-bottom-to-text: var( + --spectrum-component-bottom-to-text-75 + ); + --system-help-text-size-m-bottom-to-text: var( + --spectrum-component-bottom-to-text-75 + ); + --system-help-text-size-s-min-height: var(--spectrum-component-height-75); + --system-help-text-size-s-icon-size: var(--spectrum-workflow-icon-size-75); + --system-help-text-size-s-font-size: var(--spectrum-font-size-75); + --system-help-text-size-s-text-to-visual: var(--spectrum-text-to-visual-75); + --system-help-text-size-s-top-to-workflow-icon: var( + --spectrum-help-text-top-to-workflow-icon-small + ); + --system-help-text-size-s-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-help-text-size-s-bottom-to-text: var( + --spectrum-component-bottom-to-text-75 + ); + --system-help-text-size-l-min-height: var(--spectrum-component-height-100); + --system-help-text-size-l-icon-size: var(--spectrum-workflow-icon-size-200); + --system-help-text-size-l-font-size: var(--spectrum-font-size-100); + --system-help-text-size-l-text-to-visual: var( + --spectrum-text-to-visual-100 + ); + --system-help-text-size-l-top-to-workflow-icon: var( + --spectrum-help-text-top-to-workflow-icon-large + ); + --system-help-text-size-l-top-to-text: var( + --spectrum-component-top-to-text-100 + ); + --system-help-text-size-l-bottom-to-text: var( + --spectrum-component-bottom-to-text-100 + ); + --system-help-text-size-xl-min-height: var(--spectrum-component-height-200); + --system-help-text-size-xl-icon-size: var( + --spectrum-workflow-icon-size-300 + ); + --system-help-text-size-xl-font-size: var(--spectrum-font-size-200); + --system-help-text-size-xl-text-to-visual: var( + --spectrum-text-to-visual-200 + ); + --system-help-text-size-xl-top-to-workflow-icon: var( + --spectrum-help-text-top-to-workflow-icon-extra-large + ); + --system-help-text-size-xl-top-to-text: var( + --spectrum-component-top-to-text-200 + ); + --system-help-text-size-xl-bottom-to-text: var( + --spectrum-component-bottom-to-text-200 + ); +} + +:host, +:root { + --system-illustrated-message-description-max-inline-size: var( + --spectrum-illustrated-message-maximum-width + ); + --system-illustrated-message-heading-max-inline-size: var( + --spectrum-illustrated-message-maximum-width + ); + --system-illustrated-message-title-to-heading: var(--spectrum-spacing-400); + --system-illustrated-message-heading-to-description: var( + --spectrum-spacing-75 + ); + --system-illustrated-message-illustration-color: var( + --spectrum-neutral-visual-color + ); + --system-illustrated-message-illustration-accent-color: var( + --spectrum-accent-visual-color + ); + --system-illustrated-message-title-font-family: var( + --spectrum-sans-font-family-stack + ); + --system-illustrated-message-title-font-weight: var( + --spectrum-heading-sans-serif-font-weight + ); + --system-illustrated-message-title-font-style: var( + --spectrum-heading-sans-serif-font-style + ); + --system-illustrated-message-title-font-size: var( + --spectrum-illustrated-message-title-size + ); + --system-illustrated-message-title-line-height: var( + --spectrum-heading-line-height + ); + --system-illustrated-message-title-color: var(--spectrum-heading-color); + --system-illustrated-message-description-font-family: var( + --spectrum-sans-font-family-stack + ); + --system-illustrated-message-description-font-weight: var( + --spectrum-body-sans-serif-font-weight + ); + --system-illustrated-message-description-font-style: var( + --spectrum-body-sans-serif-font-style + ); + --system-illustrated-message-description-font-size: var( + --spectrum-illustrated-message-body-size + ); + --system-illustrated-message-description-line-height: var( + --spectrum-body-line-height + ); + --system-illustrated-message-description-color: var(--spectrum-body-color); + --system-illustrated-message-lang-ja-title-font-size: var( + --spectrum-illustrated-message-cjk-title-size + ); + --system-illustrated-message-lang-zh-title-font-size: var( + --spectrum-illustrated-message-cjk-title-size + ); + --system-illustrated-message-lang-ko-title-font-size: var( + --spectrum-illustrated-message-cjk-title-size + ); +} + +:host, +:root { + --system-icon-size-xxs: var(--spectrum-workflow-icon-size-xxs); + --system-icon-size-xs: var(--spectrum-workflow-icon-size-50); + --system-icon-size-s: var(--spectrum-workflow-icon-size-75); + --system-icon-size-m: var(--spectrum-workflow-icon-size-100); + --system-icon-size-l: var(--spectrum-workflow-icon-size-200); + --system-icon-size-xl: var(--spectrum-workflow-icon-size-300); + --system-icon-size-xxl: var(--spectrum-workflow-icon-size-xxl); + --system-ui-icon-chevron-right-50-icon-size: var( + --spectrum-chevron-icon-size-50 + ); + --system-ui-icon-chevron-down-50-icon-size: var( + --spectrum-chevron-icon-size-50 + ); + --system-ui-icon-chevron-right-75-icon-size: var( + --spectrum-chevron-icon-size-75 + ); + --system-ui-icon-chevron-down-75-icon-size: var( + --spectrum-chevron-icon-size-75 + ); + --system-ui-icon-chevron-right-100-icon-size: var( + --spectrum-chevron-icon-size-100 + ); + --system-ui-icon-chevron-right-200-icon-size: var( + --spectrum-chevron-icon-size-200 + ); + --system-ui-icon-chevron-right-300-icon-size: var( + --spectrum-chevron-icon-size-300 + ); + --system-ui-icon-chevron-right-400-icon-size: var( + --spectrum-chevron-icon-size-400 + ); + --system-ui-icon-chevron-right-500-icon-size: var( + --spectrum-chevron-icon-size-500 + ); + --system-ui-icon-chevron-down-100-icon-size: var( + --spectrum-chevron-icon-size-100 + ); + --system-ui-icon-chevron-down-200-icon-size: var( + --spectrum-chevron-icon-size-200 + ); + --system-ui-icon-chevron-down-300-icon-size: var( + --spectrum-chevron-icon-size-300 + ); + --system-ui-icon-chevron-down-400-icon-size: var( + --spectrum-chevron-icon-size-400 + ); + --system-ui-icon-chevron-down-500-icon-size: var( + --spectrum-chevron-icon-size-500 + ); + --system-ui-icon-chevron-left-50-icon-size: var( + --spectrum-chevron-icon-size-50 + ); + --system-ui-icon-chevron-left-75-icon-size: var( + --spectrum-chevron-icon-size-75 + ); + --system-ui-icon-chevron-left-100-icon-size: var( + --spectrum-chevron-icon-size-100 + ); + --system-ui-icon-chevron-left-200-icon-size: var( + --spectrum-chevron-icon-size-200 + ); + --system-ui-icon-chevron-left-300-icon-size: var( + --spectrum-chevron-icon-size-300 + ); + --system-ui-icon-chevron-left-400-icon-size: var( + --spectrum-chevron-icon-size-400 + ); + --system-ui-icon-chevron-left-500-icon-size: var( + --spectrum-chevron-icon-size-500 + ); + --system-ui-icon-chevron-up-50-icon-size: var( + --spectrum-chevron-icon-size-50 + ); + --system-ui-icon-chevron-up-75-icon-size: var( + --spectrum-chevron-icon-size-75 + ); + --system-ui-icon-chevron-up-100-icon-size: var( + --spectrum-chevron-icon-size-100 + ); + --system-ui-icon-chevron-up-200-icon-size: var( + --spectrum-chevron-icon-size-200 + ); + --system-ui-icon-chevron-up-300-icon-size: var( + --spectrum-chevron-icon-size-300 + ); + --system-ui-icon-chevron-up-400-icon-size: var( + --spectrum-chevron-icon-size-400 + ); + --system-ui-icon-chevron-up-500-icon-size: var( + --spectrum-chevron-icon-size-500 + ); + --system-ui-icon-arrow-right-75-icon-size: var( + --spectrum-arrow-icon-size-75 + ); + --system-ui-icon-arrow-right-100-icon-size: var( + --spectrum-arrow-icon-size-100 + ); + --system-ui-icon-arrow-right-200-icon-size: var( + --spectrum-arrow-icon-size-200 + ); + --system-ui-icon-arrow-right-300-icon-size: var( + --spectrum-arrow-icon-size-300 + ); + --system-ui-icon-arrow-right-400-icon-size: var( + --spectrum-arrow-icon-size-400 + ); + --system-ui-icon-arrow-right-500-icon-size: var( + --spectrum-arrow-icon-size-500 + ); + --system-ui-icon-arrow-right-600-icon-size: var( + --spectrum-arrow-icon-size-600 + ); + --system-ui-icon-arrow-down-75-icon-size: var( + --spectrum-arrow-icon-size-75 + ); + --system-ui-icon-arrow-down-100-icon-size: var( + --spectrum-arrow-icon-size-100 + ); + --system-ui-icon-arrow-down-200-icon-size: var( + --spectrum-arrow-icon-size-200 + ); + --system-ui-icon-arrow-down-300-icon-size: var( + --spectrum-arrow-icon-size-300 + ); + --system-ui-icon-arrow-down-400-icon-size: var( + --spectrum-arrow-icon-size-400 + ); + --system-ui-icon-arrow-down-500-icon-size: var( + --spectrum-arrow-icon-size-500 + ); + --system-ui-icon-arrow-down-600-icon-size: var( + --spectrum-arrow-icon-size-600 + ); + --system-ui-icon-arrow-left-75-icon-size: var( + --spectrum-arrow-icon-size-75 + ); + --system-ui-icon-arrow-left-100-icon-size: var( + --spectrum-arrow-icon-size-100 + ); + --system-ui-icon-arrow-left-200-icon-size: var( + --spectrum-arrow-icon-size-200 + ); + --system-ui-icon-arrow-left-300-icon-size: var( + --spectrum-arrow-icon-size-300 + ); + --system-ui-icon-arrow-left-400-icon-size: var( + --spectrum-arrow-icon-size-400 + ); + --system-ui-icon-arrow-left-500-icon-size: var( + --spectrum-arrow-icon-size-500 + ); + --system-ui-icon-arrow-left-600-icon-size: var( + --spectrum-arrow-icon-size-600 + ); + --system-ui-icon-arrow-up-75-icon-size: var(--spectrum-arrow-icon-size-75); + --system-ui-icon-arrow-up-100-icon-size: var( + --spectrum-arrow-icon-size-100 + ); + --system-ui-icon-arrow-up-200-icon-size: var( + --spectrum-arrow-icon-size-200 + ); + --system-ui-icon-arrow-up-300-icon-size: var( + --spectrum-arrow-icon-size-300 + ); + --system-ui-icon-arrow-up-400-icon-size: var( + --spectrum-arrow-icon-size-400 + ); + --system-ui-icon-arrow-up-500-icon-size: var( + --spectrum-arrow-icon-size-500 + ); + --system-ui-icon-arrow-up-600-icon-size: var( + --spectrum-arrow-icon-size-600 + ); + --system-ui-icon-checkmark-50-icon-size: var( + --spectrum-checkmark-icon-size-50 + ); + --system-ui-icon-checkmark-75-icon-size: var( + --spectrum-checkmark-icon-size-75 + ); + --system-ui-icon-checkmark-100-icon-size: var( + --spectrum-checkmark-icon-size-100 + ); + --system-ui-icon-checkmark-200-icon-size: var( + --spectrum-checkmark-icon-size-200 + ); + --system-ui-icon-checkmark-300-icon-size: var( + --spectrum-checkmark-icon-size-300 + ); + --system-ui-icon-checkmark-400-icon-size: var( + --spectrum-checkmark-icon-size-400 + ); + --system-ui-icon-checkmark-500-icon-size: var( + --spectrum-checkmark-icon-size-500 + ); + --system-ui-icon-checkmark-600-icon-size: var( + --spectrum-checkmark-icon-size-600 + ); + --system-ui-icon-dash-50-icon-size: var(--spectrum-dash-icon-size-50); + --system-ui-icon-dash-75-icon-size: var(--spectrum-dash-icon-size-75); + --system-ui-icon-dash-100-icon-size: var(--spectrum-dash-icon-size-100); + --system-ui-icon-dash-200-icon-size: var(--spectrum-dash-icon-size-200); + --system-ui-icon-dash-300-icon-size: var(--spectrum-dash-icon-size-300); + --system-ui-icon-dash-400-icon-size: var(--spectrum-dash-icon-size-400); + --system-ui-icon-dash-500-icon-size: var(--spectrum-dash-icon-size-500); + --system-ui-icon-dash-600-icon-size: var(--spectrum-dash-icon-size-600); + --system-ui-icon-cross-75-icon-size: var(--spectrum-cross-icon-size-75); + --system-ui-icon-cross-100-icon-size: var(--spectrum-cross-icon-size-100); + --system-ui-icon-cross-200-icon-size: var(--spectrum-cross-icon-size-200); + --system-ui-icon-cross-300-icon-size: var(--spectrum-cross-icon-size-300); + --system-ui-icon-cross-400-icon-size: var(--spectrum-cross-icon-size-400); + --system-ui-icon-cross-500-icon-size: var(--spectrum-cross-icon-size-500); + --system-ui-icon-cross-600-icon-size: var(--spectrum-cross-icon-size-600); + --system-ui-icon-corner-triangle-75-icon-size: var( + --spectrum-corner-triangle-icon-size-75 + ); + --system-ui-icon-corner-triangle-100-icon-size: var( + --spectrum-corner-triangle-icon-size-100 + ); + --system-ui-icon-corner-triangle-200-icon-size: var( + --spectrum-corner-triangle-icon-size-200 + ); + --system-ui-icon-corner-triangle-300-icon-size: var( + --spectrum-corner-triangle-icon-size-300 + ); + --system-ui-icon-asterisk-75-icon-size: var( + --spectrum-asterisk-icon-size-75 + ); + --system-ui-icon-asterisk-100-icon-size: var( + --spectrum-asterisk-icon-size-100 + ); + --system-ui-icon-asterisk-200-icon-size: var( + --spectrum-asterisk-icon-size-200 + ); + --system-ui-icon-asterisk-300-icon-size: var( + --spectrum-asterisk-icon-size-300 + ); +} + +:host, +:root { + --system-infield-button-border-width: var(--spectrum-border-width-100); + --system-infield-button-border-color: inherit; + --system-infield-button-border-radius: var(--spectrum-corner-radius-100); + --system-infield-button-border-radius-reset: 0; + --system-infield-button-stacked-top-border-radius-start-start: var( + --system-infield-button-border-radius-reset + ); + --system-infield-button-stacked-bottom-border-radius-end-start: var( + --system-infield-button-border-radius-reset + ); + --system-infield-button-background-color: var(--spectrum-gray-50); + --system-infield-button-background-color-hover: var(--spectrum-gray-100); + --system-infield-button-background-color-down: var(--spectrum-gray-200); + --system-infield-button-background-color-key-focus: var( + --spectrum-gray-100 + ); + --system-infield-button-height: var(--spectrum-component-height-100); + --system-infield-button-width: var(--spectrum-component-height-100); + --system-infield-button-stacked-border-radius-reset: var( + --spectrum-in-field-button-fill-stacked-inner-border-rounding + ); + --system-infield-button-edge-to-fill: var( + --spectrum-in-field-button-edge-to-fill + ); + --system-infield-button-inner-edge-to-fill: var( + --spectrum-in-field-button-stacked-inner-edge-to-fill + ); + --system-infield-button-fill-padding: 0px; + --system-infield-button-stacked-fill-padding-inline: var( + --spectrum-in-field-button-edge-to-disclosure-icon-stacked-medium + ); + --system-infield-button-stacked-fill-padding-outer: var( + --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-medium + ); + --system-infield-button-stacked-fill-padding-inner: var( + --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-medium + ); + --system-infield-button-icon-color: var( + --spectrum-neutral-content-color-default + ); + --system-infield-button-icon-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-infield-button-icon-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-infield-button-icon-color-key-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-infield-button-fill-justify-content: center; + --system-infield-button-disabled-background-color: var( + --spectrum-disabled-background-color + ); + --system-infield-button-disabled-background-color-hover: var( + --spectrum-disabled-background-color + ); + --system-infield-button-disabled-background-color-down: var( + --spectrum-disabled-background-color + ); + --system-infield-button-disabled-border-color: var( + --spectrum-disabled-background-color + ); + --system-infield-button-disabled-icon-color: var( + --spectrum-disabled-content-color + ); + --system-infield-button-disabled-icon-color-hover: var( + --spectrum-disabled-content-color + ); + --system-infield-button-disabled-icon-color-down: var( + --spectrum-disabled-content-color + ); + --system-infield-button-disabled-icon-color-key-focus: var( + --spectrum-disabled-content-color + ); + --system-infield-button-size-s-height: var(--spectrum-component-height-75); + --system-infield-button-size-s-width: var(--spectrum-component-height-75); + --system-infield-button-size-s-stacked-fill-padding-inline: var( + --spectrum-in-field-button-edge-to-disclosure-icon-stacked-small + ); + --system-infield-button-size-s-stacked-fill-padding-outer: var( + --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-small + ); + --system-infield-button-size-s-stacked-fill-padding-inner: var( + --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-small + ); + --system-infield-button-size-l-height: var(--spectrum-component-height-200); + --system-infield-button-size-l-width: var(--spectrum-component-height-200); + --system-infield-button-size-l-stacked-fill-padding-inline: var( + --spectrum-in-field-button-edge-to-disclosure-icon-stacked-large + ); + --system-infield-button-size-l-stacked-fill-padding-outer: var( + --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-large + ); + --system-infield-button-size-l-stacked-fill-padding-inner: var( + --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-large + ); + --system-infield-button-size-xl-height: var( + --spectrum-component-height-300 + ); + --system-infield-button-size-xl-width: var(--spectrum-component-height-300); + --system-infield-button-size-xl-stacked-fill-padding-inline: var( + --spectrum-in-field-button-edge-to-disclosure-icon-stacked-extra-large + ); + --system-infield-button-size-xl-stacked-fill-padding-outer: var( + --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-extra-large + ); + --system-infield-button-size-xl-stacked-fill-padding-inner: var( + --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-extra-large + ); + --system-infield-button-top-width: var( + --spectrum-in-field-button-width-stacked-medium + ); + --system-infield-button-bottom-width: var( + --spectrum-in-field-button-width-stacked-medium + ); + --system-infield-button-top-size-s-width: var( + --spectrum-in-field-button-width-stacked-small + ); + --system-infield-button-bottom-size-s-width: var( + --spectrum-in-field-button-width-stacked-small + ); + --system-infield-button-top-size-l-width: var( + --spectrum-in-field-button-width-stacked-large + ); + --system-infield-button-bottom-size-l-width: var( + --spectrum-in-field-button-width-stacked-large + ); + --system-infield-button-top-size-xl-width: var( + --spectrum-in-field-button-width-stacked-extra-large + ); + --system-infield-button-bottom-size-xl-width: var( + --spectrum-in-field-button-width-stacked-extra-large + ); + --system-infield-button-quiet-background-color: transparent; + --system-infield-button-quiet-background-color-hover: transparent; + --system-infield-button-quiet-background-color-down: transparent; + --system-infield-button-quiet-background-color-key-focus: transparent; + --system-infield-button-quiet-infield-border-color: transparent; + --system-infield-button-quiet-border-width: 0; + --system-infield-button-quiet-disabled-background-color: transparent; + --system-infield-button-quiet-disabled-border-color: transparent; +} + +:host, +:root { + --system-link-animation-duration: var(--spectrum-animation-duration-100); + --system-link-text-color-primary-default: var( + --spectrum-accent-content-color-default + ); + --system-link-text-color-primary-hover: var( + --spectrum-accent-content-color-hover + ); + --system-link-text-color-primary-active: var( + --spectrum-accent-content-color-down + ); + --system-link-text-color-primary-focus: var( + --spectrum-accent-content-color-key-focus + ); + --system-link-text-color-secondary-default: var( + --spectrum-neutral-content-color-default + ); + --system-link-text-color-secondary-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-link-text-color-secondary-active: var( + --spectrum-neutral-content-color-down + ); + --system-link-text-color-secondary-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-link-text-color-white: var(--spectrum-white); + --system-link-text-color-black: var(--spectrum-black); +} + +:host, +:root { + --system-menu-item-top-to-action: var(--spectrum-spacing-50); + --system-menu-item-top-to-checkbox: var(--spectrum-spacing-50); + --system-menu-item-label-line-height: var(--spectrum-line-height-100); + --system-menu-item-label-line-height-cjk: var( + --spectrum-cjk-line-height-100 + ); + --system-menu-item-label-to-description-spacing: var( + --spectrum-menu-item-label-to-description + ); + --system-menu-item-focus-indicator-width: var(--spectrum-border-width-200); + --system-menu-item-focus-indicator-color: var(--spectrum-blue-800); + --system-menu-item-label-to-value-area-min-spacing: var( + --spectrum-spacing-100 + ); + --system-menu-item-label-content-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-menu-item-label-content-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-menu-item-label-content-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-menu-item-label-content-color-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-menu-item-label-icon-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-menu-item-label-icon-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-menu-item-label-icon-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-menu-item-label-icon-color-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-menu-item-label-content-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-menu-item-label-icon-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-menu-item-description-line-height: var(--spectrum-line-height-100); + --system-menu-item-description-line-height-cjk: var( + --spectrum-cjk-line-height-100 + ); + --system-menu-item-description-color-default: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-menu-item-description-color-hover: var( + --spectrum-neutral-subdued-content-color-hover + ); + --system-menu-item-description-color-down: var( + --spectrum-neutral-subdued-content-color-down + ); + --system-menu-item-description-color-focus: var( + --spectrum-neutral-subdued-content-color-key-focus + ); + --system-menu-item-description-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-menu-section-header-line-height: var(--spectrum-line-height-100); + --system-menu-section-header-line-height-cjk: var( + --spectrum-cjk-line-height-100 + ); + --system-menu-section-header-font-weight: var(--spectrum-bold-font-weight); + --system-menu-section-header-color: var(--spectrum-gray-900); + --system-menu-collapsible-icon-color: var(--spectrum-gray-900); + --system-menu-checkmark-icon-color-default: var( + --spectrum-accent-color-900 + ); + --system-menu-checkmark-icon-color-hover: var(--spectrum-accent-color-1000); + --system-menu-checkmark-icon-color-down: var(--spectrum-accent-color-1100); + --system-menu-checkmark-icon-color-focus: var(--spectrum-accent-color-1000); + --system-menu-drillin-icon-color-default: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-menu-drillin-icon-color-hover: var( + --spectrum-neutral-subdued-content-color-hover + ); + --system-menu-drillin-icon-color-down: var( + --spectrum-neutral-subdued-content-color-down + ); + --system-menu-drillin-icon-color-focus: var( + --spectrum-neutral-subdued-content-color-key-focus + ); + --system-menu-item-value-color-default: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-menu-item-value-color-hover: var( + --spectrum-neutral-subdued-content-color-hover + ); + --system-menu-item-value-color-down: var( + --spectrum-neutral-subdued-content-color-down + ); + --system-menu-item-value-color-focus: var( + --spectrum-neutral-subdued-content-color-key-focus + ); + --system-menu-checkmark-display-hidden: none; + --system-menu-checkmark-display-shown: block; + --system-menu-checkmark-display: var(--system-menu-checkmark-display-shown); + --system-menu-item-collapsible-no-icon-sub-item-padding-x-start: calc( + var(--system-menu-item-label-inline-edge-to-content) + + var(--system-menu-item-checkmark-width) + + var(--system-menu-item-label-text-to-visual) + + var(--system-menu-item-focus-indicator-width) + ); + --system-menu-item-background-color-default: transparent; + --system-menu-item-background-color-hover: rgba( + var(--spectrum-gray-1000-rgb), + var(--spectrum-transparent-black-200-opacity) + ); + --system-menu-item-background-color-down: rgba( + var(--spectrum-gray-1000-rgb), + var(--spectrum-transparent-black-200-opacity) + ); + --system-menu-item-background-color-key-focus: rgba( + var(--spectrum-gray-1000-rgb), + var(--spectrum-transparent-black-200-opacity) + ); + --system-menu-item-min-height: var(--spectrum-component-height-100); + --system-menu-size-m-item-min-height: var(--spectrum-component-height-100); + --system-menu-item-icon-height: var(--spectrum-workflow-icon-size-100); + --system-menu-size-m-item-icon-height: var( + --spectrum-workflow-icon-size-100 + ); + --system-menu-item-icon-width: var(--spectrum-workflow-icon-size-100); + --system-menu-size-m-item-icon-width: var( + --spectrum-workflow-icon-size-100 + ); + --system-menu-item-label-font-size: var(--spectrum-font-size-100); + --system-menu-size-m-item-label-font-size: var(--spectrum-font-size-100); + --system-menu-item-label-text-to-visual: var(--spectrum-text-to-visual-100); + --system-menu-size-m-item-label-text-to-visual: var( + --spectrum-text-to-visual-100 + ); + --system-menu-item-label-inline-edge-to-content: var( + --spectrum-component-edge-to-text-100 + ); + --system-menu-size-m-item-label-inline-edge-to-content: var( + --spectrum-component-edge-to-text-100 + ); + --system-menu-item-top-edge-to-text: var( + --spectrum-component-top-to-text-100 + ); + --system-menu-size-m-item-top-edge-to-text: var( + --spectrum-component-top-to-text-100 + ); + --system-menu-item-bottom-edge-to-text: var( + --spectrum-component-bottom-to-text-100 + ); + --system-menu-size-m-item-bottom-edge-to-text: var( + --spectrum-component-bottom-to-text-100 + ); + --system-menu-item-text-to-control: var(--spectrum-text-to-control-100); + --system-menu-size-m-item-text-to-control: var( + --spectrum-text-to-control-100 + ); + --system-menu-item-description-font-size: var(--spectrum-font-size-75); + --system-menu-size-m-item-description-font-size: var( + --spectrum-font-size-75 + ); + --system-menu-section-header-font-size: var(--spectrum-font-size-100); + --system-menu-size-m-section-header-font-size: var( + --spectrum-font-size-100 + ); + --system-menu-section-header-min-width: var( + --spectrum-component-height-100 + ); + --system-menu-size-m-section-header-min-width: var( + --spectrum-component-height-100 + ); + --system-menu-item-selectable-edge-to-text-not-selected: var( + --spectrum-menu-item-selectable-edge-to-text-not-selected-medium + ); + --system-menu-size-m-item-selectable-edge-to-text-not-selected: var( + --spectrum-menu-item-selectable-edge-to-text-not-selected-medium + ); + --system-menu-item-checkmark-height: var( + --spectrum-menu-item-checkmark-height-medium + ); + --system-menu-size-m-item-checkmark-height: var( + --spectrum-menu-item-checkmark-height-medium + ); + --system-menu-item-checkmark-width: var( + --spectrum-menu-item-checkmark-width-medium + ); + --system-menu-size-m-item-checkmark-width: var( + --spectrum-menu-item-checkmark-width-medium + ); + --system-menu-item-top-to-checkmark: var( + --spectrum-menu-item-top-to-selected-icon-medium + ); + --system-menu-size-m-item-top-to-checkmark: var( + --spectrum-menu-item-top-to-selected-icon-medium + ); + --system-menu-back-icon-margin: var( + --spectrum-navigational-indicator-top-to-back-icon-medium + ); + --system-menu-size-m-back-icon-margin: var( + --spectrum-navigational-indicator-top-to-back-icon-medium + ); + --system-menu-size-s-item-min-height: var(--spectrum-component-height-75); + --system-menu-size-s-item-icon-height: var( + --spectrum-workflow-icon-size-75 + ); + --system-menu-size-s-item-icon-width: var(--spectrum-workflow-icon-size-75); + --system-menu-size-s-item-label-font-size: var(--spectrum-font-size-75); + --system-menu-size-s-item-label-text-to-visual: var( + --spectrum-text-to-visual-75 + ); + --system-menu-size-s-item-label-inline-edge-to-content: var( + --spectrum-component-edge-to-text-75 + ); + --system-menu-size-s-item-top-edge-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-menu-size-s-item-bottom-edge-to-text: var( + --spectrum-component-bottom-to-text-75 + ); + --system-menu-size-s-item-text-to-control: var( + --spectrum-text-to-control-75 + ); + --system-menu-size-s-item-description-font-size: var( + --spectrum-font-size-50 + ); + --system-menu-size-s-section-header-font-size: var(--spectrum-font-size-75); + --system-menu-size-s-section-header-min-width: var( + --spectrum-component-height-75 + ); + --system-menu-size-s-item-selectable-edge-to-text-not-selected: var( + --spectrum-menu-item-selectable-edge-to-text-not-selected-small + ); + --system-menu-size-s-item-checkmark-height: var( + --spectrum-menu-item-checkmark-height-small + ); + --system-menu-size-s-item-checkmark-width: var( + --spectrum-menu-item-checkmark-width-small + ); + --system-menu-size-s-item-top-to-checkmark: var( + --spectrum-menu-item-top-to-selected-icon-small + ); + --system-menu-size-s-back-icon-margin: var( + --spectrum-navigational-indicator-top-to-back-icon-small + ); + --system-menu-size-l-item-min-height: var(--spectrum-component-height-200); + --system-menu-size-l-item-icon-height: var( + --spectrum-workflow-icon-size-200 + ); + --system-menu-size-l-item-icon-width: var( + --spectrum-workflow-icon-size-200 + ); + --system-menu-size-l-item-label-font-size: var(--spectrum-font-size-200); + --system-menu-size-l-item-label-text-to-visual: var( + --spectrum-text-to-visual-200 + ); + --system-menu-size-l-item-label-inline-edge-to-content: var( + --spectrum-component-edge-to-text-200 + ); + --system-menu-size-l-item-top-edge-to-text: var( + --spectrum-component-top-to-text-200 + ); + --system-menu-size-l-item-bottom-edge-to-text: var( + --spectrum-component-bottom-to-text-200 + ); + --system-menu-size-l-item-text-to-control: var( + --spectrum-text-to-control-200 + ); + --system-menu-size-l-item-description-font-size: var( + --spectrum-font-size-100 + ); + --system-menu-size-l-section-header-font-size: var( + --spectrum-font-size-200 + ); + --system-menu-size-l-section-header-min-width: var( + --spectrum-component-height-200 + ); + --system-menu-size-l-item-selectable-edge-to-text-not-selected: var( + --spectrum-menu-item-selectable-edge-to-text-not-selected-large + ); + --system-menu-size-l-item-checkmark-height: var( + --spectrum-menu-item-checkmark-height-large + ); + --system-menu-size-l-item-checkmark-width: var( + --spectrum-menu-item-checkmark-width-large + ); + --system-menu-size-l-item-top-to-checkmark: var( + --spectrum-menu-item-top-to-selected-icon-large + ); + --system-menu-size-l-back-icon-margin: var( + --spectrum-navigational-indicator-top-to-back-icon-large + ); + --system-menu-size-xl-item-min-height: var(--spectrum-component-height-300); + --system-menu-size-xl-item-icon-height: var( + --spectrum-workflow-icon-size-300 + ); + --system-menu-size-xl-item-icon-width: var( + --spectrum-workflow-icon-size-300 + ); + --system-menu-size-xl-item-label-font-size: var(--spectrum-font-size-300); + --system-menu-size-xl-item-label-text-to-visual: var( + --spectrum-text-to-visual-300 + ); + --system-menu-size-xl-item-label-inline-edge-to-content: var( + --spectrum-component-edge-to-text-300 + ); + --system-menu-size-xl-item-top-edge-to-text: var( + --spectrum-component-top-to-text-300 + ); + --system-menu-size-xl-item-bottom-edge-to-text: var( + --spectrum-component-bottom-to-text-300 + ); + --system-menu-size-xl-item-text-to-control: var( + --spectrum-text-to-control-300 + ); + --system-menu-size-xl-item-description-font-size: var( + --spectrum-font-size-200 + ); + --system-menu-size-xl-section-header-font-size: var( + --spectrum-font-size-300 + ); + --system-menu-size-xl-section-header-min-width: var( + --spectrum-component-height-300 + ); + --system-menu-size-xl-item-selectable-edge-to-text-not-selected: var( + --spectrum-menu-item-selectable-edge-to-text-not-selected-extra-large + ); + --system-menu-size-xl-item-checkmark-height: var( + --spectrum-menu-item-checkmark-height-extra-large + ); + --system-menu-size-xl-item-checkmark-width: var( + --spectrum-menu-item-checkmark-width-extra-large + ); + --system-menu-size-xl-item-top-to-checkmark: var( + --spectrum-menu-item-top-to-selected-icon-extra-large + ); + --system-menu-size-xl-back-icon-margin: var( + --spectrum-navigational-indicator-top-to-back-icon-extra-large + ); +} + +:host, +:root { + --system-meter-min-width: var(--spectrum-meter-minimum-width); + --system-meter-max-width: var(--spectrum-meter-maximum-width); + --system-meter-fill-color-positive: var(--spectrum-positive-visual-color); + --system-meter-fill-color-notice: var(--spectrum-notice-visual-color); + --system-meter-fill-color-negative: var(--spectrum-negative-visual-color); + --system-meter-thickness: var(--spectrum-meter-thickness-large); + --system-meter-size-l-thickness: var(--spectrum-meter-thickness-large); + --system-meter-inline-size: var(--spectrum-progressbar-size-2500); + --system-meter-size-l-inline-size: var(--spectrum-progressbar-size-2500); + --system-meter-font-size: var(--spectrum-font-size-100); + --system-meter-size-l-font-size: var(--spectrum-font-size-100); + --system-meter-top-to-text: var(--spectrum-component-top-to-text-200); + --system-meter-size-l-top-to-text: var( + --spectrum-component-top-to-text-200 + ); + --system-meter-size-s-thickness: var(--spectrum-meter-thickness-small); + --system-meter-size-s-inline-size: var(--spectrum-progressbar-size-2400); + --system-meter-size-s-font-size: var(--spectrum-font-size-75); + --system-meter-size-s-top-to-text: var(--spectrum-component-top-to-text-75); +} + +:host, +:root { + --system-modal-confirm-exit-animation-delay: var( + --spectrum-animation-duration-0 + ); + --system-modal-confirm-entry-animation-distance: var( + --spectrum-dialog-confirm-entry-animation-distance + ); + --system-modal-fullscreen-margin: 32px; + --system-modal-max-height: 90vh; + --system-modal-max-width: 90%; + --system-modal-background-color: var(--spectrum-background-layer-2-color); + --system-modal-confirm-border-radius: var(--spectrum-corner-radius-100); + --system-modal-confirm-exit-animation-duration: var( + --spectrum-animation-duration-100 + ); + --system-modal-confirm-entry-animation-duration: var( + --spectrum-animation-duration-500 + ); + --system-modal-confirm-entry-animation-delay: var( + --spectrum-animation-duration-200 + ); + --system-modal-transition-animation-duration: var( + --spectrum-animation-duration-100 + ); +} + +:host, +:root { + --system-picker-background-color-default: var(--spectrum-gray-50); + --system-picker-background-color-default-open: var(--spectrum-gray-100); + --system-picker-background-color-active: var(--spectrum-gray-200); + --system-picker-background-color-hover: var(--spectrum-gray-100); + --system-picker-background-color-hover-open: var(--spectrum-gray-100); + --system-picker-background-color-key-focus: var(--spectrum-gray-100); + --system-picker-border-color-default: var(--spectrum-gray-500); + --system-picker-border-color-default-open: var(--spectrum-gray-500); + --system-picker-border-color-hover: var(--spectrum-gray-600); + --system-picker-border-color-hover-open: var(--spectrum-gray-600); + --system-picker-border-color-active: var(--spectrum-gray-700); + --system-picker-border-color-key-focus: var(--spectrum-gray-600); + --system-picker-border-width: var(--spectrum-border-width-100); + --system-picker-font-size: var(--spectrum-font-size-100); + --system-picker-font-weight: var(--spectrum-regular-font-weight); + --system-picker-placeholder-font-style: var(--spectrum-default-font-style); + --system-picker-line-height: var(--spectrum-line-height-100); + --system-picker-block-size: var(--spectrum-component-height-100); + --system-picker-inline-size: var(--spectrum-field-width); + --system-picker-border-radius: var(--spectrum-corner-radius-100); + --system-picker-spacing-top-to-text: var( + --spectrum-component-top-to-text-100 + ); + --system-picker-spacing-bottom-to-text: var( + --spectrum-component-bottom-to-text-100 + ); + --system-picker-spacing-edge-to-text: var( + --spectrum-component-edge-to-text-100 + ); + --system-picker-spacing-edge-to-text-quiet: var( + --spectrum-field-edge-to-text-quiet + ); + --system-picker-spacing-label-to: var(--spectrum-field-label-to-component); + --system-picker-spacing-text-to-icon: var(--spectrum-text-to-visual-100); + --system-picker-spacing-text-to-icon-inline-end: var( + --spectrum-field-text-to-alert-icon-medium + ); + --system-picker-spacing-icon-to-disclosure-icon: var( + --spectrum-picker-visual-to-disclosure-icon-medium + ); + --system-picker-spacing-label-to-quiet: var( + --spectrum-field-label-to-component-quiet-medium + ); + --system-picker-spacing-top-to-alert-icon: var( + --spectrum-field-top-to-alert-icon-medium + ); + --system-picker-spacing-top-to-progress-circle: var( + --spectrum-field-top-to-progress-circle-medium + ); + --system-picker-spacing-top-to-disclosure-icon: var( + --spectrum-field-top-to-disclosure-icon-100 + ); + --system-picker-spacing-edge-to-disclosure-icon: var( + --spectrum-field-end-edge-to-disclosure-icon-100 + ); + --system-picker-spacing-edge-to-disclosure-icon-quiet: var( + --spectrum-picker-end-edge-to-disclousure-icon-quiet + ); + --system-picker-animation-duration: var(--spectrum-animation-duration-100); + --system-picker-font-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-picker-font-color-default-open: var( + --spectrum-neutral-content-color-focus + ); + --system-picker-font-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-picker-font-color-hover-open: var( + --spectrum-neutral-content-color-focus-hover + ); + --system-picker-font-color-active: var( + --spectrum-neutral-content-color-down + ); + --system-picker-font-color-key-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-picker-icon-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-picker-icon-color-default-open: var( + --spectrum-neutral-content-color-focus + ); + --system-picker-icon-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-picker-icon-color-hover-open: var( + --spectrum-neutral-content-color-focus-hover + ); + --system-picker-icon-color-active: var( + --spectrum-neutral-content-color-down + ); + --system-picker-icon-color-key-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-picker-border-color-error-default: var( + --spectrum-negative-border-color-default + ); + --system-picker-border-color-error-default-open: var( + --spectrum-negative-border-color-focus + ); + --system-picker-border-color-error-hover: var( + --spectrum-negative-border-color-hover + ); + --system-picker-border-color-error-hover-open: var( + --spectrum-negative-border-color-focus-hover + ); + --system-picker-border-color-error-active: var( + --spectrum-negative-border-color-down + ); + --system-picker-border-color-error-key-focus: var( + --spectrum-negative-border-color-key-focus + ); + --system-picker-icon-color-error: var(--spectrum-negative-visual-color); + --system-picker-background-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-picker-font-color-disabled: var(--spectrum-disabled-content-color); + --system-picker-icon-color-disabled: var(--spectrum-disabled-content-color); + --system-picker-focus-indicator-gap: var(--spectrum-focus-indicator-gap); + --system-picker-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-picker-focus-indicator-color: var( + --spectrum-focus-indicator-color + ); + --system-picker-next-to-popover-bottom-open-spacing-to-popover: var( + --spectrum-component-to-menu-medium + ); + --system-picker-size-s-font-size: var(--spectrum-font-size-75); + --system-picker-size-s-block-size: var(--spectrum-component-height-75); + --system-picker-size-s-spacing-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-picker-size-s-spacing-bottom-to-text: var( + --spectrum-component-bottom-to-text-75 + ); + --system-picker-size-s-spacing-edge-to-text: var( + --spectrum-component-edge-to-text-75 + ); + --system-picker-size-s-spacing-text-to-icon: var( + --spectrum-text-to-visual-75 + ); + --system-picker-size-s-spacing-text-to-icon-inline-end: var( + --spectrum-field-text-to-alert-icon-small + ); + --system-picker-size-s-spacing-icon-to-disclosure-icon: var( + --spectrum-picker-visual-to-disclosure-icon-small + ); + --system-picker-size-s-spacing-label-to-quiet: var( + --spectrum-field-label-to-component-quiet-small + ); + --system-picker-size-s-spacing-top-to-alert-icon: var( + --spectrum-field-top-to-alert-icon-small + ); + --system-picker-size-s-spacing-top-to-progress-circle: var( + --spectrum-field-top-to-progress-circle-small + ); + --system-picker-size-s-spacing-top-to-disclosure-icon: var( + --spectrum-field-top-to-disclosure-icon-75 + ); + --system-picker-size-s-spacing-edge-to-disclosure-icon: var( + --spectrum-field-end-edge-to-disclosure-icon-75 + ); + --system-picker-size-s-next-to-popover-bottom-open-spacing-to-popover: var( + --spectrum-component-to-menu-small + ); + --system-picker-size-l-font-size: var(--spectrum-font-size-200); + --system-picker-size-l-block-size: var(--spectrum-component-height-200); + --system-picker-size-l-spacing-top-to-text: var( + --spectrum-component-top-to-text-200 + ); + --system-picker-size-l-spacing-bottom-to-text: var( + --spectrum-component-bottom-to-text-200 + ); + --system-picker-size-l-spacing-edge-to-text: var( + --spectrum-component-edge-to-text-200 + ); + --system-picker-size-l-spacing-text-to-icon: var( + --spectrum-text-to-visual-200 + ); + --system-picker-size-l-spacing-text-to-icon-inline-end: var( + --spectrum-field-text-to-alert-icon-large + ); + --system-picker-size-l-spacing-icon-to-disclosure-icon: var( + --spectrum-picker-visual-to-disclosure-icon-large + ); + --system-picker-size-l-spacing-label-to-quiet: var( + --spectrum-field-label-to-component-quiet-large + ); + --system-picker-size-l-spacing-top-to-alert-icon: var( + --spectrum-field-top-to-alert-icon-large + ); + --system-picker-size-l-spacing-top-to-progress-circle: var( + --spectrum-field-top-to-progress-circle-large + ); + --system-picker-size-l-spacing-top-to-disclosure-icon: var( + --spectrum-field-top-to-disclosure-icon-200 + ); + --system-picker-size-l-spacing-edge-to-disclosure-icon: var( + --spectrum-field-end-edge-to-disclosure-icon-200 + ); + --system-picker-size-l-next-to-popover-bottom-open-spacing-to-popover: var( + --spectrum-component-to-menu-large + ); + --system-picker-size-xl-font-size: var(--spectrum-font-size-300); + --system-picker-size-xl-block-size: var(--spectrum-component-height-300); + --system-picker-size-xl-spacing-top-to-text: var( + --spectrum-component-top-to-text-300 + ); + --system-picker-size-xl-spacing-bottom-to-text: var( + --spectrum-component-bottom-to-text-300 + ); + --system-picker-size-xl-spacing-edge-to-text: var( + --spectrum-component-edge-to-text-300 + ); + --system-picker-size-xl-spacing-text-to-icon: var( + --spectrum-text-to-visual-300 + ); + --system-picker-size-xl-spacing-text-to-icon-inline-end: var( + --spectrum-field-text-to-alert-icon-extra-large + ); + --system-picker-size-xl-spacing-icon-to-disclosure-icon: var( + --spectrum-picker-visual-to-disclosure-icon-extra-large + ); + --system-picker-size-xl-spacing-label-to-quiet: var( + --spectrum-field-label-to-component-quiet-extra-large + ); + --system-picker-size-xl-spacing-top-to-alert-icon: var( + --spectrum-field-top-to-alert-icon-extra-large + ); + --system-picker-size-xl-spacing-top-to-progress-circle: var( + --spectrum-field-top-to-progress-circle-extra-large + ); + --system-picker-size-xl-spacing-top-to-disclosure-icon: var( + --spectrum-field-top-to-disclosure-icon-300 + ); + --system-picker-size-xl-spacing-edge-to-disclosure-icon: var( + --spectrum-field-end-edge-to-disclosure-icon-300 + ); + --system-picker-size-xl-next-to-popover-bottom-open-spacing-to-popover: var( + --spectrum-component-to-menu-extra-large + ); +} + +:host, +:root { + --system-picker-button-background-color: var(--spectrum-gray-50); + --system-picker-button-background-color-hover: var(--spectrum-gray-100); + --system-picker-button-background-color-down: var(--spectrum-gray-200); + --system-picker-button-background-color-key-focus: var(--spectrum-gray-100); + --system-picker-button-border-color: inherit; + --system-picker-button-border-radius: var(--spectrum-corner-radius-100); + --system-picker-button-border-radius-rounded-sided: 0; + --system-picker-button-border-radius-sided: 0; + --system-picker-button-border-width: var(--spectrum-border-width-100); + --system-picker-button-height: var(--spectrum-component-height-100); + --system-picker-button-width: var(--spectrum-component-height-100); + --system-picker-button-gap: var(--spectrum-text-to-visual-50); + --system-picker-button-padding: var( + --spectrum-in-field-button-edge-to-fill + ); + --system-picker-button-label-padding: var(--spectrum-text-to-visual-50); + --system-picker-button-fill-padding: var( + --spectrum-field-edge-to-disclosure-icon-100 + ); + --system-picker-button-border-radius-rounded: var( + --spectrum-corner-radius-500 + ); + --system-picker-button-icon-color: var( + --spectrum-neutral-content-color-default + ); + --system-picker-button-icon-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-picker-button-icon-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-picker-button-icon-color-key-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-picker-button-font-color: var( + --spectrum-neutral-content-color-default + ); + --system-picker-button-font-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-picker-button-font-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-picker-button-font-color-key-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-picker-button-font-family: var(--spectrum-sans-font-family-stack); + --system-picker-button-font-style: var(--spectrum-default-font-style); + --system-picker-button-font-weight: var( + --spectrum-body-sans-serif-font-weight + ); + --system-picker-button-font-size: var(--spectrum-font-size-100); + --system-picker-button-background-animation-duration: var( + --spectrum-animation-duration-100 + ); + --system-picker-button-background-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-picker-button-background-color-hover-disabled: var( + --spectrum-disabled-background-color + ); + --system-picker-button-background-color-down-disabled: var( + --spectrum-disabled-background-color + ); + --system-picker-button-border-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-picker-button-font-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-picker-button-font-color-hover-disabled: var( + --spectrum-disabled-content-color + ); + --system-picker-button-font-color-down-disabled: var( + --spectrum-disabled-content-color + ); + --system-picker-button-icon-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-picker-button-icon-color-hover-disabled: var( + --spectrum-disabled-content-color + ); + --system-picker-button-icon-color-down-disabled: var( + --spectrum-disabled-content-color + ); + --system-picker-button-size-s-height: var(--spectrum-component-height-75); + --system-picker-button-size-s-width: var(--spectrum-component-height-75); + --system-picker-button-size-s-label-padding: var(--spectrum-spacing-75); + --system-picker-button-size-s-font-size: var(--spectrum-font-size-75); + --system-picker-button-size-s-fill-padding: var( + --spectrum-field-edge-to-disclosure-icon-75 + ); + --system-picker-button-size-l-height: var(--spectrum-component-height-200); + --system-picker-button-size-l-width: var(--spectrum-component-height-200); + --system-picker-button-size-l-label-padding: var( + --spectrum-text-to-visual-200 + ); + --system-picker-button-size-l-font-size: var(--spectrum-font-size-200); + --system-picker-button-size-l-fill-padding: var( + --spectrum-field-edge-to-disclosure-icon-200 + ); + --system-picker-button-size-xl-height: var(--spectrum-component-height-300); + --system-picker-button-size-xl-width: var(--spectrum-component-height-300); + --system-picker-button-size-xl-label-padding: var( + --spectrum-text-to-visual-300 + ); + --system-picker-button-size-xl-font-size: var(--spectrum-font-size-300); + --system-picker-button-size-xl-fill-padding: var( + --spectrum-field-edge-to-disclosure-icon-300 + ); +} + +:host, +:root { + --system-popover-border-width: var(--spectrum-border-width-100); + --system-popover-animation-distance: var(--spectrum-spacing-100); + --system-popover-background-color: var(--spectrum-background-layer-2-color); + --system-popover-border-color: var(--spectrum-gray-400); + --system-popover-content-area-spacing-vertical: var( + --spectrum-popover-top-to-content-area + ); + --system-popover-shadow-horizontal: var(--spectrum-drop-shadow-x); + --system-popover-shadow-vertical: var(--spectrum-drop-shadow-y); + --system-popover-shadow-blur: var(--spectrum-drop-shadow-blur); + --system-popover-shadow-color: var(--spectrum-drop-shadow-color); + --system-popover-corner-radius: var(--spectrum-corner-radius-100); + --system-popover-pointer-width: var(--spectrum-popover-tip-width); + --system-popover-pointer-height: var(--spectrum-popover-tip-height); + --system-popover-pointer-edge-offset: calc( + var(--spectrum-corner-radius-100) + var(--spectrum-popover-tip-width) / + 2 + ); + --system-popover-pointer-edge-spacing: calc( + var(--system-popover-pointer-edge-offset) - + var(--spectrum-popover-tip-width) / 2 + ); +} + +:host, +:root { + --system-progress-bar-animation-ease-in-out-indeterminate: var( + --spectrum-animation-ease-in-out + ); + --system-progress-bar-animation-duration-indeterminate: var( + --spectrum-animation-duration-2000 + ); + --system-progress-bar-corner-radius: var(--spectrum-corner-radius-100); + --system-progress-bar-fill-size-indeterminate: 70%; + --system-progress-bar-size-2400: 192px; + --system-progress-bar-size-2500: 200px; + --system-progress-bar-size-2800: 224px; + --system-progress-bar-line-height-cjk: var(--spectrum-cjk-line-height-100); + --system-progress-bar-min-size: var(--spectrum-progress-bar-minimum-width); + --system-progress-bar-max-size: var(--spectrum-progress-bar-maximum-width); + --system-progress-bar-line-height: var(--spectrum-line-height-100); + --system-progress-bar-spacing-label-to: var(--spectrum-spacing-75); + --system-progress-bar-spacing-label-to-text: var(--spectrum-spacing-200); + --system-progress-bar-text-color: var( + --spectrum-neutral-content-color-default + ); + --system-progress-bar-track-color: var(--spectrum-gray-200); + --system-progress-bar-fill-color: var(--spectrum-accent-color-900); + --system-progress-bar-label-and-value-white: var(--spectrum-white); + --system-progress-bar-track-color-white: var( + --spectrum-transparent-white-400 + ); + --system-progress-bar-fill-color-white: var(--spectrum-white); + --system-progress-bar-size-default: var(--system-progress-bar-size-2400); + --system-progress-bar-size-m-size-default: var( + --system-progress-bar-size-2400 + ); + --system-progress-bar-font-size: var(--spectrum-font-size-75); + --system-progress-bar-size-m-font-size: var(--spectrum-font-size-75); + --system-progress-bar-thickness: var( + --spectrum-progress-bar-thickness-large + ); + --system-progress-bar-size-m-thickness: var( + --spectrum-progress-bar-thickness-large + ); + --system-progress-bar-spacing-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-progress-bar-size-m-spacing-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-progress-bar-size-s-size-default: var( + --system-progress-bar-size-2400 + ); + --system-progress-bar-size-s-font-size: var(--spectrum-font-size-75); + --system-progress-bar-size-s-thickness: var( + --spectrum-progress-bar-thickness-small + ); + --system-progress-bar-size-s-spacing-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-progress-bar-size-l-size-default: var( + --system-progress-bar-size-2500 + ); + --system-progress-bar-size-l-font-size: var(--spectrum-font-size-100); + --system-progress-bar-size-l-thickness: var( + --spectrum-progress-bar-thickness-large + ); + --system-progress-bar-size-l-spacing-top-to-text: var( + --spectrum-component-top-to-text-200 + ); + --system-progress-bar-size-xl-size-default: var( + --system-progress-bar-size-2800 + ); + --system-progress-bar-size-xl-font-size: var(--spectrum-font-size-200); + --system-progress-bar-size-xl-thickness: var( + --spectrum-progress-bar-thickness-extra-large + ); + --system-progress-bar-size-xl-spacing-top-to-text: var( + --spectrum-component-top-to-text-300 + ); +} + +:host, +:root { + --system-progress-circle-track-border-color: var(--spectrum-gray-200); + --system-progress-circle-fill-border-color: var( + --spectrum-accent-content-color-default + ); + --system-progress-circle-track-border-color-over-background: var( + --spectrum-transparent-white-400 + ); + --system-progress-circle-fill-border-color-over-background: var( + --spectrum-transparent-white-1000 + ); + --system-progress-circle-size: var(--spectrum-progress-circle-size-medium); + --system-progress-circle-thickness: var( + --spectrum-progress-circle-thickness-medium + ); + --system-progress-circle-track-border-style: solid; + --system-progress-circle-small-size: var( + --spectrum-progress-circle-size-small + ); + --system-progress-circle-small-thickness: var( + --spectrum-progress-circle-thickness-small + ); + --system-progress-circle-medium-size: var( + --spectrum-progress-circle-size-medium + ); + --system-progress-circle-medium-thickness: var( + --spectrum-progress-circle-thickness-medium + ); + --system-progress-circle-large-size: var( + --spectrum-progress-circle-size-large + ); + --system-progress-circle-large-thickness: var( + --spectrum-progress-circle-thickness-large + ); +} + +:host, +:root { + --system-radio-button-border-color-default: var(--spectrum-gray-600); + --system-radio-button-border-color-hover: var(--spectrum-gray-700); + --system-radio-button-border-color-down: var(--spectrum-gray-800); + --system-radio-button-border-color-focus: var(--spectrum-gray-700); + --system-radio-neutral-content-color: var( + --spectrum-neutral-content-color-default + ); + --system-radio-neutral-content-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-radio-neutral-content-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-radio-neutral-content-color-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-radio-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-radio-focus-indicator-gap: var(--spectrum-focus-indicator-gap); + --system-radio-focus-indicator-color: var(--spectrum-focus-indicator-color); + --system-radio-disabled-content-color: var( + --spectrum-disabled-content-color + ); + --system-radio-disabled-border-color: var( + --spectrum-disabled-content-color + ); + --system-radio-emphasized-accent-color: var(--spectrum-accent-color-900); + --system-radio-emphasized-accent-color-hover: var( + --spectrum-accent-color-1000 + ); + --system-radio-emphasized-accent-color-down: var( + --spectrum-accent-color-1100 + ); + --system-radio-emphasized-accent-color-focus: var( + --spectrum-accent-color-1000 + ); + --system-radio-border-width: var(--spectrum-border-width-200); + --system-radio-button-background-color: var(--spectrum-gray-50); + --system-radio-button-checked-border-color-default: var( + --spectrum-neutral-background-color-selected-default + ); + --system-radio-button-checked-border-color-hover: var( + --spectrum-neutral-background-color-selected-hover + ); + --system-radio-button-checked-border-color-down: var( + --spectrum-neutral-background-color-selected-down + ); + --system-radio-button-checked-border-color-focus: var( + --spectrum-neutral-background-color-selected-focus + ); + --system-radio-line-height: var(--spectrum-line-height-100); + --system-radio-animation-duration: var(--spectrum-animation-duration-100); + --system-radio-lang-ja-line-height-cjk: var(--spectrum-cjk-line-height-100); + --system-radio-lang-zh-line-height-cjk: var(--spectrum-cjk-line-height-100); + --system-radio-lang-ko-line-height-cjk: var(--spectrum-cjk-line-height-100); + --system-radio-height: var(--spectrum-component-height-100); + --system-radio-size-m-height: var(--spectrum-component-height-100); + --system-radio-button-control-size: var( + --spectrum-radio-button-control-size-medium + ); + --system-radio-size-m-button-control-size: var( + --spectrum-radio-button-control-size-medium + ); + --system-radio-text-to-control: var(--spectrum-text-to-control-100); + --system-radio-size-m-text-to-control: var(--spectrum-text-to-control-100); + --system-radio-label-top-to-text: var(--spectrum-component-top-to-text-100); + --system-radio-size-m-label-top-to-text: var( + --spectrum-component-top-to-text-100 + ); + --system-radio-label-bottom-to-text: var( + --spectrum-component-bottom-to-text-100 + ); + --system-radio-size-m-label-bottom-to-text: var( + --spectrum-component-bottom-to-text-100 + ); + --system-radio-button-top-to-control: var( + --spectrum-radio-button-top-to-control-medium + ); + --system-radio-size-m-button-top-to-control: var( + --spectrum-radio-button-top-to-control-medium + ); + --system-radio-font-size: var(--spectrum-font-size-100); + --system-radio-size-m-font-size: var(--spectrum-font-size-100); + --system-radio-size-s-height: var(--spectrum-component-height-75); + --system-radio-size-s-button-control-size: var( + --spectrum-radio-button-control-size-small + ); + --system-radio-size-s-text-to-control: var(--spectrum-text-to-control-75); + --system-radio-size-s-label-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-radio-size-s-label-bottom-to-text: var( + --spectrum-component-bottom-to-text-75 + ); + --system-radio-size-s-button-top-to-control: var( + --spectrum-radio-button-top-to-control-small + ); + --system-radio-size-s-font-size: var(--spectrum-font-size-75); + --system-radio-size-l-height: var(--spectrum-component-height-200); + --system-radio-size-l-button-control-size: var( + --spectrum-radio-button-control-size-large + ); + --system-radio-size-l-text-to-control: var(--spectrum-text-to-control-200); + --system-radio-size-l-label-top-to-text: var( + --spectrum-component-top-to-text-200 + ); + --system-radio-size-l-label-bottom-to-text: var( + --spectrum-component-bottom-to-text-200 + ); + --system-radio-size-l-button-top-to-control: var( + --spectrum-radio-button-top-to-control-large + ); + --system-radio-size-l-font-size: var(--spectrum-font-size-200); + --system-radio-size-xl-height: var(--spectrum-component-height-300); + --system-radio-size-xl-button-control-size: var( + --spectrum-radio-button-control-size-extra-large + ); + --system-radio-size-xl-text-to-control: var(--spectrum-text-to-control-300); + --system-radio-size-xl-label-top-to-text: var( + --spectrum-component-top-to-text-300 + ); + --system-radio-size-xl-label-bottom-to-text: var( + --spectrum-component-bottom-to-text-300 + ); + --system-radio-size-xl-button-top-to-control: var( + --spectrum-radio-button-top-to-control-extra-large + ); + --system-radio-size-xl-font-size: var(--spectrum-font-size-300); + --system-radio-emphasized-button-checked-border-color-default: var( + --spectrum-accent-color-900 + ); + --system-radio-emphasized-button-checked-border-color-hover: var( + --spectrum-accent-color-1000 + ); + --system-radio-emphasized-button-checked-border-color-down: var( + --spectrum-accent-color-1100 + ); + --system-radio-emphasized-button-checked-border-color-focus: var( + --spectrum-accent-color-1000 + ); +} + +:host, +:root { + --system-search-border-color-default: var(--spectrum-gray-500); + --system-search-border-color-hover: var(--spectrum-gray-600); + --system-search-border-color-focus: var(--spectrum-gray-800); + --system-search-border-color-focus-hover: var(--spectrum-gray-900); + --system-search-border-color-key-focus: var(--spectrum-gray-900); + --system-search-inline-size: var(--spectrum-field-width); + --system-search-min-inline-multiplier: var( + --spectrum-search-field-minimum-width-multiplier + ); + --system-search-to-help-text: var(--spectrum-help-text-to-component); + --system-search-top-to-text: var(--spectrum-component-top-to-text-100); + --system-search-bottom-to-text: var( + --spectrum-component-bottom-to-text-100 + ); + --system-search-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-search-focus-indicator-gap: var(--spectrum-focus-indicator-gap); + --system-search-focus-indicator-color: var( + --spectrum-focus-indicator-color + ); + --system-search-font-family: var(--spectrum-sans-font-family-stack); + --system-search-font-weight: var(--spectrum-regular-font-weight); + --system-search-font-style: var(--spectrum-default-font-style); + --system-search-line-height: var(--spectrum-line-height-100); + --system-search-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-search-color-hover: var(--spectrum-neutral-content-color-hover); + --system-search-color-focus: var(--spectrum-neutral-content-color-focus); + --system-search-color-focus-hover: var( + --spectrum-neutral-content-color-focus-hover + ); + --system-search-color-key-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-search-border-width: var(--spectrum-border-width-100); + --system-search-background-color: var(--spectrum-gray-25); + --system-search-color-disabled: var(--spectrum-disabled-content-color); + --system-search-background-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-search-border-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-search-border-radius: var(--spectrum-corner-radius-100); + --system-search-size-m-border-radius: var(--spectrum-corner-radius-100); + --system-search-edge-to-visual: var( + --spectrum-component-edge-to-visual-100 + ); + --system-search-size-m-edge-to-visual: var( + --spectrum-component-edge-to-visual-100 + ); + --system-search-block-size: var(--spectrum-component-height-100); + --system-search-size-m-block-size: var(--spectrum-component-height-100); + --system-search-icon-size: var(--spectrum-workflow-icon-size-100); + --system-search-size-m-icon-size: var(--spectrum-workflow-icon-size-100); + --system-search-text-to-icon: var(--spectrum-text-to-visual-100); + --system-search-size-m-text-to-icon: var(--spectrum-text-to-visual-100); + --system-search-size-s-border-radius: var(--spectrum-corner-radius-100); + --system-search-size-s-edge-to-visual: var( + --spectrum-component-edge-to-visual-75 + ); + --system-search-size-s-block-size: var(--spectrum-component-height-75); + --system-search-size-s-icon-size: var(--spectrum-workflow-icon-size-75); + --system-search-size-s-text-to-icon: var(--spectrum-text-to-visual-75); + --system-search-size-l-border-radius: var(--spectrum-corner-radius-100); + --system-search-size-l-edge-to-visual: var( + --spectrum-component-edge-to-visual-200 + ); + --system-search-size-l-block-size: var(--spectrum-component-height-200); + --system-search-size-l-icon-size: var(--spectrum-workflow-icon-size-200); + --system-search-size-l-text-to-icon: var(--spectrum-text-to-visual-200); + --system-search-size-xl-border-radius: var(--spectrum-corner-radius-100); + --system-search-size-xl-edge-to-visual: var( + --spectrum-component-edge-to-visual-300 + ); + --system-search-size-xl-block-size: var(--spectrum-component-height-300); + --system-search-size-xl-icon-size: var(--spectrum-workflow-icon-size-300); + --system-search-size-xl-text-to-icon: var(--spectrum-text-to-visual-300); + --system-search-quiet-background-color: transparent; + --system-search-quiet-background-color-disabled: transparent; + --system-search-quiet-border-color-disabled: var( + --spectrum-disabled-border-color + ); + --system-search-quiet-border-radius: 0; + --system-search-quiet-edge-to-visual: var( + --spectrum-field-edge-to-visual-quiet + ); +} + +:host, +:root { + --system-side-nav-focus-ring-size: var( + --spectrum-focus-indicator-thickness + ); + --system-side-nav-focus-ring-gap: var(--spectrum-focus-indicator-gap); + --system-side-nav-focus-ring-color: var(--spectrum-focus-indicator-color); + --system-side-nav-min-height: var(--spectrum-component-height-100); + --system-side-nav-width: 100%; + --system-side-nav-min-width: var(--spectrum-side-navigation-minimum-width); + --system-side-nav-max-width: var(--spectrum-side-navigation-maximum-width); + --system-side-nav-border-radius: var(--spectrum-corner-radius-100); + --system-side-nav-icon-size: var(--spectrum-workflow-icon-size-100); + --system-side-nav-icon-spacing: var(--spectrum-text-to-visual-100); + --system-side-nav-inline-padding: var( + --spectrum-component-edge-to-text-100 + ); + --system-side-nav-gap: var(--spectrum-side-navigation-item-to-item); + --system-side-nav-top-to-icon: var( + --spectrum-component-top-to-workflow-icon-100 + ); + --system-side-nav-top-to-label: var(--spectrum-component-top-to-text-100); + --system-side-nav-bottom-to-label: var( + --spectrum-side-navigation-bottom-to-text + ); + --system-side-nav-start-to-content-second-level: var( + --spectrum-side-navigation-second-level-edge-to-text + ); + --system-side-nav-start-to-content-third-level: var( + --spectrum-side-navigation-third-level-edge-to-text + ); + --system-side-nav-start-to-content-with-icon-second-level: var( + --spectrum-side-navigation-with-icon-second-level-edge-to-text + ); + --system-side-nav-start-to-content-with-icon-third-level: var( + --spectrum-side-navigation-with-icon-third-level-edge-to-text + ); + --system-side-nav-heading-top-margin: var( + --spectrum-side-navigation-item-to-header + ); + --system-side-nav-heading-bottom-margin: var( + --spectrum-side-navigation-header-to-item + ); + --system-side-nav-background-disabled: transparent; + --system-side-nav-background-default: transparent; + --system-side-nav-background-hover: var(--spectrum-gray-100); + --system-side-nav-item-background-down: var(--spectrum-gray-200); + --system-side-nav-background-key-focus: var(--spectrum-gray-100); + --system-side-nav-item-background-default-selected: var( + --spectrum-gray-100 + ); + --system-side-nav-background-hover-selected: var(--spectrum-gray-200); + --system-side-nav-item-background-down-selected: var(--spectrum-gray-200); + --system-side-nav-background-key-focus-selected: var(--spectrum-gray-100); + --system-side-nav-header-color: var(--spectrum-gray-600); + --system-side-nav-content-disabled-color: var( + --spectrum-disabled-content-color + ); + --system-side-nav-content-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-side-nav-content-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-side-nav-content-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-side-nav-content-color-key-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-side-nav-content-color-default-selected: var( + --spectrum-neutral-content-color-default + ); + --system-side-nav-content-color-hover-selected: var( + --spectrum-neutral-content-color-hover + ); + --system-side-nav-content-color-down-selected: var( + --spectrum-neutral-content-color-down + ); + --system-side-nav-content-color-key-focus-selected: var( + --spectrum-neutral-content-color-key-focus + ); + --system-side-nav-text-font-family: var(--spectrum-sans-font-family-stack); + --system-side-nav-text-font-weight: var(--spectrum-regular-font-weight); + --system-side-nav-text-font-style: var(--spectrum-default-font-style); + --system-side-nav-text-font-size: var(--spectrum-font-size-100); + --system-side-nav-text-line-height: var(--spectrum-line-height-100); + --system-side-nav-top-level-font-family: var( + --spectrum-sans-font-family-stack + ); + --system-side-nav-top-level-font-weight: var(--spectrum-bold-font-weight); + --system-side-nav-top-level-font-style: var(--spectrum-default-font-style); + --system-side-nav-top-level-font-size: var(--spectrum-font-size-100); + --system-side-nav-top-level-line-height: var(--spectrum-line-height-100); + --system-side-nav-header-font-family: var( + --spectrum-sans-font-family-stack + ); + --system-side-nav-header-font-weight: var(--spectrum-medium-font-weight); + --system-side-nav-header-font-style: var(--spectrum-default-font-style); + --system-side-nav-header-font-size: var(--spectrum-font-size-75); + --system-side-nav-header-line-height: var(--spectrum-line-height-100); + --system-side-nav-lang-ja-text-line-height: var( + --spectrum-cjk-line-height-100 + ); + --system-side-nav-lang-zh-text-line-height: var( + --spectrum-cjk-line-height-100 + ); + --system-side-nav-lang-ko-text-line-height: var( + --spectrum-cjk-line-height-100 + ); + --system-side-nav-lang-ja-top-level-line-height: var( + --spectrum-cjk-line-height-100 + ); + --system-side-nav-lang-zh-top-level-line-height: var( + --spectrum-cjk-line-height-100 + ); + --system-side-nav-lang-ko-top-level-line-height: var( + --spectrum-cjk-line-height-100 + ); + --system-side-nav-lang-ja-header-line-height: var( + --spectrum-cjk-line-height-100 + ); + --system-side-nav-lang-zh-header-line-height: var( + --spectrum-cjk-line-height-100 + ); + --system-side-nav-lang-ko-header-line-height: var( + --spectrum-cjk-line-height-100 + ); +} + +:host, +:root { + --system-slider-track-color: var(--spectrum-gray-200); + --system-slider-track-fill-color: var(--spectrum-gray-700); + --system-slider-ramp-track-color: var(--spectrum-gray-400); + --system-slider-ramp-track-color-disabled: var(--spectrum-gray-100); + --system-slider-handle-background-color: transparent; + --system-slider-handle-background-color-disabled: transparent; + --system-slider-ramp-handle-background-color: var(--spectrum-gray-75); + --system-slider-ticks-handle-background-color: var(--spectrum-gray-75); + --system-slider-handle-border-color: var(--spectrum-gray-700); + --system-slider-handle-disabled-background-color: var(--spectrum-gray-75); + --system-slider-tick-mark-color: var(--spectrum-gray-200); + --system-slider-handle-border-color-hover: var(--spectrum-gray-800); + --system-slider-handle-border-color-down: var(--spectrum-gray-800); + --system-slider-handle-border-color-key-focus: var(--spectrum-gray-800); + --system-slider-handle-focus-ring-color-key-focus: var( + --spectrum-focus-indicator-color + ); + --system-slider-value-inline-size: 18px; + --system-slider-ramp-track-block-size: var( + --spectrum-slider-ramp-track-height + ); + --system-slider-cjk-line-height: var(--spectrum-cjk-line-height-100); + --system-slider-min-size: var(--spectrum-spacing-900); + --system-slider-track-corner-radius: 2px; + --system-slider-label-margin-start: var(--spectrum-spacing-300); + --system-slider-handle-border-width: var(--spectrum-border-width-200); + --system-slider-track-fill-thickness: var( + --spectrum-slider-track-thickness + ); + --system-slider-tick-mark-width: var(--spectrum-border-width-200); + --system-slider-tick-mark-border-radius: 2px; + --system-slider-tick-handle-background-color: var(--spectrum-gray-75); + --system-slider-track-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-slider-track-fill-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-slider-handle-border-color-disabled: var( + --spectrum-disabled-border-color + ); + --system-slider-label-text-color: var( + --spectrum-neutral-content-color-default + ); + --system-slider-tick-label-color: var( + --spectrum-neutral-content-color-default + ); + --system-slider-label-text-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-slider-tick-mark-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-slider-ramp-handle-border-color-active: var(--spectrum-gray-75); + --system-slider-track-handleoffset: var(--spectrum-slider-handle-gap); + --system-slider-range-track-reset: 0; + --system-slider-font-size: var(--spectrum-font-size-75); + --system-slider-size-m-font-size: var(--spectrum-font-size-75); + --system-slider-handle-size: var(--spectrum-slider-handle-size-medium); + --system-slider-size-m-handle-size: var( + --spectrum-slider-handle-size-medium + ); + --system-slider-control-height: var(--spectrum-component-height-100); + --system-slider-size-m-control-height: var(--spectrum-component-height-100); + --system-slider-handle-border-radius: var(--spectrum-corner-radius-500); + --system-slider-size-m-handle-border-radius: var( + --spectrum-corner-radius-500 + ); + --system-slider-handle-border-width-down: var( + --spectrum-slider-handle-border-width-down-medium + ); + --system-slider-size-m-handle-border-width-down: var( + --spectrum-slider-handle-border-width-down-medium + ); + --system-slider-label-top-to-text: var(--spectrum-component-top-to-text-75); + --system-slider-size-m-label-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-slider-control-to-field-label: var( + --spectrum-slider-control-to-field-label-medium + ); + --system-slider-size-m-control-to-field-label: var( + --spectrum-slider-control-to-field-label-medium + ); + --system-slider-value-side-padding-inline: var(--spectrum-spacing-200); + --system-slider-size-m-value-side-padding-inline: var( + --spectrum-spacing-200 + ); + --system-slider-size-s-font-size: var(--spectrum-font-size-75); + --system-slider-size-s-handle-size: var( + --spectrum-slider-handle-size-small + ); + --system-slider-size-s-control-height: var(--spectrum-component-height-75); + --system-slider-size-s-handle-border-radius: var( + --spectrum-corner-radius-500 + ); + --system-slider-size-s-handle-border-width-down: var( + --spectrum-slider-handle-border-width-down-small + ); + --system-slider-size-s-label-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-slider-size-s-control-to-field-label: var( + --spectrum-slider-control-to-field-label-small + ); + --system-slider-size-s-value-side-padding-inline: var( + --spectrum-spacing-100 + ); + --system-slider-size-l-font-size: var(--spectrum-font-size-100); + --system-slider-size-l-handle-size: var( + --spectrum-slider-handle-size-large + ); + --system-slider-size-l-control-height: var(--spectrum-component-height-200); + --system-slider-size-l-handle-border-radius: calc( + var(--spectrum-corner-radius-500) * 4 + ); + --system-slider-size-l-handle-border-width-down: var( + --spectrum-slider-handle-border-width-down-large + ); + --system-slider-size-l-label-top-to-text: var( + --spectrum-component-top-to-text-100 + ); + --system-slider-size-l-control-to-field-label: var( + --spectrum-slider-control-to-field-label-large + ); + --system-slider-size-l-value-side-padding-inline: var( + --spectrum-spacing-200 + ); + --system-slider-size-l-value-inline-size: 18px; + --system-slider-size-xl-font-size: var(--spectrum-font-size-200); + --system-slider-size-xl-handle-size: var( + --spectrum-slider-handle-size-extra-large + ); + --system-slider-size-xl-control-height: var( + --spectrum-component-height-300 + ); + --system-slider-size-xl-handle-border-radius: calc( + var(--spectrum-corner-radius-500) * 4 + ); + --system-slider-size-xl-handle-border-width-down: var( + --spectrum-slider-handle-border-width-down-extra-large + ); + --system-slider-size-xl-label-top-to-text: var( + --spectrum-component-top-to-text-200 + ); + --system-slider-size-xl-control-to-field-label: var( + --spectrum-slider-control-to-field-label-extra-large + ); + --system-slider-size-xl-value-side-padding-inline: var( + --spectrum-spacing-200 + ); + --system-slider-size-xl-value-inline-size: 22px; +} + +:host, +:root { + --system-split-view-vertical-width: 100%; + --system-split-view-vertical-gripper-width: 50%; + --system-split-view-vertical-gripper-outer-width: 100%; + --system-split-view-vertical-gripper-reset: 0; + --system-split-view-background-color: var(--spectrum-gray-75); + --system-split-view-content-color: var(--spectrum-body-color); + --system-split-view-handle-background-color: var(--spectrum-gray-200); + --system-split-view-handle-background-color-hover: var(--spectrum-gray-400); + --system-split-view-handle-background-color-down: var(--spectrum-gray-800); + --system-split-view-handle-background-color-focus: var( + --spectrum-focus-indicator-color + ); + --system-split-view-handle-width: var(--spectrum-border-width-200); + --system-split-view-gripper-border-radius: 2px; + --system-split-view-gripper-width: var(--spectrum-border-width-400); + --system-split-view-gripper-height: 16px; + --system-split-view-gripper-border-width-horizontal: 3px; + --system-split-view-gripper-border-width-vertical: var( + --spectrum-border-width-400 + ); +} + +:host, +:root { + --system-status-light-corner-radius: 50%; + --system-status-light-font-weight: 400; + --system-status-light-border-width: var(--spectrum-border-width-100); + --system-status-light-line-height: var(--spectrum-line-height-100); + --system-status-light-line-height-cjk: var(--spectrum-cjk-line-height-100); + --system-status-light-content-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-status-light-subdued-content-color-default: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-status-light-semantic-neutral-color: var( + --spectrum-neutral-visual-color + ); + --system-status-light-semantic-accent-color: var( + --spectrum-accent-visual-color + ); + --system-status-light-semantic-negative-color: var( + --spectrum-negative-visual-color + ); + --system-status-light-semantic-info-color: var( + --spectrum-informative-visual-color + ); + --system-status-light-semantic-notice-color: var( + --spectrum-notice-visual-color + ); + --system-status-light-semantic-positive-color: var( + --spectrum-positive-visual-color + ); + --system-status-light-nonsemantic-gray-color: var( + --spectrum-gray-visual-color + ); + --system-status-light-nonsemantic-red-color: var( + --spectrum-red-visual-color + ); + --system-status-light-nonsemantic-orange-color: var( + --spectrum-orange-visual-color + ); + --system-status-light-nonsemantic-yellow-color: var( + --spectrum-yellow-visual-color + ); + --system-status-light-nonsemantic-chartreuse-color: var( + --spectrum-chartreuse-visual-color + ); + --system-status-light-nonsemantic-celery-color: var( + --spectrum-celery-visual-color + ); + --system-status-light-nonsemantic-green-color: var( + --spectrum-green-visual-color + ); + --system-status-light-nonsemantic-seafoam-color: var( + --spectrum-seafoam-visual-color + ); + --system-status-light-nonsemantic-cyan-color: var( + --spectrum-cyan-visual-color + ); + --system-status-light-nonsemantic-blue-color: var( + --spectrum-blue-visual-color + ); + --system-status-light-nonsemantic-indigo-color: var( + --spectrum-indigo-visual-color + ); + --system-status-light-nonsemantic-purple-color: var( + --spectrum-purple-visual-color + ); + --system-status-light-nonsemantic-fuchsia-color: var( + --spectrum-fuchsia-visual-color + ); + --system-status-light-nonsemantic-magenta-color: var( + --spectrum-magenta-visual-color + ); + --system-status-light-height: var(--spectrum-component-height-100); + --system-status-light-size-m-height: var(--spectrum-component-height-100); + --system-status-light-dot-size: var( + --spectrum-status-light-dot-size-medium + ); + --system-status-light-size-m-dot-size: var( + --spectrum-status-light-dot-size-medium + ); + --system-status-light-font-size: var(--spectrum-font-size-100); + --system-status-light-size-m-font-size: var(--spectrum-font-size-100); + --system-status-light-spacing-dot-to-label: var( + --spectrum-text-to-visual-100 + ); + --system-status-light-size-m-spacing-dot-to-label: var( + --spectrum-text-to-visual-100 + ); + --system-status-light-spacing-top-to-dot: var( + --spectrum-status-light-top-to-dot-medium + ); + --system-status-light-size-m-spacing-top-to-dot: var( + --spectrum-status-light-top-to-dot-medium + ); + --system-status-light-spacing-top-to-label: var( + --spectrum-component-top-to-text-100 + ); + --system-status-light-size-m-spacing-top-to-label: var( + --spectrum-component-top-to-text-100 + ); + --system-status-light-spacing-bottom-to-label: var( + --spectrum-component-bottom-to-text-100 + ); + --system-status-light-size-m-spacing-bottom-to-label: var( + --spectrum-component-bottom-to-text-100 + ); + --system-status-light-size-s-height: var(--spectrum-component-height-75); + --system-status-light-size-s-dot-size: var( + --spectrum-status-light-dot-size-small + ); + --system-status-light-size-s-font-size: var(--spectrum-font-size-75); + --system-status-light-size-s-spacing-dot-to-label: var( + --spectrum-text-to-visual-75 + ); + --system-status-light-size-s-spacing-top-to-dot: var( + --spectrum-status-light-top-to-dot-small + ); + --system-status-light-size-s-spacing-top-to-label: var( + --spectrum-component-top-to-text-75 + ); + --system-status-light-size-s-spacing-bottom-to-label: var( + --spectrum-component-bottom-to-text-75 + ); + --system-status-light-size-l-height: var(--spectrum-component-height-200); + --system-status-light-size-l-dot-size: var( + --spectrum-status-light-dot-size-large + ); + --system-status-light-size-l-font-size: var(--spectrum-font-size-200); + --system-status-light-size-l-spacing-dot-to-label: var( + --spectrum-text-to-visual-200 + ); + --system-status-light-size-l-spacing-top-to-dot: var( + --spectrum-status-light-top-to-dot-large + ); + --system-status-light-size-l-spacing-top-to-label: var( + --spectrum-component-top-to-text-200 + ); + --system-status-light-size-l-spacing-bottom-to-label: var( + --spectrum-component-bottom-to-text-200 + ); + --system-status-light-size-xl-height: var(--spectrum-component-height-300); + --system-status-light-size-xl-dot-size: var( + --spectrum-status-light-dot-size-extra-large + ); + --system-status-light-size-xl-font-size: var(--spectrum-font-size-300); + --system-status-light-size-xl-spacing-dot-to-label: var( + --spectrum-text-to-visual-300 + ); + --system-status-light-size-xl-spacing-top-to-dot: var( + --spectrum-status-light-top-to-dot-extra-large + ); + --system-status-light-size-xl-spacing-top-to-label: var( + --spectrum-component-top-to-text-300 + ); + --system-status-light-size-xl-spacing-bottom-to-label: var( + --spectrum-component-bottom-to-text-300 + ); +} + +:host, +:root { + --system-stepper-border-width: var(--spectrum-border-width-100); + --system-stepper-border-color: var(--spectrum-gray-500); + --system-stepper-border-color-hover: var(--spectrum-gray-600); + --system-stepper-border-color-focus: var(--spectrum-gray-800); + --system-stepper-border-color-focus-hover: var(--spectrum-gray-800); + --system-stepper-border-color-keyboard-focus: var(--spectrum-gray-900); + --system-stepper-border-radius: var(--spectrum-corner-radius-100); + --system-stepper-min-width-multiplier: var( + --spectrum-text-field-minimum-width-multiplier + ); + --system-stepper-animation-duration: var(--spectrum-animation-duration-100); + --system-stepper-buttons-border-style: none; + --system-stepper-buttons-border-width: 0; + --system-stepper-buttons-background-color: var(--spectrum-gray-25); + --system-stepper-buttons-border-color: var(--spectrum-gray-500); + --system-stepper-buttons-border-color-hover: var(--spectrum-gray-600); + --system-stepper-buttons-border-color-focus: var(--spectrum-gray-800); + --system-stepper-buttons-border-color-keyboard-focus: var( + --spectrum-gray-900 + ); + --system-stepper-button-padding: var( + --spectrum-in-field-button-edge-to-fill + ); + --system-stepper-button-border-radius-reset: 0px; + --system-stepper-button-border-width: var(--spectrum-border-width-100); + --system-stepper-border-color-invalid: var( + --spectrum-negative-border-color-default + ); + --system-stepper-border-color-hover-invalid: var( + --spectrum-negative-border-color-hover + ); + --system-stepper-border-color-focus-invalid: var( + --spectrum-negative-border-color-focus + ); + --system-stepper-border-color-focus-hover-invalid: var( + --spectrum-negative-border-color-focus-hover + ); + --system-stepper-border-color-keyboard-focus-invalid: var( + --spectrum-negative-border-color-key-focus + ); + --system-stepper-focus-indicator-width: var( + --spectrum-focus-indicator-thickness + ); + --system-stepper-focus-indicator-gap: var(--spectrum-focus-indicator-gap); + --system-stepper-focus-indicator-color: var( + --spectrum-focus-indicator-color + ); + --system-stepper-button-border-color-disabled: var(--spectrum-gray-100); + --system-stepper-button-border-width-disabled: var( + --spectrum-border-width-100 + ); + --system-stepper-buttons-background-color-disabled: var(--spectrum-gray-50); + --system-stepper-button-width: var( + --spectrum-in-field-button-width-stacked-medium + ); + --system-stepper-size-m-button-width: var( + --spectrum-in-field-button-width-stacked-medium + ); + --system-stepper-height: var(--spectrum-component-height-100); + --system-stepper-size-m-height: var(--spectrum-component-height-100); + --system-stepper-size-s-button-width: var( + --spectrum-in-field-button-width-stacked-small + ); + --system-stepper-size-s-height: var(--spectrum-component-height-75); + --system-stepper-size-l-button-width: var( + --spectrum-in-field-button-width-stacked-large + ); + --system-stepper-size-l-height: var(--spectrum-component-height-200); + --system-stepper-size-xl-button-width: var( + --spectrum-in-field-button-width-stacked-extra-large + ); + --system-stepper-size-xl-height: var(--spectrum-component-height-300); +} + +:host, +:root { + --system-swatch-border-radius: var(--spectrum-corner-radius-100); + --system-swatch-focus-indicator-border-radius: var( + --spectrum-corner-radius-200 + ); + --system-swatch-border-thickness: var(--spectrum-border-width-100); + --system-swatch-border-thickness-selected: var(--spectrum-border-width-200); + --system-swatch-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-swatch-focus-indicator-gap: var(--spectrum-focus-indicator-gap); + --system-swatch-border-color-opacity: 0.51; + --system-swatch-border-color-light-opacity: 0.2; + --system-swatch-border-color: rgba( + var(--spectrum-gray-1000-rgb), + var(--system-swatch-border-color-opacity) + ); + --system-swatch-icon-border-color: rgba( + var(--spectrum-black-rgb), + var(--system-swatch-border-color-opacity) + ); + --system-swatch-border-color-light: rgba( + var(--spectrum-black-rgb), + var(--system-swatch-border-color-light-opacity) + ); + --system-swatch-border-color-selected: var(--spectrum-gray-900); + --system-swatch-inner-border-color-selected: var(--spectrum-gray-25); + --system-swatch-disabled-icon-color: var(--spectrum-gray-25); + --system-swatch-dash-icon-color: var(--spectrum-gray-800); + --system-swatch-slash-icon-color: var(--spectrum-red-900); + --system-swatch-focus-indicator-color: var( + --spectrum-focus-indicator-color + ); + --system-swatch-size: var(--spectrum-swatch-size-medium); + --system-swatch-size-m-size: var(--spectrum-swatch-size-medium); + --system-swatch-disabled-icon-size: var(--spectrum-workflow-icon-size-100); + --system-swatch-size-m-disabled-icon-size: var( + --spectrum-workflow-icon-size-100 + ); + --system-swatch-slash-thickness: var( + --spectrum-swatch-slash-thickness-medium + ); + --system-swatch-size-m-slash-thickness: var( + --spectrum-swatch-slash-thickness-medium + ); + --system-swatch-size-xs-size: var(--spectrum-swatch-size-extra-small); + --system-swatch-size-xs-disabled-icon-size: var( + --spectrum-workflow-icon-size-50 + ); + --system-swatch-size-xs-slash-thickness: var( + --spectrum-swatch-slash-thickness-extra-small + ); + --system-swatch-size-s-size: var(--spectrum-swatch-size-small); + --system-swatch-size-s-disabled-icon-size: var( + --spectrum-workflow-icon-size-75 + ); + --system-swatch-size-s-slash-thickness: var( + --spectrum-swatch-slash-thickness-small + ); + --system-swatch-size-l-size: var(--spectrum-swatch-size-large); + --system-swatch-size-l-disabled-icon-size: var( + --spectrum-workflow-icon-size-200 + ); + --system-swatch-size-l-slash-thickness: var( + --spectrum-swatch-slash-thickness-large + ); +} + +:host, +:root { + --system-swatch-group-spacing-compact: var(--spectrum-spacing-50); + --system-swatch-group-spacing-regular: var(--spectrum-spacing-75); + --system-swatch-group-spacing-spacious: var(--spectrum-spacing-100); +} + +:host, +:root { + --system-opacity-checkerboard-dark: var( + --spectrum-opacity-checkerboard-square-dark + ); + --system-opacity-checkerboard-light: var( + --spectrum-opacity-checkerboard-square-light + ); + --system-opacity-checkerboard-size: var( + --spectrum-opacity-checkerboard-square-size + ); + --system-opacity-checkerboard-position: left top; +} + +:host, +:root { + --system-switch-handle-border-color-default: var(--spectrum-gray-600); + --system-switch-handle-border-color-hover: var(--spectrum-gray-700); + --system-switch-handle-border-color-down: var(--spectrum-gray-800); + --system-switch-handle-border-color-focus: var(--spectrum-gray-700); + --system-switch-handle-border-color-selected-default: var( + --spectrum-gray-700 + ); + --system-switch-handle-border-color-selected-hover: var( + --spectrum-gray-800 + ); + --system-switch-handle-border-color-selected-down: var(--spectrum-gray-900); + --system-switch-handle-border-color-selected-focus: var( + --spectrum-gray-800 + ); + --system-switch-label-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-switch-label-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-switch-label-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-switch-label-color-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-switch-label-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-switch-background-color: var(--spectrum-gray-200); + --system-switch-background-color-disabled: var(--spectrum-gray-200); + --system-switch-background-color-selected-disabled: var( + --spectrum-disabled-content-color + ); + --system-switch-background-color-selected-default: var( + --spectrum-neutral-background-color-selected-default + ); + --system-switch-background-color-selected-hover: var( + --spectrum-neutral-background-color-selected-hover + ); + --system-switch-background-color-selected-down: var( + --spectrum-neutral-background-color-selected-down + ); + --system-switch-background-color-selected-focus: var( + --spectrum-neutral-background-color-selected-key-focus + ); + --system-switch-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-switch-focus-indicator-color: var( + --spectrum-focus-indicator-color + ); + --system-switch-handle-background-color: var(--spectrum-gray-50); + --system-switch-handle-border-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-switch-disabled-label-color-default: var( + --spectrum-disabled-content-color + ); + --system-switch-emphasized-background-color-selected-default: var( + --spectrum-accent-color-900 + ); + --system-switch-emphasized-background-color-selected-hover: var( + --spectrum-accent-color-1000 + ); + --system-switch-emphasized-background-color-selected-down: var( + --spectrum-accent-color-1100 + ); + --system-switch-emphasized-background-color-selected-focus: var( + --spectrum-accent-color-1000 + ); + --system-switch-emphasized-handle-border-color-selected-default: var( + --spectrum-accent-color-900 + ); + --system-switch-emphasized-handle-border-color-selected-hover: var( + --spectrum-accent-color-1000 + ); + --system-switch-emphasized-handle-border-color-selected-down: var( + --spectrum-accent-color-1100 + ); + --system-switch-emphasized-handle-border-color-selected-focus: var( + --spectrum-accent-color-1000 + ); + --system-switch-min-height: var(--spectrum-component-height-100); + --system-switch-size-m-min-height: var(--spectrum-component-height-100); + --system-switch-control-width: var(--spectrum-switch-control-width-medium); + --system-switch-size-m-control-width: var( + --spectrum-switch-control-width-medium + ); + --system-switch-control-height: var( + --spectrum-switch-control-height-medium + ); + --system-switch-size-m-control-height: var( + --spectrum-switch-control-height-medium + ); + --system-switch-control-label-spacing: var(--spectrum-text-to-control-100); + --system-switch-size-m-control-label-spacing: var( + --spectrum-text-to-control-100 + ); + --system-switch-spacing-top-to-control: var( + --spectrum-switch-top-to-control-medium + ); + --system-switch-size-m-spacing-top-to-control: var( + --spectrum-switch-top-to-control-medium + ); + --system-switch-spacing-top-to-label: var( + --spectrum-component-top-to-text-100 + ); + --system-switch-size-m-spacing-top-to-label: var( + --spectrum-component-top-to-text-100 + ); + --system-switch-font-size: var(--spectrum-font-size-100); + --system-switch-size-m-font-size: var(--spectrum-font-size-100); + --system-switch-size-s-min-height: var(--spectrum-component-height-75); + --system-switch-size-s-control-width: var( + --spectrum-switch-control-width-small + ); + --system-switch-size-s-control-height: var( + --spectrum-switch-control-height-small + ); + --system-switch-size-s-control-label-spacing: var( + --spectrum-text-to-control-75 + ); + --system-switch-size-s-spacing-top-to-control: var( + --spectrum-switch-top-to-control-small + ); + --system-switch-size-s-spacing-top-to-label: var( + --spectrum-component-top-to-text-75 + ); + --system-switch-size-s-font-size: var(--spectrum-font-size-75); + --system-switch-size-l-min-height: var(--spectrum-component-height-200); + --system-switch-size-l-control-width: var( + --spectrum-switch-control-width-large + ); + --system-switch-size-l-control-height: var( + --spectrum-switch-control-height-large + ); + --system-switch-size-l-control-label-spacing: var( + --spectrum-text-to-control-200 + ); + --system-switch-size-l-spacing-top-to-control: var( + --spectrum-switch-top-to-control-large + ); + --system-switch-size-l-spacing-top-to-label: var( + --spectrum-component-top-to-text-200 + ); + --system-switch-size-l-font-size: var(--spectrum-font-size-200); + --system-switch-size-xl-min-height: var(--spectrum-component-height-300); + --system-switch-size-xl-control-width: var( + --spectrum-switch-control-width-extra-large + ); + --system-switch-size-xl-control-height: var( + --spectrum-switch-control-height-extra-large + ); + --system-switch-size-xl-control-label-spacing: var( + --spectrum-text-to-control-300 + ); + --system-switch-size-xl-spacing-top-to-control: var( + --spectrum-switch-top-to-control-extra-large + ); + --system-switch-size-xl-spacing-top-to-label: var( + --spectrum-component-top-to-text-300 + ); + --system-switch-size-xl-font-size: var(--spectrum-font-size-300); +} + +:host, +:root { + --system-table-header-top-to-text: var( + --spectrum-table-column-header-row-top-to-text-medium + ); + --system-table-header-bottom-to-text: var( + --spectrum-table-column-header-row-bottom-to-text-medium + ); + --system-table-min-header-height: var(--spectrum-component-height-100); + --system-table-min-row-height: var( + --spectrum-table-row-height-medium-regular + ); + --system-table-row-top-to-text: var( + --spectrum-table-row-top-to-text-medium-regular + ); + --system-table-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-medium-regular + ); + --system-table-cell-inline-space: var(--spectrum-table-edge-to-content); + --system-table-border-radius: var(--spectrum-corner-radius-100); + --system-table-border-width: var(--spectrum-table-border-divider-width); + --system-table-outer-border-inline-width: var( + --spectrum-table-border-divider-width + ); + --system-table-icon-to-text: var(--spectrum-text-to-visual-100); + --system-table-default-vertical-align: top; + --system-table-header-vertical-align: middle; + --system-table-header-font-weight: var(--spectrum-bold-font-weight); + --system-table-row-font-family: var(--spectrum-sans-font-family-stack); + --system-table-row-font-weight: var(--spectrum-regular-font-weight); + --system-table-row-font-style: var(--spectrum-default-font-style); + --system-table-row-font-size: var(--spectrum-font-size-100); + --system-table-row-line-height: var(--spectrum-line-height-100); + --system-table-border-color: var(--spectrum-gray-200); + --system-table-divider-color: var(--spectrum-gray-200); + --system-table-header-background-color: var( + --spectrum-transparent-white-25 + ); + --system-table-header-text-color: var(--spectrum-body-color); + --system-table-row-background-color: var(--spectrum-gray-25); + --system-table-row-text-color: var( + --spectrum-neutral-content-color-default + ); + --system-table-selected-row-background-color: rgba( + var(--spectrum-blue-900-rgb), + var(--spectrum-table-selected-row-background-opacity) + ); + --system-table-selected-row-background-color-non-emphasized: rgba( + var(--spectrum-gray-700-rgb), + var(--spectrum-table-selected-row-background-opacity-non-emphasized) + ); + --system-table-row-background-color-hover: rgba( + var(--spectrum-gray-900-rgb), + var(--spectrum-table-row-hover-opacity) + ); + --system-table-row-active-color: rgba( + var(--spectrum-gray-900-rgb), + var(--spectrum-table-row-down-opacity) + ); + --system-table-selected-row-background-color-focus: rgba( + var(--spectrum-blue-900-rgb), + var(--spectrum-table-selected-row-background-opacity-hover) + ); + --system-table-selected-row-background-color-non-emphasized-focus: rgba( + var(--spectrum-gray-700-rgb), + var( + --spectrum-table-selected-row-background-opacity-non-emphasized-hover + ) + ); + --system-table-icon-color-default: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-table-icon-color-hover: var( + --spectrum-neutral-subdued-content-color-hover + ); + --system-table-icon-color-active: var( + --spectrum-neutral-subdued-content-color-down ); - --system-spectrum-button-staticwhite-outline-content-color-hover: var( - --spectrum-white + --system-table-icon-color-focus: var( + --spectrum-neutral-subdued-content-color-key-focus ); - --system-spectrum-button-staticwhite-outline-content-color-down: var( - --spectrum-white + --system-table-icon-color-focus-hover: var( + --spectrum-neutral-subdued-content-color-hover ); - --system-spectrum-button-staticwhite-outline-content-color-focus: var( - --spectrum-white + --system-table-icon-color-key-focus: var( + --spectrum-neutral-subdued-content-color-key-focus ); - --system-spectrum-button-staticwhite-outline-focus-indicator-color: var( - --spectrum-static-white-focus-indicator-color + --system-table-header-checkbox-block-spacing: var( + --spectrum-table-header-row-checkbox-to-top-medium ); - --system-spectrum-button-staticwhite-outline-background-color-disabled: transparent; - --system-spectrum-button-staticwhite-outline-border-color-disabled: var( - --spectrum-disabled-static-white-border-color + --system-table-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-medium-regular ); - --system-spectrum-button-staticwhite-outline-content-color-disabled: var( - --spectrum-disabled-static-white-content-color + --system-table-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness ); - --system-spectrum-button-staticwhite-selected-background-color-default: var( - --spectrum-transparent-white-800 + --system-table-focus-indicator-color: var(--spectrum-focus-indicator-color); + --system-table-drop-zone-background-color: rgba( + var(--spectrum-drop-zone-background-color-rgb), + var(--spectrum-drop-zone-background-color-opacity) ); - --system-spectrum-button-staticwhite-selected-background-color-hover: var( - --spectrum-transparent-white-900 + --system-table-drop-zone-outline-color: var(--spectrum-accent-visual-color); + --system-table-transition-duration: var(--spectrum-animation-duration-100); + --system-table-summary-row-font-weight: var(--spectrum-bold-font-weight); + --system-table-summary-row-background-color: var(--spectrum-gray-100); + --system-table-section-header-min-height: var( + --spectrum-table-section-header-row-height-medium ); - --system-spectrum-button-staticwhite-selected-background-color-down: var( - --spectrum-transparent-white-900 + --system-table-section-header-block-start-spacing: var( + --spectrum-component-top-to-text-100 ); - --system-spectrum-button-staticwhite-selected-background-color-focus: var( - --spectrum-transparent-white-900 + --system-table-section-header-block-end-spacing: var( + --spectrum-component-bottom-to-text-100 ); - --system-spectrum-button-staticwhite-selected-content-color-default: var( - --spectrum-black + --system-table-section-header-font-weight: var(--spectrum-bold-font-weight); + --system-table-section-header-background-color: var(--spectrum-gray-100); + --system-table-collapsible-tier-indent: var(--spectrum-spacing-300); + --system-table-collapsible-disclosure-inline-spacing: 0px; + --system-table-disclosure-icon-size: var(--spectrum-component-height-100); + --system-table-collapsible-icon-animation-duration: var( + --spectrum-animation-duration-100 ); - --system-spectrum-button-staticwhite-selected-content-color-hover: var( - --spectrum-black + --system-table-thumbnail-to-text: var(--spectrum-text-to-visual-100); + --system-table-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-medium-regular ); - --system-spectrum-button-staticwhite-selected-content-color-down: var( - --spectrum-black + --system-table-thumbnail-size: var(--spectrum-thumbnail-size-300); + --system-table-cell-background-color: var( + --system-table-row-background-color ); - --system-spectrum-button-staticwhite-selected-content-color-focus: var( - --spectrum-black + --system-table-selected-cell-background-color: var( + --system-table-selected-row-background-color-non-emphasized ); - --system-spectrum-button-staticwhite-selected-background-color-disabled: var( - --spectrum-disabled-static-white-background-color + --system-table-selected-cell-background-color-focus: var( + --system-table-selected-row-background-color-non-emphasized-focus + ); + --system-table-size-s-min-header-height: var( + --spectrum-component-height-100 + ); + --system-table-size-s-header-top-to-text: var( + --spectrum-table-column-header-row-top-to-text-small + ); + --system-table-size-s-header-bottom-to-text: var( + --spectrum-table-column-header-row-bottom-to-text-small + ); + --system-table-size-s-min-row-height: var( + --spectrum-table-row-height-small-regular + ); + --system-table-size-s-row-top-to-text: var( + --spectrum-table-row-top-to-text-small-regular + ); + --system-table-size-s-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-small-regular + ); + --system-table-size-s-icon-to-text: var(--spectrum-text-to-visual-100); + --system-table-size-s-row-font-size: var(--spectrum-font-size-75); + --system-table-size-s-header-checkbox-block-spacing: var( + --spectrum-table-header-row-checkbox-to-top-small + ); + --system-table-size-s-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-small-regular + ); + --system-table-size-s-section-header-min-height: var( + --spectrum-table-section-header-row-height-small + ); + --system-table-size-s-section-header-block-start-spacing: var( + --spectrum-component-top-to-text-75 + ); + --system-table-size-s-section-header-block-end-spacing: var( + --spectrum-component-bottom-to-text-75 + ); + --system-table-size-s-disclosure-icon-size: var( + --spectrum-component-height-75 + ); + --system-table-size-s-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-small-regular + ); + --system-table-size-s-thumbnail-to-text: var(--spectrum-text-to-visual-100); + --system-table-size-s-thumbnail-size: var(--spectrum-thumbnail-size-200); + --system-table-size-l-min-header-height: var( + --spectrum-component-height-200 + ); + --system-table-size-l-header-top-to-text: var( + --spectrum-table-column-header-row-top-to-text-large + ); + --system-table-size-l-header-bottom-to-text: var( + --spectrum-table-column-header-row-bottom-to-text-large + ); + --system-table-size-l-min-row-height: var( + --spectrum-table-row-height-large-regular + ); + --system-table-size-l-row-top-to-text: var( + --spectrum-table-row-top-to-text-large-regular + ); + --system-table-size-l-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-large-regular + ); + --system-table-size-l-icon-to-text: var(--spectrum-text-to-visual-200); + --system-table-size-l-row-font-size: var(--spectrum-font-size-200); + --system-table-size-l-header-checkbox-block-spacing: var( + --spectrum-table-header-row-checkbox-to-top-large + ); + --system-table-size-l-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-large-regular + ); + --system-table-size-l-section-header-min-height: var( + --spectrum-table-section-header-row-height-large + ); + --system-table-size-l-section-header-block-start-spacing: var( + --spectrum-component-top-to-text-200 + ); + --system-table-size-l-section-header-block-end-spacing: var( + --spectrum-component-bottom-to-text-200 + ); + --system-table-size-l-disclosure-icon-size: var( + --spectrum-component-height-200 + ); + --system-table-size-l-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-large-regular + ); + --system-table-size-l-thumbnail-to-text: var(--spectrum-text-to-visual-200); + --system-table-size-l-thumbnail-size: var(--spectrum-thumbnail-size-500); + --system-table-size-xl-min-header-height: var( + --spectrum-component-height-300 + ); + --system-table-size-xl-header-top-to-text: var( + --spectrum-table-column-header-row-top-to-text-extra-large + ); + --system-table-size-xl-header-bottom-to-text: var( + --spectrum-table-column-header-row-bottom-to-text-extra-large + ); + --system-table-size-xl-min-row-height: var( + --spectrum-table-row-height-extra-large-regular + ); + --system-table-size-xl-row-top-to-text: var( + --spectrum-table-row-top-to-text-extra-large-regular + ); + --system-table-size-xl-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-extra-large-regular + ); + --system-table-size-xl-icon-to-text: var(--spectrum-text-to-visual-300); + --system-table-size-xl-row-font-size: var(--spectrum-font-size-300); + --system-table-size-xl-header-checkbox-block-spacing: var( + --spectrum-table-header-row-checkbox-to-top-extra-large + ); + --system-table-size-xl-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-extra-large-regular + ); + --system-table-size-xl-section-header-min-height: var( + --spectrum-table-section-header-row-height-extra-large + ); + --system-table-size-xl-section-header-block-start-spacing: var( + --spectrum-component-top-to-text-300 + ); + --system-table-size-xl-section-header-block-end-spacing: var( + --spectrum-component-bottom-to-text-300 + ); + --system-table-size-xl-disclosure-icon-size: var( + --spectrum-component-height-300 + ); + --system-table-size-xl-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-extra-large-regular + ); + --system-table-size-xl-thumbnail-to-text: var( + --spectrum-text-to-visual-300 + ); + --system-table-size-xl-thumbnail-size: var(--spectrum-thumbnail-size-700); + --system-table-compact-min-row-height: var( + --spectrum-table-row-height-medium-compact + ); + --system-table-compact-row-top-to-text: var( + --spectrum-table-row-top-to-text-medium-compact + ); + --system-table-compact-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-medium-compact + ); + --system-table-compact-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-medium-compact + ); + --system-table-compact-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-medium-compact + ); + --system-table-compact-thumbnail-size: var(--spectrum-thumbnail-size-200); + --system-table-compact-size-s-min-row-height: var( + --spectrum-table-row-height-small-compact + ); + --system-table-compact-size-s-row-top-to-text: var( + --spectrum-table-row-top-to-text-small-compact + ); + --system-table-compact-size-s-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-small-compact + ); + --system-table-compact-size-s-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-small-compact + ); + --system-table-compact-size-s-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-small-compact + ); + --system-table-compact-size-s-thumbnail-size: var( + --spectrum-thumbnail-size-50 + ); + --system-table-compact-size-l-min-row-height: var( + --spectrum-table-row-height-large-compact + ); + --system-table-compact-size-l-row-top-to-text: var( + --spectrum-table-row-top-to-text-large-compact + ); + --system-table-compact-size-l-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-large-compact + ); + --system-table-compact-size-l-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-large-compact + ); + --system-table-compact-size-l-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-large-compact + ); + --system-table-compact-size-l-thumbnail-size: var( + --spectrum-thumbnail-size-300 + ); + --system-table-compact-size-xl-min-row-height: var( + --spectrum-table-row-height-extra-large-compact + ); + --system-table-compact-size-xl-row-top-to-text: var( + --spectrum-table-row-top-to-text-extra-large-compact + ); + --system-table-compact-size-xl-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-extra-large-compact + ); + --system-table-compact-size-xl-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-extra-large-compact + ); + --system-table-compact-size-xl-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-extra-large-compact + ); + --system-table-compact-size-xl-thumbnail-size: var( + --spectrum-thumbnail-size-500 + ); + --system-table-spacious-min-row-height: var( + --spectrum-table-row-height-medium-spacious + ); + --system-table-spacious-row-top-to-text: var( + --spectrum-table-row-top-to-text-medium-spacious + ); + --system-table-spacious-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-medium-spacious + ); + --system-table-spacious-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-medium-spacious + ); + --system-table-spacious-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-medium-spacious + ); + --system-table-spacious-thumbnail-size: var(--spectrum-thumbnail-size-500); + --system-table-spacious-size-s-min-row-height: var( + --spectrum-table-row-height-small-spacious + ); + --system-table-spacious-size-s-row-top-to-text: var( + --spectrum-table-row-top-to-text-small-spacious + ); + --system-table-spacious-size-s-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-small-spacious + ); + --system-table-spacious-size-s-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-small-spacious + ); + --system-table-spacious-size-s-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-small-spacious + ); + --system-table-spacious-size-s-thumbnail-size: var( + --spectrum-thumbnail-size-300 + ); + --system-table-spacious-size-l-min-row-height: var( + --spectrum-table-row-height-large-spacious + ); + --system-table-spacious-size-l-row-top-to-text: var( + --spectrum-table-row-top-to-text-large-spacious + ); + --system-table-spacious-size-l-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-large-spacious + ); + --system-table-spacious-size-l-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-large-spacious + ); + --system-table-spacious-size-l-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-large-spacious + ); + --system-table-spacious-size-l-thumbnail-size: var( + --spectrum-thumbnail-size-700 + ); + --system-table-spacious-size-xl-min-row-height: var( + --spectrum-table-row-height-extra-large-spacious + ); + --system-table-spacious-size-xl-row-top-to-text: var( + --spectrum-table-row-top-to-text-extra-large-spacious + ); + --system-table-spacious-size-xl-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-extra-large-spacious + ); + --system-table-spacious-size-xl-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-extra-large-spacious + ); + --system-table-spacious-size-xl-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-extra-large-spacious + ); + --system-table-spacious-size-xl-thumbnail-size: var( + --spectrum-thumbnail-size-800 + ); + --system-table-emphasized-selected-cell-background-color: var( + --system-table-selected-row-background-color + ); + --system-table-emphasized-selected-cell-background-color-focus: var( + --system-table-selected-row-background-color-focus + ); + --system-table-quiet-border-radius: 0px; + --system-table-quiet-outer-border-inline-width: 0px; + --system-table-quiet-header-background-color: var( + --spectrum-transparent-white-25 + ); + --system-table-quiet-row-background-color: var( + --spectrum-transparent-white-25 + ); +} + +:host, +:root { + --system-tabs-font-weight: var(--spectrum-regular-font-weight); + --system-tabs-item-height: var(--spectrum-tab-item-height-medium); + --system-tabs-item-horizontal-spacing: var( + --spectrum-tab-item-to-tab-item-horizontal-medium + ); + --system-tabs-item-vertical-spacing: var( + --spectrum-tab-item-to-tab-item-vertical-medium + ); + --system-tabs-start-to-edge: var(--spectrum-tab-item-start-to-edge-medium); + --system-tabs-top-to-text: var(--spectrum-tab-item-top-to-text-medium); + --system-tabs-bottom-to-text: var( + --spectrum-tab-item-bottom-to-text-medium + ); + --system-tabs-icon-size: var(--spectrum-workflow-icon-size-75); + --system-tabs-icon-to-text: var(--spectrum-text-to-visual-100); + --system-tabs-top-to-icon: var( + --spectrum-tab-item-top-to-workflow-icon-medium + ); + --system-tabs-color: var(--spectrum-neutral-subdued-content-color-default); + --system-tabs-color-selected: var( + --spectrum-neutral-subdued-content-color-down + ); + --system-tabs-color-hover: var( + --spectrum-neutral-subdued-content-color-hover + ); + --system-tabs-color-key-focus: var( + --spectrum-neutral-subdued-content-color-key-focus + ); + --system-tabs-color-disabled: var(--spectrum-gray-500); + --system-tabs-font-family: var(--spectrum-sans-font-family-stack); + --system-tabs-font-style: var(--spectrum-default-font-style); + --system-tabs-font-size: var(--spectrum-font-size-100); + --system-tabs-line-height: var(--spectrum-line-height-100); + --system-tabs-focus-indicator-width: var( + --spectrum-focus-indicator-thickness + ); + --system-tabs-focus-indicator-border-radius: var( + --spectrum-corner-radius-100 + ); + --system-tabs-focus-indicator-gap: var( + --spectrum-tab-item-focus-indicator-gap-medium + ); + --system-tabs-focus-indicator-color: var(--spectrum-focus-indicator-color); + --system-tabs-selection-indicator-color: var( + --spectrum-neutral-subdued-content-color-down + ); + --system-tabs-list-background-direction: top; + --system-tabs-divider-background-color: var(--spectrum-gray-200); + --system-tabs-divider-size: var(--spectrum-border-width-200); + --system-tabs-divider-border-radius: 1px; + --system-tabs-animation-duration: var(--spectrum-animation-duration-100); + --system-tabs-animation-ease: var(--spectrum-animation-ease-in-out); + --system-tabs-size-s-item-height: var(--spectrum-tab-item-height-small); + --system-tabs-size-s-item-horizontal-spacing: var( + --spectrum-tab-item-to-tab-item-horizontal-small + ); + --system-tabs-size-s-item-vertical-spacing: var( + --spectrum-tab-item-to-tab-item-vertical-small + ); + --system-tabs-size-s-start-to-edge: var( + --spectrum-tab-item-start-to-edge-small + ); + --system-tabs-size-s-top-to-text: var( + --spectrum-tab-item-top-to-text-small + ); + --system-tabs-size-s-bottom-to-text: var( + --spectrum-tab-item-bottom-to-text-small + ); + --system-tabs-size-s-icon-size: var(--spectrum-workflow-icon-size-50); + --system-tabs-size-s-icon-to-text: var(--spectrum-text-to-visual-75); + --system-tabs-size-s-top-to-icon: var( + --spectrum-tab-item-top-to-workflow-icon-small + ); + --system-tabs-size-s-focus-indicator-gap: var( + --spectrum-tab-item-focus-indicator-gap-small + ); + --system-tabs-size-s-font-size: var(--spectrum-font-size-75); + --system-tabs-size-l-item-height: var(--spectrum-tab-item-height-large); + --system-tabs-size-l-item-horizontal-spacing: var( + --spectrum-tab-item-to-tab-item-horizontal-large + ); + --system-tabs-size-l-item-vertical-spacing: var( + --spectrum-tab-item-to-tab-item-vertical-large + ); + --system-tabs-size-l-start-to-edge: var( + --spectrum-tab-item-start-to-edge-large + ); + --system-tabs-size-l-top-to-text: var( + --spectrum-tab-item-top-to-text-large + ); + --system-tabs-size-l-bottom-to-text: var( + --spectrum-tab-item-bottom-to-text-large + ); + --system-tabs-size-l-icon-size: var(--spectrum-workflow-icon-size-100); + --system-tabs-size-l-icon-to-text: var(--spectrum-text-to-visual-200); + --system-tabs-size-l-top-to-icon: var( + --spectrum-tab-item-top-to-workflow-icon-large + ); + --system-tabs-size-l-focus-indicator-gap: var( + --spectrum-tab-item-focus-indicator-gap-large + ); + --system-tabs-size-l-font-size: var(--spectrum-font-size-200); + --system-tabs-size-xl-item-height: var( + --spectrum-tab-item-height-extra-large + ); + --system-tabs-size-xl-item-horizontal-spacing: var( + --spectrum-tab-item-to-tab-item-horizontal-extra-large + ); + --system-tabs-size-xl-item-vertical-spacing: var( + --spectrum-tab-item-to-tab-item-vertical-extra-large + ); + --system-tabs-size-xl-start-to-edge: var( + --spectrum-tab-item-start-to-edge-extra-large + ); + --system-tabs-size-xl-top-to-text: var( + --spectrum-tab-item-top-to-text-extra-large + ); + --system-tabs-size-xl-bottom-to-text: var( + --spectrum-tab-item-bottom-to-text-extra-large + ); + --system-tabs-size-xl-icon-size: var(--spectrum-workflow-icon-size-200); + --system-tabs-size-xl-icon-to-text: var(--spectrum-text-to-visual-300); + --system-tabs-size-xl-top-to-icon: var( + --spectrum-tab-item-top-to-workflow-icon-extra-large + ); + --system-tabs-size-xl-focus-indicator-gap: var( + --spectrum-tab-item-focus-indicator-gap-extra-large + ); + --system-tabs-size-xl-font-size: var(--spectrum-font-size-300); + --system-tabs-emphasized-color-selected: var( + --spectrum-accent-content-color-default + ); + --system-tabs-emphasized-color-hover: var( + --spectrum-accent-content-color-hover + ); + --system-tabs-emphasized-color-key-focus: var( + --spectrum-accent-content-color-key-focus + ); + --system-tabs-emphasized-selection-indicator-color: var( + --spectrum-accent-content-color-default + ); +} + +:host, +:root { + --system-tag-border-color: var(--spectrum-gray-700); + --system-tag-border-color-hover: var(--spectrum-gray-800); + --system-tag-border-color-active: var(--spectrum-gray-900); + --system-tag-border-color-focus: var(--spectrum-gray-800); + --system-tag-size-small-corner-radius: var(--spectrum-corner-radius-100); + --system-tag-size-medium-corner-radius: var(--spectrum-corner-radius-100); + --system-tag-size-large-corner-radius: var(--spectrum-corner-radius-100); + --system-tag-background-color: var(--spectrum-gray-50); + --system-tag-background-color-hover: var(--spectrum-gray-50); + --system-tag-background-color-active: var(--spectrum-gray-100); + --system-tag-background-color-focus: var(--spectrum-gray-50); + --system-tag-content-color: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-tag-content-color-hover: var( + --spectrum-neutral-subdued-content-color-hover + ); + --system-tag-content-color-active: var( + --spectrum-neutral-subdued-content-color-down + ); + --system-tag-content-color-focus: var( + --spectrum-neutral-subdued-content-color-key-focus + ); + --system-tag-border-color-selected: var( + --spectrum-neutral-subdued-background-color-default + ); + --system-tag-border-color-selected-hover: var( + --spectrum-neutral-subdued-background-color-hover + ); + --system-tag-border-color-selected-active: var( + --spectrum-neutral-subdued-background-color-down + ); + --system-tag-border-color-selected-focus: var( + --spectrum-neutral-subdued-background-color-key-focus + ); + --system-tag-border-color-disabled: transparent; + --system-tag-background-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-tag-size-small-spacing-inline-start: var( + --spectrum-component-edge-to-visual-75 + ); + --system-tag-size-small-label-spacing-inline-end: var( + --spectrum-component-edge-to-text-75 + ); + --system-tag-size-small-clear-button-spacing-inline-end: var( + --spectrum-component-edge-to-visual-75 + ); + --system-tag-size-medium-spacing-inline-start: var( + --spectrum-component-edge-to-visual-100 + ); + --system-tag-size-medium-label-spacing-inline-end: var( + --spectrum-component-edge-to-text-100 + ); + --system-tag-size-medium-clear-button-spacing-inline-end: var( + --spectrum-component-edge-to-visual-100 + ); + --system-tag-size-large-spacing-inline-start: var( + --spectrum-component-edge-to-visual-200 + ); + --system-tag-size-large-label-spacing-inline-end: var( + --spectrum-component-edge-to-text-200 + ); + --system-tag-size-large-clear-button-spacing-inline-end: var( + --spectrum-component-edge-to-visual-200 + ); + --system-tag-avatar-opacity-disabled: 0.3; + --system-tag-animation-duration: var(--spectrum-animation-duration-100); + --system-tag-border-width: var(--spectrum-border-width-100); + --system-tag-focus-ring-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-tag-focus-ring-gap: var(--spectrum-focus-indicator-gap); + --system-tag-focus-ring-color: var(--spectrum-focus-indicator-color); + --system-tag-label-line-height: var(--spectrum-line-height-100); + --system-tag-label-font-weight: var(--spectrum-regular-font-weight); + --system-tag-content-color-selected: var(--spectrum-gray-25); + --system-tag-background-color-selected: var( + --spectrum-neutral-background-color-selected-default + ); + --system-tag-background-color-selected-hover: var( + --spectrum-neutral-background-color-selected-hover + ); + --system-tag-background-color-selected-active: var( + --spectrum-neutral-background-color-selected-down + ); + --system-tag-background-color-selected-focus: var( + --spectrum-neutral-background-color-selected-key-focus + ); + --system-tag-border-color-invalid: var(--spectrum-negative-color-900); + --system-tag-border-color-invalid-hover: var( + --spectrum-negative-color-1000 + ); + --system-tag-border-color-invalid-active: var( + --spectrum-negative-color-1100 + ); + --system-tag-border-color-invalid-focus: var( + --spectrum-negative-color-1000 + ); + --system-tag-content-color-invalid: var( + --spectrum-negative-content-color-default + ); + --system-tag-content-color-invalid-hover: var( + --spectrum-negative-content-color-hover + ); + --system-tag-content-color-invalid-active: var( + --spectrum-negative-content-color-down + ); + --system-tag-content-color-invalid-focus: var( + --spectrum-negative-content-color-key-focus + ); + --system-tag-border-color-invalid-selected: var( + --spectrum-negative-background-color-default + ); + --system-tag-border-color-invalid-selected-hover: var( + --spectrum-negative-background-color-hover + ); + --system-tag-border-color-invalid-selected-focus: var( + --spectrum-negative-background-color-down + ); + --system-tag-border-color-invalid-selected-active: var( + --spectrum-negative-background-color-key-focus + ); + --system-tag-background-color-invalid-selected: var( + --spectrum-negative-background-color-default + ); + --system-tag-background-color-invalid-selected-hover: var( + --spectrum-negative-background-color-hover + ); + --system-tag-background-color-invalid-selected-active: var( + --spectrum-negative-background-color-down + ); + --system-tag-background-color-invalid-selected-focus: var( + --spectrum-negative-background-color-key-focus + ); + --system-tag-content-color-invalid-selected: var(--spectrum-white); + --system-tag-border-color-emphasized: var( + --spectrum-accent-background-color-default + ); + --system-tag-border-color-emphasized-hover: var( + --spectrum-accent-background-color-hover + ); + --system-tag-border-color-emphasized-active: var( + --spectrum-accent-background-color-down + ); + --system-tag-border-color-emphasized-focus: var( + --spectrum-accent-background-color-key-focus + ); + --system-tag-background-color-emphasized: var( + --spectrum-accent-background-color-default + ); + --system-tag-background-color-emphasized-hover: var( + --spectrum-accent-background-color-hover + ); + --system-tag-background-color-emphasized-active: var( + --spectrum-accent-background-color-down + ); + --system-tag-background-color-emphasized-focus: var( + --spectrum-accent-background-color-key-focus + ); + --system-tag-content-color-emphasized: var(--spectrum-white); + --system-tag-content-color-disabled: var(--spectrum-disabled-content-color); + --system-tag-height: var(--spectrum-component-height-100); + --system-tag-size-m-height: var(--spectrum-component-height-100); + --system-tag-font-size: var(--spectrum-font-size-100); + --system-tag-size-m-font-size: var(--spectrum-font-size-100); + --system-tag-icon-size: var(--spectrum-workflow-icon-size-100); + --system-tag-size-m-icon-size: var(--spectrum-workflow-icon-size-100); + --system-tag-clear-button-spacing-inline-start: var( + --spectrum-text-to-visual-100 + ); + --system-tag-size-m-clear-button-spacing-inline-start: var( + --spectrum-text-to-visual-100 + ); + --system-tag-clear-button-spacing-block: var( + --spectrum-tag-top-to-cross-icon-medium + ); + --system-tag-size-m-clear-button-spacing-block: var( + --spectrum-tag-top-to-cross-icon-medium + ); + --system-tag-icon-spacing-block-start: var( + --spectrum-component-top-to-workflow-icon-100 + ); + --system-tag-size-m-icon-spacing-block-start: var( + --spectrum-component-top-to-workflow-icon-100 + ); + --system-tag-icon-spacing-block-end: var( + --spectrum-component-top-to-workflow-icon-100 + ); + --system-tag-size-m-icon-spacing-block-end: var( + --spectrum-component-top-to-workflow-icon-100 + ); + --system-tag-icon-spacing-inline-end: var(--spectrum-text-to-visual-100); + --system-tag-size-m-icon-spacing-inline-end: var( + --spectrum-text-to-visual-100 + ); + --system-tag-avatar-spacing-block-start: var( + --spectrum-tag-top-to-avatar-medium ); - --system-spectrum-button-staticwhite-selected-border-color-disabled: transparent; - --system-spectrum-button-staticwhite-secondary-background-color-default: var( - --spectrum-transparent-white-200 + --system-tag-size-m-avatar-spacing-block-start: var( + --spectrum-tag-top-to-avatar-medium ); - --system-spectrum-button-staticwhite-secondary-background-color-hover: var( - --spectrum-transparent-white-300 + --system-tag-avatar-spacing-block-end: var( + --spectrum-tag-top-to-avatar-medium ); - --system-spectrum-button-staticwhite-secondary-background-color-down: var( - --spectrum-transparent-white-400 + --system-tag-size-m-avatar-spacing-block-end: var( + --spectrum-tag-top-to-avatar-medium ); - --system-spectrum-button-staticwhite-secondary-background-color-focus: var( - --spectrum-transparent-white-300 + --system-tag-avatar-spacing-inline-end: var(--spectrum-text-to-visual-100); + --system-tag-size-m-avatar-spacing-inline-end: var( + --spectrum-text-to-visual-100 ); - --system-spectrum-button-staticwhite-secondary-border-color-default: transparent; - --system-spectrum-button-staticwhite-secondary-border-color-hover: transparent; - --system-spectrum-button-staticwhite-secondary-border-color-down: transparent; - --system-spectrum-button-staticwhite-secondary-border-color-focus: transparent; - --system-spectrum-button-staticwhite-secondary-content-color-default: var( - --spectrum-white + --system-tag-label-spacing-block: var(--spectrum-component-top-to-text-100); + --system-tag-size-m-label-spacing-block: var( + --spectrum-component-top-to-text-100 ); - --system-spectrum-button-staticwhite-secondary-content-color-hover: var( - --spectrum-white + --system-tag-corner-radius: var(--system-tag-size-medium-corner-radius); + --system-tag-size-m-corner-radius: var( + --system-tag-size-medium-corner-radius ); - --system-spectrum-button-staticwhite-secondary-content-color-down: var( - --spectrum-white + --system-tag-spacing-inline-start: var( + --system-tag-size-medium-spacing-inline-start ); - --system-spectrum-button-staticwhite-secondary-content-color-focus: var( - --spectrum-white + --system-tag-size-m-spacing-inline-start: var( + --system-tag-size-medium-spacing-inline-start ); - --system-spectrum-button-staticwhite-secondary-focus-indicator-color: var( - --spectrum-static-white-focus-indicator-color + --system-tag-label-spacing-inline-end: var( + --system-tag-size-medium-label-spacing-inline-end ); - --system-spectrum-button-staticwhite-secondary-background-color-disabled: var( - --spectrum-disabled-static-white-background-color + --system-tag-size-m-label-spacing-inline-end: var( + --system-tag-size-medium-label-spacing-inline-end ); - --system-spectrum-button-staticwhite-secondary-border-color-disabled: transparent; - --system-spectrum-button-staticwhite-secondary-content-color-disabled: var( - --spectrum-disabled-static-white-content-color + --system-tag-clear-button-spacing-inline-end: var( + --system-tag-size-medium-clear-button-spacing-inline-end ); - --system-spectrum-button-staticwhite-secondary-outline-background-color-default: transparent; - --system-spectrum-button-staticwhite-secondary-outline-background-color-hover: var( - --spectrum-transparent-white-300 + --system-tag-size-m-clear-button-spacing-inline-end: var( + --system-tag-size-medium-clear-button-spacing-inline-end ); - --system-spectrum-button-staticwhite-secondary-outline-background-color-down: var( - --spectrum-transparent-white-400 + --system-tag-size-s-height: var(--spectrum-component-height-75); + --system-tag-size-s-font-size: var(--spectrum-font-size-75); + --system-tag-size-s-icon-size: var(--spectrum-workflow-icon-size-75); + --system-tag-size-s-clear-button-spacing-inline-start: var( + --spectrum-text-to-visual-75 ); - --system-spectrum-button-staticwhite-secondary-outline-background-color-focus: var( - --spectrum-transparent-white-300 + --system-tag-size-s-clear-button-spacing-block: var( + --spectrum-tag-top-to-cross-icon-small ); - --system-spectrum-button-staticwhite-secondary-outline-border-color-default: var( - --spectrum-transparent-white-300 + --system-tag-size-s-icon-spacing-block-start: var( + --spectrum-component-top-to-workflow-icon-75 ); - --system-spectrum-button-staticwhite-secondary-outline-border-color-hover: var( - --spectrum-transparent-white-400 + --system-tag-size-s-icon-spacing-block-end: var( + --spectrum-component-top-to-workflow-icon-75 ); - --system-spectrum-button-staticwhite-secondary-outline-border-color-down: var( - --spectrum-transparent-white-500 + --system-tag-size-s-icon-spacing-inline-end: var( + --spectrum-text-to-visual-75 ); - --system-spectrum-button-staticwhite-secondary-outline-border-color-focus: var( - --spectrum-transparent-white-400 + --system-tag-size-s-avatar-spacing-block-start: var( + --spectrum-tag-top-to-avatar-small ); - --system-spectrum-button-staticwhite-secondary-outline-content-color-default: var( - --spectrum-white + --system-tag-size-s-avatar-spacing-block-end: var( + --spectrum-tag-top-to-avatar-small ); - --system-spectrum-button-staticwhite-secondary-outline-content-color-hover: var( - --spectrum-white + --system-tag-size-s-avatar-spacing-inline-end: var( + --spectrum-text-to-visual-75 ); - --system-spectrum-button-staticwhite-secondary-outline-content-color-down: var( - --spectrum-white + --system-tag-size-s-label-spacing-block: var( + --spectrum-component-top-to-text-75 ); - --system-spectrum-button-staticwhite-secondary-outline-content-color-focus: var( - --spectrum-white + --system-tag-size-s-corner-radius: var( + --system-tag-size-small-corner-radius ); - --system-spectrum-button-staticwhite-secondary-outline-focus-indicator-color: var( - --spectrum-static-white-focus-indicator-color + --system-tag-size-s-spacing-inline-start: var( + --system-tag-size-small-spacing-inline-start ); - --system-spectrum-button-staticwhite-secondary-outline-background-color-disabled: transparent; - --system-spectrum-button-staticwhite-secondary-outline-border-color-disabled: var( - --spectrum-disabled-static-white-border-color + --system-tag-size-s-label-spacing-inline-end: var( + --system-tag-size-small-label-spacing-inline-end ); - --system-spectrum-button-staticwhite-secondary-outline-content-color-disabled: var( - --spectrum-disabled-static-white-content-color + --system-tag-size-s-clear-button-spacing-inline-end: var( + --system-tag-size-small-clear-button-spacing-inline-end ); - --system-spectrum-button-staticblack-background-color-default: var( - --spectrum-transparent-black-800 + --system-tag-size-l-height: var(--spectrum-component-height-200); + --system-tag-size-l-font-size: var(--spectrum-font-size-200); + --system-tag-size-l-icon-size: var(--spectrum-workflow-icon-size-200); + --system-tag-size-l-clear-button-spacing-inline-start: var( + --spectrum-text-to-visual-200 ); - --system-spectrum-button-staticblack-background-color-hover: var( - --spectrum-transparent-black-900 + --system-tag-size-l-clear-button-spacing-block: var( + --spectrum-tag-top-to-cross-icon-large ); - --system-spectrum-button-staticblack-background-color-down: var( - --spectrum-transparent-black-900 + --system-tag-size-l-icon-spacing-block-start: var( + --spectrum-component-top-to-workflow-icon-200 ); - --system-spectrum-button-staticblack-background-color-focus: var( - --spectrum-transparent-black-900 + --system-tag-size-l-icon-spacing-block-end: var( + --spectrum-component-top-to-workflow-icon-200 ); - --system-spectrum-button-staticblack-border-color-default: transparent; - --system-spectrum-button-staticblack-border-color-hover: transparent; - --system-spectrum-button-staticblack-border-color-down: transparent; - --system-spectrum-button-staticblack-border-color-focus: transparent; - --system-spectrum-button-staticblack-content-color-default: var( - --spectrum-white + --system-tag-size-l-icon-spacing-inline-end: var( + --spectrum-text-to-visual-200 ); - --system-spectrum-button-staticblack-content-color-hover: var( - --spectrum-white + --system-tag-size-l-avatar-spacing-block-start: var( + --spectrum-tag-top-to-avatar-large ); - --system-spectrum-button-staticblack-content-color-down: var( - --spectrum-white + --system-tag-size-l-avatar-spacing-block-end: var( + --spectrum-tag-top-to-avatar-large ); - --system-spectrum-button-staticblack-content-color-focus: var( - --spectrum-white + --system-tag-size-l-avatar-spacing-inline-end: var( + --spectrum-text-to-visual-200 ); - --system-spectrum-button-staticblack-focus-indicator-color: var( - --spectrum-static-black-focus-indicator-color + --system-tag-size-l-label-spacing-block: var( + --spectrum-component-top-to-text-200 ); - --system-spectrum-button-staticblack-background-color-disabled: var( - --spectrum-disabled-static-black-background-color + --system-tag-size-l-corner-radius: var( + --system-tag-size-large-corner-radius ); - --system-spectrum-button-staticblack-border-color-disabled: transparent; - --system-spectrum-button-staticblack-content-color-disabled: var( - --spectrum-disabled-static-black-content-color + --system-tag-size-l-spacing-inline-start: var( + --system-tag-size-large-spacing-inline-start ); - --system-spectrum-button-staticblack-outline-background-color-default: transparent; - --system-spectrum-button-staticblack-outline-background-color-hover: var( - --spectrum-transparent-black-300 + --system-tag-size-l-label-spacing-inline-end: var( + --system-tag-size-large-label-spacing-inline-end ); - --system-spectrum-button-staticblack-outline-background-color-down: var( - --spectrum-transparent-black-400 + --system-tag-size-l-clear-button-spacing-inline-end: var( + --system-tag-size-large-clear-button-spacing-inline-end ); - --system-spectrum-button-staticblack-outline-background-color-focus: var( - --spectrum-transparent-black-300 +} + +:host, +:root { + --system-tag-group-item-margin-block: var(--spectrum-spacing-75); + --system-tag-group-item-margin-inline: var(--spectrum-spacing-75); +} + +:host, +:root { + --system-textfield-border-color: var(--spectrum-gray-500); + --system-textfield-border-color-hover: var(--spectrum-gray-600); + --system-textfield-border-color-focus: var(--spectrum-gray-800); + --system-textfield-border-color-focus-hover: var(--spectrum-gray-900); + --system-textfield-border-color-keyboard-focus: var(--spectrum-gray-900); + --system-textfield-border-width: var(--spectrum-border-width-100); + --system-textfield-texfield-animation-duration: var( + --spectrum-animation-duration-100 ); - --system-spectrum-button-staticblack-outline-border-color-default: var( - --spectrum-transparent-black-400 + --system-textfield-width: 240px; + --system-textfield-min-width: var( + --spectrum-text-field-minimum-width-multiplier ); - --system-spectrum-button-staticblack-outline-border-color-hover: var( - --spectrum-transparent-black-500 + --system-textfield-corner-radius: var(--spectrum-corner-radius-100); + --system-textfield-spacing-inline-quiet: var( + --spectrum-field-edge-to-text-quiet ); - --system-spectrum-button-staticblack-outline-border-color-down: var( - --spectrum-transparent-black-600 + --system-textfield-spacing-block-start: var( + --spectrum-component-top-to-text-100 ); - --system-spectrum-button-staticblack-outline-border-color-focus: var( - --spectrum-transparent-black-500 + --system-textfield-spacing-block-end: var( + --spectrum-component-bottom-to-text-100 ); - --system-spectrum-button-staticblack-outline-content-color-default: var( - --spectrum-black + --system-textfield-spacing-block-quiet: var( + --spectrum-field-edge-to-border-quiet ); - --system-spectrum-button-staticblack-outline-content-color-hover: var( - --spectrum-black + --system-textfield-label-spacing-block: var( + --spectrum-field-label-to-component ); - --system-spectrum-button-staticblack-outline-content-color-down: var( - --spectrum-black + --system-textfield-helptext-spacing-block: var( + --spectrum-help-text-to-component ); - --system-spectrum-button-staticblack-outline-content-color-focus: var( - --spectrum-black + --system-textfield-icon-spacing-inline-end-quiet-invalid: var( + --spectrum-field-edge-to-alert-icon-quiet ); - --system-spectrum-button-staticblack-outline-focus-indicator-color: var( - --spectrum-static-black-focus-indicator-color + --system-textfield-icon-spacing-inline-end-quiet-valid: var( + --spectrum-field-edge-to-validation-icon-quiet ); - --system-spectrum-button-staticblack-outline-background-color-disabled: transparent; - --system-spectrum-button-staticblack-outline-border-color-disabled: var( - --spectrum-disabled-static-black-border-color + --system-textfield-font-family: var(--spectrum-sans-font-family-stack); + --system-textfield-font-weight: var(--spectrum-regular-font-weight); + --system-textfield-character-count-font-family: var( + --spectrum-sans-font-family-stack ); - --system-spectrum-button-staticblack-outline-content-color-disabled: var( - --spectrum-disabled-static-black-content-color + --system-textfield-character-count-font-weight: var( + --spectrum-regular-font-weight ); - --system-spectrum-button-staticblack-secondary-background-color-default: var( - --spectrum-transparent-black-200 + --system-textfield-character-count-spacing-inline: var( + --spectrum-spacing-200 ); - --system-spectrum-button-staticblack-secondary-background-color-hover: var( - --spectrum-transparent-black-300 + --system-textfield-character-count-spacing-inline-side: var( + --spectrum-side-label-character-count-to-field ); - --system-spectrum-button-staticblack-secondary-background-color-down: var( - --spectrum-transparent-black-400 + --system-textfield-focus-indicator-width: var( + --spectrum-focus-indicator-thickness ); - --system-spectrum-button-staticblack-secondary-background-color-focus: var( - --spectrum-transparent-black-300 + --system-textfield-focus-indicator-gap: var(--spectrum-focus-indicator-gap); + --system-textfield-background-color: var(--spectrum-gray-25); + --system-textfield-text-color-default: var( + --spectrum-neutral-content-color-default ); - --system-spectrum-button-staticblack-secondary-border-color-default: transparent; - --system-spectrum-button-staticblack-secondary-border-color-hover: transparent; - --system-spectrum-button-staticblack-secondary-border-color-down: transparent; - --system-spectrum-button-staticblack-secondary-border-color-focus: transparent; - --system-spectrum-button-staticblack-secondary-content-color-default: var( - --spectrum-black + --system-textfield-text-color-hover: var( + --spectrum-neutral-content-color-hover ); - --system-spectrum-button-staticblack-secondary-content-color-hover: var( - --spectrum-black + --system-textfield-text-color-focus: var( + --spectrum-neutral-content-color-focus ); - --system-spectrum-button-staticblack-secondary-content-color-down: var( - --spectrum-black + --system-textfield-text-color-focus-hover: var( + --spectrum-neutral-content-color-focus-hover ); - --system-spectrum-button-staticblack-secondary-content-color-focus: var( - --spectrum-black + --system-textfield-text-color-keyboard-focus: var( + --spectrum-neutral-content-color-key-focus ); - --system-spectrum-button-staticblack-secondary-focus-indicator-color: var( - --spectrum-static-black-focus-indicator-color + --system-textfield-text-color-readonly: var( + --spectrum-neutral-content-color-default ); - --system-spectrum-button-staticblack-secondary-background-color-disabled: var( - --spectrum-disabled-static-black-background-color + --system-textfield-background-color-disabled: var( + --spectrum-disabled-background-color ); - --system-spectrum-button-staticblack-secondary-border-color-disabled: transparent; - --system-spectrum-button-staticblack-secondary-content-color-disabled: var( - --spectrum-disabled-static-black-content-color + --system-textfield-border-color-disabled: var( + --spectrum-disabled-border-color ); - --system-spectrum-button-staticblack-secondary-outline-background-color-default: transparent; - --system-spectrum-button-staticblack-secondary-outline-background-color-hover: var( - --spectrum-transparent-black-300 + --system-textfield-text-color-disabled: var( + --spectrum-disabled-content-color ); - --system-spectrum-button-staticblack-secondary-outline-background-color-down: var( - --spectrum-transparent-black-400 + --system-textfield-border-color-invalid-default: var( + --spectrum-negative-border-color-default ); - --system-spectrum-button-staticblack-secondary-outline-background-color-focus: var( - --spectrum-transparent-black-300 + --system-textfield-border-color-invalid-hover: var( + --spectrum-negative-border-color-hover ); - --system-spectrum-button-staticblack-secondary-outline-border-color-default: var( - --spectrum-transparent-black-300 + --system-textfield-border-color-invalid-focus: var( + --spectrum-negative-border-color-focus ); - --system-spectrum-button-staticblack-secondary-outline-border-color-hover: var( - --spectrum-transparent-black-400 + --system-textfield-border-color-invalid-focus-hover: var( + --spectrum-negative-border-color-focus-hover ); - --system-spectrum-button-staticblack-secondary-outline-border-color-down: var( - --spectrum-transparent-black-500 + --system-textfield-border-color-invalid-keyboard-focus: var( + --spectrum-negative-border-color-key-focus ); - --system-spectrum-button-staticblack-secondary-outline-border-color-focus: var( - --spectrum-transparent-black-400 + --system-textfield-icon-color-invalid: var( + --spectrum-negative-visual-color ); - --system-spectrum-button-staticblack-secondary-outline-content-color-default: var( - --spectrum-black + --system-textfield-text-color-invalid: var( + --spectrum-neutral-content-color-default ); - --system-spectrum-button-staticblack-secondary-outline-content-color-hover: var( - --spectrum-black + --system-textfield-text-color-valid: var( + --spectrum-neutral-content-color-default ); - --system-spectrum-button-staticblack-secondary-outline-content-color-down: var( - --spectrum-black + --system-textfield-icon-color-valid: var(--spectrum-positive-visual-color); + --system-textfield-focus-indicator-color: var( + --spectrum-focus-indicator-color ); - --system-spectrum-button-staticblack-secondary-outline-content-color-focus: var( - --spectrum-black + --system-textfield-text-area-min-inline-size: var( + --spectrum-text-area-minimum-width ); - --system-spectrum-button-staticblack-secondary-outline-focus-indicator-color: var( - --spectrum-static-black-focus-indicator-color + --system-textfield-text-area-min-block-size: var( + --spectrum-text-area-minimum-height ); - --system-spectrum-button-staticblack-secondary-outline-background-color-disabled: transparent; - --system-spectrum-button-staticblack-secondary-outline-border-color-disabled: var( - --spectrum-disabled-static-black-border-color + --system-textfield-height: var(--spectrum-component-height-100); + --system-textfield-size-m-height: var(--spectrum-component-height-100); + --system-textfield-label-spacing-block-quiet: var( + --spectrum-field-label-to-component-quiet-medium ); - --system-spectrum-button-staticblack-secondary-outline-content-color-disabled: var( - --spectrum-disabled-static-black-content-color + --system-textfield-size-m-label-spacing-block-quiet: var( + --spectrum-field-label-to-component-quiet-medium ); -} - -:host, -:root { - --system-spectrum-checkbox-control-color-default: var(--spectrum-gray-600); - --system-spectrum-checkbox-control-color-hover: var(--spectrum-gray-700); - --system-spectrum-checkbox-control-color-down: var(--spectrum-gray-800); - --system-spectrum-checkbox-control-color-focus: var(--spectrum-gray-700); -} - -:host, -:root { - --system-spectrum-closebutton-background-color-default: transparent; - --system-spectrum-closebutton-background-color-hover: var( - --spectrum-gray-200 + --system-textfield-label-spacing-inline-side-label: var( + --spectrum-spacing-200 ); - --system-spectrum-closebutton-background-color-down: var( - --spectrum-gray-300 + --system-textfield-size-m-label-spacing-inline-side-label: var( + --spectrum-spacing-200 ); - --system-spectrum-closebutton-background-color-focus: var( - --spectrum-gray-200 + --system-textfield-placeholder-font-size: var(--spectrum-font-size-100); + --system-textfield-size-m-placeholder-font-size: var( + --spectrum-font-size-100 ); -} - -:host, -:root { - --system-spectrum-combobox-border-color-default: var(--spectrum-gray-500); - --system-spectrum-combobox-border-color-hover: var(--spectrum-gray-600); - --system-spectrum-combobox-border-color-focus: var(--spectrum-gray-500); - --system-spectrum-combobox-border-color-focus-hover: var( - --spectrum-gray-600 + --system-textfield-spacing-inline: var( + --spectrum-component-edge-to-text-100 ); - --system-spectrum-combobox-border-color-key-focus: var(--spectrum-gray-600); -} - -:host, -:root { - --system-spectrum-infieldbutton-spectrum-infield-button-border-width: var( - --spectrum-border-width-100 + --system-textfield-size-m-spacing-inline: var( + --spectrum-component-edge-to-text-100 ); - --system-spectrum-infieldbutton-spectrum-infield-button-border-color: inherit; - --system-spectrum-infieldbutton-spectrum-infield-button-border-radius: var( - --spectrum-corner-radius-100 + --system-textfield-icon-size-invalid: var( + --spectrum-workflow-icon-size-100 ); - --system-spectrum-infieldbutton-spectrum-infield-button-border-radius-reset: 0; - --system-spectrum-infieldbutton-spectrum-infield-button-stacked-top-border-radius-start-start: var( - --spectrum-infield-button-border-radius-reset + --system-textfield-size-m-icon-size-invalid: var( + --spectrum-workflow-icon-size-100 ); - --system-spectrum-infieldbutton-spectrum-infield-button-stacked-bottom-border-radius-end-start: var( - --spectrum-infield-button-border-radius-reset + --system-textfield-icon-size-valid: var(--spectrum-checkmark-icon-size-100); + --system-textfield-size-m-icon-size-valid: var( + --spectrum-checkmark-icon-size-100 ); - --system-spectrum-infieldbutton-spectrum-infield-button-background-color: var( - --spectrum-gray-75 + --system-textfield-icon-spacing-inline-end-invalid: var( + --spectrum-field-edge-to-alert-icon-medium ); - --system-spectrum-infieldbutton-spectrum-infield-button-background-color-hover: var( - --spectrum-gray-200 + --system-textfield-size-m-icon-spacing-inline-end-invalid: var( + --spectrum-field-edge-to-alert-icon-medium ); - --system-spectrum-infieldbutton-spectrum-infield-button-background-color-down: var( - --spectrum-gray-300 + --system-textfield-icon-spacing-inline-end-valid: var( + --spectrum-field-edge-to-validation-icon-medium ); - --system-spectrum-infieldbutton-spectrum-infield-button-background-color-key-focus: var( - --spectrum-gray-200 + --system-textfield-size-m-icon-spacing-inline-end-valid: var( + --spectrum-field-edge-to-validation-icon-medium ); -} - -:host, -:root { - --system-spectrum-picker-background-color-default: var(--spectrum-gray-75); - --system-spectrum-picker-background-color-default-open: var( - --spectrum-gray-200 + --system-textfield-icon-spacing-block-invalid: var( + --spectrum-field-top-to-alert-icon-medium ); - --system-spectrum-picker-background-color-active: var(--spectrum-gray-300); - --system-spectrum-picker-background-color-hover: var(--spectrum-gray-200); - --system-spectrum-picker-background-color-hover-open: var( - --spectrum-gray-200 + --system-textfield-size-m-icon-spacing-block-invalid: var( + --spectrum-field-top-to-alert-icon-medium ); - --system-spectrum-picker-background-color-key-focus: var( - --spectrum-gray-200 + --system-textfield-icon-spacing-block-valid: var( + --spectrum-field-top-to-validation-icon-medium ); - --system-spectrum-picker-border-color-default: var(--spectrum-gray-500); - --system-spectrum-picker-border-color-default-open: var( - --spectrum-gray-500 + --system-textfield-size-m-icon-spacing-block-valid: var( + --spectrum-field-top-to-validation-icon-medium ); - --system-spectrum-picker-border-color-hover: var(--spectrum-gray-600); - --system-spectrum-picker-border-color-hover-open: var(--spectrum-gray-600); - --system-spectrum-picker-border-color-active: var(--spectrum-gray-700); - --system-spectrum-picker-border-color-key-focus: var(--spectrum-gray-600); - --system-spectrum-picker-border-width: var(--spectrum-border-width-100); -} - -:host, -:root { - --system-spectrum-pickerbutton-spectrum-picker-button-background-color: var( - --spectrum-gray-75 + --system-textfield-icon-spacing-inline-start-invalid: var( + --spectrum-field-text-to-alert-icon-medium ); - --system-spectrum-pickerbutton-spectrum-picker-button-background-color-hover: var( - --spectrum-gray-200 + --system-textfield-size-m-icon-spacing-inline-start-invalid: var( + --spectrum-field-text-to-alert-icon-medium ); - --system-spectrum-pickerbutton-spectrum-picker-button-background-color-down: var( - --spectrum-gray-300 + --system-textfield-icon-spacing-inline-start-valid: var( + --spectrum-field-text-to-validation-icon-medium ); - --system-spectrum-pickerbutton-spectrum-picker-button-background-color-key-focus: var( - --spectrum-gray-200 + --system-textfield-size-m-icon-spacing-inline-start-valid: var( + --spectrum-field-text-to-validation-icon-medium ); - --system-spectrum-pickerbutton-spectrum-picker-button-border-color: inherit; - --system-spectrum-pickerbutton-spectrum-picker-button-border-radius: var( - --spectrum-corner-radius-100 + --system-textfield-character-count-font-size: var(--spectrum-font-size-75); + --system-textfield-size-m-character-count-font-size: var( + --spectrum-font-size-75 ); - --system-spectrum-pickerbutton-spectrum-picker-button-border-radius-rounded-sided: 0; - --system-spectrum-pickerbutton-spectrum-picker-button-border-radius-sided: 0; - --system-spectrum-pickerbutton-spectrum-picker-button-border-width: var( - --spectrum-border-width-100 + --system-textfield-character-count-spacing-block: var( + --spectrum-component-bottom-to-text-75 ); -} - -:host, -:root { - --system-spectrum-popover-border-width: var(--spectrum-border-width-100); -} - -:host, -:root { - --system-spectrum-radio-button-border-color-default: var( - --spectrum-gray-600 + --system-textfield-size-m-character-count-spacing-block: var( + --spectrum-component-bottom-to-text-75 ); - --system-spectrum-radio-button-border-color-hover: var(--spectrum-gray-700); - --system-spectrum-radio-button-border-color-down: var(--spectrum-gray-800); - --system-spectrum-radio-button-border-color-focus: var(--spectrum-gray-700); - --system-spectrum-radio-emphasized-button-checked-border-color-default: var( - --spectrum-accent-color-900 + --system-textfield-character-count-spacing-block-quiet: var( + --spectrum-character-count-to-field-quiet-medium ); - --system-spectrum-radio-emphasized-button-checked-border-color-hover: var( - --spectrum-accent-color-1000 + --system-textfield-size-m-character-count-spacing-block-quiet: var( + --spectrum-character-count-to-field-quiet-medium ); - --system-spectrum-radio-emphasized-button-checked-border-color-down: var( - --spectrum-accent-color-1100 + --system-textfield-character-count-spacing-block-side: var( + --spectrum-side-label-character-count-top-margin-medium ); - --system-spectrum-radio-emphasized-button-checked-border-color-focus: var( - --spectrum-accent-color-1000 + --system-textfield-size-m-character-count-spacing-block-side: var( + --spectrum-side-label-character-count-top-margin-medium ); -} - -:host, -:root { - --system-spectrum-search-border-radius: var(--spectrum-corner-radius-100); - --system-spectrum-search-edge-to-visual: var( - --spectrum-component-edge-to-visual-100 + --system-textfield-text-area-min-block-size-quiet: var( + --spectrum-component-height-100 ); - --system-spectrum-search-border-color-default: var(--spectrum-gray-500); - --system-spectrum-search-border-color-hover: var(--spectrum-gray-600); - --system-spectrum-search-border-color-focus: var(--spectrum-gray-800); - --system-spectrum-search-border-color-focus-hover: var(--spectrum-gray-900); - --system-spectrum-search-border-color-key-focus: var(--spectrum-gray-900); - --system-spectrum-search-sizes-border-radius: var( - --spectrum-corner-radius-100 + --system-textfield-size-m-text-area-min-block-size-quiet: var( + --spectrum-component-height-100 ); - --system-spectrum-search-sizes-edge-to-visual: var( - --spectrum-component-edge-to-visual-75 + --system-textfield-size-s-height: var(--spectrum-component-height-75); + --system-textfield-size-s-label-spacing-block-quiet: var( + --spectrum-field-label-to-component-quiet-small ); - --system-spectrum-search-sizem-border-radius: var( - --spectrum-corner-radius-100 + --system-textfield-size-s-label-spacing-inline-side-label: var( + --spectrum-spacing-100 ); - --system-spectrum-search-sizem-edge-to-visual: var( - --spectrum-component-edge-to-visual-100 + --system-textfield-size-s-placeholder-font-size: var( + --spectrum-font-size-75 ); - --system-spectrum-search-sizel-border-radius: var( - --spectrum-corner-radius-100 + --system-textfield-size-s-spacing-inline: var( + --spectrum-component-edge-to-text-75 ); - --system-spectrum-search-sizel-edge-to-visual: var( - --spectrum-component-edge-to-visual-200 + --system-textfield-size-s-icon-size-invalid: var( + --spectrum-workflow-icon-size-75 ); - --system-spectrum-search-sizexl-border-radius: var( - --spectrum-corner-radius-100 + --system-textfield-size-s-icon-size-valid: var( + --spectrum-checkmark-icon-size-75 ); - --system-spectrum-search-sizexl-edge-to-visual: var( - --spectrum-component-edge-to-visual-300 + --system-textfield-size-s-icon-spacing-inline-end-invalid: var( + --spectrum-field-edge-to-alert-icon-small ); -} - -:host, -:root { - --system-spectrum-slider-track-color: var(--spectrum-gray-300); - --system-spectrum-slider-track-fill-color: var(--spectrum-gray-700); - --system-spectrum-slider-ramp-track-color: var(--spectrum-gray-400); - --system-spectrum-slider-ramp-track-color-disabled: var( - --spectrum-gray-200 + --system-textfield-size-s-icon-spacing-inline-end-valid: var( + --spectrum-field-edge-to-validation-icon-small ); - --system-spectrum-slider-handle-background-color: transparent; - --system-spectrum-slider-handle-background-color-disabled: transparent; - --system-spectrum-slider-ramp-handle-background-color: var( - --spectrum-gray-100 + --system-textfield-size-s-icon-spacing-block-invalid: var( + --spectrum-field-top-to-alert-icon-small ); - --system-spectrum-slider-ticks-handle-background-color: var( - --spectrum-gray-100 + --system-textfield-size-s-icon-spacing-block-valid: var( + --spectrum-field-top-to-validation-icon-small ); - --system-spectrum-slider-handle-border-color: var(--spectrum-gray-700); - --system-spectrum-slider-handle-disabled-background-color: var( - --spectrum-gray-100 + --system-textfield-size-s-icon-spacing-inline-start-invalid: var( + --spectrum-field-text-to-alert-icon-small ); - --system-spectrum-slider-tick-mark-color: var(--spectrum-gray-300); - --system-spectrum-slider-handle-border-color-hover: var( - --spectrum-gray-800 + --system-textfield-size-s-icon-spacing-inline-start-valid: var( + --spectrum-field-text-to-validation-icon-small ); - --system-spectrum-slider-handle-border-color-down: var(--spectrum-gray-800); - --system-spectrum-slider-handle-border-color-key-focus: var( - --spectrum-gray-800 + --system-textfield-size-s-character-count-font-size: var( + --spectrum-font-size-75 ); - --system-spectrum-slider-handle-focus-ring-color-key-focus: var( - --spectrum-focus-indicator-color + --system-textfield-size-s-character-count-spacing-block: var( + --spectrum-component-bottom-to-text-75 ); -} - -:host, -:root { - --system-spectrum-stepper-border-width: var(--spectrum-border-width-100); - --system-spectrum-stepper-buttons-border-style: none; - --system-spectrum-stepper-buttons-border-width: 0; - --system-spectrum-stepper-buttons-border-color: var(--spectrum-gray-500); - --system-spectrum-stepper-buttons-background-color: var(--spectrum-gray-50); - --system-spectrum-stepper-buttons-border-color-hover: var( - --spectrum-gray-600 + --system-textfield-size-s-character-count-spacing-block-quiet: var( + --spectrum-character-count-to-field-quiet-small ); - --system-spectrum-stepper-buttons-border-color-focus: var( - --spectrum-gray-800 + --system-textfield-size-s-character-count-spacing-block-side: var( + --spectrum-side-label-character-count-top-margin-small ); - --system-spectrum-stepper-buttons-border-color-keyboard-focus: var( - --spectrum-gray-900 + --system-textfield-size-s-text-area-min-block-size-quiet: var( + --spectrum-component-height-75 ); - --system-spectrum-stepper-button-border-radius-reset: 0px; - --system-spectrum-stepper-button-border-width: var( - --spectrum-border-width-100 + --system-textfield-size-l-height: var(--spectrum-component-height-200); + --system-textfield-size-l-label-spacing-block-quiet: var( + --spectrum-field-label-to-component-quiet-large ); - --system-spectrum-stepper-border-color: var(--spectrum-gray-500); - --system-spectrum-stepper-border-color-hover: var(--spectrum-gray-600); - --system-spectrum-stepper-border-color-focus: var(--spectrum-gray-800); - --system-spectrum-stepper-border-color-focus-hover: var( - --spectrum-gray-800 + --system-textfield-size-l-label-spacing-inline-side-label: var( + --spectrum-spacing-200 ); - --system-spectrum-stepper-border-color-keyboard-focus: var( - --spectrum-gray-900 + --system-textfield-size-l-placeholder-font-size: var( + --spectrum-font-size-200 ); - --system-spectrum-stepper-border-color-invalid: var( - --spectrum-negative-border-color-default + --system-textfield-size-l-spacing-inline: var( + --spectrum-component-edge-to-text-200 ); - --system-spectrum-stepper-border-color-focus-invalid: var( - --spectrum-negative-border-color-focus + --system-textfield-size-l-icon-size-invalid: var( + --spectrum-workflow-icon-size-200 ); - --system-spectrum-stepper-border-color-focus-hover-invalid: var( - --spectrum-negative-border-color-focus-hover + --system-textfield-size-l-icon-size-valid: var( + --spectrum-checkmark-icon-size-200 ); - --system-spectrum-stepper-border-color-keyboard-focus-invalid: var( - --spectrum-negative-border-color-key-focus + --system-textfield-size-l-icon-spacing-inline-end-invalid: var( + --spectrum-field-edge-to-alert-icon-large ); - --system-spectrum-stepper-button-background-color-focus: var( - --spectrum-gray-300 + --system-textfield-size-l-icon-spacing-inline-end-valid: var( + --spectrum-field-edge-to-validation-icon-large ); - --system-spectrum-stepper-button-background-color-keyboard-focus: var( - --spectrum-gray-200 + --system-textfield-size-l-icon-spacing-block-invalid: var( + --spectrum-field-top-to-alert-icon-large ); -} - -:host, -:root { - --system-spectrum-switch-handle-border-color-default: var( - --spectrum-gray-600 + --system-textfield-size-l-icon-spacing-block-valid: var( + --spectrum-field-top-to-validation-icon-large ); - --system-spectrum-switch-handle-border-color-hover: var( - --spectrum-gray-700 + --system-textfield-size-l-icon-spacing-inline-start-invalid: var( + --spectrum-field-text-to-alert-icon-large ); - --system-spectrum-switch-handle-border-color-down: var(--spectrum-gray-800); - --system-spectrum-switch-handle-border-color-focus: var( - --spectrum-gray-700 + --system-textfield-size-l-icon-spacing-inline-start-valid: var( + --spectrum-field-text-to-validation-icon-large ); - --system-spectrum-switch-handle-border-color-selected-default: var( - --spectrum-gray-700 + --system-textfield-size-l-character-count-font-size: var( + --spectrum-font-size-100 ); - --system-spectrum-switch-handle-border-color-selected-hover: var( - --spectrum-gray-800 + --system-textfield-size-l-character-count-spacing-block: var( + --spectrum-component-bottom-to-text-100 ); - --system-spectrum-switch-handle-border-color-selected-down: var( - --spectrum-gray-900 + --system-textfield-size-l-character-count-spacing-block-quiet: var( + --spectrum-character-count-to-field-quiet-large ); - --system-spectrum-switch-handle-border-color-selected-focus: var( - --spectrum-gray-800 + --system-textfield-size-l-character-count-spacing-block-side: var( + --spectrum-side-label-character-count-top-margin-large ); -} - -:host, -:root { - --system-spectrum-tabs-font-weight: var(--spectrum-default-font-weight); -} - -:host, -:root { - --system-spectrum-tag-border-color: var(--spectrum-gray-700); - --system-spectrum-tag-border-color-hover: var(--spectrum-gray-800); - --system-spectrum-tag-border-color-active: var(--spectrum-gray-900); - --system-spectrum-tag-border-color-focus: var(--spectrum-gray-800); - --system-spectrum-tag-size-small-corner-radius: var( - --spectrum-corner-radius-100 + --system-textfield-size-l-text-area-min-block-size-quiet: var( + --spectrum-component-height-200 ); - --system-spectrum-tag-size-medium-corner-radius: var( - --spectrum-corner-radius-100 + --system-textfield-size-xl-height: var(--spectrum-component-height-300); + --system-textfield-size-xl-label-spacing-block-quiet: var( + --spectrum-field-label-to-component-quiet-extra-large ); - --system-spectrum-tag-size-large-corner-radius: var( - --spectrum-corner-radius-100 + --system-textfield-size-xl-label-spacing-inline-side-label: var( + --spectrum-spacing-200 ); - --system-spectrum-tag-background-color: var(--spectrum-gray-75); - --system-spectrum-tag-background-color-hover: var(--spectrum-gray-75); - --system-spectrum-tag-background-color-active: var(--spectrum-gray-200); - --system-spectrum-tag-background-color-focus: var(--spectrum-gray-75); - --system-spectrum-tag-content-color: var( - --spectrum-neutral-subdued-content-color-default + --system-textfield-size-xl-placeholder-font-size: var( + --spectrum-font-size-300 ); - --system-spectrum-tag-content-color-hover: var( - --spectrum-neutral-subdued-content-color-hover + --system-textfield-size-xl-spacing-inline: var( + --spectrum-component-edge-to-text-200 ); - --system-spectrum-tag-content-color-active: var( - --spectrum-neutral-subdued-content-color-down + --system-textfield-size-xl-icon-size-invalid: var( + --spectrum-workflow-icon-size-300 ); - --system-spectrum-tag-content-color-focus: var( - --spectrum-neutral-subdued-content-color-key-focus + --system-textfield-size-xl-icon-size-valid: var( + --spectrum-checkmark-icon-size-300 ); - --system-spectrum-tag-border-color-selected: var( - --spectrum-neutral-subdued-background-color-default + --system-textfield-size-xl-icon-spacing-inline-end-invalid: var( + --spectrum-field-edge-to-alert-icon-extra-large ); - --system-spectrum-tag-border-color-selected-hover: var( - --spectrum-neutral-subdued-background-color-hover + --system-textfield-size-xl-icon-spacing-inline-end-valid: var( + --spectrum-field-edge-to-validation-icon-extra-large ); - --system-spectrum-tag-border-color-selected-active: var( - --spectrum-neutral-subdued-background-color-down + --system-textfield-size-xl-icon-spacing-block-invalid: var( + --spectrum-field-top-to-alert-icon-extra-large ); - --system-spectrum-tag-border-color-selected-focus: var( - --spectrum-neutral-subdued-background-color-key-focus + --system-textfield-size-xl-icon-spacing-block-valid: var( + --spectrum-field-top-to-validation-icon-extra-large ); - --system-spectrum-tag-border-color-disabled: transparent; - --system-spectrum-tag-background-color-disabled: var( - --spectrum-disabled-background-color + --system-textfield-size-xl-icon-spacing-inline-start-invalid: var( + --spectrum-field-text-to-alert-icon-extra-large ); - --system-spectrum-tag-size-small-spacing-inline-start: var( - --spectrum-component-edge-to-visual-75 + --system-textfield-size-xl-icon-spacing-inline-start-valid: var( + --spectrum-field-text-to-validation-icon-extra-large ); - --system-spectrum-tag-size-small-label-spacing-inline-end: var( - --spectrum-component-edge-to-text-75 + --system-textfield-size-xl-character-count-font-size: var( + --spectrum-font-size-200 ); - --system-spectrum-tag-size-small-clear-button-spacing-inline-end: var( - --spectrum-component-edge-to-visual-75 + --system-textfield-size-xl-character-count-spacing-block: var( + --spectrum-component-bottom-to-text-200 ); - --system-spectrum-tag-size-medium-spacing-inline-start: var( - --spectrum-component-edge-to-visual-100 + --system-textfield-size-xl-character-count-spacing-block-quiet: var( + --spectrum-character-count-to-field-quiet-extra-large ); - --system-spectrum-tag-size-medium-label-spacing-inline-end: var( - --spectrum-component-edge-to-text-100 + --system-textfield-size-xl-character-count-spacing-block-side: var( + --spectrum-side-label-character-count-top-margin-extra-large ); - --system-spectrum-tag-size-medium-clear-button-spacing-inline-end: var( - --spectrum-component-edge-to-visual-100 + --system-textfield-size-xl-text-area-min-block-size-quiet: var( + --spectrum-component-height-300 ); - --system-spectrum-tag-size-large-spacing-inline-start: var( - --spectrum-component-edge-to-visual-200 +} + +:host, +:root { + --system-thumbnail-size: var(--spectrum-thumbnail-size-500); + --system-thumbnail-border-radius: 2px; + --system-thumbnail-border-width: var(--spectrum-border-width-100); + --system-thumbnail-border-color-rgba: rgba( + var(--spectrum-gray-800-rgb), + var(--spectrum-thumbnail-border-opacity) + ); + --system-thumbnail-layer-border-width-inner: var( + --spectrum-border-width-400 + ); + --system-thumbnail-layer-border-color-inner: var(--spectrum-white); + --system-thumbnail-layer-border-width-outer: var( + --spectrum-border-width-100 ); - --system-spectrum-tag-size-large-label-spacing-inline-end: var( - --spectrum-component-edge-to-text-200 + --system-thumbnail-layer-border-color-outer: var(--spectrum-gray-500); + --system-thumbnail-border-width-selected: var(--spectrum-border-width-200); + --system-thumbnail-border-color-selected: var(--spectrum-accent-color-800); + --system-thumbnail-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness ); - --system-spectrum-tag-size-large-clear-button-spacing-inline-end: var( - --spectrum-component-edge-to-visual-200 + --system-thumbnail-focus-indicator-gap: var(--spectrum-focus-indicator-gap); + --system-thumbnail-focus-indicator-color: var( + --spectrum-focus-indicator-color ); + --system-thumbnail-color-opacity-disabled: var( + --spectrum-thumbnail-opacity-disabled + ); + --system-thumbnail-size-50-size: var(--spectrum-thumbnail-size-50); + --system-thumbnail-size-75-size: var(--spectrum-thumbnail-size-75); + --system-thumbnail-size-100-size: var(--spectrum-thumbnail-size-100); + --system-thumbnail-size-200-size: var(--spectrum-thumbnail-size-200); + --system-thumbnail-size-300-size: var(--spectrum-thumbnail-size-300); + --system-thumbnail-size-400-size: var(--spectrum-thumbnail-size-400); + --system-thumbnail-size-500-size: var(--spectrum-thumbnail-size-500); + --system-thumbnail-size-600-size: var(--spectrum-thumbnail-size-600); + --system-thumbnail-size-700-size: var(--spectrum-thumbnail-size-700); + --system-thumbnail-size-800-size: var(--spectrum-thumbnail-size-800); + --system-thumbnail-size-900-size: var(--spectrum-thumbnail-size-900); + --system-thumbnail-size-1000-size: var(--spectrum-thumbnail-size-1000); } :host, :root { - --system-spectrum-textfield-border-color: var(--spectrum-gray-500); - --system-spectrum-textfield-border-color-hover: var(--spectrum-gray-600); - --system-spectrum-textfield-border-color-focus: var(--spectrum-gray-800); - --system-spectrum-textfield-border-color-focus-hover: var( - --spectrum-gray-900 + --system-toast-background-color-default: var( + --spectrum-neutral-subdued-background-color-default ); - --system-spectrum-textfield-border-color-keyboard-focus: var( - --spectrum-gray-900 + --system-toast-font-weight: var(--spectrum-regular-font-weight); + --system-toast-font-size: var(--spectrum-font-size-100); + --system-toast-corner-radius: var(--spectrum-corner-radius-100); + --system-toast-block-size: var(--spectrum-toast-height); + --system-toast-max-inline-size: var(--spectrum-toast-maximum-width); + --system-toast-border-width: var(--spectrum-border-width-100); + --system-toast-line-height: var(--spectrum-line-height-100); + --system-toast-line-height-cjk: var(--spectrum-cjk-line-height-100); + --system-toast-spacing-icon-to-text: var(--spectrum-text-to-visual-100); + --system-toast-spacing-start-edge-to-text-and-icon: var( + --spectrum-spacing-300 + ); + --system-toast-spacing-text-and-action-button-to-divider: var( + --spectrum-spacing-300 + ); + --system-toast-spacing-top-edge-to-divider: var(--spectrum-spacing-100); + --system-toast-spacing-bottom-edge-to-divider: var(--spectrum-spacing-100); + --system-toast-spacing-top-edge-to-icon: var( + --spectrum-toast-top-to-workflow-icon + ); + --system-toast-spacing-text-to-action-button-horizontal: var( + --spectrum-spacing-300 + ); + --system-toast-spacing-close-button: var(--spectrum-spacing-100); + --system-toast-spacing-block-start: var(--spectrum-spacing-100); + --system-toast-spacing-block-end: var(--spectrum-spacing-100); + --system-toast-spacing-top-edge-to-text: var(--spectrum-toast-top-to-text); + --system-toast-spacing-bottom-edge-to-text: var( + --spectrum-toast-bottom-to-text + ); + --system-toast-negative-background-color-default: var( + --spectrum-negative-background-color-default ); - --system-spectrum-textfield-border-width: var(--spectrum-border-width-100); + --system-toast-positive-background-color-default: var( + --spectrum-positive-background-color-default + ); + --system-toast-informative-background-color-default: var( + --spectrum-informative-background-color-default + ); + --system-toast-text-and-icon-color: var(--spectrum-white); + --system-toast-divider-color: var(--spectrum-transparent-white-400); } :host, :root { - --system-spectrum-toast-background-color-default: var( + --system-tooltip-backgound-color-default-neutral: var( --spectrum-neutral-subdued-background-color-default ); + --system-tooltip-animation-duration: var(--spectrum-animation-duration-100); + --system-tooltip-margin: 0px; + --system-tooltip-height: var(--spectrum-component-height-75); + --system-tooltip-max-inline-size: var(--spectrum-tooltip-maximum-width); + --system-tooltip-border-radius: var(--spectrum-corner-radius-100); + --system-tooltip-icon-width: var(--spectrum-workflow-icon-size-50); + --system-tooltip-icon-height: var(--spectrum-workflow-icon-size-50); + --system-tooltip-font-size: var(--spectrum-font-size-75); + --system-tooltip-line-height: var(--spectrum-line-height-100); + --system-tooltip-cjk-line-height: var(--spectrum-cjk-line-height-100); + --system-tooltip-font-weight: var(--spectrum-regular-font-weight); + --system-tooltip-spacing-inline: var(--spectrum-component-edge-to-text-75); + --system-tooltip-spacing-block-start: var( + --spectrum-component-top-to-text-75 + ); + --system-tooltip-spacing-block-end: var( + --spectrum-component-bottom-to-text-75 + ); + --system-tooltip-icon-spacing-inline-start: var( + --spectrum-text-to-visual-75 + ); + --system-tooltip-icon-spacing-inline-end: var(--spectrum-text-to-visual-75); + --system-tooltip-icon-spacing-block-start: var( + --spectrum-component-top-to-workflow-icon-75 + ); + --system-tooltip-background-color-informative: var( + --spectrum-informative-background-color-default + ); + --system-tooltip-background-color-positive: var( + --spectrum-positive-background-color-default + ); + --system-tooltip-background-color-negative: var( + --spectrum-negative-background-color-default + ); + --system-tooltip-content-color: var(--spectrum-white); + --system-tooltip-tip-inline-size: var(--spectrum-tooltip-tip-width); + --system-tooltip-tip-block-size: var(--spectrum-tooltip-tip-height); + --system-tooltip-tip-square-size: var(--system-tooltip-tip-inline-size); + --system-tooltip-tip-height-percentage: 50%; + --system-tooltip-tip-antialiasing-inset: 0.5px; + --system-tooltip-pointer-corner-spacing: var(--spectrum-corner-radius-100); + --system-tooltip-background-color-default: var( + --system-tooltip-backgound-color-default-neutral + ); } :host, :root { - --system-spectrum-tooltip-backgound-color-default-neutral: var( - --spectrum-neutral-subdued-background-color-default + --system-tray-exit-animation-delay: 0ms; + --system-tray-entry-animation-delay: 160ms; + --system-tray-max-inline-size: 375px; + --system-tray-spacing-edge-to-safe-zone: 64px; + --system-tray-entry-animation-duration: var( + --spectrum-animation-duration-500 + ); + --system-tray-exit-animation-duration: var( + --spectrum-animation-duration-100 + ); + --system-tray-corner-radius: var(--spectrum-corner-radius-100); + --system-tray-background-color: var(--spectrum-background-layer-2-color); +} + +:host, +:root { + --system-underlay-background-entry-animation-delay: var( + --spectrum-animation-duration-0 + ); + --system-underlay-background-exit-animation-ease: var( + --spectrum-animation-ease-in + ); + --system-underlay-background-entry-animation-ease: var( + --spectrum-animation-ease-out ); + --system-underlay-background-entry-animation-duration: var( + --spectrum-animation-duration-600 + ); + --system-underlay-background-exit-animation-duration: var( + --spectrum-animation-duration-300 + ); + --system-underlay-background-exit-animation-delay: var( + --spectrum-animation-duration-200 + ); + --system-underlay-background-color: rgba( + var(--spectrum-black-rgb), + var(--spectrum-overlay-opacity) + ); +} + +:host, +:root { + --system-heading-sans-serif-font-family: var( + --spectrum-sans-font-family-stack + ); + --system-heading-serif-font-family: var(--spectrum-serif-font-family-stack); + --system-heading-cjk-font-family: var(--spectrum-cjk-font-family-stack); + --system-heading-cjk-letter-spacing: var(--spectrum-cjk-letter-spacing); + --system-heading-font-color: var(--spectrum-heading-color); + --system-heading-font-size: var(--spectrum-heading-size-m); + --system-heading-size-m-font-size: var(--spectrum-heading-size-m); + --system-heading-cjk-font-size: var(--spectrum-heading-cjk-size-m); + --system-heading-size-m-cjk-font-size: var(--spectrum-heading-cjk-size-m); + --system-heading-size-xxs-font-size: var(--spectrum-heading-size-xxs); + --system-heading-size-xxs-cjk-font-size: var( + --spectrum-heading-cjk-size-xxs + ); + --system-heading-size-xs-font-size: var(--spectrum-heading-size-xs); + --system-heading-size-xs-cjk-font-size: var(--spectrum-heading-cjk-size-xs); + --system-heading-size-s-font-size: var(--spectrum-heading-size-s); + --system-heading-size-s-cjk-font-size: var(--spectrum-heading-cjk-size-s); + --system-heading-size-l-font-size: var(--spectrum-heading-size-l); + --system-heading-size-l-cjk-font-size: var(--spectrum-heading-cjk-size-l); + --system-heading-size-xl-font-size: var(--spectrum-heading-size-xl); + --system-heading-size-xl-cjk-font-size: var(--spectrum-heading-cjk-size-xl); + --system-heading-size-xxl-font-size: var(--spectrum-heading-size-xxl); + --system-heading-size-xxl-cjk-font-size: var( + --spectrum-heading-cjk-size-xxl + ); + --system-heading-size-xxxl-font-size: var(--spectrum-heading-size-xxxl); + --system-heading-size-xxxl-cjk-font-size: var( + --spectrum-heading-cjk-size-xxxl + ); + --system-body-sans-serif-font-family: var( + --spectrum-sans-font-family-stack + ); + --system-body-serif-font-family: var(--spectrum-serif-font-family-stack); + --system-body-cjk-font-family: var(--spectrum-cjk-font-family-stack); + --system-body-cjk-letter-spacing: var(--spectrum-cjk-letter-spacing); + --system-body-font-color: var(--spectrum-body-color); + --system-body-font-size: var(--spectrum-body-size-m); + --system-body-size-m-font-size: var(--spectrum-body-size-m); + --system-body-size-xs-font-size: var(--spectrum-body-size-xs); + --system-body-size-s-font-size: var(--spectrum-body-size-s); + --system-body-size-l-font-size: var(--spectrum-body-size-l); + --system-body-size-xl-font-size: var(--spectrum-body-size-xl); + --system-body-size-xxl-font-size: var(--spectrum-body-size-xxl); + --system-body-size-xxxl-font-size: var(--spectrum-body-size-xxxl); + --system-detail-sans-serif-font-family: var( + --spectrum-sans-font-family-stack + ); + --system-detail-serif-font-family: var(--spectrum-serif-font-family-stack); + --system-detail-cjk-font-family: var(--spectrum-cjk-font-family-stack); + --system-detail-font-color: var(--spectrum-detail-color); + --system-detail-font-size: var(--spectrum-detail-size-m); + --system-detail-size-m-font-size: var(--spectrum-detail-size-m); + --system-detail-size-s-font-size: var(--spectrum-detail-size-s); + --system-detail-size-l-font-size: var(--spectrum-detail-size-l); + --system-detail-size-xl-font-size: var(--spectrum-detail-size-xl); + --system-code-font-family: var(--spectrum-code-font-family-stack); + --system-code-cjk-letter-spacing: var(--spectrum-cjk-letter-spacing); + --system-code-font-color: var(--spectrum-code-color); + --system-code-font-size: var(--spectrum-code-size-m); + --system-code-size-m-font-size: var(--spectrum-code-size-m); + --system-code-size-xs-font-size: var(--spectrum-code-size-xs); + --system-code-size-s-font-size: var(--spectrum-code-size-s); + --system-code-size-l-font-size: var(--spectrum-code-size-l); + --system-code-size-xl-font-size: var(--spectrum-code-size-xl); } diff --git a/tools/styles/tokens/express/custom-dark-vars.css b/tools/styles/tokens/express/custom-dark-vars.css index b7122a3d8c..f43989ec31 100644 --- a/tools/styles/tokens/express/custom-dark-vars.css +++ b/tools/styles/tokens/express/custom-dark-vars.css @@ -1,11 +1,7 @@ :host, :root { - /* Drop Zone background color rgb */ - --spectrum-drop-zone-background-color-rgb: var( - --spectrum-indigo-900-rgb - ); /* var(--spectrum-accent-color-900);*/ + --spectrum-drop-zone-background-color-rgb: var(--spectrum-indigo-900-rgb); --spectrum-well-border-color: rgba(var(--spectrum-white-rgb), 0.05); - --spectrum-assetcard-border-color-selected: var(--spectrum-indigo-700); --spectrum-assetcard-border-color-selected-hover: var( --spectrum-indigo-700 diff --git a/tools/styles/tokens/express/custom-darkest-vars.css b/tools/styles/tokens/express/custom-darkest-vars.css index b7122a3d8c..f43989ec31 100644 --- a/tools/styles/tokens/express/custom-darkest-vars.css +++ b/tools/styles/tokens/express/custom-darkest-vars.css @@ -1,11 +1,7 @@ :host, :root { - /* Drop Zone background color rgb */ - --spectrum-drop-zone-background-color-rgb: var( - --spectrum-indigo-900-rgb - ); /* var(--spectrum-accent-color-900);*/ + --spectrum-drop-zone-background-color-rgb: var(--spectrum-indigo-900-rgb); --spectrum-well-border-color: rgba(var(--spectrum-white-rgb), 0.05); - --spectrum-assetcard-border-color-selected: var(--spectrum-indigo-700); --spectrum-assetcard-border-color-selected-hover: var( --spectrum-indigo-700 diff --git a/tools/styles/tokens/express/custom-light-vars.css b/tools/styles/tokens/express/custom-light-vars.css index 5d8167c3f2..f6a897274d 100644 --- a/tools/styles/tokens/express/custom-light-vars.css +++ b/tools/styles/tokens/express/custom-light-vars.css @@ -1,11 +1,7 @@ :host, :root { - /* Drop Zone background color rgb */ - --spectrum-drop-zone-background-color-rgb: var( - --spectrum-indigo-800-rgb - ); /* var(--spectrum-accent-color-800);*/ + --spectrum-drop-zone-background-color-rgb: var(--spectrum-indigo-800-rgb); --spectrum-well-border-color: rgba(var(--spectrum-black-rgb), 0.05); - --spectrum-assetcard-border-color-selected: var(--spectrum-indigo-900); --spectrum-assetcard-border-color-selected-hover: var( --spectrum-indigo-900 diff --git a/tools/styles/tokens/express/dark-vars.css b/tools/styles/tokens/express/dark-vars.css new file mode 100644 index 0000000000..667dfefee0 --- /dev/null +++ b/tools/styles/tokens/express/dark-vars.css @@ -0,0 +1,14 @@ +:host, +:root { + --spectrum-drop-zone-background-color-rgb: var(--spectrum-indigo-900-rgb); + --spectrum-well-border-color: rgba(var(--spectrum-white-rgb), 0.05); + + --spectrum-assetcard-border-color-selected: var(--spectrum-indigo-700); + --spectrum-assetcard-border-color-selected-hover: var( + --spectrum-indigo-700 + ); + --spectrum-assetcard-border-color-selected-down: var(--spectrum-indigo-800); + --spectrum-assetcard-selectionindicator-background-color-ordered: var( + --spectrum-indigo-700 + ); +} diff --git a/tools/styles/tokens/express/darkest-vars.css b/tools/styles/tokens/express/darkest-vars.css new file mode 100644 index 0000000000..667dfefee0 --- /dev/null +++ b/tools/styles/tokens/express/darkest-vars.css @@ -0,0 +1,14 @@ +:host, +:root { + --spectrum-drop-zone-background-color-rgb: var(--spectrum-indigo-900-rgb); + --spectrum-well-border-color: rgba(var(--spectrum-white-rgb), 0.05); + + --spectrum-assetcard-border-color-selected: var(--spectrum-indigo-700); + --spectrum-assetcard-border-color-selected-hover: var( + --spectrum-indigo-700 + ); + --spectrum-assetcard-border-color-selected-down: var(--spectrum-indigo-800); + --spectrum-assetcard-selectionindicator-background-color-ordered: var( + --spectrum-indigo-700 + ); +} diff --git a/tools/styles/tokens/express/global-vars.css b/tools/styles/tokens/express/global-vars.css index cd5521a82a..c778395840 100644 --- a/tools/styles/tokens/express/global-vars.css +++ b/tools/styles/tokens/express/global-vars.css @@ -49,1350 +49,7240 @@ --spectrum-heading-serif-emphasized-font-weight: var( --spectrum-black-font-weight ); + --system: express; } :host, :root { - --system-spectrum-actionbutton-background-color-default: var( - --spectrum-gray-200 + --system-accordion-item-width: var(--spectrum-accordion-minimum-width); + --system-accordion-disclosure-indicator-to-text-space: var( + --spectrum-accordion-disclosure-indicator-to-text ); - --system-spectrum-actionbutton-background-color-hover: var( - --spectrum-gray-300 + --system-accordion-edge-to-disclosure-indicator-space: var( + --spectrum-accordion-edge-to-disclosure-indicator ); - --system-spectrum-actionbutton-background-color-down: var( - --spectrum-gray-400 + --system-accordion-edge-to-text-space: var( + --spectrum-accordion-edge-to-text ); - --system-spectrum-actionbutton-background-color-focus: var( - --spectrum-gray-300 + --system-accordion-focus-indicator-gap: var(--spectrum-focus-indicator-gap); + --system-accordion-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness ); - --system-spectrum-actionbutton-border-color-default: transparent; - --system-spectrum-actionbutton-border-color-hover: transparent; - --system-spectrum-actionbutton-border-color-down: transparent; - --system-spectrum-actionbutton-border-color-focus: transparent; - --system-spectrum-actionbutton-background-color-disabled: var( - --spectrum-disabled-background-color + --system-accordion-corner-radius: var(--spectrum-corner-radius-100); + --system-accordion-item-content-area-top-to-content: var( + --spectrum-accordion-content-area-top-to-content + ); + --system-accordion-item-content-area-bottom-to-content: var( + --spectrum-accordion-content-area-bottom-to-content + ); + --system-accordion-item-header-font: var(--spectrum-sans-font-family-stack); + --system-accordion-item-header-font-weight: var( + --spectrum-bold-font-weight + ); + --system-accordion-item-header-font-style: var( + --spectrum-default-font-style + ); + --system-accordion-item-header-line-height: 1.25; + --system-accordion-item-content-font: var( + --spectrum-sans-font-family-stack + ); + --system-accordion-item-content-font-weight: var( + --spectrum-body-sans-serif-font-weight + ); + --system-accordion-item-content-font-style: var( + --spectrum-body-sans-serif-font-style + ); + --system-accordion-item-content-line-height: var( + --spectrum-line-height-100 + ); + --system-accordion-background-color-default: rgba( + var(--spectrum-gray-900-rgb), + var(--spectrum-background-opacity-default) + ); + --system-accordion-background-color-hover: rgba( + var(--spectrum-gray-900-rgb), + var(--spectrum-background-opacity-hover) + ); + --system-accordion-background-color-down: rgba( + var(--spectrum-gray-900-rgb), + var(--spectrum-background-opacity-down) + ); + --system-accordion-background-color-key-focus: rgba( + var(--spectrum-gray-900-rgb), + var(--spectrum-background-opacity-key-focus) ); - --system-spectrum-actionbutton-border-color-disabled: transparent; - --system-spectrum-actionbutton-content-color-disabled: var( + --system-accordion-item-header-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-accordion-item-header-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-accordion-item-header-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-accordion-item-header-color-key-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-accordion-item-header-disabled-color: var( --spectrum-disabled-content-color ); - --system-spectrum-actionbutton-quiet-background-color-default: transparent; - --system-spectrum-actionbutton-quiet-background-color-hover: var( - --spectrum-gray-300 + --system-accordion-item-content-disabled-color: var( + --spectrum-disabled-content-color ); - --system-spectrum-actionbutton-quiet-background-color-down: var( - --spectrum-gray-400 + --system-accordion-item-content-color: var(--spectrum-body-color); + --system-accordion-focus-indicator-color: var( + --spectrum-focus-indicator-color ); - --system-spectrum-actionbutton-quiet-background-color-focus: var( - --spectrum-gray-300 + --system-accordion-divider-color: var(--spectrum-gray-300); + --system-accordion-item-header-line-height-cjk: var( + --spectrum-cjk-line-height-100 ); - --system-spectrum-actionbutton-quiet-border-color-default: transparent; - --system-spectrum-actionbutton-quiet-border-color-hover: transparent; - --system-spectrum-actionbutton-quiet-border-color-down: transparent; - --system-spectrum-actionbutton-quiet-border-color-focus: transparent; - --system-spectrum-actionbutton-quiet-background-color-disabled: transparent; - --system-spectrum-actionbutton-quiet-border-color-disabled: transparent; - --system-spectrum-actionbutton-selected-border-color-default: transparent; - --system-spectrum-actionbutton-selected-border-color-hover: transparent; - --system-spectrum-actionbutton-selected-border-color-down: transparent; - --system-spectrum-actionbutton-selected-border-color-focus: transparent; - --system-spectrum-actionbutton-selected-background-color-disabled: var( - --spectrum-disabled-background-color + --system-accordion-item-content-line-height-cjk: var( + --spectrum-cjk-line-height-100 ); - --system-spectrum-actionbutton-selected-border-color-disabled: transparent; - --system-spectrum-actionbutton-staticblack-quiet-border-color-default: transparent; - --system-spectrum-actionbutton-staticwhite-quiet-border-color-default: transparent; - --system-spectrum-actionbutton-staticblack-quiet-border-color-hover: transparent; - --system-spectrum-actionbutton-staticwhite-quiet-border-color-hover: transparent; - --system-spectrum-actionbutton-staticblack-quiet-border-color-down: transparent; - --system-spectrum-actionbutton-staticwhite-quiet-border-color-down: transparent; - --system-spectrum-actionbutton-staticblack-quiet-border-color-focus: transparent; - --system-spectrum-actionbutton-staticwhite-quiet-border-color-focus: transparent; - --system-spectrum-actionbutton-staticblack-quiet-border-color-disabled: transparent; - --system-spectrum-actionbutton-staticwhite-quiet-border-color-disabled: transparent; - --system-spectrum-actionbutton-staticblack-background-color-default: var( - --spectrum-transparent-black-200 + --system-accordion-item-height: var(--spectrum-component-height-200); + --system-accordion-size-m-item-height: var(--spectrum-component-height-200); + --system-accordion-disclosure-indicator-height: var( + --spectrum-component-height-100 ); - --system-spectrum-actionbutton-staticblack-background-color-hover: var( - --spectrum-transparent-black-300 + --system-accordion-size-m-disclosure-indicator-height: var( + --spectrum-component-height-100 ); - --system-spectrum-actionbutton-staticblack-background-color-down: var( - --spectrum-transparent-black-400 + --system-accordion-component-edge-to-text: var( + --spectrum-component-edge-to-text-75 ); - --system-spectrum-actionbutton-staticblack-background-color-focus: var( - --spectrum-transparent-black-300 + --system-accordion-size-m-component-edge-to-text: var( + --spectrum-component-edge-to-text-75 ); - --system-spectrum-actionbutton-staticblack-border-color-default: transparent; - --system-spectrum-actionbutton-staticblack-border-color-hover: transparent; - --system-spectrum-actionbutton-staticblack-border-color-down: transparent; - --system-spectrum-actionbutton-staticblack-border-color-focus: transparent; - --system-spectrum-actionbutton-staticblack-content-color-default: var( - --spectrum-black + --system-accordion-item-header-font-size: var(--spectrum-font-size-300); + --system-accordion-size-m-item-header-font-size: var( + --spectrum-font-size-300 ); - --system-spectrum-actionbutton-staticblack-content-color-hover: var( - --spectrum-black + --system-accordion-item-content-font-size: var(--spectrum-body-size-s); + --system-accordion-size-m-item-content-font-size: var( + --spectrum-body-size-s ); - --system-spectrum-actionbutton-staticblack-content-color-down: var( - --spectrum-black + --system-accordion-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-regular-medium ); - --system-spectrum-actionbutton-staticblack-content-color-focus: var( - --spectrum-black + --system-accordion-size-m-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-regular-medium ); - --system-spectrum-actionbutton-staticblack-focus-indicator-color: var( - --spectrum-static-black-focus-indicator-color + --system-accordion-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-regular-medium ); - --system-spectrum-actionbutton-staticblack-background-color-disabled: transparent; - --system-spectrum-actionbutton-staticblack-border-color-disabled: var( - --spectrum-disabled-static-black-border-color + --system-accordion-size-m-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-regular-medium ); - --system-spectrum-actionbutton-staticblack-content-color-disabled: var( - --spectrum-disabled-static-black-content-color + --system-accordion-size-s-item-height: var(--spectrum-component-height-100); + --system-accordion-size-s-disclosure-indicator-height: var( + --spectrum-component-height-75 ); - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-default: var( - --spectrum-transparent-black-800 + --system-accordion-size-s-component-edge-to-text: var( + --spectrum-component-edge-to-text-50 ); - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-hover: var( - --spectrum-transparent-black-900 + --system-accordion-size-s-item-header-font-size: var( + --spectrum-font-size-200 ); - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-down: var( - --spectrum-transparent-black-900 + --system-accordion-size-s-item-content-font-size: var( + --spectrum-body-size-xs ); - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-focus: var( - --spectrum-transparent-black-900 + --system-accordion-size-s-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-regular-small ); - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-content-color-default: var( - --spectrum-white + --system-accordion-size-s-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-regular-small ); - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-content-color-hover: var( - --spectrum-white + --system-accordion-size-l-item-height: var(--spectrum-component-height-300); + --system-accordion-size-l-disclosure-indicator-height: var( + --spectrum-component-height-200 ); - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-content-color-down: var( - --spectrum-white + --system-accordion-size-l-component-edge-to-text: var( + --spectrum-component-edge-to-text-100 ); - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-content-color-focus: var( - --spectrum-white + --system-accordion-size-l-item-header-font-size: var( + --spectrum-font-size-500 ); - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-disabled: var( - --spectrum-disabled-static-black-background-color + --system-accordion-size-l-item-content-font-size: var( + --spectrum-body-size-m ); - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-border-color-disabled: transparent; - --system-spectrum-actionbutton-staticwhite-background-color-default: var( - --spectrum-transparent-white-200 + --system-accordion-size-l-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-regular-large ); - --system-spectrum-actionbutton-staticwhite-background-color-hover: var( - --spectrum-transparent-white-300 + --system-accordion-size-l-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-regular-large ); - --system-spectrum-actionbutton-staticwhite-background-color-down: var( - --spectrum-transparent-white-400 + --system-accordion-size-xl-item-height: var( + --spectrum-component-height-400 ); - --system-spectrum-actionbutton-staticwhite-background-color-focus: var( - --spectrum-transparent-white-300 + --system-accordion-size-xl-disclosure-indicator-height: var( + --spectrum-component-height-300 ); - --system-spectrum-actionbutton-staticwhite-border-color-default: transparent; - --system-spectrum-actionbutton-staticwhite-border-color-hover: transparent; - --system-spectrum-actionbutton-staticwhite-border-color-down: transparent; - --system-spectrum-actionbutton-staticwhite-border-color-focus: transparent; - --system-spectrum-actionbutton-staticwhite-content-color-default: var( - --spectrum-white + --system-accordion-size-xl-component-edge-to-text: var( + --spectrum-component-edge-to-text-200 ); - --system-spectrum-actionbutton-staticwhite-content-color-hover: var( - --spectrum-white + --system-accordion-size-xl-item-header-font-size: var( + --spectrum-font-size-700 ); - --system-spectrum-actionbutton-staticwhite-content-color-down: var( - --spectrum-white + --system-accordion-size-xl-item-content-font-size: var( + --spectrum-body-size-l ); - --system-spectrum-actionbutton-staticwhite-content-color-focus: var( - --spectrum-white + --system-accordion-size-xl-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-regular-extra-large ); - --system-spectrum-actionbutton-staticwhite-focus-indicator-color: var( - --spectrum-static-white-focus-indicator-color + --system-accordion-size-xl-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-regular-extra-large ); - --system-spectrum-actionbutton-staticwhite-background-color-disabled: transparent; - --system-spectrum-actionbutton-staticwhite-border-color-disabled: var( - --spectrum-disabled-static-white-border-color + --system-accordion-compact-size-s-item-height: var( + --spectrum-component-height-75 ); - --system-spectrum-actionbutton-staticwhite-content-color-disabled: var( - --spectrum-disabled-static-white-content-color + --system-accordion-compact-size-s-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-compact-small ); - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-default: var( - --spectrum-transparent-white-800 + --system-accordion-compact-size-s-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-compact-small ); - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-hover: var( - --spectrum-transparent-white-900 + --system-accordion-compact-item-height: var( + --spectrum-component-height-100 ); - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-down: var( - --spectrum-transparent-white-900 + --system-accordion-compact-size-m-item-height: var( + --spectrum-component-height-100 ); - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-focus: var( - --spectrum-transparent-white-900 + --system-accordion-compact-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-compact-medium ); - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-content-color-default: var( - --spectrum-black + --system-accordion-compact-size-m-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-compact-medium ); - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-content-color-hover: var( - --spectrum-black + --system-accordion-compact-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-compact-medium ); - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-content-color-down: var( - --spectrum-black + --system-accordion-compact-size-m-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-compact-medium ); - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-content-color-focus: var( - --spectrum-black + --system-accordion-compact-size-l-item-height: var( + --spectrum-component-height-200 ); - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-disabled: var( - --spectrum-disabled-static-white-background-color + --system-accordion-compact-size-l-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-compact-large ); - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-border-color-disabled: transparent; -} - -:host, -:root { - --system-spectrum-actiongroup-gap-size-compact: var(--spectrum-spacing-50); - --system-spectrum-actiongroup-horizontal-spacing-compact: calc( - -1px * var(--spectrum-spacing-50) + --system-accordion-compact-size-l-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-compact-large ); - --system-spectrum-actiongroup-vertical-spacing-compact: calc( - -1px * var(--spectrum-spacing-50) + --system-accordion-compact-size-xl-item-height: var( + --spectrum-component-height-300 + ); + --system-accordion-compact-size-xl-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-compact-extra-large + ); + --system-accordion-compact-size-xl-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-compact-extra-large + ); + --system-accordion-spacious-size-s-item-header-line-height: 1.25; + --system-accordion-spacious-size-s-item-header-top-to-text-space: var( + --spectrum-accordion-small-top-to-text-spacious + ); + --system-accordion-spacious-size-s-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-spacious-small + ); + --system-accordion-spacious-item-header-line-height: 1.278; + --system-accordion-spacious-size-m-item-header-line-height: 1.278; + --system-accordion-spacious-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-spacious-medium + ); + --system-accordion-spacious-size-m-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-spacious-medium + ); + --system-accordion-spacious-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-spacious-medium + ); + --system-accordion-spacious-size-m-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-spacious-medium + ); + --system-accordion-spacious-size-l-item-header-line-height: 1.273; + --system-accordion-spacious-size-l-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-spacious-large + ); + --system-accordion-spacious-size-l-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-spacious-large + ); + --system-accordion-spacious-size-xl-item-header-line-height: 1.25; + --system-accordion-spacious-size-xl-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-spacious-extra-large + ); + --system-accordion-spacious-size-xl-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-spacious-extra-large ); } :host, :root { - --system-spectrum-alertbanner-spectrum-alert-banner-netural-background: var( - --spectrum-neutral-background-color-default + --system-action-bar-height: var(--spectrum-action-bar-height); + --system-action-bar-corner-radius: var(--spectrum-corner-radius-100); + --system-action-bar-item-counter-font-size: var(--spectrum-font-size-100); + --system-action-bar-item-counter-line-height: var( + --spectrum-line-height-100 + ); + --system-action-bar-item-counter-color: var( + --spectrum-neutral-content-color-default ); + --system-action-bar-item-counter-line-height-cjk: var( + --spectrum-cjk-line-height-100 + ); + --system-action-bar-popover-background-color: var(--spectrum-gray-50); + --system-action-bar-popover-border-color: var(--spectrum-gray-400); + --system-action-bar-emphasized-background-color: var( + --spectrum-informative-background-color-default + ); + --system-action-bar-emphasized-item-counter-color: var(--spectrum-white); + --system-action-bar-spacing-outer-edge: var(--spectrum-spacing-300); + --system-action-bar-spacing-close-button-top: var(--spectrum-spacing-100); + --system-action-bar-spacing-close-button-start: var(--spectrum-spacing-100); + --system-action-bar-spacing-close-button-end: var(--spectrum-spacing-75); + --system-action-bar-spacing-item-counter-top: var( + --spectrum-action-bar-top-to-item-counter + ); + --system-action-bar-spacing-item-counter-end: var(--spectrum-spacing-400); + --system-action-bar-spacing-action-group-top: var(--spectrum-spacing-100); + --system-action-bar-spacing-action-group-end: var(--spectrum-spacing-100); + --system-action-bar-shadow-horizontal: var(--spectrum-drop-shadow-x); + --system-action-bar-shadow-vertical: var(--spectrum-drop-shadow-y); + --system-action-bar-shadow-blur: var(--spectrum-drop-shadow-blur); + --system-action-bar-shadow-color: var(--spectrum-drop-shadow-color); } :host, :root { - --system-spectrum-button-background-color-default: var(--spectrum-gray-200); - --system-spectrum-button-background-color-hover: var(--spectrum-gray-300); - --system-spectrum-button-background-color-down: var(--spectrum-gray-400); - --system-spectrum-button-background-color-focus: var(--spectrum-gray-300); - --system-spectrum-button-border-color-default: transparent; - --system-spectrum-button-border-color-hover: transparent; - --system-spectrum-button-border-color-down: transparent; - --system-spectrum-button-border-color-focus: transparent; - --system-spectrum-button-content-color-default: var( + --system-action-button-animation-duration: var( + --spectrum-animation-duration-100 + ); + --system-action-button-border-radius: var(--spectrum-corner-radius-100); + --system-action-button-border-width: var(--spectrum-border-width-100); + --system-action-button-content-color-default: var( --spectrum-neutral-content-color-default ); - --system-spectrum-button-content-color-hover: var( + --system-action-button-content-color-hover: var( --spectrum-neutral-content-color-hover ); - --system-spectrum-button-content-color-down: var( + --system-action-button-content-color-down: var( --spectrum-neutral-content-color-down ); - --system-spectrum-button-content-color-focus: var( + --system-action-button-content-color-focus: var( --spectrum-neutral-content-color-key-focus ); - --system-spectrum-button-background-color-disabled: var( - --spectrum-disabled-background-color - ); - --system-spectrum-button-border-color-disabled: transparent; - --system-spectrum-button-content-color-disabled: var( - --spectrum-disabled-content-color - ); - --system-spectrum-button-accent-background-color-default: var( - --spectrum-accent-background-color-default - ); - --system-spectrum-button-accent-background-color-hover: var( - --spectrum-accent-background-color-hover - ); - --system-spectrum-button-accent-background-color-down: var( - --spectrum-accent-background-color-down + --system-action-button-focus-indicator-gap: var( + --spectrum-focus-indicator-gap ); - --system-spectrum-button-accent-background-color-focus: var( - --spectrum-accent-background-color-key-focus + --system-action-button-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness ); - --system-spectrum-button-accent-border-color-default: transparent; - --system-spectrum-button-accent-border-color-hover: transparent; - --system-spectrum-button-accent-border-color-down: transparent; - --system-spectrum-button-accent-border-color-focus: transparent; - --system-spectrum-button-accent-content-color-default: var( - --spectrum-white + --system-action-button-focus-indicator-color: var( + --spectrum-focus-indicator-color ); - --system-spectrum-button-accent-content-color-hover: var(--spectrum-white); - --system-spectrum-button-accent-content-color-down: var(--spectrum-white); - --system-spectrum-button-accent-content-color-focus: var(--spectrum-white); - --system-spectrum-button-accent-background-color-disabled: var( + --system-action-button-background-color-default: var(--spectrum-gray-200); + --system-action-button-background-color-hover: var(--spectrum-gray-300); + --system-action-button-background-color-down: var(--spectrum-gray-400); + --system-action-button-background-color-focus: var(--spectrum-gray-300); + --system-action-button-border-color-default: transparent; + --system-action-button-border-color-hover: transparent; + --system-action-button-border-color-down: transparent; + --system-action-button-border-color-focus: transparent; + --system-action-button-background-color-disabled: var( --spectrum-disabled-background-color ); - --system-spectrum-button-accent-border-color-disabled: transparent; - --system-spectrum-button-accent-content-color-disabled: var( + --system-action-button-border-color-disabled: transparent; + --system-action-button-content-color-disabled: var( --spectrum-disabled-content-color ); - --system-spectrum-button-accent-outline-background-color-default: transparent; - --system-spectrum-button-accent-outline-background-color-hover: var( - --spectrum-accent-color-200 + --system-action-button-min-width: calc( + var(--spectrum-component-edge-to-visual-only-100) * 2 + + var(--spectrum-workflow-icon-size-100) ); - --system-spectrum-button-accent-outline-background-color-down: var( - --spectrum-accent-color-300 + --system-action-button-height: var(--spectrum-component-height-100); + --system-action-button-icon-size: var(--spectrum-workflow-icon-size-100); + --system-action-button-font-size: var(--spectrum-font-size-100); + --system-action-button-text-to-visual: var(--spectrum-text-to-visual-100); + --system-action-button-edge-to-hold-icon: var( + --spectrum-action-button-edge-to-hold-icon-medium ); - --system-spectrum-button-accent-outline-background-color-focus: var( - --spectrum-accent-color-200 + --system-action-button-quiet-background-color-default: transparent; + --system-action-button-quiet-background-color-hover: var( + --spectrum-gray-300 ); - --system-spectrum-button-accent-outline-border-color-default: var( - --spectrum-accent-color-900 + --system-action-button-quiet-background-color-down: var( + --spectrum-gray-400 ); - --system-spectrum-button-accent-outline-border-color-hover: var( - --spectrum-accent-color-1000 + --system-action-button-quiet-background-color-focus: var( + --spectrum-gray-300 ); - --system-spectrum-button-accent-outline-border-color-down: var( - --spectrum-accent-color-1100 + --system-action-button-quiet-background-color-disabled: transparent; + --system-action-button-quiet-border-color-default: transparent; + --system-action-button-quiet-border-color-hover: transparent; + --system-action-button-quiet-border-color-down: transparent; + --system-action-button-quiet-border-color-focus: transparent; + --system-action-button-quiet-border-color-disabled: transparent; + --system-action-button-selected-background-color-default: var( + --spectrum-neutral-background-color-selected-default ); - --system-spectrum-button-accent-outline-border-color-focus: var( - --spectrum-accent-color-1000 + --system-action-button-selected-background-color-hover: var( + --spectrum-neutral-background-color-selected-hover ); - --system-spectrum-button-accent-outline-content-color-default: var( - --spectrum-accent-content-color-default + --system-action-button-selected-background-color-down: var( + --spectrum-neutral-background-color-selected-down ); - --system-spectrum-button-accent-outline-content-color-hover: var( - --spectrum-accent-content-color-hover + --system-action-button-selected-background-color-focus: var( + --spectrum-neutral-background-color-selected-key-focus ); - --system-spectrum-button-accent-outline-content-color-down: var( - --spectrum-accent-content-color-down + --system-action-button-selected-content-color-default: var( + --spectrum-gray-50 ); - --system-spectrum-button-accent-outline-content-color-focus: var( - --spectrum-accent-content-color-key-focus + --system-action-button-selected-content-color-hover: var( + --spectrum-gray-50 ); - --system-spectrum-button-accent-outline-background-color-disabled: transparent; - --system-spectrum-button-accent-outline-border-color-disabled: var( - --spectrum-disabled-border-color + --system-action-button-selected-content-color-down: var(--spectrum-gray-50); + --system-action-button-selected-content-color-focus: var( + --spectrum-gray-50 ); - --system-spectrum-button-accent-outline-content-color-disabled: var( - --spectrum-disabled-content-color + --system-action-button-selected-border-color-default: transparent; + --system-action-button-selected-border-color-hover: transparent; + --system-action-button-selected-border-color-down: transparent; + --system-action-button-selected-border-color-focus: transparent; + --system-action-button-selected-border-color-disabled: transparent; + --system-action-button-selected-background-color-disabled: var( + --spectrum-disabled-background-color ); - --system-spectrum-button-negative-background-color-default: var( - --spectrum-negative-background-color-default + --system-action-button-selected-emphasized-background-color-default: var( + --spectrum-accent-background-color-default ); - --system-spectrum-button-negative-background-color-hover: var( - --spectrum-negative-background-color-hover + --system-action-button-selected-emphasized-background-color-hover: var( + --spectrum-accent-background-color-hover ); - --system-spectrum-button-negative-background-color-down: var( - --spectrum-negative-background-color-down + --system-action-button-selected-emphasized-background-color-down: var( + --spectrum-accent-background-color-down ); - --system-spectrum-button-negative-background-color-focus: var( - --spectrum-negative-background-color-key-focus + --system-action-button-selected-emphasized-background-color-focus: var( + --spectrum-accent-background-color-key-focus ); - --system-spectrum-button-negative-border-color-default: transparent; - --system-spectrum-button-negative-border-color-hover: transparent; - --system-spectrum-button-negative-border-color-down: transparent; - --system-spectrum-button-negative-border-color-focus: transparent; - --system-spectrum-button-negative-content-color-default: var( + --system-action-button-selected-emphasized-content-color-default: var( --spectrum-white ); - --system-spectrum-button-negative-content-color-hover: var( + --system-action-button-selected-emphasized-content-color-hover: var( --spectrum-white ); - --system-spectrum-button-negative-content-color-down: var(--spectrum-white); - --system-spectrum-button-negative-content-color-focus: var( + --system-action-button-selected-emphasized-content-color-down: var( --spectrum-white ); - --system-spectrum-button-negative-background-color-disabled: var( - --spectrum-disabled-background-color + --system-action-button-selected-emphasized-content-color-focus: var( + --spectrum-white ); - --system-spectrum-button-negative-border-color-disabled: transparent; - --system-spectrum-button-negative-content-color-disabled: var( - --spectrum-disabled-content-color + --system-action-button-static-black-quiet-border-color-default: transparent; + --system-action-button-static-white-quiet-border-color-default: transparent; + --system-action-button-static-black-quiet-border-color-hover: transparent; + --system-action-button-static-white-quiet-border-color-hover: transparent; + --system-action-button-static-black-quiet-border-color-down: transparent; + --system-action-button-static-white-quiet-border-color-down: transparent; + --system-action-button-static-black-quiet-border-color-focus: transparent; + --system-action-button-static-white-quiet-border-color-focus: transparent; + --system-action-button-static-black-quiet-border-color-disabled: transparent; + --system-action-button-static-white-quiet-border-color-disabled: transparent; + --system-action-button-static-black-background-color-default: var( + --spectrum-transparent-black-200 ); - --system-spectrum-button-negative-outline-background-color-default: transparent; - --system-spectrum-button-negative-outline-background-color-hover: var( - --spectrum-negative-color-200 + --system-action-button-static-black-background-color-hover: var( + --spectrum-transparent-black-300 ); - --system-spectrum-button-negative-outline-background-color-down: var( - --spectrum-negative-color-300 + --system-action-button-static-black-background-color-down: var( + --spectrum-transparent-black-400 ); - --system-spectrum-button-negative-outline-background-color-focus: var( - --spectrum-negative-color-200 + --system-action-button-static-black-background-color-focus: var( + --spectrum-transparent-black-300 ); - --system-spectrum-button-negative-outline-border-color-default: var( - --spectrum-negative-color-900 + --system-action-button-static-black-background-color-disabled: transparent; + --system-action-button-static-black-border-color-default: transparent; + --system-action-button-static-black-border-color-hover: transparent; + --system-action-button-static-black-border-color-down: transparent; + --system-action-button-static-black-border-color-focus: transparent; + --system-action-button-static-black-border-color-disabled: var( + --spectrum-disabled-static-black-border-color ); - --system-spectrum-button-negative-outline-border-color-hover: var( - --spectrum-negative-color-1000 + --system-action-button-static-black-content-color-default: var( + --spectrum-black ); - --system-spectrum-button-negative-outline-border-color-down: var( - --spectrum-negative-color-1100 + --system-action-button-static-black-content-color-hover: var( + --spectrum-black ); - --system-spectrum-button-negative-outline-border-color-focus: var( - --spectrum-negative-color-1000 + --system-action-button-static-black-content-color-down: var( + --spectrum-black ); - --system-spectrum-button-negative-outline-content-color-default: var( - --spectrum-negative-content-color-default + --system-action-button-static-black-content-color-focus: var( + --spectrum-black ); - --system-spectrum-button-negative-outline-content-color-hover: var( - --spectrum-negative-content-color-hover + --system-action-button-static-black-content-color-disabled: var( + --spectrum-disabled-static-black-content-color ); - --system-spectrum-button-negative-outline-content-color-down: var( - --spectrum-negative-content-color-down + --system-action-button-static-black-focus-indicator-color: var( + --spectrum-static-black-focus-indicator-color ); - --system-spectrum-button-negative-outline-content-color-focus: var( - --spectrum-negative-content-color-key-focus + --system-action-button-static-black-selected-background-color-default: var( + --spectrum-transparent-black-800 ); - --system-spectrum-button-negative-outline-background-color-disabled: transparent; - --system-spectrum-button-negative-outline-border-color-disabled: var( - --spectrum-disabled-border-color + --system-action-button-static-black-selected-background-color-hover: var( + --spectrum-transparent-black-900 ); - --system-spectrum-button-negative-outline-content-color-disabled: var( - --spectrum-disabled-content-color + --system-action-button-static-black-selected-background-color-down: var( + --spectrum-transparent-black-900 ); - --system-spectrum-button-primary-background-color-default: var( - --spectrum-neutral-background-color-default + --system-action-button-static-black-selected-background-color-focus: var( + --spectrum-transparent-black-900 ); - --system-spectrum-button-primary-background-color-hover: var( - --spectrum-neutral-background-color-hover + --system-action-button-static-black-selected-background-color-disabled: var( + --spectrum-transparent-black-200 ); - --system-spectrum-button-primary-background-color-down: var( - --spectrum-neutral-background-color-down + --system-action-button-static-black-selected-border-color-disabled: transparent; + --system-action-button-static-black-selected-content-color-default: var( + --spectrum-white ); - --system-spectrum-button-primary-background-color-focus: var( - --spectrum-neutral-background-color-key-focus + --system-action-button-static-black-selected-content-color-hover: var( + --spectrum-white ); - --system-spectrum-button-primary-border-color-default: transparent; - --system-spectrum-button-primary-border-color-hover: transparent; - --system-spectrum-button-primary-border-color-down: transparent; - --system-spectrum-button-primary-border-color-focus: transparent; - --system-spectrum-button-primary-content-color-default: var( + --system-action-button-static-black-selected-content-color-down: var( --spectrum-white ); - --system-spectrum-button-primary-content-color-hover: var(--spectrum-white); - --system-spectrum-button-primary-content-color-down: var(--spectrum-white); - --system-spectrum-button-primary-content-color-focus: var(--spectrum-white); - --system-spectrum-button-primary-background-color-disabled: var( - --spectrum-disabled-background-color + --system-action-button-static-black-selected-content-color-focus: var( + --spectrum-white ); - --system-spectrum-button-primary-border-color-disabled: transparent; - --system-spectrum-button-primary-content-color-disabled: var( - --spectrum-disabled-content-color + --system-action-button-static-black-selected-emphasized-background-color-default: var( + --spectrum-transparent-black-900 ); - --system-spectrum-button-primary-outline-background-color-default: transparent; - --system-spectrum-button-primary-outline-background-color-hover: var( - --spectrum-gray-300 + --system-action-button-static-black-selected-emphasized-background-color-hover: var( + --spectrum-transparent-black-1000 ); - --system-spectrum-button-primary-outline-background-color-down: var( - --spectrum-gray-400 + --system-action-button-static-black-selected-emphasized-background-color-down: var( + --spectrum-transparent-black-1000 ); - --system-spectrum-button-primary-outline-background-color-focus: var( - --spectrum-gray-300 + --system-action-button-static-black-selected-emphasized-background-color-focus: var( + --spectrum-transparent-black-1000 ); - --system-spectrum-button-primary-outline-border-color-default: var( - --spectrum-gray-800 + --system-action-button-static-black-selected-emphasized-content-color-default: var( + --spectrum-gray-50 ); - --system-spectrum-button-primary-outline-border-color-hover: var( + --system-action-button-static-black-selected-emphasized-content-color-hover: var( --spectrum-gray-900 ); - --system-spectrum-button-primary-outline-border-color-down: var( + --system-action-button-static-black-selected-emphasized-content-color-down: var( --spectrum-gray-900 ); - --system-spectrum-button-primary-outline-border-color-focus: var( + --system-action-button-static-black-selected-emphasized-content-color-focus: var( --spectrum-gray-900 ); - --system-spectrum-button-primary-outline-content-color-default: var( - --spectrum-neutral-content-color-default + --system-action-button-static-white-background-color-default: var( + --spectrum-transparent-white-200 ); - --system-spectrum-button-primary-outline-content-color-hover: var( - --spectrum-neutral-content-color-hover + --system-action-button-static-white-background-color-hover: var( + --spectrum-transparent-white-300 ); - --system-spectrum-button-primary-outline-content-color-down: var( - --spectrum-neutral-content-color-down + --system-action-button-static-white-background-color-down: var( + --spectrum-transparent-white-400 ); - --system-spectrum-button-primary-outline-content-color-focus: var( - --spectrum-neutral-content-color-key-focus + --system-action-button-static-white-background-color-focus: var( + --spectrum-transparent-white-300 ); - --system-spectrum-button-primary-outline-background-color-disabled: transparent; - --system-spectrum-button-primary-outline-border-color-disabled: var( - --spectrum-disabled-border-color + --system-action-button-static-white-background-color-disabled: transparent; + --system-action-button-static-white-border-color-default: transparent; + --system-action-button-static-white-border-color-hover: transparent; + --system-action-button-static-white-border-color-down: transparent; + --system-action-button-static-white-border-color-focus: transparent; + --system-action-button-static-white-border-color-disabled: var( + --spectrum-disabled-static-white-border-color ); - --system-spectrum-button-primary-outline-content-color-disabled: var( - --spectrum-disabled-content-color + --system-action-button-static-white-content-color-default: var( + --spectrum-white ); - --system-spectrum-button-secondary-background-color-default: var( - --spectrum-gray-200 + --system-action-button-static-white-content-color-hover: var( + --spectrum-white ); - --system-spectrum-button-secondary-background-color-hover: var( - --spectrum-gray-300 + --system-action-button-static-white-content-color-down: var( + --spectrum-white ); - --system-spectrum-button-secondary-background-color-down: var( - --spectrum-gray-400 + --system-action-button-static-white-content-color-focus: var( + --spectrum-white ); - --system-spectrum-button-secondary-background-color-focus: var( - --spectrum-gray-300 + --system-action-button-static-white-content-color-disabled: var( + --spectrum-disabled-static-white-content-color ); - --system-spectrum-button-secondary-border-color-default: transparent; - --system-spectrum-button-secondary-border-color-hover: transparent; - --system-spectrum-button-secondary-border-color-down: transparent; - --system-spectrum-button-secondary-border-color-focus: transparent; - --system-spectrum-button-secondary-content-color-default: var( - --spectrum-neutral-content-color-default + --system-action-button-static-white-focus-indicator-color: var( + --spectrum-static-white-focus-indicator-color ); - --system-spectrum-button-secondary-content-color-hover: var( - --spectrum-neutral-content-color-hover + --system-action-button-static-white-selected-background-color-default: var( + --spectrum-transparent-white-800 ); - --system-spectrum-button-secondary-content-color-down: var( - --spectrum-neutral-content-color-down + --system-action-button-static-white-selected-background-color-hover: var( + --spectrum-transparent-white-900 ); - --system-spectrum-button-secondary-content-color-focus: var( - --spectrum-neutral-content-color-key-focus + --system-action-button-static-white-selected-background-color-down: var( + --spectrum-transparent-white-900 ); - --system-spectrum-button-secondary-background-color-disabled: var( - --spectrum-disabled-background-color + --system-action-button-static-white-selected-background-color-focus: var( + --spectrum-transparent-white-900 ); - --system-spectrum-button-secondary-border-color-disabled: transparent; - --system-spectrum-button-secondary-content-color-disabled: var( - --spectrum-disabled-content-color + --system-action-button-static-white-selected-background-color-disabled: var( + --spectrum-transparent-white-200 ); - --system-spectrum-button-secondary-outline-background-color-default: transparent; - --system-spectrum-button-secondary-outline-background-color-hover: var( - --spectrum-gray-300 + --system-action-button-static-white-selected-border-color-disabled: transparent; + --system-action-button-static-white-selected-content-color-default: var( + --spectrum-black ); - --system-spectrum-button-secondary-outline-background-color-down: var( - --spectrum-gray-400 + --system-action-button-static-white-selected-content-color-hover: var( + --spectrum-black ); - --system-spectrum-button-secondary-outline-background-color-focus: var( - --spectrum-gray-300 + --system-action-button-static-white-selected-content-color-down: var( + --spectrum-black ); - --system-spectrum-button-secondary-outline-border-color-default: var( - --spectrum-gray-300 + --system-action-button-static-white-selected-content-color-focus: var( + --spectrum-black ); - --system-spectrum-button-secondary-outline-border-color-hover: var( - --spectrum-gray-400 + --system-action-button-static-white-selected-emphasized-background-color-default: var( + --spectrum-transparent-white-900 ); - --system-spectrum-button-secondary-outline-border-color-down: var( - --spectrum-gray-500 + --system-action-button-static-white-selected-emphasized-background-color-hover: var( + --spectrum-transparent-white-1000 ); - --system-spectrum-button-secondary-outline-border-color-focus: var( - --spectrum-gray-400 + --system-action-button-static-white-selected-emphasized-background-color-down: var( + --spectrum-transparent-white-1000 ); - --system-spectrum-button-secondary-outline-content-color-default: var( - --spectrum-neutral-content-color-default + --system-action-button-static-white-selected-emphasized-background-color-focus: var( + --spectrum-transparent-white-1000 ); - --system-spectrum-button-secondary-outline-content-color-hover: var( - --spectrum-neutral-content-color-hover + --system-action-button-static-white-selected-emphasized-content-color-default: var( + --spectrum-gray-50 ); - --system-spectrum-button-secondary-outline-content-color-down: var( - --spectrum-neutral-content-color-down + --system-action-button-size-m-min-width: calc( + var(--spectrum-component-edge-to-visual-only-100) * 2 + + var(--spectrum-workflow-icon-size-100) ); - --system-spectrum-button-secondary-outline-content-color-focus: var( - --spectrum-neutral-content-color-key-focus + --system-action-button-size-m-height: var(--spectrum-component-height-100); + --system-action-button-size-m-icon-size: var( + --spectrum-workflow-icon-size-100 ); - --system-spectrum-button-secondary-outline-background-color-disabled: transparent; - --system-spectrum-button-secondary-outline-border-color-disabled: var( - --spectrum-disabled-border-color + --system-action-button-size-m-font-size: var(--spectrum-font-size-100); + --system-action-button-size-m-text-to-visual: var( + --spectrum-text-to-visual-100 ); - --system-spectrum-button-secondary-outline-content-color-disabled: var( - --spectrum-disabled-content-color + --system-action-button-size-m-edge-to-hold-icon: var( + --spectrum-action-button-edge-to-hold-icon-medium ); - --system-spectrum-button-quiet-background-color-default: transparent; - --system-spectrum-button-quiet-background-color-hover: var( - --spectrum-gray-200 + --system-action-button-edge-to-visual-size: var( + --spectrum-component-edge-to-visual-100 ); - --system-spectrum-button-quiet-background-color-down: var( - --spectrum-gray-300 + --system-action-button-size-m-edge-to-visual-size: var( + --spectrum-component-edge-to-visual-100 ); - --system-spectrum-button-quiet-background-color-focus: var( - --spectrum-gray-200 + --system-action-button-edge-to-visual-only-size: var( + --spectrum-component-edge-to-visual-only-100 ); - --system-spectrum-button-quiet-border-color-default: transparent; - --system-spectrum-button-quiet-border-color-hover: transparent; - --system-spectrum-button-quiet-border-color-down: transparent; - --system-spectrum-button-quiet-border-color-focus: transparent; - --system-spectrum-button-quiet-background-color-disabled: transparent; - --system-spectrum-button-quiet-border-color-disabled: transparent; - --system-spectrum-button-selected-background-color-default: var( - --spectrum-neutral-background-color-default + --system-action-button-size-m-edge-to-visual-only-size: var( + --spectrum-component-edge-to-visual-only-100 ); - --system-spectrum-button-selected-background-color-hover: var( - --spectrum-neutral-background-color-hover + --system-action-button-edge-to-text-size: var( + --spectrum-component-edge-to-text-100 ); - --system-spectrum-button-selected-background-color-down: var( - --spectrum-neutral-background-color-down + --system-action-button-size-m-edge-to-text-size: var( + --spectrum-component-edge-to-text-100 ); - --system-spectrum-button-selected-background-color-focus: var( - --spectrum-neutral-background-color-key-focus + --system-action-button-size-xs-min-width: calc( + var(--spectrum-component-edge-to-visual-only-50) * 2 + + var(--spectrum-workflow-icon-size-50) ); - --system-spectrum-button-selected-border-color-default: transparent; - --system-spectrum-button-selected-border-color-hover: transparent; - --system-spectrum-button-selected-border-color-down: transparent; - --system-spectrum-button-selected-border-color-focus: transparent; - --system-spectrum-button-selected-content-color-default: var( - --spectrum-white + --system-action-button-size-xs-height: var(--spectrum-component-height-50); + --system-action-button-size-xs-icon-size: var( + --spectrum-workflow-icon-size-50 ); - --system-spectrum-button-selected-content-color-hover: var( - --spectrum-white + --system-action-button-size-xs-font-size: var(--spectrum-font-size-50); + --system-action-button-size-xs-text-to-visual: var( + --spectrum-text-to-visual-50 ); - --system-spectrum-button-selected-content-color-down: var(--spectrum-white); - --system-spectrum-button-selected-content-color-focus: var( - --spectrum-white + --system-action-button-size-xs-edge-to-hold-icon: var( + --spectrum-action-button-edge-to-hold-icon-extra-small ); - --system-spectrum-button-selected-background-color-disabled: var( - --spectrum-disabled-background-color + --system-action-button-size-xs-edge-to-visual-size: var( + --spectrum-component-edge-to-visual-50 ); - --system-spectrum-button-selected-border-color-disabled: transparent; - --system-spectrum-button-selected-emphasized-background-color-default: var( - --spectrum-accent-background-color-default + --system-action-button-size-xs-edge-to-visual-only-size: var( + --spectrum-component-edge-to-visual-only-50 ); - --system-spectrum-button-selected-emphasized-background-color-hover: var( - --spectrum-accent-background-color-hover + --system-action-button-size-xs-edge-to-text-size: var( + --spectrum-component-edge-to-text-50 ); - --system-spectrum-button-selected-emphasized-background-color-down: var( - --spectrum-accent-background-color-down + --system-action-button-size-s-min-width: calc( + var(--spectrum-component-edge-to-visual-only-75) * 2 + + var(--spectrum-workflow-icon-size-75) ); - --system-spectrum-button-selected-emphasized-background-color-focus: var( - --spectrum-accent-background-color-key-focus + --system-action-button-size-s-height: var(--spectrum-component-height-75); + --system-action-button-size-s-icon-size: var( + --spectrum-workflow-icon-size-75 ); - --system-spectrum-button-staticblack-quiet-border-color-default: transparent; - --system-spectrum-button-staticwhite-quiet-border-color-default: transparent; - --system-spectrum-button-staticblack-quiet-border-color-hover: transparent; - --system-spectrum-button-staticwhite-quiet-border-color-hover: transparent; - --system-spectrum-button-staticblack-quiet-border-color-down: transparent; - --system-spectrum-button-staticwhite-quiet-border-color-down: transparent; - --system-spectrum-button-staticblack-quiet-border-color-focus: transparent; - --system-spectrum-button-staticwhite-quiet-border-color-focus: transparent; - --system-spectrum-button-staticblack-quiet-border-color-disabled: transparent; - --system-spectrum-button-staticwhite-quiet-border-color-disabled: transparent; - --system-spectrum-button-staticwhite-background-color-default: var( - --spectrum-transparent-white-800 + --system-action-button-size-s-font-size: var(--spectrum-font-size-75); + --system-action-button-size-s-text-to-visual: var( + --spectrum-text-to-visual-75 ); - --system-spectrum-button-staticwhite-background-color-hover: var( - --spectrum-transparent-white-900 + --system-action-button-size-s-edge-to-hold-icon: var( + --spectrum-action-button-edge-to-hold-icon-small ); - --system-spectrum-button-staticwhite-background-color-down: var( - --spectrum-transparent-white-900 + --system-action-button-size-s-edge-to-visual-size: var( + --spectrum-component-edge-to-visual-75 ); - --system-spectrum-button-staticwhite-background-color-focus: var( + --system-action-button-size-s-edge-to-visual-only-size: var( + --spectrum-component-edge-to-visual-only-75 + ); + --system-action-button-size-s-edge-to-text-size: var( + --spectrum-component-edge-to-text-75 + ); + --system-action-button-size-l-min-width: calc( + var(--spectrum-component-edge-to-visual-only-200) * 2 + + var(--spectrum-workflow-icon-size-200) + ); + --system-action-button-size-l-height: var(--spectrum-component-height-200); + --system-action-button-size-l-icon-size: var( + --spectrum-workflow-icon-size-200 + ); + --system-action-button-size-l-font-size: var(--spectrum-font-size-200); + --system-action-button-size-l-text-to-visual: var( + --spectrum-text-to-visual-200 + ); + --system-action-button-size-l-edge-to-hold-icon: var( + --spectrum-action-button-edge-to-hold-icon-large + ); + --system-action-button-size-l-edge-to-visual-size: var( + --spectrum-component-edge-to-visual-200 + ); + --system-action-button-size-l-edge-to-visual-only-size: var( + --spectrum-component-edge-to-visual-only-200 + ); + --system-action-button-size-l-edge-to-text-size: var( + --spectrum-component-edge-to-text-200 + ); + --system-action-button-size-xl-min-width: calc( + var(--spectrum-component-edge-to-visual-only-300) * 2 + + var(--spectrum-workflow-icon-size-300) + ); + --system-action-button-size-xl-height: var(--spectrum-component-height-300); + --system-action-button-size-xl-icon-size: var( + --spectrum-workflow-icon-size-300 + ); + --system-action-button-size-xl-font-size: var(--spectrum-font-size-300); + --system-action-button-size-xl-text-to-visual: var( + --spectrum-text-to-visual-300 + ); + --system-action-button-size-xl-edge-to-hold-icon: var( + --spectrum-action-button-edge-to-hold-icon-extra-large + ); + --system-action-button-size-xl-edge-to-visual-size: var( + --spectrum-component-edge-to-visual-300 + ); + --system-action-button-size-xl-edge-to-visual-only-size: var( + --spectrum-component-edge-to-visual-only-300 + ); + --system-action-button-size-xl-edge-to-text-size: var( + --spectrum-component-edge-to-text-300 + ); +} + +:host, +:root { + --system-action-group-gap-size-compact: var(--spectrum-spacing-50); + --system-action-group-horizontal-spacing-compact: calc( + -1px * var(--spectrum-spacing-50) + ); + --system-action-group-vertical-spacing-compact: calc( + -1px * var(--spectrum-spacing-50) + ); + --system-action-group-button-spacing-reset: 0; + --system-action-group-border-radius-reset: 0; + --system-action-group-border-radius: var(--spectrum-corner-radius-100); + --system-action-group-horizontal-spacing-regular: var( + --spectrum-spacing-100 + ); + --system-action-group-size-m-horizontal-spacing-regular: var( + --spectrum-spacing-100 + ); + --system-action-group-size-l-horizontal-spacing-regular: var( + --spectrum-spacing-100 + ); + --system-action-group-size-xl-horizontal-spacing-regular: var( + --spectrum-spacing-100 + ); + --system-action-group-vertical-spacing-regular: var(--spectrum-spacing-100); + --system-action-group-size-m-vertical-spacing-regular: var( + --spectrum-spacing-100 + ); + --system-action-group-size-l-vertical-spacing-regular: var( + --spectrum-spacing-100 + ); + --system-action-group-size-xl-vertical-spacing-regular: var( + --spectrum-spacing-100 + ); + --system-action-group-size-xs-horizontal-spacing-regular: var( + --spectrum-spacing-75 + ); + --system-action-group-size-s-horizontal-spacing-regular: var( + --spectrum-spacing-75 + ); + --system-action-group-size-xs-vertical-spacing-regular: var( + --spectrum-spacing-75 + ); + --system-action-group-size-s-vertical-spacing-regular: var( + --spectrum-spacing-75 + ); +} + +:host, +:root { + --system-alert-banner-neutral-background: var( + --spectrum-neutral-background-color-default + ); + --system-alert-banner-min-height: var( + --spectrum-alert-banner-minimum-height + ); + --system-alert-banner-max-inline-size: var(--spectrum-alert-banner-width); + --system-alert-banner-size: auto; + --system-alert-banner-font-size: var(--spectrum-font-size-100); + --system-alert-banner-icon-size: var(--spectrum-workflow-icon-size-100); + --system-alert-banner-icon-to-text: var(--spectrum-text-to-visual-300); + --system-alert-banner-start-edge: var(--spectrum-spacing-300); + --system-alert-banner-text-to-button-horizontal: var( + --spectrum-spacing-300 + ); + --system-alert-banner-text-to-divider: var(--spectrum-spacing-300); + --system-alert-banner-top-icon: var( + --spectrum-alert-banner-top-to-workflow-icon + ); + --system-alert-banner-top-text: var(--spectrum-alert-banner-top-to-text); + --system-alert-banner-bottom-text: var( + --spectrum-alert-banner-bottom-to-text + ); + --system-alert-banner-informative-background: var( + --spectrum-informative-background-color-default + ); + --system-alert-banner-negative-background: var( + --spectrum-negative-background-color-default + ); + --system-alert-banner-font-color: var(--spectrum-white); +} + +:host, +:root { + --system-alert-dialog-min-width: var(--spectrum-alert-dialog-minimum-width); + --system-alert-dialog-max-width: var(--spectrum-alert-dialog-maximum-width); + --system-alert-dialog-icon-size: var(--spectrum-workflow-icon-size-100); + --system-alert-dialog-warning-icon-color: var( + --spectrum-notice-visual-color + ); + --system-alert-dialog-error-icon-color: var( + --spectrum-negative-visual-color + ); + --system-alert-dialog-title-font-family: var( + --spectrum-sans-font-family-stack + ); + --system-alert-dialog-title-font-weight: var( + --spectrum-heading-sans-serif-font-weight + ); + --system-alert-dialog-title-font-style: var( + --spectrum-heading-sans-serif-font-style + ); + --system-alert-dialog-title-font-size: var( + --spectrum-alert-dialog-title-size + ); + --system-alert-dialog-title-line-height: var( + --spectrum-heading-line-height + ); + --system-alert-dialog-title-color: var(--spectrum-heading-color); + --system-alert-dialog-body-font-family: var( + --spectrum-sans-font-family-stack + ); + --system-alert-dialog-body-font-weight: var( + --spectrum-body-sans-serif-font-weight + ); + --system-alert-dialog-body-font-style: var( + --spectrum-body-sans-serif-font-style + ); + --system-alert-dialog-body-font-size: var( + --spectrum-alert-dialog-description-size + ); + --system-alert-dialog-body-line-height: var(--spectrum-line-height-100); + --system-alert-dialog-body-color: var(--spectrum-body-color); + --system-alert-dialog-title-to-divider: var(--spectrum-spacing-200); + --system-alert-dialog-divider-to-description: var(--spectrum-spacing-300); + --system-alert-dialog-title-to-icon: var(--spectrum-spacing-300); +} + +:host, +:root { + --system-asset-transition-duration: var(--spectrum-animation-duration-100); + --system-asset-folder-background-color: var(--spectrum-gray-300); + --system-asset-file-background-color: var(--spectrum-gray-50); + --system-asset-icon-outline-color: var(--spectrum-gray-500); +} + +:host, +:root { + --system-avatar-color-opacity: 1; + --system-avatar-inline-size: var(--spectrum-avatar-size-100); + --system-avatar-block-size: var(--spectrum-avatar-size-100); + --system-avatar-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-avatar-focus-indicator-gap: var(--spectrum-focus-indicator-gap); + --system-avatar-focus-indicator-color: var( + --spectrum-focus-indicator-color + ); + --system-avatar-color-opacity-disabled: var( + --spectrum-avatar-opacity-disabled + ); + --system-avatar-size-50-inline-size: var(--spectrum-avatar-size-50); + --system-avatar-size-50-block-size: var(--spectrum-avatar-size-50); + --system-avatar-size-75-inline-size: var(--spectrum-avatar-size-75); + --system-avatar-size-75-block-size: var(--spectrum-avatar-size-75); + --system-avatar-size-100-inline-size: var(--spectrum-avatar-size-100); + --system-avatar-size-100-block-size: var(--spectrum-avatar-size-100); + --system-avatar-size-200-inline-size: var(--spectrum-avatar-size-200); + --system-avatar-size-200-block-size: var(--spectrum-avatar-size-200); + --system-avatar-size-300-inline-size: var(--spectrum-avatar-size-300); + --system-avatar-size-300-block-size: var(--spectrum-avatar-size-300); + --system-avatar-size-400-inline-size: var(--spectrum-avatar-size-400); + --system-avatar-size-400-block-size: var(--spectrum-avatar-size-400); + --system-avatar-size-500-inline-size: var(--spectrum-avatar-size-500); + --system-avatar-size-500-block-size: var(--spectrum-avatar-size-500); + --system-avatar-size-600-inline-size: var(--spectrum-avatar-size-600); + --system-avatar-size-600-block-size: var(--spectrum-avatar-size-600); + --system-avatar-size-700-inline-size: var(--spectrum-avatar-size-700); + --system-avatar-size-700-block-size: var(--spectrum-avatar-size-700); +} + +:host, +:root { + --system-badge-corner-radius: var(--spectrum-corner-radius-100); + --system-badge-line-height: var(--spectrum-line-height-100); + --system-badge-line-height-cjk: var(--spectrum-cjk-line-height-100); + --system-badge-label-icon-color: var(--spectrum-white); + --system-badge-background-color-default: var( + --spectrum-neutral-subdued-background-color-default + ); + --system-badge-background-color-accent: var( + --spectrum-accent-background-color-default + ); + --system-badge-background-color-informative: var( + --spectrum-informative-background-color-default + ); + --system-badge-background-color-negative: var( + --spectrum-negative-background-color-default + ); + --system-badge-background-color-positive: var( + --spectrum-positive-background-color-default + ); + --system-badge-background-color-notice: var( + --spectrum-notice-background-color-default + ); + --system-badge-background-color-gray: var( + --spectrum-gray-background-color-default + ); + --system-badge-background-color-red: var( + --spectrum-red-background-color-default + ); + --system-badge-background-color-orange: var( + --spectrum-orange-background-color-default + ); + --system-badge-background-color-yellow: var( + --spectrum-yellow-background-color-default + ); + --system-badge-background-color-chartreuse: var( + --spectrum-chartreuse-background-color-default + ); + --system-badge-background-color-celery: var( + --spectrum-celery-background-color-default + ); + --system-badge-background-color-green: var( + --spectrum-green-background-color-default + ); + --system-badge-background-color-seafoam: var( + --spectrum-seafoam-background-color-default + ); + --system-badge-background-color-cyan: var( + --spectrum-cyan-background-color-default + ); + --system-badge-background-color-blue: var( + --spectrum-blue-background-color-default + ); + --system-badge-background-color-indigo: var( + --spectrum-indigo-background-color-default + ); + --system-badge-background-color-purple: var( + --spectrum-purple-background-color-default + ); + --system-badge-background-color-fuchsia: var( + --spectrum-fuchsia-background-color-default + ); + --system-badge-background-color-magenta: var( + --spectrum-magenta-background-color-default + ); + --system-badge-height: var(--spectrum-component-height-100); + --system-badge-font-size: var(--spectrum-font-size-100); + --system-badge-label-spacing-vertical-top: var( + --spectrum-component-top-to-text-100 + ); + --system-badge-label-spacing-vertical-bottom: var( + --spectrum-component-bottom-to-text-100 + ); + --system-badge-label-spacing-horizontal: var( + --spectrum-component-edge-to-text-100 + ); + --system-badge-workflow-icon-size: var(--spectrum-workflow-icon-size-100); + --system-badge-icon-text-spacing: var(--spectrum-text-to-visual-100); + --system-badge-icon-spacing-horizontal: var( + --spectrum-component-edge-to-visual-100 + ); + --system-badge-icon-spacing-vertical-top: var( + --spectrum-component-top-to-workflow-icon-100 + ); + --system-badge-icon-only-spacing-horizontal: var( + --spectrum-component-edge-to-visual-only-100 + ); + --system-badge-orange-label-icon-color: var(--spectrum-black); + --system-badge-yellow-label-icon-color: var(--spectrum-black); + --system-badge-chartreuse-label-icon-color: var(--spectrum-black); + --system-badge-celery-label-icon-color: var(--spectrum-black); + --system-badge-gray-label-icon-color: var( + --spectrum-badge-label-icon-color-primary + ); + --system-badge-red-label-icon-color: var( + --spectrum-badge-label-icon-color-primary + ); + --system-badge-green-label-icon-color: var( + --spectrum-badge-label-icon-color-primary + ); + --system-badge-seafoam-label-icon-color: var( + --spectrum-badge-label-icon-color-primary + ); + --system-badge-cyan-label-icon-color: var( + --spectrum-badge-label-icon-color-primary + ); + --system-badge-blue-label-icon-color: var( + --spectrum-badge-label-icon-color-primary + ); + --system-badge-indigo-label-icon-color: var( + --spectrum-badge-label-icon-color-primary + ); + --system-badge-purple-label-icon-color: var( + --spectrum-badge-label-icon-color-primary + ); + --system-badge-fuchsia-label-icon-color: var( + --spectrum-badge-label-icon-color-primary + ); + --system-badge-magenta-label-icon-color: var( + --spectrum-badge-label-icon-color-primary + ); + --system-badge-size-s-height: var(--spectrum-component-height-75); + --system-badge-size-s-font-size: var(--spectrum-font-size-75); + --system-badge-size-s-label-spacing-vertical-top: var( + --spectrum-component-top-to-text-75 + ); + --system-badge-size-s-label-spacing-vertical-bottom: var( + --spectrum-component-bottom-to-text-75 + ); + --system-badge-size-s-label-spacing-horizontal: var( + --spectrum-component-edge-to-text-75 + ); + --system-badge-size-s-workflow-icon-size: var( + --spectrum-workflow-icon-size-75 + ); + --system-badge-size-s-icon-text-spacing: var(--spectrum-text-to-visual-75); + --system-badge-size-s-icon-spacing-horizontal: var( + --spectrum-component-edge-to-visual-75 + ); + --system-badge-size-s-icon-spacing-vertical-top: var( + --spectrum-component-top-to-workflow-icon-75 + ); + --system-badge-size-s-icon-only-spacing-horizontal: var( + --spectrum-component-edge-to-visual-only-75 + ); + --system-badge-size-l-height: var(--spectrum-component-height-100); + --system-badge-size-l-font-size: var(--spectrum-font-size-200); + --system-badge-size-l-label-spacing-vertical-top: var( + --spectrum-component-top-to-text-200 + ); + --system-badge-size-l-label-spacing-vertical-bottom: var( + --spectrum-component-bottom-to-text-200 + ); + --system-badge-size-l-label-spacing-horizontal: var( + --spectrum-component-edge-to-text-200 + ); + --system-badge-size-l-workflow-icon-size: var( + --spectrum-workflow-icon-size-200 + ); + --system-badge-size-l-icon-text-spacing: var(--spectrum-text-to-visual-200); + --system-badge-size-l-icon-spacing-horizontal: var( + --spectrum-component-edge-to-visual-200 + ); + --system-badge-size-l-icon-spacing-vertical-top: var( + --spectrum-component-top-to-workflow-icon-200 + ); + --system-badge-size-l-icon-only-spacing-horizontal: var( + --spectrum-component-edge-to-visual-only-200 + ); + --system-badge-size-xl-height: var(--spectrum-component-height-100); + --system-badge-size-xl-font-size: var(--spectrum-font-size-300); + --system-badge-size-xl-label-spacing-vertical-top: var( + --spectrum-component-top-to-text-300 + ); + --system-badge-size-xl-label-spacing-vertical-bottom: var( + --spectrum-component-bottom-to-text-300 + ); + --system-badge-size-xl-label-spacing-horizontal: var( + --spectrum-component-edge-to-text-300 + ); + --system-badge-size-xl-workflow-icon-size: var( + --spectrum-workflow-icon-size-300 + ); + --system-badge-size-xl-icon-text-spacing: var( + --spectrum-text-to-visual-300 + ); + --system-badge-size-xl-icon-spacing-horizontal: var( + --spectrum-component-edge-to-visual-300 + ); + --system-badge-size-xl-icon-spacing-vertical-top: var( + --spectrum-component-top-to-workflow-icon-300 + ); + --system-badge-size-xl-icon-only-spacing-horizontal: var( + --spectrum-component-edge-to-visual-only-300 + ); +} + +:host, +:root { + --system-button-animation-duration: var(--spectrum-animation-duration-100); + --system-button-border-width: var(--spectrum-border-width-200); + --system-button-line-height: 1.2; + --system-button-focus-ring-gap: var(--spectrum-focus-indicator-gap); + --system-button-focus-ring-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-button-focus-indicator-color: var( + --spectrum-focus-indicator-color + ); + --system-button-background-color-default: var(--spectrum-gray-200); + --system-button-background-color-hover: var(--spectrum-gray-300); + --system-button-background-color-down: var(--spectrum-gray-400); + --system-button-background-color-focus: var(--spectrum-gray-300); + --system-button-border-color-default: transparent; + --system-button-border-color-hover: transparent; + --system-button-border-color-down: transparent; + --system-button-border-color-focus: transparent; + --system-button-content-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-button-content-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-button-content-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-button-content-color-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-button-background-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-button-border-color-disabled: transparent; + --system-button-content-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-button-accent-background-color-default: var( + --spectrum-accent-background-color-default + ); + --system-button-accent-background-color-hover: var( + --spectrum-accent-background-color-hover + ); + --system-button-accent-background-color-down: var( + --spectrum-accent-background-color-down + ); + --system-button-accent-background-color-focus: var( + --spectrum-accent-background-color-key-focus + ); + --system-button-accent-border-color-default: transparent; + --system-button-accent-border-color-hover: transparent; + --system-button-accent-border-color-down: transparent; + --system-button-accent-border-color-focus: transparent; + --system-button-accent-content-color-default: var(--spectrum-white); + --system-button-accent-content-color-hover: var(--spectrum-white); + --system-button-accent-content-color-down: var(--spectrum-white); + --system-button-accent-content-color-focus: var(--spectrum-white); + --system-button-accent-background-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-button-accent-border-color-disabled: transparent; + --system-button-accent-content-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-button-accent-outline-background-color-default: transparent; + --system-button-accent-outline-background-color-hover: var( + --spectrum-accent-color-200 + ); + --system-button-accent-outline-background-color-down: var( + --spectrum-accent-color-300 + ); + --system-button-accent-outline-background-color-focus: var( + --spectrum-accent-color-200 + ); + --system-button-accent-outline-border-color-default: var( + --spectrum-accent-color-900 + ); + --system-button-accent-outline-border-color-hover: var( + --spectrum-accent-color-1000 + ); + --system-button-accent-outline-border-color-down: var( + --spectrum-accent-color-1100 + ); + --system-button-accent-outline-border-color-focus: var( + --spectrum-accent-color-1000 + ); + --system-button-accent-outline-content-color-default: var( + --spectrum-accent-content-color-default + ); + --system-button-accent-outline-content-color-hover: var( + --spectrum-accent-content-color-hover + ); + --system-button-accent-outline-content-color-down: var( + --spectrum-accent-content-color-down + ); + --system-button-accent-outline-content-color-focus: var( + --spectrum-accent-content-color-key-focus + ); + --system-button-accent-outline-background-color-disabled: transparent; + --system-button-accent-outline-border-color-disabled: var( + --spectrum-disabled-border-color + ); + --system-button-accent-outline-content-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-button-negative-background-color-default: var( + --spectrum-negative-background-color-default + ); + --system-button-negative-background-color-hover: var( + --spectrum-negative-background-color-hover + ); + --system-button-negative-background-color-down: var( + --spectrum-negative-background-color-down + ); + --system-button-negative-background-color-focus: var( + --spectrum-negative-background-color-key-focus + ); + --system-button-negative-border-color-default: transparent; + --system-button-negative-border-color-hover: transparent; + --system-button-negative-border-color-down: transparent; + --system-button-negative-border-color-focus: transparent; + --system-button-negative-content-color-default: var(--spectrum-white); + --system-button-negative-content-color-hover: var(--spectrum-white); + --system-button-negative-content-color-down: var(--spectrum-white); + --system-button-negative-content-color-focus: var(--spectrum-white); + --system-button-negative-background-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-button-negative-border-color-disabled: transparent; + --system-button-negative-content-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-button-negative-outline-background-color-default: transparent; + --system-button-negative-outline-background-color-hover: var( + --spectrum-negative-color-200 + ); + --system-button-negative-outline-background-color-down: var( + --spectrum-negative-color-300 + ); + --system-button-negative-outline-background-color-focus: var( + --spectrum-negative-color-200 + ); + --system-button-negative-outline-border-color-default: var( + --spectrum-negative-color-900 + ); + --system-button-negative-outline-border-color-hover: var( + --spectrum-negative-color-1000 + ); + --system-button-negative-outline-border-color-down: var( + --spectrum-negative-color-1100 + ); + --system-button-negative-outline-border-color-focus: var( + --spectrum-negative-color-1000 + ); + --system-button-negative-outline-content-color-default: var( + --spectrum-negative-content-color-default + ); + --system-button-negative-outline-content-color-hover: var( + --spectrum-negative-content-color-hover + ); + --system-button-negative-outline-content-color-down: var( + --spectrum-negative-content-color-down + ); + --system-button-negative-outline-content-color-focus: var( + --spectrum-negative-content-color-key-focus + ); + --system-button-negative-outline-background-color-disabled: transparent; + --system-button-negative-outline-border-color-disabled: var( + --spectrum-disabled-border-color + ); + --system-button-negative-outline-content-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-button-primary-background-color-default: var( + --spectrum-neutral-background-color-default + ); + --system-button-primary-background-color-hover: var( + --spectrum-neutral-background-color-hover + ); + --system-button-primary-background-color-down: var( + --spectrum-neutral-background-color-down + ); + --system-button-primary-background-color-focus: var( + --spectrum-neutral-background-color-key-focus + ); + --system-button-primary-border-color-default: transparent; + --system-button-primary-border-color-hover: transparent; + --system-button-primary-border-color-down: transparent; + --system-button-primary-border-color-focus: transparent; + --system-button-primary-content-color-default: var(--spectrum-white); + --system-button-primary-content-color-hover: var(--spectrum-white); + --system-button-primary-content-color-down: var(--spectrum-white); + --system-button-primary-content-color-focus: var(--spectrum-white); + --system-button-primary-background-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-button-primary-border-color-disabled: transparent; + --system-button-primary-content-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-button-primary-outline-background-color-default: transparent; + --system-button-primary-outline-background-color-hover: var( + --spectrum-gray-300 + ); + --system-button-primary-outline-background-color-down: var( + --spectrum-gray-400 + ); + --system-button-primary-outline-background-color-focus: var( + --spectrum-gray-300 + ); + --system-button-primary-outline-border-color-default: var( + --spectrum-gray-800 + ); + --system-button-primary-outline-border-color-hover: var( + --spectrum-gray-900 + ); + --system-button-primary-outline-border-color-down: var(--spectrum-gray-900); + --system-button-primary-outline-border-color-focus: var( + --spectrum-gray-900 + ); + --system-button-primary-outline-content-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-button-primary-outline-content-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-button-primary-outline-content-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-button-primary-outline-content-color-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-button-primary-outline-background-color-disabled: transparent; + --system-button-primary-outline-border-color-disabled: var( + --spectrum-disabled-border-color + ); + --system-button-primary-outline-content-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-button-secondary-background-color-default: var( + --spectrum-gray-200 + ); + --system-button-secondary-background-color-hover: var(--spectrum-gray-300); + --system-button-secondary-background-color-down: var(--spectrum-gray-400); + --system-button-secondary-background-color-focus: var(--spectrum-gray-300); + --system-button-secondary-border-color-default: transparent; + --system-button-secondary-border-color-hover: transparent; + --system-button-secondary-border-color-down: transparent; + --system-button-secondary-border-color-focus: transparent; + --system-button-secondary-content-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-button-secondary-content-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-button-secondary-content-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-button-secondary-content-color-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-button-secondary-background-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-button-secondary-border-color-disabled: transparent; + --system-button-secondary-content-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-button-secondary-outline-background-color-default: transparent; + --system-button-secondary-outline-background-color-hover: var( + --spectrum-gray-300 + ); + --system-button-secondary-outline-background-color-down: var( + --spectrum-gray-400 + ); + --system-button-secondary-outline-background-color-focus: var( + --spectrum-gray-300 + ); + --system-button-secondary-outline-border-color-default: var( + --spectrum-gray-300 + ); + --system-button-secondary-outline-border-color-hover: var( + --spectrum-gray-400 + ); + --system-button-secondary-outline-border-color-down: var( + --spectrum-gray-500 + ); + --system-button-secondary-outline-border-color-focus: var( + --spectrum-gray-400 + ); + --system-button-secondary-outline-content-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-button-secondary-outline-content-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-button-secondary-outline-content-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-button-secondary-outline-content-color-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-button-secondary-outline-background-color-disabled: transparent; + --system-button-secondary-outline-border-color-disabled: var( + --spectrum-disabled-border-color + ); + --system-button-secondary-outline-content-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-button-quiet-background-color-default: transparent; + --system-button-quiet-background-color-hover: var(--spectrum-gray-100); + --system-button-quiet-background-color-down: var(--spectrum-gray-200); + --system-button-quiet-background-color-focus: var(--spectrum-gray-100); + --system-button-quiet-border-color-default: transparent; + --system-button-quiet-border-color-hover: transparent; + --system-button-quiet-border-color-down: transparent; + --system-button-quiet-border-color-focus: transparent; + --system-button-quiet-background-color-disabled: transparent; + --system-button-quiet-border-color-disabled: transparent; + --system-button-selected-background-color-default: var( + --spectrum-neutral-background-color-default + ); + --system-button-selected-background-color-hover: var( + --spectrum-neutral-background-color-hover + ); + --system-button-selected-background-color-down: var( + --spectrum-neutral-background-color-down + ); + --system-button-selected-background-color-focus: var( + --spectrum-neutral-background-color-key-focus + ); + --system-button-selected-border-color-default: transparent; + --system-button-selected-border-color-hover: transparent; + --system-button-selected-border-color-down: transparent; + --system-button-selected-border-color-focus: transparent; + --system-button-selected-content-color-default: var(--spectrum-white); + --system-button-selected-content-color-hover: var(--spectrum-white); + --system-button-selected-content-color-down: var(--spectrum-white); + --system-button-selected-content-color-focus: var(--spectrum-white); + --system-button-selected-background-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-button-selected-border-color-disabled: transparent; + --system-button-selected-emphasized-background-color-default: var( + --spectrum-accent-background-color-default + ); + --system-button-selected-emphasized-background-color-hover: var( + --spectrum-accent-background-color-hover + ); + --system-button-selected-emphasized-background-color-down: var( + --spectrum-accent-background-color-down + ); + --system-button-selected-emphasized-background-color-focus: var( + --spectrum-accent-background-color-key-focus + ); + --system-button-static-black-quiet-border-color-default: transparent; + --system-button-static-white-quiet-border-color-default: transparent; + --system-button-static-black-quiet-border-color-hover: transparent; + --system-button-static-white-quiet-border-color-hover: transparent; + --system-button-static-black-quiet-border-color-down: transparent; + --system-button-static-white-quiet-border-color-down: transparent; + --system-button-static-black-quiet-border-color-focus: transparent; + --system-button-static-white-quiet-border-color-focus: transparent; + --system-button-static-black-quiet-border-color-disabled: transparent; + --system-button-static-white-quiet-border-color-disabled: transparent; + --system-button-static-white-background-color-default: var( + --spectrum-transparent-white-800 + ); + --system-button-static-white-background-color-hover: var( + --spectrum-transparent-white-900 + ); + --system-button-static-white-background-color-down: var( + --spectrum-transparent-white-900 + ); + --system-button-static-white-background-color-focus: var( + --spectrum-transparent-white-900 + ); + --system-button-static-white-border-color-default: transparent; + --system-button-static-white-border-color-hover: transparent; + --system-button-static-white-border-color-down: transparent; + --system-button-static-white-border-color-focus: transparent; + --system-button-static-white-content-color-default: var(--spectrum-black); + --system-button-static-white-content-color-hover: var(--spectrum-black); + --system-button-static-white-content-color-down: var(--spectrum-black); + --system-button-static-white-content-color-focus: var(--spectrum-black); + --system-button-static-white-focus-indicator-color: var( + --spectrum-static-white-focus-indicator-color + ); + --system-button-static-white-background-color-disabled: var( + --spectrum-disabled-static-white-background-color + ); + --system-button-static-white-border-color-disabled: transparent; + --system-button-static-white-content-color-disabled: var( + --spectrum-disabled-static-white-content-color + ); + --system-button-static-white-outline-background-color-default: transparent; + --system-button-static-white-outline-background-color-hover: var( + --spectrum-transparent-white-300 + ); + --system-button-static-white-outline-background-color-down: var( + --spectrum-transparent-white-400 + ); + --system-button-static-white-outline-background-color-focus: var( + --spectrum-transparent-white-300 + ); + --system-button-static-white-outline-border-color-default: var( + --spectrum-transparent-white-800 + ); + --system-button-static-white-outline-border-color-hover: var( + --spectrum-transparent-white-900 + ); + --system-button-static-white-outline-border-color-down: var( + --spectrum-transparent-white-900 + ); + --system-button-static-white-outline-border-color-focus: var( + --spectrum-transparent-white-900 + ); + --system-button-static-white-outline-content-color-default: var( + --spectrum-white + ); + --system-button-static-white-outline-content-color-hover: var( + --spectrum-white + ); + --system-button-static-white-outline-content-color-down: var( + --spectrum-white + ); + --system-button-static-white-outline-content-color-focus: var( + --spectrum-white + ); + --system-button-static-white-outline-focus-indicator-color: var( + --spectrum-static-white-focus-indicator-color + ); + --system-button-static-white-outline-background-color-disabled: transparent; + --system-button-static-white-outline-border-color-disabled: var( + --spectrum-disabled-static-white-border-color + ); + --system-button-static-white-outline-content-color-disabled: var( + --spectrum-disabled-static-white-content-color + ); + --system-button-static-white-selected-background-color-default: var( + --spectrum-transparent-white-800 + ); + --system-button-static-white-selected-background-color-hover: var( + --spectrum-transparent-white-900 + ); + --system-button-static-white-selected-background-color-down: var( + --spectrum-transparent-white-900 + ); + --system-button-static-white-selected-background-color-focus: var( + --spectrum-transparent-white-900 + ); + --system-button-static-white-selected-static-white-content-color-default: var( + --spectrum-black + ); + --system-button-static-white-selected-static-white-content-color-hover: var( + --spectrum-black + ); + --system-button-static-white-selected-static-white-content-color-down: var( + --spectrum-black + ); + --system-button-static-white-selected-static-white-content-color-focus: var( + --spectrum-black + ); + --system-button-static-white-selected-background-color-disabled: var( + --spectrum-disabled-static-white-background-color + ); + --system-button-static-white-selected-border-color-disabled: transparent; + --system-button-static-white-secondary-background-color-default: var( + --spectrum-transparent-white-200 + ); + --system-button-static-white-secondary-background-color-hover: var( + --spectrum-transparent-white-300 + ); + --system-button-static-white-secondary-background-color-down: var( + --spectrum-transparent-white-400 + ); + --system-button-static-white-secondary-background-color-focus: var( + --spectrum-transparent-white-300 + ); + --system-button-static-white-secondary-border-color-default: transparent; + --system-button-static-white-secondary-border-color-hover: transparent; + --system-button-static-white-secondary-border-color-down: transparent; + --system-button-static-white-secondary-border-color-focus: transparent; + --system-button-static-white-secondary-content-color-default: var( + --spectrum-white + ); + --system-button-static-white-secondary-content-color-hover: var( + --spectrum-white + ); + --system-button-static-white-secondary-content-color-down: var( + --spectrum-white + ); + --system-button-static-white-secondary-content-color-focus: var( + --spectrum-white + ); + --system-button-static-white-secondary-focus-indicator-color: var( + --spectrum-static-white-focus-indicator-color + ); + --system-button-static-white-secondary-background-color-disabled: var( + --spectrum-disabled-static-white-background-color + ); + --system-button-static-white-secondary-border-color-disabled: transparent; + --system-button-static-white-secondary-content-color-disabled: var( + --spectrum-disabled-static-white-content-color + ); + --system-button-static-white-secondary-outline-background-color-default: transparent; + --system-button-static-white-secondary-outline-background-color-hover: var( + --spectrum-transparent-white-300 + ); + --system-button-static-white-secondary-outline-background-color-down: var( + --spectrum-transparent-white-400 + ); + --system-button-static-white-secondary-outline-background-color-focus: var( + --spectrum-transparent-white-300 + ); + --system-button-static-white-secondary-outline-border-color-default: var( + --spectrum-transparent-white-300 + ); + --system-button-static-white-secondary-outline-border-color-hover: var( + --spectrum-transparent-white-400 + ); + --system-button-static-white-secondary-outline-border-color-down: var( + --spectrum-transparent-white-500 + ); + --system-button-static-white-secondary-outline-border-color-focus: var( + --spectrum-transparent-white-400 + ); + --system-button-static-white-secondary-outline-content-color-default: var( + --spectrum-white + ); + --system-button-static-white-secondary-outline-content-color-hover: var( + --spectrum-white + ); + --system-button-static-white-secondary-outline-content-color-down: var( + --spectrum-white + ); + --system-button-static-white-secondary-outline-content-color-focus: var( + --spectrum-white + ); + --system-button-static-white-secondary-outline-focus-indicator-color: var( + --spectrum-static-white-focus-indicator-color + ); + --system-button-static-white-secondary-outline-background-color-disabled: transparent; + --system-button-static-white-secondary-outline-border-color-disabled: var( + --spectrum-disabled-static-white-border-color + ); + --system-button-static-white-secondary-outline-content-color-disabled: var( + --spectrum-disabled-static-white-content-color + ); + --system-button-static-black-background-color-default: var( + --spectrum-transparent-black-800 + ); + --system-button-static-black-background-color-hover: var( + --spectrum-transparent-black-900 + ); + --system-button-static-black-background-color-down: var( + --spectrum-transparent-black-900 + ); + --system-button-static-black-background-color-focus: var( + --spectrum-transparent-black-900 + ); + --system-button-static-black-border-color-default: transparent; + --system-button-static-black-border-color-hover: transparent; + --system-button-static-black-border-color-down: transparent; + --system-button-static-black-border-color-focus: transparent; + --system-button-static-black-content-color-default: var(--spectrum-white); + --system-button-static-black-content-color-hover: var(--spectrum-white); + --system-button-static-black-content-color-down: var(--spectrum-white); + --system-button-static-black-content-color-focus: var(--spectrum-white); + --system-button-static-black-focus-indicator-color: var( + --spectrum-static-black-focus-indicator-color + ); + --system-button-static-black-background-color-disabled: var( + --spectrum-disabled-static-black-background-color + ); + --system-button-static-black-border-color-disabled: transparent; + --system-button-static-black-content-color-disabled: var( + --spectrum-disabled-static-black-content-color + ); + --system-button-static-black-outline-background-color-default: transparent; + --system-button-static-black-outline-background-color-hover: var( + --spectrum-transparent-black-300 + ); + --system-button-static-black-outline-background-color-down: var( + --spectrum-transparent-black-400 + ); + --system-button-static-black-outline-background-color-focus: var( + --spectrum-transparent-black-300 + ); + --system-button-static-black-outline-border-color-default: var( + --spectrum-transparent-black-400 + ); + --system-button-static-black-outline-border-color-hover: var( + --spectrum-transparent-black-500 + ); + --system-button-static-black-outline-border-color-down: var( + --spectrum-transparent-black-600 + ); + --system-button-static-black-outline-border-color-focus: var( + --spectrum-transparent-black-500 + ); + --system-button-static-black-outline-content-color-default: var( + --spectrum-black + ); + --system-button-static-black-outline-content-color-hover: var( + --spectrum-black + ); + --system-button-static-black-outline-content-color-down: var( + --spectrum-black + ); + --system-button-static-black-outline-content-color-focus: var( + --spectrum-black + ); + --system-button-static-black-outline-focus-indicator-color: var( + --spectrum-static-black-focus-indicator-color + ); + --system-button-static-black-outline-background-color-disabled: transparent; + --system-button-static-black-outline-border-color-disabled: var( + --spectrum-disabled-static-black-border-color + ); + --system-button-static-black-outline-content-color-disabled: var( + --spectrum-disabled-static-black-content-color + ); + --system-button-static-black-secondary-background-color-default: var( + --spectrum-transparent-black-200 + ); + --system-button-static-black-secondary-background-color-hover: var( + --spectrum-transparent-black-300 + ); + --system-button-static-black-secondary-background-color-down: var( + --spectrum-transparent-black-400 + ); + --system-button-static-black-secondary-background-color-focus: var( + --spectrum-transparent-black-300 + ); + --system-button-static-black-secondary-border-color-default: transparent; + --system-button-static-black-secondary-border-color-hover: transparent; + --system-button-static-black-secondary-border-color-down: transparent; + --system-button-static-black-secondary-border-color-focus: transparent; + --system-button-static-black-secondary-content-color-default: var( + --spectrum-black + ); + --system-button-static-black-secondary-content-color-hover: var( + --spectrum-black + ); + --system-button-static-black-secondary-content-color-down: var( + --spectrum-black + ); + --system-button-static-black-secondary-content-color-focus: var( + --spectrum-black + ); + --system-button-static-black-secondary-focus-indicator-color: var( + --spectrum-static-black-focus-indicator-color + ); + --system-button-static-black-secondary-background-color-disabled: var( + --spectrum-disabled-static-black-background-color + ); + --system-button-static-black-secondary-border-color-disabled: transparent; + --system-button-static-black-secondary-content-color-disabled: var( + --spectrum-disabled-static-black-content-color + ); + --system-button-static-black-secondary-outline-background-color-default: transparent; + --system-button-static-black-secondary-outline-background-color-hover: var( + --spectrum-transparent-black-300 + ); + --system-button-static-black-secondary-outline-background-color-down: var( + --spectrum-transparent-black-400 + ); + --system-button-static-black-secondary-outline-background-color-focus: var( + --spectrum-transparent-black-300 + ); + --system-button-static-black-secondary-outline-border-color-default: var( + --spectrum-transparent-black-300 + ); + --system-button-static-black-secondary-outline-border-color-hover: var( + --spectrum-transparent-black-400 + ); + --system-button-static-black-secondary-outline-border-color-down: var( + --spectrum-transparent-black-500 + ); + --system-button-static-black-secondary-outline-border-color-focus: var( + --spectrum-transparent-black-400 + ); + --system-button-static-black-secondary-outline-content-color-default: var( + --spectrum-black + ); + --system-button-static-black-secondary-outline-content-color-hover: var( + --spectrum-black + ); + --system-button-static-black-secondary-outline-content-color-down: var( + --spectrum-black + ); + --system-button-static-black-secondary-outline-content-color-focus: var( + --spectrum-black + ); + --system-button-static-black-secondary-outline-focus-indicator-color: var( + --spectrum-static-black-focus-indicator-color + ); + --system-button-static-black-secondary-outline-background-color-disabled: transparent; + --system-button-static-black-secondary-outline-border-color-disabled: var( + --spectrum-disabled-static-black-border-color + ); + --system-button-static-black-secondary-outline-content-color-disabled: var( + --spectrum-disabled-static-black-content-color + ); + --system-button-min-width: calc( + var(--spectrum-component-height-100) * + var(--spectrum-button-minimum-width-multiplier) + ); + --system-button-size-m-min-width: calc( + var(--spectrum-component-height-100) * + var(--spectrum-button-minimum-width-multiplier) + ); + --system-button-border-radius: var( + --spectrum-component-pill-edge-to-text-100 + ); + --system-button-size-m-border-radius: var( + --spectrum-component-pill-edge-to-text-100 + ); + --system-button-height: var(--spectrum-component-height-100); + --system-button-size-m-height: var(--spectrum-component-height-100); + --system-button-font-size: var(--spectrum-font-size-100); + --system-button-size-m-font-size: var(--spectrum-font-size-100); + --system-button-edge-to-visual: calc( + var(--spectrum-component-pill-edge-to-visual-100) - + var(--system-button-border-width) + ); + --system-button-size-m-edge-to-visual: calc( + var(--spectrum-component-pill-edge-to-visual-100) - + var(--system-button-border-width) + ); + --system-button-edge-to-visual-only: var( + --spectrum-component-pill-edge-to-visual-only-100 + ); + --system-button-size-m-edge-to-visual-only: var( + --spectrum-component-pill-edge-to-visual-only-100 + ); + --system-button-edge-to-text: calc( + var(--spectrum-component-pill-edge-to-text-100) - + var(--system-button-border-width) + ); + --system-button-size-m-edge-to-text: calc( + var(--spectrum-component-pill-edge-to-text-100) - + var(--system-button-border-width) + ); + --system-button-padding-label-to-icon: var(--spectrum-text-to-visual-100); + --system-button-size-m-padding-label-to-icon: var( + --spectrum-text-to-visual-100 + ); + --system-button-top-to-text: var(--spectrum-button-top-to-text-medium); + --system-button-size-m-top-to-text: var( + --spectrum-button-top-to-text-medium + ); + --system-button-bottom-to-text: var( + --spectrum-button-bottom-to-text-medium + ); + --system-button-size-m-bottom-to-text: var( + --spectrum-button-bottom-to-text-medium + ); + --system-button-top-to-icon: var( + --spectrum-component-top-to-workflow-icon-100 + ); + --system-button-size-m-top-to-icon: var( + --spectrum-component-top-to-workflow-icon-100 + ); + --system-button-intended-icon-size: var(--spectrum-workflow-icon-size-100); + --system-button-size-m-intended-icon-size: var( + --spectrum-workflow-icon-size-100 + ); + --system-button-size-s-min-width: calc( + var(--spectrum-component-height-75) * + var(--spectrum-button-minimum-width-multiplier) + ); + --system-button-size-s-border-radius: var( + --spectrum-component-pill-edge-to-text-75 + ); + --system-button-size-s-height: var(--spectrum-component-height-75); + --system-button-size-s-font-size: var(--spectrum-font-size-75); + --system-button-size-s-edge-to-visual: calc( + var(--spectrum-component-pill-edge-to-visual-75) - + var(--system-button-border-width) + ); + --system-button-size-s-edge-to-visual-only: var( + --spectrum-component-pill-edge-to-visual-only-75 + ); + --system-button-size-s-edge-to-text: calc( + var(--spectrum-component-pill-edge-to-text-75) - + var(--system-button-border-width) + ); + --system-button-size-s-padding-label-to-icon: var( + --spectrum-text-to-visual-75 + ); + --system-button-size-s-top-to-text: var( + --spectrum-button-top-to-text-small + ); + --system-button-size-s-bottom-to-text: var( + --spectrum-button-bottom-to-text-small + ); + --system-button-size-s-top-to-icon: var( + --spectrum-component-top-to-workflow-icon-75 + ); + --system-button-size-s-intended-icon-size: var( + --spectrum-workflow-icon-size-75 + ); + --system-button-size-l-min-width: calc( + var(--spectrum-component-height-200) * + var(--spectrum-button-minimum-width-multiplier) + ); + --system-button-size-l-border-radius: var( + --spectrum-component-pill-edge-to-text-200 + ); + --system-button-size-l-height: var(--spectrum-component-height-200); + --system-button-size-l-font-size: var(--spectrum-font-size-200); + --system-button-size-l-edge-to-visual: calc( + var(--spectrum-component-pill-edge-to-visual-200) - + var(--system-button-border-width) + ); + --system-button-size-l-edge-to-visual-only: var( + --spectrum-component-pill-edge-to-visual-only-200 + ); + --system-button-size-l-edge-to-text: calc( + var(--spectrum-component-pill-edge-to-text-200) - + var(--system-button-border-width) + ); + --system-button-size-l-padding-label-to-icon: var( + --spectrum-text-to-visual-200 + ); + --system-button-size-l-top-to-text: var( + --spectrum-button-top-to-text-large + ); + --system-button-size-l-bottom-to-text: var( + --spectrum-button-bottom-to-text-large + ); + --system-button-size-l-top-to-icon: var( + --spectrum-component-top-to-workflow-icon-200 + ); + --system-button-size-l-intended-icon-size: var( + --spectrum-workflow-icon-size-200 + ); + --system-button-size-xl-min-width: calc( + var(--spectrum-component-height-300) * + var(--spectrum-button-minimum-width-multiplier) + ); + --system-button-size-xl-border-radius: var( + --spectrum-component-pill-edge-to-text-300 + ); + --system-button-size-xl-height: var(--spectrum-component-height-300); + --system-button-size-xl-font-size: var(--spectrum-font-size-300); + --system-button-size-xl-edge-to-visual: calc( + var(--spectrum-component-pill-edge-to-visual-300) - + var(--system-button-border-width) + ); + --system-button-size-xl-edge-to-visual-only: var( + --spectrum-component-pill-edge-to-visual-only-300 + ); + --system-button-size-xl-edge-to-text: calc( + var(--spectrum-component-pill-edge-to-text-300) - + var(--system-button-border-width) + ); + --system-button-size-xl-padding-label-to-icon: var( + --spectrum-text-to-visual-300 + ); + --system-button-size-xl-top-to-text: var( + --spectrum-button-top-to-text-extra-large + ); + --system-button-size-xl-bottom-to-text: var( + --spectrum-button-bottom-to-text-extra-large + ); + --system-button-size-xl-top-to-icon: var( + --spectrum-component-top-to-workflow-icon-300 + ); + --system-button-size-xl-intended-icon-size: var( + --spectrum-workflow-icon-size-300 + ); +} + +:host, +:root { + --system-button-group-spacing-horizontal: var(--spectrum-spacing-300); + --system-button-group-size-m-spacing-horizontal: var( + --spectrum-spacing-300 + ); + --system-button-group-spacing-vertical: var(--spectrum-spacing-300); + --system-button-group-size-m-spacing-vertical: var(--spectrum-spacing-300); + --system-button-group-size-s-spacing-horizontal: var( + --spectrum-spacing-200 + ); + --system-button-group-size-s-spacing-vertical: var(--spectrum-spacing-200); + --system-button-group-size-l-spacing-horizontal: var( + --spectrum-spacing-300 + ); + --system-button-group-size-l-spacing-vertical: var(--spectrum-spacing-300); + --system-button-group-size-xl-spacing-horizontal: var( + --spectrum-spacing-300 + ); + --system-button-group-size-xl-spacing-vertical: var(--spectrum-spacing-300); +} + +:host, +:root { + --system-breadcrumbs-block-size: var(--spectrum-breadcrumbs-height); + --system-breadcrumbs-block-size-compact: var( + --spectrum-breadcrumbs-height-compact + ); + --system-breadcrumbs-block-size-multiline: var( + --spectrum-breadcrumbs-height-multiline + ); + --system-breadcrumbs-line-height: var(--spectrum-line-height-100); + --system-breadcrumbs-font-size: var(--spectrum-font-size-200); + --system-breadcrumbs-font-family: var(--spectrum-sans-font-family-stack); + --system-breadcrumbs-font-weight: var(--spectrum-regular-font-weight); + --system-breadcrumbs-font-size-current: var(--spectrum-font-size-200); + --system-breadcrumbs-font-family-current: var( + --spectrum-sans-font-family-stack + ); + --system-breadcrumbs-font-weight-current: var(--spectrum-bold-font-weight); + --system-breadcrumbs-font-size-compact: var(--spectrum-font-size-100); + --system-breadcrumbs-font-family-compact: var( + --spectrum-sans-font-family-stack + ); + --system-breadcrumbs-font-weight-compact: var( + --spectrum-regular-font-weight + ); + --system-breadcrumbs-font-size-compact-current: var( + --spectrum-font-size-100 + ); + --system-breadcrumbs-font-family-compact-current: var( + --spectrum-sans-font-family-stack + ); + --system-breadcrumbs-font-weight-compact-current: var( + --spectrum-bold-font-weight + ); + --system-breadcrumbs-font-size-multiline: var(--spectrum-font-size-75); + --system-breadcrumbs-font-family-multiline: var( + --spectrum-sans-font-family-stack + ); + --system-breadcrumbs-font-weight-multiline: var( + --spectrum-regular-font-weight + ); + --system-breadcrumbs-font-size-multiline-current: var( + --spectrum-font-size-300 + ); + --system-breadcrumbs-font-family-multiline-current: var( + --spectrum-sans-font-family-stack + ); + --system-breadcrumbs-font-weight-multiline-current: var( + --spectrum-bold-font-weight + ); + --system-breadcrumbs-text-decoration-thickness: var( + --spectrum-text-underline-thickness + ); + --system-breadcrumbs-text-decoration-gap: var( + --spectrum-text-underline-gap + ); + --system-breadcrumbs-separator-spacing-inline: var( + --spectrum-text-to-visual-100 + ); + --system-breadcrumbs-text-spacing-block-start: var( + --spectrum-breadcrumbs-top-to-text + ); + --system-breadcrumbs-text-spacing-block-end: var( + --spectrum-breadcrumbs-bottom-to-text + ); + --system-breadcrumbs-icon-spacing-block: var( + --spectrum-breadcrumbs-top-to-separator-icon + ); + --system-breadcrumbs-text-spacing-block-start-compact: var( + --spectrum-breadcrumbs-top-to-text-compact + ); + --system-breadcrumbs-text-spacing-block-end-compact: var( + --spectrum-breadcrumbs-bottom-to-text-compact + ); + --system-breadcrumbs-icon-spacing-block-compact: var( + --spectrum-breadcrumbs-top-to-separator-icon-compact + ); + --system-breadcrumbs-text-spacing-block-start-multiline: var( + --spectrum-breadcrumbs-top-to-text-multiline + ); + --system-breadcrumbs-text-spacing-block-end-multiline: var( + --spectrum-breadcrumbs-bottom-to-text-multiline + ); + --system-breadcrumbs-text-spacing-block-between-multiline: var( + --spectrum-breadcrumbs-top-text-to-bottom-text + ); + --system-breadcrumbs-icon-spacing-block-start-multiline: var( + --spectrum-breadcrumbs-top-to-separator-icon-multiline + ); + --system-breadcrumbs-icon-spacing-block-between-multiline: var( + --spectrum-breadcrumbs-separator-icon-to-bottom-text-multiline + ); + --system-breadcrumbs-inline-start: var( + --spectrum-breadcrumbs-start-edge-to-text + ); + --system-breadcrumbs-inline-end: var( + --spectrum-breadcrumbs-end-edge-to-text + ); + --system-breadcrumbs-action-button-spacing-inline: var( + --spectrum-breadcrumbs-truncated-menu-to-separator-icon + ); + --system-breadcrumbs-action-button-spacing-block: var( + --spectrum-breadcrumbs-top-to-truncated-menu + ); + --system-breadcrumbs-action-button-spacing-block-compact: var( + --spectrum-breadcrumbs-top-to-truncated-menu-compact + ); + --system-breadcrumbs-action-button-spacing-inline-start: var( + --spectrum-breadcrumbs-start-edge-to-truncated-menu + ); + --system-breadcrumbs-action-button-spacing-block-multiline: var( + --spectrum-breadcrumbs-top-to-truncated-menu-compact + ); + --system-breadcrumbs-action-button-spacing-block-between-multiline: var( + --spectrum-breadcrumbs-truncated-menu-to-bottom-text + ); + --system-breadcrumbs-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-breadcrumbs-focus-indicator-gap: var( + --spectrum-focus-indicator-gap + ); + --system-breadcrumbs-item-link-border-radius: var( + --spectrum-corner-radius-100 + ); + --system-breadcrumbs-text-color: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-breadcrumbs-text-color-current: var( + --spectrum-neutral-content-color-default + ); + --system-breadcrumbs-text-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-breadcrumbs-separator-color: var( + --spectrum-neutral-content-color-default + ); + --system-breadcrumbs-action-button-color: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-breadcrumbs-action-button-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-breadcrumbs-focus-indicator-color: var( + --spectrum-focus-indicator-color + ); +} + +:host, +:root { + --system-checkbox-control-color-default: var(--spectrum-gray-800); + --system-checkbox-control-color-hover: var(--spectrum-gray-900); + --system-checkbox-control-color-down: var(--spectrum-gray-900); + --system-checkbox-control-color-focus: var(--spectrum-gray-900); + --system-checkbox-content-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-checkbox-content-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-checkbox-content-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-checkbox-content-color-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-checkbox-focus-indicator-color: var( + --spectrum-focus-indicator-color + ); + --system-checkbox-content-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-checkbox-control-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-checkbox-checkmark-color: var(--spectrum-gray-75); + --system-checkbox-invalid-color-default: var(--spectrum-negative-color-900); + --system-checkbox-invalid-color-hover: var(--spectrum-negative-color-1000); + --system-checkbox-invalid-color-down: var(--spectrum-negative-color-1100); + --system-checkbox-invalid-color-focus: var(--spectrum-negative-color-1000); + --system-checkbox-emphasized-color-default: var( + --spectrum-accent-color-900 + ); + --system-checkbox-emphasized-color-hover: var(--spectrum-accent-color-1000); + --system-checkbox-emphasized-color-down: var(--spectrum-accent-color-1100); + --system-checkbox-emphasized-color-focus: var(--spectrum-accent-color-1000); + --system-checkbox-control-selected-color-default: var( + --spectrum-neutral-background-color-selected-default + ); + --system-checkbox-control-selected-color-hover: var( + --spectrum-neutral-background-color-selected-hover + ); + --system-checkbox-control-selected-color-down: var( + --spectrum-neutral-background-color-selected-down + ); + --system-checkbox-control-selected-color-focus: var( + --spectrum-neutral-background-color-selected-key-focus + ); + --system-checkbox-line-height: var(--spectrum-line-height-100); + --system-checkbox-line-height-cjk: var(--spectrum-cjk-line-height-100); + --system-checkbox-control-corner-radius: var(--spectrum-corner-radius-75); + --system-checkbox-focus-indicator-gap: var(--spectrum-focus-indicator-gap); + --system-checkbox-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-checkbox-border-width: var(--spectrum-border-width-200); + --system-checkbox-animation-duration: var( + --spectrum-animation-duration-100 + ); + --system-checkbox-font-size: var(--spectrum-font-size-100); + --system-checkbox-size-m-font-size: var(--spectrum-font-size-100); + --system-checkbox-height: var(--spectrum-component-height-100); + --system-checkbox-size-m-height: var(--spectrum-component-height-100); + --system-checkbox-control-size: var( + --spectrum-checkbox-control-size-medium + ); + --system-checkbox-size-m-control-size: var( + --spectrum-checkbox-control-size-medium + ); + --system-checkbox-top-to-text: var(--spectrum-component-top-to-text-100); + --system-checkbox-size-m-top-to-text: var( + --spectrum-component-top-to-text-100 + ); + --system-checkbox-text-to-control: var(--spectrum-text-to-control-100); + --system-checkbox-size-m-text-to-control: var( + --spectrum-text-to-control-100 + ); + --system-checkbox-size-s-font-size: var(--spectrum-font-size-75); + --system-checkbox-size-s-height: var(--spectrum-component-height-75); + --system-checkbox-size-s-control-size: var( + --spectrum-checkbox-control-size-small + ); + --system-checkbox-size-s-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-checkbox-size-s-text-to-control: var( + --spectrum-text-to-control-75 + ); + --system-checkbox-size-l-font-size: var(--spectrum-font-size-200); + --system-checkbox-size-l-height: var(--spectrum-component-height-200); + --system-checkbox-size-l-control-size: var( + --spectrum-checkbox-control-size-large + ); + --system-checkbox-size-l-top-to-text: var( + --spectrum-component-top-to-text-200 + ); + --system-checkbox-size-l-text-to-control: var( + --spectrum-text-to-control-200 + ); + --system-checkbox-size-xl-font-size: var(--spectrum-font-size-300); + --system-checkbox-size-xl-height: var(--spectrum-component-height-300); + --system-checkbox-size-xl-control-size: var( + --spectrum-checkbox-control-size-extra-large + ); + --system-checkbox-size-xl-top-to-text: var( + --spectrum-component-top-to-text-300 + ); + --system-checkbox-size-xl-text-to-control: var( + --spectrum-text-to-control-300 + ); +} + +:host, +:root { + --system-card-background-color: var(--spectrum-background-layer-2-color); + --system-card-body-spacing: var(--spectrum-spacing-400); + --system-card-title-padding-top: var(--spectrum-spacing-300); + --system-card-title-padding-right: var(--spectrum-spacing-400); + --system-card-content-margin-top: var(--spectrum-spacing-100); + --system-card-content-margin-bottom: var(--spectrum-spacing-300); + --system-card-footer-padding-top: var(--spectrum-spacing-100); + --system-card-subtitle-padding-right: var(--spectrum-spacing-100); + --system-card-border-width: var(--spectrum-border-width-100); + --system-card-corner-radius: var(--spectrum-corner-radius-100); + --system-card-border-color: var(--spectrum-gray-200); + --system-card-border-color-hover: var(--spectrum-gray-300); + --system-card-border-color-selected: var(--spectrum-blue-700); + --system-card-divider-color: var(--spectrum-gray-300); + --system-card-title-font-family: var(--spectrum-sans-font-family-stack); + --system-card-title-font-size: var(--spectrum-heading-size-xxs); + --system-card-title-font-weight: var( + --spectrum-heading-sans-serif-font-weight + ); + --system-card-title-font-style: var( + --spectrum-heading-sans-serif-font-style + ); + --system-card-title-line-height: var(--spectrum-heading-line-height); + --system-card-title-font-color: var(--spectrum-heading-color); + --system-card-body-font-family: var(--spectrum-sans-font-family-stack); + --system-card-body-font-size: var(--spectrum-body-size-s); + --system-card-body-font-weight: var(--spectrum-body-sans-serif-font-weight); + --system-card-body-font-style: var(--spectrum-body-sans-serif-font-style); + --system-card-body-line-height: var(--spectrum-body-line-height); + --system-card-body-font-color: var(--spectrum-body-color); + --system-card-actions-spacing: var(--spectrum-spacing-300); + --system-card-actions-size: var(--spectrum-card-selection-background-size); + --system-card-actions-border-radius: var(--spectrum-corner-radius-100); + --system-card-actions-background-color-rgb: var(--spectrum-gray-100-rgb); + --system-card-actions-background-color-opacity: var( + --spectrum-card-selection-background-color-opacity + ); + --system-card-actions-drop-shadow-color: var(--spectrum-drop-shadow-color); + --system-card-actions-drop-shadow-x: var(--spectrum-drop-shadow-x); + --system-card-actions-drop-shadow-y: var(--spectrum-drop-shadow-y); + --system-card-actions-drop-shadow-blur: var(--spectrum-drop-shadow-blur); + --system-card-focus-indicator-color: var(--spectrum-focus-indicator-color); + --system-card-focus-indicator-width: var( + --spectrum-focus-indicator-thickness + ); + --system-card-selected-background-opacity: 0.1; + --system-card-preview-border-width-selected: var( + --spectrum-border-width-100 + ); + --system-card-preview-background-color: var( + --spectrum-background-base-color + ); + --system-card-preview-background-color-hover: var(--spectrum-gray-300); + --system-card-horizontal-body-padding: var(--spectrum-spacing-300); + --system-card-horizontal-preview-padding: var(--spectrum-spacing-200); + --system-card-content-margin-top-quiet: var(--spectrum-spacing-100); + --system-card-minimum-width-quiet: var(--spectrum-card-minimum-width); + --system-card-background-color-quiet: var(--spectrum-background-base-color); +} + +:host, +:root { + --system-clear-button-background-color: var(--spectrum-gray-200); + --system-clear-button-background-color-hover: var(--spectrum-gray-300); + --system-clear-button-background-color-down: var(--spectrum-gray-400); + --system-clear-button-background-color-key-focus: var(--spectrum-gray-300); + --system-clear-button-padding: var(--spectrum-in-field-button-edge-to-fill); + --system-clear-button-icon-color: var( + --spectrum-neutral-content-color-default + ); + --system-clear-button-icon-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-clear-button-icon-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-clear-button-icon-color-key-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-clear-button-height: var(--spectrum-component-height-100); + --system-clear-button-size-m-height: var(--spectrum-component-height-100); + --system-clear-button-width: var(--spectrum-component-height-100); + --system-clear-button-size-m-width: var(--spectrum-component-height-100); + --system-clear-button-size-s-height: var(--spectrum-component-height-75); + --system-clear-button-size-s-width: var(--spectrum-component-height-75); + --system-clear-button-size-l-height: var(--spectrum-component-height-200); + --system-clear-button-size-l-width: var(--spectrum-component-height-200); + --system-clear-button-size-xl-height: var(--spectrum-component-height-300); + --system-clear-button-size-xl-width: var(--spectrum-component-height-300); + --system-clear-button-quiet-background-color: transparent; + --system-clear-button-quiet-background-color-hover: transparent; + --system-clear-button-quiet-background-color-down: transparent; + --system-clear-button-quiet-background-color-key-focus: transparent; + --system-clear-button-over-background-icon-color: var(--spectrum-white); + --system-clear-button-over-background-icon-color-hover: var( + --spectrum-white + ); + --system-clear-button-over-background-icon-color-down: var( + --spectrum-white + ); + --system-clear-button-over-background-icon-color-key-focus: var( + --spectrum-white + ); + --system-clear-button-over-background-background-color: transparent; + --system-clear-button-over-background-background-color-hover: var( + --spectrum-transparent-white-300 + ); + --system-clear-button-over-background-background-color-down: var( + --spectrum-transparent-white-400 + ); + --system-clear-button-over-background-background-color-key-focus: var( + --spectrum-transparent-white-300 + ); + --system-clear-button-disabled-icon-color: var( + --spectrum-disabled-content-color + ); + --system-clear-button-disabled-icon-color-hover: var( + --spectrum-disabled-content-color + ); + --system-clear-button-disabled-icon-color-down: var( + --spectrum-disabled-content-color + ); + --system-clear-button-disabled-background-color: transparent; +} + +:host, +:root { + --system-close-button-background-color-default: transparent; + --system-close-button-background-color-hover: var(--spectrum-gray-300); + --system-close-button-background-color-down: var(--spectrum-gray-400); + --system-close-button-background-color-focus: var(--spectrum-gray-300); + --system-close-button-icon-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-close-button-icon-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-close-button-icon-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-close-button-icon-color-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-close-button-icon-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-close-button-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-close-button-focus-indicator-gap: var( + --spectrum-focus-indicator-gap + ); + --system-close-button-focus-indicator-color: var( + --spectrum-focus-indicator-color + ); + --system-close-button-animation-duration: var( + --spectrum-animation-duration-100 + ); + --system-close-button-static-white-static-background-color-default: transparent; + --system-close-button-static-white-static-background-color-hover: var( + --spectrum-transparent-white-300 + ); + --system-close-button-static-white-static-background-color-down: var( + --spectrum-transparent-white-400 + ); + --system-close-button-static-white-static-background-color-focus: var( + --spectrum-transparent-white-300 + ); + --system-close-button-static-white-icon-color-default: var( + --spectrum-white + ); + --system-close-button-static-white-icon-color-disabled: var( + --spectrum-disabled-static-white-content-color + ); + --system-close-button-static-white-focus-indicator-color: var( + --spectrum-static-white-focus-indicator-color + ); + --system-close-button-static-black-static-background-color-default: transparent; + --system-close-button-static-black-static-background-color-hover: var( + --spectrum-transparent-black-300 + ); + --system-close-button-static-black-static-background-color-down: var( + --spectrum-transparent-black-400 + ); + --system-close-button-static-black-static-background-color-focus: var( + --spectrum-transparent-black-300 + ); + --system-close-button-static-black-icon-color-default: var( + --spectrum-black + ); + --system-close-button-static-black-icon-color-disabled: var( + --spectrum-disabled-static-black-content-color + ); + --system-close-button-static-black-focus-indicator-color: var( + --spectrum-static-black-focus-indicator-color + ); + --system-close-button-size: var(--spectrum-component-height-100); + --system-close-button-size-m-size: var(--spectrum-component-height-100); + --system-close-button-size-s-size: var(--spectrum-component-height-75); + --system-close-button-size-l-size: var(--spectrum-component-height-200); + --system-close-button-size-xl-size: var(--spectrum-component-height-300); +} + +:host, +:root { + --system-coach-indicator-ring-border-size: var(--spectrum-border-width-200); + --system-coach-indicator-min-inline-size: calc( + var(--spectrum-coach-indicator-ring-diameter) * 3 + ); + --system-coach-indicator-min-block-size: calc( + var(--spectrum-coach-indicator-ring-diameter) * 3 + ); + --system-coach-indicator-inline-size: var( + --system-coach-indicator-min-inline-size + ); + --system-coach-indicator-block-size: var( + --system-coach-indicator-min-block-size + ); + --system-coach-indicator-ring-inline-size: var( + --spectrum-coach-indicator-ring-diameter + ); + --system-coach-indicator-ring-block-size: var( + --spectrum-coach-indicator-ring-diameter + ); + --system-coach-indicator-ring-dark-color: var(--spectrum-gray-900); + --system-coach-indicator-ring-light-color: var(--spectrum-gray-50); + --system-coach-indicator-top: calc( + var(--system-coach-indicator-block-size) / 3 - + var(--system-coach-indicator-ring-border-size) + ); + --system-coach-indicator-left: calc( + var(--system-coach-indicator-inline-size) / 3 - + var(--system-coach-indicator-ring-border-size) + ); + --system-coach-indicator-coach-animation-indicator-ring-duration: var( + --spectrum-animation-duration-6000 + ); + --system-coach-indicator-coach-animation-indicator-ring-inner-delay-multiple: -0.5; + --system-coach-indicator-coach-animation-indicator-ring-center-delay-multiple: -0.66; + --system-coach-indicator-coach-animation-indicator-ring-outer-delay-multiple: -1; + --system-coach-indicator-quiet-animation-ring-inner-delay-multiple: -0.33; + --system-coach-indicator-animation-name: pulse; + --system-coach-indicator-inner-animation-delay-multiple: var( + --system-coach-indicator-coach-animation-indicator-ring-inner-delay-multiple + ); + --system-coach-indicator-animation-keyframe-0-scale: 1; + --system-coach-indicator-animation-keyframe-0-opacity: 0; + --system-coach-indicator-animation-keyframe-50-scale: 1.5; + --system-coach-indicator-animation-keyframe-50-opacity: 1; + --system-coach-indicator-animation-keyframe-100-scale: 2; + --system-coach-indicator-animation-keyframe-100-opacity: 0; + --system-coach-indicator-quiet-animation-keyframe-0-scale: 0.8; + --system-coach-indicator-quiet-quiet-ring-diameter-size: var( + --spectrum-coach-indicator-quiet-ring-diameter + ); + --system-coach-indicator-quiet-animation-name: pulse-quiet; +} + +:host, +:root { + --system-coach-mark-min-width: var(--spectrum-coach-mark-minimum-width); + --system-coach-mark-width: var(--spectrum-coach-mark-width); + --system-coach-mark-max-width: var(--spectrum-coach-mark-maximum-width); + --system-coach-mark-media-height: var(--spectrum-coach-mark-media-height); + --system-coach-mark-media-min-height: var( + --spectrum-coach-mark-media-minimum-height + ); + --system-coach-mark-padding: var(--spectrum-coach-mark-edge-to-content); + --system-coach-mark-heading-to-action-button: var(--spectrum-spacing-300); + --system-coach-mark-header-to-body: var(--spectrum-spacing-200); + --system-coach-mark-body-to-footer: var(--spectrum-spacing-300); + --system-coach-mark-title-color: var(--spectrum-heading-color); + --system-coach-mark-title-font-family: var(--spectrum-sans-serif-font); + --system-coach-mark-title-font-style: var( + --spectrum-heading-serif-font-style + ); + --system-coach-mark-title-text-font-weight: var( + --spectrum-heading-sans-serif-font-weight + ); + --system-coach-mark-title-font-size: var(--spectrum-coach-mark-title-size); + --system-coach-mark-title-text-line-height: var( + --spectrum-heading-line-height + ); + --system-coach-mark-content-font-color: var(--spectrum-body-color); + --system-coach-mark-content-font-weight: var( + --spectrum-body-sans-serif-font-weight + ); + --system-coach-mark-content-font-family: var(--spectrum-sans-serif-font); + --system-coach-mark-content-font-style: var( + --spectrum-body-sans-serif-font-style + ); + --system-coach-mark-content-line-height: var(--spectrum-body-line-height); + --system-coach-mark-content-font-size: var(--spectrum-coach-mark-body-size); + --system-coach-mark-step-color: var(--spectrum-coach-mark-pagination-color); + --system-coach-mark-step-font-weight: var( + --spectrum-body-sans-serif-font-weight + ); + --system-coach-mark-step-font-family: var(--spectrum-sans-serif-font); + --system-coach-mark-step-font-style: var( + --spectrum-body-sans-serif-font-style + ); + --system-coach-mark-step-line-height: var(--spectrum-body-line-height); + --system-coach-mark-step-font-size: var( + --spectrum-coach-mark-pagination-body-size + ); + --system-coach-mark-step-to-bottom: var( + --spectrum-coach-mark-pagination-text-to-bottom-edge + ); + --system-coach-mark-popover-border-width: var(--spectrum-border-width-100); + --system-coach-mark-popover-corner-radius: var( + --spectrum-corner-radius-100 + ); + --system-coach-mark-buttongroup-spacing-horizontal: var( + --spectrum-spacing-100 + ); +} + +:host, +:root { + --system-color-area-border-radius: var( + --spectrum-color-area-border-rounding + ); + --system-color-area-border-color-rgb: 0, 0, 0; + --system-color-area-border-color-opacity: 0.1; + --system-color-area-border-color: rgba( + var(--system-color-area-border-color-rgb), + var(--system-color-area-border-color-opacity) + ); + --system-color-area-disabled-background-color: var( + --spectrum-disabled-background-color + ); + --system-color-area-border-width: var(--spectrum-color-area-border-width); + --system-color-area-height: var(--spectrum-color-area-height); + --system-color-area-width: var(--spectrum-color-area-width); + --system-color-area-min-width: var(--spectrum-color-area-minimum-width); + --system-color-area-min-height: var(--spectrum-color-area-minimum-height); +} + +:host, +:root { + --system-color-handle-size: var(--spectrum-color-handle-size); + --system-color-handle-focused-size: var( + --spectrum-color-handle-size-key-focus + ); + --system-color-handle-hitarea-size: var( + --spectrum-color-control-track-width + ); + --system-color-handle-animation-duration: var( + --spectrum-animation-duration-100 + ); + --system-color-handle-animation-easing: ease-in-out; + --system-color-handle-outer-border-color: rgba( + var(--spectrum-black-rgb), + var(--spectrum-color-handle-outer-border-opacity) + ); + --system-color-handle-outer-border-width: var( + --spectrum-color-handle-outer-border-width + ); + --system-color-handle-inner-border-color: rgba( + var(--spectrum-black-rgb), + var(--spectrum-color-handle-inner-border-opacity) + ); + --system-color-handle-inner-border-width: var( + --spectrum-color-handle-inner-border-width + ); + --system-color-handle-border-width: var( + --spectrum-color-handle-border-width + ); + --system-color-handle-border-color: var(--spectrum-white); + --system-color-handle-border-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-color-handle-fill-color-disabled: var( + --spectrum-disabled-background-color + ); +} + +:host, +:root { + --system-color-loupe-width: var(--spectrum-color-loupe-width); + --system-color-loupe-height: var(--spectrum-color-loupe-height); + --system-color-loupe-offset: var( + --spectrum-color-loupe-bottom-to-color-handle + ); + --system-color-loupe-animation-distance: 8px; + --system-color-loupe-drop-shadow-x: var(--spectrum-drop-shadow-x); + --system-color-loupe-drop-shadow-y: var( + --spectrum-color-loupe-drop-shadow-y + ); + --system-color-loupe-drop-shadow-blur: var( + --spectrum-color-loupe-drop-shadow-blur + ); + --system-color-loupe-drop-shadow-color: var( + --spectrum-color-loupe-drop-shadow-color + ); + --system-color-loupe-outer-border-width: var( + --spectrum-color-loupe-outer-border-width + ); + --system-color-loupe-inner-border-width: var( + --spectrum-color-loupe-inner-border-width + ); + --system-color-loupe-outer-border-color: var( + --spectrum-color-loupe-outer-border + ); + --system-color-loupe-inner-border-color: var( + --spectrum-color-loupe-inner-border + ); + --system-color-loupe-checkerboard-dark-color: var( + --spectrum-opacity-checkerboard-square-dark + ); + --system-color-loupe-checkerboard-light-color: var( + --spectrum-opacity-checkerboard-square-light + ); +} + +:host, +:root { + --system-color-slider-handle-margin-block: var( + --spectrum-component-top-to-text-75 + ); + --system-color-slider-border-color-rgba: rgba( + var(--spectrum-gray-900-rgb), + var(--spectrum-color-slider-border-opacity) + ); + --system-color-slider-checkerboard-size: var( + --spectrum-opacity-checkerboard-square-size + ); + --system-color-slider-checkerboard-dark-color: var( + --spectrum-opacity-checkerboard-square-dark + ); + --system-color-slider-checkerboard-light-color: var( + --spectrum-opacity-checkerboard-square-light + ); +} + +:host, +:root { + --system-color-wheel-width: var(--spectrum-color-wheel-width); + --system-color-wheel-min-width: var(--spectrum-color-wheel-minimum-width); + --system-color-wheel-height: var(--spectrum-color-wheel-width); + --system-color-wheel-border-color: var(--spectrum-transparent-black-200); + --system-color-wheel-border-width: var(--spectrum-border-width-100); + --system-color-wheel-fill-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-color-wheel-track-width: var(--spectrum-color-control-track-width); + --system-color-wheel-colorarea-margin: var( + --spectrum-color-wheel-color-area-margin + ); + --system-color-wheel-colorhandle-position: calc( + var(--system-color-wheel-width) / 2 - + var(--system-color-wheel-track-width) / 2 + ); +} + +:host, +:root { + --system-combobox-border-color-default: var(--spectrum-gray-400); + --system-combobox-border-color-hover: var(--spectrum-gray-500); + --system-combobox-border-color-focus: var(--spectrum-gray-900); + --system-combobox-border-color-focus-hover: var(--spectrum-gray-800); + --system-combobox-border-color-key-focus: var(--spectrum-gray-900); + --system-combobox-inline-size: var(--spectrum-field-width); + --system-combobox-minimum-width-multiplier: var( + --spectrum-combo-box-minimum-width-multiplier + ); + --system-combobox-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-combobox-focus-indicator-gap: var(--spectrum-focus-indicator-gap); + --system-combobox-focus-indicator-color: var( + --spectrum-focus-indicator-color + ); + --system-combobox-border-radius: var(--spectrum-corner-radius-100); + --system-combobox-border-width: var(--spectrum-border-width-100); + --system-combobox-spacing-label-to: var( + --spectrum-field-label-to-component + ); + --system-combobox-font-style: var(--spectrum-default-font-style); + --system-combobox-line-height: var(--spectrum-line-height-100); + --system-combobox-border-color-invalid-default: var( + --spectrum-negative-border-color-default + ); + --system-combobox-border-color-invalid-hover: var( + --spectrum-negative-border-color-hover + ); + --system-combobox-border-color-invalid-focus: var( + --spectrum-negative-border-color-focus + ); + --system-combobox-border-color-invalid-focus-hover: var( + --spectrum-negative-border-color-focus-hover + ); + --system-combobox-border-color-invalid-key-focus: var( + --spectrum-negative-border-color-key-focus + ); + --system-combobox-block-size: var(--spectrum-component-height-100); + --system-combobox-size-m-block-size: var(--spectrum-component-height-100); + --system-combobox-icon-size: var(--spectrum-workflow-icon-size-100); + --system-combobox-size-m-icon-size: var(--spectrum-workflow-icon-size-100); + --system-combobox-font-size: var(--spectrum-font-size-100); + --system-combobox-size-m-font-size: var(--spectrum-font-size-100); + --system-combobox-spacing-inline-icon-to-button: var( + --spectrum-combo-box-visual-to-field-button-medium + ); + --system-combobox-size-m-spacing-inline-icon-to-button: var( + --spectrum-combo-box-visual-to-field-button-medium + ); + --system-combobox-block-spacing-edge-to-progress-circle: var( + --spectrum-field-top-to-progress-circle-medium + ); + --system-combobox-size-m-block-spacing-edge-to-progress-circle: var( + --spectrum-field-top-to-progress-circle-medium + ); + --system-combobox-block-spacing-edge-to-alert: var( + --spectrum-field-top-to-alert-icon-medium + ); + --system-combobox-size-m-block-spacing-edge-to-alert: var( + --spectrum-field-top-to-alert-icon-medium + ); + --system-combobox-spacing-edge-to-menu: var( + --spectrum-component-to-menu-medium + ); + --system-combobox-size-m-spacing-edge-to-menu: var( + --spectrum-component-to-menu-medium + ); + --system-combobox-spacing-block-start-edge-to-text: var( + --spectrum-component-top-to-text-100 + ); + --system-combobox-size-m-spacing-block-start-edge-to-text: var( + --spectrum-component-top-to-text-100 + ); + --system-combobox-spacing-block-end-edge-to-text: var( + --spectrum-component-bottom-to-text-100 + ); + --system-combobox-size-m-spacing-block-end-edge-to-text: var( + --spectrum-component-bottom-to-text-100 + ); + --system-combobox-spacing-inline-start-edge-to-text: var( + --spectrum-component-edge-to-text-100 + ); + --system-combobox-size-m-spacing-inline-start-edge-to-text: var( + --spectrum-component-edge-to-text-100 + ); + --system-combobox-spacing-inline-end-edge-to-text: var( + --spectrum-component-edge-to-text-100 + ); + --system-combobox-size-m-spacing-inline-end-edge-to-text: var( + --spectrum-component-edge-to-text-100 + ); + --system-combobox-size-s-block-size: var(--spectrum-component-height-75); + --system-combobox-size-s-icon-size: var(--spectrum-workflow-icon-size-75); + --system-combobox-size-s-font-size: var(--spectrum-font-size-75); + --system-combobox-size-s-spacing-inline-icon-to-button: var( + --spectrum-combo-box-visual-to-field-button-small + ); + --system-combobox-size-s-block-spacing-edge-to-progress-circle: var( + --spectrum-field-top-to-progress-circle-small + ); + --system-combobox-size-s-block-spacing-edge-to-alert: var( + --spectrum-field-top-to-alert-icon-small + ); + --system-combobox-size-s-spacing-edge-to-menu: var( + --spectrum-component-to-menu-small + ); + --system-combobox-size-s-spacing-block-start-edge-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-combobox-size-s-spacing-block-end-edge-to-text: var( + --spectrum-component-bottom-to-text-75 + ); + --system-combobox-size-s-spacing-inline-start-edge-to-text: var( + --spectrum-component-edge-to-text-75 + ); + --system-combobox-size-s-spacing-inline-end-edge-to-text: var( + --spectrum-component-edge-to-text-75 + ); + --system-combobox-size-l-block-size: var(--spectrum-component-height-200); + --system-combobox-size-l-icon-size: var(--spectrum-workflow-icon-size-200); + --system-combobox-size-l-font-size: var(--spectrum-font-size-200); + --system-combobox-size-l-spacing-inline-icon-to-button: var( + --spectrum-combo-box-visual-to-field-button-large + ); + --system-combobox-size-l-block-spacing-edge-to-progress-circle: var( + --spectrum-field-top-to-progress-circle-large + ); + --system-combobox-size-l-block-spacing-edge-to-alert: var( + --spectrum-field-top-to-alert-icon-large + ); + --system-combobox-size-l-spacing-edge-to-menu: var( + --spectrum-component-to-menu-large + ); + --system-combobox-size-l-spacing-block-start-edge-to-text: var( + --spectrum-component-top-to-text-200 + ); + --system-combobox-size-l-spacing-block-end-edge-to-text: var( + --spectrum-component-bottom-to-text-200 + ); + --system-combobox-size-l-spacing-inline-start-edge-to-text: var( + --spectrum-component-edge-to-text-200 + ); + --system-combobox-size-l-spacing-inline-end-edge-to-text: var( + --spectrum-component-edge-to-text-200 + ); + --system-combobox-size-xl-block-size: var(--spectrum-component-height-300); + --system-combobox-size-xl-icon-size: var(--spectrum-workflow-icon-size-300); + --system-combobox-size-xl-font-size: var(--spectrum-font-size-300); + --system-combobox-size-xl-spacing-inline-icon-to-button: var( + --spectrum-combo-box-visual-to-field-button-extra-large + ); + --system-combobox-size-xl-block-spacing-edge-to-progress-circle: var( + --spectrum-field-top-to-progress-circle-extra-large + ); + --system-combobox-size-xl-block-spacing-edge-to-alert: var( + --spectrum-field-top-to-alert-icon-extra-large + ); + --system-combobox-size-xl-spacing-edge-to-menu: var( + --spectrum-component-to-menu-extra-large + ); + --system-combobox-size-xl-spacing-block-start-edge-to-text: var( + --spectrum-component-top-to-text-300 + ); + --system-combobox-size-xl-spacing-block-end-edge-to-text: var( + --spectrum-component-bottom-to-text-300 + ); + --system-combobox-size-xl-spacing-inline-start-edge-to-text: var( + --spectrum-component-edge-to-text-300 + ); + --system-combobox-size-xl-spacing-inline-end-edge-to-text: var( + --spectrum-component-edge-to-text-300 + ); + --system-combobox-quiet-minimum-width-multiplier: var( + --spectrum-combo-box-quiet-minimum-width-multiplier + ); + --system-combobox-quiet-spacing-inline-icon-to-button: var( + --spectrum-combo-box-visual-to-field-button-quiet + ); + --system-combobox-quiet-spacing-inline-start-edge-to-text: var( + --spectrum-field-edge-to-text-quiet + ); + --system-combobox-quiet-spacing-label-to: var( + --spectrum-field-label-to-component-quiet-medium + ); + --system-combobox-quiet-size-m-spacing-label-to: var( + --spectrum-field-label-to-component-quiet-medium + ); + --system-combobox-quiet-size-s-spacing-label-to: var( + --spectrum-field-label-to-component-quiet-small + ); + --system-combobox-quiet-size-l-spacing-label-to: var( + --spectrum-field-label-to-component-quiet-large + ); + --system-combobox-quiet-size-xl-spacing-label-to: var( + --spectrum-field-label-to-component-quiet-extra-large + ); +} + +:host, +:root { + --system-contextual-help-padding: var(--spectrum-spacing-400); + --system-contextual-help-content-spacing: var(--spectrum-spacing-100); + --system-contextual-help-link-spacing: var(--spectrum-spacing-300); + --system-contextual-help-heading-size: var( + --spectrum-contextual-help-title-size + ); + --system-contextual-help-heading-color: var(--spectrum-heading-color); + --system-contextual-help-body-color: var(--spectrum-body-color); +} + +:host, +:root { + --system-dialog-fullscreen-header-text-size: 28px; + --system-dialog-min-inline-size: 288px; + --system-dialog-confirm-small-width: 400px; + --system-dialog-confirm-medium-width: 480px; + --system-dialog-confirm-large-width: 640px; + --system-dialog-confirm-divider-block-spacing-start: var( + --spectrum-spacing-300 + ); + --system-dialog-confirm-divider-block-spacing-end: var( + --spectrum-spacing-200 + ); + --system-dialog-confirm-description-text-color: var(--spectrum-gray-800); + --system-dialog-confirm-title-text-color: var(--spectrum-gray-900); + --system-dialog-confirm-description-text-line-height: var( + --spectrum-line-height-100 + ); + --system-dialog-confirm-title-text-line-height: var( + --spectrum-line-height-100 + ); + --system-dialog-heading-font-weight: var( + --spectrum-heading-sans-serif-font-weight + ); + --system-dialog-confirm-description-padding: var(--spectrum-spacing-50); + --system-dialog-confirm-description-margin: calc( + var(--spectrum-spacing-50) * -1 + ); + --system-dialog-confirm-footer-padding-top: var(--spectrum-spacing-600); + --system-dialog-confirm-gap-size: var( + --spectrum-component-pill-edge-to-text-100 + ); + --system-dialog-confirm-buttongroup-padding-top: var( + --spectrum-spacing-600 + ); + --system-dialog-confirm-close-button-size: var( + --spectrum-component-height-100 + ); + --system-dialog-confirm-close-button-padding: calc( + 26px - var(--spectrum-component-bottom-to-text-300) + ); + --system-dialog-confirm-divider-height: var(--spectrum-spacing-50); +} + +:host, +:root { + --system-divider-background-color-small: var(--spectrum-gray-300); + --system-divider-background-color-medium: var(--spectrum-gray-300); + --system-divider-background-color-large: var(--spectrum-gray-800); + --system-divider-background-color-small-static-white: var( + --spectrum-transparent-white-300 + ); + --system-divider-background-color-medium-static-white: var( + --spectrum-transparent-white-300 + ); + --system-divider-background-color-large-static-white: var( + --spectrum-transparent-white-800 + ); + --system-divider-background-color-small-static-black: var( + --spectrum-transparent-black-300 + ); + --system-divider-background-color-medium-static-black: var( + --spectrum-transparent-black-300 + ); + --system-divider-background-color-large-static-black: var( + --spectrum-transparent-black-800 + ); +} + +:host, +:root { + --system-drop-zone-padding: var(--spectrum-spacing-400); + --system-drop-zone-illustration-to-heading: var(--spectrum-spacing-400); + --system-drop-zone-heading-to-body: var(--spectrum-spacing-75); + --system-drop-zone-border-width: var(--spectrum-border-width-200); + --system-drop-zone-corner-radius: var(--spectrum-corner-radius-100); + --system-drop-zone-border-color: var(--spectrum-gray-300); + --system-drop-zone-heading-font-family: var( + --spectrum-sans-font-family-stack + ); + --system-drop-zone-heading-font-weight: var( + --spectrum-heading-sans-serif-font-weight + ); + --system-drop-zone-heading-font-style: var( + --spectrum-heading-sans-serif-font-style + ); + --system-drop-zone-heading-font-size: var(--spectrum-drop-zone-title-size); + --system-drop-zone-heading-line-height: var(--spectrum-heading-line-height); + --system-drop-zone-heading-color: var(--spectrum-heading-color); + --system-drop-zone-body-font-family: var(--spectrum-sans-font-family-stack); + --system-drop-zone-body-font-weight: var( + --spectrum-body-sans-serif-font-weight + ); + --system-drop-zone-body-font-style: var( + --spectrum-body-sans-serif-font-style + ); + --system-drop-zone-body-font-size: var(--spectrum-drop-zone-body-size); + --system-drop-zone-body-line-height: var(--spectrum-body-line-height); + --system-drop-zone-body-color: var(--spectrum-body-color); + --system-drop-zone-background-color: var( + --spectrum-drop-zone-background-color-rgb + ); + --system-drop-zone-border-color-hover: var(--spectrum-accent-visual-color); + --system-drop-zone-illustration-color: var(--spectrum-neutral-visual-color); + --system-drop-zone-illustration-color-hover: var( + --spectrum-accent-visual-color + ); + --system-drop-zone-content-height: var(--spectrum-component-height-300); + --system-drop-zone-content-max-width: var( + --spectrum-drop-zone-content-maximum-width + ); + --system-drop-zone-content-edge-to-text: var( + --spectrum-component-edge-to-text-300 + ); + --system-drop-zone-content-top-to-text: var( + --spectrum-component-top-to-text-300 + ); + --system-drop-zone-content-bottom-to-text: var( + --spectrum-component-bottom-to-text-300 + ); + --system-drop-zone-content-font-family: var( + --spectrum-sans-font-family-stack + ); + --system-drop-zone-content-font-weight: var(--spectrum-bold-font-weight); + --system-drop-zone-content-font-style: var(--spectrum-default-font-style); + --system-drop-zone-content-font-size: var(--spectrum-font-size-300); + --system-drop-zone-content-line-height: var(--spectrum-line-height-100); + --system-drop-zone-content-background-color: var( + --spectrum-accent-visual-color + ); + --system-drop-zone-content-color: var(--spectrum-white); + --system-drop-zone-heading-font-size-cjk: var( + --spectrum-drop-zone-cjk-title-size + ); +} + +:host, +:root { + --system-field-group-margin: var(--spectrum-spacing-300); + --system-field-group-readonly-delimiter: '\002c'; +} + +:host, +:root { + --system-field-label-color: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-field-label-font-weight: var(--spectrum-regular-font-weight); + --system-field-label-line-height: var(--spectrum-line-height-100); + --system-field-label-line-height-cjk: var(--spectrum-cjk-line-height-100); + --system-field-label-disabled-content-color: var( + --spectrum-disabled-content-color + ); + --system-field-label-min-height: var(--spectrum-component-height-75); + --system-field-label-size-m-min-height: var(--spectrum-component-height-75); + --system-field-label-top-to-text: var(--spectrum-component-top-to-text-75); + --system-field-label-size-m-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-field-label-bottom-to-text: var( + --spectrum-component-bottom-to-text-75 + ); + --system-field-label-size-m-bottom-to-text: var( + --spectrum-component-bottom-to-text-75 + ); + --system-field-label-font-size: var(--spectrum-font-size-75); + --system-field-label-size-m-font-size: var(--spectrum-font-size-75); + --system-field-label-side-margin-block-start: var( + --spectrum-field-label-top-margin-medium + ); + --system-field-label-size-m-side-margin-block-start: var( + --spectrum-field-label-top-margin-medium + ); + --system-field-label-side-padding-right: var(--spectrum-spacing-200); + --system-field-label-size-m-side-padding-right: var(--spectrum-spacing-200); + --system-field-label-text-to-asterisk: var( + --spectrum-field-label-text-to-asterisk-medium + ); + --system-field-label-size-m-text-to-asterisk: var( + --spectrum-field-label-text-to-asterisk-medium + ); + --system-field-label-size-s-min-height: var(--spectrum-component-height-75); + --system-field-label-size-s-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-field-label-size-s-bottom-to-text: var( + --spectrum-component-bottom-to-text-75 + ); + --system-field-label-size-s-font-size: var(--spectrum-font-size-75); + --system-field-label-size-s-side-margin-block-start: var( + --spectrum-field-label-top-margin-small + ); + --system-field-label-size-s-side-padding-right: var(--spectrum-spacing-100); + --system-field-label-size-s-text-to-asterisk: var( + --spectrum-field-label-text-to-asterisk-small + ); + --system-field-label-size-l-min-height: var( + --spectrum-component-height-100 + ); + --system-field-label-size-l-top-to-text: var( + --spectrum-component-top-to-text-100 + ); + --system-field-label-size-l-bottom-to-text: var( + --spectrum-component-bottom-to-text-100 + ); + --system-field-label-size-l-font-size: var(--spectrum-font-size-100); + --system-field-label-size-l-side-margin-block-start: var( + --spectrum-field-label-top-margin-large + ); + --system-field-label-size-l-side-padding-right: var(--spectrum-spacing-200); + --system-field-label-size-l-text-to-asterisk: var( + --spectrum-field-label-text-to-asterisk-large + ); + --system-field-label-size-xl-min-height: var( + --spectrum-component-height-200 + ); + --system-field-label-size-xl-top-to-text: var( + --spectrum-component-top-to-text-200 + ); + --system-field-label-size-xl-bottom-to-text: var( + --spectrum-component-bottom-to-text-200 + ); + --system-field-label-size-xl-font-size: var(--spectrum-font-size-200); + --system-field-label-size-xl-side-margin-block-start: var( + --spectrum-field-label-top-margin-extra-large + ); + --system-field-label-size-xl-side-padding-right: var( + --spectrum-spacing-200 + ); + --system-field-label-size-xl-text-to-asterisk: var( + --spectrum-field-label-text-to-asterisk-extra-large + ); +} + +:host, +:root { + --system-help-text-line-height: var(--spectrum-line-height-100); + --system-help-text-content-color-default: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-help-text-icon-color-default: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-help-text-disabled-content-color: var( + --spectrum-disabled-content-color + ); + --system-help-text-neutral-content-color-default: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-help-text-neutral-icon-color-default: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-help-text-negative-content-color-default: var( + --spectrum-negative-color-900 + ); + --system-help-text-negative-icon-color-default: var( + --spectrum-negative-color-900 + ); + --system-help-text-disabled-content-color-default: var( + --system-help-text-disabled-content-color + ); + --system-help-text-disabled-icon-color-default: var( + --system-help-text-disabled-content-color + ); + --system-help-text-lang-ja-line-height-cjk: var( + --spectrum-cjk-line-height-100 + ); + --system-help-text-lang-zh-line-height-cjk: var( + --spectrum-cjk-line-height-100 + ); + --system-help-text-lang-ko-line-height-cjk: var( + --spectrum-cjk-line-height-100 + ); + --system-help-text-min-height: var(--spectrum-component-height-75); + --system-help-text-size-m-min-height: var(--spectrum-component-height-75); + --system-help-text-icon-size: var(--spectrum-workflow-icon-size-100); + --system-help-text-size-m-icon-size: var(--spectrum-workflow-icon-size-100); + --system-help-text-font-size: var(--spectrum-font-size-75); + --system-help-text-size-m-font-size: var(--spectrum-font-size-75); + --system-help-text-text-to-visual: var(--spectrum-text-to-visual-75); + --system-help-text-size-m-text-to-visual: var(--spectrum-text-to-visual-75); + --system-help-text-top-to-workflow-icon: var( + --spectrum-help-text-top-to-workflow-icon-medium + ); + --system-help-text-size-m-top-to-workflow-icon: var( + --spectrum-help-text-top-to-workflow-icon-medium + ); + --system-help-text-top-to-text: var(--spectrum-component-top-to-text-75); + --system-help-text-size-m-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-help-text-bottom-to-text: var( + --spectrum-component-bottom-to-text-75 + ); + --system-help-text-size-m-bottom-to-text: var( + --spectrum-component-bottom-to-text-75 + ); + --system-help-text-size-s-min-height: var(--spectrum-component-height-75); + --system-help-text-size-s-icon-size: var(--spectrum-workflow-icon-size-75); + --system-help-text-size-s-font-size: var(--spectrum-font-size-75); + --system-help-text-size-s-text-to-visual: var(--spectrum-text-to-visual-75); + --system-help-text-size-s-top-to-workflow-icon: var( + --spectrum-help-text-top-to-workflow-icon-small + ); + --system-help-text-size-s-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-help-text-size-s-bottom-to-text: var( + --spectrum-component-bottom-to-text-75 + ); + --system-help-text-size-l-min-height: var(--spectrum-component-height-100); + --system-help-text-size-l-icon-size: var(--spectrum-workflow-icon-size-200); + --system-help-text-size-l-font-size: var(--spectrum-font-size-100); + --system-help-text-size-l-text-to-visual: var( + --spectrum-text-to-visual-100 + ); + --system-help-text-size-l-top-to-workflow-icon: var( + --spectrum-help-text-top-to-workflow-icon-large + ); + --system-help-text-size-l-top-to-text: var( + --spectrum-component-top-to-text-100 + ); + --system-help-text-size-l-bottom-to-text: var( + --spectrum-component-bottom-to-text-100 + ); + --system-help-text-size-xl-min-height: var(--spectrum-component-height-200); + --system-help-text-size-xl-icon-size: var( + --spectrum-workflow-icon-size-300 + ); + --system-help-text-size-xl-font-size: var(--spectrum-font-size-200); + --system-help-text-size-xl-text-to-visual: var( + --spectrum-text-to-visual-200 + ); + --system-help-text-size-xl-top-to-workflow-icon: var( + --spectrum-help-text-top-to-workflow-icon-extra-large + ); + --system-help-text-size-xl-top-to-text: var( + --spectrum-component-top-to-text-200 + ); + --system-help-text-size-xl-bottom-to-text: var( + --spectrum-component-bottom-to-text-200 + ); +} + +:host, +:root { + --system-illustrated-message-description-max-inline-size: var( + --spectrum-illustrated-message-maximum-width + ); + --system-illustrated-message-heading-max-inline-size: var( + --spectrum-illustrated-message-maximum-width + ); + --system-illustrated-message-title-to-heading: var(--spectrum-spacing-400); + --system-illustrated-message-heading-to-description: var( + --spectrum-spacing-75 + ); + --system-illustrated-message-illustration-color: var( + --spectrum-neutral-visual-color + ); + --system-illustrated-message-illustration-accent-color: var( + --spectrum-accent-visual-color + ); + --system-illustrated-message-title-font-family: var( + --spectrum-sans-font-family-stack + ); + --system-illustrated-message-title-font-weight: var( + --spectrum-heading-sans-serif-font-weight + ); + --system-illustrated-message-title-font-style: var( + --spectrum-heading-sans-serif-font-style + ); + --system-illustrated-message-title-font-size: var( + --spectrum-illustrated-message-title-size + ); + --system-illustrated-message-title-line-height: var( + --spectrum-heading-line-height + ); + --system-illustrated-message-title-color: var(--spectrum-heading-color); + --system-illustrated-message-description-font-family: var( + --spectrum-sans-font-family-stack + ); + --system-illustrated-message-description-font-weight: var( + --spectrum-body-sans-serif-font-weight + ); + --system-illustrated-message-description-font-style: var( + --spectrum-body-sans-serif-font-style + ); + --system-illustrated-message-description-font-size: var( + --spectrum-illustrated-message-body-size + ); + --system-illustrated-message-description-line-height: var( + --spectrum-body-line-height + ); + --system-illustrated-message-description-color: var(--spectrum-body-color); + --system-illustrated-message-lang-ja-title-font-size: var( + --spectrum-illustrated-message-cjk-title-size + ); + --system-illustrated-message-lang-zh-title-font-size: var( + --spectrum-illustrated-message-cjk-title-size + ); + --system-illustrated-message-lang-ko-title-font-size: var( + --spectrum-illustrated-message-cjk-title-size + ); +} + +:host, +:root { + --system-icon-size-xxs: var(--spectrum-workflow-icon-size-xxs); + --system-icon-size-xs: var(--spectrum-workflow-icon-size-50); + --system-icon-size-s: var(--spectrum-workflow-icon-size-75); + --system-icon-size-m: var(--spectrum-workflow-icon-size-100); + --system-icon-size-l: var(--spectrum-workflow-icon-size-200); + --system-icon-size-xl: var(--spectrum-workflow-icon-size-300); + --system-icon-size-xxl: var(--spectrum-workflow-icon-size-xxl); + --system-ui-icon-chevron-right-50-icon-size: var( + --spectrum-chevron-icon-size-50 + ); + --system-ui-icon-chevron-down-50-icon-size: var( + --spectrum-chevron-icon-size-50 + ); + --system-ui-icon-chevron-right-75-icon-size: var( + --spectrum-chevron-icon-size-75 + ); + --system-ui-icon-chevron-down-75-icon-size: var( + --spectrum-chevron-icon-size-75 + ); + --system-ui-icon-chevron-right-100-icon-size: var( + --spectrum-chevron-icon-size-100 + ); + --system-ui-icon-chevron-down-100-icon-size: var( + --spectrum-chevron-icon-size-100 + ); + --system-ui-icon-chevron-right-200-icon-size: var( + --spectrum-chevron-icon-size-200 + ); + --system-ui-icon-chevron-down-200-icon-size: var( + --spectrum-chevron-icon-size-200 + ); + --system-ui-icon-chevron-right-300-icon-size: var( + --spectrum-chevron-icon-size-300 + ); + --system-ui-icon-chevron-down-300-icon-size: var( + --spectrum-chevron-icon-size-300 + ); + --system-ui-icon-chevron-right-400-icon-size: var( + --spectrum-chevron-icon-size-400 + ); + --system-ui-icon-chevron-down-400-icon-size: var( + --spectrum-chevron-icon-size-400 + ); + --system-ui-icon-chevron-right-500-icon-size: var( + --spectrum-chevron-icon-size-500 + ); + --system-ui-icon-chevron-down-500-icon-size: var( + --spectrum-chevron-icon-size-500 + ); + --system-ui-icon-chevron-left-50-icon-size: var( + --spectrum-chevron-icon-size-50 + ); + --system-ui-icon-chevron-left-75-icon-size: var( + --spectrum-chevron-icon-size-75 + ); + --system-ui-icon-chevron-left-100-icon-size: var( + --spectrum-chevron-icon-size-100 + ); + --system-ui-icon-chevron-left-200-icon-size: var( + --spectrum-chevron-icon-size-200 + ); + --system-ui-icon-chevron-left-300-icon-size: var( + --spectrum-chevron-icon-size-300 + ); + --system-ui-icon-chevron-left-400-icon-size: var( + --spectrum-chevron-icon-size-400 + ); + --system-ui-icon-chevron-left-500-icon-size: var( + --spectrum-chevron-icon-size-500 + ); + --system-ui-icon-chevron-up-50-icon-size: var( + --spectrum-chevron-icon-size-50 + ); + --system-ui-icon-chevron-up-75-icon-size: var( + --spectrum-chevron-icon-size-75 + ); + --system-ui-icon-chevron-up-100-icon-size: var( + --spectrum-chevron-icon-size-100 + ); + --system-ui-icon-chevron-up-200-icon-size: var( + --spectrum-chevron-icon-size-200 + ); + --system-ui-icon-chevron-up-300-icon-size: var( + --spectrum-chevron-icon-size-300 + ); + --system-ui-icon-chevron-up-400-icon-size: var( + --spectrum-chevron-icon-size-400 + ); + --system-ui-icon-chevron-up-500-icon-size: var( + --spectrum-chevron-icon-size-500 + ); + --system-ui-icon-arrow-right-75-icon-size: var( + --spectrum-arrow-icon-size-75 + ); + --system-ui-icon-arrow-right-100-icon-size: var( + --spectrum-arrow-icon-size-100 + ); + --system-ui-icon-arrow-right-200-icon-size: var( + --spectrum-arrow-icon-size-200 + ); + --system-ui-icon-arrow-right-300-icon-size: var( + --spectrum-arrow-icon-size-300 + ); + --system-ui-icon-arrow-right-400-icon-size: var( + --spectrum-arrow-icon-size-400 + ); + --system-ui-icon-arrow-right-500-icon-size: var( + --spectrum-arrow-icon-size-500 + ); + --system-ui-icon-arrow-right-600-icon-size: var( + --spectrum-arrow-icon-size-600 + ); + --system-ui-icon-arrow-down-75-icon-size: var( + --spectrum-arrow-icon-size-75 + ); + --system-ui-icon-arrow-down-100-icon-size: var( + --spectrum-arrow-icon-size-100 + ); + --system-ui-icon-arrow-down-200-icon-size: var( + --spectrum-arrow-icon-size-200 + ); + --system-ui-icon-arrow-down-300-icon-size: var( + --spectrum-arrow-icon-size-300 + ); + --system-ui-icon-arrow-down-400-icon-size: var( + --spectrum-arrow-icon-size-400 + ); + --system-ui-icon-arrow-down-500-icon-size: var( + --spectrum-arrow-icon-size-500 + ); + --system-ui-icon-arrow-down-600-icon-size: var( + --spectrum-arrow-icon-size-600 + ); + --system-ui-icon-arrow-left-75-icon-size: var( + --spectrum-arrow-icon-size-75 + ); + --system-ui-icon-arrow-left-100-icon-size: var( + --spectrum-arrow-icon-size-100 + ); + --system-ui-icon-arrow-left-200-icon-size: var( + --spectrum-arrow-icon-size-200 + ); + --system-ui-icon-arrow-left-300-icon-size: var( + --spectrum-arrow-icon-size-300 + ); + --system-ui-icon-arrow-left-400-icon-size: var( + --spectrum-arrow-icon-size-400 + ); + --system-ui-icon-arrow-left-500-icon-size: var( + --spectrum-arrow-icon-size-500 + ); + --system-ui-icon-arrow-left-600-icon-size: var( + --spectrum-arrow-icon-size-600 + ); + --system-ui-icon-arrow-up-75-icon-size: var(--spectrum-arrow-icon-size-75); + --system-ui-icon-arrow-up-100-icon-size: var( + --spectrum-arrow-icon-size-100 + ); + --system-ui-icon-arrow-up-200-icon-size: var( + --spectrum-arrow-icon-size-200 + ); + --system-ui-icon-arrow-up-300-icon-size: var( + --spectrum-arrow-icon-size-300 + ); + --system-ui-icon-arrow-up-400-icon-size: var( + --spectrum-arrow-icon-size-400 + ); + --system-ui-icon-arrow-up-500-icon-size: var( + --spectrum-arrow-icon-size-500 + ); + --system-ui-icon-arrow-up-600-icon-size: var( + --spectrum-arrow-icon-size-600 + ); + --system-ui-icon-checkmark-50-icon-size: var( + --spectrum-checkmark-icon-size-50 + ); + --system-ui-icon-checkmark-75-icon-size: var( + --spectrum-checkmark-icon-size-75 + ); + --system-ui-icon-checkmark-100-icon-size: var( + --spectrum-checkmark-icon-size-100 + ); + --system-ui-icon-checkmark-200-icon-size: var( + --spectrum-checkmark-icon-size-200 + ); + --system-ui-icon-checkmark-300-icon-size: var( + --spectrum-checkmark-icon-size-300 + ); + --system-ui-icon-checkmark-400-icon-size: var( + --spectrum-checkmark-icon-size-400 + ); + --system-ui-icon-checkmark-500-icon-size: var( + --spectrum-checkmark-icon-size-500 + ); + --system-ui-icon-checkmark-600-icon-size: var( + --spectrum-checkmark-icon-size-600 + ); + --system-ui-icon-dash-50-icon-size: var(--spectrum-dash-icon-size-50); + --system-ui-icon-dash-75-icon-size: var(--spectrum-dash-icon-size-75); + --system-ui-icon-dash-100-icon-size: var(--spectrum-dash-icon-size-100); + --system-ui-icon-dash-200-icon-size: var(--spectrum-dash-icon-size-200); + --system-ui-icon-dash-300-icon-size: var(--spectrum-dash-icon-size-300); + --system-ui-icon-dash-400-icon-size: var(--spectrum-dash-icon-size-400); + --system-ui-icon-dash-500-icon-size: var(--spectrum-dash-icon-size-500); + --system-ui-icon-dash-600-icon-size: var(--spectrum-dash-icon-size-600); + --system-ui-icon-cross-75-icon-size: var(--spectrum-cross-icon-size-75); + --system-ui-icon-cross-100-icon-size: var(--spectrum-cross-icon-size-100); + --system-ui-icon-cross-200-icon-size: var(--spectrum-cross-icon-size-200); + --system-ui-icon-cross-300-icon-size: var(--spectrum-cross-icon-size-300); + --system-ui-icon-cross-400-icon-size: var(--spectrum-cross-icon-size-400); + --system-ui-icon-cross-500-icon-size: var(--spectrum-cross-icon-size-500); + --system-ui-icon-cross-600-icon-size: var(--spectrum-cross-icon-size-600); + --system-ui-icon-corner-triangle-75-icon-size: var( + --spectrum-corner-triangle-icon-size-75 + ); + --system-ui-icon-corner-triangle-100-icon-size: var( + --spectrum-corner-triangle-icon-size-100 + ); + --system-ui-icon-corner-triangle-200-icon-size: var( + --spectrum-corner-triangle-icon-size-200 + ); + --system-ui-icon-corner-triangle-300-icon-size: var( + --spectrum-corner-triangle-icon-size-300 + ); + --system-ui-icon-asterisk-75-icon-size: var( + --spectrum-asterisk-icon-size-75 + ); + --system-ui-icon-asterisk-100-icon-size: var( + --spectrum-asterisk-icon-size-100 + ); + --system-ui-icon-asterisk-200-icon-size: var( + --spectrum-asterisk-icon-size-200 + ); + --system-ui-icon-asterisk-300-icon-size: var( + --spectrum-asterisk-icon-size-300 + ); +} + +:host, +:root { + --system-infield-button-border-width: 0; + --system-infield-button-border-color: transparent; + --system-infield-button-border-radius: var(--spectrum-corner-radius-75); + --system-infield-button-border-radius-reset: var( + --spectrum-corner-radius-75 + ); + --system-infield-button-stacked-top-border-radius-start-start: var( + --spectrum-corner-radius-75 + ); + --system-infield-button-stacked-bottom-border-radius-end-start: var( + --spectrum-corner-radius-75 + ); + --system-infield-button-background-color: var(--spectrum-gray-200); + --system-infield-button-background-color-hover: var(--spectrum-gray-300); + --system-infield-button-background-color-down: var(--spectrum-gray-400); + --system-infield-button-background-color-key-focus: var( + --spectrum-gray-300 + ); + --system-infield-button-height: var(--spectrum-component-height-100); + --system-infield-button-width: var(--spectrum-component-height-100); + --system-infield-button-stacked-border-radius-reset: var( + --spectrum-in-field-button-fill-stacked-inner-border-rounding + ); + --system-infield-button-edge-to-fill: var( + --spectrum-in-field-button-edge-to-fill + ); + --system-infield-button-inner-edge-to-fill: var( + --spectrum-in-field-button-stacked-inner-edge-to-fill + ); + --system-infield-button-fill-padding: 0px; + --system-infield-button-stacked-fill-padding-inline: var( + --spectrum-in-field-button-edge-to-disclosure-icon-stacked-medium + ); + --system-infield-button-stacked-fill-padding-outer: var( + --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-medium + ); + --system-infield-button-stacked-fill-padding-inner: var( + --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-medium + ); + --system-infield-button-icon-color: var( + --spectrum-neutral-content-color-default + ); + --system-infield-button-icon-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-infield-button-icon-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-infield-button-icon-color-key-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-infield-button-fill-justify-content: center; + --system-infield-button-disabled-background-color: var( + --spectrum-disabled-background-color + ); + --system-infield-button-disabled-background-color-hover: var( + --spectrum-disabled-background-color + ); + --system-infield-button-disabled-background-color-down: var( + --spectrum-disabled-background-color + ); + --system-infield-button-disabled-border-color: var( + --spectrum-disabled-background-color + ); + --system-infield-button-disabled-icon-color: var( + --spectrum-disabled-content-color + ); + --system-infield-button-disabled-icon-color-hover: var( + --spectrum-disabled-content-color + ); + --system-infield-button-disabled-icon-color-down: var( + --spectrum-disabled-content-color + ); + --system-infield-button-disabled-icon-color-key-focus: var( + --spectrum-disabled-content-color + ); + --system-infield-button-size-s-height: var(--spectrum-component-height-75); + --system-infield-button-size-s-width: var(--spectrum-component-height-75); + --system-infield-button-size-s-stacked-fill-padding-inline: var( + --spectrum-in-field-button-edge-to-disclosure-icon-stacked-small + ); + --system-infield-button-size-s-stacked-fill-padding-outer: var( + --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-small + ); + --system-infield-button-size-s-stacked-fill-padding-inner: var( + --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-small + ); + --system-infield-button-size-l-height: var(--spectrum-component-height-200); + --system-infield-button-size-l-width: var(--spectrum-component-height-200); + --system-infield-button-size-l-stacked-fill-padding-inline: var( + --spectrum-in-field-button-edge-to-disclosure-icon-stacked-large + ); + --system-infield-button-size-l-stacked-fill-padding-outer: var( + --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-large + ); + --system-infield-button-size-l-stacked-fill-padding-inner: var( + --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-large + ); + --system-infield-button-size-xl-height: var( + --spectrum-component-height-300 + ); + --system-infield-button-size-xl-width: var(--spectrum-component-height-300); + --system-infield-button-size-xl-stacked-fill-padding-inline: var( + --spectrum-in-field-button-edge-to-disclosure-icon-stacked-extra-large + ); + --system-infield-button-size-xl-stacked-fill-padding-outer: var( + --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-extra-large + ); + --system-infield-button-size-xl-stacked-fill-padding-inner: var( + --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-extra-large + ); + --system-infield-button-top-width: var( + --spectrum-in-field-button-width-stacked-medium + ); + --system-infield-button-bottom-width: var( + --spectrum-in-field-button-width-stacked-medium + ); + --system-infield-button-top-size-s-width: var( + --spectrum-in-field-button-width-stacked-small + ); + --system-infield-button-bottom-size-s-width: var( + --spectrum-in-field-button-width-stacked-small + ); + --system-infield-button-top-size-l-width: var( + --spectrum-in-field-button-width-stacked-large + ); + --system-infield-button-bottom-size-l-width: var( + --spectrum-in-field-button-width-stacked-large + ); + --system-infield-button-top-size-xl-width: var( + --spectrum-in-field-button-width-stacked-extra-large + ); + --system-infield-button-bottom-size-xl-width: var( + --spectrum-in-field-button-width-stacked-extra-large + ); + --system-infield-button-quiet-background-color: transparent; + --system-infield-button-quiet-background-color-hover: transparent; + --system-infield-button-quiet-background-color-down: transparent; + --system-infield-button-quiet-background-color-key-focus: transparent; + --system-infield-button-quiet-infield-border-color: transparent; + --system-infield-button-quiet-border-width: 0; + --system-infield-button-quiet-disabled-background-color: transparent; + --system-infield-button-quiet-disabled-border-color: transparent; +} + +:host, +:root { + --system-link-animation-duration: var(--spectrum-animation-duration-100); + --system-link-text-color-primary-default: var( + --spectrum-accent-content-color-default + ); + --system-link-text-color-primary-hover: var( + --spectrum-accent-content-color-hover + ); + --system-link-text-color-primary-active: var( + --spectrum-accent-content-color-down + ); + --system-link-text-color-primary-focus: var( + --spectrum-accent-content-color-key-focus + ); + --system-link-text-color-secondary-default: var( + --spectrum-neutral-content-color-default + ); + --system-link-text-color-secondary-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-link-text-color-secondary-active: var( + --spectrum-neutral-content-color-down + ); + --system-link-text-color-secondary-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-link-text-color-white: var(--spectrum-white); + --system-link-text-color-black: var(--spectrum-black); +} + +:host, +:root { + --system-menu-item-top-to-action: var(--spectrum-spacing-50); + --system-menu-item-top-to-checkbox: var(--spectrum-spacing-50); + --system-menu-item-label-line-height: var(--spectrum-line-height-100); + --system-menu-item-label-line-height-cjk: var( + --spectrum-cjk-line-height-100 + ); + --system-menu-item-label-to-description-spacing: var( + --spectrum-menu-item-label-to-description + ); + --system-menu-item-focus-indicator-width: var(--spectrum-border-width-200); + --system-menu-item-focus-indicator-color: var(--spectrum-blue-800); + --system-menu-item-label-to-value-area-min-spacing: var( + --spectrum-spacing-100 + ); + --system-menu-item-label-content-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-menu-item-label-content-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-menu-item-label-content-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-menu-item-label-content-color-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-menu-item-label-icon-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-menu-item-label-icon-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-menu-item-label-icon-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-menu-item-label-icon-color-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-menu-item-label-content-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-menu-item-label-icon-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-menu-item-description-line-height: var(--spectrum-line-height-100); + --system-menu-item-description-line-height-cjk: var( + --spectrum-cjk-line-height-100 + ); + --system-menu-item-description-color-default: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-menu-item-description-color-hover: var( + --spectrum-neutral-subdued-content-color-hover + ); + --system-menu-item-description-color-down: var( + --spectrum-neutral-subdued-content-color-down + ); + --system-menu-item-description-color-focus: var( + --spectrum-neutral-subdued-content-color-key-focus + ); + --system-menu-item-description-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-menu-section-header-line-height: var(--spectrum-line-height-100); + --system-menu-section-header-line-height-cjk: var( + --spectrum-cjk-line-height-100 + ); + --system-menu-section-header-font-weight: var(--spectrum-bold-font-weight); + --system-menu-section-header-color: var(--spectrum-gray-900); + --system-menu-collapsible-icon-color: var(--spectrum-gray-900); + --system-menu-checkmark-icon-color-default: var( + --spectrum-accent-color-900 + ); + --system-menu-checkmark-icon-color-hover: var(--spectrum-accent-color-1000); + --system-menu-checkmark-icon-color-down: var(--spectrum-accent-color-1100); + --system-menu-checkmark-icon-color-focus: var(--spectrum-accent-color-1000); + --system-menu-drillin-icon-color-default: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-menu-drillin-icon-color-hover: var( + --spectrum-neutral-subdued-content-color-hover + ); + --system-menu-drillin-icon-color-down: var( + --spectrum-neutral-subdued-content-color-down + ); + --system-menu-drillin-icon-color-focus: var( + --spectrum-neutral-subdued-content-color-key-focus + ); + --system-menu-item-value-color-default: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-menu-item-value-color-hover: var( + --spectrum-neutral-subdued-content-color-hover + ); + --system-menu-item-value-color-down: var( + --spectrum-neutral-subdued-content-color-down + ); + --system-menu-item-value-color-focus: var( + --spectrum-neutral-subdued-content-color-key-focus + ); + --system-menu-checkmark-display-hidden: none; + --system-menu-checkmark-display-shown: block; + --system-menu-checkmark-display: var(--system-menu-checkmark-display-shown); + --system-menu-item-collapsible-no-icon-sub-item-padding-x-start: calc( + var(--system-menu-item-label-inline-edge-to-content) + + var(--system-menu-item-checkmark-width) + + var(--system-menu-item-label-text-to-visual) + + var(--system-menu-item-focus-indicator-width) + ); + --system-menu-item-background-color-default: transparent; + --system-menu-item-background-color-hover: rgba( + var(--spectrum-gray-900-rgb), + var(--spectrum-transparent-black-200-opacity) + ); + --system-menu-item-background-color-down: rgba( + var(--spectrum-gray-900-rgb), + var(--spectrum-transparent-black-200-opacity) + ); + --system-menu-item-background-color-key-focus: rgba( + var(--spectrum-gray-900-rgb), + var(--spectrum-transparent-black-200-opacity) + ); + --system-menu-item-min-height: var(--spectrum-component-height-100); + --system-menu-size-m-item-min-height: var(--spectrum-component-height-100); + --system-menu-item-icon-height: var(--spectrum-workflow-icon-size-100); + --system-menu-size-m-item-icon-height: var( + --spectrum-workflow-icon-size-100 + ); + --system-menu-item-icon-width: var(--spectrum-workflow-icon-size-100); + --system-menu-size-m-item-icon-width: var( + --spectrum-workflow-icon-size-100 + ); + --system-menu-item-label-font-size: var(--spectrum-font-size-100); + --system-menu-size-m-item-label-font-size: var(--spectrum-font-size-100); + --system-menu-item-label-text-to-visual: var(--spectrum-text-to-visual-100); + --system-menu-size-m-item-label-text-to-visual: var( + --spectrum-text-to-visual-100 + ); + --system-menu-item-label-inline-edge-to-content: var( + --spectrum-component-edge-to-text-100 + ); + --system-menu-size-m-item-label-inline-edge-to-content: var( + --spectrum-component-edge-to-text-100 + ); + --system-menu-item-top-edge-to-text: var( + --spectrum-component-top-to-text-100 + ); + --system-menu-size-m-item-top-edge-to-text: var( + --spectrum-component-top-to-text-100 + ); + --system-menu-item-bottom-edge-to-text: var( + --spectrum-component-bottom-to-text-100 + ); + --system-menu-size-m-item-bottom-edge-to-text: var( + --spectrum-component-bottom-to-text-100 + ); + --system-menu-item-text-to-control: var(--spectrum-text-to-control-100); + --system-menu-size-m-item-text-to-control: var( + --spectrum-text-to-control-100 + ); + --system-menu-item-description-font-size: var(--spectrum-font-size-75); + --system-menu-size-m-item-description-font-size: var( + --spectrum-font-size-75 + ); + --system-menu-section-header-font-size: var(--spectrum-font-size-100); + --system-menu-size-m-section-header-font-size: var( + --spectrum-font-size-100 + ); + --system-menu-section-header-min-width: var( + --spectrum-component-height-100 + ); + --system-menu-size-m-section-header-min-width: var( + --spectrum-component-height-100 + ); + --system-menu-item-selectable-edge-to-text-not-selected: var( + --spectrum-menu-item-selectable-edge-to-text-not-selected-medium + ); + --system-menu-size-m-item-selectable-edge-to-text-not-selected: var( + --spectrum-menu-item-selectable-edge-to-text-not-selected-medium + ); + --system-menu-item-checkmark-height: var( + --spectrum-menu-item-checkmark-height-medium + ); + --system-menu-size-m-item-checkmark-height: var( + --spectrum-menu-item-checkmark-height-medium + ); + --system-menu-item-checkmark-width: var( + --spectrum-menu-item-checkmark-width-medium + ); + --system-menu-size-m-item-checkmark-width: var( + --spectrum-menu-item-checkmark-width-medium + ); + --system-menu-item-top-to-checkmark: var( + --spectrum-menu-item-top-to-selected-icon-medium + ); + --system-menu-size-m-item-top-to-checkmark: var( + --spectrum-menu-item-top-to-selected-icon-medium + ); + --system-menu-back-icon-margin: var( + --spectrum-navigational-indicator-top-to-back-icon-medium + ); + --system-menu-size-m-back-icon-margin: var( + --spectrum-navigational-indicator-top-to-back-icon-medium + ); + --system-menu-size-s-item-min-height: var(--spectrum-component-height-75); + --system-menu-size-s-item-icon-height: var( + --spectrum-workflow-icon-size-75 + ); + --system-menu-size-s-item-icon-width: var(--spectrum-workflow-icon-size-75); + --system-menu-size-s-item-label-font-size: var(--spectrum-font-size-75); + --system-menu-size-s-item-label-text-to-visual: var( + --spectrum-text-to-visual-75 + ); + --system-menu-size-s-item-label-inline-edge-to-content: var( + --spectrum-component-edge-to-text-75 + ); + --system-menu-size-s-item-top-edge-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-menu-size-s-item-bottom-edge-to-text: var( + --spectrum-component-bottom-to-text-75 + ); + --system-menu-size-s-item-text-to-control: var( + --spectrum-text-to-control-75 + ); + --system-menu-size-s-item-description-font-size: var( + --spectrum-font-size-50 + ); + --system-menu-size-s-section-header-font-size: var(--spectrum-font-size-75); + --system-menu-size-s-section-header-min-width: var( + --spectrum-component-height-75 + ); + --system-menu-size-s-item-selectable-edge-to-text-not-selected: var( + --spectrum-menu-item-selectable-edge-to-text-not-selected-small + ); + --system-menu-size-s-item-checkmark-height: var( + --spectrum-menu-item-checkmark-height-small + ); + --system-menu-size-s-item-checkmark-width: var( + --spectrum-menu-item-checkmark-width-small + ); + --system-menu-size-s-item-top-to-checkmark: var( + --spectrum-menu-item-top-to-selected-icon-small + ); + --system-menu-size-s-back-icon-margin: var( + --spectrum-navigational-indicator-top-to-back-icon-small + ); + --system-menu-size-l-item-min-height: var(--spectrum-component-height-200); + --system-menu-size-l-item-icon-height: var( + --spectrum-workflow-icon-size-200 + ); + --system-menu-size-l-item-icon-width: var( + --spectrum-workflow-icon-size-200 + ); + --system-menu-size-l-item-label-font-size: var(--spectrum-font-size-200); + --system-menu-size-l-item-label-text-to-visual: var( + --spectrum-text-to-visual-200 + ); + --system-menu-size-l-item-label-inline-edge-to-content: var( + --spectrum-component-edge-to-text-200 + ); + --system-menu-size-l-item-top-edge-to-text: var( + --spectrum-component-top-to-text-200 + ); + --system-menu-size-l-item-bottom-edge-to-text: var( + --spectrum-component-bottom-to-text-200 + ); + --system-menu-size-l-item-text-to-control: var( + --spectrum-text-to-control-200 + ); + --system-menu-size-l-item-description-font-size: var( + --spectrum-font-size-100 + ); + --system-menu-size-l-section-header-font-size: var( + --spectrum-font-size-200 + ); + --system-menu-size-l-section-header-min-width: var( + --spectrum-component-height-200 + ); + --system-menu-size-l-item-selectable-edge-to-text-not-selected: var( + --spectrum-menu-item-selectable-edge-to-text-not-selected-large + ); + --system-menu-size-l-item-checkmark-height: var( + --spectrum-menu-item-checkmark-height-large + ); + --system-menu-size-l-item-checkmark-width: var( + --spectrum-menu-item-checkmark-width-large + ); + --system-menu-size-l-item-top-to-checkmark: var( + --spectrum-menu-item-top-to-selected-icon-large + ); + --system-menu-size-l-back-icon-margin: var( + --spectrum-navigational-indicator-top-to-back-icon-large + ); + --system-menu-size-xl-item-min-height: var(--spectrum-component-height-300); + --system-menu-size-xl-item-icon-height: var( + --spectrum-workflow-icon-size-300 + ); + --system-menu-size-xl-item-icon-width: var( + --spectrum-workflow-icon-size-300 + ); + --system-menu-size-xl-item-label-font-size: var(--spectrum-font-size-300); + --system-menu-size-xl-item-label-text-to-visual: var( + --spectrum-text-to-visual-300 + ); + --system-menu-size-xl-item-label-inline-edge-to-content: var( + --spectrum-component-edge-to-text-300 + ); + --system-menu-size-xl-item-top-edge-to-text: var( + --spectrum-component-top-to-text-300 + ); + --system-menu-size-xl-item-bottom-edge-to-text: var( + --spectrum-component-bottom-to-text-300 + ); + --system-menu-size-xl-item-text-to-control: var( + --spectrum-text-to-control-300 + ); + --system-menu-size-xl-item-description-font-size: var( + --spectrum-font-size-200 + ); + --system-menu-size-xl-section-header-font-size: var( + --spectrum-font-size-300 + ); + --system-menu-size-xl-section-header-min-width: var( + --spectrum-component-height-300 + ); + --system-menu-size-xl-item-selectable-edge-to-text-not-selected: var( + --spectrum-menu-item-selectable-edge-to-text-not-selected-extra-large + ); + --system-menu-size-xl-item-checkmark-height: var( + --spectrum-menu-item-checkmark-height-extra-large + ); + --system-menu-size-xl-item-checkmark-width: var( + --spectrum-menu-item-checkmark-width-extra-large + ); + --system-menu-size-xl-item-top-to-checkmark: var( + --spectrum-menu-item-top-to-selected-icon-extra-large + ); + --system-menu-size-xl-back-icon-margin: var( + --spectrum-navigational-indicator-top-to-back-icon-extra-large + ); +} + +:host, +:root { + --system-meter-min-width: var(--spectrum-meter-minimum-width); + --system-meter-max-width: var(--spectrum-meter-maximum-width); + --system-meter-fill-color-positive: var(--spectrum-positive-visual-color); + --system-meter-fill-color-notice: var(--spectrum-notice-visual-color); + --system-meter-fill-color-negative: var(--spectrum-negative-visual-color); + --system-meter-thickness: var(--spectrum-meter-thickness-large); + --system-meter-size-l-thickness: var(--spectrum-meter-thickness-large); + --system-meter-inline-size: var(--spectrum-progressbar-size-2500); + --system-meter-size-l-inline-size: var(--spectrum-progressbar-size-2500); + --system-meter-font-size: var(--spectrum-font-size-100); + --system-meter-size-l-font-size: var(--spectrum-font-size-100); + --system-meter-top-to-text: var(--spectrum-component-top-to-text-200); + --system-meter-size-l-top-to-text: var( + --spectrum-component-top-to-text-200 + ); + --system-meter-size-s-thickness: var(--spectrum-meter-thickness-small); + --system-meter-size-s-inline-size: var(--spectrum-progressbar-size-2400); + --system-meter-size-s-font-size: var(--spectrum-font-size-75); + --system-meter-size-s-top-to-text: var(--spectrum-component-top-to-text-75); +} + +:host, +:root { + --system-modal-confirm-exit-animation-delay: var( + --spectrum-animation-duration-0 + ); + --system-modal-confirm-entry-animation-distance: var( + --spectrum-dialog-confirm-entry-animation-distance + ); + --system-modal-fullscreen-margin: 32px; + --system-modal-max-height: 90vh; + --system-modal-max-width: 90%; + --system-modal-background-color: var(--spectrum-gray-100); + --system-modal-confirm-border-radius: var(--spectrum-corner-radius-100); + --system-modal-confirm-exit-animation-duration: var( + --spectrum-animation-duration-100 + ); + --system-modal-confirm-entry-animation-duration: var( + --spectrum-animation-duration-500 + ); + --system-modal-confirm-entry-animation-delay: var( + --spectrum-animation-duration-200 + ); + --system-modal-transition-animation-duration: var( + --spectrum-animation-duration-100 + ); +} + +:host, +:root { + --system-picker-background-color-default: var(--spectrum-gray-200); + --system-picker-background-color-default-open: var(--spectrum-gray-300); + --system-picker-background-color-active: var(--spectrum-gray-400); + --system-picker-background-color-hover: var(--spectrum-gray-300); + --system-picker-background-color-hover-open: var(--spectrum-gray-300); + --system-picker-background-color-key-focus: var(--spectrum-gray-300); + --system-picker-border-color-default: transparent; + --system-picker-border-color-default-open: transparent; + --system-picker-border-color-hover: transparent; + --system-picker-border-color-hover-open: transparent; + --system-picker-border-color-active: transparent; + --system-picker-border-color-key-focus: transparent; + --system-picker-border-width: 0px; + --system-picker-font-size: var(--spectrum-font-size-100); + --system-picker-font-weight: var(--spectrum-regular-font-weight); + --system-picker-placeholder-font-style: var(--spectrum-default-font-style); + --system-picker-line-height: var(--spectrum-line-height-100); + --system-picker-block-size: var(--spectrum-component-height-100); + --system-picker-inline-size: var(--spectrum-field-width); + --system-picker-border-radius: var(--spectrum-corner-radius-100); + --system-picker-spacing-top-to-text: var( + --spectrum-component-top-to-text-100 + ); + --system-picker-spacing-bottom-to-text: var( + --spectrum-component-bottom-to-text-100 + ); + --system-picker-spacing-edge-to-text: var( + --spectrum-component-edge-to-text-100 + ); + --system-picker-spacing-edge-to-text-quiet: var( + --spectrum-field-edge-to-text-quiet + ); + --system-picker-spacing-label-to: var(--spectrum-field-label-to-component); + --system-picker-spacing-text-to-icon: var(--spectrum-text-to-visual-100); + --system-picker-spacing-text-to-icon-inline-end: var( + --spectrum-field-text-to-alert-icon-medium + ); + --system-picker-spacing-icon-to-disclosure-icon: var( + --spectrum-picker-visual-to-disclosure-icon-medium + ); + --system-picker-spacing-label-to-quiet: var( + --spectrum-field-label-to-component-quiet-medium + ); + --system-picker-spacing-top-to-alert-icon: var( + --spectrum-field-top-to-alert-icon-medium + ); + --system-picker-spacing-top-to-progress-circle: var( + --spectrum-field-top-to-progress-circle-medium + ); + --system-picker-spacing-top-to-disclosure-icon: var( + --spectrum-field-top-to-disclosure-icon-100 + ); + --system-picker-spacing-edge-to-disclosure-icon: var( + --spectrum-field-end-edge-to-disclosure-icon-100 + ); + --system-picker-spacing-edge-to-disclosure-icon-quiet: var( + --spectrum-picker-end-edge-to-disclousure-icon-quiet + ); + --system-picker-animation-duration: var(--spectrum-animation-duration-100); + --system-picker-font-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-picker-font-color-default-open: var( + --spectrum-neutral-content-color-focus + ); + --system-picker-font-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-picker-font-color-hover-open: var( + --spectrum-neutral-content-color-focus-hover + ); + --system-picker-font-color-active: var( + --spectrum-neutral-content-color-down + ); + --system-picker-font-color-key-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-picker-icon-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-picker-icon-color-default-open: var( + --spectrum-neutral-content-color-focus + ); + --system-picker-icon-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-picker-icon-color-hover-open: var( + --spectrum-neutral-content-color-focus-hover + ); + --system-picker-icon-color-active: var( + --spectrum-neutral-content-color-down + ); + --system-picker-icon-color-key-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-picker-border-color-error-default: var( + --spectrum-negative-border-color-default + ); + --system-picker-border-color-error-default-open: var( + --spectrum-negative-border-color-focus + ); + --system-picker-border-color-error-hover: var( + --spectrum-negative-border-color-hover + ); + --system-picker-border-color-error-hover-open: var( + --spectrum-negative-border-color-focus-hover + ); + --system-picker-border-color-error-active: var( + --spectrum-negative-border-color-down + ); + --system-picker-border-color-error-key-focus: var( + --spectrum-negative-border-color-key-focus + ); + --system-picker-icon-color-error: var(--spectrum-negative-visual-color); + --system-picker-background-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-picker-font-color-disabled: var(--spectrum-disabled-content-color); + --system-picker-icon-color-disabled: var(--spectrum-disabled-content-color); + --system-picker-focus-indicator-gap: var(--spectrum-focus-indicator-gap); + --system-picker-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-picker-focus-indicator-color: var( + --spectrum-focus-indicator-color + ); + --system-picker-next-to-popover-bottom-open-spacing-to-popover: var( + --spectrum-component-to-menu-medium + ); + --system-picker-size-s-font-size: var(--spectrum-font-size-75); + --system-picker-size-s-block-size: var(--spectrum-component-height-75); + --system-picker-size-s-spacing-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-picker-size-s-spacing-bottom-to-text: var( + --spectrum-component-bottom-to-text-75 + ); + --system-picker-size-s-spacing-edge-to-text: var( + --spectrum-component-edge-to-text-75 + ); + --system-picker-size-s-spacing-text-to-icon: var( + --spectrum-text-to-visual-75 + ); + --system-picker-size-s-spacing-text-to-icon-inline-end: var( + --spectrum-field-text-to-alert-icon-small + ); + --system-picker-size-s-spacing-icon-to-disclosure-icon: var( + --spectrum-picker-visual-to-disclosure-icon-small + ); + --system-picker-size-s-spacing-label-to-quiet: var( + --spectrum-field-label-to-component-quiet-small + ); + --system-picker-size-s-spacing-top-to-alert-icon: var( + --spectrum-field-top-to-alert-icon-small + ); + --system-picker-size-s-spacing-top-to-progress-circle: var( + --spectrum-field-top-to-progress-circle-small + ); + --system-picker-size-s-spacing-top-to-disclosure-icon: var( + --spectrum-field-top-to-disclosure-icon-75 + ); + --system-picker-size-s-spacing-edge-to-disclosure-icon: var( + --spectrum-field-end-edge-to-disclosure-icon-75 + ); + --system-picker-size-s-next-to-popover-bottom-open-spacing-to-popover: var( + --spectrum-component-to-menu-small + ); + --system-picker-size-l-font-size: var(--spectrum-font-size-200); + --system-picker-size-l-block-size: var(--spectrum-component-height-200); + --system-picker-size-l-spacing-top-to-text: var( + --spectrum-component-top-to-text-200 + ); + --system-picker-size-l-spacing-bottom-to-text: var( + --spectrum-component-bottom-to-text-200 + ); + --system-picker-size-l-spacing-edge-to-text: var( + --spectrum-component-edge-to-text-200 + ); + --system-picker-size-l-spacing-text-to-icon: var( + --spectrum-text-to-visual-200 + ); + --system-picker-size-l-spacing-text-to-icon-inline-end: var( + --spectrum-field-text-to-alert-icon-large + ); + --system-picker-size-l-spacing-icon-to-disclosure-icon: var( + --spectrum-picker-visual-to-disclosure-icon-large + ); + --system-picker-size-l-spacing-label-to-quiet: var( + --spectrum-field-label-to-component-quiet-large + ); + --system-picker-size-l-spacing-top-to-alert-icon: var( + --spectrum-field-top-to-alert-icon-large + ); + --system-picker-size-l-spacing-top-to-progress-circle: var( + --spectrum-field-top-to-progress-circle-large + ); + --system-picker-size-l-spacing-top-to-disclosure-icon: var( + --spectrum-field-top-to-disclosure-icon-200 + ); + --system-picker-size-l-spacing-edge-to-disclosure-icon: var( + --spectrum-field-end-edge-to-disclosure-icon-200 + ); + --system-picker-size-l-next-to-popover-bottom-open-spacing-to-popover: var( + --spectrum-component-to-menu-large + ); + --system-picker-size-xl-font-size: var(--spectrum-font-size-300); + --system-picker-size-xl-block-size: var(--spectrum-component-height-300); + --system-picker-size-xl-spacing-top-to-text: var( + --spectrum-component-top-to-text-300 + ); + --system-picker-size-xl-spacing-bottom-to-text: var( + --spectrum-component-bottom-to-text-300 + ); + --system-picker-size-xl-spacing-edge-to-text: var( + --spectrum-component-edge-to-text-300 + ); + --system-picker-size-xl-spacing-text-to-icon: var( + --spectrum-text-to-visual-300 + ); + --system-picker-size-xl-spacing-text-to-icon-inline-end: var( + --spectrum-field-text-to-alert-icon-extra-large + ); + --system-picker-size-xl-spacing-icon-to-disclosure-icon: var( + --spectrum-picker-visual-to-disclosure-icon-extra-large + ); + --system-picker-size-xl-spacing-label-to-quiet: var( + --spectrum-field-label-to-component-quiet-extra-large + ); + --system-picker-size-xl-spacing-top-to-alert-icon: var( + --spectrum-field-top-to-alert-icon-extra-large + ); + --system-picker-size-xl-spacing-top-to-progress-circle: var( + --spectrum-field-top-to-progress-circle-extra-large + ); + --system-picker-size-xl-spacing-top-to-disclosure-icon: var( + --spectrum-field-top-to-disclosure-icon-300 + ); + --system-picker-size-xl-spacing-edge-to-disclosure-icon: var( + --spectrum-field-end-edge-to-disclosure-icon-300 + ); + --system-picker-size-xl-next-to-popover-bottom-open-spacing-to-popover: var( + --spectrum-component-to-menu-extra-large + ); +} + +:host, +:root { + --system-picker-button-background-color: var(--spectrum-gray-200); + --system-picker-button-background-color-hover: var(--spectrum-gray-300); + --system-picker-button-background-color-down: var(--spectrum-gray-400); + --system-picker-button-background-color-key-focus: var(--spectrum-gray-300); + --system-picker-button-border-color: none; + --system-picker-button-border-radius: var(--spectrum-corner-radius-75); + --system-picker-button-border-radius-rounded-sided: var( + --spectrum-corner-radius-200 + ); + --system-picker-button-border-radius-sided: var( + --spectrum-corner-radius-75 + ); + --system-picker-button-border-width: 0px; + --system-picker-button-height: var(--spectrum-component-height-100); + --system-picker-button-width: var(--spectrum-component-height-100); + --system-picker-button-gap: var(--spectrum-text-to-visual-50); + --system-picker-button-padding: var( + --spectrum-in-field-button-edge-to-fill + ); + --system-picker-button-label-padding: var(--spectrum-text-to-visual-50); + --system-picker-button-fill-padding: var( + --spectrum-field-edge-to-disclosure-icon-100 + ); + --system-picker-button-border-radius-rounded: var( + --spectrum-corner-radius-200 + ); + --system-picker-button-icon-color: var( + --spectrum-neutral-content-color-default + ); + --system-picker-button-icon-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-picker-button-icon-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-picker-button-icon-color-key-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-picker-button-font-color: var( + --spectrum-neutral-content-color-default + ); + --system-picker-button-font-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-picker-button-font-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-picker-button-font-color-key-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-picker-button-font-family: var(--spectrum-sans-font-family-stack); + --system-picker-button-font-style: var(--spectrum-default-font-style); + --system-picker-button-font-weight: var( + --spectrum-body-sans-serif-font-weight + ); + --system-picker-button-font-size: var(--spectrum-font-size-100); + --system-picker-button-background-animation-duration: var( + --spectrum-animation-duration-100 + ); + --system-picker-button-background-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-picker-button-background-color-hover-disabled: var( + --spectrum-disabled-background-color + ); + --system-picker-button-background-color-down-disabled: var( + --spectrum-disabled-background-color + ); + --system-picker-button-border-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-picker-button-font-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-picker-button-font-color-hover-disabled: var( + --spectrum-disabled-content-color + ); + --system-picker-button-font-color-down-disabled: var( + --spectrum-disabled-content-color + ); + --system-picker-button-icon-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-picker-button-icon-color-hover-disabled: var( + --spectrum-disabled-content-color + ); + --system-picker-button-icon-color-down-disabled: var( + --spectrum-disabled-content-color + ); + --system-picker-button-size-s-height: var(--spectrum-component-height-75); + --system-picker-button-size-s-width: var(--spectrum-component-height-75); + --system-picker-button-size-s-label-padding: var(--spectrum-spacing-75); + --system-picker-button-size-s-font-size: var(--spectrum-font-size-75); + --system-picker-button-size-s-fill-padding: var( + --spectrum-field-edge-to-disclosure-icon-75 + ); + --system-picker-button-size-l-height: var(--spectrum-component-height-200); + --system-picker-button-size-l-width: var(--spectrum-component-height-200); + --system-picker-button-size-l-label-padding: var( + --spectrum-text-to-visual-200 + ); + --system-picker-button-size-l-font-size: var(--spectrum-font-size-200); + --system-picker-button-size-l-fill-padding: var( + --spectrum-field-edge-to-disclosure-icon-200 + ); + --system-picker-button-size-xl-height: var(--spectrum-component-height-300); + --system-picker-button-size-xl-width: var(--spectrum-component-height-300); + --system-picker-button-size-xl-label-padding: var( + --spectrum-text-to-visual-300 + ); + --system-picker-button-size-xl-font-size: var(--spectrum-font-size-300); + --system-picker-button-size-xl-fill-padding: var( + --spectrum-field-edge-to-disclosure-icon-300 + ); +} + +:host, +:root { + --system-popover-border-width: 0; + --system-popover-animation-distance: var(--spectrum-spacing-100); + --system-popover-background-color: var(--spectrum-background-layer-2-color); + --system-popover-border-color: var(--spectrum-gray-400); + --system-popover-content-area-spacing-vertical: var( + --spectrum-popover-top-to-content-area + ); + --system-popover-shadow-horizontal: var(--spectrum-drop-shadow-x); + --system-popover-shadow-vertical: var(--spectrum-drop-shadow-y); + --system-popover-shadow-blur: var(--spectrum-drop-shadow-blur); + --system-popover-shadow-color: var(--spectrum-drop-shadow-color); + --system-popover-corner-radius: var(--spectrum-corner-radius-100); + --system-popover-pointer-width: var(--spectrum-popover-tip-width); + --system-popover-pointer-height: var(--spectrum-popover-tip-height); + --system-popover-pointer-edge-offset: calc( + var(--spectrum-corner-radius-100) + var(--spectrum-popover-tip-width) / + 2 + ); + --system-popover-pointer-edge-spacing: calc( + var(--system-popover-pointer-edge-offset) - + var(--spectrum-popover-tip-width) / 2 + ); +} + +:host, +:root { + --system-progress-bar-animation-ease-in-out-indeterminate: var( + --spectrum-animation-ease-in-out + ); + --system-progress-bar-animation-duration-indeterminate: var( + --spectrum-animation-duration-2000 + ); + --system-progress-bar-corner-radius: var(--spectrum-corner-radius-100); + --system-progress-bar-fill-size-indeterminate: 70%; + --system-progress-bar-size-2400: 192px; + --system-progress-bar-size-2500: 200px; + --system-progress-bar-size-2800: 224px; + --system-progress-bar-line-height-cjk: var(--spectrum-cjk-line-height-100); + --system-progress-bar-min-size: var(--spectrum-progress-bar-minimum-width); + --system-progress-bar-max-size: var(--spectrum-progress-bar-maximum-width); + --system-progress-bar-line-height: var(--spectrum-line-height-100); + --system-progress-bar-spacing-label-to: var(--spectrum-spacing-75); + --system-progress-bar-spacing-label-to-text: var(--spectrum-spacing-200); + --system-progress-bar-text-color: var( + --spectrum-neutral-content-color-default + ); + --system-progress-bar-track-color: var(--spectrum-gray-300); + --system-progress-bar-fill-color: var(--spectrum-accent-color-900); + --system-progress-bar-label-and-value-white: var(--spectrum-white); + --system-progress-bar-track-color-white: var( + --spectrum-transparent-white-300 + ); + --system-progress-bar-fill-color-white: var(--spectrum-white); + --system-progress-bar-size-default: var(--system-progress-bar-size-2400); + --system-progress-bar-size-m-size-default: var( + --system-progress-bar-size-2400 + ); + --system-progress-bar-font-size: var(--spectrum-font-size-75); + --system-progress-bar-size-m-font-size: var(--spectrum-font-size-75); + --system-progress-bar-thickness: var( + --spectrum-progress-bar-thickness-large + ); + --system-progress-bar-size-m-thickness: var( + --spectrum-progress-bar-thickness-large + ); + --system-progress-bar-spacing-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-progress-bar-size-m-spacing-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-progress-bar-size-s-size-default: var( + --system-progress-bar-size-2400 + ); + --system-progress-bar-size-s-font-size: var(--spectrum-font-size-75); + --system-progress-bar-size-s-thickness: var( + --spectrum-progress-bar-thickness-small + ); + --system-progress-bar-size-s-spacing-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-progress-bar-size-l-size-default: var( + --system-progress-bar-size-2500 + ); + --system-progress-bar-size-l-font-size: var(--spectrum-font-size-100); + --system-progress-bar-size-l-thickness: var( + --spectrum-progress-bar-thickness-large + ); + --system-progress-bar-size-l-spacing-top-to-text: var( + --spectrum-component-top-to-text-200 + ); + --system-progress-bar-size-xl-size-default: var( + --system-progress-bar-size-2800 + ); + --system-progress-bar-size-xl-font-size: var(--spectrum-font-size-200); + --system-progress-bar-size-xl-thickness: var( + --spectrum-progress-bar-thickness-extra-large + ); + --system-progress-bar-size-xl-spacing-top-to-text: var( + --spectrum-component-top-to-text-300 + ); +} + +:host, +:root { + --system-progress-circle-track-border-color: var(--spectrum-gray-300); + --system-progress-circle-fill-border-color: var( + --spectrum-accent-content-color-default + ); + --system-progress-circle-track-border-color-over-background: var( + --spectrum-transparent-white-300 + ); + --system-progress-circle-fill-border-color-over-background: var( --spectrum-transparent-white-900 ); - --system-spectrum-button-staticwhite-border-color-default: transparent; - --system-spectrum-button-staticwhite-border-color-hover: transparent; - --system-spectrum-button-staticwhite-border-color-down: transparent; - --system-spectrum-button-staticwhite-border-color-focus: transparent; - --system-spectrum-button-staticwhite-content-color-default: var( - --spectrum-black + --system-progress-circle-size: var(--spectrum-progress-circle-size-medium); + --system-progress-circle-thickness: var( + --spectrum-progress-circle-thickness-medium + ); + --system-progress-circle-track-border-style: solid; + --system-progress-circle-small-size: var( + --spectrum-progress-circle-size-small + ); + --system-progress-circle-small-thickness: var( + --spectrum-progress-circle-thickness-small + ); + --system-progress-circle-medium-size: var( + --spectrum-progress-circle-size-medium + ); + --system-progress-circle-medium-thickness: var( + --spectrum-progress-circle-thickness-medium + ); + --system-progress-circle-large-size: var( + --spectrum-progress-circle-size-large + ); + --system-progress-circle-large-thickness: var( + --spectrum-progress-circle-thickness-large + ); +} + +:host, +:root { + --system-radio-button-border-color-default: var(--spectrum-gray-800); + --system-radio-button-border-color-hover: var(--spectrum-gray-900); + --system-radio-button-border-color-down: var(--spectrum-gray-900); + --system-radio-button-border-color-focus: var(--spectrum-gray-900); + --system-radio-neutral-content-color: var( + --spectrum-neutral-content-color-default + ); + --system-radio-neutral-content-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-radio-neutral-content-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-radio-neutral-content-color-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-radio-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-radio-focus-indicator-gap: var(--spectrum-focus-indicator-gap); + --system-radio-focus-indicator-color: var(--spectrum-focus-indicator-color); + --system-radio-disabled-content-color: var( + --spectrum-disabled-content-color + ); + --system-radio-disabled-border-color: var( + --spectrum-disabled-content-color + ); + --system-radio-emphasized-accent-color: var(--spectrum-accent-color-900); + --system-radio-emphasized-accent-color-hover: var( + --spectrum-accent-color-1000 + ); + --system-radio-emphasized-accent-color-down: var( + --spectrum-accent-color-1100 + ); + --system-radio-emphasized-accent-color-focus: var( + --spectrum-accent-color-1000 + ); + --system-radio-border-width: var(--spectrum-border-width-200); + --system-radio-button-background-color: var(--spectrum-gray-50); + --system-radio-button-checked-border-color-default: var( + --spectrum-neutral-background-color-selected-default + ); + --system-radio-button-checked-border-color-hover: var( + --spectrum-neutral-background-color-selected-hover + ); + --system-radio-button-checked-border-color-down: var( + --spectrum-neutral-background-color-selected-down + ); + --system-radio-button-checked-border-color-focus: var( + --spectrum-neutral-background-color-selected-focus + ); + --system-radio-line-height: var(--spectrum-line-height-100); + --system-radio-animation-duration: var(--spectrum-animation-duration-100); + --system-radio-lang-ja-line-height-cjk: var(--spectrum-cjk-line-height-100); + --system-radio-lang-zh-line-height-cjk: var(--spectrum-cjk-line-height-100); + --system-radio-lang-ko-line-height-cjk: var(--spectrum-cjk-line-height-100); + --system-radio-height: var(--spectrum-component-height-100); + --system-radio-size-m-height: var(--spectrum-component-height-100); + --system-radio-button-control-size: var( + --spectrum-radio-button-control-size-medium + ); + --system-radio-size-m-button-control-size: var( + --spectrum-radio-button-control-size-medium + ); + --system-radio-text-to-control: var(--spectrum-text-to-control-100); + --system-radio-size-m-text-to-control: var(--spectrum-text-to-control-100); + --system-radio-label-top-to-text: var(--spectrum-component-top-to-text-100); + --system-radio-size-m-label-top-to-text: var( + --spectrum-component-top-to-text-100 + ); + --system-radio-label-bottom-to-text: var( + --spectrum-component-bottom-to-text-100 + ); + --system-radio-size-m-label-bottom-to-text: var( + --spectrum-component-bottom-to-text-100 + ); + --system-radio-button-top-to-control: var( + --spectrum-radio-button-top-to-control-medium + ); + --system-radio-size-m-button-top-to-control: var( + --spectrum-radio-button-top-to-control-medium + ); + --system-radio-font-size: var(--spectrum-font-size-100); + --system-radio-size-m-font-size: var(--spectrum-font-size-100); + --system-radio-size-s-height: var(--spectrum-component-height-75); + --system-radio-size-s-button-control-size: var( + --spectrum-radio-button-control-size-small + ); + --system-radio-size-s-text-to-control: var(--spectrum-text-to-control-75); + --system-radio-size-s-label-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-radio-size-s-label-bottom-to-text: var( + --spectrum-component-bottom-to-text-75 + ); + --system-radio-size-s-button-top-to-control: var( + --spectrum-radio-button-top-to-control-small + ); + --system-radio-size-s-font-size: var(--spectrum-font-size-75); + --system-radio-size-l-height: var(--spectrum-component-height-200); + --system-radio-size-l-button-control-size: var( + --spectrum-radio-button-control-size-large + ); + --system-radio-size-l-text-to-control: var(--spectrum-text-to-control-200); + --system-radio-size-l-label-top-to-text: var( + --spectrum-component-top-to-text-200 + ); + --system-radio-size-l-label-bottom-to-text: var( + --spectrum-component-bottom-to-text-200 + ); + --system-radio-size-l-button-top-to-control: var( + --spectrum-radio-button-top-to-control-large + ); + --system-radio-size-l-font-size: var(--spectrum-font-size-200); + --system-radio-size-xl-height: var(--spectrum-component-height-300); + --system-radio-size-xl-button-control-size: var( + --spectrum-radio-button-control-size-extra-large + ); + --system-radio-size-xl-text-to-control: var(--spectrum-text-to-control-300); + --system-radio-size-xl-label-top-to-text: var( + --spectrum-component-top-to-text-300 + ); + --system-radio-size-xl-label-bottom-to-text: var( + --spectrum-component-bottom-to-text-300 + ); + --system-radio-size-xl-button-top-to-control: var( + --spectrum-radio-button-top-to-control-extra-large + ); + --system-radio-size-xl-font-size: var(--spectrum-font-size-300); + --system-radio-emphasized-button-checked-border-color-default: var( + --spectrum-accent-color-900 + ); + --system-radio-emphasized-button-checked-border-color-hover: var( + --spectrum-accent-color-1000 + ); + --system-radio-emphasized-button-checked-border-color-down: var( + --spectrum-accent-color-1100 + ); + --system-radio-emphasized-button-checked-border-color-focus: var( + --spectrum-accent-color-1000 + ); +} + +:host, +:root { + --system-search-border-color-default: var(--spectrum-gray-400); + --system-search-border-color-hover: var(--spectrum-gray-500); + --system-search-border-color-focus: var(--spectrum-gray-800); + --system-search-border-color-focus-hover: var(--spectrum-gray-900); + --system-search-border-color-key-focus: var(--spectrum-gray-900); + --system-search-inline-size: var(--spectrum-field-width); + --system-search-min-inline-multiplier: var( + --spectrum-search-field-minimum-width-multiplier + ); + --system-search-to-help-text: var(--spectrum-help-text-to-component); + --system-search-top-to-text: var(--spectrum-component-top-to-text-100); + --system-search-bottom-to-text: var( + --spectrum-component-bottom-to-text-100 + ); + --system-search-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-search-focus-indicator-gap: var(--spectrum-focus-indicator-gap); + --system-search-focus-indicator-color: var( + --spectrum-focus-indicator-color + ); + --system-search-font-family: var(--spectrum-sans-font-family-stack); + --system-search-font-weight: var(--spectrum-regular-font-weight); + --system-search-font-style: var(--spectrum-default-font-style); + --system-search-line-height: var(--spectrum-line-height-100); + --system-search-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-search-color-hover: var(--spectrum-neutral-content-color-hover); + --system-search-color-focus: var(--spectrum-neutral-content-color-focus); + --system-search-color-focus-hover: var( + --spectrum-neutral-content-color-focus-hover + ); + --system-search-color-key-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-search-border-width: var(--spectrum-border-width-100); + --system-search-background-color: var(--spectrum-gray-50); + --system-search-color-disabled: var(--spectrum-disabled-content-color); + --system-search-background-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-search-border-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-search-border-radius: calc( + var(--spectrum-component-height-100) / 2 + ); + --system-search-size-m-border-radius: calc( + var(--spectrum-component-height-100) / 2 + ); + --system-search-edge-to-visual: var( + --spectrum-component-pill-edge-to-visual-100 + ); + --system-search-size-m-edge-to-visual: var( + --spectrum-component-pill-edge-to-visual-100 + ); + --system-search-block-size: var(--spectrum-component-height-100); + --system-search-size-m-block-size: var(--spectrum-component-height-100); + --system-search-icon-size: var(--spectrum-workflow-icon-size-100); + --system-search-size-m-icon-size: var(--spectrum-workflow-icon-size-100); + --system-search-text-to-icon: var(--spectrum-text-to-visual-100); + --system-search-size-m-text-to-icon: var(--spectrum-text-to-visual-100); + --system-search-size-s-border-radius: calc( + var(--spectrum-component-height-75) / 2 + ); + --system-search-size-s-edge-to-visual: var( + --spectrum-component-pill-edge-to-visual-75 + ); + --system-search-size-s-block-size: var(--spectrum-component-height-75); + --system-search-size-s-icon-size: var(--spectrum-workflow-icon-size-75); + --system-search-size-s-text-to-icon: var(--spectrum-text-to-visual-75); + --system-search-size-l-border-radius: calc( + var(--spectrum-component-height-200) / 2 + ); + --system-search-size-l-edge-to-visual: var( + --spectrum-component-pill-edge-to-visual-200 + ); + --system-search-size-l-block-size: var(--spectrum-component-height-200); + --system-search-size-l-icon-size: var(--spectrum-workflow-icon-size-200); + --system-search-size-l-text-to-icon: var(--spectrum-text-to-visual-200); + --system-search-size-xl-border-radius: calc( + var(--spectrum-component-height-300) / 2 + ); + --system-search-size-xl-edge-to-visual: var( + --spectrum-component-pill-edge-to-visual-300 + ); + --system-search-size-xl-block-size: var(--spectrum-component-height-300); + --system-search-size-xl-icon-size: var(--spectrum-workflow-icon-size-300); + --system-search-size-xl-text-to-icon: var(--spectrum-text-to-visual-300); + --system-search-quiet-background-color: transparent; + --system-search-quiet-background-color-disabled: transparent; + --system-search-quiet-border-color-disabled: var( + --spectrum-disabled-border-color + ); + --system-search-quiet-border-radius: 0; + --system-search-quiet-edge-to-visual: var( + --spectrum-field-edge-to-visual-quiet + ); +} + +:host, +:root { + --system-side-nav-focus-ring-size: var( + --spectrum-focus-indicator-thickness + ); + --system-side-nav-focus-ring-gap: var(--spectrum-focus-indicator-gap); + --system-side-nav-focus-ring-color: var(--spectrum-focus-indicator-color); + --system-side-nav-min-height: var(--spectrum-component-height-100); + --system-side-nav-width: 100%; + --system-side-nav-min-width: var(--spectrum-side-navigation-minimum-width); + --system-side-nav-max-width: var(--spectrum-side-navigation-maximum-width); + --system-side-nav-border-radius: var(--spectrum-corner-radius-100); + --system-side-nav-icon-size: var(--spectrum-workflow-icon-size-100); + --system-side-nav-icon-spacing: var(--spectrum-text-to-visual-100); + --system-side-nav-inline-padding: var( + --spectrum-component-edge-to-text-100 + ); + --system-side-nav-gap: var(--spectrum-side-navigation-item-to-item); + --system-side-nav-top-to-icon: var( + --spectrum-component-top-to-workflow-icon-100 + ); + --system-side-nav-top-to-label: var(--spectrum-component-top-to-text-100); + --system-side-nav-bottom-to-label: var( + --spectrum-side-navigation-bottom-to-text + ); + --system-side-nav-start-to-content-second-level: var( + --spectrum-side-navigation-second-level-edge-to-text + ); + --system-side-nav-start-to-content-third-level: var( + --spectrum-side-navigation-third-level-edge-to-text + ); + --system-side-nav-start-to-content-with-icon-second-level: var( + --spectrum-side-navigation-with-icon-second-level-edge-to-text + ); + --system-side-nav-start-to-content-with-icon-third-level: var( + --spectrum-side-navigation-with-icon-third-level-edge-to-text + ); + --system-side-nav-heading-top-margin: var( + --spectrum-side-navigation-item-to-header + ); + --system-side-nav-heading-bottom-margin: var( + --spectrum-side-navigation-header-to-item + ); + --system-side-nav-background-disabled: transparent; + --system-side-nav-background-default: transparent; + --system-side-nav-background-hover: var(--spectrum-gray-200); + --system-side-nav-item-background-down: var(--spectrum-gray-300); + --system-side-nav-background-key-focus: var(--spectrum-gray-200); + --system-side-nav-item-background-default-selected: var( + --spectrum-gray-200 + ); + --system-side-nav-background-hover-selected: var(--spectrum-gray-300); + --system-side-nav-item-background-down-selected: var(--spectrum-gray-300); + --system-side-nav-background-key-focus-selected: var(--spectrum-gray-200); + --system-side-nav-header-color: var(--spectrum-gray-600); + --system-side-nav-content-disabled-color: var( + --spectrum-disabled-content-color + ); + --system-side-nav-content-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-side-nav-content-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-side-nav-content-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-side-nav-content-color-key-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-side-nav-content-color-default-selected: var( + --spectrum-neutral-content-color-default + ); + --system-side-nav-content-color-hover-selected: var( + --spectrum-neutral-content-color-hover + ); + --system-side-nav-content-color-down-selected: var( + --spectrum-neutral-content-color-down + ); + --system-side-nav-content-color-key-focus-selected: var( + --spectrum-neutral-content-color-key-focus + ); + --system-side-nav-text-font-family: var(--spectrum-sans-font-family-stack); + --system-side-nav-text-font-weight: var(--spectrum-regular-font-weight); + --system-side-nav-text-font-style: var(--spectrum-default-font-style); + --system-side-nav-text-font-size: var(--spectrum-font-size-100); + --system-side-nav-text-line-height: var(--spectrum-line-height-100); + --system-side-nav-top-level-font-family: var( + --spectrum-sans-font-family-stack + ); + --system-side-nav-top-level-font-weight: var(--spectrum-bold-font-weight); + --system-side-nav-top-level-font-style: var(--spectrum-default-font-style); + --system-side-nav-top-level-font-size: var(--spectrum-font-size-100); + --system-side-nav-top-level-line-height: var(--spectrum-line-height-100); + --system-side-nav-header-font-family: var( + --spectrum-sans-font-family-stack + ); + --system-side-nav-header-font-weight: var(--spectrum-medium-font-weight); + --system-side-nav-header-font-style: var(--spectrum-default-font-style); + --system-side-nav-header-font-size: var(--spectrum-font-size-75); + --system-side-nav-header-line-height: var(--spectrum-line-height-100); + --system-side-nav-lang-ja-text-line-height: var( + --spectrum-cjk-line-height-100 + ); + --system-side-nav-lang-zh-text-line-height: var( + --spectrum-cjk-line-height-100 + ); + --system-side-nav-lang-ko-text-line-height: var( + --spectrum-cjk-line-height-100 + ); + --system-side-nav-lang-ja-top-level-line-height: var( + --spectrum-cjk-line-height-100 + ); + --system-side-nav-lang-zh-top-level-line-height: var( + --spectrum-cjk-line-height-100 + ); + --system-side-nav-lang-ko-top-level-line-height: var( + --spectrum-cjk-line-height-100 + ); + --system-side-nav-lang-ja-header-line-height: var( + --spectrum-cjk-line-height-100 + ); + --system-side-nav-lang-zh-header-line-height: var( + --spectrum-cjk-line-height-100 + ); + --system-side-nav-lang-ko-header-line-height: var( + --spectrum-cjk-line-height-100 + ); +} + +:host, +:root { + --system-slider-track-color: var(--spectrum-gray-200); + --system-slider-track-fill-color: var(--spectrum-gray-600); + --system-slider-ramp-track-color: var(--spectrum-gray-300); + --system-slider-ramp-track-color-disabled: var(--spectrum-gray-200); + --system-slider-handle-background-color: var(--spectrum-gray-50); + --system-slider-handle-background-color-disabled: var(--spectrum-gray-50); + --system-slider-ramp-handle-background-color: var(--spectrum-gray-50); + --system-slider-ticks-handle-background-color: var(--spectrum-gray-50); + --system-slider-handle-border-color: var(--spectrum-gray-800); + --system-slider-handle-disabled-background-color: var(--spectrum-gray-50); + --system-slider-tick-mark-color: var(--spectrum-gray-200); + --system-slider-handle-border-color-hover: var(--spectrum-gray-900); + --system-slider-handle-border-color-down: var(--spectrum-gray-900); + --system-slider-handle-border-color-key-focus: var(--spectrum-gray-900); + --system-slider-handle-focus-ring-color-key-focus: var( + --spectrum-focus-indicator-color + ); + --system-slider-value-inline-size: 18px; + --system-slider-ramp-track-block-size: var( + --spectrum-slider-ramp-track-height + ); + --system-slider-cjk-line-height: var(--spectrum-cjk-line-height-100); + --system-slider-min-size: var(--spectrum-spacing-900); + --system-slider-track-corner-radius: var(--spectrum-corner-radius-75); + --system-slider-label-margin-start: var(--spectrum-spacing-300); + --system-slider-handle-border-width: var(--spectrum-border-width-200); + --system-slider-track-fill-thickness: var( + --spectrum-slider-track-thickness + ); + --system-slider-tick-mark-width: var(--spectrum-border-width-200); + --system-slider-tick-mark-border-radius: 2px; + --system-slider-tick-handle-background-color: var(--spectrum-gray-75); + --system-slider-track-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-slider-track-fill-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-slider-handle-border-color-disabled: var( + --spectrum-disabled-border-color + ); + --system-slider-label-text-color: var( + --spectrum-neutral-content-color-default + ); + --system-slider-tick-label-color: var( + --spectrum-neutral-content-color-default + ); + --system-slider-label-text-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-slider-tick-mark-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-slider-ramp-handle-border-color-active: var(--spectrum-gray-75); + --system-slider-track-handleoffset: var(--spectrum-slider-handle-gap); + --system-slider-range-track-reset: 0; + --system-slider-font-size: var(--spectrum-font-size-75); + --system-slider-size-m-font-size: var(--spectrum-font-size-75); + --system-slider-handle-size: var(--spectrum-slider-handle-size-medium); + --system-slider-size-m-handle-size: var( + --spectrum-slider-handle-size-medium + ); + --system-slider-control-height: var(--spectrum-component-height-100); + --system-slider-size-m-control-height: var(--spectrum-component-height-100); + --system-slider-handle-border-radius: var(--spectrum-corner-radius-200); + --system-slider-size-m-handle-border-radius: var( + --spectrum-corner-radius-200 + ); + --system-slider-handle-border-width-down: var( + --spectrum-slider-handle-border-width-down-medium + ); + --system-slider-size-m-handle-border-width-down: var( + --spectrum-slider-handle-border-width-down-medium + ); + --system-slider-label-top-to-text: var(--spectrum-component-top-to-text-75); + --system-slider-size-m-label-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-slider-control-to-field-label: var( + --spectrum-slider-control-to-field-label-medium + ); + --system-slider-size-m-control-to-field-label: var( + --spectrum-slider-control-to-field-label-medium + ); + --system-slider-value-side-padding-inline: var(--spectrum-spacing-200); + --system-slider-size-m-value-side-padding-inline: var( + --spectrum-spacing-200 + ); + --system-slider-size-s-font-size: var(--spectrum-font-size-75); + --system-slider-size-s-handle-size: var( + --spectrum-slider-handle-size-small + ); + --system-slider-size-s-control-height: var(--spectrum-component-height-75); + --system-slider-size-s-handle-border-radius: var( + --spectrum-corner-radius-200 + ); + --system-slider-size-s-handle-border-width-down: var( + --spectrum-slider-handle-border-width-down-small + ); + --system-slider-size-s-label-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-slider-size-s-control-to-field-label: var( + --spectrum-slider-control-to-field-label-small + ); + --system-slider-size-s-value-side-padding-inline: var( + --spectrum-spacing-100 + ); + --system-slider-size-l-font-size: var(--spectrum-font-size-100); + --system-slider-size-l-handle-size: var( + --spectrum-slider-handle-size-large + ); + --system-slider-size-l-control-height: var(--spectrum-component-height-200); + --system-slider-size-l-handle-border-radius: calc( + var(--spectrum-corner-radius-200) * 4 + ); + --system-slider-size-l-handle-border-width-down: var( + --spectrum-slider-handle-border-width-down-large + ); + --system-slider-size-l-label-top-to-text: var( + --spectrum-component-top-to-text-100 + ); + --system-slider-size-l-control-to-field-label: var( + --spectrum-slider-control-to-field-label-large + ); + --system-slider-size-l-value-side-padding-inline: var( + --spectrum-spacing-200 + ); + --system-slider-size-l-value-inline-size: 18px; + --system-slider-size-xl-font-size: var(--spectrum-font-size-200); + --system-slider-size-xl-handle-size: var( + --spectrum-slider-handle-size-extra-large + ); + --system-slider-size-xl-control-height: var( + --spectrum-component-height-300 + ); + --system-slider-size-xl-handle-border-radius: calc( + var(--spectrum-corner-radius-200) * 4 + ); + --system-slider-size-xl-handle-border-width-down: var( + --spectrum-slider-handle-border-width-down-extra-large + ); + --system-slider-size-xl-label-top-to-text: var( + --spectrum-component-top-to-text-200 + ); + --system-slider-size-xl-control-to-field-label: var( + --spectrum-slider-control-to-field-label-extra-large + ); + --system-slider-size-xl-value-side-padding-inline: var( + --spectrum-spacing-200 + ); + --system-slider-size-xl-value-inline-size: 22px; +} + +:host, +:root { + --system-split-view-vertical-width: 100%; + --system-split-view-vertical-gripper-width: 50%; + --system-split-view-vertical-gripper-outer-width: 100%; + --system-split-view-vertical-gripper-reset: 0; + --system-split-view-background-color: var(--spectrum-gray-100); + --system-split-view-content-color: var(--spectrum-body-color); + --system-split-view-handle-background-color: var(--spectrum-gray-300); + --system-split-view-handle-background-color-hover: var(--spectrum-gray-400); + --system-split-view-handle-background-color-down: var(--spectrum-gray-800); + --system-split-view-handle-background-color-focus: var( + --spectrum-focus-indicator-color + ); + --system-split-view-handle-width: var(--spectrum-border-width-200); + --system-split-view-gripper-border-radius: var(--spectrum-corner-radius-75); + --system-split-view-gripper-width: var(--spectrum-border-width-400); + --system-split-view-gripper-height: 16px; + --system-split-view-gripper-border-width-horizontal: 3px; + --system-split-view-gripper-border-width-vertical: var( + --spectrum-border-width-400 + ); +} + +:host, +:root { + --system-status-light-corner-radius: 50%; + --system-status-light-font-weight: 400; + --system-status-light-border-width: var(--spectrum-border-width-100); + --system-status-light-line-height: var(--spectrum-line-height-100); + --system-status-light-line-height-cjk: var(--spectrum-cjk-line-height-100); + --system-status-light-content-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-status-light-subdued-content-color-default: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-status-light-semantic-neutral-color: var( + --spectrum-neutral-visual-color + ); + --system-status-light-semantic-accent-color: var( + --spectrum-accent-visual-color + ); + --system-status-light-semantic-negative-color: var( + --spectrum-negative-visual-color + ); + --system-status-light-semantic-info-color: var( + --spectrum-informative-visual-color + ); + --system-status-light-semantic-notice-color: var( + --spectrum-notice-visual-color + ); + --system-status-light-semantic-positive-color: var( + --spectrum-positive-visual-color + ); + --system-status-light-nonsemantic-gray-color: var( + --spectrum-gray-visual-color + ); + --system-status-light-nonsemantic-red-color: var( + --spectrum-red-visual-color + ); + --system-status-light-nonsemantic-orange-color: var( + --spectrum-orange-visual-color + ); + --system-status-light-nonsemantic-yellow-color: var( + --spectrum-yellow-visual-color + ); + --system-status-light-nonsemantic-chartreuse-color: var( + --spectrum-chartreuse-visual-color + ); + --system-status-light-nonsemantic-celery-color: var( + --spectrum-celery-visual-color + ); + --system-status-light-nonsemantic-green-color: var( + --spectrum-green-visual-color + ); + --system-status-light-nonsemantic-seafoam-color: var( + --spectrum-seafoam-visual-color + ); + --system-status-light-nonsemantic-cyan-color: var( + --spectrum-cyan-visual-color + ); + --system-status-light-nonsemantic-blue-color: var( + --spectrum-blue-visual-color + ); + --system-status-light-nonsemantic-indigo-color: var( + --spectrum-indigo-visual-color + ); + --system-status-light-nonsemantic-purple-color: var( + --spectrum-purple-visual-color + ); + --system-status-light-nonsemantic-fuchsia-color: var( + --spectrum-fuchsia-visual-color + ); + --system-status-light-nonsemantic-magenta-color: var( + --spectrum-magenta-visual-color + ); + --system-status-light-height: var(--spectrum-component-height-100); + --system-status-light-size-m-height: var(--spectrum-component-height-100); + --system-status-light-dot-size: var( + --spectrum-status-light-dot-size-medium + ); + --system-status-light-size-m-dot-size: var( + --spectrum-status-light-dot-size-medium + ); + --system-status-light-font-size: var(--spectrum-font-size-100); + --system-status-light-size-m-font-size: var(--spectrum-font-size-100); + --system-status-light-spacing-dot-to-label: var( + --spectrum-text-to-visual-100 + ); + --system-status-light-size-m-spacing-dot-to-label: var( + --spectrum-text-to-visual-100 + ); + --system-status-light-spacing-top-to-dot: var( + --spectrum-status-light-top-to-dot-medium + ); + --system-status-light-size-m-spacing-top-to-dot: var( + --spectrum-status-light-top-to-dot-medium + ); + --system-status-light-spacing-top-to-label: var( + --spectrum-component-top-to-text-100 + ); + --system-status-light-size-m-spacing-top-to-label: var( + --spectrum-component-top-to-text-100 + ); + --system-status-light-spacing-bottom-to-label: var( + --spectrum-component-bottom-to-text-100 + ); + --system-status-light-size-m-spacing-bottom-to-label: var( + --spectrum-component-bottom-to-text-100 + ); + --system-status-light-size-s-height: var(--spectrum-component-height-75); + --system-status-light-size-s-dot-size: var( + --spectrum-status-light-dot-size-small + ); + --system-status-light-size-s-font-size: var(--spectrum-font-size-75); + --system-status-light-size-s-spacing-dot-to-label: var( + --spectrum-text-to-visual-75 + ); + --system-status-light-size-s-spacing-top-to-dot: var( + --spectrum-status-light-top-to-dot-small + ); + --system-status-light-size-s-spacing-top-to-label: var( + --spectrum-component-top-to-text-75 + ); + --system-status-light-size-s-spacing-bottom-to-label: var( + --spectrum-component-bottom-to-text-75 + ); + --system-status-light-size-l-height: var(--spectrum-component-height-200); + --system-status-light-size-l-dot-size: var( + --spectrum-status-light-dot-size-large + ); + --system-status-light-size-l-font-size: var(--spectrum-font-size-200); + --system-status-light-size-l-spacing-dot-to-label: var( + --spectrum-text-to-visual-200 + ); + --system-status-light-size-l-spacing-top-to-dot: var( + --spectrum-status-light-top-to-dot-large + ); + --system-status-light-size-l-spacing-top-to-label: var( + --spectrum-component-top-to-text-200 + ); + --system-status-light-size-l-spacing-bottom-to-label: var( + --spectrum-component-bottom-to-text-200 + ); + --system-status-light-size-xl-height: var(--spectrum-component-height-300); + --system-status-light-size-xl-dot-size: var( + --spectrum-status-light-dot-size-extra-large + ); + --system-status-light-size-xl-font-size: var(--spectrum-font-size-300); + --system-status-light-size-xl-spacing-dot-to-label: var( + --spectrum-text-to-visual-300 + ); + --system-status-light-size-xl-spacing-top-to-dot: var( + --spectrum-status-light-top-to-dot-extra-large + ); + --system-status-light-size-xl-spacing-top-to-label: var( + --spectrum-component-top-to-text-300 + ); + --system-status-light-size-xl-spacing-bottom-to-label: var( + --spectrum-component-bottom-to-text-300 + ); +} + +:host, +:root { + --system-stepper-border-width: var(--spectrum-border-width-200); + --system-stepper-border-color: var(--spectrum-gray-400); + --system-stepper-border-color-hover: var(--spectrum-gray-500); + --system-stepper-border-color-focus: var(--spectrum-gray-800); + --system-stepper-border-color-focus-hover: var(--spectrum-gray-900); + --system-stepper-border-color-keyboard-focus: var(--spectrum-gray-900); + --system-stepper-border-radius: var(--spectrum-corner-radius-100); + --system-stepper-min-width-multiplier: var( + --spectrum-text-field-minimum-width-multiplier + ); + --system-stepper-animation-duration: var(--spectrum-animation-duration-100); + --system-stepper-buttons-border-style: solid; + --system-stepper-buttons-border-width: var(--spectrum-border-width-200); + --system-stepper-buttons-background-color: var(--spectrum-gray-50); + --system-stepper-buttons-border-color: transparent; + --system-stepper-buttons-border-color-hover: transparent; + --system-stepper-buttons-border-color-focus: transparent; + --system-stepper-buttons-border-color-keyboard-focus: transparent; + --system-stepper-button-padding: var( + --spectrum-in-field-button-edge-to-fill + ); + --system-stepper-button-border-radius-reset: var( + --spectrum-in-field-button-fill-stacked-inner-border-rounding + ); + --system-stepper-button-border-width: 0; + --system-stepper-border-color-invalid: transparent; + --system-stepper-border-color-hover-invalid: transparent; + --system-stepper-border-color-focus-invalid: transparent; + --system-stepper-border-color-focus-hover-invalid: transparent; + --system-stepper-border-color-keyboard-focus-invalid: transparent; + --system-stepper-focus-indicator-width: var( + --spectrum-focus-indicator-thickness + ); + --system-stepper-focus-indicator-gap: var(--spectrum-focus-indicator-gap); + --system-stepper-focus-indicator-color: var( + --spectrum-focus-indicator-color + ); + --system-stepper-button-border-color-disabled: var(--spectrum-gray-200); + --system-stepper-button-border-width-disabled: 0; + --system-stepper-buttons-background-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-stepper-button-width: var( + --spectrum-in-field-button-width-stacked-medium + ); + --system-stepper-size-m-button-width: var( + --spectrum-in-field-button-width-stacked-medium + ); + --system-stepper-height: var(--spectrum-component-height-100); + --system-stepper-size-m-height: var(--spectrum-component-height-100); + --system-stepper-size-s-button-width: var( + --spectrum-in-field-button-width-stacked-small + ); + --system-stepper-size-s-height: var(--spectrum-component-height-75); + --system-stepper-size-l-button-width: var( + --spectrum-in-field-button-width-stacked-large + ); + --system-stepper-size-l-height: var(--spectrum-component-height-200); + --system-stepper-size-xl-button-width: var( + --spectrum-in-field-button-width-stacked-extra-large + ); + --system-stepper-size-xl-height: var(--spectrum-component-height-300); + --system-stepper-button-background-color-keyboard-focus: var( + --spectrum-gray-300 + ); + --system-stepper-button-background-color-focus: var(--spectrum-gray-400); +} + +:host, +:root { + --system-swatch-border-radius: var(--spectrum-corner-radius-100); + --system-swatch-focus-indicator-border-radius: var( + --spectrum-corner-radius-200 + ); + --system-swatch-border-thickness: var(--spectrum-border-width-100); + --system-swatch-border-thickness-selected: var(--spectrum-border-width-200); + --system-swatch-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-swatch-focus-indicator-gap: var(--spectrum-focus-indicator-gap); + --system-swatch-border-color-opacity: 0.51; + --system-swatch-border-color-light-opacity: 0.2; + --system-swatch-border-color: rgba( + var(--spectrum-gray-900-rgb), + var(--system-swatch-border-color-opacity) + ); + --system-swatch-icon-border-color: rgba( + var(--spectrum-black-rgb), + var(--system-swatch-border-color-opacity) + ); + --system-swatch-border-color-light: rgba( + var(--spectrum-black-rgb), + var(--system-swatch-border-color-light-opacity) + ); + --system-swatch-border-color-selected: var(--spectrum-gray-900); + --system-swatch-inner-border-color-selected: var(--spectrum-gray-50); + --system-swatch-disabled-icon-color: var(--spectrum-gray-50); + --system-swatch-dash-icon-color: var(--spectrum-gray-800); + --system-swatch-slash-icon-color: var(--spectrum-red-900); + --system-swatch-focus-indicator-color: var( + --spectrum-focus-indicator-color + ); + --system-swatch-size: var(--spectrum-swatch-size-medium); + --system-swatch-size-m-size: var(--spectrum-swatch-size-medium); + --system-swatch-disabled-icon-size: var(--spectrum-workflow-icon-size-100); + --system-swatch-size-m-disabled-icon-size: var( + --spectrum-workflow-icon-size-100 + ); + --system-swatch-slash-thickness: var( + --spectrum-swatch-slash-thickness-medium + ); + --system-swatch-size-m-slash-thickness: var( + --spectrum-swatch-slash-thickness-medium + ); + --system-swatch-size-xs-size: var(--spectrum-swatch-size-extra-small); + --system-swatch-size-xs-disabled-icon-size: var( + --spectrum-workflow-icon-size-50 + ); + --system-swatch-size-xs-slash-thickness: var( + --spectrum-swatch-slash-thickness-extra-small + ); + --system-swatch-size-s-size: var(--spectrum-swatch-size-small); + --system-swatch-size-s-disabled-icon-size: var( + --spectrum-workflow-icon-size-75 + ); + --system-swatch-size-s-slash-thickness: var( + --spectrum-swatch-slash-thickness-small + ); + --system-swatch-size-l-size: var(--spectrum-swatch-size-large); + --system-swatch-size-l-disabled-icon-size: var( + --spectrum-workflow-icon-size-200 + ); + --system-swatch-size-l-slash-thickness: var( + --spectrum-swatch-slash-thickness-large + ); +} + +:host, +:root { + --system-swatch-group-spacing-compact: var(--spectrum-spacing-50); + --system-swatch-group-spacing-regular: var(--spectrum-spacing-75); + --system-swatch-group-spacing-spacious: var(--spectrum-spacing-100); +} + +:host, +:root { + --system-opacity-checkerboard-dark: var( + --spectrum-opacity-checkerboard-square-dark + ); + --system-opacity-checkerboard-light: var( + --spectrum-opacity-checkerboard-square-light + ); + --system-opacity-checkerboard-size: var( + --spectrum-opacity-checkerboard-square-size + ); + --system-opacity-checkerboard-position: left top; +} + +:host, +:root { + --system-switch-handle-border-color-default: var(--spectrum-gray-800); + --system-switch-handle-border-color-hover: var(--spectrum-gray-900); + --system-switch-handle-border-color-down: var(--spectrum-gray-900); + --system-switch-handle-border-color-focus: var(--spectrum-gray-900); + --system-switch-handle-border-color-selected-default: var( + --spectrum-gray-800 + ); + --system-switch-handle-border-color-selected-hover: var( + --spectrum-gray-900 + ); + --system-switch-handle-border-color-selected-down: var(--spectrum-gray-900); + --system-switch-handle-border-color-selected-focus: var( + --spectrum-gray-900 + ); + --system-switch-label-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-switch-label-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-switch-label-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-switch-label-color-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-switch-label-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-switch-background-color: var(--spectrum-gray-300); + --system-switch-background-color-disabled: var(--spectrum-gray-300); + --system-switch-background-color-selected-disabled: var( + --spectrum-disabled-content-color + ); + --system-switch-background-color-selected-default: var( + --spectrum-neutral-background-color-selected-default + ); + --system-switch-background-color-selected-hover: var( + --spectrum-neutral-background-color-selected-hover + ); + --system-switch-background-color-selected-down: var( + --spectrum-neutral-background-color-selected-down + ); + --system-switch-background-color-selected-focus: var( + --spectrum-neutral-background-color-selected-key-focus + ); + --system-switch-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-switch-focus-indicator-color: var( + --spectrum-focus-indicator-color + ); + --system-switch-handle-background-color: var(--spectrum-gray-75); + --system-switch-handle-border-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-switch-disabled-label-color-default: var( + --spectrum-disabled-content-color + ); + --system-switch-emphasized-background-color-selected-default: var( + --spectrum-accent-color-900 + ); + --system-switch-emphasized-background-color-selected-hover: var( + --spectrum-accent-color-1000 + ); + --system-switch-emphasized-background-color-selected-down: var( + --spectrum-accent-color-1100 + ); + --system-switch-emphasized-background-color-selected-focus: var( + --spectrum-accent-color-1000 + ); + --system-switch-emphasized-handle-border-color-selected-default: var( + --spectrum-accent-color-900 + ); + --system-switch-emphasized-handle-border-color-selected-hover: var( + --spectrum-accent-color-1000 + ); + --system-switch-emphasized-handle-border-color-selected-down: var( + --spectrum-accent-color-1100 + ); + --system-switch-emphasized-handle-border-color-selected-focus: var( + --spectrum-accent-color-1000 + ); + --system-switch-min-height: var(--spectrum-component-height-100); + --system-switch-size-m-min-height: var(--spectrum-component-height-100); + --system-switch-control-width: var(--spectrum-switch-control-width-medium); + --system-switch-size-m-control-width: var( + --spectrum-switch-control-width-medium + ); + --system-switch-control-height: var( + --spectrum-switch-control-height-medium + ); + --system-switch-size-m-control-height: var( + --spectrum-switch-control-height-medium + ); + --system-switch-control-label-spacing: var(--spectrum-text-to-control-100); + --system-switch-size-m-control-label-spacing: var( + --spectrum-text-to-control-100 + ); + --system-switch-spacing-top-to-control: var( + --spectrum-switch-top-to-control-medium + ); + --system-switch-size-m-spacing-top-to-control: var( + --spectrum-switch-top-to-control-medium + ); + --system-switch-spacing-top-to-label: var( + --spectrum-component-top-to-text-100 + ); + --system-switch-size-m-spacing-top-to-label: var( + --spectrum-component-top-to-text-100 + ); + --system-switch-font-size: var(--spectrum-font-size-100); + --system-switch-size-m-font-size: var(--spectrum-font-size-100); + --system-switch-size-s-min-height: var(--spectrum-component-height-75); + --system-switch-size-s-control-width: var( + --spectrum-switch-control-width-small + ); + --system-switch-size-s-control-height: var( + --spectrum-switch-control-height-small + ); + --system-switch-size-s-control-label-spacing: var( + --spectrum-text-to-control-75 + ); + --system-switch-size-s-spacing-top-to-control: var( + --spectrum-switch-top-to-control-small + ); + --system-switch-size-s-spacing-top-to-label: var( + --spectrum-component-top-to-text-75 + ); + --system-switch-size-s-font-size: var(--spectrum-font-size-75); + --system-switch-size-l-min-height: var(--spectrum-component-height-200); + --system-switch-size-l-control-width: var( + --spectrum-switch-control-width-large + ); + --system-switch-size-l-control-height: var( + --spectrum-switch-control-height-large + ); + --system-switch-size-l-control-label-spacing: var( + --spectrum-text-to-control-200 + ); + --system-switch-size-l-spacing-top-to-control: var( + --spectrum-switch-top-to-control-large + ); + --system-switch-size-l-spacing-top-to-label: var( + --spectrum-component-top-to-text-200 + ); + --system-switch-size-l-font-size: var(--spectrum-font-size-200); + --system-switch-size-xl-min-height: var(--spectrum-component-height-300); + --system-switch-size-xl-control-width: var( + --spectrum-switch-control-width-extra-large + ); + --system-switch-size-xl-control-height: var( + --spectrum-switch-control-height-extra-large + ); + --system-switch-size-xl-control-label-spacing: var( + --spectrum-text-to-control-300 + ); + --system-switch-size-xl-spacing-top-to-control: var( + --spectrum-switch-top-to-control-extra-large + ); + --system-switch-size-xl-spacing-top-to-label: var( + --spectrum-component-top-to-text-300 + ); + --system-switch-size-xl-font-size: var(--spectrum-font-size-300); +} + +:host, +:root { + --system-table-header-top-to-text: var( + --spectrum-table-column-header-row-top-to-text-medium + ); + --system-table-header-bottom-to-text: var( + --spectrum-table-column-header-row-bottom-to-text-medium + ); + --system-table-min-header-height: var(--spectrum-component-height-100); + --system-table-min-row-height: var( + --spectrum-table-row-height-medium-regular + ); + --system-table-row-top-to-text: var( + --spectrum-table-row-top-to-text-medium-regular + ); + --system-table-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-medium-regular + ); + --system-table-cell-inline-space: var(--spectrum-table-edge-to-content); + --system-table-border-radius: var(--spectrum-corner-radius-100); + --system-table-border-width: var(--spectrum-table-border-divider-width); + --system-table-outer-border-inline-width: var( + --spectrum-table-border-divider-width + ); + --system-table-icon-to-text: var(--spectrum-text-to-visual-100); + --system-table-default-vertical-align: top; + --system-table-header-vertical-align: middle; + --system-table-header-font-weight: var(--spectrum-bold-font-weight); + --system-table-row-font-family: var(--spectrum-sans-font-family-stack); + --system-table-row-font-weight: var(--spectrum-regular-font-weight); + --system-table-row-font-style: var(--spectrum-default-font-style); + --system-table-row-font-size: var(--spectrum-font-size-100); + --system-table-row-line-height: var(--spectrum-line-height-100); + --system-table-border-color: var(--spectrum-gray-300); + --system-table-divider-color: var(--spectrum-gray-300); + --system-table-header-background-color: var( + --spectrum-transparent-white-100 + ); + --system-table-header-text-color: var(--spectrum-body-color); + --system-table-row-background-color: var(--spectrum-gray-50); + --system-table-row-text-color: var( + --spectrum-neutral-content-color-default + ); + --system-table-selected-row-background-color: rgba( + var(--spectrum-blue-900-rgb), + var(--spectrum-table-selected-row-background-opacity) + ); + --system-table-selected-row-background-color-non-emphasized: rgba( + var(--spectrum-gray-700-rgb), + var(--spectrum-table-selected-row-background-opacity-non-emphasized) + ); + --system-table-row-background-color-hover: rgba( + var(--spectrum-gray-900-rgb), + var(--spectrum-table-row-hover-opacity) + ); + --system-table-row-active-color: rgba( + var(--spectrum-gray-900-rgb), + var(--spectrum-table-row-down-opacity) + ); + --system-table-selected-row-background-color-focus: rgba( + var(--spectrum-blue-900-rgb), + var(--spectrum-table-selected-row-background-opacity-hover) + ); + --system-table-selected-row-background-color-non-emphasized-focus: rgba( + var(--spectrum-gray-700-rgb), + var( + --spectrum-table-selected-row-background-opacity-non-emphasized-hover + ) + ); + --system-table-icon-color-default: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-table-icon-color-hover: var( + --spectrum-neutral-subdued-content-color-hover + ); + --system-table-icon-color-active: var( + --spectrum-neutral-subdued-content-color-down + ); + --system-table-icon-color-focus: var( + --spectrum-neutral-subdued-content-color-focus + ); + --system-table-icon-color-focus-hover: var( + --spectrum-neutral-subdued-content-focus-hover ); - --system-spectrum-button-staticwhite-content-color-hover: var( - --spectrum-black + --system-table-icon-color-key-focus: var( + --spectrum-neutral-subdued-content-color-key-focus ); - --system-spectrum-button-staticwhite-content-color-down: var( - --spectrum-black + --system-table-header-checkbox-block-spacing: var( + --spectrum-table-header-row-checkbox-to-top-medium ); - --system-spectrum-button-staticwhite-content-color-focus: var( - --spectrum-black + --system-table-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-medium-regular ); - --system-spectrum-button-staticwhite-focus-indicator-color: var( - --spectrum-static-white-focus-indicator-color + --system-table-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness ); - --system-spectrum-button-staticwhite-background-color-disabled: var( - --spectrum-disabled-static-white-background-color + --system-table-focus-indicator-color: var(--spectrum-focus-indicator-color); + --system-table-drop-zone-background-color: rgba( + var(--spectrum-drop-zone-background-color-rgb), + var(--spectrum-drop-zone-background-color-opacity) ); - --system-spectrum-button-staticwhite-border-color-disabled: transparent; - --system-spectrum-button-staticwhite-content-color-disabled: var( - --spectrum-disabled-static-white-content-color + --system-table-drop-zone-outline-color: var(--spectrum-accent-visual-color); + --system-table-transition-duration: var(--spectrum-animation-duration-100); + --system-table-summary-row-font-weight: var(--spectrum-bold-font-weight); + --system-table-summary-row-background-color: var(--spectrum-gray-200); + --system-table-section-header-min-height: var( + --spectrum-table-section-header-row-height-medium ); - --system-spectrum-button-staticwhite-outline-background-color-default: transparent; - --system-spectrum-button-staticwhite-outline-background-color-hover: var( - --spectrum-transparent-white-300 + --system-table-section-header-block-start-spacing: var( + --spectrum-component-top-to-text-100 ); - --system-spectrum-button-staticwhite-outline-background-color-down: var( - --spectrum-transparent-white-400 + --system-table-section-header-block-end-spacing: var( + --spectrum-component-bottom-to-text-100 ); - --system-spectrum-button-staticwhite-outline-background-color-focus: var( - --spectrum-transparent-white-300 + --system-table-section-header-font-weight: var(--spectrum-bold-font-weight); + --system-table-section-header-background-color: var(--spectrum-gray-200); + --system-table-collapsible-tier-indent: var(--spectrum-spacing-300); + --system-table-collapsible-disclosure-inline-spacing: 0px; + --system-table-disclosure-icon-size: var(--spectrum-component-height-100); + --system-table-collapsible-icon-animation-duration: var( + --spectrum-animation-duration-100 ); - --system-spectrum-button-staticwhite-outline-border-color-default: var( - --spectrum-transparent-white-800 + --system-table-thumbnail-to-text: var(--spectrum-text-to-visual-100); + --system-table-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-medium-regular ); - --system-spectrum-button-staticwhite-outline-border-color-hover: var( - --spectrum-transparent-white-900 + --system-table-thumbnail-size: var(--spectrum-thumbnail-size-300); + --system-table-cell-background-color: var( + --system-table-row-background-color ); - --system-spectrum-button-staticwhite-outline-border-color-down: var( - --spectrum-transparent-white-900 + --system-table-selected-cell-background-color: var( + --system-table-selected-row-background-color-non-emphasized ); - --system-spectrum-button-staticwhite-outline-border-color-focus: var( - --spectrum-transparent-white-900 + --system-table-selected-cell-background-color-focus: var( + --system-table-selected-row-background-color-non-emphasized-focus ); - --system-spectrum-button-staticwhite-outline-content-color-default: var( - --spectrum-white + --system-table-size-s-min-header-height: var( + --spectrum-component-height-100 ); - --system-spectrum-button-staticwhite-outline-content-color-hover: var( - --spectrum-white + --system-table-size-s-header-top-to-text: var( + --spectrum-table-column-header-row-top-to-text-small ); - --system-spectrum-button-staticwhite-outline-content-color-down: var( - --spectrum-white + --system-table-size-s-header-bottom-to-text: var( + --spectrum-table-column-header-row-bottom-to-text-small ); - --system-spectrum-button-staticwhite-outline-content-color-focus: var( - --spectrum-white + --system-table-size-s-min-row-height: var( + --spectrum-table-row-height-small-regular ); - --system-spectrum-button-staticwhite-outline-focus-indicator-color: var( - --spectrum-static-white-focus-indicator-color + --system-table-size-s-row-top-to-text: var( + --spectrum-table-row-top-to-text-small-regular ); - --system-spectrum-button-staticwhite-outline-background-color-disabled: transparent; - --system-spectrum-button-staticwhite-outline-border-color-disabled: var( - --spectrum-disabled-static-white-border-color + --system-table-size-s-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-small-regular ); - --system-spectrum-button-staticwhite-outline-content-color-disabled: var( - --spectrum-disabled-static-white-content-color + --system-table-size-s-icon-to-text: var(--spectrum-text-to-visual-100); + --system-table-size-s-row-font-size: var(--spectrum-font-size-75); + --system-table-size-s-header-checkbox-block-spacing: var( + --spectrum-table-header-row-checkbox-to-top-small ); - --system-spectrum-button-staticwhite-selected-background-color-default: var( - --spectrum-transparent-white-800 + --system-table-size-s-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-small-regular ); - --system-spectrum-button-staticwhite-selected-background-color-hover: var( - --spectrum-transparent-white-900 + --system-table-size-s-section-header-min-height: var( + --spectrum-table-section-header-row-height-small ); - --system-spectrum-button-staticwhite-selected-background-color-down: var( - --spectrum-transparent-white-900 + --system-table-size-s-section-header-block-start-spacing: var( + --spectrum-component-top-to-text-75 ); - --system-spectrum-button-staticwhite-selected-background-color-focus: var( - --spectrum-transparent-white-900 + --system-table-size-s-section-header-block-end-spacing: var( + --spectrum-component-bottom-to-text-75 ); - --system-spectrum-button-staticwhite-selected-content-color-default: var( - --spectrum-black + --system-table-size-s-disclosure-icon-size: var( + --spectrum-component-height-75 ); - --system-spectrum-button-staticwhite-selected-content-color-hover: var( - --spectrum-black + --system-table-size-s-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-small-regular ); - --system-spectrum-button-staticwhite-selected-content-color-down: var( - --spectrum-black + --system-table-size-s-thumbnail-to-text: var(--spectrum-text-to-visual-100); + --system-table-size-s-thumbnail-size: var(--spectrum-thumbnail-size-200); + --system-table-size-l-min-header-height: var( + --spectrum-component-height-200 ); - --system-spectrum-button-staticwhite-selected-content-color-focus: var( - --spectrum-black + --system-table-size-l-header-top-to-text: var( + --spectrum-table-column-header-row-top-to-text-large ); - --system-spectrum-button-staticwhite-selected-background-color-disabled: var( - --spectrum-disabled-static-white-background-color + --system-table-size-l-header-bottom-to-text: var( + --spectrum-table-column-header-row-bottom-to-text-large ); - --system-spectrum-button-staticwhite-selected-border-color-disabled: transparent; - --system-spectrum-button-staticwhite-secondary-background-color-default: var( - --spectrum-transparent-white-200 + --system-table-size-l-min-row-height: var( + --spectrum-table-row-height-large-regular ); - --system-spectrum-button-staticwhite-secondary-background-color-hover: var( - --spectrum-transparent-white-300 + --system-table-size-l-row-top-to-text: var( + --spectrum-table-row-top-to-text-large-regular ); - --system-spectrum-button-staticwhite-secondary-background-color-down: var( - --spectrum-transparent-white-400 + --system-table-size-l-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-large-regular + ); + --system-table-size-l-icon-to-text: var(--spectrum-text-to-visual-200); + --system-table-size-l-row-font-size: var(--spectrum-font-size-200); + --system-table-size-l-header-checkbox-block-spacing: var( + --spectrum-table-header-row-checkbox-to-top-large + ); + --system-table-size-l-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-large-regular + ); + --system-table-size-l-section-header-min-height: var( + --spectrum-table-section-header-row-height-large + ); + --system-table-size-l-section-header-block-start-spacing: var( + --spectrum-component-top-to-text-200 + ); + --system-table-size-l-section-header-block-end-spacing: var( + --spectrum-component-bottom-to-text-200 + ); + --system-table-size-l-disclosure-icon-size: var( + --spectrum-component-height-200 + ); + --system-table-size-l-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-large-regular + ); + --system-table-size-l-thumbnail-to-text: var(--spectrum-text-to-visual-200); + --system-table-size-l-thumbnail-size: var(--spectrum-thumbnail-size-500); + --system-table-size-xl-min-header-height: var( + --spectrum-component-height-300 + ); + --system-table-size-xl-header-top-to-text: var( + --spectrum-table-column-header-row-top-to-text-extra-large + ); + --system-table-size-xl-header-bottom-to-text: var( + --spectrum-table-column-header-row-bottom-to-text-extra-large + ); + --system-table-size-xl-min-row-height: var( + --spectrum-table-row-height-extra-large-regular + ); + --system-table-size-xl-row-top-to-text: var( + --spectrum-table-row-top-to-text-extra-large-regular + ); + --system-table-size-xl-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-extra-large-regular + ); + --system-table-size-xl-icon-to-text: var(--spectrum-text-to-visual-300); + --system-table-size-xl-row-font-size: var(--spectrum-font-size-300); + --system-table-size-xl-header-checkbox-block-spacing: var( + --spectrum-table-header-row-checkbox-to-top-extra-large + ); + --system-table-size-xl-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-extra-large-regular + ); + --system-table-size-xl-section-header-min-height: var( + --spectrum-table-section-header-row-height-extra-large + ); + --system-table-size-xl-section-header-block-start-spacing: var( + --spectrum-component-top-to-text-300 + ); + --system-table-size-xl-section-header-block-end-spacing: var( + --spectrum-component-bottom-to-text-300 + ); + --system-table-size-xl-disclosure-icon-size: var( + --spectrum-component-height-300 + ); + --system-table-size-xl-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-extra-large-regular + ); + --system-table-size-xl-thumbnail-to-text: var( + --spectrum-text-to-visual-300 + ); + --system-table-size-xl-thumbnail-size: var(--spectrum-thumbnail-size-700); + --system-table-compact-min-row-height: var( + --spectrum-table-row-height-medium-compact + ); + --system-table-compact-row-top-to-text: var( + --spectrum-table-row-top-to-text-medium-compact + ); + --system-table-compact-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-medium-compact + ); + --system-table-compact-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-medium-compact + ); + --system-table-compact-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-medium-compact + ); + --system-table-compact-thumbnail-size: var(--spectrum-thumbnail-size-200); + --system-table-compact-size-s-min-row-height: var( + --spectrum-table-row-height-small-compact + ); + --system-table-compact-size-s-row-top-to-text: var( + --spectrum-table-row-top-to-text-small-compact + ); + --system-table-compact-size-s-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-small-compact + ); + --system-table-compact-size-s-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-small-compact + ); + --system-table-compact-size-s-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-small-compact + ); + --system-table-compact-size-s-thumbnail-size: var( + --spectrum-thumbnail-size-50 + ); + --system-table-compact-size-l-min-row-height: var( + --spectrum-table-row-height-large-compact + ); + --system-table-compact-size-l-row-top-to-text: var( + --spectrum-table-row-top-to-text-large-compact + ); + --system-table-compact-size-l-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-large-compact + ); + --system-table-compact-size-l-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-large-compact + ); + --system-table-compact-size-l-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-large-compact + ); + --system-table-compact-size-l-thumbnail-size: var( + --spectrum-thumbnail-size-300 + ); + --system-table-compact-size-xl-min-row-height: var( + --spectrum-table-row-height-extra-large-compact + ); + --system-table-compact-size-xl-row-top-to-text: var( + --spectrum-table-row-top-to-text-extra-large-compact + ); + --system-table-compact-size-xl-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-extra-large-compact + ); + --system-table-compact-size-xl-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-extra-large-compact + ); + --system-table-compact-size-xl-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-extra-large-compact + ); + --system-table-compact-size-xl-thumbnail-size: var( + --spectrum-thumbnail-size-500 + ); + --system-table-spacious-min-row-height: var( + --spectrum-table-row-height-medium-spacious + ); + --system-table-spacious-row-top-to-text: var( + --spectrum-table-row-top-to-text-medium-spacious + ); + --system-table-spacious-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-medium-spacious + ); + --system-table-spacious-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-medium-spacious + ); + --system-table-spacious-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-medium-spacious + ); + --system-table-spacious-thumbnail-size: var(--spectrum-thumbnail-size-500); + --system-table-spacious-size-s-min-row-height: var( + --spectrum-table-row-height-small-spacious + ); + --system-table-spacious-size-s-row-top-to-text: var( + --spectrum-table-row-top-to-text-small-spacious + ); + --system-table-spacious-size-s-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-small-spacious + ); + --system-table-spacious-size-s-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-small-spacious + ); + --system-table-spacious-size-s-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-small-spacious + ); + --system-table-spacious-size-s-thumbnail-size: var( + --spectrum-thumbnail-size-300 + ); + --system-table-spacious-size-l-min-row-height: var( + --spectrum-table-row-height-large-spacious + ); + --system-table-spacious-size-l-row-top-to-text: var( + --spectrum-table-row-top-to-text-large-spacious + ); + --system-table-spacious-size-l-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-large-spacious + ); + --system-table-spacious-size-l-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-large-spacious + ); + --system-table-spacious-size-l-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-large-spacious + ); + --system-table-spacious-size-l-thumbnail-size: var( + --spectrum-thumbnail-size-700 + ); + --system-table-spacious-size-xl-min-row-height: var( + --spectrum-table-row-height-extra-large-spacious + ); + --system-table-spacious-size-xl-row-top-to-text: var( + --spectrum-table-row-top-to-text-extra-large-spacious + ); + --system-table-spacious-size-xl-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-extra-large-spacious + ); + --system-table-spacious-size-xl-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-extra-large-spacious + ); + --system-table-spacious-size-xl-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-extra-large-spacious + ); + --system-table-spacious-size-xl-thumbnail-size: var( + --spectrum-thumbnail-size-800 + ); + --system-table-emphasized-selected-cell-background-color: var( + --system-table-selected-row-background-color + ); + --system-table-emphasized-selected-cell-background-color-focus: var( + --system-table-selected-row-background-color-focus + ); + --system-table-quiet-border-radius: 0px; + --system-table-quiet-outer-border-inline-width: 0px; + --system-table-quiet-header-background-color: var( + --spectrum-transparent-white-100 + ); + --system-table-quiet-row-background-color: var( + --spectrum-transparent-white-100 + ); +} + +:host, +:root { + --system-tabs-font-weight: var(--spectrum-bold-font-weight); + --system-tabs-item-height: var(--spectrum-tab-item-height-medium); + --system-tabs-item-horizontal-spacing: var( + --spectrum-tab-item-to-tab-item-horizontal-medium + ); + --system-tabs-item-vertical-spacing: var( + --spectrum-tab-item-to-tab-item-vertical-medium + ); + --system-tabs-start-to-edge: var(--spectrum-tab-item-start-to-edge-medium); + --system-tabs-top-to-text: var(--spectrum-tab-item-top-to-text-medium); + --system-tabs-bottom-to-text: var( + --spectrum-tab-item-bottom-to-text-medium + ); + --system-tabs-icon-size: var(--spectrum-workflow-icon-size-75); + --system-tabs-icon-to-text: var(--spectrum-text-to-visual-100); + --system-tabs-top-to-icon: var( + --spectrum-tab-item-top-to-workflow-icon-medium + ); + --system-tabs-color: var(--spectrum-neutral-subdued-content-color-default); + --system-tabs-color-selected: var( + --spectrum-neutral-subdued-content-color-down + ); + --system-tabs-color-hover: var( + --spectrum-neutral-subdued-content-color-hover + ); + --system-tabs-color-key-focus: var( + --spectrum-neutral-subdued-content-color-key-focus + ); + --system-tabs-color-disabled: var(--spectrum-gray-500); + --system-tabs-font-family: var(--spectrum-sans-font-family-stack); + --system-tabs-font-style: var(--spectrum-default-font-style); + --system-tabs-font-size: var(--spectrum-font-size-100); + --system-tabs-line-height: var(--spectrum-line-height-100); + --system-tabs-focus-indicator-width: var( + --spectrum-focus-indicator-thickness + ); + --system-tabs-focus-indicator-border-radius: var( + --spectrum-corner-radius-100 + ); + --system-tabs-focus-indicator-gap: var( + --spectrum-tab-item-focus-indicator-gap-medium + ); + --system-tabs-focus-indicator-color: var(--spectrum-focus-indicator-color); + --system-tabs-selection-indicator-color: var( + --spectrum-neutral-subdued-content-color-down + ); + --system-tabs-list-background-direction: top; + --system-tabs-divider-background-color: var(--spectrum-gray-300); + --system-tabs-divider-size: var(--spectrum-border-width-200); + --system-tabs-divider-border-radius: 1px; + --system-tabs-animation-duration: var(--spectrum-animation-duration-100); + --system-tabs-animation-ease: var(--spectrum-animation-ease-in-out); + --system-tabs-size-s-item-height: var(--spectrum-tab-item-height-small); + --system-tabs-size-s-item-horizontal-spacing: var( + --spectrum-tab-item-to-tab-item-horizontal-small + ); + --system-tabs-size-s-item-vertical-spacing: var( + --spectrum-tab-item-to-tab-item-vertical-small + ); + --system-tabs-size-s-start-to-edge: var( + --spectrum-tab-item-start-to-edge-small + ); + --system-tabs-size-s-top-to-text: var( + --spectrum-tab-item-top-to-text-small + ); + --system-tabs-size-s-bottom-to-text: var( + --spectrum-tab-item-bottom-to-text-small + ); + --system-tabs-size-s-icon-size: var(--spectrum-workflow-icon-size-50); + --system-tabs-size-s-icon-to-text: var(--spectrum-text-to-visual-75); + --system-tabs-size-s-top-to-icon: var( + --spectrum-tab-item-top-to-workflow-icon-small + ); + --system-tabs-size-s-focus-indicator-gap: var( + --spectrum-tab-item-focus-indicator-gap-small + ); + --system-tabs-size-s-font-size: var(--spectrum-font-size-75); + --system-tabs-size-l-item-height: var(--spectrum-tab-item-height-large); + --system-tabs-size-l-item-horizontal-spacing: var( + --spectrum-tab-item-to-tab-item-horizontal-large + ); + --system-tabs-size-l-item-vertical-spacing: var( + --spectrum-tab-item-to-tab-item-vertical-large + ); + --system-tabs-size-l-start-to-edge: var( + --spectrum-tab-item-start-to-edge-large + ); + --system-tabs-size-l-top-to-text: var( + --spectrum-tab-item-top-to-text-large + ); + --system-tabs-size-l-bottom-to-text: var( + --spectrum-tab-item-bottom-to-text-large + ); + --system-tabs-size-l-icon-size: var(--spectrum-workflow-icon-size-100); + --system-tabs-size-l-icon-to-text: var(--spectrum-text-to-visual-200); + --system-tabs-size-l-top-to-icon: var( + --spectrum-tab-item-top-to-workflow-icon-large + ); + --system-tabs-size-l-focus-indicator-gap: var( + --spectrum-tab-item-focus-indicator-gap-large + ); + --system-tabs-size-l-font-size: var(--spectrum-font-size-200); + --system-tabs-size-xl-item-height: var( + --spectrum-tab-item-height-extra-large + ); + --system-tabs-size-xl-item-horizontal-spacing: var( + --spectrum-tab-item-to-tab-item-horizontal-extra-large + ); + --system-tabs-size-xl-item-vertical-spacing: var( + --spectrum-tab-item-to-tab-item-vertical-extra-large + ); + --system-tabs-size-xl-start-to-edge: var( + --spectrum-tab-item-start-to-edge-extra-large + ); + --system-tabs-size-xl-top-to-text: var( + --spectrum-tab-item-top-to-text-extra-large + ); + --system-tabs-size-xl-bottom-to-text: var( + --spectrum-tab-item-bottom-to-text-extra-large + ); + --system-tabs-size-xl-icon-size: var(--spectrum-workflow-icon-size-200); + --system-tabs-size-xl-icon-to-text: var(--spectrum-text-to-visual-300); + --system-tabs-size-xl-top-to-icon: var( + --spectrum-tab-item-top-to-workflow-icon-extra-large + ); + --system-tabs-size-xl-focus-indicator-gap: var( + --spectrum-tab-item-focus-indicator-gap-extra-large + ); + --system-tabs-size-xl-font-size: var(--spectrum-font-size-300); + --system-tabs-emphasized-color-selected: var( + --spectrum-accent-content-color-default + ); + --system-tabs-emphasized-color-hover: var( + --spectrum-accent-content-color-hover + ); + --system-tabs-emphasized-color-key-focus: var( + --spectrum-accent-content-color-key-focus + ); + --system-tabs-emphasized-selection-indicator-color: var( + --spectrum-accent-content-color-default + ); +} + +:host, +:root { + --system-tag-border-color: var(--spectrum-gray-300); + --system-tag-border-color-hover: var(--spectrum-gray-400); + --system-tag-border-color-active: var(--spectrum-gray-500); + --system-tag-border-color-focus: var(--spectrum-gray-400); + --system-tag-size-small-corner-radius: var(--spectrum-component-height-75); + --system-tag-size-medium-corner-radius: var( + --spectrum-component-height-100 + ); + --system-tag-size-large-corner-radius: var(--spectrum-component-height-200); + --system-tag-background-color: transparent; + --system-tag-background-color-hover: var(--spectrum-gray-300); + --system-tag-background-color-active: var(--spectrum-gray-400); + --system-tag-background-color-focus: var(--spectrum-gray-300); + --system-tag-content-color: var(--spectrum-neutral-content-color-default); + --system-tag-content-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-tag-content-color-active: var( + --spectrum-neutral-content-color-down + ); + --system-tag-content-color-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-tag-border-color-selected: var( + --spectrum-neutral-background-color-default + ); + --system-tag-border-color-selected-hover: var( + --spectrum-neutral-background-color-hover + ); + --system-tag-border-color-selected-active: var( + --spectrum-neutral-background-color-down + ); + --system-tag-border-color-selected-focus: var( + --spectrum-neutral-background-color-key-focus + ); + --system-tag-border-color-disabled: var(--spectrum-disabled-border-color); + --system-tag-background-color-disabled: transparent; + --system-tag-size-small-spacing-inline-start: var( + --spectrum-component-pill-edge-to-visual-75 + ); + --system-tag-size-small-label-spacing-inline-end: var( + --spectrum-component-pill-edge-to-text-75 + ); + --system-tag-size-small-clear-button-spacing-inline-end: var( + --spectrum-component-pill-edge-to-visual-75 + ); + --system-tag-size-medium-spacing-inline-start: var( + --spectrum-component-pill-edge-to-visual-100 + ); + --system-tag-size-medium-label-spacing-inline-end: var( + --spectrum-component-pill-edge-to-text-100 + ); + --system-tag-size-medium-clear-button-spacing-inline-end: var( + --spectrum-component-pill-edge-to-visual-100 + ); + --system-tag-size-large-spacing-inline-start: var( + --spectrum-component-pill-edge-to-visual-200 + ); + --system-tag-size-large-label-spacing-inline-end: var( + --spectrum-component-pill-edge-to-text-200 + ); + --system-tag-size-large-clear-button-spacing-inline-end: var( + --spectrum-component-pill-edge-to-visual-200 + ); + --system-tag-avatar-opacity-disabled: 0.3; + --system-tag-animation-duration: var(--spectrum-animation-duration-100); + --system-tag-border-width: var(--spectrum-border-width-100); + --system-tag-focus-ring-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-tag-focus-ring-gap: var(--spectrum-focus-indicator-gap); + --system-tag-focus-ring-color: var(--spectrum-focus-indicator-color); + --system-tag-label-line-height: var(--spectrum-line-height-100); + --system-tag-label-font-weight: var(--spectrum-regular-font-weight); + --system-tag-content-color-selected: var(--spectrum-gray-50); + --system-tag-background-color-selected: var( + --spectrum-neutral-background-color-selected-default + ); + --system-tag-background-color-selected-hover: var( + --spectrum-neutral-background-color-selected-hover + ); + --system-tag-background-color-selected-active: var( + --spectrum-neutral-background-color-selected-down + ); + --system-tag-background-color-selected-focus: var( + --spectrum-neutral-background-color-selected-key-focus + ); + --system-tag-border-color-invalid: var(--spectrum-negative-color-900); + --system-tag-border-color-invalid-hover: var( + --spectrum-negative-color-1000 + ); + --system-tag-border-color-invalid-active: var( + --spectrum-negative-color-1100 + ); + --system-tag-border-color-invalid-focus: var( + --spectrum-negative-color-1000 + ); + --system-tag-content-color-invalid: var( + --spectrum-negative-content-color-default + ); + --system-tag-content-color-invalid-hover: var( + --spectrum-negative-content-color-hover + ); + --system-tag-content-color-invalid-active: var( + --spectrum-negative-content-color-down + ); + --system-tag-content-color-invalid-focus: var( + --spectrum-negative-content-color-key-focus + ); + --system-tag-border-color-invalid-selected: var( + --spectrum-negative-background-color-default + ); + --system-tag-border-color-invalid-selected-hover: var( + --spectrum-negative-background-color-hover + ); + --system-tag-border-color-invalid-selected-focus: var( + --spectrum-negative-background-color-down + ); + --system-tag-border-color-invalid-selected-active: var( + --spectrum-negative-background-color-key-focus + ); + --system-tag-background-color-invalid-selected: var( + --spectrum-negative-background-color-default + ); + --system-tag-background-color-invalid-selected-hover: var( + --spectrum-negative-background-color-hover + ); + --system-tag-background-color-invalid-selected-active: var( + --spectrum-negative-background-color-down + ); + --system-tag-background-color-invalid-selected-focus: var( + --spectrum-negative-background-color-key-focus + ); + --system-tag-content-color-invalid-selected: var(--spectrum-white); + --system-tag-border-color-emphasized: var( + --spectrum-accent-background-color-default + ); + --system-tag-border-color-emphasized-hover: var( + --spectrum-accent-background-color-hover + ); + --system-tag-border-color-emphasized-active: var( + --spectrum-accent-background-color-down + ); + --system-tag-border-color-emphasized-focus: var( + --spectrum-accent-background-color-key-focus + ); + --system-tag-background-color-emphasized: var( + --spectrum-accent-background-color-default + ); + --system-tag-background-color-emphasized-hover: var( + --spectrum-accent-background-color-hover + ); + --system-tag-background-color-emphasized-active: var( + --spectrum-accent-background-color-down + ); + --system-tag-background-color-emphasized-focus: var( + --spectrum-accent-background-color-key-focus + ); + --system-tag-content-color-emphasized: var(--spectrum-white); + --system-tag-content-color-disabled: var(--spectrum-disabled-content-color); + --system-tag-height: var(--spectrum-component-height-100); + --system-tag-size-m-height: var(--spectrum-component-height-100); + --system-tag-font-size: var(--spectrum-font-size-100); + --system-tag-size-m-font-size: var(--spectrum-font-size-100); + --system-tag-icon-size: var(--spectrum-workflow-icon-size-100); + --system-tag-size-m-icon-size: var(--spectrum-workflow-icon-size-100); + --system-tag-clear-button-spacing-inline-start: var( + --spectrum-text-to-visual-100 + ); + --system-tag-size-m-clear-button-spacing-inline-start: var( + --spectrum-text-to-visual-100 + ); + --system-tag-clear-button-spacing-block: var( + --spectrum-tag-top-to-cross-icon-medium + ); + --system-tag-size-m-clear-button-spacing-block: var( + --spectrum-tag-top-to-cross-icon-medium + ); + --system-tag-icon-spacing-block-start: var( + --spectrum-component-top-to-workflow-icon-100 + ); + --system-tag-size-m-icon-spacing-block-start: var( + --spectrum-component-top-to-workflow-icon-100 + ); + --system-tag-icon-spacing-block-end: var( + --spectrum-component-top-to-workflow-icon-100 + ); + --system-tag-size-m-icon-spacing-block-end: var( + --spectrum-component-top-to-workflow-icon-100 + ); + --system-tag-icon-spacing-inline-end: var(--spectrum-text-to-visual-100); + --system-tag-size-m-icon-spacing-inline-end: var( + --spectrum-text-to-visual-100 + ); + --system-tag-avatar-spacing-block-start: var( + --spectrum-tag-top-to-avatar-medium + ); + --system-tag-size-m-avatar-spacing-block-start: var( + --spectrum-tag-top-to-avatar-medium + ); + --system-tag-avatar-spacing-block-end: var( + --spectrum-tag-top-to-avatar-medium + ); + --system-tag-size-m-avatar-spacing-block-end: var( + --spectrum-tag-top-to-avatar-medium + ); + --system-tag-avatar-spacing-inline-end: var(--spectrum-text-to-visual-100); + --system-tag-size-m-avatar-spacing-inline-end: var( + --spectrum-text-to-visual-100 ); - --system-spectrum-button-staticwhite-secondary-background-color-focus: var( - --spectrum-transparent-white-300 + --system-tag-label-spacing-block: var(--spectrum-component-top-to-text-100); + --system-tag-size-m-label-spacing-block: var( + --spectrum-component-top-to-text-100 ); - --system-spectrum-button-staticwhite-secondary-border-color-default: transparent; - --system-spectrum-button-staticwhite-secondary-border-color-hover: transparent; - --system-spectrum-button-staticwhite-secondary-border-color-down: transparent; - --system-spectrum-button-staticwhite-secondary-border-color-focus: transparent; - --system-spectrum-button-staticwhite-secondary-content-color-default: var( - --spectrum-white + --system-tag-corner-radius: var(--system-tag-size-medium-corner-radius); + --system-tag-size-m-corner-radius: var( + --system-tag-size-medium-corner-radius ); - --system-spectrum-button-staticwhite-secondary-content-color-hover: var( - --spectrum-white + --system-tag-spacing-inline-start: var( + --system-tag-size-medium-spacing-inline-start ); - --system-spectrum-button-staticwhite-secondary-content-color-down: var( - --spectrum-white + --system-tag-size-m-spacing-inline-start: var( + --system-tag-size-medium-spacing-inline-start ); - --system-spectrum-button-staticwhite-secondary-content-color-focus: var( - --spectrum-white + --system-tag-label-spacing-inline-end: var( + --system-tag-size-medium-label-spacing-inline-end ); - --system-spectrum-button-staticwhite-secondary-focus-indicator-color: var( - --spectrum-static-white-focus-indicator-color + --system-tag-size-m-label-spacing-inline-end: var( + --system-tag-size-medium-label-spacing-inline-end ); - --system-spectrum-button-staticwhite-secondary-background-color-disabled: var( - --spectrum-disabled-static-white-background-color + --system-tag-clear-button-spacing-inline-end: var( + --system-tag-size-medium-clear-button-spacing-inline-end ); - --system-spectrum-button-staticwhite-secondary-border-color-disabled: transparent; - --system-spectrum-button-staticwhite-secondary-content-color-disabled: var( - --spectrum-disabled-static-white-content-color + --system-tag-size-m-clear-button-spacing-inline-end: var( + --system-tag-size-medium-clear-button-spacing-inline-end ); - --system-spectrum-button-staticwhite-secondary-outline-background-color-default: transparent; - --system-spectrum-button-staticwhite-secondary-outline-background-color-hover: var( - --spectrum-transparent-white-300 + --system-tag-size-s-height: var(--spectrum-component-height-75); + --system-tag-size-s-font-size: var(--spectrum-font-size-75); + --system-tag-size-s-icon-size: var(--spectrum-workflow-icon-size-75); + --system-tag-size-s-clear-button-spacing-inline-start: var( + --spectrum-text-to-visual-75 ); - --system-spectrum-button-staticwhite-secondary-outline-background-color-down: var( - --spectrum-transparent-white-400 + --system-tag-size-s-clear-button-spacing-block: var( + --spectrum-tag-top-to-cross-icon-small ); - --system-spectrum-button-staticwhite-secondary-outline-background-color-focus: var( - --spectrum-transparent-white-300 + --system-tag-size-s-icon-spacing-block-start: var( + --spectrum-component-top-to-workflow-icon-75 ); - --system-spectrum-button-staticwhite-secondary-outline-border-color-default: var( - --spectrum-transparent-white-300 + --system-tag-size-s-icon-spacing-block-end: var( + --spectrum-component-top-to-workflow-icon-75 ); - --system-spectrum-button-staticwhite-secondary-outline-border-color-hover: var( - --spectrum-transparent-white-400 + --system-tag-size-s-icon-spacing-inline-end: var( + --spectrum-text-to-visual-75 ); - --system-spectrum-button-staticwhite-secondary-outline-border-color-down: var( - --spectrum-transparent-white-500 + --system-tag-size-s-avatar-spacing-block-start: var( + --spectrum-tag-top-to-avatar-small ); - --system-spectrum-button-staticwhite-secondary-outline-border-color-focus: var( - --spectrum-transparent-white-400 + --system-tag-size-s-avatar-spacing-block-end: var( + --spectrum-tag-top-to-avatar-small ); - --system-spectrum-button-staticwhite-secondary-outline-content-color-default: var( - --spectrum-white + --system-tag-size-s-avatar-spacing-inline-end: var( + --spectrum-text-to-visual-75 ); - --system-spectrum-button-staticwhite-secondary-outline-content-color-hover: var( - --spectrum-white + --system-tag-size-s-label-spacing-block: var( + --spectrum-component-top-to-text-75 ); - --system-spectrum-button-staticwhite-secondary-outline-content-color-down: var( - --spectrum-white + --system-tag-size-s-corner-radius: var( + --system-tag-size-small-corner-radius ); - --system-spectrum-button-staticwhite-secondary-outline-content-color-focus: var( - --spectrum-white + --system-tag-size-s-spacing-inline-start: var( + --system-tag-size-small-spacing-inline-start ); - --system-spectrum-button-staticwhite-secondary-outline-focus-indicator-color: var( - --spectrum-static-white-focus-indicator-color + --system-tag-size-s-label-spacing-inline-end: var( + --system-tag-size-small-label-spacing-inline-end ); - --system-spectrum-button-staticwhite-secondary-outline-background-color-disabled: transparent; - --system-spectrum-button-staticwhite-secondary-outline-border-color-disabled: var( - --spectrum-disabled-static-white-border-color + --system-tag-size-s-clear-button-spacing-inline-end: var( + --system-tag-size-small-clear-button-spacing-inline-end ); - --system-spectrum-button-staticwhite-secondary-outline-content-color-disabled: var( - --spectrum-disabled-static-white-content-color + --system-tag-size-l-height: var(--spectrum-component-height-200); + --system-tag-size-l-font-size: var(--spectrum-font-size-200); + --system-tag-size-l-icon-size: var(--spectrum-workflow-icon-size-200); + --system-tag-size-l-clear-button-spacing-inline-start: var( + --spectrum-text-to-visual-200 ); - --system-spectrum-button-staticblack-background-color-default: var( - --spectrum-transparent-black-800 + --system-tag-size-l-clear-button-spacing-block: var( + --spectrum-tag-top-to-cross-icon-large ); - --system-spectrum-button-staticblack-background-color-hover: var( - --spectrum-transparent-black-900 + --system-tag-size-l-icon-spacing-block-start: var( + --spectrum-component-top-to-workflow-icon-200 ); - --system-spectrum-button-staticblack-background-color-down: var( - --spectrum-transparent-black-900 + --system-tag-size-l-icon-spacing-block-end: var( + --spectrum-component-top-to-workflow-icon-200 ); - --system-spectrum-button-staticblack-background-color-focus: var( - --spectrum-transparent-black-900 + --system-tag-size-l-icon-spacing-inline-end: var( + --spectrum-text-to-visual-200 ); - --system-spectrum-button-staticblack-border-color-default: transparent; - --system-spectrum-button-staticblack-border-color-hover: transparent; - --system-spectrum-button-staticblack-border-color-down: transparent; - --system-spectrum-button-staticblack-border-color-focus: transparent; - --system-spectrum-button-staticblack-content-color-default: var( - --spectrum-white + --system-tag-size-l-avatar-spacing-block-start: var( + --spectrum-tag-top-to-avatar-large ); - --system-spectrum-button-staticblack-content-color-hover: var( - --spectrum-white + --system-tag-size-l-avatar-spacing-block-end: var( + --spectrum-tag-top-to-avatar-large ); - --system-spectrum-button-staticblack-content-color-down: var( - --spectrum-white + --system-tag-size-l-avatar-spacing-inline-end: var( + --spectrum-text-to-visual-200 ); - --system-spectrum-button-staticblack-content-color-focus: var( - --spectrum-white + --system-tag-size-l-label-spacing-block: var( + --spectrum-component-top-to-text-200 ); - --system-spectrum-button-staticblack-focus-indicator-color: var( - --spectrum-static-black-focus-indicator-color + --system-tag-size-l-corner-radius: var( + --system-tag-size-large-corner-radius ); - --system-spectrum-button-staticblack-background-color-disabled: var( - --spectrum-disabled-static-black-background-color + --system-tag-size-l-spacing-inline-start: var( + --system-tag-size-large-spacing-inline-start ); - --system-spectrum-button-staticblack-border-color-disabled: transparent; - --system-spectrum-button-staticblack-content-color-disabled: var( - --spectrum-disabled-static-black-content-color + --system-tag-size-l-label-spacing-inline-end: var( + --system-tag-size-large-label-spacing-inline-end ); - --system-spectrum-button-staticblack-outline-background-color-default: transparent; - --system-spectrum-button-staticblack-outline-background-color-hover: var( - --spectrum-transparent-black-300 + --system-tag-size-l-clear-button-spacing-inline-end: var( + --system-tag-size-large-clear-button-spacing-inline-end ); - --system-spectrum-button-staticblack-outline-background-color-down: var( - --spectrum-transparent-black-400 +} + +:host, +:root { + --system-tag-group-item-margin-block: var(--spectrum-spacing-75); + --system-tag-group-item-margin-inline: var(--spectrum-spacing-75); +} + +:host, +:root { + --system-textfield-border-color: var(--spectrum-gray-400); + --system-textfield-border-color-hover: var(--spectrum-gray-500); + --system-textfield-border-color-focus: var(--spectrum-gray-800); + --system-textfield-border-color-focus-hover: var(--spectrum-gray-900); + --system-textfield-border-color-keyboard-focus: var(--spectrum-gray-900); + --system-textfield-border-width: var(--spectrum-border-width-200); + --system-textfield-texfield-animation-duration: var( + --spectrum-animation-duration-100 ); - --system-spectrum-button-staticblack-outline-background-color-focus: var( - --spectrum-transparent-black-300 + --system-textfield-width: 240px; + --system-textfield-min-width: var( + --spectrum-text-field-minimum-width-multiplier ); - --system-spectrum-button-staticblack-outline-border-color-default: var( - --spectrum-transparent-black-400 + --system-textfield-corner-radius: var(--spectrum-corner-radius-100); + --system-textfield-spacing-inline-quiet: var( + --spectrum-field-edge-to-text-quiet ); - --system-spectrum-button-staticblack-outline-border-color-hover: var( - --spectrum-transparent-black-500 + --system-textfield-spacing-block-start: var( + --spectrum-component-top-to-text-100 ); - --system-spectrum-button-staticblack-outline-border-color-down: var( - --spectrum-transparent-black-600 + --system-textfield-spacing-block-end: var( + --spectrum-component-bottom-to-text-100 ); - --system-spectrum-button-staticblack-outline-border-color-focus: var( - --spectrum-transparent-black-500 + --system-textfield-spacing-block-quiet: var( + --spectrum-field-edge-to-border-quiet ); - --system-spectrum-button-staticblack-outline-content-color-default: var( - --spectrum-black + --system-textfield-label-spacing-block: var( + --spectrum-field-label-to-component ); - --system-spectrum-button-staticblack-outline-content-color-hover: var( - --spectrum-black + --system-textfield-helptext-spacing-block: var( + --spectrum-help-text-to-component ); - --system-spectrum-button-staticblack-outline-content-color-down: var( - --spectrum-black + --system-textfield-icon-spacing-inline-end-quiet-invalid: var( + --spectrum-field-edge-to-alert-icon-quiet ); - --system-spectrum-button-staticblack-outline-content-color-focus: var( - --spectrum-black + --system-textfield-icon-spacing-inline-end-quiet-valid: var( + --spectrum-field-edge-to-validation-icon-quiet ); - --system-spectrum-button-staticblack-outline-focus-indicator-color: var( - --spectrum-static-black-focus-indicator-color + --system-textfield-font-family: var(--spectrum-sans-font-family-stack); + --system-textfield-font-weight: var(--spectrum-regular-font-weight); + --system-textfield-character-count-font-family: var( + --spectrum-sans-font-family-stack ); - --system-spectrum-button-staticblack-outline-background-color-disabled: transparent; - --system-spectrum-button-staticblack-outline-border-color-disabled: var( - --spectrum-disabled-static-black-border-color + --system-textfield-character-count-font-weight: var( + --spectrum-regular-font-weight ); - --system-spectrum-button-staticblack-outline-content-color-disabled: var( - --spectrum-disabled-static-black-content-color + --system-textfield-character-count-spacing-inline: var( + --spectrum-spacing-200 ); - --system-spectrum-button-staticblack-secondary-background-color-default: var( - --spectrum-transparent-black-200 + --system-textfield-character-count-spacing-inline-side: var( + --spectrum-side-label-character-count-to-field ); - --system-spectrum-button-staticblack-secondary-background-color-hover: var( - --spectrum-transparent-black-300 + --system-textfield-focus-indicator-width: var( + --spectrum-focus-indicator-thickness ); - --system-spectrum-button-staticblack-secondary-background-color-down: var( - --spectrum-transparent-black-400 + --system-textfield-focus-indicator-gap: var(--spectrum-focus-indicator-gap); + --system-textfield-background-color: var(--spectrum-gray-50); + --system-textfield-text-color-default: var( + --spectrum-neutral-content-color-default ); - --system-spectrum-button-staticblack-secondary-background-color-focus: var( - --spectrum-transparent-black-300 + --system-textfield-text-color-hover: var( + --spectrum-neutral-content-color-hover ); - --system-spectrum-button-staticblack-secondary-border-color-default: transparent; - --system-spectrum-button-staticblack-secondary-border-color-hover: transparent; - --system-spectrum-button-staticblack-secondary-border-color-down: transparent; - --system-spectrum-button-staticblack-secondary-border-color-focus: transparent; - --system-spectrum-button-staticblack-secondary-content-color-default: var( - --spectrum-black + --system-textfield-text-color-focus: var( + --spectrum-neutral-content-color-focus ); - --system-spectrum-button-staticblack-secondary-content-color-hover: var( - --spectrum-black + --system-textfield-text-color-focus-hover: var( + --spectrum-neutral-content-color-focus-hover ); - --system-spectrum-button-staticblack-secondary-content-color-down: var( - --spectrum-black + --system-textfield-text-color-keyboard-focus: var( + --spectrum-neutral-content-color-key-focus ); - --system-spectrum-button-staticblack-secondary-content-color-focus: var( - --spectrum-black + --system-textfield-text-color-readonly: var( + --spectrum-neutral-content-color-default ); - --system-spectrum-button-staticblack-secondary-focus-indicator-color: var( - --spectrum-static-black-focus-indicator-color + --system-textfield-background-color-disabled: var( + --spectrum-disabled-background-color ); - --system-spectrum-button-staticblack-secondary-background-color-disabled: var( - --spectrum-disabled-static-black-background-color + --system-textfield-border-color-disabled: var( + --spectrum-disabled-border-color ); - --system-spectrum-button-staticblack-secondary-border-color-disabled: transparent; - --system-spectrum-button-staticblack-secondary-content-color-disabled: var( - --spectrum-disabled-static-black-content-color + --system-textfield-text-color-disabled: var( + --spectrum-disabled-content-color ); - --system-spectrum-button-staticblack-secondary-outline-background-color-default: transparent; - --system-spectrum-button-staticblack-secondary-outline-background-color-hover: var( - --spectrum-transparent-black-300 + --system-textfield-border-color-invalid-default: var( + --spectrum-negative-border-color-default ); - --system-spectrum-button-staticblack-secondary-outline-background-color-down: var( - --spectrum-transparent-black-400 + --system-textfield-border-color-invalid-hover: var( + --spectrum-negative-border-color-hover ); - --system-spectrum-button-staticblack-secondary-outline-background-color-focus: var( - --spectrum-transparent-black-300 + --system-textfield-border-color-invalid-focus: var( + --spectrum-negative-border-color-focus ); - --system-spectrum-button-staticblack-secondary-outline-border-color-default: var( - --spectrum-transparent-black-300 + --system-textfield-border-color-invalid-focus-hover: var( + --spectrum-negative-border-color-focus-hover ); - --system-spectrum-button-staticblack-secondary-outline-border-color-hover: var( - --spectrum-transparent-black-400 + --system-textfield-border-color-invalid-keyboard-focus: var( + --spectrum-negative-border-color-key-focus ); - --system-spectrum-button-staticblack-secondary-outline-border-color-down: var( - --spectrum-transparent-black-500 + --system-textfield-icon-color-invalid: var( + --spectrum-negative-visual-color ); - --system-spectrum-button-staticblack-secondary-outline-border-color-focus: var( - --spectrum-transparent-black-400 + --system-textfield-text-color-invalid: var( + --spectrum-neutral-content-color-default ); - --system-spectrum-button-staticblack-secondary-outline-content-color-default: var( - --spectrum-black + --system-textfield-text-color-valid: var( + --spectrum-neutral-content-color-default ); - --system-spectrum-button-staticblack-secondary-outline-content-color-hover: var( - --spectrum-black + --system-textfield-icon-color-valid: var(--spectrum-positive-visual-color); + --system-textfield-focus-indicator-color: var( + --spectrum-focus-indicator-color ); - --system-spectrum-button-staticblack-secondary-outline-content-color-down: var( - --spectrum-black + --system-textfield-text-area-min-inline-size: var( + --spectrum-text-area-minimum-width ); - --system-spectrum-button-staticblack-secondary-outline-content-color-focus: var( - --spectrum-black + --system-textfield-text-area-min-block-size: var( + --spectrum-text-area-minimum-height ); - --system-spectrum-button-staticblack-secondary-outline-focus-indicator-color: var( - --spectrum-static-black-focus-indicator-color + --system-textfield-height: var(--spectrum-component-height-100); + --system-textfield-size-m-height: var(--spectrum-component-height-100); + --system-textfield-label-spacing-block-quiet: var( + --spectrum-field-label-to-component-quiet-medium ); - --system-spectrum-button-staticblack-secondary-outline-background-color-disabled: transparent; - --system-spectrum-button-staticblack-secondary-outline-border-color-disabled: var( - --spectrum-disabled-static-black-border-color + --system-textfield-size-m-label-spacing-block-quiet: var( + --spectrum-field-label-to-component-quiet-medium ); - --system-spectrum-button-staticblack-secondary-outline-content-color-disabled: var( - --spectrum-disabled-static-black-content-color + --system-textfield-label-spacing-inline-side-label: var( + --spectrum-spacing-200 ); -} - -:host, -:root { - --system-spectrum-checkbox-control-color-default: var(--spectrum-gray-800); - --system-spectrum-checkbox-control-color-hover: var(--spectrum-gray-900); - --system-spectrum-checkbox-control-color-down: var(--spectrum-gray-900); - --system-spectrum-checkbox-control-color-focus: var(--spectrum-gray-900); -} - -:host, -:root { - --system-spectrum-closebutton-background-color-default: transparent; - --system-spectrum-closebutton-background-color-hover: var( - --spectrum-gray-300 + --system-textfield-size-m-label-spacing-inline-side-label: var( + --spectrum-spacing-200 ); - --system-spectrum-closebutton-background-color-down: var( - --spectrum-gray-400 + --system-textfield-placeholder-font-size: var(--spectrum-font-size-100); + --system-textfield-size-m-placeholder-font-size: var( + --spectrum-font-size-100 ); - --system-spectrum-closebutton-background-color-focus: var( - --spectrum-gray-300 + --system-textfield-spacing-inline: var( + --spectrum-component-edge-to-text-100 ); -} - -:host, -:root { - --system-spectrum-combobox-border-color-default: var(--spectrum-gray-400); - --system-spectrum-combobox-border-color-hover: var(--spectrum-gray-500); - --system-spectrum-combobox-border-color-focus: var(--spectrum-gray-900); - --system-spectrum-combobox-border-color-focus-hover: var( - --spectrum-gray-800 + --system-textfield-size-m-spacing-inline: var( + --spectrum-component-edge-to-text-100 ); - --system-spectrum-combobox-border-color-key-focus: var(--spectrum-gray-900); -} - -:host, -:root { - --system-spectrum-infieldbutton-spectrum-infield-button-border-width: 0; - --system-spectrum-infieldbutton-spectrum-infield-button-border-color: transparent; - --system-spectrum-infieldbutton-spectrum-infield-button-border-radius: var( - --spectrum-corner-radius-75 + --system-textfield-icon-size-invalid: var( + --spectrum-workflow-icon-size-100 ); - --system-spectrum-infieldbutton-spectrum-infield-button-border-radius-reset: var( - --spectrum-corner-radius-75 + --system-textfield-size-m-icon-size-invalid: var( + --spectrum-workflow-icon-size-100 ); - --system-spectrum-infieldbutton-spectrum-infield-button-stacked-top-border-radius-start-start: var( - --spectrum-corner-radius-75 + --system-textfield-icon-size-valid: var(--spectrum-checkmark-icon-size-100); + --system-textfield-size-m-icon-size-valid: var( + --spectrum-checkmark-icon-size-100 ); - --system-spectrum-infieldbutton-spectrum-infield-button-stacked-bottom-border-radius-end-start: var( - --spectrum-corner-radius-75 + --system-textfield-icon-spacing-inline-end-invalid: var( + --spectrum-field-edge-to-alert-icon-medium ); - --system-spectrum-infieldbutton-spectrum-infield-button-background-color: var( - --spectrum-gray-200 + --system-textfield-size-m-icon-spacing-inline-end-invalid: var( + --spectrum-field-edge-to-alert-icon-medium ); - --system-spectrum-infieldbutton-spectrum-infield-button-background-color-hover: var( - --spectrum-gray-300 + --system-textfield-icon-spacing-inline-end-valid: var( + --spectrum-field-edge-to-validation-icon-medium ); - --system-spectrum-infieldbutton-spectrum-infield-button-background-color-down: var( - --spectrum-gray-400 + --system-textfield-size-m-icon-spacing-inline-end-valid: var( + --spectrum-field-edge-to-validation-icon-medium ); - --system-spectrum-infieldbutton-spectrum-infield-button-background-color-key-focus: var( - --spectrum-gray-300 + --system-textfield-icon-spacing-block-invalid: var( + --spectrum-field-top-to-alert-icon-medium ); -} - -:host, -:root { - --system-spectrum-picker-background-color-default: var(--spectrum-gray-200); - --system-spectrum-picker-background-color-default-open: var( - --spectrum-gray-300 + --system-textfield-size-m-icon-spacing-block-invalid: var( + --spectrum-field-top-to-alert-icon-medium ); - --system-spectrum-picker-background-color-active: var(--spectrum-gray-400); - --system-spectrum-picker-background-color-hover: var(--spectrum-gray-300); - --system-spectrum-picker-background-color-hover-open: var( - --spectrum-gray-300 + --system-textfield-icon-spacing-block-valid: var( + --spectrum-field-top-to-validation-icon-medium ); - --system-spectrum-picker-background-color-key-focus: var( - --spectrum-gray-300 + --system-textfield-size-m-icon-spacing-block-valid: var( + --spectrum-field-top-to-validation-icon-medium ); - --system-spectrum-picker-border-color-default: transparent; - --system-spectrum-picker-border-color-default-open: transparent; - --system-spectrum-picker-border-color-hover: transparent; - --system-spectrum-picker-border-color-hover-open: transparent; - --system-spectrum-picker-border-color-active: transparent; - --system-spectrum-picker-border-color-key-focus: transparent; - --system-spectrum-picker-border-width: 0px; -} - -:host, -:root { - --system-spectrum-pickerbutton-spectrum-picker-button-background-color: var( - --spectrum-gray-200 + --system-textfield-icon-spacing-inline-start-invalid: var( + --spectrum-field-text-to-alert-icon-medium ); - --system-spectrum-pickerbutton-spectrum-picker-button-background-color-hover: var( - --spectrum-gray-300 + --system-textfield-size-m-icon-spacing-inline-start-invalid: var( + --spectrum-field-text-to-alert-icon-medium ); - --system-spectrum-pickerbutton-spectrum-picker-button-background-color-down: var( - --spectrum-gray-400 + --system-textfield-icon-spacing-inline-start-valid: var( + --spectrum-field-text-to-validation-icon-medium ); - --system-spectrum-pickerbutton-spectrum-picker-button-background-color-key-focus: var( - --spectrum-gray-300 + --system-textfield-size-m-icon-spacing-inline-start-valid: var( + --spectrum-field-text-to-validation-icon-medium ); - --system-spectrum-pickerbutton-spectrum-picker-button-border-color: none; - --system-spectrum-pickerbutton-spectrum-picker-button-border-radius: var( - --spectrum-corner-radius-75 + --system-textfield-character-count-font-size: var(--spectrum-font-size-75); + --system-textfield-size-m-character-count-font-size: var( + --spectrum-font-size-75 ); - --system-spectrum-pickerbutton-spectrum-picker-button-border-radius-rounded-sided: var( - --spectrum-corner-radius-200 + --system-textfield-character-count-spacing-block: var( + --spectrum-component-bottom-to-text-75 ); - --system-spectrum-pickerbutton-spectrum-picker-button-border-radius-sided: var( - --spectrum-corner-radius-75 + --system-textfield-size-m-character-count-spacing-block: var( + --spectrum-component-bottom-to-text-75 ); - --system-spectrum-pickerbutton-spectrum-picker-button-border-width: 0px; -} - -:host, -:root { - --system-spectrum-popover-border-width: 0; -} - -:host, -:root { - --system-spectrum-radio-button-border-color-default: var( - --spectrum-gray-800 + --system-textfield-character-count-spacing-block-quiet: var( + --spectrum-character-count-to-field-quiet-medium ); - --system-spectrum-radio-button-border-color-hover: var(--spectrum-gray-900); - --system-spectrum-radio-button-border-color-down: var(--spectrum-gray-900); - --system-spectrum-radio-button-border-color-focus: var(--spectrum-gray-900); - --system-spectrum-radio-emphasized-button-checked-border-color-default: var( - --spectrum-accent-color-900 + --system-textfield-size-m-character-count-spacing-block-quiet: var( + --spectrum-character-count-to-field-quiet-medium ); - --system-spectrum-radio-emphasized-button-checked-border-color-hover: var( - --spectrum-accent-color-1000 + --system-textfield-character-count-spacing-block-side: var( + --spectrum-side-label-character-count-top-margin-medium ); - --system-spectrum-radio-emphasized-button-checked-border-color-down: var( - --spectrum-accent-color-1100 + --system-textfield-size-m-character-count-spacing-block-side: var( + --spectrum-side-label-character-count-top-margin-medium ); - --system-spectrum-radio-emphasized-button-checked-border-color-focus: var( - --spectrum-accent-color-1000 + --system-textfield-text-area-min-block-size-quiet: var( + --spectrum-component-height-100 ); -} - -:host, -:root { - --system-spectrum-search-border-radius: calc( - var(--spectrum-component-height-100) / 2 + --system-textfield-size-m-text-area-min-block-size-quiet: var( + --spectrum-component-height-100 ); - --system-spectrum-search-edge-to-visual: var( - --spectrum-component-pill-edge-to-visual-100 + --system-textfield-size-s-height: var(--spectrum-component-height-75); + --system-textfield-size-s-label-spacing-block-quiet: var( + --spectrum-field-label-to-component-quiet-small ); - --system-spectrum-search-border-color-default: var(--spectrum-gray-400); - --system-spectrum-search-border-color-hover: var(--spectrum-gray-500); - --system-spectrum-search-border-color-focus: var(--spectrum-gray-800); - --system-spectrum-search-border-color-focus-hover: var(--spectrum-gray-900); - --system-spectrum-search-border-color-key-focus: var(--spectrum-gray-900); - --system-spectrum-search-sizes-border-radius: calc( - var(--spectrum-component-height-75) / 2 + --system-textfield-size-s-label-spacing-inline-side-label: var( + --spectrum-spacing-100 ); - --system-spectrum-search-sizes-edge-to-visual: var( - --spectrum-component-pill-edge-to-visual-75 + --system-textfield-size-s-placeholder-font-size: var( + --spectrum-font-size-75 ); - --system-spectrum-search-sizem-border-radius: calc( - var(--spectrum-component-height-100) / 2 + --system-textfield-size-s-spacing-inline: var( + --spectrum-component-edge-to-text-75 ); - --system-spectrum-search-sizem-edge-to-visual: var( - --spectrum-component-pill-edge-to-visual-100 + --system-textfield-size-s-icon-size-invalid: var( + --spectrum-workflow-icon-size-75 ); - --system-spectrum-search-sizel-border-radius: calc( - var(--spectrum-component-height-200) / 2 + --system-textfield-size-s-icon-size-valid: var( + --spectrum-checkmark-icon-size-75 ); - --system-spectrum-search-sizel-edge-to-visual: var( - --spectrum-component-pill-edge-to-visual-200 + --system-textfield-size-s-icon-spacing-inline-end-invalid: var( + --spectrum-field-edge-to-alert-icon-small ); - --system-spectrum-search-sizexl-border-radius: calc( - var(--spectrum-component-height-300) / 2 + --system-textfield-size-s-icon-spacing-inline-end-valid: var( + --spectrum-field-edge-to-validation-icon-small ); - --system-spectrum-search-sizexl-edge-to-visual: var( - --spectrum-component-pill-edge-to-visual-300 + --system-textfield-size-s-icon-spacing-block-invalid: var( + --spectrum-field-top-to-alert-icon-small ); -} - -:host, -:root { - --system-spectrum-slider-track-color: var(--spectrum-gray-200); - --system-spectrum-slider-track-fill-color: var(--spectrum-gray-600); - --system-spectrum-slider-ramp-track-color: var(--spectrum-gray-300); - --system-spectrum-slider-ramp-track-color-disabled: var( - --spectrum-gray-200 + --system-textfield-size-s-icon-spacing-block-valid: var( + --spectrum-field-top-to-validation-icon-small ); - --system-spectrum-slider-handle-background-color: var(--spectrum-gray-50); - --system-spectrum-slider-handle-background-color-disabled: var( - --spectrum-gray-50 + --system-textfield-size-s-icon-spacing-inline-start-invalid: var( + --spectrum-field-text-to-alert-icon-small ); - --system-spectrum-slider-ramp-handle-background-color: var( - --spectrum-gray-50 + --system-textfield-size-s-icon-spacing-inline-start-valid: var( + --spectrum-field-text-to-validation-icon-small ); - --system-spectrum-slider-ticks-handle-background-color: var( - --spectrum-gray-50 + --system-textfield-size-s-character-count-font-size: var( + --spectrum-font-size-75 ); - --system-spectrum-slider-handle-border-color: var(--spectrum-gray-800); - --system-spectrum-slider-handle-disabled-background-color: var( - --spectrum-gray-50 + --system-textfield-size-s-character-count-spacing-block: var( + --spectrum-component-bottom-to-text-75 ); - --system-spectrum-slider-tick-mark-color: var(--spectrum-gray-200); - --system-spectrum-slider-handle-border-color-hover: var( - --spectrum-gray-900 + --system-textfield-size-s-character-count-spacing-block-quiet: var( + --spectrum-character-count-to-field-quiet-small ); - --system-spectrum-slider-handle-border-color-down: var(--spectrum-gray-900); - --system-spectrum-slider-handle-border-color-key-focus: var( - --spectrum-gray-900 + --system-textfield-size-s-character-count-spacing-block-side: var( + --spectrum-side-label-character-count-top-margin-small ); - --system-spectrum-slider-handle-focus-ring-color-key-focus: var( - --spectrum-focus-indicator-color + --system-textfield-size-s-text-area-min-block-size-quiet: var( + --spectrum-component-height-75 ); -} - -:host, -:root { - --system-spectrum-stepper-border-width: var(--spectrum-border-width-200); - --system-spectrum-stepper-buttons-border-style: solid; - --system-spectrum-stepper-buttons-border-width: var( - --spectrum-border-width-200 + --system-textfield-size-l-height: var(--spectrum-component-height-200); + --system-textfield-size-l-label-spacing-block-quiet: var( + --spectrum-field-label-to-component-quiet-large ); - --system-spectrum-stepper-buttons-border-color: transparent; - --system-spectrum-stepper-buttons-background-color: var(--spectrum-gray-50); - --system-spectrum-stepper-buttons-border-color-hover: transparent; - --system-spectrum-stepper-buttons-border-color-focus: transparent; - --system-spectrum-stepper-buttons-border-color-keyboard-focus: transparent; - --system-spectrum-stepper-button-border-radius-reset: var( - --spectrum-in-field-button-fill-stacked-inner-border-rounding + --system-textfield-size-l-label-spacing-inline-side-label: var( + --spectrum-spacing-200 ); - --system-spectrum-stepper-button-border-width: 0; - --system-spectrum-stepper-border-color: var(--spectrum-gray-400); - --system-spectrum-stepper-border-color-hover: var(--spectrum-gray-500); - --system-spectrum-stepper-border-color-focus: var(--spectrum-gray-800); - --system-spectrum-stepper-border-color-focus-hover: var( - --spectrum-gray-900 + --system-textfield-size-l-placeholder-font-size: var( + --spectrum-font-size-200 ); - --system-spectrum-stepper-border-color-keyboard-focus: var( - --spectrum-gray-900 + --system-textfield-size-l-spacing-inline: var( + --spectrum-component-edge-to-text-200 ); - --system-spectrum-stepper-border-color-invalid: transparent; - --system-spectrum-stepper-border-color-focus-invalid: transparent; - --system-spectrum-stepper-border-color-focus-hover-invalid: transparent; - --system-spectrum-stepper-border-color-keyboard-focus-invalid: transparent; - --system-spectrum-stepper-button-background-color-focus: var( - --spectrum-gray-400 + --system-textfield-size-l-icon-size-invalid: var( + --spectrum-workflow-icon-size-200 ); - --system-spectrum-stepper-button-background-color-keyboard-focus: var( - --spectrum-gray-300 + --system-textfield-size-l-icon-size-valid: var( + --spectrum-checkmark-icon-size-200 ); - --system-spectrum-stepper-disabled-buttons-background-color: var( - --spectrum-disabled-background-color + --system-textfield-size-l-icon-spacing-inline-end-invalid: var( + --spectrum-field-edge-to-alert-icon-large ); - --system-spectrum-stepper-disabled-buttons-border-width: 0; -} - -:host, -:root { - --system-spectrum-switch-handle-border-color-default: var( - --spectrum-gray-800 + --system-textfield-size-l-icon-spacing-inline-end-valid: var( + --spectrum-field-edge-to-validation-icon-large ); - --system-spectrum-switch-handle-border-color-hover: var( - --spectrum-gray-900 + --system-textfield-size-l-icon-spacing-block-invalid: var( + --spectrum-field-top-to-alert-icon-large ); - --system-spectrum-switch-handle-border-color-down: var(--spectrum-gray-900); - --system-spectrum-switch-handle-border-color-focus: var( - --spectrum-gray-900 + --system-textfield-size-l-icon-spacing-block-valid: var( + --spectrum-field-top-to-validation-icon-large ); - --system-spectrum-switch-handle-border-color-selected-default: var( - --spectrum-gray-800 + --system-textfield-size-l-icon-spacing-inline-start-invalid: var( + --spectrum-field-text-to-alert-icon-large ); - --system-spectrum-switch-handle-border-color-selected-hover: var( - --spectrum-gray-900 + --system-textfield-size-l-icon-spacing-inline-start-valid: var( + --spectrum-field-text-to-validation-icon-large ); - --system-spectrum-switch-handle-border-color-selected-down: var( - --spectrum-gray-900 + --system-textfield-size-l-character-count-font-size: var( + --spectrum-font-size-100 ); - --system-spectrum-switch-handle-border-color-selected-focus: var( - --spectrum-gray-900 + --system-textfield-size-l-character-count-spacing-block: var( + --spectrum-component-bottom-to-text-100 ); -} - -:host, -:root { - --system-spectrum-tabs-font-weight: var(--spectrum-bold-font-weight); -} - -:host, -:root { - --system-spectrum-tag-border-color: var(--spectrum-gray-300); - --system-spectrum-tag-border-color-hover: var(--spectrum-gray-400); - --system-spectrum-tag-border-color-active: var(--spectrum-gray-500); - --system-spectrum-tag-border-color-focus: var(--spectrum-gray-400); - --system-spectrum-tag-size-small-corner-radius: var( - --spectrum-component-height-75 + --system-textfield-size-l-character-count-spacing-block-quiet: var( + --spectrum-character-count-to-field-quiet-large ); - --system-spectrum-tag-size-medium-corner-radius: var( - --spectrum-component-height-100 + --system-textfield-size-l-character-count-spacing-block-side: var( + --spectrum-side-label-character-count-top-margin-large ); - --system-spectrum-tag-size-large-corner-radius: var( + --system-textfield-size-l-text-area-min-block-size-quiet: var( --spectrum-component-height-200 ); - --system-spectrum-tag-background-color: transparent; - --system-spectrum-tag-background-color-hover: var(--spectrum-gray-300); - --system-spectrum-tag-background-color-active: var(--spectrum-gray-400); - --system-spectrum-tag-background-color-focus: var(--spectrum-gray-300); - --system-spectrum-tag-content-color: var( - --spectrum-neutral-content-color-default + --system-textfield-size-xl-height: var(--spectrum-component-height-300); + --system-textfield-size-xl-label-spacing-block-quiet: var( + --spectrum-field-label-to-component-quiet-extra-large ); - --system-spectrum-tag-content-color-hover: var( - --spectrum-neutral-content-color-hover + --system-textfield-size-xl-label-spacing-inline-side-label: var( + --spectrum-spacing-200 ); - --system-spectrum-tag-content-color-active: var( - --spectrum-neutral-content-color-down + --system-textfield-size-xl-placeholder-font-size: var( + --spectrum-font-size-300 ); - --system-spectrum-tag-content-color-focus: var( - --spectrum-neutral-content-color-key-focus + --system-textfield-size-xl-spacing-inline: var( + --spectrum-component-edge-to-text-200 ); - --system-spectrum-tag-border-color-selected: var( - --spectrum-neutral-background-color-default + --system-textfield-size-xl-icon-size-invalid: var( + --spectrum-workflow-icon-size-300 ); - --system-spectrum-tag-border-color-selected-hover: var( - --spectrum-neutral-background-color-hover + --system-textfield-size-xl-icon-size-valid: var( + --spectrum-checkmark-icon-size-300 ); - --system-spectrum-tag-border-color-selected-active: var( - --spectrum-neutral-background-color-down + --system-textfield-size-xl-icon-spacing-inline-end-invalid: var( + --spectrum-field-edge-to-alert-icon-extra-large ); - --system-spectrum-tag-border-color-selected-focus: var( - --spectrum-neutral-background-color-key-focus + --system-textfield-size-xl-icon-spacing-inline-end-valid: var( + --spectrum-field-edge-to-validation-icon-extra-large ); - --system-spectrum-tag-border-color-disabled: var( - --spectrum-disabled-border-color + --system-textfield-size-xl-icon-spacing-block-invalid: var( + --spectrum-field-top-to-alert-icon-extra-large ); - --system-spectrum-tag-background-color-disabled: transparent; - --system-spectrum-tag-size-small-spacing-inline-start: var( - --spectrum-component-pill-edge-to-visual-75 + --system-textfield-size-xl-icon-spacing-block-valid: var( + --spectrum-field-top-to-validation-icon-extra-large ); - --system-spectrum-tag-size-small-label-spacing-inline-end: var( - --spectrum-component-pill-edge-to-text-75 + --system-textfield-size-xl-icon-spacing-inline-start-invalid: var( + --spectrum-field-text-to-alert-icon-extra-large ); - --system-spectrum-tag-size-small-clear-button-spacing-inline-end: var( - --spectrum-component-pill-edge-to-visual-75 + --system-textfield-size-xl-icon-spacing-inline-start-valid: var( + --spectrum-field-text-to-validation-icon-extra-large ); - --system-spectrum-tag-size-medium-spacing-inline-start: var( - --spectrum-component-pill-edge-to-visual-100 + --system-textfield-size-xl-character-count-font-size: var( + --spectrum-font-size-200 ); - --system-spectrum-tag-size-medium-label-spacing-inline-end: var( - --spectrum-component-pill-edge-to-text-100 + --system-textfield-size-xl-character-count-spacing-block: var( + --spectrum-component-bottom-to-text-200 ); - --system-spectrum-tag-size-medium-clear-button-spacing-inline-end: var( - --spectrum-component-pill-edge-to-visual-100 + --system-textfield-size-xl-character-count-spacing-block-quiet: var( + --spectrum-character-count-to-field-quiet-extra-large ); - --system-spectrum-tag-size-large-spacing-inline-start: var( - --spectrum-component-pill-edge-to-visual-200 + --system-textfield-size-xl-character-count-spacing-block-side: var( + --spectrum-side-label-character-count-top-margin-extra-large ); - --system-spectrum-tag-size-large-label-spacing-inline-end: var( - --spectrum-component-pill-edge-to-text-200 + --system-textfield-size-xl-text-area-min-block-size-quiet: var( + --spectrum-component-height-300 ); - --system-spectrum-tag-size-large-clear-button-spacing-inline-end: var( - --spectrum-component-pill-edge-to-visual-200 +} + +:host, +:root { + --system-thumbnail-size: var(--spectrum-thumbnail-size-500); + --system-thumbnail-border-radius: var(--spectrum-corner-radius-75); + --system-thumbnail-border-width: var(--spectrum-border-width-100); + --system-thumbnail-border-color-rgba: rgba( + var(--spectrum-gray-800-rgb), + var(--spectrum-thumbnail-border-opacity) + ); + --system-thumbnail-layer-border-width-inner: var( + --spectrum-border-width-400 + ); + --system-thumbnail-layer-border-color-inner: var(--spectrum-white); + --system-thumbnail-layer-border-width-outer: var( + --spectrum-border-width-100 + ); + --system-thumbnail-layer-border-color-outer: var(--spectrum-gray-500); + --system-thumbnail-border-width-selected: var(--spectrum-border-width-200); + --system-thumbnail-border-color-selected: var(--spectrum-accent-color-800); + --system-thumbnail-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-thumbnail-focus-indicator-gap: var(--spectrum-focus-indicator-gap); + --system-thumbnail-focus-indicator-color: var( + --spectrum-focus-indicator-color ); + --system-thumbnail-color-opacity-disabled: var( + --spectrum-thumbnail-opacity-disabled + ); + --system-thumbnail-size-50-size: var(--spectrum-thumbnail-size-50); + --system-thumbnail-size-75-size: var(--spectrum-thumbnail-size-75); + --system-thumbnail-size-100-size: var(--spectrum-thumbnail-size-100); + --system-thumbnail-size-200-size: var(--spectrum-thumbnail-size-200); + --system-thumbnail-size-300-size: var(--spectrum-thumbnail-size-300); + --system-thumbnail-size-400-size: var(--spectrum-thumbnail-size-400); + --system-thumbnail-size-500-size: var(--spectrum-thumbnail-size-500); + --system-thumbnail-size-600-size: var(--spectrum-thumbnail-size-600); + --system-thumbnail-size-700-size: var(--spectrum-thumbnail-size-700); + --system-thumbnail-size-800-size: var(--spectrum-thumbnail-size-800); + --system-thumbnail-size-900-size: var(--spectrum-thumbnail-size-900); + --system-thumbnail-size-1000-size: var(--spectrum-thumbnail-size-1000); } :host, :root { - --system-spectrum-textfield-border-color: var(--spectrum-gray-400); - --system-spectrum-textfield-border-color-hover: var(--spectrum-gray-500); - --system-spectrum-textfield-border-color-focus: var(--spectrum-gray-800); - --system-spectrum-textfield-border-color-focus-hover: var( - --spectrum-gray-900 + --system-toast-background-color-default: var( + --spectrum-neutral-background-color-default ); - --system-spectrum-textfield-border-color-keyboard-focus: var( - --spectrum-gray-900 + --system-toast-font-weight: var(--spectrum-regular-font-weight); + --system-toast-font-size: var(--spectrum-font-size-100); + --system-toast-corner-radius: var(--spectrum-corner-radius-100); + --system-toast-block-size: var(--spectrum-toast-height); + --system-toast-max-inline-size: var(--spectrum-toast-maximum-width); + --system-toast-border-width: var(--spectrum-border-width-100); + --system-toast-line-height: var(--spectrum-line-height-100); + --system-toast-line-height-cjk: var(--spectrum-cjk-line-height-100); + --system-toast-spacing-icon-to-text: var(--spectrum-text-to-visual-100); + --system-toast-spacing-start-edge-to-text-and-icon: var( + --spectrum-spacing-300 + ); + --system-toast-spacing-text-and-action-button-to-divider: var( + --spectrum-spacing-300 + ); + --system-toast-spacing-top-edge-to-divider: var(--spectrum-spacing-100); + --system-toast-spacing-bottom-edge-to-divider: var(--spectrum-spacing-100); + --system-toast-spacing-top-edge-to-icon: var( + --spectrum-toast-top-to-workflow-icon + ); + --system-toast-spacing-text-to-action-button-horizontal: var( + --spectrum-spacing-300 + ); + --system-toast-spacing-close-button: var(--spectrum-spacing-100); + --system-toast-spacing-block-start: var(--spectrum-spacing-100); + --system-toast-spacing-block-end: var(--spectrum-spacing-100); + --system-toast-spacing-top-edge-to-text: var(--spectrum-toast-top-to-text); + --system-toast-spacing-bottom-edge-to-text: var( + --spectrum-toast-bottom-to-text + ); + --system-toast-negative-background-color-default: var( + --spectrum-negative-background-color-default ); - --system-spectrum-textfield-border-width: var(--spectrum-border-width-200); + --system-toast-positive-background-color-default: var( + --spectrum-positive-background-color-default + ); + --system-toast-informative-background-color-default: var( + --spectrum-informative-background-color-default + ); + --system-toast-text-and-icon-color: var(--spectrum-white); + --system-toast-divider-color: var(--spectrum-transparent-white-300); } :host, :root { - --system-spectrum-toast-background-color-default: var( + --system-tooltip-backgound-color-default-neutral: var( --spectrum-neutral-background-color-default ); + --system-tooltip-animation-duration: var(--spectrum-animation-duration-100); + --system-tooltip-margin: 0px; + --system-tooltip-height: var(--spectrum-component-height-75); + --system-tooltip-max-inline-size: var(--spectrum-tooltip-maximum-width); + --system-tooltip-border-radius: var(--spectrum-corner-radius-100); + --system-tooltip-icon-width: var(--spectrum-workflow-icon-size-50); + --system-tooltip-icon-height: var(--spectrum-workflow-icon-size-50); + --system-tooltip-font-size: var(--spectrum-font-size-75); + --system-tooltip-line-height: var(--spectrum-line-height-100); + --system-tooltip-cjk-line-height: var(--spectrum-cjk-line-height-100); + --system-tooltip-font-weight: var(--spectrum-regular-font-weight); + --system-tooltip-spacing-inline: var(--spectrum-component-edge-to-text-75); + --system-tooltip-spacing-block-start: var( + --spectrum-component-top-to-text-75 + ); + --system-tooltip-spacing-block-end: var( + --spectrum-component-bottom-to-text-75 + ); + --system-tooltip-icon-spacing-inline-start: var( + --spectrum-text-to-visual-75 + ); + --system-tooltip-icon-spacing-inline-end: var(--spectrum-text-to-visual-75); + --system-tooltip-icon-spacing-block-start: var( + --spectrum-component-top-to-workflow-icon-75 + ); + --system-tooltip-background-color-informative: var( + --spectrum-informative-background-color-default + ); + --system-tooltip-background-color-positive: var( + --spectrum-positive-background-color-default + ); + --system-tooltip-background-color-negative: var( + --spectrum-negative-background-color-default + ); + --system-tooltip-content-color: var(--spectrum-white); + --system-tooltip-tip-inline-size: var(--spectrum-tooltip-tip-width); + --system-tooltip-tip-block-size: var(--spectrum-tooltip-tip-height); + --system-tooltip-tip-square-size: var(--system-tooltip-tip-inline-size); + --system-tooltip-tip-height-percentage: 50%; + --system-tooltip-tip-antialiasing-inset: 0.5px; + --system-tooltip-pointer-corner-spacing: var(--spectrum-corner-radius-100); + --system-tooltip-background-color-default: var( + --system-tooltip-backgound-color-default-neutral + ); } :host, :root { - --system-spectrum-tooltip-backgound-color-default-neutral: var( - --spectrum-neutral-background-color-default + --system-tray-exit-animation-delay: 0ms; + --system-tray-entry-animation-delay: 160ms; + --system-tray-max-inline-size: 375px; + --system-tray-spacing-edge-to-safe-zone: 64px; + --system-tray-entry-animation-duration: var( + --spectrum-animation-duration-500 + ); + --system-tray-exit-animation-duration: var( + --spectrum-animation-duration-100 + ); + --system-tray-corner-radius: var(--spectrum-corner-radius-100); + --system-tray-background-color: var(--spectrum-background-layer-2-color); +} + +:host, +:root { + --system-underlay-background-entry-animation-delay: var( + --spectrum-animation-duration-0 + ); + --system-underlay-background-exit-animation-ease: var( + --spectrum-animation-ease-in + ); + --system-underlay-background-entry-animation-ease: var( + --spectrum-animation-ease-out ); + --system-underlay-background-entry-animation-duration: var( + --spectrum-animation-duration-600 + ); + --system-underlay-background-exit-animation-duration: var( + --spectrum-animation-duration-300 + ); + --system-underlay-background-exit-animation-delay: var( + --spectrum-animation-duration-200 + ); + --system-underlay-background-color: rgba( + var(--spectrum-black-rgb), + var(--spectrum-overlay-opacity) + ); +} + +:host, +:root { + --system-heading-sans-serif-font-family: var( + --spectrum-sans-font-family-stack + ); + --system-heading-serif-font-family: var(--spectrum-serif-font-family-stack); + --system-heading-cjk-font-family: var(--spectrum-cjk-font-family-stack); + --system-heading-cjk-letter-spacing: var(--spectrum-cjk-letter-spacing); + --system-heading-font-color: var(--spectrum-heading-color); + --system-heading-font-size: var(--spectrum-heading-size-m); + --system-heading-size-m-font-size: var(--spectrum-heading-size-m); + --system-heading-cjk-font-size: var(--spectrum-heading-cjk-size-m); + --system-heading-size-m-cjk-font-size: var(--spectrum-heading-cjk-size-m); + --system-heading-size-xxs-font-size: var(--spectrum-heading-size-xxs); + --system-heading-size-xxs-cjk-font-size: var( + --spectrum-heading-cjk-size-xxs + ); + --system-heading-size-xs-font-size: var(--spectrum-heading-size-xs); + --system-heading-size-xs-cjk-font-size: var(--spectrum-heading-cjk-size-xs); + --system-heading-size-s-font-size: var(--spectrum-heading-size-s); + --system-heading-size-s-cjk-font-size: var(--spectrum-heading-cjk-size-s); + --system-heading-size-l-font-size: var(--spectrum-heading-size-l); + --system-heading-size-l-cjk-font-size: var(--spectrum-heading-cjk-size-l); + --system-heading-size-xl-font-size: var(--spectrum-heading-size-xl); + --system-heading-size-xl-cjk-font-size: var(--spectrum-heading-cjk-size-xl); + --system-heading-size-xxl-font-size: var(--spectrum-heading-size-xxl); + --system-heading-size-xxl-cjk-font-size: var( + --spectrum-heading-cjk-size-xxl + ); + --system-heading-size-xxxl-font-size: var(--spectrum-heading-size-xxxl); + --system-heading-size-xxxl-cjk-font-size: var( + --spectrum-heading-cjk-size-xxxl + ); + --system-body-sans-serif-font-family: var( + --spectrum-sans-font-family-stack + ); + --system-body-serif-font-family: var(--spectrum-serif-font-family-stack); + --system-body-cjk-font-family: var(--spectrum-cjk-font-family-stack); + --system-body-cjk-letter-spacing: var(--spectrum-cjk-letter-spacing); + --system-body-font-color: var(--spectrum-body-color); + --system-body-font-size: var(--spectrum-body-size-m); + --system-body-size-m-font-size: var(--spectrum-body-size-m); + --system-body-size-xs-font-size: var(--spectrum-body-size-xs); + --system-body-size-s-font-size: var(--spectrum-body-size-s); + --system-body-size-l-font-size: var(--spectrum-body-size-l); + --system-body-size-xl-font-size: var(--spectrum-body-size-xl); + --system-body-size-xxl-font-size: var(--spectrum-body-size-xxl); + --system-body-size-xxxl-font-size: var(--spectrum-body-size-xxxl); + --system-detail-sans-serif-font-family: var( + --spectrum-sans-font-family-stack + ); + --system-detail-serif-font-family: var(--spectrum-serif-font-family-stack); + --system-detail-cjk-font-family: var(--spectrum-cjk-font-family-stack); + --system-detail-font-color: var(--spectrum-detail-color); + --system-detail-font-size: var(--spectrum-detail-size-m); + --system-detail-size-m-font-size: var(--spectrum-detail-size-m); + --system-detail-size-s-font-size: var(--spectrum-detail-size-s); + --system-detail-size-l-font-size: var(--spectrum-detail-size-l); + --system-detail-size-xl-font-size: var(--spectrum-detail-size-xl); + --system-code-font-family: var(--spectrum-code-font-family-stack); + --system-code-cjk-letter-spacing: var(--spectrum-cjk-letter-spacing); + --system-code-font-color: var(--spectrum-code-color); + --system-code-font-size: var(--spectrum-code-size-m); + --system-code-size-m-font-size: var(--spectrum-code-size-m); + --system-code-size-xs-font-size: var(--spectrum-code-size-xs); + --system-code-size-s-font-size: var(--spectrum-code-size-s); + --system-code-size-l-font-size: var(--spectrum-code-size-l); + --system-code-size-xl-font-size: var(--spectrum-code-size-xl); } diff --git a/tools/styles/tokens/express/large-vars.css b/tools/styles/tokens/express/large-vars.css index f492299100..2b61a137b6 100644 --- a/tools/styles/tokens/express/large-vars.css +++ b/tools/styles/tokens/express/large-vars.css @@ -58,4 +58,12 @@ --spectrum-drop-shadow-x: 0px; --spectrum-drop-shadow-y: 4px; --spectrum-drop-shadow-blur: 16px; + --spectrum-colorwheel-path: 'M 118 118 m -118 0 a 118 118 0 1 0 236 0 a 118 118 0 1 0 -236 0.2 M 118 118 m -92 0 a 92 92 0 1 0 184 0 a 92 92 0 1 0 -184 0'; + --spectrum-colorwheel-path-borders: 'M 120 120 m -120 0 a 120 120 0 1 0 240 0 a 120 120 0 1 0 -240 0.2 M 120 120 m -90 0 a 90 90 0 1 0 180 0 a 90 90 0 1 0 -180 0'; + + --spectrum-dialog-confirm-border-radius: 8px; + + --spectrum-dial-border-radius: 15px; + + --spectrum-assetcard-focus-ring-border-radius: 12px; } diff --git a/tools/styles/tokens/express/light-vars.css b/tools/styles/tokens/express/light-vars.css new file mode 100644 index 0000000000..04b10578e0 --- /dev/null +++ b/tools/styles/tokens/express/light-vars.css @@ -0,0 +1,16 @@ +:host, +:root { + --spectrum-drop-zone-background-color-rgb: var(--spectrum-indigo-800-rgb); + --spectrum-well-border-color: rgba(var(--spectrum-black-rgb), 0.05); + + --spectrum-assetcard-border-color-selected: var(--spectrum-indigo-900); + --spectrum-assetcard-border-color-selected-hover: var( + --spectrum-indigo-900 + ); + --spectrum-assetcard-border-color-selected-down: var( + --spectrum-indigo-1000 + ); + --spectrum-assetcard-selectionindicator-background-color-ordered: var( + --spectrum-indigo-900 + ); +} diff --git a/tools/styles/tokens/express/medium-vars.css b/tools/styles/tokens/express/medium-vars.css index 38f05f7033..c2677d2479 100644 --- a/tools/styles/tokens/express/medium-vars.css +++ b/tools/styles/tokens/express/medium-vars.css @@ -58,4 +58,12 @@ --spectrum-drop-shadow-x: 0px; --spectrum-drop-shadow-y: 4px; --spectrum-drop-shadow-blur: 16px; + --spectrum-colorwheel-path: 'M 94 94 m -94 0 a 94 94 0 1 0 188 0 a 94 94 0 1 0 -188 0.2 M 94 94 m -74 0 a 74 74 0 1 0 148 0 a 74 74 0 1 0 -148 0'; + --spectrum-colorwheel-path-borders: 'M 96 96 m -96 0 a 96 96 0 1 0 192 0 a 96 96 0 1 0 -192 0.2 M 96 96 m -72 0 a 72 72 0 1 0 144 0 a 72 72 0 1 0 -144 0'; + + --spectrum-dialog-confirm-border-radius: 6px; + + --spectrum-dial-border-radius: 12px; + + --spectrum-assetcard-focus-ring-border-radius: 10px; } diff --git a/tools/styles/tokens/index.css b/tools/styles/tokens/index.css new file mode 100644 index 0000000000..9d84aeac9e --- /dev/null +++ b/tools/styles/tokens/index.css @@ -0,0 +1,3360 @@ +:host, +:root { + --spectrum-overlay-opacity: 0.6; + --spectrum-background-layer-2-color: var(--spectrum-gray-75); + --spectrum-neutral-subdued-background-color-default: var( + --spectrum-gray-500 + ); + --spectrum-neutral-subdued-background-color-hover: var(--spectrum-gray-400); + --spectrum-neutral-subdued-background-color-down: var(--spectrum-gray-400); + --spectrum-neutral-subdued-background-color-key-focus: var( + --spectrum-gray-400 + ); + --spectrum-accent-background-color-default: var( + --spectrum-accent-color-700 + ); + --spectrum-accent-background-color-hover: var(--spectrum-accent-color-600); + --spectrum-accent-background-color-down: var(--spectrum-accent-color-600); + --spectrum-accent-background-color-key-focus: var( + --spectrum-accent-color-600 + ); + --spectrum-informative-background-color-default: var( + --spectrum-informative-color-700 + ); + --spectrum-informative-background-color-hover: var( + --spectrum-informative-color-600 + ); + --spectrum-informative-background-color-down: var( + --spectrum-informative-color-600 + ); + --spectrum-informative-background-color-key-focus: var( + --spectrum-informative-color-600 + ); + --spectrum-negative-background-color-default: var( + --spectrum-negative-color-700 + ); + --spectrum-negative-background-color-hover: var( + --spectrum-negative-color-600 + ); + --spectrum-negative-background-color-down: var( + --spectrum-negative-color-600 + ); + --spectrum-negative-background-color-key-focus: var( + --spectrum-negative-color-600 + ); + --spectrum-positive-background-color-default: var( + --spectrum-positive-color-700 + ); + --spectrum-positive-background-color-hover: var( + --spectrum-positive-color-600 + ); + --spectrum-positive-background-color-down: var( + --spectrum-positive-color-600 + ); + --spectrum-positive-background-color-key-focus: var( + --spectrum-positive-color-600 + ); + --spectrum-notice-background-color-default: var( + --spectrum-notice-color-900 + ); + --spectrum-gray-background-color-default: var(--spectrum-gray-500); + --spectrum-red-background-color-default: var(--spectrum-red-700); + --spectrum-orange-background-color-default: var(--spectrum-orange-900); + --spectrum-yellow-background-color-default: var(--spectrum-yellow-1100); + --spectrum-chartreuse-background-color-default: var( + --spectrum-chartreuse-1000 + ); + --spectrum-celery-background-color-default: var(--spectrum-celery-900); + --spectrum-green-background-color-default: var(--spectrum-green-700); + --spectrum-seafoam-background-color-default: var(--spectrum-seafoam-700); + --spectrum-cyan-background-color-default: var(--spectrum-cyan-700); + --spectrum-blue-background-color-default: var(--spectrum-blue-700); + --spectrum-indigo-background-color-default: var(--spectrum-indigo-700); + --spectrum-purple-background-color-default: var(--spectrum-purple-700); + --spectrum-fuchsia-background-color-default: var(--spectrum-fuchsia-700); + --spectrum-magenta-background-color-default: var(--spectrum-magenta-700); + --spectrum-neutral-visual-color: var(--spectrum-gray-600); + --spectrum-accent-visual-color: var(--spectrum-accent-color-900); + --spectrum-informative-visual-color: var(--spectrum-informative-color-900); + --spectrum-negative-visual-color: var(--spectrum-negative-color-700); + --spectrum-notice-visual-color: var(--spectrum-notice-color-900); + --spectrum-positive-visual-color: var(--spectrum-positive-color-800); + --spectrum-gray-visual-color: var(--spectrum-gray-600); + --spectrum-red-visual-color: var(--spectrum-red-700); + --spectrum-orange-visual-color: var(--spectrum-orange-900); + --spectrum-yellow-visual-color: var(--spectrum-yellow-1100); + --spectrum-chartreuse-visual-color: var(--spectrum-chartreuse-900); + --spectrum-celery-visual-color: var(--spectrum-celery-800); + --spectrum-green-visual-color: var(--spectrum-green-800); + --spectrum-seafoam-visual-color: var(--spectrum-seafoam-800); + --spectrum-cyan-visual-color: var(--spectrum-cyan-900); + --spectrum-blue-visual-color: var(--spectrum-blue-900); + --spectrum-indigo-visual-color: var(--spectrum-indigo-900); + --spectrum-purple-visual-color: var(--spectrum-purple-900); + --spectrum-fuchsia-visual-color: var(--spectrum-fuchsia-900); + --spectrum-magenta-visual-color: var(--spectrum-magenta-900); + --spectrum-background-elevated-color: var(--spectrum-gray-75); + --spectrum-background-pasteboard-color: var(--spectrum-gray-25); + --spectrum-brown-visual-color: var(--spectrum-brown-900); + --spectrum-cinnamon-visual-color: var(--spectrum-cinnamon-900); + --spectrum-pink-visual-color: var(--spectrum-pink-900); + --spectrum-silver-visual-color: var(--spectrum-silver-900); + --spectrum-turquoise-visual-color: var(--spectrum-turquoise-900); + --spectrum-brown-background-color-default: var(--spectrum-brown-700); + --spectrum-cinnamon-background-color-default: var(--spectrum-cinnamon-700); + --spectrum-pink-background-color-default: var(--spectrum-pink-700); + --spectrum-silver-background-color-default: var(--spectrum-silver-700); + --spectrum-turquoise-background-color-default: var( + --spectrum-turquoise-700 + ); + --spectrum-drop-shadow-color-100: rgba(0, 0, 0, 0.36); + --spectrum-drop-shadow-color-200: rgba(0, 0, 0, 0.48); + --spectrum-opacity-checkerboard-square-dark: var(--spectrum-gray-800); + --spectrum-gray-25: rgb(17, 17, 17); + --spectrum-gray-50: rgb(27, 27, 27); + --spectrum-gray-75: rgb(34, 34, 34); + --spectrum-gray-100: rgb(44, 44, 44); + --spectrum-gray-200: rgb(50, 50, 50); + --spectrum-gray-300: rgb(57, 57, 57); + --spectrum-gray-400: rgb(68, 68, 68); + --spectrum-gray-500: rgb(109, 109, 109); + --spectrum-gray-600: rgb(138, 138, 138); + --spectrum-gray-700: rgb(175, 175, 175); + --spectrum-gray-800: rgb(219, 219, 219); + --spectrum-gray-900: rgb(242, 242, 242); + --spectrum-gray-1000: rgb(255, 255, 255); + --spectrum-blue-100: rgb(14, 23, 63); + --spectrum-blue-200: rgb(15, 28, 82); + --spectrum-blue-300: rgb(12, 33, 117); + --spectrum-blue-400: rgb(18, 45, 154); + --spectrum-blue-500: rgb(26, 58, 195); + --spectrum-blue-600: rgb(37, 73, 229); + --spectrum-blue-700: rgb(52, 91, 248); + --spectrum-blue-800: rgb(69, 110, 254); + --spectrum-blue-900: rgb(86, 129, 255); + --spectrum-blue-1000: rgb(105, 149, 254); + --spectrum-blue-1100: rgb(124, 169, 252); + --spectrum-blue-1200: rgb(152, 192, 252); + --spectrum-blue-1300: rgb(181, 213, 253); + --spectrum-blue-1400: rgb(213, 231, 254); + --spectrum-blue-1500: rgb(238, 245, 255); + --spectrum-blue-1600: rgb(255, 255, 255); + --spectrum-red-100: rgb(54, 10, 3); + --spectrum-red-200: rgb(68, 13, 5); + --spectrum-red-300: rgb(87, 17, 7); + --spectrum-red-400: rgb(115, 24, 11); + --spectrum-red-500: rgb(147, 31, 17); + --spectrum-red-600: rgb(177, 38, 23); + --spectrum-red-700: rgb(205, 46, 29); + --spectrum-red-800: rgb(230, 54, 35); + --spectrum-red-900: rgb(252, 67, 46); + --spectrum-red-1000: rgb(255, 103, 86); + --spectrum-red-1100: rgb(255, 134, 120); + --spectrum-red-1200: rgb(255, 167, 157); + --spectrum-red-1300: rgb(255, 196, 189); + --spectrum-red-1400: rgb(255, 222, 219); + --spectrum-red-1500: rgb(255, 242, 240); + --spectrum-red-1600: rgb(255, 255, 255); + --spectrum-orange-100: rgb(49, 16, 0); + --spectrum-orange-200: rgb(61, 21, 0); + --spectrum-orange-300: rgb(80, 27, 0); + --spectrum-orange-400: rgb(106, 36, 0); + --spectrum-orange-500: rgb(135, 47, 0); + --spectrum-orange-600: rgb(162, 59, 0); + --spectrum-orange-700: rgb(185, 73, 0); + --spectrum-orange-800: rgb(205, 86, 0); + --spectrum-orange-900: rgb(224, 100, 0); + --spectrum-orange-1000: rgb(243, 117, 0); + --spectrum-orange-1100: rgb(255, 137, 0); + --spectrum-orange-1200: rgb(255, 173, 45); + --spectrum-orange-1300: rgb(255, 201, 116); + --spectrum-orange-1400: rgb(255, 225, 178); + --spectrum-orange-1500: rgb(255, 243, 225); + --spectrum-orange-1600: rgb(255, 255, 255); + --spectrum-yellow-100: rgb(37, 23, 0); + --spectrum-yellow-200: rgb(47, 29, 0); + --spectrum-yellow-300: rgb(61, 39, 0); + --spectrum-yellow-400: rgb(83, 52, 0); + --spectrum-yellow-500: rgb(107, 67, 0); + --spectrum-yellow-600: rgb(130, 82, 0); + --spectrum-yellow-700: rgb(151, 97, 0); + --spectrum-yellow-800: rgb(169, 110, 0); + --spectrum-yellow-900: rgb(186, 124, 0); + --spectrum-yellow-1000: rgb(203, 141, 0); + --spectrum-yellow-1100: rgb(218, 159, 0); + --spectrum-yellow-1200: rgb(235, 183, 0); + --spectrum-yellow-1300: rgb(249, 206, 0); + --spectrum-yellow-1400: rgb(255, 230, 86); + --spectrum-yellow-1500: rgb(255, 246, 195); + --spectrum-yellow-1600: rgb(255, 255, 255); + --spectrum-chartreuse-100: rgb(23, 28, 0); + --spectrum-chartreuse-200: rgb(30, 36, 0); + --spectrum-chartreuse-300: rgb(39, 47, 0); + --spectrum-chartreuse-400: rgb(53, 63, 0); + --spectrum-chartreuse-500: rgb(68, 82, 0); + --spectrum-chartreuse-600: rgb(83, 100, 0); + --spectrum-chartreuse-700: rgb(97, 116, 0); + --spectrum-chartreuse-800: rgb(109, 131, 0); + --spectrum-chartreuse-900: rgb(122, 147, 0); + --spectrum-chartreuse-1000: rgb(136, 164, 0); + --spectrum-chartreuse-1100: rgb(151, 181, 0); + --spectrum-chartreuse-1200: rgb(169, 203, 0); + --spectrum-chartreuse-1300: rgb(187, 225, 0); + --spectrum-chartreuse-1400: rgb(219, 240, 117); + --spectrum-chartreuse-1500: rgb(242, 249, 206); + --spectrum-chartreuse-1600: rgb(255, 255, 255); + --spectrum-celery-100: rgb(11, 31, 0); + --spectrum-celery-200: rgb(15, 38, 0); + --spectrum-celery-300: rgb(21, 51, 1); + --spectrum-celery-400: rgb(31, 67, 4); + --spectrum-celery-500: rgb(41, 86, 8); + --spectrum-celery-600: rgb(50, 105, 11); + --spectrum-celery-700: rgb(60, 122, 15); + --spectrum-celery-800: rgb(69, 138, 19); + --spectrum-celery-900: rgb(78, 154, 23); + --spectrum-celery-1000: rgb(88, 172, 28); + --spectrum-celery-1100: rgb(100, 190, 35); + --spectrum-celery-1200: rgb(116, 213, 46); + --spectrum-celery-1300: rgb(136, 234, 65); + --spectrum-celery-1400: rgb(170, 251, 112); + --spectrum-celery-1500: rgb(222, 255, 198); + --spectrum-celery-1600: rgb(255, 255, 255); + --spectrum-green-100: rgb(0, 30, 23); + --spectrum-green-200: rgb(0, 38, 29); + --spectrum-green-300: rgb(0, 51, 38); + --spectrum-green-400: rgb(0, 68, 48); + --spectrum-green-500: rgb(2, 87, 58); + --spectrum-green-600: rgb(3, 106, 67); + --spectrum-green-700: rgb(4, 124, 75); + --spectrum-green-800: rgb(6, 140, 82); + --spectrum-green-900: rgb(9, 157, 89); + --spectrum-green-1000: rgb(14, 175, 98); + --spectrum-green-1100: rgb(24, 193, 110); + --spectrum-green-1200: rgb(57, 215, 134); + --spectrum-green-1300: rgb(126, 231, 172); + --spectrum-green-1400: rgb(189, 241, 208); + --spectrum-green-1500: rgb(229, 250, 236); + --spectrum-green-1600: rgb(255, 255, 255); + --spectrum-seafoam-100: rgb(0, 30, 27); + --spectrum-seafoam-200: rgb(0, 39, 35); + --spectrum-seafoam-300: rgb(0, 50, 44); + --spectrum-seafoam-400: rgb(0, 67, 59); + --spectrum-seafoam-500: rgb(2, 86, 75); + --spectrum-seafoam-600: rgb(4, 105, 89); + --spectrum-seafoam-700: rgb(6, 122, 103); + --spectrum-seafoam-800: rgb(8, 138, 116); + --spectrum-seafoam-900: rgb(10, 154, 128); + --spectrum-seafoam-1000: rgb(12, 173, 142); + --spectrum-seafoam-1100: rgb(14, 190, 156); + --spectrum-seafoam-1200: rgb(29, 214, 176); + --spectrum-seafoam-1300: rgb(122, 229, 203); + --spectrum-seafoam-1400: rgb(186, 241, 222); + --spectrum-seafoam-1500: rgb(229, 249, 243); + --spectrum-seafoam-1600: rgb(255, 255, 255); + --spectrum-cyan-100: rgb(0, 29, 39); + --spectrum-cyan-200: rgb(0, 36, 49); + --spectrum-cyan-300: rgb(0, 48, 65); + --spectrum-cyan-400: rgb(0, 64, 88); + --spectrum-cyan-500: rgb(0, 82, 113); + --spectrum-cyan-600: rgb(3, 99, 140); + --spectrum-cyan-700: rgb(8, 115, 168); + --spectrum-cyan-800: rgb(15, 128, 194); + --spectrum-cyan-900: rgb(24, 142, 220); + --spectrum-cyan-1000: rgb(38, 159, 244); + --spectrum-cyan-1100: rgb(63, 177, 255); + --spectrum-cyan-1200: rgb(107, 199, 255); + --spectrum-cyan-1300: rgb(152, 219, 255); + --spectrum-cyan-1400: rgb(195, 236, 252); + --spectrum-cyan-1500: rgb(230, 248, 253); + --spectrum-cyan-1600: rgb(255, 255, 255); + --spectrum-indigo-100: rgb(30, 0, 93); + --spectrum-indigo-200: rgb(35, 0, 110); + --spectrum-indigo-300: rgb(47, 0, 140); + --spectrum-indigo-400: rgb(62, 12, 174); + --spectrum-indigo-500: rgb(79, 30, 209); + --spectrum-indigo-600: rgb(95, 52, 235); + --spectrum-indigo-700: rgb(109, 75, 248); + --spectrum-indigo-800: rgb(119, 97, 252); + --spectrum-indigo-900: rgb(128, 119, 254); + --spectrum-indigo-1000: rgb(139, 141, 254); + --spectrum-indigo-1100: rgb(153, 161, 255); + --spectrum-indigo-1200: rgb(176, 186, 255); + --spectrum-indigo-1300: rgb(199, 208, 255); + --spectrum-indigo-1400: rgb(223, 228, 255); + --spectrum-indigo-1500: rgb(243, 244, 255); + --spectrum-indigo-1600: rgb(255, 255, 255); + --spectrum-purple-100: rgb(41, 0, 79); + --spectrum-purple-200: rgb(50, 0, 96); + --spectrum-purple-300: rgb(64, 0, 122); + --spectrum-purple-400: rgb(83, 0, 159); + --spectrum-purple-500: rgb(107, 6, 195); + --spectrum-purple-600: rgb(130, 34, 215); + --spectrum-purple-700: rgb(148, 62, 224); + --spectrum-purple-800: rgb(161, 84, 229); + --spectrum-purple-900: rgb(173, 105, 233); + --spectrum-purple-1000: rgb(186, 127, 237); + --spectrum-purple-1100: rgb(197, 149, 240); + --spectrum-purple-1200: rgb(212, 176, 244); + --spectrum-purple-1300: rgb(225, 201, 247); + --spectrum-purple-1400: rgb(238, 224, 250); + --spectrum-purple-1500: rgb(248, 243, 253); + --spectrum-purple-1600: rgb(255, 255, 255); + --spectrum-fuchsia-100: rgb(50, 0, 61); + --spectrum-fuchsia-200: rgb(61, 0, 74); + --spectrum-fuchsia-300: rgb(79, 0, 95); + --spectrum-fuchsia-400: rgb(102, 9, 120); + --spectrum-fuchsia-500: rgb(127, 23, 146); + --spectrum-fuchsia-600: rgb(151, 38, 170); + --spectrum-fuchsia-700: rgb(173, 51, 192); + --spectrum-fuchsia-800: rgb(192, 64, 212); + --spectrum-fuchsia-900: rgb(213, 73, 235); + --spectrum-fuchsia-1000: rgb(232, 91, 253); + --spectrum-fuchsia-1100: rgb(240, 122, 255); + --spectrum-fuchsia-1200: rgb(245, 159, 255); + --spectrum-fuchsia-1300: rgb(248, 191, 255); + --spectrum-fuchsia-1400: rgb(251, 219, 255); + --spectrum-fuchsia-1500: rgb(253, 241, 255); + --spectrum-fuchsia-1600: rgb(255, 255, 255); + --spectrum-magenta-100: rgb(59, 0, 22); + --spectrum-magenta-200: rgb(74, 0, 27); + --spectrum-magenta-300: rgb(93, 0, 34); + --spectrum-magenta-400: rgb(123, 0, 45); + --spectrum-magenta-500: rgb(152, 7, 60); + --spectrum-magenta-600: rgb(181, 19, 76); + --spectrum-magenta-700: rgb(207, 31, 92); + --spectrum-magenta-800: rgb(231, 41, 105); + --spectrum-magenta-900: rgb(255, 51, 119); + --spectrum-magenta-1000: rgb(255, 96, 149); + --spectrum-magenta-1100: rgb(255, 128, 171); + --spectrum-magenta-1200: rgb(255, 163, 194); + --spectrum-magenta-1300: rgb(255, 193, 214); + --spectrum-magenta-1400: rgb(255, 220, 232); + --spectrum-magenta-1500: rgb(255, 241, 246); + --spectrum-magenta-1600: rgb(255, 255, 255); + --spectrum-pink-100: rgb(58, 0, 37); + --spectrum-pink-200: rgb(71, 0, 44); + --spectrum-pink-300: rgb(90, 0, 57); + --spectrum-pink-400: rgb(115, 7, 75); + --spectrum-pink-500: rgb(143, 18, 97); + --spectrum-pink-600: rgb(171, 29, 119); + --spectrum-pink-700: rgb(196, 39, 138); + --spectrum-pink-800: rgb(220, 47, 156); + --spectrum-pink-900: rgb(236, 67, 175); + --spectrum-pink-1000: rgb(251, 90, 196); + --spectrum-pink-1100: rgb(255, 122, 210); + --spectrum-pink-1200: rgb(255, 159, 223); + --spectrum-pink-1300: rgb(255, 191, 234); + --spectrum-pink-1400: rgb(255, 219, 243); + --spectrum-pink-1500: rgb(255, 241, 250); + --spectrum-pink-1600: rgb(255, 255, 255); + --spectrum-turquoise-100: rgb(0, 30, 33); + --spectrum-turquoise-200: rgb(0, 37, 41); + --spectrum-turquoise-300: rgb(0, 49, 54); + --spectrum-turquoise-400: rgb(0, 66, 72); + --spectrum-turquoise-500: rgb(3, 84, 92); + --spectrum-turquoise-600: rgb(5, 103, 112); + --spectrum-turquoise-700: rgb(7, 120, 131); + --spectrum-turquoise-800: rgb(9, 135, 147); + --spectrum-turquoise-900: rgb(11, 151, 164); + --spectrum-turquoise-1000: rgb(13, 168, 182); + --spectrum-turquoise-1100: rgb(16, 186, 202); + --spectrum-turquoise-1200: rgb(64, 208, 220); + --spectrum-turquoise-1300: rgb(128, 225, 231); + --spectrum-turquoise-1400: rgb(183, 240, 240); + --spectrum-turquoise-1500: rgb(228, 249, 249); + --spectrum-turquoise-1600: rgb(255, 255, 255); + --spectrum-brown-100: rgb(35, 24, 8); + --spectrum-brown-200: rgb(44, 31, 11); + --spectrum-brown-300: rgb(58, 40, 14); + --spectrum-brown-400: rgb(78, 55, 19); + --spectrum-brown-500: rgb(98, 71, 30); + --spectrum-brown-600: rgb(115, 88, 47); + --spectrum-brown-700: rgb(132, 104, 61); + --spectrum-brown-800: rgb(148, 118, 73); + --spectrum-brown-900: rgb(163, 132, 84); + --spectrum-brown-1000: rgb(181, 147, 98); + --spectrum-brown-1100: rgb(199, 163, 112); + --spectrum-brown-1200: rgb(222, 185, 130); + --spectrum-brown-1300: rgb(232, 207, 169); + --spectrum-brown-1400: rgb(242, 227, 206); + --spectrum-brown-1500: rgb(250, 244, 236); + --spectrum-brown-1600: rgb(255, 255, 255); + --spectrum-silver-100: rgb(26, 26, 26); + --spectrum-silver-200: rgb(33, 33, 33); + --spectrum-silver-300: rgb(44, 44, 44); + --spectrum-silver-400: rgb(59, 59, 59); + --spectrum-silver-500: rgb(76, 76, 76); + --spectrum-silver-600: rgb(92, 92, 92); + --spectrum-silver-700: rgb(108, 108, 108); + --spectrum-silver-800: rgb(123, 123, 123); + --spectrum-silver-900: rgb(137, 137, 137); + --spectrum-silver-1000: rgb(152, 152, 152); + --spectrum-silver-1100: rgb(169, 169, 169); + --spectrum-silver-1200: rgb(190, 190, 190); + --spectrum-silver-1300: rgb(211, 211, 211); + --spectrum-silver-1400: rgb(229, 229, 229); + --spectrum-silver-1500: rgb(244, 244, 244); + --spectrum-silver-1600: rgb(255, 255, 255); + --spectrum-cinnamon-100: rgb(48, 17, 4); + --spectrum-cinnamon-200: rgb(59, 21, 5); + --spectrum-cinnamon-300: rgb(79, 28, 7); + --spectrum-cinnamon-400: rgb(100, 41, 15); + --spectrum-cinnamon-500: rgb(122, 57, 28); + --spectrum-cinnamon-600: rgb(143, 74, 40); + --spectrum-cinnamon-700: rgb(163, 88, 52); + --spectrum-cinnamon-800: rgb(179, 103, 64); + --spectrum-cinnamon-900: rgb(192, 119, 80); + --spectrum-cinnamon-1000: rgb(206, 136, 99); + --spectrum-cinnamon-1100: rgb(220, 154, 118); + --spectrum-cinnamon-1200: rgb(232, 179, 149); + --spectrum-cinnamon-1300: rgb(239, 203, 183); + --spectrum-cinnamon-1400: rgb(246, 225, 214); + --spectrum-cinnamon-1500: rgb(252, 244, 239); + --spectrum-cinnamon-1600: rgb(255, 255, 255); + --spectrum-icon-color-blue-primary-default: var(--spectrum-blue-800); + --spectrum-icon-color-green-primary-default: var(--spectrum-green-800); + --spectrum-icon-color-red-primary-default: var(--spectrum-red-700); + --spectrum-icon-color-yellow-primary-default: var(--spectrum-yellow-1000); + --spectrum-menu-item-background-color-default: rgba(255, 255, 255, 0); + --spectrum-menu-item-background-color-hover: var( + --spectrum-transparent-white-200 + ); + --spectrum-menu-item-background-color-down: var( + --spectrum-transparent-white-200 + ); + --spectrum-menu-item-background-color-key-focus: var( + --spectrum-transparent-white-200 + ); + --spectrum-drop-zone-background-color-rgb: var(--spectrum-blue-900-rgb); + --spectrum-dropindicator-color: var(--spectrum-blue-700); + + --spectrum-calendar-day-background-color-selected: rgba( + var(--spectrum-blue-800-rgb), + 0.15 + ); + --spectrum-calendar-day-background-color-hover: rgba( + var(--spectrum-white-rgb), + 0.07 + ); + --spectrum-calendar-day-today-background-color-selected-hover: rgba( + var(--spectrum-blue-800-rgb), + 0.25 + ); + --spectrum-calendar-day-background-color-selected-hover: rgba( + var(--spectrum-blue-800-rgb), + 0.25 + ); + --spectrum-calendar-day-background-color-down: var( + --spectrum-transparent-white-200 + ); + --spectrum-calendar-day-background-color-cap-selected: rgba( + var(--spectrum-blue-800-rgb), + 0.25 + ); + --spectrum-calendar-day-background-color-key-focus: rgba( + var(--spectrum-white-rgb), + 0.07 + ); + --spectrum-calendar-day-border-color-key-focus: var(--spectrum-blue-700); + + --spectrum-badge-label-icon-color-primary: var(--spectrum-black); + + --spectrum-coach-indicator-ring-default-color: var(--spectrum-blue-700); + --spectrum-coach-indicator-ring-dark-color: var(--spectrum-gray-900); + --spectrum-coach-indicator-ring-light-color: var(--spectrum-gray-25); + + --spectrum-well-border-color: rgba(var(--spectrum-white-rgb), 0.05); + + --spectrum-steplist-current-marker-color-key-focus: var( + --spectrum-blue-700 + ); + + --spectrum-treeview-item-background-color-quiet-selected: rgba( + var(--spectrum-gray-900-rgb), + 0.07 + ); + --spectrum-treeview-item-background-color-selected: rgba( + var(--spectrum-blue-800-rgb), + 0.15 + ); + + --spectrum-logic-button-and-background-color: var(--spectrum-blue-800); + --spectrum-logic-button-and-border-color: var(--spectrum-blue-800); + --spectrum-logic-button-and-background-color-hover: var( + --spectrum-blue-1000 + ); + --spectrum-logic-button-and-border-color-hover: var(--spectrum-blue-1000); + + --spectrum-logic-button-or-background-color: var(--spectrum-magenta-700); + --spectrum-logic-button-or-border-color: var(--spectrum-magenta-700); + --spectrum-logic-button-or-background-color-hover: var( + --spectrum-magenta-900 + ); + --spectrum-logic-button-or-border-color-hover: var(--spectrum-magenta-900); + + --spectrum-assetcard-border-color-selected: var(--spectrum-blue-800); + --spectrum-assetcard-border-color-selected-hover: var(--spectrum-blue-800); + --spectrum-assetcard-border-color-selected-down: var(--spectrum-blue-900); + --spectrum-assetcard-selectionindicator-background-color-ordered: var( + --spectrum-blue-800 + ); + --spectrum-assestcard-focus-indicator-color: var(--spectrum-blue-700); + + --spectrum-assetlist-item-background-color-selected-hover: rgba( + var(--spectrum-blue-800-rgb), + 0.25 + ); + --spectrum-assetlist-item-background-color-selected: rgba( + var(--spectrum-blue-800-rgb), + 0.15 + ); + --spectrum-assetlist-border-color-key-focus: var(--spectrum-blue-700); + + --spectrum-swatch-border-color: rgba(255, 255, 255, 0.51); +} + +:host, +:root { + --spectrum-focus-indicator-color: var(--spectrum-blue-800); + --spectrum-static-white-focus-indicator-color: var(--spectrum-white); + --spectrum-static-black-focus-indicator-color: var(--spectrum-black); + --spectrum-overlay-color: var(--spectrum-black); + --spectrum-drop-shadow-color: var(--spectrum-drop-shadow-color-100); + --spectrum-opacity-disabled: 0.3; + --spectrum-background-base-color: var(--spectrum-gray-25); + --spectrum-background-layer-1-color: var(--spectrum-gray-50); + --spectrum-neutral-background-color-default: var(--spectrum-gray-800); + --spectrum-neutral-background-color-hover: var(--spectrum-gray-900); + --spectrum-neutral-background-color-down: var(--spectrum-gray-900); + --spectrum-neutral-background-color-key-focus: var(--spectrum-gray-900); + --spectrum-neutral-background-color-selected-default: var( + --spectrum-gray-800 + ); + --spectrum-neutral-background-color-selected-hover: var( + --spectrum-gray-900 + ); + --spectrum-neutral-background-color-selected-down: var(--spectrum-gray-900); + --spectrum-neutral-background-color-selected-key-focus: var( + --spectrum-gray-900 + ); + --spectrum-neutral-subdued-content-color-selected: var( + --spectrum-neutral-subdued-content-color-down + ); + --spectrum-accent-content-color-selected: var( + --spectrum-accent-content-color-down + ); + --spectrum-disabled-background-color: var(--spectrum-gray-100); + --spectrum-disabled-static-white-background-color: var( + --spectrum-transparent-white-100 + ); + --spectrum-disabled-static-black-background-color: var( + --spectrum-transparent-black-100 + ); + --spectrum-background-opacity-default: 0; + --spectrum-background-opacity-hover: 0.1; + --spectrum-background-opacity-down: 0.1; + --spectrum-background-opacity-key-focus: 0.1; + --spectrum-neutral-content-color-default: var(--spectrum-gray-800); + --spectrum-neutral-content-color-hover: var(--spectrum-gray-900); + --spectrum-neutral-content-color-down: var(--spectrum-gray-900); + --spectrum-neutral-content-color-focus-hover: var( + --spectrum-neutral-content-color-down + ); + --spectrum-neutral-content-color-focus: var( + --spectrum-neutral-content-color-down + ); + --spectrum-neutral-content-color-key-focus: var(--spectrum-gray-900); + --spectrum-neutral-subdued-content-color-default: var(--spectrum-gray-700); + --spectrum-neutral-subdued-content-color-hover: var(--spectrum-gray-800); + --spectrum-neutral-subdued-content-color-down: var(--spectrum-gray-800); + --spectrum-neutral-subdued-content-color-key-focus: var( + --spectrum-gray-800 + ); + --spectrum-accent-content-color-default: var(--spectrum-accent-color-900); + --spectrum-accent-content-color-hover: var(--spectrum-accent-color-1000); + --spectrum-accent-content-color-down: var(--spectrum-accent-color-1000); + --spectrum-accent-content-color-key-focus: var( + --spectrum-accent-color-1000 + ); + --spectrum-negative-content-color-default: var( + --spectrum-negative-color-900 + ); + --spectrum-negative-content-color-hover: var( + --spectrum-negative-color-1000 + ); + --spectrum-negative-content-color-down: var(--spectrum-negative-color-1000); + --spectrum-negative-content-color-key-focus: var( + --spectrum-negative-color-1000 + ); + --spectrum-disabled-content-color: var(--spectrum-gray-400); + --spectrum-disabled-static-white-content-color: var( + --spectrum-transparent-white-400 + ); + --spectrum-disabled-static-black-content-color: var( + --spectrum-transparent-black-400 + ); + --spectrum-disabled-border-color: var(--spectrum-gray-300); + --spectrum-disabled-static-white-border-color: var( + --spectrum-transparent-white-300 + ); + --spectrum-disabled-static-black-border-color: var( + --spectrum-transparent-black-300 + ); + --spectrum-negative-border-color-default: var( + --spectrum-negative-color-900 + ); + --spectrum-negative-border-color-hover: var(--spectrum-negative-color-1000); + --spectrum-negative-border-color-down: var(--spectrum-negative-color-1100); + --spectrum-negative-border-color-focus-hover: var( + --spectrum-negative-border-color-down + ); + --spectrum-negative-border-color-focus: var(--spectrum-negative-color-1000); + --spectrum-negative-border-color-key-focus: var( + --spectrum-negative-color-1000 + ); + --spectrum-title-color: var(--spectrum-gray-900); + --spectrum-drop-shadow-emphasized-default-color: var( + --spectrum-drop-shadow-color-100 + ); + --spectrum-drop-shadow-emphasized-hover-color: var( + --spectrum-drop-shadow-color-200 + ); + --spectrum-drop-shadow-elevated-color: var( + --spectrum-drop-shadow-color-200 + ); + --spectrum-swatch-border-color: var(--spectrum-gray-900); + --spectrum-swatch-border-opacity: 0.51; + --spectrum-swatch-disabled-icon-border-color: var(--spectrum-black); + --spectrum-swatch-disabled-icon-border-opacity: 0.51; + --spectrum-thumbnail-border-color: var(--spectrum-gray-800); + --spectrum-thumbnail-border-opacity: 0.1; + --spectrum-thumbnail-opacity-disabled: var(--spectrum-opacity-disabled); + --spectrum-opacity-checkerboard-square-light: var(--spectrum-white); + --spectrum-avatar-opacity-disabled: var(--spectrum-opacity-disabled); + --spectrum-color-area-border-color: var(--spectrum-gray-900); + --spectrum-color-area-border-opacity: 0.1; + --spectrum-color-slider-border-color: var(--spectrum-gray-900); + --spectrum-color-slider-border-opacity: 0.1; + --spectrum-color-loupe-drop-shadow-color: var( + --spectrum-transparent-black-300 + ); + --spectrum-color-loupe-inner-border: var(--spectrum-transparent-black-200); + --spectrum-color-loupe-outer-border: var(--spectrum-white); + --spectrum-card-selection-background-color: var(--spectrum-gray-100); + --spectrum-card-selection-background-color-opacity: 0.95; + --spectrum-drop-zone-background-color: var(--spectrum-accent-visual-color); + --spectrum-drop-zone-background-color-opacity: 0.1; + --spectrum-drop-zone-background-color-opacity-filled: 0.3; + --spectrum-coach-mark-pagination-color: var(--spectrum-gray-600); + --spectrum-color-handle-inner-border-color: var(--spectrum-black); + --spectrum-color-handle-inner-border-opacity: 0.42; + --spectrum-color-handle-outer-border-color: var(--spectrum-black); + --spectrum-color-handle-outer-border-opacity: var( + --spectrum-color-handle-inner-border-opacity + ); + --spectrum-color-handle-drop-shadow-color: var( + --spectrum-drop-shadow-color + ); + --spectrum-floating-action-button-drop-shadow-color: var( + --spectrum-transparent-black-300 + ); + --spectrum-floating-action-button-shadow-color: var( + --spectrum-floating-action-button-drop-shadow-color + ); + --spectrum-table-row-hover-color: var(--spectrum-gray-900); + --spectrum-table-row-hover-opacity: 0.07; + --spectrum-table-selected-row-background-color: var( + --spectrum-informative-background-color-default + ); + --spectrum-table-selected-row-background-opacity: 0.1; + --spectrum-table-selected-row-background-color-non-emphasized: var( + --spectrum-neutral-background-color-selected-default + ); + --spectrum-table-selected-row-background-opacity-non-emphasized: 0.1; + --spectrum-table-row-down-opacity: 0.1; + --spectrum-table-selected-row-background-opacity-hover: 0.15; + --spectrum-table-selected-row-background-opacity-non-emphasized-hover: 0.15; + --spectrum-white: rgb(255, 255, 255); + --spectrum-transparent-white-25: rgba(255, 255, 255, 0); + --spectrum-transparent-white-50: rgba(255, 255, 255, 0.04); + --spectrum-transparent-white-75: rgba(255, 255, 255, 0.07); + --spectrum-transparent-white-100: rgba(255, 255, 255, 0.11); + --spectrum-transparent-white-200: rgba(255, 255, 255, 0.14); + --spectrum-transparent-white-300: rgba(255, 255, 255, 0.17); + --spectrum-transparent-white-400: rgba(255, 255, 255, 0.21); + --spectrum-transparent-white-500: rgba(255, 255, 255, 0.39); + --spectrum-transparent-white-600: rgba(255, 255, 255, 0.51); + --spectrum-transparent-white-700: rgba(255, 255, 255, 0.66); + --spectrum-transparent-white-800: rgba(255, 255, 255, 0.85); + --spectrum-transparent-white-900: rgba(255, 255, 255, 0.94); + --spectrum-transparent-white-1000: rgb(255, 255, 255); + --spectrum-black: rgb(0, 0, 0); + --spectrum-transparent-black-25: rgba(0, 0, 0, 0); + --spectrum-transparent-black-50: rgba(0, 0, 0, 0.03); + --spectrum-transparent-black-75: rgba(0, 0, 0, 0.05); + --spectrum-transparent-black-100: rgba(0, 0, 0, 0.09); + --spectrum-transparent-black-200: rgba(0, 0, 0, 0.12); + --spectrum-transparent-black-300: rgba(0, 0, 0, 0.15); + --spectrum-transparent-black-400: rgba(0, 0, 0, 0.22); + --spectrum-transparent-black-500: rgba(0, 0, 0, 0.44); + --spectrum-transparent-black-600: rgba(0, 0, 0, 0.56); + --spectrum-transparent-black-700: rgba(0, 0, 0, 0.69); + --spectrum-transparent-black-800: rgba(0, 0, 0, 0.84); + --spectrum-transparent-black-900: rgba(0, 0, 0, 0.93); + --spectrum-transparent-black-1000: rgb(0, 0, 0); + --spectrum-icon-color-inverse: var(--spectrum-gray-50); + --spectrum-icon-color-primary-default: var( + --spectrum-neutral-content-color-default + ); + --spectrum-asterisk-icon-size-75: 8px; + --spectrum-radio-button-selection-indicator: 4px; + --spectrum-field-label-top-margin-small: 0px; + --spectrum-field-label-to-component: 0px; + --spectrum-help-text-to-component: 0px; + --spectrum-status-light-dot-size-small: 8px; + --spectrum-action-button-edge-to-hold-icon-extra-small: 3px; + --spectrum-action-button-edge-to-hold-icon-small: 3px; + --spectrum-button-minimum-width-multiplier: 2.25; + --spectrum-divider-thickness-small: 1px; + --spectrum-divider-thickness-medium: 2px; + --spectrum-divider-thickness-large: 4px; + --spectrum-swatch-rectangle-width-multiplier: 2; + --spectrum-swatch-slash-thickness-extra-small: 2px; + --spectrum-swatch-slash-thickness-small: 3px; + --spectrum-swatch-slash-thickness-medium: 4px; + --spectrum-swatch-slash-thickness-large: 5px; + --spectrum-progress-bar-minimum-width: 48px; + --spectrum-progress-bar-maximum-width: 768px; + --spectrum-meter-minimum-width: 48px; + --spectrum-meter-maximum-width: 768px; + --spectrum-meter-default-width: var(--spectrum-meter-width); + --spectrum-in-line-alert-minimum-width: 240px; + --spectrum-popover-tip-width: 16px; + --spectrum-popover-tip-height: 8px; + --spectrum-menu-item-label-to-description: 1px; + --spectrum-menu-item-section-divider-height: 8px; + --spectrum-slider-track-thickness: 2px; + --spectrum-slider-handle-gap: 4px; + --spectrum-picker-minimum-width-multiplier: 2; + --spectrum-picker-border-width: var(--spectrum-border-width-100); + --spectrum-picker-end-edge-to-disclousure-icon-quiet: var( + --spectrum-picker-end-edge-to-disclosure-icon-quiet + ); + --spectrum-picker-end-edge-to-disclosure-icon-quiet: 0px; + --spectrum-text-field-minimum-width-multiplier: 1.5; + --spectrum-combo-box-minimum-width-multiplier: 2.5; + --spectrum-combo-box-quiet-minimum-width-multiplier: 2; + --spectrum-combo-box-visual-to-field-button-quiet: 0px; + --spectrum-alert-dialog-minimum-width: 288px; + --spectrum-alert-dialog-maximum-width: 480px; + --spectrum-contextual-help-minimum-width: 268px; + --spectrum-breadcrumbs-height: var(--spectrum-component-height-300); + --spectrum-breadcrumbs-height-compact: var(--spectrum-component-height-200); + --spectrum-breadcrumbs-end-edge-to-text: 0px; + --spectrum-breadcrumbs-truncated-menu-to-separator-icon: 0px; + --spectrum-breadcrumbs-start-edge-to-truncated-menu: 0px; + --spectrum-breadcrumbs-truncated-menu-to-bottom-text: 0px; + --spectrum-alert-banner-to-top-workflow-icon: var( + --spectrum-alert-banner-top-to-workflow-icon + ); + --spectrum-alert-banner-to-top-text: var( + --spectrum-alert-banner-top-to-text + ); + --spectrum-alert-banner-to-bottom-text: var( + --spectrum-alert-banner-bottom-to-text + ); + --spectrum-color-area-border-width: var(--spectrum-border-width-100); + --spectrum-color-area-border-rounding: var(--spectrum-corner-radius-100); + --spectrum-color-wheel-color-area-margin: 12px; + --spectrum-color-slider-border-width: 1px; + --spectrum-color-slider-border-rounding: 4px; + --spectrum-floating-action-button-drop-shadow-blur: 12px; + --spectrum-floating-action-button-drop-shadow-y: 4px; + --spectrum-illustrated-message-maximum-width: 380px; + --spectrum-search-field-minimum-width-multiplier: 3; + --spectrum-color-loupe-height: 64px; + --spectrum-color-loupe-width: 48px; + --spectrum-color-loupe-bottom-to-color-handle: 12px; + --spectrum-color-loupe-outer-border-width: var(--spectrum-border-width-200); + --spectrum-color-loupe-inner-border-width: 1px; + --spectrum-color-loupe-drop-shadow-y: 2px; + --spectrum-color-loupe-drop-shadow-blur: 8px; + --spectrum-card-minimum-width: 100px; + --spectrum-card-preview-minimum-height: 130px; + --spectrum-card-selection-background-size: 40px; + --spectrum-drop-zone-width: 428px; + --spectrum-drop-zone-content-maximum-width: var( + --spectrum-illustrated-message-maximum-width + ); + --spectrum-drop-zone-border-dash-length: 8px; + --spectrum-drop-zone-border-dash-gap: 4px; + --spectrum-drop-zone-title-size: var( + --spectrum-illustrated-message-title-size + ); + --spectrum-drop-zone-cjk-title-size: var( + --spectrum-illustrated-message-cjk-title-size + ); + --spectrum-drop-zone-body-size: var( + --spectrum-illustrated-message-body-size + ); + --spectrum-accordion-top-to-text-compact-small: 2px; + --spectrum-accordion-top-to-text-compact-medium: 4px; + --spectrum-accordion-disclosure-indicator-to-text: 0px; + --spectrum-accordion-edge-to-disclosure-indicator: 0px; + --spectrum-accordion-edge-to-text: 0px; + --spectrum-accordion-focus-indicator-gap: 0px; + --spectrum-color-handle-border-width: var(--spectrum-border-width-200); + --spectrum-color-handle-inner-border-width: 1px; + --spectrum-color-handle-outer-border-width: 1px; + --spectrum-color-handle-drop-shadow-x: 0; + --spectrum-color-handle-drop-shadow-y: 0; + --spectrum-color-handle-drop-shadow-blur: 0; + --spectrum-table-row-height-small-compact: var( + --spectrum-component-height-75 + ); + --spectrum-table-row-height-medium-compact: var( + --spectrum-component-height-100 + ); + --spectrum-table-row-height-large-compact: var( + --spectrum-component-height-200 + ); + --spectrum-table-row-height-extra-large-compact: var( + --spectrum-component-height-300 + ); + --spectrum-table-row-top-to-text-small-compact: var( + --spectrum-component-top-to-text-75 + ); + --spectrum-table-row-top-to-text-medium-compact: var( + --spectrum-component-top-to-text-100 + ); + --spectrum-table-row-top-to-text-large-compact: var( + --spectrum-component-top-to-text-200 + ); + --spectrum-table-row-top-to-text-extra-large-compact: var( + --spectrum-component-top-to-text-300 + ); + --spectrum-table-row-bottom-to-text-small-compact: var( + --spectrum-component-bottom-to-text-75 + ); + --spectrum-table-row-bottom-to-text-medium-compact: var( + --spectrum-component-bottom-to-text-100 + ); + --spectrum-table-row-bottom-to-text-large-compact: var( + --spectrum-component-bottom-to-text-200 + ); + --spectrum-table-row-bottom-to-text-extra-large-compact: var( + --spectrum-component-bottom-to-text-300 + ); + --spectrum-table-edge-to-content: 16px; + --spectrum-table-border-divider-width: 1px; + --spectrum-tab-item-height-small: var(--spectrum-component-height-200); + --spectrum-tab-item-height-medium: var(--spectrum-component-height-300); + --spectrum-tab-item-height-large: var(--spectrum-component-height-400); + --spectrum-tab-item-height-extra-large: var( + --spectrum-component-height-500 + ); + --spectrum-tab-item-compact-height-small: var( + --spectrum-component-height-75 + ); + --spectrum-tab-item-compact-height-medium: var( + --spectrum-component-height-100 + ); + --spectrum-tab-item-compact-height-large: var( + --spectrum-component-height-200 + ); + --spectrum-tab-item-compact-height-extra-large: var( + --spectrum-component-height-300 + ); + --spectrum-tab-item-start-to-edge-quiet: 0px; + --spectrum-in-field-button-width-stacked-small: 20px; + --spectrum-in-field-button-width-stacked-medium: 28px; + --spectrum-in-field-button-width-stacked-large: 36px; + --spectrum-in-field-button-width-stacked-extra-large: 44px; + --spectrum-in-field-button-fill-stacked-inner-border-rounding: 0px; + --spectrum-in-field-button-edge-to-fill: 0px; + --spectrum-in-field-button-stacked-inner-edge-to-fill: 0px; + --spectrum-in-field-button-edge-to-disclosure-icon-stacked-small: 7px; + --spectrum-in-field-button-edge-to-disclosure-icon-stacked-medium: 9px; + --spectrum-in-field-button-edge-to-disclosure-icon-stacked-large: 13px; + --spectrum-in-field-button-edge-to-disclosure-icon-stacked-extra-large: 16px; + --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-small: 3px; + --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-medium: 3px; + --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-large: 4px; + --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-extra-large: 5px; + --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-small: var( + --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-small + ); + --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-medium: var( + --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-medium + ); + --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-large: var( + --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-large + ); + --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-extra-large: var( + --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-extra-large + ); + --spectrum-corner-radius-75: 2px; + --spectrum-drop-shadow-x: 0px; + --spectrum-android-elevation: 2dp; + --spectrum-spacing-50: 2px; + --spectrum-spacing-75: 4px; + --spectrum-spacing-100: 8px; + --spectrum-spacing-200: 12px; + --spectrum-spacing-300: 16px; + --spectrum-spacing-400: 24px; + --spectrum-spacing-500: 32px; + --spectrum-spacing-600: 40px; + --spectrum-spacing-700: 48px; + --spectrum-spacing-800: 64px; + --spectrum-spacing-900: 80px; + --spectrum-spacing-1000: 96px; + --spectrum-focus-indicator-thickness: 2px; + --spectrum-focus-indicator-gap: 2px; + --spectrum-border-width-100: 1px; + --spectrum-border-width-200: 2px; + --spectrum-border-width-400: 4px; + --spectrum-field-edge-to-text-quiet: 0px; + --spectrum-field-edge-to-visual-quiet: 0px; + --spectrum-field-edge-to-border-quiet: 0px; + --spectrum-field-edge-to-alert-icon-quiet: 0px; + --spectrum-field-edge-to-validation-icon-quiet: 0px; + --spectrum-text-underline-thickness: 1px; + --spectrum-text-underline-gap: 1px; + --spectrum-accent-color-100: var(--spectrum-blue-100); + --spectrum-accent-color-200: var(--spectrum-blue-200); + --spectrum-accent-color-300: var(--spectrum-blue-300); + --spectrum-accent-color-400: var(--spectrum-blue-400); + --spectrum-accent-color-500: var(--spectrum-blue-500); + --spectrum-accent-color-600: var(--spectrum-blue-600); + --spectrum-accent-color-700: var(--spectrum-blue-700); + --spectrum-accent-color-800: var(--spectrum-blue-800); + --spectrum-accent-color-900: var(--spectrum-blue-900); + --spectrum-accent-color-1000: var(--spectrum-blue-1000); + --spectrum-accent-color-1100: var(--spectrum-blue-1100); + --spectrum-accent-color-1200: var(--spectrum-blue-1200); + --spectrum-accent-color-1300: var(--spectrum-blue-1300); + --spectrum-accent-color-1400: var(--spectrum-blue-1400); + --spectrum-accent-color-1500: var(--spectrum-blue-1500); + --spectrum-accent-color-1600: var(--spectrum-blue-1600); + --spectrum-informative-color-100: var(--spectrum-blue-100); + --spectrum-informative-color-200: var(--spectrum-blue-200); + --spectrum-informative-color-300: var(--spectrum-blue-300); + --spectrum-informative-color-400: var(--spectrum-blue-400); + --spectrum-informative-color-500: var(--spectrum-blue-500); + --spectrum-informative-color-600: var(--spectrum-blue-600); + --spectrum-informative-color-700: var(--spectrum-blue-700); + --spectrum-informative-color-800: var(--spectrum-blue-800); + --spectrum-informative-color-900: var(--spectrum-blue-900); + --spectrum-informative-color-1000: var(--spectrum-blue-1000); + --spectrum-informative-color-1100: var(--spectrum-blue-1100); + --spectrum-informative-color-1200: var(--spectrum-blue-1200); + --spectrum-informative-color-1300: var(--spectrum-blue-1300); + --spectrum-informative-color-1400: var(--spectrum-blue-1400); + --spectrum-informative-color-1500: var(--spectrum-blue-1500); + --spectrum-informative-color-1600: var(--spectrum-blue-1600); + --spectrum-negative-color-100: var(--spectrum-red-100); + --spectrum-negative-color-200: var(--spectrum-red-200); + --spectrum-negative-color-300: var(--spectrum-red-300); + --spectrum-negative-color-400: var(--spectrum-red-400); + --spectrum-negative-color-500: var(--spectrum-red-500); + --spectrum-negative-color-600: var(--spectrum-red-600); + --spectrum-negative-color-700: var(--spectrum-red-700); + --spectrum-negative-color-800: var(--spectrum-red-800); + --spectrum-negative-color-900: var(--spectrum-red-900); + --spectrum-negative-color-1000: var(--spectrum-red-1000); + --spectrum-negative-color-1100: var(--spectrum-red-1100); + --spectrum-negative-color-1200: var(--spectrum-red-1200); + --spectrum-negative-color-1300: var(--spectrum-red-1300); + --spectrum-negative-color-1400: var(--spectrum-red-1400); + --spectrum-negative-color-1500: var(--spectrum-red-1500); + --spectrum-negative-color-1600: var(--spectrum-red-1600); + --spectrum-notice-color-100: var(--spectrum-orange-100); + --spectrum-notice-color-200: var(--spectrum-orange-200); + --spectrum-notice-color-300: var(--spectrum-orange-300); + --spectrum-notice-color-400: var(--spectrum-orange-400); + --spectrum-notice-color-500: var(--spectrum-orange-500); + --spectrum-notice-color-600: var(--spectrum-orange-600); + --spectrum-notice-color-700: var(--spectrum-orange-700); + --spectrum-notice-color-800: var(--spectrum-orange-800); + --spectrum-notice-color-900: var(--spectrum-orange-900); + --spectrum-notice-color-1000: var(--spectrum-orange-1000); + --spectrum-notice-color-1100: var(--spectrum-orange-1100); + --spectrum-notice-color-1200: var(--spectrum-orange-1200); + --spectrum-notice-color-1300: var(--spectrum-orange-1300); + --spectrum-notice-color-1400: var(--spectrum-orange-1400); + --spectrum-notice-color-1500: var(--spectrum-orange-1500); + --spectrum-notice-color-1600: var(--spectrum-orange-1600); + --spectrum-positive-color-100: var(--spectrum-green-100); + --spectrum-positive-color-200: var(--spectrum-green-200); + --spectrum-positive-color-300: var(--spectrum-green-300); + --spectrum-positive-color-400: var(--spectrum-green-400); + --spectrum-positive-color-500: var(--spectrum-green-500); + --spectrum-positive-color-600: var(--spectrum-green-600); + --spectrum-positive-color-700: var(--spectrum-green-700); + --spectrum-positive-color-800: var(--spectrum-green-800); + --spectrum-positive-color-900: var(--spectrum-green-900); + --spectrum-positive-color-1000: var(--spectrum-green-1000); + --spectrum-positive-color-1100: var(--spectrum-green-1100); + --spectrum-positive-color-1200: var(--spectrum-green-1200); + --spectrum-positive-color-1300: var(--spectrum-green-1300); + --spectrum-positive-color-1400: var(--spectrum-green-1400); + --spectrum-positive-color-1500: var(--spectrum-green-1500); + --spectrum-positive-color-1600: var(--spectrum-green-1600); + --spectrum-negative-subdued-background-color-default: var( + --spectrum-negative-color-200 + ); + --spectrum-negative-subdued-background-color-hover: var( + --spectrum-negative-color-300 + ); + --spectrum-negative-subdued-background-color-down: var( + --spectrum-negative-color-300 + ); + --spectrum-negative-subdued-background-color-key-focus: var( + --spectrum-negative-color-300 + ); + --spectrum-default-font-family: var(--spectrum-sans-serif-font-family); + --spectrum-sans-serif-font-family: Adobe Clean; + --spectrum-serif-font-family: Adobe Clean Serif; + --spectrum-cjk-font-family: Adobe Clean Han; + --spectrum-light-font-weight: 300; + --spectrum-regular-font-weight: 400; + --spectrum-medium-font-weight: 500; + --spectrum-bold-font-weight: 700; + --spectrum-extra-bold-font-weight: 800; + --spectrum-black-font-weight: 900; + --spectrum-italic-font-style: italic; + --spectrum-default-font-style: normal; + --spectrum-line-height-100: 1.3; + --spectrum-line-height-200: 1.5; + --spectrum-cjk-line-height-100: 1.5; + --spectrum-cjk-line-height-200: 1.7; + --spectrum-cjk-letter-spacing: 0.05em; + --spectrum-heading-sans-serif-font-family: var( + --spectrum-sans-serif-font-family + ); + --spectrum-heading-serif-font-family: var(--spectrum-serif-font-family); + --spectrum-heading-cjk-font-family: var(--spectrum-cjk-font-family); + --spectrum-heading-sans-serif-light-font-weight: var( + --spectrum-light-font-weight + ); + --spectrum-heading-sans-serif-light-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-serif-light-font-weight: var( + --spectrum-regular-font-weight + ); + --spectrum-heading-serif-light-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-cjk-light-font-weight: var(--spectrum-light-font-weight); + --spectrum-heading-cjk-light-font-style: var(--spectrum-default-font-style); + --spectrum-heading-sans-serif-font-weight: var(--spectrum-bold-font-weight); + --spectrum-heading-sans-serif-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-serif-font-weight: var(--spectrum-bold-font-weight); + --spectrum-heading-serif-font-style: var(--spectrum-default-font-style); + --spectrum-heading-cjk-font-weight: var(--spectrum-extra-bold-font-weight); + --spectrum-heading-cjk-font-style: var(--spectrum-default-font-style); + --spectrum-heading-sans-serif-heavy-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-sans-serif-heavy-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-serif-heavy-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-serif-heavy-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-cjk-heavy-font-weight: var(--spectrum-black-font-weight); + --spectrum-heading-cjk-heavy-font-style: var(--spectrum-default-font-style); + --spectrum-heading-sans-serif-light-strong-font-weight: var( + --spectrum-bold-font-weight + ); + --spectrum-heading-sans-serif-light-strong-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-serif-light-strong-font-weight: var( + --spectrum-bold-font-weight + ); + --spectrum-heading-serif-light-strong-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-cjk-light-strong-font-weight: var( + --spectrum-extra-bold-font-weight + ); + --spectrum-heading-cjk-light-strong-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-sans-serif-strong-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-sans-serif-strong-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-serif-strong-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-serif-strong-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-cjk-strong-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-cjk-strong-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-sans-serif-heavy-strong-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-sans-serif-heavy-strong-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-serif-heavy-strong-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-serif-heavy-strong-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-cjk-heavy-strong-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-cjk-heavy-strong-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-sans-serif-light-emphasized-font-weight: var( + --spectrum-light-font-weight + ); + --spectrum-heading-sans-serif-light-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-heading-serif-light-emphasized-font-weight: var( + --spectrum-regular-font-weight + ); + --spectrum-heading-serif-light-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-heading-cjk-light-emphasized-font-weight: var( + --spectrum-regular-font-weight + ); + --spectrum-heading-cjk-light-emphasized-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-sans-serif-emphasized-font-weight: var( + --spectrum-bold-font-weight + ); + --spectrum-heading-sans-serif-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-heading-serif-emphasized-font-weight: var( + --spectrum-bold-font-weight + ); + --spectrum-heading-serif-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-heading-cjk-emphasized-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-cjk-emphasized-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-sans-serif-heavy-emphasized-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-sans-serif-heavy-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-heading-serif-heavy-emphasized-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-serif-heavy-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-heading-cjk-heavy-emphasized-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-cjk-heavy-emphasized-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-sans-serif-light-strong-emphasized-font-weight: var( + --spectrum-bold-font-weight + ); + --spectrum-heading-sans-serif-light-strong-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-heading-serif-light-strong-emphasized-font-weight: var( + --spectrum-bold-font-weight + ); + --spectrum-heading-serif-light-strong-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-heading-cjk-light-strong-emphasized-font-weight: var( + --spectrum-extra-bold-font-weight + ); + --spectrum-heading-cjk-light-strong-emphasized-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-sans-serif-strong-emphasized-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-sans-serif-strong-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-heading-serif-strong-emphasized-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-serif-strong-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-heading-cjk-strong-emphasized-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-cjk-strong-emphasized-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-sans-serif-heavy-strong-emphasized-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-sans-serif-heavy-strong-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-heading-serif-heavy-strong-emphasized-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-serif-heavy-strong-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-heading-cjk-heavy-strong-emphasized-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-heading-cjk-heavy-strong-emphasized-font-style: var( + --spectrum-default-font-style + ); + --spectrum-heading-size-xxxl: var(--spectrum-font-size-1300); + --spectrum-heading-size-xxl: var(--spectrum-font-size-1100); + --spectrum-heading-size-xl: var(--spectrum-font-size-900); + --spectrum-heading-size-l: var(--spectrum-font-size-700); + --spectrum-heading-size-m: var(--spectrum-font-size-500); + --spectrum-heading-size-s: var(--spectrum-font-size-300); + --spectrum-heading-size-xs: var(--spectrum-font-size-200); + --spectrum-heading-size-xxs: var(--spectrum-font-size-100); + --spectrum-heading-cjk-size-xxxl: var(--spectrum-font-size-1300); + --spectrum-heading-cjk-size-xxl: var(--spectrum-font-size-900); + --spectrum-heading-cjk-size-xl: var(--spectrum-font-size-800); + --spectrum-heading-cjk-size-l: var(--spectrum-font-size-600); + --spectrum-heading-cjk-size-m: var(--spectrum-font-size-400); + --spectrum-heading-cjk-size-s: var(--spectrum-font-size-300); + --spectrum-heading-cjk-size-xs: var(--spectrum-font-size-200); + --spectrum-heading-cjk-size-xxs: var(--spectrum-font-size-100); + --spectrum-heading-line-height: var(--spectrum-line-height-100); + --spectrum-heading-cjk-line-height: var(--spectrum-cjk-line-height-100); + --spectrum-heading-margin-top-multiplier: 0.88888889; + --spectrum-heading-margin-bottom-multiplier: 0.25; + --spectrum-heading-color: var(--spectrum-gray-900); + --spectrum-body-sans-serif-font-family: var( + --spectrum-sans-serif-font-family + ); + --spectrum-body-serif-font-family: var(--spectrum-serif-font-family); + --spectrum-body-cjk-font-family: var(--spectrum-cjk-font-family); + --spectrum-body-sans-serif-font-weight: var(--spectrum-regular-font-weight); + --spectrum-body-sans-serif-font-style: var(--spectrum-default-font-style); + --spectrum-body-serif-font-weight: var(--spectrum-regular-font-weight); + --spectrum-body-serif-font-style: var(--spectrum-default-font-style); + --spectrum-body-cjk-font-weight: var(--spectrum-regular-font-weight); + --spectrum-body-cjk-font-style: var(--spectrum-default-font-style); + --spectrum-body-sans-serif-strong-font-weight: var( + --spectrum-bold-font-weight + ); + --spectrum-body-sans-serif-strong-font-style: var( + --spectrum-default-font-style + ); + --spectrum-body-serif-strong-font-weight: var(--spectrum-bold-font-weight); + --spectrum-body-serif-strong-font-style: var(--spectrum-default-font-style); + --spectrum-body-cjk-strong-font-weight: var(--spectrum-black-font-weight); + --spectrum-body-cjk-strong-font-style: var(--spectrum-default-font-style); + --spectrum-body-sans-serif-emphasized-font-weight: var( + --spectrum-regular-font-weight + ); + --spectrum-body-sans-serif-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-body-serif-emphasized-font-weight: var( + --spectrum-regular-font-weight + ); + --spectrum-body-serif-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-body-cjk-emphasized-font-weight: var( + --spectrum-extra-bold-font-weight + ); + --spectrum-body-cjk-emphasized-font-style: var( + --spectrum-default-font-style + ); + --spectrum-body-sans-serif-strong-emphasized-font-weight: var( + --spectrum-bold-font-weight + ); + --spectrum-body-sans-serif-strong-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-body-serif-strong-emphasized-font-weight: var( + --spectrum-bold-font-weight + ); + --spectrum-body-serif-strong-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-body-cjk-strong-emphasized-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-body-cjk-strong-emphasized-font-style: var( + --spectrum-default-font-style + ); + --spectrum-body-size-xxxl: var(--spectrum-font-size-600); + --spectrum-body-size-xxl: var(--spectrum-font-size-500); + --spectrum-body-size-xl: var(--spectrum-font-size-400); + --spectrum-body-size-l: var(--spectrum-font-size-300); + --spectrum-body-size-m: var(--spectrum-font-size-200); + --spectrum-body-size-s: var(--spectrum-font-size-100); + --spectrum-body-size-xs: var(--spectrum-font-size-75); + --spectrum-body-line-height: var(--spectrum-line-height-200); + --spectrum-body-cjk-line-height: var(--spectrum-cjk-line-height-200); + --spectrum-body-margin-multiplier: 0.75; + --spectrum-body-color: var(--spectrum-gray-800); + --spectrum-detail-sans-serif-font-family: var( + --spectrum-sans-serif-font-family + ); + --spectrum-detail-serif-font-family: var(--spectrum-serif-font-family); + --spectrum-detail-cjk-font-family: var(--spectrum-cjk-font-family); + --spectrum-detail-sans-serif-font-weight: var(--spectrum-bold-font-weight); + --spectrum-detail-sans-serif-font-style: var(--spectrum-default-font-style); + --spectrum-detail-serif-font-weight: var(--spectrum-bold-font-weight); + --spectrum-detail-serif-font-style: var(--spectrum-default-font-style); + --spectrum-detail-cjk-font-weight: var(--spectrum-extra-bold-font-weight); + --spectrum-detail-cjk-font-style: var(--spectrum-default-font-style); + --spectrum-detail-sans-serif-light-font-weight: var( + --spectrum-regular-font-weight + ); + --spectrum-detail-sans-serif-light-font-style: var( + --spectrum-default-font-style + ); + --spectrum-detail-serif-light-font-weight: var( + --spectrum-regular-font-weight + ); + --spectrum-detail-serif-light-font-style: var( + --spectrum-default-font-style + ); + --spectrum-detail-cjk-light-font-weight: var(--spectrum-light-font-weight); + --spectrum-detail-cjk-light-font-style: var(--spectrum-default-font-style); + --spectrum-detail-sans-serif-strong-font-weight: var( + --spectrum-bold-font-weight + ); + --spectrum-detail-sans-serif-strong-font-style: var( + --spectrum-default-font-style + ); + --spectrum-detail-serif-strong-font-weight: var( + --spectrum-bold-font-weight + ); + --spectrum-detail-serif-strong-font-style: var( + --spectrum-default-font-style + ); + --spectrum-detail-cjk-strong-font-weight: var(--spectrum-black-font-weight); + --spectrum-detail-cjk-strong-font-style: var(--spectrum-default-font-style); + --spectrum-detail-sans-serif-light-strong-font-weight: var( + --spectrum-regular-font-weight + ); + --spectrum-detail-sans-serif-light-strong-font-style: var( + --spectrum-default-font-style + ); + --spectrum-detail-serif-light-strong-font-weight: var( + --spectrum-regular-font-weight + ); + --spectrum-detail-serif-light-strong-font-style: var( + --spectrum-default-font-style + ); + --spectrum-detail-cjk-light-strong-font-weight: var( + --spectrum-extra-bold-font-weight + ); + --spectrum-detail-cjk-light-strong-font-style: var( + --spectrum-default-font-style + ); + --spectrum-detail-sans-serif-emphasized-font-weight: var( + --spectrum-bold-font-weight + ); + --spectrum-detail-sans-serif-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-detail-serif-emphasized-font-weight: var( + --spectrum-bold-font-weight + ); + --spectrum-detail-serif-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-detail-cjk-emphasized-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-detail-cjk-emphasized-font-style: var( + --spectrum-default-font-style + ); + --spectrum-detail-sans-serif-light-emphasized-font-weight: var( + --spectrum-regular-font-weight + ); + --spectrum-detail-sans-serif-light-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-detail-serif-light-emphasized-font-weight: var( + --spectrum-regular-font-weight + ); + --spectrum-detail-serif-light-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-detail-cjk-light-emphasized-font-weight: var( + --spectrum-regular-font-weight + ); + --spectrum-detail-cjk-light-emphasized-font-style: var( + --spectrum-default-font-style + ); + --spectrum-detail-sans-serif-strong-emphasized-font-weight: var( + --spectrum-bold-font-weight + ); + --spectrum-detail-sans-serif-strong-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-detail-serif-strong-emphasized-font-weight: var( + --spectrum-bold-font-weight + ); + --spectrum-detail-serif-strong-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-detail-cjk-strong-emphasized-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-detail-cjk-strong-emphasized-font-style: var( + --spectrum-default-font-style + ); + --spectrum-detail-sans-serif-light-strong-emphasized-font-weight: var( + --spectrum-regular-font-weight + ); + --spectrum-detail-sans-serif-light-strong-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-detail-serif-light-strong-emphasized-font-weight: var( + --spectrum-regular-font-weight + ); + --spectrum-detail-serif-light-strong-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-detail-cjk-light-strong-emphasized-font-weight: var( + --spectrum-extra-bold-font-weight + ); + --spectrum-detail-cjk-light-strong-emphasized-font-style: var( + --spectrum-default-font-style + ); + --spectrum-detail-size-xl: var(--spectrum-font-size-200); + --spectrum-detail-size-l: var(--spectrum-font-size-100); + --spectrum-detail-size-m: var(--spectrum-font-size-75); + --spectrum-detail-size-s: var(--spectrum-font-size-50); + --spectrum-detail-line-height: var(--spectrum-line-height-100); + --spectrum-detail-cjk-line-height: var(--spectrum-cjk-line-height-100); + --spectrum-detail-margin-top-multiplier: 0.88888889; + --spectrum-detail-margin-bottom-multiplier: 0.25; + --spectrum-detail-letter-spacing: 0.06em; + --spectrum-detail-sans-serif-text-transform: uppercase; + --spectrum-detail-serif-text-transform: uppercase; + --spectrum-detail-color: var(--spectrum-gray-900); + --spectrum-code-font-family: Source Code Pro; + --spectrum-code-cjk-font-family: var(--spectrum-code-font-family); + --spectrum-code-font-weight: var(--spectrum-regular-font-weight); + --spectrum-code-font-style: var(--spectrum-default-font-style); + --spectrum-code-cjk-font-weight: var(--spectrum-regular-font-weight); + --spectrum-code-cjk-font-style: var(--spectrum-default-font-style); + --spectrum-code-strong-font-weight: var(--spectrum-bold-font-weight); + --spectrum-code-strong-font-style: var(--spectrum-default-font-style); + --spectrum-code-cjk-strong-font-weight: var(--spectrum-black-font-weight); + --spectrum-code-cjk-strong-font-style: var(--spectrum-default-font-style); + --spectrum-code-emphasized-font-weight: var(--spectrum-regular-font-weight); + --spectrum-code-emphasized-font-style: var(--spectrum-italic-font-style); + --spectrum-code-cjk-emphasized-font-weight: var( + --spectrum-bold-font-weight + ); + --spectrum-code-cjk-emphasized-font-style: var( + --spectrum-default-font-style + ); + --spectrum-code-strong-emphasized-font-weight: var( + --spectrum-bold-font-weight + ); + --spectrum-code-strong-emphasized-font-style: var( + --spectrum-italic-font-style + ); + --spectrum-code-cjk-strong-emphasized-font-weight: var( + --spectrum-black-font-weight + ); + --spectrum-code-cjk-strong-emphasized-font-style: var( + --spectrum-default-font-style + ); + --spectrum-code-size-xl: var(--spectrum-font-size-400); + --spectrum-code-size-l: var(--spectrum-font-size-300); + --spectrum-code-size-m: var(--spectrum-font-size-200); + --spectrum-code-size-s: var(--spectrum-font-size-100); + --spectrum-code-size-xs: var(--spectrum-font-size-75); + --spectrum-code-line-height: var(--spectrum-line-height-200); + --spectrum-code-cjk-line-height: var(--spectrum-cjk-line-height-200); + --spectrum-code-color: var(--spectrum-gray-800); + --system: spectrum; + + --spectrum-animation-linear: cubic-bezier(0, 0, 1, 1); + --spectrum-animation-duration-0: 0ms; + --spectrum-animation-duration-100: 130ms; + --spectrum-animation-duration-200: 160ms; + --spectrum-animation-duration-300: 190ms; + --spectrum-animation-duration-400: 220ms; + --spectrum-animation-duration-500: 250ms; + --spectrum-animation-duration-600: 300ms; + --spectrum-animation-duration-700: 350ms; + --spectrum-animation-duration-800: 400ms; + --spectrum-animation-duration-900: 450ms; + --spectrum-animation-duration-1000: 500ms; + --spectrum-animation-duration-2000: 1000ms; + --spectrum-animation-duration-4000: 2000ms; + --spectrum-animation-duration-6000: 3000ms; + --spectrum-animation-ease-in-out: cubic-bezier(0.45, 0, 0.4, 1); + --spectrum-animation-ease-in: cubic-bezier(0.5, 0, 1, 1); + --spectrum-animation-ease-out: cubic-bezier(0, 0, 0.4, 1); + --spectrum-animation-ease-linear: cubic-bezier(0, 0, 1, 1); + + --spectrum-sans-font-family-stack: adobe-clean, + var(--spectrum-sans-serif-font-family), 'Source Sans Pro', -apple-system, + BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, 'Trebuchet MS', + 'Lucida Grande', sans-serif; + --spectrum-sans-serif-font: var(--spectrum-sans-font-family-stack); + + --spectrum-serif-font-family-stack: adobe-clean-serif, + var(--spectrum-serif-font-family), 'Source Serif Pro', Georgia, serif; + --spectrum-serif-font: var(--spectrum-serif-font-family-stack); + + --spectrum-code-font-family-stack: 'Source Code Pro', Monaco, monospace; + + --spectrum-cjk-font-family-stack: adobe-clean-han-japanese, + var(--spectrum-cjk-font-family), sans-serif; + --spectrum-cjk-font: var(--spectrum-code-font-family-stack); + --spectrum-docs-static-white-background-color: rgb(15, 121, 125); + --spectrum-docs-static-black-background-color: rgb(181, 209, 211); +} + +:host, +:root { + --spectrum-workflow-icon-size-50: 18px; + --spectrum-workflow-icon-size-75: 20px; + --spectrum-workflow-icon-size-100: 22px; + --spectrum-workflow-icon-size-200: 24px; + --spectrum-workflow-icon-size-300: 28px; + --spectrum-arrow-icon-size-75: 12px; + --spectrum-arrow-icon-size-100: 14px; + --spectrum-arrow-icon-size-200: 16px; + --spectrum-arrow-icon-size-300: 16px; + --spectrum-arrow-icon-size-400: 18px; + --spectrum-arrow-icon-size-500: 22px; + --spectrum-arrow-icon-size-600: 24px; + --spectrum-asterisk-icon-size-100: 10px; + --spectrum-asterisk-icon-size-200: 12px; + --spectrum-asterisk-icon-size-300: 12px; + --spectrum-checkmark-icon-size-50: 12px; + --spectrum-checkmark-icon-size-75: 12px; + --spectrum-checkmark-icon-size-100: 14px; + --spectrum-checkmark-icon-size-200: 14px; + --spectrum-checkmark-icon-size-300: 16px; + --spectrum-checkmark-icon-size-400: 18px; + --spectrum-checkmark-icon-size-500: 20px; + --spectrum-checkmark-icon-size-600: 24px; + --spectrum-chevron-icon-size-50: 8px; + --spectrum-chevron-icon-size-75: 12px; + --spectrum-chevron-icon-size-100: 14px; + --spectrum-chevron-icon-size-200: 14px; + --spectrum-chevron-icon-size-300: 16px; + --spectrum-chevron-icon-size-400: 18px; + --spectrum-chevron-icon-size-500: 20px; + --spectrum-chevron-icon-size-600: 24px; + --spectrum-corner-triangle-icon-size-75: 6px; + --spectrum-corner-triangle-icon-size-100: 7px; + --spectrum-corner-triangle-icon-size-200: 8px; + --spectrum-corner-triangle-icon-size-300: 8px; + --spectrum-cross-icon-size-75: 10px; + --spectrum-cross-icon-size-100: 10px; + --spectrum-cross-icon-size-200: 12px; + --spectrum-cross-icon-size-300: 14px; + --spectrum-cross-icon-size-400: 16px; + --spectrum-cross-icon-size-500: 16px; + --spectrum-cross-icon-size-600: 18px; + --spectrum-dash-icon-size-50: 10px; + --spectrum-dash-icon-size-75: 10px; + --spectrum-dash-icon-size-100: 12px; + --spectrum-dash-icon-size-200: 14px; + --spectrum-dash-icon-size-300: 16px; + --spectrum-dash-icon-size-400: 18px; + --spectrum-dash-icon-size-500: 20px; + --spectrum-dash-icon-size-600: 22px; + --spectrum-checkbox-control-size-small: 16px; + --spectrum-checkbox-control-size-medium: 18px; + --spectrum-checkbox-control-size-large: 20px; + --spectrum-checkbox-control-size-extra-large: 22px; + --spectrum-checkbox-top-to-control-small: 7px; + --spectrum-checkbox-top-to-control-medium: 11px; + --spectrum-checkbox-top-to-control-large: 15px; + --spectrum-checkbox-top-to-control-extra-large: 19px; + --spectrum-switch-control-width-small: 32px; + --spectrum-switch-control-width-medium: 36px; + --spectrum-switch-control-width-large: 41px; + --spectrum-switch-control-width-extra-large: 46px; + --spectrum-switch-control-height-small: 16px; + --spectrum-switch-control-height-medium: 18px; + --spectrum-switch-control-height-large: 20px; + --spectrum-switch-control-height-extra-large: 22px; + --spectrum-switch-top-to-control-small: 7px; + --spectrum-switch-top-to-control-medium: 11px; + --spectrum-switch-top-to-control-large: 15px; + --spectrum-switch-top-to-control-extra-large: 19px; + --spectrum-radio-button-control-size-small: 16px; + --spectrum-radio-button-control-size-medium: 18px; + --spectrum-radio-button-control-size-large: 20px; + --spectrum-radio-button-control-size-extra-large: 22px; + --spectrum-radio-button-top-to-control-small: 7px; + --spectrum-radio-button-top-to-control-medium: 11px; + --spectrum-radio-button-top-to-control-large: 15px; + --spectrum-radio-button-top-to-control-extra-large: 19px; + --spectrum-field-label-text-to-asterisk-small: 5px; + --spectrum-field-label-text-to-asterisk-medium: 5px; + --spectrum-field-label-text-to-asterisk-large: 6px; + --spectrum-field-label-text-to-asterisk-extra-large: 6px; + --spectrum-field-label-top-to-asterisk-small: 11px; + --spectrum-field-label-top-to-asterisk-medium: 15px; + --spectrum-field-label-top-to-asterisk-large: 19px; + --spectrum-field-label-top-to-asterisk-extra-large: 24px; + --spectrum-field-label-top-margin-medium: 5px; + --spectrum-field-label-top-margin-large: 6px; + --spectrum-field-label-top-margin-extra-large: 6px; + --spectrum-field-label-to-component-quiet-small: -10px; + --spectrum-field-label-to-component-quiet-medium: -10px; + --spectrum-field-label-to-component-quiet-large: -15px; + --spectrum-field-label-to-component-quiet-extra-large: -19px; + --spectrum-help-text-top-to-workflow-icon-small: 5px; + --spectrum-help-text-top-to-workflow-icon-medium: 4px; + --spectrum-help-text-top-to-workflow-icon-large: 8px; + --spectrum-help-text-top-to-workflow-icon-extra-large: 11px; + --spectrum-status-light-dot-size-medium: 10px; + --spectrum-status-light-dot-size-large: 12px; + --spectrum-status-light-dot-size-extra-large: 12px; + --spectrum-status-light-top-to-dot-small: 11px; + --spectrum-status-light-top-to-dot-medium: 15px; + --spectrum-status-light-top-to-dot-large: 19px; + --spectrum-status-light-top-to-dot-extra-large: 24px; + --spectrum-action-button-edge-to-hold-icon-medium: 5px; + --spectrum-action-button-edge-to-hold-icon-large: 6px; + --spectrum-action-button-edge-to-hold-icon-extra-large: 7px; + --spectrum-tooltip-tip-width: 10px; + --spectrum-tooltip-tip-height: 5px; + --spectrum-tooltip-maximum-width: 200px; + --spectrum-progress-circle-size-small: 20px; + --spectrum-progress-circle-size-medium: 40px; + --spectrum-progress-circle-size-large: 80px; + --spectrum-progress-circle-thickness-small: 3px; + --spectrum-progress-circle-thickness-medium: 4px; + --spectrum-progress-circle-thickness-large: 5px; + --spectrum-toast-height: 56px; + --spectrum-toast-maximum-width: 420px; + --spectrum-toast-top-to-workflow-icon: 17px; + --spectrum-toast-top-to-text: 16px; + --spectrum-toast-bottom-to-text: 19px; + --spectrum-action-bar-height: 56px; + --spectrum-action-bar-top-to-item-counter: 16px; + --spectrum-swatch-size-extra-small: 20px; + --spectrum-swatch-size-small: 30px; + --spectrum-swatch-size-medium: 40px; + --spectrum-swatch-size-large: 50px; + --spectrum-progress-bar-thickness-small: 5px; + --spectrum-progress-bar-thickness-medium: 8px; + --spectrum-progress-bar-thickness-large: 10px; + --spectrum-progress-bar-thickness-extra-large: 13px; + --spectrum-meter-width: 240px; + --spectrum-meter-thickness-small: 5px; + --spectrum-meter-thickness-large: 8px; + --spectrum-tag-top-to-avatar-small: 5px; + --spectrum-tag-top-to-avatar-medium: 7px; + --spectrum-tag-top-to-avatar-large: 11px; + --spectrum-tag-top-to-cross-icon-small: 10px; + --spectrum-tag-top-to-cross-icon-medium: 15px; + --spectrum-tag-top-to-cross-icon-large: 19px; + --spectrum-popover-top-to-content-area: 5px; + --spectrum-menu-item-edge-to-content-not-selected-small: 24px; + --spectrum-menu-item-edge-to-content-not-selected-medium: 42px; + --spectrum-menu-item-edge-to-content-not-selected-large: 47px; + --spectrum-menu-item-edge-to-content-not-selected-extra-large: 54px; + --spectrum-menu-item-top-to-disclosure-icon-small: 9px; + --spectrum-menu-item-top-to-disclosure-icon-medium: 13px; + --spectrum-menu-item-top-to-disclosure-icon-large: 17px; + --spectrum-menu-item-top-to-disclosure-icon-extra-large: 22px; + --spectrum-menu-item-top-to-selected-icon-small: 9px; + --spectrum-menu-item-top-to-selected-icon-medium: 13px; + --spectrum-menu-item-top-to-selected-icon-large: 17px; + --spectrum-menu-item-top-to-selected-icon-extra-large: 22px; + --spectrum-slider-control-height-small: 18px; + --spectrum-slider-control-height-medium: 20px; + --spectrum-slider-control-height-large: 22px; + --spectrum-slider-control-height-extra-large: 26px; + --spectrum-slider-handle-size-small: 18px; + --spectrum-slider-handle-size-medium: 20px; + --spectrum-slider-handle-size-large: 22px; + --spectrum-slider-handle-size-extra-large: 26px; + --spectrum-slider-handle-border-width-down-small: 7px; + --spectrum-slider-handle-border-width-down-medium: 8px; + --spectrum-slider-handle-border-width-down-large: 9px; + --spectrum-slider-handle-border-width-down-extra-large: 11px; + --spectrum-slider-bottom-to-handle-small: 6px; + --spectrum-slider-bottom-to-handle-medium: 10px; + --spectrum-slider-bottom-to-handle-large: 14px; + --spectrum-slider-bottom-to-handle-extra-large: 17px; + --spectrum-slider-control-to-field-label-small: 6px; + --spectrum-slider-control-to-field-label-medium: 10px; + --spectrum-slider-control-to-field-label-large: 14px; + --spectrum-slider-control-to-field-label-extra-large: 17px; + --spectrum-picker-visual-to-disclosure-icon-small: 9px; + --spectrum-picker-visual-to-disclosure-icon-medium: 10px; + --spectrum-picker-visual-to-disclosure-icon-large: 11px; + --spectrum-picker-visual-to-disclosure-icon-extra-large: 13px; + --spectrum-text-area-minimum-width: 140px; + --spectrum-text-area-minimum-height: 70px; + --spectrum-combo-box-visual-to-field-button-small: 9px; + --spectrum-combo-box-visual-to-field-button-medium: 10px; + --spectrum-combo-box-visual-to-field-button-large: 11px; + --spectrum-combo-box-visual-to-field-button-extra-large: 13px; + --spectrum-thumbnail-size-50: 20px; + --spectrum-thumbnail-size-75: 22px; + --spectrum-thumbnail-size-100: 26px; + --spectrum-thumbnail-size-200: 28px; + --spectrum-thumbnail-size-300: 32px; + --spectrum-thumbnail-size-400: 36px; + --spectrum-thumbnail-size-500: 40px; + --spectrum-thumbnail-size-600: 46px; + --spectrum-thumbnail-size-700: 50px; + --spectrum-thumbnail-size-800: 55px; + --spectrum-thumbnail-size-900: 62px; + --spectrum-thumbnail-size-1000: 70px; + --spectrum-alert-dialog-title-size: var(--spectrum-heading-size-xs); + --spectrum-alert-dialog-description-size: var(--spectrum-body-size-xs); + --spectrum-opacity-checkerboard-square-size: 10px; + --spectrum-contextual-help-title-size: var(--spectrum-heading-size-xxs); + --spectrum-contextual-help-body-size: var(--spectrum-body-size-xs); + --spectrum-breadcrumbs-height-multiline: 84px; + --spectrum-breadcrumbs-top-to-text: 17px; + --spectrum-breadcrumbs-top-to-text-compact: 16px; + --spectrum-breadcrumbs-top-to-text-multiline: 15px; + --spectrum-breadcrumbs-bottom-to-text: 19px; + --spectrum-breadcrumbs-bottom-to-text-compact: 19px; + --spectrum-breadcrumbs-bottom-to-text-multiline: 10px; + --spectrum-breadcrumbs-start-edge-to-text: 9px; + --spectrum-breadcrumbs-top-text-to-bottom-text: 11px; + --spectrum-breadcrumbs-top-to-separator-icon: 25px; + --spectrum-breadcrumbs-top-to-separator-icon-compact: 23px; + --spectrum-breadcrumbs-top-to-separator-icon-multiline: 20px; + --spectrum-breadcrumbs-separator-icon-to-bottom-text-multiline: 15px; + --spectrum-breadcrumbs-top-to-truncated-menu: 10px; + --spectrum-breadcrumbs-top-to-truncated-menu-compact: 5px; + --spectrum-avatar-size-50: 20px; + --spectrum-avatar-size-75: 22px; + --spectrum-avatar-size-100: 26px; + --spectrum-avatar-size-200: 28px; + --spectrum-avatar-size-300: 32px; + --spectrum-avatar-size-400: 36px; + --spectrum-avatar-size-500: 40px; + --spectrum-avatar-size-600: 46px; + --spectrum-avatar-size-700: 50px; + --spectrum-alert-banner-minimum-height: 64px; + --spectrum-alert-banner-width: 680px; + --spectrum-alert-banner-top-to-workflow-icon: 21px; + --spectrum-alert-banner-top-to-text: 21px; + --spectrum-alert-banner-bottom-to-text: 22px; + --spectrum-rating-indicator-width: 22px; + --spectrum-rating-indicator-to-icon: 5px; + --spectrum-color-area-width: 240px; + --spectrum-color-area-minimum-width: 80px; + --spectrum-color-area-height: 240px; + --spectrum-color-area-minimum-height: 80px; + --spectrum-color-wheel-width: 240px; + --spectrum-color-wheel-minimum-width: 219px; + --spectrum-color-slider-length: 240px; + --spectrum-color-slider-minimum-length: 100px; + --spectrum-illustrated-message-title-size: var(--spectrum-heading-size-s); + --spectrum-illustrated-message-cjk-title-size: var( + --spectrum-heading-cjk-size-s + ); + --spectrum-illustrated-message-body-size: var(--spectrum-body-size-xs); + --spectrum-coach-mark-width: 216px; + --spectrum-coach-mark-minimum-width: 216px; + --spectrum-coach-mark-maximum-width: 248px; + --spectrum-coach-mark-edge-to-content: var(--spectrum-spacing-300); + --spectrum-coach-mark-pagination-text-to-bottom-edge: 22px; + --spectrum-coach-mark-media-height: 162px; + --spectrum-coach-mark-media-minimum-height: 121px; + --spectrum-coach-mark-title-size: var(--spectrum-heading-size-xxs); + --spectrum-coach-mark-body-size: var(--spectrum-body-size-xs); + --spectrum-coach-mark-pagination-body-size: var(--spectrum-body-size-xs); + --spectrum-accordion-top-to-text-regular-small: 7px; + --spectrum-accordion-small-top-to-text-spacious: 12px; + --spectrum-accordion-top-to-text-regular-medium: 9px; + --spectrum-accordion-top-to-text-spacious-medium: 14px; + --spectrum-accordion-top-to-text-compact-large: 7px; + --spectrum-accordion-top-to-text-regular-large: 12px; + --spectrum-accordion-top-to-text-spacious-large: 14px; + --spectrum-accordion-top-to-text-compact-extra-large: 7px; + --spectrum-accordion-top-to-text-regular-extra-large: 12px; + --spectrum-accordion-top-to-text-spacious-extra-large: 14px; + --spectrum-accordion-bottom-to-text-compact-small: 4px; + --spectrum-accordion-bottom-to-text-regular-small: 9px; + --spectrum-accordion-bottom-to-text-spacious-small: 14px; + --spectrum-accordion-bottom-to-text-compact-medium: 8px; + --spectrum-accordion-bottom-to-text-regular-medium: 13px; + --spectrum-accordion-bottom-to-text-spacious-medium: 18px; + --spectrum-accordion-bottom-to-text-compact-large: 9px; + --spectrum-accordion-bottom-to-text-regular-large: 14px; + --spectrum-accordion-bottom-to-text-spacious-large: 19px; + --spectrum-accordion-bottom-to-text-compact-extra-large: 10px; + --spectrum-accordion-bottom-to-text-regular-extra-large: 15px; + --spectrum-accordion-bottom-to-text-spacious-extra-large: 21px; + --spectrum-accordion-minimum-width: 250px; + --spectrum-accordion-content-area-top-to-content: 10px; + --spectrum-accordion-content-area-bottom-to-content: 20px; + --spectrum-color-handle-size: 20px; + --spectrum-color-handle-size-key-focus: 40px; + --spectrum-table-column-header-row-top-to-text-small: 10px; + --spectrum-table-column-header-row-top-to-text-medium: 9px; + --spectrum-table-column-header-row-top-to-text-large: 13px; + --spectrum-table-column-header-row-top-to-text-extra-large: 16px; + --spectrum-table-column-header-row-bottom-to-text-small: 11px; + --spectrum-table-column-header-row-bottom-to-text-medium: 10px; + --spectrum-table-column-header-row-bottom-to-text-large: 13px; + --spectrum-table-column-header-row-bottom-to-text-extra-large: 17px; + --spectrum-table-row-height-small-regular: 40px; + --spectrum-table-row-height-medium-regular: 50px; + --spectrum-table-row-height-large-regular: 60px; + --spectrum-table-row-height-extra-large-regular: 70px; + --spectrum-table-row-height-small-spacious: 50px; + --spectrum-table-row-height-medium-spacious: 60px; + --spectrum-table-row-height-large-spacious: 70px; + --spectrum-table-row-height-extra-large-spacious: 80px; + --spectrum-table-row-top-to-text-small-regular: 10px; + --spectrum-table-row-top-to-text-medium-regular: 14px; + --spectrum-table-row-top-to-text-large-regular: 18px; + --spectrum-table-row-top-to-text-extra-large-regular: 21px; + --spectrum-table-row-bottom-to-text-small-regular: 11px; + --spectrum-table-row-bottom-to-text-medium-regular: 15px; + --spectrum-table-row-bottom-to-text-large-regular: 18px; + --spectrum-table-row-bottom-to-text-extra-large-regular: 22px; + --spectrum-table-row-top-to-text-small-spacious: 15px; + --spectrum-table-row-top-to-text-medium-spacious: 18px; + --spectrum-table-row-top-to-text-large-spacious: 23px; + --spectrum-table-row-top-to-text-extra-large-spacious: 26px; + --spectrum-table-row-bottom-to-text-small-spacious: 16px; + --spectrum-table-row-bottom-to-text-medium-spacious: 18px; + --spectrum-table-row-bottom-to-text-large-spacious: 23px; + --spectrum-table-row-bottom-to-text-extra-large-spacious: 27px; + --spectrum-table-checkbox-to-text: 30px; + --spectrum-table-header-row-checkbox-to-top-small: 14px; + --spectrum-table-header-row-checkbox-to-top-medium: 13px; + --spectrum-table-header-row-checkbox-to-top-large: 17px; + --spectrum-table-header-row-checkbox-to-top-extra-large: 21px; + --spectrum-table-row-checkbox-to-top-small-compact: 9px; + --spectrum-table-row-checkbox-to-top-small-regular: 14px; + --spectrum-table-row-checkbox-to-top-small-spacious: 19px; + --spectrum-table-row-checkbox-to-top-medium-compact: 13px; + --spectrum-table-row-checkbox-to-top-medium-regular: 18px; + --spectrum-table-row-checkbox-to-top-medium-spacious: 23px; + --spectrum-table-row-checkbox-to-top-large-compact: 17px; + --spectrum-table-row-checkbox-to-top-large-regular: 22px; + --spectrum-table-row-checkbox-to-top-large-spacious: 27px; + --spectrum-table-row-checkbox-to-top-extra-large-compact: 21px; + --spectrum-table-row-checkbox-to-top-extra-large-regular: 26px; + --spectrum-table-row-checkbox-to-top-extra-large-spacious: 31px; + --spectrum-table-section-header-row-height-small: 30px; + --spectrum-table-section-header-row-height-medium: 40px; + --spectrum-table-section-header-row-height-large: 50px; + --spectrum-table-section-header-row-height-extra-large: 60px; + --spectrum-table-thumbnail-to-top-minimum-small-compact: 5px; + --spectrum-table-thumbnail-to-top-minimum-medium-compact: 6px; + --spectrum-table-thumbnail-to-top-minimum-large-compact: 9px; + --spectrum-table-thumbnail-to-top-minimum-extra-large-compact: 10px; + --spectrum-table-thumbnail-to-top-minimum-small-regular: 6px; + --spectrum-table-thumbnail-to-top-minimum-medium-regular: 9px; + --spectrum-table-thumbnail-to-top-minimum-large-regular: 10px; + --spectrum-table-thumbnail-to-top-minimum-extra-large-regular: 10px; + --spectrum-table-thumbnail-to-top-minimum-small-spacious: 9px; + --spectrum-table-thumbnail-to-top-minimum-medium-spacious: 10px; + --spectrum-table-thumbnail-to-top-minimum-large-spacious: 10px; + --spectrum-table-thumbnail-to-top-minimum-extra-large-spacious: 12px; + --spectrum-tab-item-to-tab-item-horizontal-small: 27px; + --spectrum-tab-item-to-tab-item-horizontal-medium: 30px; + --spectrum-tab-item-to-tab-item-horizontal-large: 33px; + --spectrum-tab-item-to-tab-item-horizontal-extra-large: 36px; + --spectrum-tab-item-to-tab-item-vertical-small: 5px; + --spectrum-tab-item-to-tab-item-vertical-medium: 5px; + --spectrum-tab-item-to-tab-item-vertical-large: 6px; + --spectrum-tab-item-to-tab-item-vertical-extra-large: 6px; + --spectrum-tab-item-start-to-edge-small: 13px; + --spectrum-tab-item-start-to-edge-medium: 15px; + --spectrum-tab-item-start-to-edge-large: 17px; + --spectrum-tab-item-start-to-edge-extra-large: 19px; + --spectrum-tab-item-top-to-text-small: 14px; + --spectrum-tab-item-bottom-to-text-small: 15px; + --spectrum-tab-item-top-to-text-medium: 18px; + --spectrum-tab-item-bottom-to-text-medium: 19px; + --spectrum-tab-item-top-to-text-large: 22px; + --spectrum-tab-item-bottom-to-text-large: 22px; + --spectrum-tab-item-top-to-text-extra-large: 25px; + --spectrum-tab-item-bottom-to-text-extra-large: 25px; + --spectrum-tab-item-top-to-text-compact-small: 5px; + --spectrum-tab-item-bottom-to-text-compact-small: 6px; + --spectrum-tab-item-top-to-text-compact-medium: 9px; + --spectrum-tab-item-bottom-to-text-compact-medium: 10px; + --spectrum-tab-item-top-to-text-compact-large: 12px; + --spectrum-tab-item-bottom-to-text-compact-large: 14px; + --spectrum-tab-item-top-to-text-compact-extra-large: 15px; + --spectrum-tab-item-bottom-to-text-compact-extra-large: 17px; + --spectrum-tab-item-top-to-workflow-icon-small: 15px; + --spectrum-tab-item-top-to-workflow-icon-medium: 19px; + --spectrum-tab-item-top-to-workflow-icon-large: 23px; + --spectrum-tab-item-top-to-workflow-icon-extra-large: 26px; + --spectrum-tab-item-top-to-workflow-icon-compact-small: 5px; + --spectrum-tab-item-top-to-workflow-icon-compact-medium: 9px; + --spectrum-tab-item-top-to-workflow-icon-compact-large: 13px; + --spectrum-tab-item-top-to-workflow-icon-compact-extra-large: 16px; + --spectrum-tab-item-focus-indicator-gap-small: 9px; + --spectrum-tab-item-focus-indicator-gap-medium: 10px; + --spectrum-tab-item-focus-indicator-gap-large: 11px; + --spectrum-tab-item-focus-indicator-gap-extra-large: 12px; + --spectrum-side-navigation-width: 240px; + --spectrum-side-navigation-minimum-width: 200px; + --spectrum-side-navigation-maximum-width: 300px; + --spectrum-side-navigation-second-level-edge-to-text: 30px; + --spectrum-side-navigation-third-level-edge-to-text: 45px; + --spectrum-side-navigation-with-icon-second-level-edge-to-text: 62px; + --spectrum-side-navigation-with-icon-third-level-edge-to-text: 77px; + --spectrum-side-navigation-item-to-item: 5px; + --spectrum-side-navigation-item-to-header: 30px; + --spectrum-side-navigation-header-to-item: 10px; + --spectrum-side-navigation-bottom-to-text: 10px; + --spectrum-tray-top-to-content-area: 5px; + --spectrum-accordion-top-to-text-spacious-small: 12px; + --spectrum-corner-radius-100: 5px; + --spectrum-corner-radius-200: 10px; + --spectrum-drop-shadow-y: 2px; + --spectrum-drop-shadow-blur: 6px; + --spectrum-text-to-visual-50: 8px; + --spectrum-text-to-visual-75: 9px; + --spectrum-text-to-visual-100: 10px; + --spectrum-text-to-visual-200: 11px; + --spectrum-text-to-visual-300: 13px; + --spectrum-text-to-control-75: 11px; + --spectrum-text-to-control-100: 13px; + --spectrum-text-to-control-200: 14px; + --spectrum-text-to-control-300: 16px; + --spectrum-component-height-50: 26px; + --spectrum-component-height-75: 30px; + --spectrum-component-height-100: 40px; + --spectrum-component-height-200: 50px; + --spectrum-component-height-300: 60px; + --spectrum-component-height-400: 70px; + --spectrum-component-height-500: 80px; + --spectrum-component-pill-edge-to-visual-75: 13px; + --spectrum-component-pill-edge-to-visual-100: 17px; + --spectrum-component-pill-edge-to-visual-200: 22px; + --spectrum-component-pill-edge-to-visual-300: 27px; + --spectrum-component-pill-edge-to-visual-only-75: 5px; + --spectrum-component-pill-edge-to-visual-only-100: 9px; + --spectrum-component-pill-edge-to-visual-only-200: 13px; + --spectrum-component-pill-edge-to-visual-only-300: 16px; + --spectrum-component-pill-edge-to-text-75: 15px; + --spectrum-component-pill-edge-to-text-100: 20px; + --spectrum-component-pill-edge-to-text-200: 25px; + --spectrum-component-pill-edge-to-text-300: 30px; + --spectrum-component-edge-to-visual-50: 7px; + --spectrum-component-edge-to-visual-75: 9px; + --spectrum-component-edge-to-visual-100: 12px; + --spectrum-component-edge-to-visual-200: 16px; + --spectrum-component-edge-to-visual-300: 19px; + --spectrum-component-edge-to-visual-only-50: 4px; + --spectrum-component-edge-to-visual-only-75: 5px; + --spectrum-component-edge-to-visual-only-100: 9px; + --spectrum-component-edge-to-visual-only-200: 13px; + --spectrum-component-edge-to-visual-only-300: 16px; + --spectrum-component-edge-to-text-50: 10px; + --spectrum-component-edge-to-text-75: 11px; + --spectrum-component-edge-to-text-100: 15px; + --spectrum-component-edge-to-text-200: 19px; + --spectrum-component-edge-to-text-300: 22px; + --spectrum-component-top-to-workflow-icon-50: 4px; + --spectrum-component-top-to-workflow-icon-75: 5px; + --spectrum-component-top-to-workflow-icon-100: 9px; + --spectrum-component-top-to-workflow-icon-200: 13px; + --spectrum-component-top-to-workflow-icon-300: 16px; + --spectrum-component-top-to-text-50: 4px; + --spectrum-component-top-to-text-75: 5px; + --spectrum-component-top-to-text-100: 8px; + --spectrum-component-top-to-text-200: 12px; + --spectrum-component-top-to-text-300: 15px; + --spectrum-component-bottom-to-text-50: 6px; + --spectrum-component-bottom-to-text-75: 6px; + --spectrum-component-bottom-to-text-100: 11px; + --spectrum-component-bottom-to-text-200: 14px; + --spectrum-component-bottom-to-text-300: 18px; + --spectrum-component-to-menu-small: 7px; + --spectrum-component-to-menu-medium: 8px; + --spectrum-component-to-menu-large: 9px; + --spectrum-component-to-menu-extra-large: 10px; + --spectrum-field-edge-to-disclosure-icon-75: 9px; + --spectrum-field-edge-to-disclosure-icon-100: 13px; + --spectrum-field-edge-to-disclosure-icon-200: 17px; + --spectrum-field-edge-to-disclosure-icon-300: 22px; + --spectrum-field-end-edge-to-disclosure-icon-75: 9px; + --spectrum-field-end-edge-to-disclosure-icon-100: 13px; + --spectrum-field-end-edge-to-disclosure-icon-200: 17px; + --spectrum-field-end-edge-to-disclosure-icon-300: 22px; + --spectrum-field-top-to-disclosure-icon-75: 9px; + --spectrum-field-top-to-disclosure-icon-100: 13px; + --spectrum-field-top-to-disclosure-icon-200: 17px; + --spectrum-field-top-to-disclosure-icon-300: 22px; + --spectrum-field-top-to-alert-icon-small: 5px; + --spectrum-field-top-to-alert-icon-medium: 9px; + --spectrum-field-top-to-alert-icon-large: 13px; + --spectrum-field-top-to-alert-icon-extra-large: 16px; + --spectrum-field-top-to-validation-icon-small: 9px; + --spectrum-field-top-to-validation-icon-medium: 13px; + --spectrum-field-top-to-validation-icon-large: 17px; + --spectrum-field-top-to-validation-icon-extra-large: 22px; + --spectrum-field-top-to-progress-circle-small: 7px; + --spectrum-field-top-to-progress-circle-medium: 12px; + --spectrum-field-top-to-progress-circle-large: 17px; + --spectrum-field-top-to-progress-circle-extra-large: 22px; + --spectrum-field-edge-to-alert-icon-small: 11px; + --spectrum-field-edge-to-alert-icon-medium: 15px; + --spectrum-field-edge-to-alert-icon-large: 19px; + --spectrum-field-edge-to-alert-icon-extra-large: 22px; + --spectrum-field-edge-to-validation-icon-small: 11px; + --spectrum-field-edge-to-validation-icon-medium: 15px; + --spectrum-field-edge-to-validation-icon-large: 19px; + --spectrum-field-edge-to-validation-icon-extra-large: 22px; + --spectrum-field-text-to-alert-icon-small: 10px; + --spectrum-field-text-to-alert-icon-medium: 15px; + --spectrum-field-text-to-alert-icon-large: 19px; + --spectrum-field-text-to-alert-icon-extra-large: 22px; + --spectrum-field-text-to-validation-icon-small: 10px; + --spectrum-field-text-to-validation-icon-medium: 15px; + --spectrum-field-text-to-validation-icon-large: 19px; + --spectrum-field-text-to-validation-icon-extra-large: 22px; + --spectrum-field-width: 240px; + --spectrum-character-count-to-field-quiet-small: -4px; + --spectrum-character-count-to-field-quiet-medium: -4px; + --spectrum-character-count-to-field-quiet-large: -4px; + --spectrum-character-count-to-field-quiet-extra-large: -5px; + --spectrum-side-label-character-count-to-field: 15px; + --spectrum-side-label-character-count-top-margin-small: 5px; + --spectrum-side-label-character-count-top-margin-medium: 10px; + --spectrum-side-label-character-count-top-margin-large: 14px; + --spectrum-side-label-character-count-top-margin-extra-large: 18px; + --spectrum-disclosure-indicator-top-to-disclosure-icon-small: 9px; + --spectrum-disclosure-indicator-top-to-disclosure-icon-medium: 13px; + --spectrum-disclosure-indicator-top-to-disclosure-icon-large: 17px; + --spectrum-disclosure-indicator-top-to-disclosure-icon-extra-large: 22px; + --spectrum-navigational-indicator-top-to-back-icon-small: 7px; + --spectrum-navigational-indicator-top-to-back-icon-medium: 12px; + --spectrum-navigational-indicator-top-to-back-icon-large: 16px; + --spectrum-navigational-indicator-top-to-back-icon-extra-large: 19px; + --spectrum-color-control-track-width: 30px; + --spectrum-font-size-50: 13px; + --spectrum-font-size-75: 15px; + --spectrum-font-size-100: 17px; + --spectrum-font-size-200: 19px; + --spectrum-font-size-300: 22px; + --spectrum-font-size-400: 24px; + --spectrum-font-size-500: 27px; + --spectrum-font-size-600: 31px; + --spectrum-font-size-700: 34px; + --spectrum-font-size-800: 39px; + --spectrum-font-size-900: 44px; + --spectrum-font-size-1000: 49px; + --spectrum-font-size-1100: 55px; + --spectrum-font-size-1200: 62px; + --spectrum-font-size-1300: 70px; + --spectrum-slider-tick-mark-height: 13px; + --spectrum-slider-ramp-track-height: 20px; + + --spectrum-colorwheel-path: 'M 119 119 m -119 0 a 119 119 0 1 0 238 0 a 119 119 0 1 0 -238 0.2 M 119 119 m -91 0 a 91 91 0 1 0 182 0 a 91 91 0 1 0 -182 0'; + --spectrum-colorwheel-path-borders: 'M 120 120 m -120 0 a 120 120 0 1 0 240 0 a 120 120 0 1 0 -240 0.2 M 120 120 m -90 0 a 90 90 0 1 0 180 0 a 90 90 0 1 0 -180 0'; + --spectrum-colorwheel-colorarea-container-size: 182px; + + --spectrum-colorloupe-checkerboard-fill: url(#checkerboard-secondary); + + --spectrum-menu-item-selectable-edge-to-text-not-selected-small: 34px; + --spectrum-menu-item-selectable-edge-to-text-not-selected-medium: 42px; + --spectrum-menu-item-selectable-edge-to-text-not-selected-large: 47px; + --spectrum-menu-item-selectable-edge-to-text-not-selected-extra-large: 54px; + + --spectrum-menu-item-checkmark-height-small: 12px; + --spectrum-menu-item-checkmark-height-medium: 14px; + --spectrum-menu-item-checkmark-height-large: 16px; + --spectrum-menu-item-checkmark-height-extra-large: 16px; + + --spectrum-menu-item-checkmark-width-small: 12px; + --spectrum-menu-item-checkmark-width-medium: 14px; + --spectrum-menu-item-checkmark-width-large: 16px; + --spectrum-menu-item-checkmark-width-extra-large: 16px; + + --spectrum-rating-icon-spacing: var(--spectrum-spacing-100); + + --spectrum-button-top-to-text-small: 6px; + --spectrum-button-bottom-to-text-small: 5px; + --spectrum-button-top-to-text-medium: 9px; + --spectrum-button-bottom-to-text-medium: 10px; + --spectrum-button-top-to-text-large: 12px; + --spectrum-button-bottom-to-text-large: 13px; + --spectrum-button-top-to-text-extra-large: 16px; + --spectrum-button-bottom-to-text-extra-large: 17px; + + --spectrum-alert-banner-close-button-spacing: var(--spectrum-spacing-200); + --spectrum-alert-banner-edge-to-divider: var(--spectrum-spacing-200); + --spectrum-alert-banner-edge-to-button: var(--spectrum-spacing-200); + --spectrum-alert-banner-text-to-button-vertical: var( + --spectrum-spacing-200 + ); + + --spectrum-alert-dialog-padding: var(--spectrum-spacing-400); + --spectrum-alert-dialog-description-to-buttons: var(--spectrum-spacing-600); + + --spectrum-coach-indicator-gap: 8px; + --spectrum-coach-indicator-ring-diameter: 20px; + --spectrum-coach-indicator-quiet-ring-diameter: 10px; + + --spectrum-coachmark-buttongroup-display: none; + --spectrum-coachmark-buttongroup-mobile-display: flex; + --spectrum-coachmark-menu-display: none; + --spectrum-coachmark-menu-mobile-display: inline-flex; + + --spectrum-well-padding: 20px; + --spectrum-well-margin-top: 5px; + --spectrum-well-min-width: 300px; + --spectrum-well-border-radius: 5px; + --spectrum-workflow-icon-size-xxl: 40px; + --spectrum-workflow-icon-size-xxs: 15px; + + --spectrum-treeview-item-indentation-medium: 20px; + --spectrum-treeview-item-indentation-small: 15px; + --spectrum-treeview-item-indentation-large: 25px; + --spectrum-treeview-item-indentation-extra-large: 30px; + --spectrum-treeview-indicator-inset-block-start: 6px; + --spectrum-treeview-item-min-block-size-thumbnail-offset-medium: 2px; + + --spectrum-dialog-confirm-entry-animation-distance: 25px; + --spectrum-dialog-confirm-hero-height: 160px; + --spectrum-dialog-confirm-border-radius: 5px; + --spectrum-dialog-confirm-title-text-size: 19px; + --spectrum-dialog-confirm-description-text-size: 15px; + --spectrum-dialog-confirm-padding-grid: 24px; + + --spectrum-datepicker-initial-width: 160px; + --spectrum-datepicker-generic-padding: 15px; + --spectrum-datepicker-dash-line-height: 30px; + --spectrum-datepicker-width-quiet-first: 90px; + --spectrum-datepicker-width-quiet-second: 20px; + --spectrum-datepicker-datetime-width-first: 45px; + --spectrum-datepicker-invalid-icon-to-button: 10px; + --spectrum-datepicker-invalid-icon-to-button-quiet: 9px; + --spectrum-datepicker-input-datetime-width: 30px; + + --spectrum-pagination-textfield-width: 60px; + --spectrum-pagination-item-inline-spacing: 6px; + + --spectrum-dial-border-radius: 20px; + --spectrum-dial-handle-position: 10px; + --spectrum-dial-handle-block-margin: 20px; + --spectrum-dial-handle-inline-margin: 20px; + --spectrum-dial-controls-margin: 10px; + --spectrum-dial-label-gap-y: 6px; + --spectrum-dial-label-container-top-to-text: 5px; + + --spectrum-assetcard-focus-ring-border-radius: 9px; + --spectrum-assetcard-selectionindicator-margin: 15px; + --spectrum-assetcard-title-font-size: var(--spectrum-heading-size-xxs); + --spectrum-assetcard-header-content-font-size: var( + --spectrum-heading-size-xxs + ); + --spectrum-assetcard-content-font-size: var(--spectrum-body-size-xs); + + --spectrum-tooltip-animation-distance: 5px; + + --spectrum-ui-icon-medium-display: none; + --spectrum-ui-icon-large-display: block; +} + +:host, +:root { + --spectrum-overlay-opacity: 0.4; + --spectrum-background-layer-2-color: var(--spectrum-gray-25); + --spectrum-neutral-subdued-background-color-default: var( + --spectrum-gray-700 + ); + --spectrum-neutral-subdued-background-color-hover: var(--spectrum-gray-800); + --spectrum-neutral-subdued-background-color-down: var(--spectrum-gray-800); + --spectrum-neutral-subdued-background-color-key-focus: var( + --spectrum-gray-800 + ); + --spectrum-accent-background-color-default: var( + --spectrum-accent-color-900 + ); + --spectrum-accent-background-color-hover: var(--spectrum-accent-color-1000); + --spectrum-accent-background-color-down: var(--spectrum-accent-color-1000); + --spectrum-accent-background-color-key-focus: var( + --spectrum-accent-color-1000 + ); + --spectrum-informative-background-color-default: var( + --spectrum-informative-color-900 + ); + --spectrum-informative-background-color-hover: var( + --spectrum-informative-color-1000 + ); + --spectrum-informative-background-color-down: var( + --spectrum-informative-color-1000 + ); + --spectrum-informative-background-color-key-focus: var( + --spectrum-informative-color-1000 + ); + --spectrum-negative-background-color-default: var( + --spectrum-negative-color-900 + ); + --spectrum-negative-background-color-hover: var( + --spectrum-negative-color-1000 + ); + --spectrum-negative-background-color-down: var( + --spectrum-negative-color-1000 + ); + --spectrum-negative-background-color-key-focus: var( + --spectrum-negative-color-1000 + ); + --spectrum-positive-background-color-default: var( + --spectrum-positive-color-900 + ); + --spectrum-positive-background-color-hover: var( + --spectrum-positive-color-1000 + ); + --spectrum-positive-background-color-down: var( + --spectrum-positive-color-1000 + ); + --spectrum-positive-background-color-key-focus: var( + --spectrum-positive-color-1000 + ); + --spectrum-notice-background-color-default: var( + --spectrum-notice-color-600 + ); + --spectrum-gray-background-color-default: var(--spectrum-gray-700); + --spectrum-red-background-color-default: var(--spectrum-red-900); + --spectrum-orange-background-color-default: var(--spectrum-orange-600); + --spectrum-yellow-background-color-default: var(--spectrum-yellow-400); + --spectrum-chartreuse-background-color-default: var( + --spectrum-chartreuse-500 + ); + --spectrum-celery-background-color-default: var(--spectrum-celery-600); + --spectrum-green-background-color-default: var(--spectrum-green-900); + --spectrum-seafoam-background-color-default: var(--spectrum-seafoam-900); + --spectrum-cyan-background-color-default: var(--spectrum-cyan-900); + --spectrum-blue-background-color-default: var(--spectrum-blue-900); + --spectrum-indigo-background-color-default: var(--spectrum-indigo-900); + --spectrum-purple-background-color-default: var(--spectrum-purple-900); + --spectrum-fuchsia-background-color-default: var(--spectrum-fuchsia-900); + --spectrum-magenta-background-color-default: var(--spectrum-magenta-900); + --spectrum-neutral-visual-color: var(--spectrum-gray-500); + --spectrum-accent-visual-color: var(--spectrum-accent-color-800); + --spectrum-informative-visual-color: var(--spectrum-informative-color-800); + --spectrum-negative-visual-color: var(--spectrum-negative-color-800); + --spectrum-notice-visual-color: var(--spectrum-notice-color-700); + --spectrum-positive-visual-color: var(--spectrum-positive-color-700); + --spectrum-gray-visual-color: var(--spectrum-gray-500); + --spectrum-red-visual-color: var(--spectrum-red-800); + --spectrum-orange-visual-color: var(--spectrum-orange-700); + --spectrum-yellow-visual-color: var(--spectrum-yellow-600); + --spectrum-chartreuse-visual-color: var(--spectrum-chartreuse-600); + --spectrum-celery-visual-color: var(--spectrum-celery-700); + --spectrum-green-visual-color: var(--spectrum-green-700); + --spectrum-seafoam-visual-color: var(--spectrum-seafoam-700); + --spectrum-cyan-visual-color: var(--spectrum-cyan-600); + --spectrum-blue-visual-color: var(--spectrum-blue-800); + --spectrum-indigo-visual-color: var(--spectrum-indigo-800); + --spectrum-purple-visual-color: var(--spectrum-purple-800); + --spectrum-fuchsia-visual-color: var(--spectrum-fuchsia-800); + --spectrum-magenta-visual-color: var(--spectrum-magenta-800); + --spectrum-background-elevated-color: var(--spectrum-gray-25); + --spectrum-background-pasteboard-color: var(--spectrum-gray-100); + --spectrum-brown-visual-color: var(--spectrum-brown-800); + --spectrum-cinnamon-visual-color: var(--spectrum-cinnamon-800); + --spectrum-pink-visual-color: var(--spectrum-pink-800); + --spectrum-silver-visual-color: var(--spectrum-silver-800); + --spectrum-turquoise-visual-color: var(--spectrum-turquoise-800); + --spectrum-brown-background-color-default: var(--spectrum-brown-900); + --spectrum-cinnamon-background-color-default: var(--spectrum-cinnamon-900); + --spectrum-pink-background-color-default: var(--spectrum-pink-900); + --spectrum-silver-background-color-default: var(--spectrum-silver-900); + --spectrum-turquoise-background-color-default: var( + --spectrum-turquoise-900 + ); + --spectrum-drop-shadow-color-100: rgba(0, 0, 0, 0.12); + --spectrum-drop-shadow-color-200: rgba(0, 0, 0, 0.16); + --spectrum-opacity-checkerboard-square-dark: var(--spectrum-gray-200); + --spectrum-gray-25: rgb(255, 255, 255); + --spectrum-gray-50: rgb(248, 248, 248); + --spectrum-gray-75: rgb(243, 243, 243); + --spectrum-gray-100: rgb(233, 233, 233); + --spectrum-gray-200: rgb(225, 225, 225); + --spectrum-gray-300: rgb(218, 218, 218); + --spectrum-gray-400: rgb(198, 198, 198); + --spectrum-gray-500: rgb(143, 143, 143); + --spectrum-gray-600: rgb(113, 113, 113); + --spectrum-gray-700: rgb(80, 80, 80); + --spectrum-gray-800: rgb(41, 41, 41); + --spectrum-gray-900: rgb(19, 19, 19); + --spectrum-gray-1000: rgb(0, 0, 0); + --spectrum-blue-100: rgb(245, 249, 255); + --spectrum-blue-200: rgb(229, 240, 254); + --spectrum-blue-300: rgb(203, 226, 254); + --spectrum-blue-400: rgb(172, 207, 253); + --spectrum-blue-500: rgb(142, 185, 252); + --spectrum-blue-600: rgb(114, 158, 253); + --spectrum-blue-700: rgb(93, 137, 255); + --spectrum-blue-800: rgb(75, 117, 255); + --spectrum-blue-900: rgb(59, 99, 251); + --spectrum-blue-1000: rgb(39, 77, 234); + --spectrum-blue-1100: rgb(29, 62, 207); + --spectrum-blue-1200: rgb(21, 50, 173); + --spectrum-blue-1300: rgb(16, 40, 140); + --spectrum-blue-1400: rgb(12, 31, 105); + --spectrum-blue-1500: rgb(14, 24, 67); + --spectrum-blue-1600: rgb(7, 11, 30); + --spectrum-red-100: rgb(255, 246, 245); + --spectrum-red-200: rgb(255, 235, 232); + --spectrum-red-300: rgb(255, 214, 209); + --spectrum-red-400: rgb(255, 188, 180); + --spectrum-red-500: rgb(255, 157, 145); + --spectrum-red-600: rgb(255, 118, 101); + --spectrum-red-700: rgb(255, 81, 61); + --spectrum-red-800: rgb(240, 56, 35); + --spectrum-red-900: rgb(215, 50, 32); + --spectrum-red-1000: rgb(183, 40, 24); + --spectrum-red-1100: rgb(156, 33, 19); + --spectrum-red-1200: rgb(129, 27, 14); + --spectrum-red-1300: rgb(104, 21, 10); + --spectrum-red-1400: rgb(80, 16, 6); + --spectrum-red-1500: rgb(59, 11, 4); + --spectrum-red-1600: rgb(29, 5, 2); + --spectrum-orange-100: rgb(255, 246, 231); + --spectrum-orange-200: rgb(255, 236, 207); + --spectrum-orange-300: rgb(255, 218, 158); + --spectrum-orange-400: rgb(255, 193, 94); + --spectrum-orange-500: rgb(255, 162, 19); + --spectrum-orange-600: rgb(252, 125, 0); + --spectrum-orange-700: rgb(232, 106, 0); + --spectrum-orange-800: rgb(212, 91, 0); + --spectrum-orange-900: rgb(194, 78, 0); + --spectrum-orange-1000: rgb(167, 62, 0); + --spectrum-orange-1100: rgb(144, 51, 0); + --spectrum-orange-1200: rgb(118, 41, 0); + --spectrum-orange-1300: rgb(95, 32, 0); + --spectrum-orange-1400: rgb(73, 24, 0); + --spectrum-orange-1500: rgb(52, 18, 0); + --spectrum-orange-1600: rgb(25, 8, 0); + --spectrum-yellow-100: rgb(255, 248, 204); + --spectrum-yellow-200: rgb(255, 241, 151); + --spectrum-yellow-300: rgb(255, 222, 44); + --spectrum-yellow-400: rgb(245, 199, 0); + --spectrum-yellow-500: rgb(230, 175, 0); + --spectrum-yellow-600: rgb(210, 149, 0); + --spectrum-yellow-700: rgb(193, 131, 0); + --spectrum-yellow-800: rgb(175, 116, 0); + --spectrum-yellow-900: rgb(158, 102, 0); + --spectrum-yellow-1000: rgb(134, 85, 0); + --spectrum-yellow-1100: rgb(114, 72, 0); + --spectrum-yellow-1200: rgb(93, 59, 0); + --spectrum-yellow-1300: rgb(75, 47, 0); + --spectrum-yellow-1400: rgb(56, 35, 0); + --spectrum-yellow-1500: rgb(40, 25, 0); + --spectrum-yellow-1600: rgb(18, 11, 0); + --spectrum-chartreuse-100: rgb(246, 251, 222); + --spectrum-chartreuse-200: rgb(234, 246, 173); + --spectrum-chartreuse-300: rgb(208, 236, 70); + --spectrum-chartreuse-400: rgb(182, 219, 0); + --spectrum-chartreuse-500: rgb(163, 196, 0); + --spectrum-chartreuse-600: rgb(143, 172, 0); + --spectrum-chartreuse-700: rgb(128, 153, 0); + --spectrum-chartreuse-800: rgb(114, 137, 0); + --spectrum-chartreuse-900: rgb(102, 122, 0); + --spectrum-chartreuse-1000: rgb(86, 103, 0); + --spectrum-chartreuse-1100: rgb(73, 87, 0); + --spectrum-chartreuse-1200: rgb(60, 71, 0); + --spectrum-chartreuse-1300: rgb(47, 57, 0); + --spectrum-chartreuse-1400: rgb(35, 43, 0); + --spectrum-chartreuse-1500: rgb(25, 30, 0); + --spectrum-chartreuse-1600: rgb(11, 14, 0); + --spectrum-celery-100: rgb(235, 255, 220); + --spectrum-celery-200: rgb(197, 255, 156); + --spectrum-celery-300: rgb(157, 247, 92); + --spectrum-celery-400: rgb(129, 228, 58); + --spectrum-celery-500: rgb(110, 206, 42); + --spectrum-celery-600: rgb(93, 180, 31); + --spectrum-celery-700: rgb(82, 161, 25); + --spectrum-celery-800: rgb(72, 144, 20); + --spectrum-celery-900: rgb(64, 129, 17); + --spectrum-celery-1000: rgb(52, 109, 12); + --spectrum-celery-1100: rgb(44, 92, 9); + --spectrum-celery-1200: rgb(35, 75, 6); + --spectrum-celery-1300: rgb(27, 60, 3); + --spectrum-celery-1400: rgb(19, 46, 0); + --spectrum-celery-1500: rgb(12, 33, 0); + --spectrum-celery-1600: rgb(4, 15, 0); + --spectrum-green-100: rgb(237, 252, 241); + --spectrum-green-200: rgb(215, 247, 225); + --spectrum-green-300: rgb(173, 238, 197); + --spectrum-green-400: rgb(107, 227, 162); + --spectrum-green-500: rgb(43, 209, 125); + --spectrum-green-600: rgb(18, 184, 103); + --spectrum-green-700: rgb(11, 164, 93); + --spectrum-green-800: rgb(7, 147, 85); + --spectrum-green-900: rgb(5, 131, 78); + --spectrum-green-1000: rgb(3, 110, 69); + --spectrum-green-1100: rgb(2, 93, 60); + --spectrum-green-1200: rgb(1, 76, 52); + --spectrum-green-1300: rgb(0, 61, 44); + --spectrum-green-1400: rgb(0, 46, 34); + --spectrum-green-1500: rgb(0, 33, 25); + --spectrum-green-1600: rgb(0, 15, 12); + --spectrum-seafoam-100: rgb(235, 251, 246); + --spectrum-seafoam-200: rgb(211, 246, 234); + --spectrum-seafoam-300: rgb(169, 237, 216); + --spectrum-seafoam-400: rgb(92, 225, 194); + --spectrum-seafoam-500: rgb(16, 207, 169); + --spectrum-seafoam-600: rgb(13, 181, 149); + --spectrum-seafoam-700: rgb(11, 162, 134); + --spectrum-seafoam-800: rgb(9, 144, 120); + --spectrum-seafoam-900: rgb(7, 129, 109); + --spectrum-seafoam-1000: rgb(5, 108, 92); + --spectrum-seafoam-1100: rgb(3, 92, 80); + --spectrum-seafoam-1200: rgb(1, 75, 67); + --spectrum-seafoam-1300: rgb(0, 60, 54); + --spectrum-seafoam-1400: rgb(0, 46, 40); + --spectrum-seafoam-1500: rgb(0, 33, 29); + --spectrum-seafoam-1600: rgb(0, 15, 14); + --spectrum-cyan-100: rgb(238, 250, 254); + --spectrum-cyan-200: rgb(217, 244, 253); + --spectrum-cyan-300: rgb(183, 231, 252); + --spectrum-cyan-400: rgb(138, 213, 255); + --spectrum-cyan-500: rgb(92, 192, 255); + --spectrum-cyan-600: rgb(48, 167, 254); + --spectrum-cyan-700: rgb(29, 149, 231); + --spectrum-cyan-800: rgb(18, 134, 205); + --spectrum-cyan-900: rgb(11, 120, 179); + --spectrum-cyan-1000: rgb(4, 102, 145); + --spectrum-cyan-1100: rgb(0, 87, 121); + --spectrum-cyan-1200: rgb(0, 71, 98); + --spectrum-cyan-1300: rgb(0, 57, 78); + --spectrum-cyan-1400: rgb(0, 43, 59); + --spectrum-cyan-1500: rgb(0, 31, 43); + --spectrum-cyan-1600: rgb(0, 14, 20); + --spectrum-indigo-100: rgb(247, 248, 255); + --spectrum-indigo-200: rgb(235, 238, 255); + --spectrum-indigo-300: rgb(216, 222, 255); + --spectrum-indigo-400: rgb(192, 201, 255); + --spectrum-indigo-500: rgb(167, 178, 255); + --spectrum-indigo-600: rgb(145, 151, 254); + --spectrum-indigo-700: rgb(132, 128, 254); + --spectrum-indigo-800: rgb(122, 106, 253); + --spectrum-indigo-900: rgb(113, 85, 250); + --spectrum-indigo-1000: rgb(99, 56, 238); + --spectrum-indigo-1100: rgb(84, 36, 219); + --spectrum-indigo-1200: rgb(69, 19, 191); + --spectrum-indigo-1300: rgb(55, 6, 160); + --spectrum-indigo-1400: rgb(42, 0, 129); + --spectrum-indigo-1500: rgb(31, 0, 98); + --spectrum-indigo-1600: rgb(17, 0, 54); + --spectrum-purple-100: rgb(251, 247, 254); + --spectrum-purple-200: rgb(244, 235, 252); + --spectrum-purple-300: rgb(235, 218, 249); + --spectrum-purple-400: rgb(221, 193, 246); + --spectrum-purple-500: rgb(208, 167, 243); + --spectrum-purple-600: rgb(191, 138, 238); + --spectrum-purple-700: rgb(178, 114, 235); + --spectrum-purple-800: rgb(166, 92, 231); + --spectrum-purple-900: rgb(154, 71, 226); + --spectrum-purple-1000: rgb(134, 40, 217); + --spectrum-purple-1100: rgb(115, 13, 204); + --spectrum-purple-1200: rgb(93, 0, 177); + --spectrum-purple-1300: rgb(75, 0, 144); + --spectrum-purple-1400: rgb(59, 0, 111); + --spectrum-purple-1500: rgb(44, 0, 84); + --spectrum-purple-1600: rgb(23, 0, 45); + --spectrum-fuchsia-100: rgb(254, 246, 255); + --spectrum-fuchsia-200: rgb(253, 233, 255); + --spectrum-fuchsia-300: rgb(250, 211, 255); + --spectrum-fuchsia-400: rgb(247, 181, 255); + --spectrum-fuchsia-500: rgb(243, 147, 255); + --spectrum-fuchsia-600: rgb(236, 105, 255); + --spectrum-fuchsia-700: rgb(223, 77, 245); + --spectrum-fuchsia-800: rgb(200, 68, 220); + --spectrum-fuchsia-900: rgb(181, 57, 200); + --spectrum-fuchsia-1000: rgb(156, 40, 175); + --spectrum-fuchsia-1100: rgb(135, 27, 154); + --spectrum-fuchsia-1200: rgb(113, 15, 131); + --spectrum-fuchsia-1300: rgb(92, 4, 109); + --spectrum-fuchsia-1400: rgb(72, 0, 88); + --spectrum-fuchsia-1500: rgb(54, 0, 66); + --spectrum-fuchsia-1600: rgb(29, 0, 35); + --spectrum-magenta-100: rgb(255, 245, 248); + --spectrum-magenta-200: rgb(255, 232, 240); + --spectrum-magenta-300: rgb(255, 213, 227); + --spectrum-magenta-400: rgb(255, 185, 208); + --spectrum-magenta-500: rgb(255, 152, 187); + --spectrum-magenta-600: rgb(255, 112, 159); + --spectrum-magenta-700: rgb(255, 72, 133); + --spectrum-magenta-800: rgb(240, 45, 110); + --spectrum-magenta-900: rgb(217, 35, 97); + --spectrum-magenta-1000: rgb(186, 22, 80); + --spectrum-magenta-1100: rgb(163, 5, 62); + --spectrum-magenta-1200: rgb(136, 0, 51); + --spectrum-magenta-1300: rgb(111, 0, 40); + --spectrum-magenta-1400: rgb(86, 0, 30); + --spectrum-magenta-1500: rgb(64, 0, 22); + --spectrum-magenta-1600: rgb(35, 0, 12); + --spectrum-pink-100: rgb(255, 246, 252); + --spectrum-pink-200: rgb(255, 232, 247); + --spectrum-pink-300: rgb(255, 211, 240); + --spectrum-pink-400: rgb(255, 181, 230); + --spectrum-pink-500: rgb(255, 148, 219); + --spectrum-pink-600: rgb(255, 103, 204); + --spectrum-pink-700: rgb(242, 76, 184); + --spectrum-pink-800: rgb(228, 52, 163); + --spectrum-pink-900: rgb(206, 42, 146); + --spectrum-pink-1000: rgb(176, 31, 123); + --spectrum-pink-1100: rgb(152, 22, 104); + --spectrum-pink-1200: rgb(128, 12, 85); + --spectrum-pink-1300: rgb(105, 3, 68); + --spectrum-pink-1400: rgb(83, 0, 53); + --spectrum-pink-1500: rgb(62, 0, 39); + --spectrum-pink-1600: rgb(33, 0, 21); + --spectrum-turquoise-100: rgb(238, 251, 251); + --spectrum-turquoise-200: rgb(209, 245, 245); + --spectrum-turquoise-300: rgb(169, 236, 237); + --spectrum-turquoise-400: rgb(111, 221, 228); + --spectrum-turquoise-500: rgb(39, 202, 216); + --spectrum-turquoise-600: rgb(15, 177, 192); + --spectrum-turquoise-700: rgb(12, 158, 171); + --spectrum-turquoise-800: rgb(10, 141, 153); + --spectrum-turquoise-900: rgb(8, 126, 137); + --spectrum-turquoise-1000: rgb(5, 107, 116); + --spectrum-turquoise-1100: rgb(3, 90, 98); + --spectrum-turquoise-1200: rgb(1, 74, 81); + --spectrum-turquoise-1300: rgb(0, 59, 65); + --spectrum-turquoise-1400: rgb(0, 44, 49); + --spectrum-turquoise-1500: rgb(0, 32, 35); + --spectrum-turquoise-1600: rgb(0, 15, 17); + --spectrum-brown-100: rgb(252, 247, 242); + --spectrum-brown-200: rgb(247, 238, 225); + --spectrum-brown-300: rgb(239, 221, 195); + --spectrum-brown-400: rgb(229, 200, 157); + --spectrum-brown-500: rgb(214, 177, 123); + --spectrum-brown-600: rgb(190, 155, 104); + --spectrum-brown-700: rgb(171, 138, 90); + --spectrum-brown-800: rgb(154, 123, 77); + --spectrum-brown-900: rgb(139, 109, 66); + --spectrum-brown-1000: rgb(119, 91, 50); + --spectrum-brown-1100: rgb(103, 76, 35); + --spectrum-brown-1200: rgb(88, 61, 21); + --spectrum-brown-1300: rgb(70, 49, 17); + --spectrum-brown-1400: rgb(52, 37, 13); + --spectrum-brown-1500: rgb(38, 26, 9); + --spectrum-brown-1600: rgb(16, 12, 4); + --spectrum-silver-100: rgb(247, 247, 247); + --spectrum-silver-200: rgb(239, 239, 239); + --spectrum-silver-300: rgb(223, 223, 223); + --spectrum-silver-400: rgb(204, 204, 204); + --spectrum-silver-500: rgb(183, 183, 183); + --spectrum-silver-600: rgb(160, 160, 160); + --spectrum-silver-700: rgb(143, 143, 143); + --spectrum-silver-800: rgb(128, 128, 128); + --spectrum-silver-900: rgb(114, 114, 114); + --spectrum-silver-1000: rgb(96, 96, 96); + --spectrum-silver-1100: rgb(81, 81, 81); + --spectrum-silver-1200: rgb(66, 66, 66); + --spectrum-silver-1300: rgb(52, 52, 52); + --spectrum-silver-1400: rgb(39, 39, 39); + --spectrum-silver-1500: rgb(28, 28, 28); + --spectrum-silver-1600: rgb(12, 12, 12); + --spectrum-cinnamon-100: rgb(253, 247, 243); + --spectrum-cinnamon-200: rgb(249, 236, 229); + --spectrum-cinnamon-300: rgb(244, 218, 203); + --spectrum-cinnamon-400: rgb(237, 196, 172); + --spectrum-cinnamon-500: rgb(229, 170, 136); + --spectrum-cinnamon-600: rgb(212, 145, 108); + --spectrum-cinnamon-700: rgb(198, 126, 88); + --spectrum-cinnamon-800: rgb(184, 109, 70); + --spectrum-cinnamon-900: rgb(170, 94, 56); + --spectrum-cinnamon-1000: rgb(147, 77, 43); + --spectrum-cinnamon-1100: rgb(128, 62, 32); + --spectrum-cinnamon-1200: rgb(110, 48, 21); + --spectrum-cinnamon-1300: rgb(92, 35, 11); + --spectrum-cinnamon-1400: rgb(72, 25, 6); + --spectrum-cinnamon-1500: rgb(52, 18, 4); + --spectrum-cinnamon-1600: rgb(24, 8, 2); + --spectrum-icon-color-blue-primary-default: var(--spectrum-blue-900); + --spectrum-icon-color-green-primary-default: var(--spectrum-green-900); + --spectrum-icon-color-red-primary-default: var(--spectrum-red-900); + --spectrum-icon-color-yellow-primary-default: var(--spectrum-yellow-400); + --spectrum-menu-item-background-color-default: rgba(0, 0, 0, 0); + --spectrum-menu-item-background-color-hover: var( + --spectrum-transparent-black-200 + ); + --spectrum-menu-item-background-color-down: var( + --spectrum-transparent-black-200 + ); + --spectrum-menu-item-background-color-key-focus: var( + --spectrum-transparent-black-200 + ); + --spectrum-drop-zone-background-color-rgb: var(--spectrum-blue-800-rgb); + --spectrum-dropindicator-color: var(--spectrum-blue-800); + + --spectrum-calendar-day-background-color-selected: rgba( + var(--spectrum-blue-900-rgb), + 0.1 + ); + --spectrum-calendar-day-background-color-hover: rgba( + var(--spectrum-black-rgb), + 0.06 + ); + --spectrum-calendar-day-today-background-color-selected-hover: rgba( + var(--spectrum-blue-900-rgb), + 0.2 + ); + --spectrum-calendar-day-background-color-selected-hover: rgba( + var(--spectrum-blue-900-rgb), + 0.2 + ); + --spectrum-calendar-day-background-color-down: var( + --spectrum-transparent-black-200 + ); + --spectrum-calendar-day-background-color-cap-selected: rgba( + var(--spectrum-blue-900-rgb), + 0.2 + ); + --spectrum-calendar-day-background-color-key-focus: rgba( + var(--spectrum-black-rgb), + 0.06 + ); + --spectrum-calendar-day-border-color-key-focus: var(--spectrum-blue-800); + + --spectrum-badge-label-icon-color-primary: var(--spectrum-white); + + --spectrum-coach-indicator-ring-default-color: var(--spectrum-blue-800); + --spectrum-coach-indicator-ring-dark-color: var(--spectrum-gray-900); + --spectrum-coach-indicator-ring-light-color: var(--spectrum-gray-25); + + --spectrum-well-border-color: var(--spectrum-black-rgb); + + --spectrum-steplist-current-marker-color-key-focus: var( + --spectrum-blue-800 + ); + + --spectrum-treeview-item-background-color-quiet-selected: rgba( + var(--spectrum-gray-900-rgb), + 0.06 + ); + --spectrum-treeview-item-background-color-selected: rgba( + var(--spectrum-blue-900-rgb), + 0.1 + ); + + --spectrum-logic-button-and-background-color: var(--spectrum-blue-900); + --spectrum-logic-button-and-border-color: var(--spectrum-blue-900); + --spectrum-logic-button-and-background-color-hover: var( + --spectrum-blue-1100 + ); + --spectrum-logic-button-and-border-color-hover: var(--spectrum-blue-1100); + + --spectrum-logic-button-or-background-color: var(--spectrum-magenta-900); + --spectrum-logic-button-or-border-color: var(--spectrum-magenta-900); + --spectrum-logic-button-or-background-color-hover: var( + --spectrum-magenta-1100 + ); + --spectrum-logic-button-or-border-color-hover: var(--spectrum-magenta-1100); + + --spectrum-assetcard-border-color-selected: var(--spectrum-blue-900); + --spectrum-assetcard-border-color-selected-hover: var(--spectrum-blue-900); + --spectrum-assetcard-border-color-selected-down: var(--spectrum-blue-1000); + --spectrum-assetcard-selectionindicator-background-color-ordered: var( + --spectrum-blue-900 + ); + --spectrum-assestcard-focus-indicator-color: var(--spectrum-blue-800); + + --spectrum-assetlist-item-background-color-selected-hover: rgba( + var(--spectrum-blue-900-rgb), + 0.2 + ); + --spectrum-assetlist-item-background-color-selected: rgba( + var(--spectrum-blue-900-rgb), + 0.1 + ); + --spectrum-assetlist-border-color-key-focus: var(--spectrum-blue-800); + + --spectrum-swatch-border-color: rgba(0, 0, 0, 0.51); +} + +:host, +:root { + --spectrum-workflow-icon-size-50: 14px; + --spectrum-workflow-icon-size-75: 16px; + --spectrum-workflow-icon-size-100: 18px; + --spectrum-workflow-icon-size-200: 20px; + --spectrum-workflow-icon-size-300: 22px; + --spectrum-arrow-icon-size-75: 10px; + --spectrum-arrow-icon-size-100: 10px; + --spectrum-arrow-icon-size-200: 12px; + --spectrum-arrow-icon-size-300: 14px; + --spectrum-arrow-icon-size-400: 16px; + --spectrum-arrow-icon-size-500: 18px; + --spectrum-arrow-icon-size-600: 20px; + --spectrum-asterisk-icon-size-100: 8px; + --spectrum-asterisk-icon-size-200: 10px; + --spectrum-asterisk-icon-size-300: 10px; + --spectrum-checkmark-icon-size-50: 10px; + --spectrum-checkmark-icon-size-75: 10px; + --spectrum-checkmark-icon-size-100: 10px; + --spectrum-checkmark-icon-size-200: 12px; + --spectrum-checkmark-icon-size-300: 14px; + --spectrum-checkmark-icon-size-400: 16px; + --spectrum-checkmark-icon-size-500: 16px; + --spectrum-checkmark-icon-size-600: 18px; + --spectrum-chevron-icon-size-50: 6px; + --spectrum-chevron-icon-size-75: 10px; + --spectrum-chevron-icon-size-100: 10px; + --spectrum-chevron-icon-size-200: 12px; + --spectrum-chevron-icon-size-300: 14px; + --spectrum-chevron-icon-size-400: 16px; + --spectrum-chevron-icon-size-500: 16px; + --spectrum-chevron-icon-size-600: 18px; + --spectrum-corner-triangle-icon-size-75: 5px; + --spectrum-corner-triangle-icon-size-100: 5px; + --spectrum-corner-triangle-icon-size-200: 6px; + --spectrum-corner-triangle-icon-size-300: 7px; + --spectrum-cross-icon-size-75: 8px; + --spectrum-cross-icon-size-100: 8px; + --spectrum-cross-icon-size-200: 10px; + --spectrum-cross-icon-size-300: 12px; + --spectrum-cross-icon-size-400: 12px; + --spectrum-cross-icon-size-500: 14px; + --spectrum-cross-icon-size-600: 16px; + --spectrum-dash-icon-size-50: 8px; + --spectrum-dash-icon-size-75: 8px; + --spectrum-dash-icon-size-100: 10px; + --spectrum-dash-icon-size-200: 12px; + --spectrum-dash-icon-size-300: 12px; + --spectrum-dash-icon-size-400: 14px; + --spectrum-dash-icon-size-500: 16px; + --spectrum-dash-icon-size-600: 18px; + --spectrum-checkbox-control-size-small: 12px; + --spectrum-checkbox-control-size-medium: 14px; + --spectrum-checkbox-control-size-large: 16px; + --spectrum-checkbox-control-size-extra-large: 18px; + --spectrum-checkbox-top-to-control-small: 6px; + --spectrum-checkbox-top-to-control-medium: 9px; + --spectrum-checkbox-top-to-control-large: 12px; + --spectrum-checkbox-top-to-control-extra-large: 15px; + --spectrum-switch-control-width-small: 23px; + --spectrum-switch-control-width-medium: 26px; + --spectrum-switch-control-width-large: 29px; + --spectrum-switch-control-width-extra-large: 33px; + --spectrum-switch-control-height-small: 12px; + --spectrum-switch-control-height-medium: 14px; + --spectrum-switch-control-height-large: 16px; + --spectrum-switch-control-height-extra-large: 18px; + --spectrum-switch-top-to-control-small: 6px; + --spectrum-switch-top-to-control-medium: 9px; + --spectrum-switch-top-to-control-large: 12px; + --spectrum-switch-top-to-control-extra-large: 15px; + --spectrum-radio-button-control-size-small: 12px; + --spectrum-radio-button-control-size-medium: 14px; + --spectrum-radio-button-control-size-large: 16px; + --spectrum-radio-button-control-size-extra-large: 18px; + --spectrum-radio-button-top-to-control-small: 6px; + --spectrum-radio-button-top-to-control-medium: 9px; + --spectrum-radio-button-top-to-control-large: 12px; + --spectrum-radio-button-top-to-control-extra-large: 15px; + --spectrum-field-label-text-to-asterisk-small: 4px; + --spectrum-field-label-text-to-asterisk-medium: 4px; + --spectrum-field-label-text-to-asterisk-large: 5px; + --spectrum-field-label-text-to-asterisk-extra-large: 5px; + --spectrum-field-label-top-to-asterisk-small: 8px; + --spectrum-field-label-top-to-asterisk-medium: 12px; + --spectrum-field-label-top-to-asterisk-large: 15px; + --spectrum-field-label-top-to-asterisk-extra-large: 19px; + --spectrum-field-label-top-margin-medium: 4px; + --spectrum-field-label-top-margin-large: 5px; + --spectrum-field-label-top-margin-extra-large: 5px; + --spectrum-field-label-to-component-quiet-small: -8px; + --spectrum-field-label-to-component-quiet-medium: -8px; + --spectrum-field-label-to-component-quiet-large: -12px; + --spectrum-field-label-to-component-quiet-extra-large: -15px; + --spectrum-help-text-top-to-workflow-icon-small: 4px; + --spectrum-help-text-top-to-workflow-icon-medium: 3px; + --spectrum-help-text-top-to-workflow-icon-large: 6px; + --spectrum-help-text-top-to-workflow-icon-extra-large: 9px; + --spectrum-status-light-dot-size-medium: 8px; + --spectrum-status-light-dot-size-large: 10px; + --spectrum-status-light-dot-size-extra-large: 10px; + --spectrum-status-light-top-to-dot-small: 8px; + --spectrum-status-light-top-to-dot-medium: 12px; + --spectrum-status-light-top-to-dot-large: 15px; + --spectrum-status-light-top-to-dot-extra-large: 19px; + --spectrum-action-button-edge-to-hold-icon-medium: 4px; + --spectrum-action-button-edge-to-hold-icon-large: 5px; + --spectrum-action-button-edge-to-hold-icon-extra-large: 6px; + --spectrum-tooltip-tip-width: 8px; + --spectrum-tooltip-tip-height: 4px; + --spectrum-tooltip-maximum-width: 160px; + --spectrum-progress-circle-size-small: 16px; + --spectrum-progress-circle-size-medium: 32px; + --spectrum-progress-circle-size-large: 64px; + --spectrum-progress-circle-thickness-small: 2px; + --spectrum-progress-circle-thickness-medium: 3px; + --spectrum-progress-circle-thickness-large: 4px; + --spectrum-toast-height: 48px; + --spectrum-toast-maximum-width: 336px; + --spectrum-toast-top-to-workflow-icon: 15px; + --spectrum-toast-top-to-text: 14px; + --spectrum-toast-bottom-to-text: 17px; + --spectrum-action-bar-height: 48px; + --spectrum-action-bar-top-to-item-counter: 14px; + --spectrum-swatch-size-extra-small: 16px; + --spectrum-swatch-size-small: 24px; + --spectrum-swatch-size-medium: 32px; + --spectrum-swatch-size-large: 40px; + --spectrum-progress-bar-thickness-small: 4px; + --spectrum-progress-bar-thickness-medium: 6px; + --spectrum-progress-bar-thickness-large: 8px; + --spectrum-progress-bar-thickness-extra-large: 10px; + --spectrum-meter-width: 192px; + --spectrum-meter-thickness-small: 4px; + --spectrum-meter-thickness-large: 6px; + --spectrum-tag-top-to-avatar-small: 4px; + --spectrum-tag-top-to-avatar-medium: 6px; + --spectrum-tag-top-to-avatar-large: 9px; + --spectrum-tag-top-to-cross-icon-small: 8px; + --spectrum-tag-top-to-cross-icon-medium: 12px; + --spectrum-tag-top-to-cross-icon-large: 15px; + --spectrum-popover-top-to-content-area: 4px; + --spectrum-menu-item-edge-to-content-not-selected-small: 28px; + --spectrum-menu-item-edge-to-content-not-selected-medium: 32px; + --spectrum-menu-item-edge-to-content-not-selected-large: 38px; + --spectrum-menu-item-edge-to-content-not-selected-extra-large: 45px; + --spectrum-menu-item-top-to-disclosure-icon-small: 7px; + --spectrum-menu-item-top-to-disclosure-icon-medium: 11px; + --spectrum-menu-item-top-to-disclosure-icon-large: 14px; + --spectrum-menu-item-top-to-disclosure-icon-extra-large: 17px; + --spectrum-menu-item-top-to-selected-icon-small: 7px; + --spectrum-menu-item-top-to-selected-icon-medium: 11px; + --spectrum-menu-item-top-to-selected-icon-large: 14px; + --spectrum-menu-item-top-to-selected-icon-extra-large: 17px; + --spectrum-slider-control-height-small: 14px; + --spectrum-slider-control-height-medium: 16px; + --spectrum-slider-control-height-large: 18px; + --spectrum-slider-control-height-extra-large: 20px; + --spectrum-slider-handle-size-small: 14px; + --spectrum-slider-handle-size-medium: 16px; + --spectrum-slider-handle-size-large: 18px; + --spectrum-slider-handle-size-extra-large: 20px; + --spectrum-slider-handle-border-width-down-small: 5px; + --spectrum-slider-handle-border-width-down-medium: 6px; + --spectrum-slider-handle-border-width-down-large: 7px; + --spectrum-slider-handle-border-width-down-extra-large: 8px; + --spectrum-slider-bottom-to-handle-small: 5px; + --spectrum-slider-bottom-to-handle-medium: 8px; + --spectrum-slider-bottom-to-handle-large: 11px; + --spectrum-slider-bottom-to-handle-extra-large: 14px; + --spectrum-slider-control-to-field-label-small: 5px; + --spectrum-slider-control-to-field-label-medium: 8px; + --spectrum-slider-control-to-field-label-large: 11px; + --spectrum-slider-control-to-field-label-extra-large: 14px; + --spectrum-picker-visual-to-disclosure-icon-small: 7px; + --spectrum-picker-visual-to-disclosure-icon-medium: 8px; + --spectrum-picker-visual-to-disclosure-icon-large: 9px; + --spectrum-picker-visual-to-disclosure-icon-extra-large: 10px; + --spectrum-text-area-minimum-width: 112px; + --spectrum-text-area-minimum-height: 56px; + --spectrum-combo-box-visual-to-field-button-small: 7px; + --spectrum-combo-box-visual-to-field-button-medium: 8px; + --spectrum-combo-box-visual-to-field-button-large: 9px; + --spectrum-combo-box-visual-to-field-button-extra-large: 10px; + --spectrum-thumbnail-size-50: 16px; + --spectrum-thumbnail-size-75: 18px; + --spectrum-thumbnail-size-100: 20px; + --spectrum-thumbnail-size-200: 22px; + --spectrum-thumbnail-size-300: 26px; + --spectrum-thumbnail-size-400: 28px; + --spectrum-thumbnail-size-500: 32px; + --spectrum-thumbnail-size-600: 36px; + --spectrum-thumbnail-size-700: 40px; + --spectrum-thumbnail-size-800: 44px; + --spectrum-thumbnail-size-900: 50px; + --spectrum-thumbnail-size-1000: 56px; + --spectrum-alert-dialog-title-size: var(--spectrum-heading-size-s); + --spectrum-alert-dialog-description-size: var(--spectrum-body-size-s); + --spectrum-opacity-checkerboard-square-size: 8px; + --spectrum-contextual-help-title-size: var(--spectrum-heading-size-xs); + --spectrum-contextual-help-body-size: var(--spectrum-body-size-s); + --spectrum-breadcrumbs-height-multiline: 72px; + --spectrum-breadcrumbs-top-to-text: 13px; + --spectrum-breadcrumbs-top-to-text-compact: 11px; + --spectrum-breadcrumbs-top-to-text-multiline: 12px; + --spectrum-breadcrumbs-bottom-to-text: 15px; + --spectrum-breadcrumbs-bottom-to-text-compact: 12px; + --spectrum-breadcrumbs-bottom-to-text-multiline: 9px; + --spectrum-breadcrumbs-start-edge-to-text: 8px; + --spectrum-breadcrumbs-top-text-to-bottom-text: 9px; + --spectrum-breadcrumbs-top-to-separator-icon: 19px; + --spectrum-breadcrumbs-top-to-separator-icon-compact: 15px; + --spectrum-breadcrumbs-top-to-separator-icon-multiline: 15px; + --spectrum-breadcrumbs-separator-icon-to-bottom-text-multiline: 11px; + --spectrum-breadcrumbs-top-to-truncated-menu: 8px; + --spectrum-breadcrumbs-top-to-truncated-menu-compact: 4px; + --spectrum-avatar-size-50: 16px; + --spectrum-avatar-size-75: 18px; + --spectrum-avatar-size-100: 20px; + --spectrum-avatar-size-200: 22px; + --spectrum-avatar-size-300: 26px; + --spectrum-avatar-size-400: 28px; + --spectrum-avatar-size-500: 32px; + --spectrum-avatar-size-600: 36px; + --spectrum-avatar-size-700: 40px; + --spectrum-alert-banner-minimum-height: 48px; + --spectrum-alert-banner-width: 832px; + --spectrum-alert-banner-top-to-workflow-icon: 15px; + --spectrum-alert-banner-top-to-text: 14px; + --spectrum-alert-banner-bottom-to-text: 17px; + --spectrum-rating-indicator-width: 18px; + --spectrum-rating-indicator-to-icon: 4px; + --spectrum-color-area-width: 192px; + --spectrum-color-area-minimum-width: 64px; + --spectrum-color-area-height: 192px; + --spectrum-color-area-minimum-height: 64px; + --spectrum-color-wheel-width: 192px; + --spectrum-color-wheel-minimum-width: 175px; + --spectrum-color-slider-length: 192px; + --spectrum-color-slider-minimum-length: 80px; + --spectrum-illustrated-message-title-size: var(--spectrum-heading-size-m); + --spectrum-illustrated-message-cjk-title-size: var( + --spectrum-heading-cjk-size-m + ); + --spectrum-illustrated-message-body-size: var(--spectrum-body-size-s); + --spectrum-coach-mark-width: 296px; + --spectrum-coach-mark-minimum-width: 296px; + --spectrum-coach-mark-maximum-width: 380px; + --spectrum-coach-mark-edge-to-content: var(--spectrum-spacing-400); + --spectrum-coach-mark-pagination-text-to-bottom-edge: 33px; + --spectrum-coach-mark-media-height: 222px; + --spectrum-coach-mark-media-minimum-height: 166px; + --spectrum-coach-mark-title-size: var(--spectrum-heading-size-xs); + --spectrum-coach-mark-body-size: var(--spectrum-body-size-s); + --spectrum-coach-mark-pagination-body-size: var(--spectrum-body-size-s); + --spectrum-accordion-top-to-text-regular-small: 5px; + --spectrum-accordion-small-top-to-text-spacious: 9px; + --spectrum-accordion-top-to-text-regular-medium: 8px; + --spectrum-accordion-top-to-text-spacious-medium: 12px; + --spectrum-accordion-top-to-text-compact-large: 4px; + --spectrum-accordion-top-to-text-regular-large: 9px; + --spectrum-accordion-top-to-text-spacious-large: 12px; + --spectrum-accordion-top-to-text-compact-extra-large: 5px; + --spectrum-accordion-top-to-text-regular-extra-large: 9px; + --spectrum-accordion-top-to-text-spacious-extra-large: 13px; + --spectrum-accordion-bottom-to-text-compact-small: 2px; + --spectrum-accordion-bottom-to-text-regular-small: 7px; + --spectrum-accordion-bottom-to-text-spacious-small: 11px; + --spectrum-accordion-bottom-to-text-compact-medium: 5px; + --spectrum-accordion-bottom-to-text-regular-medium: 9px; + --spectrum-accordion-bottom-to-text-spacious-medium: 13px; + --spectrum-accordion-bottom-to-text-compact-large: 8px; + --spectrum-accordion-bottom-to-text-regular-large: 11px; + --spectrum-accordion-bottom-to-text-spacious-large: 16px; + --spectrum-accordion-bottom-to-text-compact-extra-large: 8px; + --spectrum-accordion-bottom-to-text-regular-extra-large: 12px; + --spectrum-accordion-bottom-to-text-spacious-extra-large: 16px; + --spectrum-accordion-minimum-width: 200px; + --spectrum-accordion-content-area-top-to-content: 8px; + --spectrum-accordion-content-area-bottom-to-content: 16px; + --spectrum-color-handle-size: 16px; + --spectrum-color-handle-size-key-focus: 32px; + --spectrum-table-column-header-row-top-to-text-small: 8px; + --spectrum-table-column-header-row-top-to-text-medium: 7px; + --spectrum-table-column-header-row-top-to-text-large: 10px; + --spectrum-table-column-header-row-top-to-text-extra-large: 13px; + --spectrum-table-column-header-row-bottom-to-text-small: 9px; + --spectrum-table-column-header-row-bottom-to-text-medium: 8px; + --spectrum-table-column-header-row-bottom-to-text-large: 10px; + --spectrum-table-column-header-row-bottom-to-text-extra-large: 13px; + --spectrum-table-row-height-small-regular: 32px; + --spectrum-table-row-height-medium-regular: 40px; + --spectrum-table-row-height-large-regular: 48px; + --spectrum-table-row-height-extra-large-regular: 56px; + --spectrum-table-row-height-small-spacious: 40px; + --spectrum-table-row-height-medium-spacious: 48px; + --spectrum-table-row-height-large-spacious: 56px; + --spectrum-table-row-height-extra-large-spacious: 64px; + --spectrum-table-row-top-to-text-small-regular: 8px; + --spectrum-table-row-top-to-text-medium-regular: 11px; + --spectrum-table-row-top-to-text-large-regular: 14px; + --spectrum-table-row-top-to-text-extra-large-regular: 17px; + --spectrum-table-row-bottom-to-text-small-regular: 9px; + --spectrum-table-row-bottom-to-text-medium-regular: 12px; + --spectrum-table-row-bottom-to-text-large-regular: 14px; + --spectrum-table-row-bottom-to-text-extra-large-regular: 17px; + --spectrum-table-row-top-to-text-small-spacious: 12px; + --spectrum-table-row-top-to-text-medium-spacious: 15px; + --spectrum-table-row-top-to-text-large-spacious: 18px; + --spectrum-table-row-top-to-text-extra-large-spacious: 21px; + --spectrum-table-row-bottom-to-text-small-spacious: 13px; + --spectrum-table-row-bottom-to-text-medium-spacious: 16px; + --spectrum-table-row-bottom-to-text-large-spacious: 18px; + --spectrum-table-row-bottom-to-text-extra-large-spacious: 21px; + --spectrum-table-checkbox-to-text: 24px; + --spectrum-table-header-row-checkbox-to-top-small: 10px; + --spectrum-table-header-row-checkbox-to-top-medium: 9px; + --spectrum-table-header-row-checkbox-to-top-large: 12px; + --spectrum-table-header-row-checkbox-to-top-extra-large: 15px; + --spectrum-table-row-checkbox-to-top-small-compact: 6px; + --spectrum-table-row-checkbox-to-top-small-regular: 10px; + --spectrum-table-row-checkbox-to-top-small-spacious: 14px; + --spectrum-table-row-checkbox-to-top-medium-compact: 9px; + --spectrum-table-row-checkbox-to-top-medium-regular: 13px; + --spectrum-table-row-checkbox-to-top-medium-spacious: 17px; + --spectrum-table-row-checkbox-to-top-large-compact: 12px; + --spectrum-table-row-checkbox-to-top-large-regular: 16px; + --spectrum-table-row-checkbox-to-top-large-spacious: 20px; + --spectrum-table-row-checkbox-to-top-extra-large-compact: 15px; + --spectrum-table-row-checkbox-to-top-extra-large-regular: 19px; + --spectrum-table-row-checkbox-to-top-extra-large-spacious: 23px; + --spectrum-table-section-header-row-height-small: 24px; + --spectrum-table-section-header-row-height-medium: 32px; + --spectrum-table-section-header-row-height-large: 40px; + --spectrum-table-section-header-row-height-extra-large: 48px; + --spectrum-table-thumbnail-to-top-minimum-small-compact: 4px; + --spectrum-table-thumbnail-to-top-minimum-medium-compact: 5px; + --spectrum-table-thumbnail-to-top-minimum-large-compact: 7px; + --spectrum-table-thumbnail-to-top-minimum-extra-large-compact: 8px; + --spectrum-table-thumbnail-to-top-minimum-small-regular: 5px; + --spectrum-table-thumbnail-to-top-minimum-medium-regular: 7px; + --spectrum-table-thumbnail-to-top-minimum-large-regular: 8px; + --spectrum-table-thumbnail-to-top-minimum-extra-large-regular: 8px; + --spectrum-table-thumbnail-to-top-minimum-small-spacious: 7px; + --spectrum-table-thumbnail-to-top-minimum-medium-spacious: 8px; + --spectrum-table-thumbnail-to-top-minimum-large-spacious: 8px; + --spectrum-table-thumbnail-to-top-minimum-extra-large-spacious: 10px; + --spectrum-tab-item-to-tab-item-horizontal-small: 21px; + --spectrum-tab-item-to-tab-item-horizontal-medium: 24px; + --spectrum-tab-item-to-tab-item-horizontal-large: 27px; + --spectrum-tab-item-to-tab-item-horizontal-extra-large: 30px; + --spectrum-tab-item-to-tab-item-vertical-small: 4px; + --spectrum-tab-item-to-tab-item-vertical-medium: 4px; + --spectrum-tab-item-to-tab-item-vertical-large: 5px; + --spectrum-tab-item-to-tab-item-vertical-extra-large: 5px; + --spectrum-tab-item-start-to-edge-small: 12px; + --spectrum-tab-item-start-to-edge-medium: 12px; + --spectrum-tab-item-start-to-edge-large: 13px; + --spectrum-tab-item-start-to-edge-extra-large: 13px; + --spectrum-tab-item-top-to-text-small: 11px; + --spectrum-tab-item-bottom-to-text-small: 12px; + --spectrum-tab-item-top-to-text-medium: 14px; + --spectrum-tab-item-bottom-to-text-medium: 14px; + --spectrum-tab-item-top-to-text-large: 16px; + --spectrum-tab-item-bottom-to-text-large: 18px; + --spectrum-tab-item-top-to-text-extra-large: 19px; + --spectrum-tab-item-bottom-to-text-extra-large: 20px; + --spectrum-tab-item-top-to-text-compact-small: 4px; + --spectrum-tab-item-bottom-to-text-compact-small: 5px; + --spectrum-tab-item-top-to-text-compact-medium: 6px; + --spectrum-tab-item-bottom-to-text-compact-medium: 8px; + --spectrum-tab-item-top-to-text-compact-large: 10px; + --spectrum-tab-item-bottom-to-text-compact-large: 12px; + --spectrum-tab-item-top-to-text-compact-extra-large: 12px; + --spectrum-tab-item-bottom-to-text-compact-extra-large: 13px; + --spectrum-tab-item-top-to-workflow-icon-small: 13px; + --spectrum-tab-item-top-to-workflow-icon-medium: 15px; + --spectrum-tab-item-top-to-workflow-icon-large: 17px; + --spectrum-tab-item-top-to-workflow-icon-extra-large: 19px; + --spectrum-tab-item-top-to-workflow-icon-compact-small: 3px; + --spectrum-tab-item-top-to-workflow-icon-compact-medium: 7px; + --spectrum-tab-item-top-to-workflow-icon-compact-large: 9px; + --spectrum-tab-item-top-to-workflow-icon-compact-extra-large: 11px; + --spectrum-tab-item-focus-indicator-gap-small: 7px; + --spectrum-tab-item-focus-indicator-gap-medium: 8px; + --spectrum-tab-item-focus-indicator-gap-large: 9px; + --spectrum-tab-item-focus-indicator-gap-extra-large: 10px; + --spectrum-side-navigation-width: 192px; + --spectrum-side-navigation-minimum-width: 160px; + --spectrum-side-navigation-maximum-width: 240px; + --spectrum-side-navigation-second-level-edge-to-text: 24px; + --spectrum-side-navigation-third-level-edge-to-text: 36px; + --spectrum-side-navigation-with-icon-second-level-edge-to-text: 50px; + --spectrum-side-navigation-with-icon-third-level-edge-to-text: 62px; + --spectrum-side-navigation-item-to-item: 4px; + --spectrum-side-navigation-item-to-header: 24px; + --spectrum-side-navigation-header-to-item: 8px; + --spectrum-side-navigation-bottom-to-text: 8px; + --spectrum-tray-top-to-content-area: 4px; + --spectrum-accordion-top-to-text-spacious-small: 9px; + --spectrum-corner-radius-100: 4px; + --spectrum-corner-radius-200: 8px; + --spectrum-drop-shadow-y: 1px; + --spectrum-drop-shadow-blur: 4px; + --spectrum-text-to-visual-50: 6px; + --spectrum-text-to-visual-75: 7px; + --spectrum-text-to-visual-100: 8px; + --spectrum-text-to-visual-200: 9px; + --spectrum-text-to-visual-300: 10px; + --spectrum-text-to-control-75: 9px; + --spectrum-text-to-control-100: 10px; + --spectrum-text-to-control-200: 11px; + --spectrum-text-to-control-300: 13px; + --spectrum-component-height-50: 20px; + --spectrum-component-height-75: 24px; + --spectrum-component-height-100: 32px; + --spectrum-component-height-200: 40px; + --spectrum-component-height-300: 48px; + --spectrum-component-height-400: 56px; + --spectrum-component-height-500: 64px; + --spectrum-component-pill-edge-to-visual-75: 10px; + --spectrum-component-pill-edge-to-visual-100: 14px; + --spectrum-component-pill-edge-to-visual-200: 18px; + --spectrum-component-pill-edge-to-visual-300: 21px; + --spectrum-component-pill-edge-to-visual-only-75: 4px; + --spectrum-component-pill-edge-to-visual-only-100: 7px; + --spectrum-component-pill-edge-to-visual-only-200: 10px; + --spectrum-component-pill-edge-to-visual-only-300: 13px; + --spectrum-component-pill-edge-to-text-75: 12px; + --spectrum-component-pill-edge-to-text-100: 16px; + --spectrum-component-pill-edge-to-text-200: 20px; + --spectrum-component-pill-edge-to-text-300: 24px; + --spectrum-component-edge-to-visual-50: 6px; + --spectrum-component-edge-to-visual-75: 7px; + --spectrum-component-edge-to-visual-100: 10px; + --spectrum-component-edge-to-visual-200: 13px; + --spectrum-component-edge-to-visual-300: 15px; + --spectrum-component-edge-to-visual-only-50: 3px; + --spectrum-component-edge-to-visual-only-75: 4px; + --spectrum-component-edge-to-visual-only-100: 7px; + --spectrum-component-edge-to-visual-only-200: 10px; + --spectrum-component-edge-to-visual-only-300: 13px; + --spectrum-component-edge-to-text-50: 8px; + --spectrum-component-edge-to-text-75: 9px; + --spectrum-component-edge-to-text-100: 12px; + --spectrum-component-edge-to-text-200: 15px; + --spectrum-component-edge-to-text-300: 18px; + --spectrum-component-top-to-workflow-icon-50: 3px; + --spectrum-component-top-to-workflow-icon-75: 4px; + --spectrum-component-top-to-workflow-icon-100: 7px; + --spectrum-component-top-to-workflow-icon-200: 10px; + --spectrum-component-top-to-workflow-icon-300: 13px; + --spectrum-component-top-to-text-50: 3px; + --spectrum-component-top-to-text-75: 4px; + --spectrum-component-top-to-text-100: 6px; + --spectrum-component-top-to-text-200: 9px; + --spectrum-component-top-to-text-300: 12px; + --spectrum-component-bottom-to-text-50: 3px; + --spectrum-component-bottom-to-text-75: 5px; + --spectrum-component-bottom-to-text-100: 9px; + --spectrum-component-bottom-to-text-200: 11px; + --spectrum-component-bottom-to-text-300: 14px; + --spectrum-component-to-menu-small: 6px; + --spectrum-component-to-menu-medium: 6px; + --spectrum-component-to-menu-large: 7px; + --spectrum-component-to-menu-extra-large: 8px; + --spectrum-field-edge-to-disclosure-icon-75: 7px; + --spectrum-field-edge-to-disclosure-icon-100: 11px; + --spectrum-field-edge-to-disclosure-icon-200: 14px; + --spectrum-field-edge-to-disclosure-icon-300: 17px; + --spectrum-field-end-edge-to-disclosure-icon-75: 7px; + --spectrum-field-end-edge-to-disclosure-icon-100: 11px; + --spectrum-field-end-edge-to-disclosure-icon-200: 14px; + --spectrum-field-end-edge-to-disclosure-icon-300: 17px; + --spectrum-field-top-to-disclosure-icon-75: 7px; + --spectrum-field-top-to-disclosure-icon-100: 11px; + --spectrum-field-top-to-disclosure-icon-200: 14px; + --spectrum-field-top-to-disclosure-icon-300: 17px; + --spectrum-field-top-to-alert-icon-small: 4px; + --spectrum-field-top-to-alert-icon-medium: 7px; + --spectrum-field-top-to-alert-icon-large: 10px; + --spectrum-field-top-to-alert-icon-extra-large: 13px; + --spectrum-field-top-to-validation-icon-small: 7px; + --spectrum-field-top-to-validation-icon-medium: 11px; + --spectrum-field-top-to-validation-icon-large: 14px; + --spectrum-field-top-to-validation-icon-extra-large: 17px; + --spectrum-field-top-to-progress-circle-small: 4px; + --spectrum-field-top-to-progress-circle-medium: 8px; + --spectrum-field-top-to-progress-circle-large: 12px; + --spectrum-field-top-to-progress-circle-extra-large: 16px; + --spectrum-field-edge-to-alert-icon-small: 9px; + --spectrum-field-edge-to-alert-icon-medium: 12px; + --spectrum-field-edge-to-alert-icon-large: 15px; + --spectrum-field-edge-to-alert-icon-extra-large: 18px; + --spectrum-field-edge-to-validation-icon-small: 9px; + --spectrum-field-edge-to-validation-icon-medium: 12px; + --spectrum-field-edge-to-validation-icon-large: 15px; + --spectrum-field-edge-to-validation-icon-extra-large: 18px; + --spectrum-field-text-to-alert-icon-small: 8px; + --spectrum-field-text-to-alert-icon-medium: 12px; + --spectrum-field-text-to-alert-icon-large: 15px; + --spectrum-field-text-to-alert-icon-extra-large: 18px; + --spectrum-field-text-to-validation-icon-small: 8px; + --spectrum-field-text-to-validation-icon-medium: 12px; + --spectrum-field-text-to-validation-icon-large: 15px; + --spectrum-field-text-to-validation-icon-extra-large: 18px; + --spectrum-field-width: 192px; + --spectrum-character-count-to-field-quiet-small: -3px; + --spectrum-character-count-to-field-quiet-medium: -3px; + --spectrum-character-count-to-field-quiet-large: -3px; + --spectrum-character-count-to-field-quiet-extra-large: -4px; + --spectrum-side-label-character-count-to-field: 12px; + --spectrum-side-label-character-count-top-margin-small: 4px; + --spectrum-side-label-character-count-top-margin-medium: 8px; + --spectrum-side-label-character-count-top-margin-large: 11px; + --spectrum-side-label-character-count-top-margin-extra-large: 14px; + --spectrum-disclosure-indicator-top-to-disclosure-icon-small: 7px; + --spectrum-disclosure-indicator-top-to-disclosure-icon-medium: 11px; + --spectrum-disclosure-indicator-top-to-disclosure-icon-large: 14px; + --spectrum-disclosure-indicator-top-to-disclosure-icon-extra-large: 17px; + --spectrum-navigational-indicator-top-to-back-icon-small: 6px; + --spectrum-navigational-indicator-top-to-back-icon-medium: 9px; + --spectrum-navigational-indicator-top-to-back-icon-large: 12px; + --spectrum-navigational-indicator-top-to-back-icon-extra-large: 15px; + --spectrum-color-control-track-width: 24px; + --spectrum-font-size-50: 11px; + --spectrum-font-size-75: 12px; + --spectrum-font-size-100: 14px; + --spectrum-font-size-200: 16px; + --spectrum-font-size-300: 18px; + --spectrum-font-size-400: 20px; + --spectrum-font-size-500: 22px; + --spectrum-font-size-600: 25px; + --spectrum-font-size-700: 28px; + --spectrum-font-size-800: 32px; + --spectrum-font-size-900: 36px; + --spectrum-font-size-1000: 40px; + --spectrum-font-size-1100: 45px; + --spectrum-font-size-1200: 50px; + --spectrum-font-size-1300: 60px; + --spectrum-slider-tick-mark-height: 10px; + --spectrum-slider-ramp-track-height: 16px; + + --spectrum-colorwheel-path: 'M 95 95 m -95 0 a 95 95 0 1 0 190 0 a 95 95 0 1 0 -190 0.2 M 95 95 m -73 0 a 73 73 0 1 0 146 0 a 73 73 0 1 0 -146 0'; + --spectrum-colorwheel-path-borders: 'M 96 96 m -96 0 a 96 96 0 1 0 192 0 a 96 96 0 1 0 -192 0.2 M 96 96 m -72 0 a 72 72 0 1 0 144 0 a 72 72 0 1 0 -144 0'; + --spectrum-colorwheel-colorarea-container-size: 144px; + + --spectrum-colorloupe-checkerboard-fill: url(#checkerboard-primary); + + --spectrum-menu-item-selectable-edge-to-text-not-selected-small: 28px; + --spectrum-menu-item-selectable-edge-to-text-not-selected-medium: 32px; + --spectrum-menu-item-selectable-edge-to-text-not-selected-large: 38px; + --spectrum-menu-item-selectable-edge-to-text-not-selected-extra-large: 45px; + + --spectrum-menu-item-checkmark-height-small: 10px; + --spectrum-menu-item-checkmark-height-medium: 10px; + --spectrum-menu-item-checkmark-height-large: 12px; + --spectrum-menu-item-checkmark-height-extra-large: 14px; + + --spectrum-menu-item-checkmark-width-small: 10px; + --spectrum-menu-item-checkmark-width-medium: 10px; + --spectrum-menu-item-checkmark-width-large: 12px; + --spectrum-menu-item-checkmark-width-extra-large: 14px; + + --spectrum-rating-icon-spacing: var(--spectrum-spacing-75); + + --spectrum-button-top-to-text-small: 5px; + --spectrum-button-bottom-to-text-small: 4px; + --spectrum-button-top-to-text-medium: 7px; + --spectrum-button-bottom-to-text-medium: 8px; + --spectrum-button-top-to-text-large: 10px; + --spectrum-button-bottom-to-text-large: 10px; + --spectrum-button-top-to-text-extra-large: 13px; + --spectrum-button-bottom-to-text-extra-large: 13px; + + --spectrum-alert-banner-close-button-spacing: var(--spectrum-spacing-100); + --spectrum-alert-banner-edge-to-divider: var(--spectrum-spacing-100); + --spectrum-alert-banner-edge-to-button: var(--spectrum-spacing-100); + --spectrum-alert-banner-text-to-button-vertical: var( + --spectrum-spacing-100 + ); + + --spectrum-alert-dialog-padding: var(--spectrum-spacing-500); + --spectrum-alert-dialog-description-to-buttons: var(--spectrum-spacing-700); + + --spectrum-coach-indicator-gap: 6px; + --spectrum-coach-indicator-ring-diameter: var(--spectrum-spacing-300); + --spectrum-coach-indicator-quiet-ring-diameter: var(--spectrum-spacing-100); + + --spectrum-coachmark-buttongroup-display: flex; + --spectrum-coachmark-buttongroup-mobile-display: none; + --spectrum-coachmark-menu-display: inline-flex; + --spectrum-coachmark-menu-mobile-display: none; + --spectrum-well-padding: var(--spectrum-spacing-300); + --spectrum-well-margin-top: var(--spectrum-spacing-75); + --spectrum-well-min-width: 240px; + --spectrum-well-border-radius: var(--spectrum-spacing-75); + --spectrum-workflow-icon-size-xxl: 32px; + --spectrum-workflow-icon-size-xxs: 12px; + + --spectrum-treeview-item-indentation-medium: var(--spectrum-spacing-300); + --spectrum-treeview-item-indentation-small: var(--spectrum-spacing-200); + --spectrum-treeview-item-indentation-large: 20px; + --spectrum-treeview-item-indentation-extra-large: var( + --spectrum-spacing-400 + ); + --spectrum-treeview-indicator-inset-block-start: 5px; + --spectrum-treeview-item-min-block-size-thumbnail-offset-medium: 0px; + + --spectrum-dialog-confirm-entry-animation-distance: 20px; + --spectrum-dialog-confirm-hero-height: 128px; + --spectrum-dialog-confirm-border-radius: 4px; + --spectrum-dialog-confirm-title-text-size: 18px; + --spectrum-dialog-confirm-description-text-size: 14px; + --spectrum-dialog-confirm-padding-grid: 40px; + + --spectrum-datepicker-initial-width: 128px; + --spectrum-datepicker-generic-padding: var(--spectrum-spacing-200); + --spectrum-datepicker-dash-line-height: 24px; + --spectrum-datepicker-width-quiet-first: 72px; + --spectrum-datepicker-width-quiet-second: 16px; + --spectrum-datepicker-datetime-width-first: 36px; + --spectrum-datepicker-invalid-icon-to-button: 8px; + --spectrum-datepicker-invalid-icon-to-button-quiet: 7px; + --spectrum-datepicker-input-datetime-width: var(--spectrum-spacing-400); + + --spectrum-pagination-textfield-width: var(--spectrum-spacing-700); + --spectrum-pagination-item-inline-spacing: 5px; + + --spectrum-dial-border-radius: 16px; + --spectrum-dial-handle-position: 8px; + --spectrum-dial-handle-block-margin: 16px; + --spectrum-dial-handle-inline-margin: 16px; + --spectrum-dial-controls-margin: 8px; + --spectrum-dial-label-gap-y: 5px; + --spectrum-dial-label-container-top-to-text: 4px; + + --spectrum-assetcard-focus-ring-border-radius: 8px; + --spectrum-assetcard-selectionindicator-margin: 12px; + --spectrum-assetcard-title-font-size: var(--spectrum-heading-size-xs); + --spectrum-assetcard-header-content-font-size: var( + --spectrum-heading-size-xs + ); + --spectrum-assetcard-content-font-size: var(--spectrum-body-size-s); + + --spectrum-tooltip-animation-distance: var(--spectrum-spacing-75); + + --spectrum-ui-icon-medium-display: block; + --spectrum-ui-icon-large-display: none; +} diff --git a/tools/styles/tokens/large-vars.css b/tools/styles/tokens/large-vars.css index 0c1703ea72..7b52485a2c 100644 --- a/tools/styles/tokens/large-vars.css +++ b/tools/styles/tokens/large-vars.css @@ -354,6 +354,7 @@ --spectrum-side-navigation-header-to-item: 10px; --spectrum-side-navigation-bottom-to-text: 10px; --spectrum-tray-top-to-content-area: 5px; + --spectrum-accordion-top-to-text-spacious-small: 12px; --spectrum-text-to-visual-50: 8px; --spectrum-text-to-visual-75: 9px; --spectrum-text-to-visual-100: 10px; diff --git a/tools/styles/tokens/medium-vars.css b/tools/styles/tokens/medium-vars.css index b01e2bc3e8..6a8961b90e 100644 --- a/tools/styles/tokens/medium-vars.css +++ b/tools/styles/tokens/medium-vars.css @@ -354,6 +354,7 @@ --spectrum-side-navigation-header-to-item: 8px; --spectrum-side-navigation-bottom-to-text: 8px; --spectrum-tray-top-to-content-area: 4px; + --spectrum-accordion-top-to-text-spacious-small: 9px; --spectrum-text-to-visual-50: 6px; --spectrum-text-to-visual-75: 7px; --spectrum-text-to-visual-100: 8px; diff --git a/tools/styles/tokens/spectrum/custom-dark-vars.css b/tools/styles/tokens/spectrum/custom-dark-vars.css index 3b5fe4f4c7..f20b8189ad 100644 --- a/tools/styles/tokens/spectrum/custom-dark-vars.css +++ b/tools/styles/tokens/spectrum/custom-dark-vars.css @@ -5,7 +5,7 @@ --spectrum-menu-item-background-color-default: rgba( var(--spectrum-menu-item-background-color-default-rgb), var(--spectrum-menu-item-background-color-default-opacity) - ); /* --spectrum-gray-900 */ + ); --spectrum-menu-item-background-color-hover: var( --spectrum-transparent-white-200 ); @@ -15,15 +15,8 @@ --spectrum-menu-item-background-color-key-focus: var( --spectrum-transparent-white-200 ); - - /* Drop Zone background color rgb */ - --spectrum-drop-zone-background-color-rgb: var( - --spectrum-blue-900-rgb - ); /* var(--spectrum-accent-color-900);*/ - - /* Drop Indicator color rgb */ + --spectrum-drop-zone-background-color-rgb: var(--spectrum-blue-900-rgb); --spectrum-dropindicator-color: var(--spectrum-blue-700); - --spectrum-calendar-day-background-color-selected: rgba( var(--spectrum-blue-800-rgb), 0.15 @@ -52,19 +45,14 @@ 0.07 ); --spectrum-calendar-day-border-color-key-focus: var(--spectrum-blue-700); - --spectrum-badge-label-icon-color-primary: var(--spectrum-black); - --spectrum-coach-indicator-ring-default-color: var(--spectrum-blue-700); --spectrum-coach-indicator-ring-dark-color: var(--spectrum-gray-900); --spectrum-coach-indicator-ring-light-color: var(--spectrum-gray-50); - --spectrum-well-border-color: rgba(var(--spectrum-white-rgb), 0.05); - --spectrum-steplist-current-marker-color-key-focus: var( --spectrum-blue-700 ); - --spectrum-treeview-item-background-color-quiet-selected: rgba( var(--spectrum-gray-900-rgb), 0.07 @@ -73,21 +61,18 @@ var(--spectrum-blue-800-rgb), 0.15 ); - --spectrum-logic-button-and-background-color: var(--spectrum-blue-800); --spectrum-logic-button-and-border-color: var(--spectrum-blue-800); --spectrum-logic-button-and-background-color-hover: var( --spectrum-blue-1000 ); --spectrum-logic-button-and-border-color-hover: var(--spectrum-blue-1000); - --spectrum-logic-button-or-background-color: var(--spectrum-magenta-700); --spectrum-logic-button-or-border-color: var(--spectrum-magenta-700); --spectrum-logic-button-or-background-color-hover: var( --spectrum-magenta-900 ); --spectrum-logic-button-or-border-color-hover: var(--spectrum-magenta-900); - --spectrum-assetcard-border-color-selected: var(--spectrum-blue-800); --spectrum-assetcard-border-color-selected-hover: var(--spectrum-blue-800); --spectrum-assetcard-border-color-selected-down: var(--spectrum-blue-900); @@ -95,7 +80,6 @@ --spectrum-blue-800 ); --spectrum-assestcard-focus-indicator-color: var(--spectrum-blue-700); - --spectrum-assetlist-item-background-color-selected-hover: rgba( var(--spectrum-blue-800-rgb), 0.25 diff --git a/tools/styles/tokens/spectrum/custom-darkest-vars.css b/tools/styles/tokens/spectrum/custom-darkest-vars.css index 9b137abd32..95cf0a5a21 100644 --- a/tools/styles/tokens/spectrum/custom-darkest-vars.css +++ b/tools/styles/tokens/spectrum/custom-darkest-vars.css @@ -5,7 +5,7 @@ --spectrum-menu-item-background-color-default: rgba( var(--spectrum-menu-item-background-color-default-rgb), var(--spectrum-menu-item-background-color-default-opacity) - ); /* --spectrum-gray-900 */ + ); --spectrum-menu-item-background-color-hover: var( --spectrum-transparent-white-200 ); @@ -15,15 +15,8 @@ --spectrum-menu-item-background-color-key-focus: var( --spectrum-transparent-white-200 ); - - /* Drop Zone background color rgb */ - --spectrum-drop-zone-background-color-rgb: var( - --spectrum-blue-900-rgb - ); /* var(--spectrum-accent-color-900);*/ - - /* Drop Indicator color rgb */ + --spectrum-drop-zone-background-color-rgb: var(--spectrum-blue-900-rgb); --spectrum-dropindicator-color: var(--spectrum-blue-700); - --spectrum-calendar-day-background-color-selected: rgba( var(--spectrum-blue-800-rgb), 0.2 @@ -53,19 +46,14 @@ 0.08 ); --spectrum-calendar-day-border-color-key-focus: var(--spectrum-blue-700); - --spectrum-badge-label-icon-color-primary: var(--spectrum-black); - --spectrum-coach-indicator-ring-default-color: var(--spectrum-blue-700); --spectrum-coach-indicator-ring-dark-color: var(--spectrum-gray-900); --spectrum-coach-indicator-ring-light-color: var(--spectrum-gray-50); - --spectrum-well-border-color: rgba(var(--spectrum-white-rgb), 0.05); - --spectrum-steplist-current-marker-color-key-focus: var( --spectrum-blue-700 ); - --spectrum-treeview-item-background-color-quiet-selected: rgba( var(--spectrum-gray-900-rgb), 0.08 @@ -74,21 +62,18 @@ var(--spectrum-blue-800-rgb), 0.2 ); - --spectrum-logic-button-and-background-color: var(--spectrum-blue-800); --spectrum-logic-button-and-border-color: var(--spectrum-blue-800); --spectrum-logic-button-and-background-color-hover: var( --spectrum-blue-1000 ); --spectrum-logic-button-and-border-color-hover: var(--spectrum-blue-1000); - --spectrum-logic-button-or-background-color: var(--spectrum-magenta-700); --spectrum-logic-button-or-border-color: var(--spectrum-magenta-700); --spectrum-logic-button-or-background-color-hover: var( --spectrum-magenta-900 ); --spectrum-logic-button-or-border-color-hover: var(--spectrum-magenta-900); - --spectrum-assetcard-border-color-selected: var(--spectrum-blue-800); --spectrum-assetcard-border-color-selected-hover: var(--spectrum-blue-800); --spectrum-assetcard-border-color-selected-down: var(--spectrum-blue-900); @@ -96,7 +81,6 @@ --spectrum-blue-800 ); --spectrum-assestcard-focus-indicator-color: var(--spectrum-blue-700); - --spectrum-assetlist-item-background-color-selected-hover: rgba( var(--spectrum-blue-800-rgb), 0.3 diff --git a/tools/styles/tokens/spectrum/custom-large-vars.css b/tools/styles/tokens/spectrum/custom-large-vars.css index b8cefc5400..b2b6c63ca3 100644 --- a/tools/styles/tokens/spectrum/custom-large-vars.css +++ b/tools/styles/tokens/spectrum/custom-large-vars.css @@ -58,8 +58,6 @@ --spectrum-well-margin-top: 5px; --spectrum-well-min-width: 300px; --spectrum-well-border-radius: 5px; - - /* XXL and XXS icon sizes are not within the design spec and are planned to be deprecated in Spectrum 2. */ --spectrum-workflow-icon-size-xxl: 40px; --spectrum-workflow-icon-size-xxs: 15px; diff --git a/tools/styles/tokens/spectrum/custom-light-vars.css b/tools/styles/tokens/spectrum/custom-light-vars.css index 05529d7727..53b88bd9b6 100644 --- a/tools/styles/tokens/spectrum/custom-light-vars.css +++ b/tools/styles/tokens/spectrum/custom-light-vars.css @@ -5,7 +5,7 @@ --spectrum-menu-item-background-color-default: rgba( var(--spectrum-menu-item-background-color-default-rgb), var(--spectrum-menu-item-background-color-default-opacity) - ); /* --spectrum-gray-900 */ + ); --spectrum-menu-item-background-color-hover: var( --spectrum-transparent-black-200 ); @@ -15,15 +15,8 @@ --spectrum-menu-item-background-color-key-focus: var( --spectrum-transparent-black-200 ); - - /* Drop Zone background color rgb */ - --spectrum-drop-zone-background-color-rgb: var( - --spectrum-blue-800-rgb - ); /* var(--spectrum-accent-color-800);*/ - - /* Drop Indicator color rgb */ + --spectrum-drop-zone-background-color-rgb: var(--spectrum-blue-800-rgb); --spectrum-dropindicator-color: var(--spectrum-blue-800); - --spectrum-calendar-day-background-color-selected: rgba( var(--spectrum-blue-900-rgb), 0.1 @@ -52,19 +45,14 @@ 0.06 ); --spectrum-calendar-day-border-color-key-focus: var(--spectrum-blue-800); - --spectrum-badge-label-icon-color-primary: var(--spectrum-white); - --spectrum-coach-indicator-ring-default-color: var(--spectrum-blue-800); --spectrum-coach-indicator-ring-dark-color: var(--spectrum-gray-900); --spectrum-coach-indicator-ring-light-color: var(--spectrum-gray-50); - --spectrum-well-border-color: var(--spectrum-black-rgb); - --spectrum-steplist-current-marker-color-key-focus: var( --spectrum-blue-800 ); - --spectrum-treeview-item-background-color-quiet-selected: rgba( var(--spectrum-gray-900-rgb), 0.06 @@ -73,21 +61,18 @@ var(--spectrum-blue-900-rgb), 0.1 ); - --spectrum-logic-button-and-background-color: var(--spectrum-blue-900); --spectrum-logic-button-and-border-color: var(--spectrum-blue-900); --spectrum-logic-button-and-background-color-hover: var( --spectrum-blue-1100 ); --spectrum-logic-button-and-border-color-hover: var(--spectrum-blue-1100); - --spectrum-logic-button-or-background-color: var(--spectrum-magenta-900); --spectrum-logic-button-or-border-color: var(--spectrum-magenta-900); --spectrum-logic-button-or-background-color-hover: var( --spectrum-magenta-1100 ); --spectrum-logic-button-or-border-color-hover: var(--spectrum-magenta-1100); - --spectrum-assetcard-border-color-selected: var(--spectrum-blue-900); --spectrum-assetcard-border-color-selected-hover: var(--spectrum-blue-900); --spectrum-assetcard-border-color-selected-down: var(--spectrum-blue-1000); @@ -95,7 +80,6 @@ --spectrum-blue-900 ); --spectrum-assestcard-focus-indicator-color: var(--spectrum-blue-800); - --spectrum-assetlist-item-background-color-selected-hover: rgba( var(--spectrum-blue-900-rgb), 0.2 diff --git a/tools/styles/tokens/spectrum/custom-medium-vars.css b/tools/styles/tokens/spectrum/custom-medium-vars.css index 382d05f8a0..4da4c86aef 100644 --- a/tools/styles/tokens/spectrum/custom-medium-vars.css +++ b/tools/styles/tokens/spectrum/custom-medium-vars.css @@ -57,8 +57,6 @@ --spectrum-well-margin-top: var(--spectrum-spacing-75); --spectrum-well-min-width: 240px; --spectrum-well-border-radius: var(--spectrum-spacing-75); - - /* XXL and XXS icon sizes are not within the design spec and are planned to be deprecated in Spectrum 2. */ --spectrum-workflow-icon-size-xxl: 32px; --spectrum-workflow-icon-size-xxs: 12px; diff --git a/tools/styles/tokens/spectrum/custom-vars.css b/tools/styles/tokens/spectrum/custom-vars.css index 95815f049c..228b94e430 100644 --- a/tools/styles/tokens/spectrum/custom-vars.css +++ b/tools/styles/tokens/spectrum/custom-vars.css @@ -36,13 +36,11 @@ --spectrum-cjk-font-family-stack: adobe-clean-han-japanese, var(--spectrum-cjk-font-family), sans-serif; --spectrum-cjk-font: var(--spectrum-code-font-family-stack); - - /* static white / black background color for docs containers */ --spectrum-docs-static-white-background-color-rgb: 15, 121, 125; --spectrum-docs-static-white-background-color: rgba( var(--spectrum-docs-static-white-background-color-rgb) ); - --spectrum-docs-static-black-background-color-rgb: 206, 247, 243; + --spectrum-docs-static-black-background-color-rgb: 181, 209, 211; --spectrum-docs-static-black-background-color: rgba( var(--spectrum-docs-static-black-background-color-rgb) ); diff --git a/tools/styles/tokens/spectrum/dark-vars.css b/tools/styles/tokens/spectrum/dark-vars.css new file mode 100644 index 0000000000..e7f6691893 --- /dev/null +++ b/tools/styles/tokens/spectrum/dark-vars.css @@ -0,0 +1,102 @@ +:host, +:root { + --spectrum-menu-item-background-color-default-rgb: 255, 255, 255; + --spectrum-menu-item-background-color-default-opacity: 0; + --spectrum-menu-item-background-color-default: rgba( + var(--spectrum-menu-item-background-color-default-rgb), + var(--spectrum-menu-item-background-color-default-opacity) + ); + --spectrum-menu-item-background-color-hover: var( + --spectrum-transparent-white-200 + ); + --spectrum-menu-item-background-color-down: var( + --spectrum-transparent-white-200 + ); + --spectrum-menu-item-background-color-key-focus: var( + --spectrum-transparent-white-200 + ); + --spectrum-drop-zone-background-color-rgb: var(--spectrum-blue-900-rgb); + --spectrum-dropindicator-color: var(--spectrum-blue-700); + + --spectrum-calendar-day-background-color-selected: rgba( + var(--spectrum-blue-800-rgb), + 0.15 + ); + --spectrum-calendar-day-background-color-hover: rgba( + var(--spectrum-white-rgb), + 0.07 + ); + --spectrum-calendar-day-today-background-color-selected-hover: rgba( + var(--spectrum-blue-800-rgb), + 0.25 + ); + --spectrum-calendar-day-background-color-selected-hover: rgba( + var(--spectrum-blue-800-rgb), + 0.25 + ); + --spectrum-calendar-day-background-color-down: var( + --spectrum-transparent-white-200 + ); + --spectrum-calendar-day-background-color-cap-selected: rgba( + var(--spectrum-blue-800-rgb), + 0.25 + ); + --spectrum-calendar-day-background-color-key-focus: rgba( + var(--spectrum-white-rgb), + 0.07 + ); + --spectrum-calendar-day-border-color-key-focus: var(--spectrum-blue-700); + + --spectrum-badge-label-icon-color-primary: var(--spectrum-black); + + --spectrum-coach-indicator-ring-default-color: var(--spectrum-blue-700); + --spectrum-coach-indicator-ring-dark-color: var(--spectrum-gray-900); + --spectrum-coach-indicator-ring-light-color: var(--spectrum-gray-50); + + --spectrum-well-border-color: rgba(var(--spectrum-white-rgb), 0.05); + + --spectrum-steplist-current-marker-color-key-focus: var( + --spectrum-blue-700 + ); + + --spectrum-treeview-item-background-color-quiet-selected: rgba( + var(--spectrum-gray-900-rgb), + 0.07 + ); + --spectrum-treeview-item-background-color-selected: rgba( + var(--spectrum-blue-800-rgb), + 0.15 + ); + + --spectrum-logic-button-and-background-color: var(--spectrum-blue-800); + --spectrum-logic-button-and-border-color: var(--spectrum-blue-800); + --spectrum-logic-button-and-background-color-hover: var( + --spectrum-blue-1000 + ); + --spectrum-logic-button-and-border-color-hover: var(--spectrum-blue-1000); + + --spectrum-logic-button-or-background-color: var(--spectrum-magenta-700); + --spectrum-logic-button-or-border-color: var(--spectrum-magenta-700); + --spectrum-logic-button-or-background-color-hover: var( + --spectrum-magenta-900 + ); + --spectrum-logic-button-or-border-color-hover: var(--spectrum-magenta-900); + + --spectrum-assetcard-border-color-selected: var(--spectrum-blue-800); + --spectrum-assetcard-border-color-selected-hover: var(--spectrum-blue-800); + --spectrum-assetcard-border-color-selected-down: var(--spectrum-blue-900); + --spectrum-assetcard-selectionindicator-background-color-ordered: var( + --spectrum-blue-800 + ); + --spectrum-assestcard-focus-indicator-color: var(--spectrum-blue-700); + + --spectrum-assetlist-item-background-color-selected-hover: rgba( + var(--spectrum-blue-800-rgb), + 0.25 + ); + --spectrum-assetlist-item-background-color-selected: rgba( + var(--spectrum-blue-800-rgb), + 0.15 + ); + --spectrum-assetlist-border-color-key-focus: var(--spectrum-blue-700); +} diff --git a/tools/styles/tokens/spectrum/darkest-vars.css b/tools/styles/tokens/spectrum/darkest-vars.css new file mode 100644 index 0000000000..22469fd947 --- /dev/null +++ b/tools/styles/tokens/spectrum/darkest-vars.css @@ -0,0 +1,103 @@ +:host, +:root { + --spectrum-menu-item-background-color-default-rgb: 255, 255, 255; + --spectrum-menu-item-background-color-default-opacity: 0; + --spectrum-menu-item-background-color-default: rgba( + var(--spectrum-menu-item-background-color-default-rgb), + var(--spectrum-menu-item-background-color-default-opacity) + ); + --spectrum-menu-item-background-color-hover: var( + --spectrum-transparent-white-200 + ); + --spectrum-menu-item-background-color-down: var( + --spectrum-transparent-white-200 + ); + --spectrum-menu-item-background-color-key-focus: var( + --spectrum-transparent-white-200 + ); + --spectrum-drop-zone-background-color-rgb: var(--spectrum-blue-900-rgb); + --spectrum-dropindicator-color: var(--spectrum-blue-700); + + --spectrum-calendar-day-background-color-selected: rgba( + var(--spectrum-blue-800-rgb), + 0.2 + ); + --spectrum-calendar-day-background-color-hover: rgba( + var(--spectrum-white-rgb), + 0.08 + ); + --spectrum-calendar-day-today-background-color-selected-hover: rgba( + var(--spectrum-blue-800-rgb), + 0.3 + ); + --spectrum-calendar-day-background-color-selected-hover: rgba( + var(--spectrum-blue-800-rgb), + 0.3 + ); + --spectrum-calendar-day-background-color-down: rgba( + var(--spectrum-white-rgb), + 0.15 + ); + --spectrum-calendar-day-background-color-cap-selected: rgba( + var(--spectrum-blue-800-rgb), + 0.3 + ); + --spectrum-calendar-day-background-color-key-focus: rgba( + var(--spectrum-white-rgb), + 0.08 + ); + --spectrum-calendar-day-border-color-key-focus: var(--spectrum-blue-700); + + --spectrum-badge-label-icon-color-primary: var(--spectrum-black); + + --spectrum-coach-indicator-ring-default-color: var(--spectrum-blue-700); + --spectrum-coach-indicator-ring-dark-color: var(--spectrum-gray-900); + --spectrum-coach-indicator-ring-light-color: var(--spectrum-gray-50); + + --spectrum-well-border-color: rgba(var(--spectrum-white-rgb), 0.05); + + --spectrum-steplist-current-marker-color-key-focus: var( + --spectrum-blue-700 + ); + + --spectrum-treeview-item-background-color-quiet-selected: rgba( + var(--spectrum-gray-900-rgb), + 0.08 + ); + --spectrum-treeview-item-background-color-selected: rgba( + var(--spectrum-blue-800-rgb), + 0.2 + ); + + --spectrum-logic-button-and-background-color: var(--spectrum-blue-800); + --spectrum-logic-button-and-border-color: var(--spectrum-blue-800); + --spectrum-logic-button-and-background-color-hover: var( + --spectrum-blue-1000 + ); + --spectrum-logic-button-and-border-color-hover: var(--spectrum-blue-1000); + + --spectrum-logic-button-or-background-color: var(--spectrum-magenta-700); + --spectrum-logic-button-or-border-color: var(--spectrum-magenta-700); + --spectrum-logic-button-or-background-color-hover: var( + --spectrum-magenta-900 + ); + --spectrum-logic-button-or-border-color-hover: var(--spectrum-magenta-900); + + --spectrum-assetcard-border-color-selected: var(--spectrum-blue-800); + --spectrum-assetcard-border-color-selected-hover: var(--spectrum-blue-800); + --spectrum-assetcard-border-color-selected-down: var(--spectrum-blue-900); + --spectrum-assetcard-selectionindicator-background-color-ordered: var( + --spectrum-blue-800 + ); + --spectrum-assestcard-focus-indicator-color: var(--spectrum-blue-700); + + --spectrum-assetlist-item-background-color-selected-hover: rgba( + var(--spectrum-blue-800-rgb), + 0.3 + ); + --spectrum-assetlist-item-background-color-selected: rgba( + var(--spectrum-blue-800-rgb), + 0.2 + ); + --spectrum-assetlist-border-color-key-focus: var(--spectrum-blue-700); +} diff --git a/tools/styles/tokens/spectrum/global-vars.css b/tools/styles/tokens/spectrum/global-vars.css index 1a4597b806..0f2af34c27 100644 --- a/tools/styles/tokens/spectrum/global-vars.css +++ b/tools/styles/tokens/spectrum/global-vars.css @@ -57,1364 +57,7288 @@ --spectrum-heading-serif-emphasized-font-weight: var( --spectrum-bold-font-weight ); + --system: spectrum; + --spectrum-animation-linear: cubic-bezier(0, 0, 1, 1); + --spectrum-animation-duration-0: 0ms; + --spectrum-animation-duration-100: 130ms; + --spectrum-animation-duration-200: 160ms; + --spectrum-animation-duration-300: 190ms; + --spectrum-animation-duration-400: 220ms; + --spectrum-animation-duration-500: 250ms; + --spectrum-animation-duration-600: 300ms; + --spectrum-animation-duration-700: 350ms; + --spectrum-animation-duration-800: 400ms; + --spectrum-animation-duration-900: 450ms; + --spectrum-animation-duration-1000: 500ms; + --spectrum-animation-duration-2000: 1000ms; + --spectrum-animation-duration-4000: 2000ms; + --spectrum-animation-duration-6000: 3000ms; + --spectrum-animation-ease-in-out: cubic-bezier(0.45, 0, 0.4, 1); + --spectrum-animation-ease-in: cubic-bezier(0.5, 0, 1, 1); + --spectrum-animation-ease-out: cubic-bezier(0, 0, 0.4, 1); + --spectrum-animation-ease-linear: cubic-bezier(0, 0, 1, 1); + + --spectrum-sans-font-family-stack: adobe-clean, + var(--spectrum-sans-serif-font-family), 'Source Sans Pro', -apple-system, + BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, 'Trebuchet MS', + 'Lucida Grande', sans-serif; + --spectrum-sans-serif-font: var(--spectrum-sans-font-family-stack); + + --spectrum-serif-font-family-stack: adobe-clean-serif, + var(--spectrum-serif-font-family), 'Source Serif Pro', Georgia, serif; + --spectrum-serif-font: var(--spectrum-serif-font-family-stack); + + --spectrum-code-font-family-stack: 'Source Code Pro', Monaco, monospace; + + --spectrum-cjk-font-family-stack: adobe-clean-han-japanese, + var(--spectrum-cjk-font-family), sans-serif; + --spectrum-cjk-font: var(--spectrum-code-font-family-stack); + --spectrum-docs-static-white-background-color-rgb: 15, 121, 125; + --spectrum-docs-static-white-background-color: rgba( + var(--spectrum-docs-static-white-background-color-rgb) + ); + --spectrum-docs-static-black-background-color-rgb: 181, 209, 211; + --spectrum-docs-static-black-background-color: rgba( + var(--spectrum-docs-static-black-background-color-rgb) + ); } :host, :root { - --system-spectrum-actionbutton-background-color-default: var( - --spectrum-gray-75 + --system-accordion-item-width: var(--spectrum-accordion-minimum-width); + --system-accordion-disclosure-indicator-to-text-space: var( + --spectrum-accordion-disclosure-indicator-to-text ); - --system-spectrum-actionbutton-background-color-hover: var( - --spectrum-gray-200 + --system-accordion-edge-to-disclosure-indicator-space: var( + --spectrum-accordion-edge-to-disclosure-indicator ); - --system-spectrum-actionbutton-background-color-down: var( - --spectrum-gray-300 + --system-accordion-edge-to-text-space: var( + --spectrum-accordion-edge-to-text ); - --system-spectrum-actionbutton-background-color-focus: var( - --spectrum-gray-200 + --system-accordion-focus-indicator-gap: var(--spectrum-focus-indicator-gap); + --system-accordion-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness ); - --system-spectrum-actionbutton-border-color-default: var( - --spectrum-gray-400 + --system-accordion-corner-radius: var(--spectrum-corner-radius-100); + --system-accordion-item-content-area-top-to-content: var( + --spectrum-accordion-content-area-top-to-content ); - --system-spectrum-actionbutton-border-color-hover: var(--spectrum-gray-500); - --system-spectrum-actionbutton-border-color-down: var(--spectrum-gray-600); - --system-spectrum-actionbutton-border-color-focus: var(--spectrum-gray-500); - --system-spectrum-actionbutton-background-color-disabled: transparent; - --system-spectrum-actionbutton-border-color-disabled: var( - --spectrum-disabled-border-color + --system-accordion-item-content-area-bottom-to-content: var( + --spectrum-accordion-content-area-bottom-to-content + ); + --system-accordion-item-header-font: var(--spectrum-sans-font-family-stack); + --system-accordion-item-header-font-weight: var( + --spectrum-bold-font-weight + ); + --system-accordion-item-header-font-style: var( + --spectrum-default-font-style + ); + --system-accordion-item-header-line-height: 1.25; + --system-accordion-item-content-font: var( + --spectrum-sans-font-family-stack + ); + --system-accordion-item-content-font-weight: var( + --spectrum-body-sans-serif-font-weight ); - --system-spectrum-actionbutton-content-color-disabled: var( + --system-accordion-item-content-font-style: var( + --spectrum-body-sans-serif-font-style + ); + --system-accordion-item-content-line-height: var( + --spectrum-line-height-100 + ); + --system-accordion-background-color-default: rgba( + var(--spectrum-gray-900-rgb), + var(--spectrum-background-opacity-default) + ); + --system-accordion-background-color-hover: rgba( + var(--spectrum-gray-900-rgb), + var(--spectrum-background-opacity-hover) + ); + --system-accordion-background-color-down: rgba( + var(--spectrum-gray-900-rgb), + var(--spectrum-background-opacity-down) + ); + --system-accordion-background-color-key-focus: rgba( + var(--spectrum-gray-900-rgb), + var(--spectrum-background-opacity-key-focus) + ); + --system-accordion-item-header-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-accordion-item-header-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-accordion-item-header-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-accordion-item-header-color-key-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-accordion-item-header-disabled-color: var( --spectrum-disabled-content-color ); - --system-spectrum-actionbutton-quiet-background-color-default: transparent; - --system-spectrum-actionbutton-quiet-background-color-hover: var( - --spectrum-gray-200 + --system-accordion-item-content-disabled-color: var( + --spectrum-disabled-content-color ); - --system-spectrum-actionbutton-quiet-background-color-down: var( - --spectrum-gray-300 + --system-accordion-item-content-color: var(--spectrum-body-color); + --system-accordion-focus-indicator-color: var( + --spectrum-focus-indicator-color ); - --system-spectrum-actionbutton-quiet-background-color-focus: var( - --spectrum-gray-200 + --system-accordion-divider-color: var(--spectrum-gray-300); + --system-accordion-item-header-line-height-cjk: var( + --spectrum-cjk-line-height-100 ); - --system-spectrum-actionbutton-quiet-border-color-default: transparent; - --system-spectrum-actionbutton-quiet-border-color-hover: transparent; - --system-spectrum-actionbutton-quiet-border-color-down: transparent; - --system-spectrum-actionbutton-quiet-border-color-focus: transparent; - --system-spectrum-actionbutton-quiet-background-color-disabled: transparent; - --system-spectrum-actionbutton-quiet-border-color-disabled: transparent; - --system-spectrum-actionbutton-selected-border-color-default: transparent; - --system-spectrum-actionbutton-selected-border-color-hover: transparent; - --system-spectrum-actionbutton-selected-border-color-down: transparent; - --system-spectrum-actionbutton-selected-border-color-focus: transparent; - --system-spectrum-actionbutton-selected-background-color-disabled: var( - --spectrum-disabled-background-color + --system-accordion-item-content-line-height-cjk: var( + --spectrum-cjk-line-height-100 ); - --system-spectrum-actionbutton-selected-border-color-disabled: transparent; - --system-spectrum-actionbutton-staticblack-quiet-border-color-default: transparent; - --system-spectrum-actionbutton-staticwhite-quiet-border-color-default: transparent; - --system-spectrum-actionbutton-staticblack-quiet-border-color-hover: transparent; - --system-spectrum-actionbutton-staticwhite-quiet-border-color-hover: transparent; - --system-spectrum-actionbutton-staticblack-quiet-border-color-down: transparent; - --system-spectrum-actionbutton-staticwhite-quiet-border-color-down: transparent; - --system-spectrum-actionbutton-staticblack-quiet-border-color-focus: transparent; - --system-spectrum-actionbutton-staticwhite-quiet-border-color-focus: transparent; - --system-spectrum-actionbutton-staticblack-quiet-border-color-disabled: transparent; - --system-spectrum-actionbutton-staticwhite-quiet-border-color-disabled: transparent; - --system-spectrum-actionbutton-staticblack-background-color-default: transparent; - --system-spectrum-actionbutton-staticblack-background-color-hover: var( - --spectrum-transparent-black-300 + --system-accordion-item-height: var(--spectrum-component-height-200); + --system-accordion-size-m-item-height: var(--spectrum-component-height-200); + --system-accordion-disclosure-indicator-height: var( + --spectrum-component-height-100 ); - --system-spectrum-actionbutton-staticblack-background-color-down: var( - --spectrum-transparent-black-400 + --system-accordion-size-m-disclosure-indicator-height: var( + --spectrum-component-height-100 ); - --system-spectrum-actionbutton-staticblack-background-color-focus: var( - --spectrum-transparent-black-300 + --system-accordion-component-edge-to-text: var( + --spectrum-component-edge-to-text-75 ); - --system-spectrum-actionbutton-staticblack-border-color-default: var( - --spectrum-transparent-black-400 + --system-accordion-size-m-component-edge-to-text: var( + --spectrum-component-edge-to-text-75 ); - --system-spectrum-actionbutton-staticblack-border-color-hover: var( - --spectrum-transparent-black-500 + --system-accordion-item-header-font-size: var(--spectrum-font-size-300); + --system-accordion-size-m-item-header-font-size: var( + --spectrum-font-size-300 ); - --system-spectrum-actionbutton-staticblack-border-color-down: var( - --spectrum-transparent-black-600 + --system-accordion-item-content-font-size: var(--spectrum-body-size-s); + --system-accordion-size-m-item-content-font-size: var( + --spectrum-body-size-s ); - --system-spectrum-actionbutton-staticblack-border-color-focus: var( - --spectrum-transparent-black-500 + --system-accordion-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-regular-medium ); - --system-spectrum-actionbutton-staticblack-content-color-default: var( - --spectrum-black + --system-accordion-size-m-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-regular-medium ); - --system-spectrum-actionbutton-staticblack-content-color-hover: var( - --spectrum-black + --system-accordion-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-regular-medium ); - --system-spectrum-actionbutton-staticblack-content-color-down: var( - --spectrum-black + --system-accordion-size-m-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-regular-medium ); - --system-spectrum-actionbutton-staticblack-content-color-focus: var( - --spectrum-black + --system-accordion-size-s-item-height: var(--spectrum-component-height-100); + --system-accordion-size-s-disclosure-indicator-height: var( + --spectrum-component-height-75 ); - --system-spectrum-actionbutton-staticblack-focus-indicator-color: var( - --spectrum-static-black-focus-indicator-color + --system-accordion-size-s-component-edge-to-text: var( + --spectrum-component-edge-to-text-50 ); - --system-spectrum-actionbutton-staticblack-background-color-disabled: transparent; - --system-spectrum-actionbutton-staticblack-border-color-disabled: var( - --spectrum-disabled-static-black-border-color + --system-accordion-size-s-item-header-font-size: var( + --spectrum-font-size-200 ); - --system-spectrum-actionbutton-staticblack-content-color-disabled: var( - --spectrum-disabled-static-black-content-color + --system-accordion-size-s-item-content-font-size: var( + --spectrum-body-size-xs ); - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-default: var( - --spectrum-transparent-black-800 + --system-accordion-size-s-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-regular-small ); - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-hover: var( - --spectrum-transparent-black-900 + --system-accordion-size-s-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-regular-small ); - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-down: var( - --spectrum-transparent-black-900 + --system-accordion-size-l-item-height: var(--spectrum-component-height-300); + --system-accordion-size-l-disclosure-indicator-height: var( + --spectrum-component-height-200 ); - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-focus: var( - --spectrum-transparent-black-900 + --system-accordion-size-l-component-edge-to-text: var( + --spectrum-component-edge-to-text-100 ); - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-content-color-default: var( - --spectrum-white + --system-accordion-size-l-item-header-font-size: var( + --spectrum-font-size-500 ); - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-content-color-hover: var( - --spectrum-white + --system-accordion-size-l-item-content-font-size: var( + --spectrum-body-size-m ); - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-content-color-down: var( - --spectrum-white + --system-accordion-size-l-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-regular-large ); - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-content-color-focus: var( - --spectrum-white + --system-accordion-size-l-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-regular-large ); - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-disabled: var( - --spectrum-disabled-static-black-background-color + --system-accordion-size-xl-item-height: var( + --spectrum-component-height-400 ); - --system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-border-color-disabled: transparent; - --system-spectrum-actionbutton-staticwhite-background-color-default: transparent; - --system-spectrum-actionbutton-staticwhite-background-color-hover: var( - --spectrum-transparent-white-300 + --system-accordion-size-xl-disclosure-indicator-height: var( + --spectrum-component-height-300 ); - --system-spectrum-actionbutton-staticwhite-background-color-down: var( - --spectrum-transparent-white-400 + --system-accordion-size-xl-component-edge-to-text: var( + --spectrum-component-edge-to-text-200 ); - --system-spectrum-actionbutton-staticwhite-background-color-focus: var( - --spectrum-transparent-white-300 + --system-accordion-size-xl-item-header-font-size: var( + --spectrum-font-size-700 ); - --system-spectrum-actionbutton-staticwhite-border-color-default: var( - --spectrum-transparent-white-400 + --system-accordion-size-xl-item-content-font-size: var( + --spectrum-body-size-l ); - --system-spectrum-actionbutton-staticwhite-border-color-hover: var( - --spectrum-transparent-white-500 + --system-accordion-size-xl-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-regular-extra-large ); - --system-spectrum-actionbutton-staticwhite-border-color-down: var( - --spectrum-transparent-white-600 + --system-accordion-size-xl-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-regular-extra-large ); - --system-spectrum-actionbutton-staticwhite-border-color-focus: var( - --spectrum-transparent-white-500 + --system-accordion-compact-size-s-item-height: var( + --spectrum-component-height-75 ); - --system-spectrum-actionbutton-staticwhite-content-color-default: var( - --spectrum-white + --system-accordion-compact-size-s-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-compact-small ); - --system-spectrum-actionbutton-staticwhite-content-color-hover: var( - --spectrum-white + --system-accordion-compact-size-s-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-compact-small ); - --system-spectrum-actionbutton-staticwhite-content-color-down: var( - --spectrum-white + --system-accordion-compact-item-height: var( + --spectrum-component-height-100 ); - --system-spectrum-actionbutton-staticwhite-content-color-focus: var( - --spectrum-white + --system-accordion-compact-size-m-item-height: var( + --spectrum-component-height-100 ); - --system-spectrum-actionbutton-staticwhite-focus-indicator-color: var( - --spectrum-static-white-focus-indicator-color + --system-accordion-compact-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-compact-medium ); - --system-spectrum-actionbutton-staticwhite-background-color-disabled: transparent; - --system-spectrum-actionbutton-staticwhite-border-color-disabled: var( - --spectrum-disabled-static-white-border-color + --system-accordion-compact-size-m-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-compact-medium ); - --system-spectrum-actionbutton-staticwhite-content-color-disabled: var( - --spectrum-disabled-static-white-content-color + --system-accordion-compact-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-compact-medium ); - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-default: var( - --spectrum-transparent-white-800 + --system-accordion-compact-size-m-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-compact-medium ); - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-hover: var( - --spectrum-transparent-white-900 + --system-accordion-compact-size-l-item-height: var( + --spectrum-component-height-200 ); - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-down: var( - --spectrum-transparent-white-900 + --system-accordion-compact-size-l-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-compact-large ); - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-focus: var( - --spectrum-transparent-white-900 + --system-accordion-compact-size-l-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-compact-large ); - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-content-color-default: var( - --spectrum-black + --system-accordion-compact-size-xl-item-height: var( + --spectrum-component-height-300 ); - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-content-color-hover: var( - --spectrum-black + --system-accordion-compact-size-xl-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-compact-extra-large ); - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-content-color-down: var( - --spectrum-black + --system-accordion-compact-size-xl-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-compact-extra-large ); - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-content-color-focus: var( - --spectrum-black + --system-accordion-spacious-size-s-item-header-line-height: 1.25; + --system-accordion-spacious-size-s-item-header-top-to-text-space: var( + --spectrum-accordion-small-top-to-text-spacious ); - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-disabled: var( - --spectrum-disabled-static-white-background-color + --system-accordion-spacious-size-s-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-spacious-small + ); + --system-accordion-spacious-item-header-line-height: 1.278; + --system-accordion-spacious-size-m-item-header-line-height: 1.278; + --system-accordion-spacious-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-spacious-medium + ); + --system-accordion-spacious-size-m-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-spacious-medium + ); + --system-accordion-spacious-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-spacious-medium + ); + --system-accordion-spacious-size-m-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-spacious-medium + ); + --system-accordion-spacious-size-l-item-header-line-height: 1.273; + --system-accordion-spacious-size-l-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-spacious-large + ); + --system-accordion-spacious-size-l-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-spacious-large + ); + --system-accordion-spacious-size-xl-item-header-line-height: 1.25; + --system-accordion-spacious-size-xl-item-header-top-to-text-space: var( + --spectrum-accordion-top-to-text-spacious-extra-large + ); + --system-accordion-spacious-size-xl-item-header-bottom-to-text-space: var( + --spectrum-accordion-bottom-to-text-spacious-extra-large ); - --system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-border-color-disabled: transparent; -} - -:host, -:root { - --system-spectrum-actiongroup-gap-size-compact: 0; - --system-spectrum-actiongroup-horizontal-spacing-compact: -1px; - --system-spectrum-actiongroup-vertical-spacing-compact: -1px; } :host, :root { - --system-spectrum-alertbanner-spectrum-alert-banner-netural-background: var( - --spectrum-neutral-subdued-background-color-default + --system-action-bar-height: var(--spectrum-action-bar-height); + --system-action-bar-corner-radius: var(--spectrum-corner-radius-100); + --system-action-bar-item-counter-font-size: var(--spectrum-font-size-100); + --system-action-bar-item-counter-line-height: var( + --spectrum-line-height-100 + ); + --system-action-bar-item-counter-color: var( + --spectrum-neutral-content-color-default ); + --system-action-bar-item-counter-line-height-cjk: var( + --spectrum-cjk-line-height-100 + ); + --system-action-bar-popover-background-color: var(--spectrum-gray-50); + --system-action-bar-popover-border-color: var(--spectrum-gray-400); + --system-action-bar-emphasized-background-color: var( + --spectrum-informative-background-color-default + ); + --system-action-bar-emphasized-item-counter-color: var(--spectrum-white); + --system-action-bar-spacing-outer-edge: var(--spectrum-spacing-300); + --system-action-bar-spacing-close-button-top: var(--spectrum-spacing-100); + --system-action-bar-spacing-close-button-start: var(--spectrum-spacing-100); + --system-action-bar-spacing-close-button-end: var(--spectrum-spacing-75); + --system-action-bar-spacing-item-counter-top: var( + --spectrum-action-bar-top-to-item-counter + ); + --system-action-bar-spacing-item-counter-end: var(--spectrum-spacing-400); + --system-action-bar-spacing-action-group-top: var(--spectrum-spacing-100); + --system-action-bar-spacing-action-group-end: var(--spectrum-spacing-100); + --system-action-bar-shadow-horizontal: var(--spectrum-drop-shadow-x); + --system-action-bar-shadow-vertical: var(--spectrum-drop-shadow-y); + --system-action-bar-shadow-blur: var(--spectrum-drop-shadow-blur); + --system-action-bar-shadow-color: var(--spectrum-drop-shadow-color); } :host, :root { - --system-spectrum-button-background-color-default: var(--spectrum-gray-75); - --system-spectrum-button-background-color-hover: var(--spectrum-gray-200); - --system-spectrum-button-background-color-down: var(--spectrum-gray-300); - --system-spectrum-button-background-color-focus: var(--spectrum-gray-200); - --system-spectrum-button-border-color-default: var(--spectrum-gray-400); - --system-spectrum-button-border-color-hover: var(--spectrum-gray-500); - --system-spectrum-button-border-color-down: var(--spectrum-gray-600); - --system-spectrum-button-border-color-focus: var(--spectrum-gray-500); - --system-spectrum-button-content-color-default: var( + --system-action-button-animation-duration: var( + --spectrum-animation-duration-100 + ); + --system-action-button-border-radius: var(--spectrum-corner-radius-100); + --system-action-button-border-width: var(--spectrum-border-width-100); + --system-action-button-content-color-default: var( --spectrum-neutral-content-color-default ); - --system-spectrum-button-content-color-hover: var( + --system-action-button-content-color-hover: var( --spectrum-neutral-content-color-hover ); - --system-spectrum-button-content-color-down: var( + --system-action-button-content-color-down: var( --spectrum-neutral-content-color-down ); - --system-spectrum-button-content-color-focus: var( + --system-action-button-content-color-focus: var( --spectrum-neutral-content-color-key-focus ); - --system-spectrum-button-background-color-disabled: transparent; - --system-spectrum-button-border-color-disabled: var( - --spectrum-disabled-border-color - ); - --system-spectrum-button-content-color-disabled: var( - --spectrum-disabled-content-color - ); - --system-spectrum-button-accent-background-color-default: var( - --spectrum-accent-background-color-default - ); - --system-spectrum-button-accent-background-color-hover: var( - --spectrum-accent-background-color-hover - ); - --system-spectrum-button-accent-background-color-down: var( - --spectrum-accent-background-color-down + --system-action-button-focus-indicator-gap: var( + --spectrum-focus-indicator-gap ); - --system-spectrum-button-accent-background-color-focus: var( - --spectrum-accent-background-color-key-focus + --system-action-button-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness ); - --system-spectrum-button-accent-border-color-default: transparent; - --system-spectrum-button-accent-border-color-hover: transparent; - --system-spectrum-button-accent-border-color-down: transparent; - --system-spectrum-button-accent-border-color-focus: transparent; - --system-spectrum-button-accent-content-color-default: var( - --spectrum-white + --system-action-button-focus-indicator-color: var( + --spectrum-focus-indicator-color ); - --system-spectrum-button-accent-content-color-hover: var(--spectrum-white); - --system-spectrum-button-accent-content-color-down: var(--spectrum-white); - --system-spectrum-button-accent-content-color-focus: var(--spectrum-white); - --system-spectrum-button-accent-background-color-disabled: var( - --spectrum-disabled-background-color + --system-action-button-background-color-default: var(--spectrum-gray-75); + --system-action-button-background-color-hover: var(--spectrum-gray-200); + --system-action-button-background-color-down: var(--spectrum-gray-300); + --system-action-button-background-color-focus: var(--spectrum-gray-200); + --system-action-button-border-color-default: var(--spectrum-gray-400); + --system-action-button-border-color-hover: var(--spectrum-gray-500); + --system-action-button-border-color-down: var(--spectrum-gray-600); + --system-action-button-border-color-focus: var(--spectrum-gray-500); + --system-action-button-background-color-disabled: transparent; + --system-action-button-border-color-disabled: var( + --spectrum-disabled-border-color ); - --system-spectrum-button-accent-border-color-disabled: transparent; - --system-spectrum-button-accent-content-color-disabled: var( + --system-action-button-content-color-disabled: var( --spectrum-disabled-content-color ); - --system-spectrum-button-accent-outline-background-color-default: transparent; - --system-spectrum-button-accent-outline-background-color-hover: var( - --spectrum-accent-color-200 + --system-action-button-min-width: calc( + var(--spectrum-component-edge-to-visual-only-100) * 2 + + var(--spectrum-workflow-icon-size-100) ); - --system-spectrum-button-accent-outline-background-color-down: var( - --spectrum-accent-color-300 + --system-action-button-height: var(--spectrum-component-height-100); + --system-action-button-icon-size: var(--spectrum-workflow-icon-size-100); + --system-action-button-font-size: var(--spectrum-font-size-100); + --system-action-button-text-to-visual: var(--spectrum-text-to-visual-100); + --system-action-button-edge-to-hold-icon: var( + --spectrum-action-button-edge-to-hold-icon-medium ); - --system-spectrum-button-accent-outline-background-color-focus: var( - --spectrum-accent-color-200 + --system-action-button-quiet-background-color-default: transparent; + --system-action-button-quiet-background-color-hover: var( + --spectrum-gray-200 ); - --system-spectrum-button-accent-outline-border-color-default: var( - --spectrum-accent-color-900 + --system-action-button-quiet-background-color-down: var( + --spectrum-gray-300 ); - --system-spectrum-button-accent-outline-border-color-hover: var( - --spectrum-accent-color-1000 + --system-action-button-quiet-background-color-focus: var( + --spectrum-gray-200 ); - --system-spectrum-button-accent-outline-border-color-down: var( - --spectrum-accent-color-1100 + --system-action-button-quiet-background-color-disabled: transparent; + --system-action-button-quiet-border-color-default: transparent; + --system-action-button-quiet-border-color-hover: transparent; + --system-action-button-quiet-border-color-down: transparent; + --system-action-button-quiet-border-color-focus: transparent; + --system-action-button-quiet-border-color-disabled: transparent; + --system-action-button-selected-background-color-default: var( + --spectrum-neutral-background-color-selected-default ); - --system-spectrum-button-accent-outline-border-color-focus: var( - --spectrum-accent-color-1000 + --system-action-button-selected-background-color-hover: var( + --spectrum-neutral-background-color-selected-hover ); - --system-spectrum-button-accent-outline-content-color-default: var( - --spectrum-accent-content-color-default + --system-action-button-selected-background-color-down: var( + --spectrum-neutral-background-color-selected-down ); - --system-spectrum-button-accent-outline-content-color-hover: var( - --spectrum-accent-content-color-hover + --system-action-button-selected-background-color-focus: var( + --spectrum-neutral-background-color-selected-key-focus ); - --system-spectrum-button-accent-outline-content-color-down: var( - --spectrum-accent-content-color-down + --system-action-button-selected-content-color-default: var( + --spectrum-gray-50 ); - --system-spectrum-button-accent-outline-content-color-focus: var( - --spectrum-accent-content-color-key-focus + --system-action-button-selected-content-color-hover: var( + --spectrum-gray-50 ); - --system-spectrum-button-accent-outline-background-color-disabled: transparent; - --system-spectrum-button-accent-outline-border-color-disabled: var( - --spectrum-disabled-border-color + --system-action-button-selected-content-color-down: var(--spectrum-gray-50); + --system-action-button-selected-content-color-focus: var( + --spectrum-gray-50 ); - --system-spectrum-button-accent-outline-content-color-disabled: var( - --spectrum-disabled-content-color + --system-action-button-selected-border-color-default: transparent; + --system-action-button-selected-border-color-hover: transparent; + --system-action-button-selected-border-color-down: transparent; + --system-action-button-selected-border-color-focus: transparent; + --system-action-button-selected-border-color-disabled: transparent; + --system-action-button-selected-background-color-disabled: var( + --spectrum-disabled-background-color ); - --system-spectrum-button-negative-background-color-default: var( - --spectrum-negative-background-color-default + --system-action-button-selected-emphasized-background-color-default: var( + --spectrum-accent-background-color-default ); - --system-spectrum-button-negative-background-color-hover: var( - --spectrum-negative-background-color-hover + --system-action-button-selected-emphasized-background-color-hover: var( + --spectrum-accent-background-color-hover ); - --system-spectrum-button-negative-background-color-down: var( - --spectrum-negative-background-color-down + --system-action-button-selected-emphasized-background-color-down: var( + --spectrum-accent-background-color-down ); - --system-spectrum-button-negative-background-color-focus: var( - --spectrum-negative-background-color-key-focus + --system-action-button-selected-emphasized-background-color-focus: var( + --spectrum-accent-background-color-key-focus ); - --system-spectrum-button-negative-border-color-default: transparent; - --system-spectrum-button-negative-border-color-hover: transparent; - --system-spectrum-button-negative-border-color-down: transparent; - --system-spectrum-button-negative-border-color-focus: transparent; - --system-spectrum-button-negative-content-color-default: var( + --system-action-button-selected-emphasized-content-color-default: var( --spectrum-white ); - --system-spectrum-button-negative-content-color-hover: var( + --system-action-button-selected-emphasized-content-color-hover: var( --spectrum-white ); - --system-spectrum-button-negative-content-color-down: var(--spectrum-white); - --system-spectrum-button-negative-content-color-focus: var( + --system-action-button-selected-emphasized-content-color-down: var( --spectrum-white ); - --system-spectrum-button-negative-background-color-disabled: var( - --spectrum-disabled-background-color + --system-action-button-selected-emphasized-content-color-focus: var( + --spectrum-white ); - --system-spectrum-button-negative-border-color-disabled: transparent; - --system-spectrum-button-negative-content-color-disabled: var( - --spectrum-disabled-content-color + --system-action-button-static-black-quiet-border-color-default: transparent; + --system-action-button-static-white-quiet-border-color-default: transparent; + --system-action-button-static-black-quiet-border-color-hover: transparent; + --system-action-button-static-white-quiet-border-color-hover: transparent; + --system-action-button-static-black-quiet-border-color-down: transparent; + --system-action-button-static-white-quiet-border-color-down: transparent; + --system-action-button-static-black-quiet-border-color-focus: transparent; + --system-action-button-static-white-quiet-border-color-focus: transparent; + --system-action-button-static-black-quiet-border-color-disabled: transparent; + --system-action-button-static-white-quiet-border-color-disabled: transparent; + --system-action-button-static-black-background-color-default: transparent; + --system-action-button-static-black-background-color-hover: var( + --spectrum-transparent-black-300 ); - --system-spectrum-button-negative-outline-background-color-default: transparent; - --system-spectrum-button-negative-outline-background-color-hover: var( - --spectrum-negative-color-200 + --system-action-button-static-black-background-color-down: var( + --spectrum-transparent-black-400 ); - --system-spectrum-button-negative-outline-background-color-down: var( - --spectrum-negative-color-300 + --system-action-button-static-black-background-color-focus: var( + --spectrum-transparent-black-300 ); - --system-spectrum-button-negative-outline-background-color-focus: var( - --spectrum-negative-color-200 + --system-action-button-static-black-background-color-disabled: transparent; + --system-action-button-static-black-border-color-default: var( + --spectrum-transparent-black-400 ); - --system-spectrum-button-negative-outline-border-color-default: var( - --spectrum-negative-color-900 + --system-action-button-static-black-border-color-hover: var( + --spectrum-transparent-black-500 ); - --system-spectrum-button-negative-outline-border-color-hover: var( - --spectrum-negative-color-1000 + --system-action-button-static-black-border-color-down: var( + --spectrum-transparent-black-600 ); - --system-spectrum-button-negative-outline-border-color-down: var( - --spectrum-negative-color-1100 + --system-action-button-static-black-border-color-focus: var( + --spectrum-transparent-black-500 ); - --system-spectrum-button-negative-outline-border-color-focus: var( - --spectrum-negative-color-1000 + --system-action-button-static-black-border-color-disabled: var( + --spectrum-disabled-static-black-border-color ); - --system-spectrum-button-negative-outline-content-color-default: var( - --spectrum-negative-content-color-default + --system-action-button-static-black-content-color-default: var( + --spectrum-black ); - --system-spectrum-button-negative-outline-content-color-hover: var( - --spectrum-negative-content-color-hover + --system-action-button-static-black-content-color-hover: var( + --spectrum-black ); - --system-spectrum-button-negative-outline-content-color-down: var( - --spectrum-negative-content-color-down + --system-action-button-static-black-content-color-down: var( + --spectrum-black ); - --system-spectrum-button-negative-outline-content-color-focus: var( - --spectrum-negative-content-color-key-focus + --system-action-button-static-black-content-color-focus: var( + --spectrum-black ); - --system-spectrum-button-negative-outline-background-color-disabled: transparent; - --system-spectrum-button-negative-outline-border-color-disabled: var( - --spectrum-disabled-border-color + --system-action-button-static-black-content-color-disabled: var( + --spectrum-disabled-static-black-content-color ); - --system-spectrum-button-negative-outline-content-color-disabled: var( - --spectrum-disabled-content-color + --system-action-button-static-black-focus-indicator-color: var( + --spectrum-static-black-focus-indicator-color ); - --system-spectrum-button-primary-background-color-default: var( - --spectrum-neutral-background-color-default + --system-action-button-static-black-selected-background-color-default: var( + --spectrum-transparent-black-800 ); - --system-spectrum-button-primary-background-color-hover: var( - --spectrum-neutral-background-color-hover + --system-action-button-static-black-selected-background-color-hover: var( + --spectrum-transparent-black-900 ); - --system-spectrum-button-primary-background-color-down: var( - --spectrum-neutral-background-color-down + --system-action-button-static-black-selected-background-color-down: var( + --spectrum-transparent-black-900 ); - --system-spectrum-button-primary-background-color-focus: var( - --spectrum-neutral-background-color-key-focus + --system-action-button-static-black-selected-background-color-focus: var( + --spectrum-transparent-black-900 + ); + --system-action-button-static-black-selected-background-color-disabled: var( + --spectrum-transparent-black-200 ); - --system-spectrum-button-primary-border-color-default: transparent; - --system-spectrum-button-primary-border-color-hover: transparent; - --system-spectrum-button-primary-border-color-down: transparent; - --system-spectrum-button-primary-border-color-focus: transparent; - --system-spectrum-button-primary-content-color-default: var( + --system-action-button-static-black-selected-border-color-disabled: transparent; + --system-action-button-static-black-selected-content-color-default: var( --spectrum-white ); - --system-spectrum-button-primary-content-color-hover: var(--spectrum-white); - --system-spectrum-button-primary-content-color-down: var(--spectrum-white); - --system-spectrum-button-primary-content-color-focus: var(--spectrum-white); - --system-spectrum-button-primary-background-color-disabled: var( - --spectrum-disabled-background-color + --system-action-button-static-black-selected-content-color-hover: var( + --spectrum-white ); - --system-spectrum-button-primary-border-color-disabled: transparent; - --system-spectrum-button-primary-content-color-disabled: var( - --spectrum-disabled-content-color + --system-action-button-static-black-selected-content-color-down: var( + --spectrum-white ); - --system-spectrum-button-primary-outline-background-color-default: transparent; - --system-spectrum-button-primary-outline-background-color-hover: var( - --spectrum-gray-300 + --system-action-button-static-black-selected-content-color-focus: var( + --spectrum-white ); - --system-spectrum-button-primary-outline-background-color-down: var( - --spectrum-gray-400 + --system-action-button-static-black-selected-emphasized-background-color-default: var( + --spectrum-transparent-black-900 ); - --system-spectrum-button-primary-outline-background-color-focus: var( - --spectrum-gray-300 + --system-action-button-static-black-selected-emphasized-background-color-hover: var( + --spectrum-transparent-black-1000 ); - --system-spectrum-button-primary-outline-border-color-default: var( - --spectrum-gray-800 + --system-action-button-static-black-selected-emphasized-background-color-down: var( + --spectrum-transparent-black-1000 + ); + --system-action-button-static-black-selected-emphasized-background-color-focus: var( + --spectrum-transparent-black-1000 ); - --system-spectrum-button-primary-outline-border-color-hover: var( + --system-action-button-static-black-selected-emphasized-content-color-default: var( + --spectrum-gray-50 + ); + --system-action-button-static-black-selected-emphasized-content-color-hover: var( --spectrum-gray-900 ); - --system-spectrum-button-primary-outline-border-color-down: var( + --system-action-button-static-black-selected-emphasized-content-color-down: var( --spectrum-gray-900 ); - --system-spectrum-button-primary-outline-border-color-focus: var( + --system-action-button-static-black-selected-emphasized-content-color-focus: var( --spectrum-gray-900 ); - --system-spectrum-button-primary-outline-content-color-default: var( - --spectrum-neutral-content-color-default + --system-action-button-static-white-background-color-default: transparent; + --system-action-button-static-white-background-color-hover: var( + --spectrum-transparent-white-300 ); - --system-spectrum-button-primary-outline-content-color-hover: var( - --spectrum-neutral-content-color-hover + --system-action-button-static-white-background-color-down: var( + --spectrum-transparent-white-400 ); - --system-spectrum-button-primary-outline-content-color-down: var( - --spectrum-neutral-content-color-down + --system-action-button-static-white-background-color-focus: var( + --spectrum-transparent-white-300 ); - --system-spectrum-button-primary-outline-content-color-focus: var( - --spectrum-neutral-content-color-key-focus + --system-action-button-static-white-background-color-disabled: transparent; + --system-action-button-static-white-border-color-default: var( + --spectrum-transparent-white-400 ); - --system-spectrum-button-primary-outline-background-color-disabled: transparent; - --system-spectrum-button-primary-outline-border-color-disabled: var( - --spectrum-disabled-border-color + --system-action-button-static-white-border-color-hover: var( + --spectrum-transparent-white-500 ); - --system-spectrum-button-primary-outline-content-color-disabled: var( - --spectrum-disabled-content-color + --system-action-button-static-white-border-color-down: var( + --spectrum-transparent-white-600 ); - --system-spectrum-button-secondary-background-color-default: var( - --spectrum-gray-200 + --system-action-button-static-white-border-color-focus: var( + --spectrum-transparent-white-500 ); - --system-spectrum-button-secondary-background-color-hover: var( - --spectrum-gray-300 + --system-action-button-static-white-border-color-disabled: var( + --spectrum-disabled-static-white-border-color ); - --system-spectrum-button-secondary-background-color-down: var( - --spectrum-gray-400 + --system-action-button-static-white-content-color-default: var( + --spectrum-white ); - --system-spectrum-button-secondary-background-color-focus: var( - --spectrum-gray-300 + --system-action-button-static-white-content-color-hover: var( + --spectrum-white ); - --system-spectrum-button-secondary-border-color-default: transparent; - --system-spectrum-button-secondary-border-color-hover: transparent; - --system-spectrum-button-secondary-border-color-down: transparent; - --system-spectrum-button-secondary-border-color-focus: transparent; - --system-spectrum-button-secondary-content-color-default: var( - --spectrum-neutral-content-color-default + --system-action-button-static-white-content-color-down: var( + --spectrum-white ); - --system-spectrum-button-secondary-content-color-hover: var( - --spectrum-neutral-content-color-hover + --system-action-button-static-white-content-color-focus: var( + --spectrum-white ); - --system-spectrum-button-secondary-content-color-down: var( - --spectrum-neutral-content-color-down + --system-action-button-static-white-content-color-disabled: var( + --spectrum-disabled-static-white-content-color ); - --system-spectrum-button-secondary-content-color-focus: var( - --spectrum-neutral-content-color-key-focus + --system-action-button-static-white-focus-indicator-color: var( + --spectrum-static-white-focus-indicator-color ); - --system-spectrum-button-secondary-background-color-disabled: var( - --spectrum-disabled-background-color + --system-action-button-static-white-selected-background-color-default: var( + --spectrum-transparent-white-800 ); - --system-spectrum-button-secondary-border-color-disabled: transparent; - --system-spectrum-button-secondary-content-color-disabled: var( - --spectrum-disabled-content-color + --system-action-button-static-white-selected-background-color-hover: var( + --spectrum-transparent-white-900 ); - --system-spectrum-button-secondary-outline-background-color-default: transparent; - --system-spectrum-button-secondary-outline-background-color-hover: var( - --spectrum-gray-300 + --system-action-button-static-white-selected-background-color-down: var( + --spectrum-transparent-white-900 ); - --system-spectrum-button-secondary-outline-background-color-down: var( - --spectrum-gray-400 + --system-action-button-static-white-selected-background-color-focus: var( + --spectrum-transparent-white-900 ); - --system-spectrum-button-secondary-outline-background-color-focus: var( - --spectrum-gray-300 + --system-action-button-static-white-selected-background-color-disabled: var( + --spectrum-transparent-white-200 ); - --system-spectrum-button-secondary-outline-border-color-default: var( - --spectrum-gray-300 + --system-action-button-static-white-selected-border-color-disabled: transparent; + --system-action-button-static-white-selected-content-color-default: var( + --spectrum-black ); - --system-spectrum-button-secondary-outline-border-color-hover: var( - --spectrum-gray-400 + --system-action-button-static-white-selected-content-color-hover: var( + --spectrum-black ); - --system-spectrum-button-secondary-outline-border-color-down: var( - --spectrum-gray-500 + --system-action-button-static-white-selected-content-color-down: var( + --spectrum-black ); - --system-spectrum-button-secondary-outline-border-color-focus: var( - --spectrum-gray-400 + --system-action-button-static-white-selected-content-color-focus: var( + --spectrum-black ); - --system-spectrum-button-secondary-outline-content-color-default: var( - --spectrum-neutral-content-color-default + --system-action-button-static-white-selected-emphasized-background-color-default: var( + --spectrum-transparent-white-900 ); - --system-spectrum-button-secondary-outline-content-color-hover: var( - --spectrum-neutral-content-color-hover + --system-action-button-static-white-selected-emphasized-background-color-hover: var( + --spectrum-transparent-white-1000 ); - --system-spectrum-button-secondary-outline-content-color-down: var( - --spectrum-neutral-content-color-down + --system-action-button-static-white-selected-emphasized-background-color-down: var( + --spectrum-transparent-white-1000 ); - --system-spectrum-button-secondary-outline-content-color-focus: var( - --spectrum-neutral-content-color-key-focus + --system-action-button-static-white-selected-emphasized-background-color-focus: var( + --spectrum-transparent-white-1000 ); - --system-spectrum-button-secondary-outline-background-color-disabled: transparent; - --system-spectrum-button-secondary-outline-border-color-disabled: var( - --spectrum-disabled-border-color + --system-action-button-static-white-selected-emphasized-content-color-default: var( + --spectrum-gray-50 ); - --system-spectrum-button-secondary-outline-content-color-disabled: var( - --spectrum-disabled-content-color + --system-action-button-size-m-min-width: calc( + var(--spectrum-component-edge-to-visual-only-100) * 2 + + var(--spectrum-workflow-icon-size-100) ); - --system-spectrum-button-quiet-background-color-default: transparent; - --system-spectrum-button-quiet-background-color-hover: var( - --spectrum-gray-200 + --system-action-button-size-m-height: var(--spectrum-component-height-100); + --system-action-button-size-m-icon-size: var( + --spectrum-workflow-icon-size-100 ); - --system-spectrum-button-quiet-background-color-down: var( - --spectrum-gray-300 + --system-action-button-size-m-font-size: var(--spectrum-font-size-100); + --system-action-button-size-m-text-to-visual: var( + --spectrum-text-to-visual-100 ); - --system-spectrum-button-quiet-background-color-focus: var( - --spectrum-gray-200 + --system-action-button-size-m-edge-to-hold-icon: var( + --spectrum-action-button-edge-to-hold-icon-medium ); - --system-spectrum-button-quiet-border-color-default: transparent; - --system-spectrum-button-quiet-border-color-hover: transparent; - --system-spectrum-button-quiet-border-color-down: transparent; - --system-spectrum-button-quiet-border-color-focus: transparent; - --system-spectrum-button-quiet-background-color-disabled: transparent; - --system-spectrum-button-quiet-border-color-disabled: transparent; - --system-spectrum-button-selected-background-color-default: var( - --spectrum-neutral-subdued-background-color-default + --system-action-button-edge-to-visual-size: var( + --spectrum-component-edge-to-visual-100 ); - --system-spectrum-button-selected-background-color-hover: var( - --spectrum-neutral-subdued-background-color-hover + --system-action-button-size-m-edge-to-visual-size: var( + --spectrum-component-edge-to-visual-100 ); - --system-spectrum-button-selected-background-color-down: var( - --spectrum-neutral-subdued-background-color-down + --system-action-button-edge-to-visual-only-size: var( + --spectrum-component-edge-to-visual-only-100 ); - --system-spectrum-button-selected-background-color-focus: var( - --spectrum-neutral-subdued-background-color-key-focus + --system-action-button-size-m-edge-to-visual-only-size: var( + --spectrum-component-edge-to-visual-only-100 ); - --system-spectrum-button-selected-border-color-default: transparent; - --system-spectrum-button-selected-border-color-hover: transparent; - --system-spectrum-button-selected-border-color-down: transparent; - --system-spectrum-button-selected-border-color-focus: transparent; - --system-spectrum-button-selected-content-color-default: var( - --spectrum-white + --system-action-button-edge-to-text-size: var( + --spectrum-component-edge-to-text-100 + ); + --system-action-button-size-m-edge-to-text-size: var( + --spectrum-component-edge-to-text-100 + ); + --system-action-button-size-xs-min-width: calc( + var(--spectrum-component-edge-to-visual-only-50) * 2 + + var(--spectrum-workflow-icon-size-50) + ); + --system-action-button-size-xs-height: var(--spectrum-component-height-50); + --system-action-button-size-xs-icon-size: var( + --spectrum-workflow-icon-size-50 + ); + --system-action-button-size-xs-font-size: var(--spectrum-font-size-50); + --system-action-button-size-xs-text-to-visual: var( + --spectrum-text-to-visual-50 + ); + --system-action-button-size-xs-edge-to-hold-icon: var( + --spectrum-action-button-edge-to-hold-icon-extra-small + ); + --system-action-button-size-xs-edge-to-visual-size: var( + --spectrum-component-edge-to-visual-50 + ); + --system-action-button-size-xs-edge-to-visual-only-size: var( + --spectrum-component-edge-to-visual-only-50 + ); + --system-action-button-size-xs-edge-to-text-size: var( + --spectrum-component-edge-to-text-50 + ); + --system-action-button-size-s-min-width: calc( + var(--spectrum-component-edge-to-visual-only-75) * 2 + + var(--spectrum-workflow-icon-size-75) + ); + --system-action-button-size-s-height: var(--spectrum-component-height-75); + --system-action-button-size-s-icon-size: var( + --spectrum-workflow-icon-size-75 + ); + --system-action-button-size-s-font-size: var(--spectrum-font-size-75); + --system-action-button-size-s-text-to-visual: var( + --spectrum-text-to-visual-75 + ); + --system-action-button-size-s-edge-to-hold-icon: var( + --spectrum-action-button-edge-to-hold-icon-small + ); + --system-action-button-size-s-edge-to-visual-size: var( + --spectrum-component-edge-to-visual-75 + ); + --system-action-button-size-s-edge-to-visual-only-size: var( + --spectrum-component-edge-to-visual-only-75 + ); + --system-action-button-size-s-edge-to-text-size: var( + --spectrum-component-edge-to-text-75 + ); + --system-action-button-size-l-min-width: calc( + var(--spectrum-component-edge-to-visual-only-200) * 2 + + var(--spectrum-workflow-icon-size-200) + ); + --system-action-button-size-l-height: var(--spectrum-component-height-200); + --system-action-button-size-l-icon-size: var( + --spectrum-workflow-icon-size-200 + ); + --system-action-button-size-l-font-size: var(--spectrum-font-size-200); + --system-action-button-size-l-text-to-visual: var( + --spectrum-text-to-visual-200 + ); + --system-action-button-size-l-edge-to-hold-icon: var( + --spectrum-action-button-edge-to-hold-icon-large + ); + --system-action-button-size-l-edge-to-visual-size: var( + --spectrum-component-edge-to-visual-200 + ); + --system-action-button-size-l-edge-to-visual-only-size: var( + --spectrum-component-edge-to-visual-only-200 + ); + --system-action-button-size-l-edge-to-text-size: var( + --spectrum-component-edge-to-text-200 + ); + --system-action-button-size-xl-min-width: calc( + var(--spectrum-component-edge-to-visual-only-300) * 2 + + var(--spectrum-workflow-icon-size-300) + ); + --system-action-button-size-xl-height: var(--spectrum-component-height-300); + --system-action-button-size-xl-icon-size: var( + --spectrum-workflow-icon-size-300 + ); + --system-action-button-size-xl-font-size: var(--spectrum-font-size-300); + --system-action-button-size-xl-text-to-visual: var( + --spectrum-text-to-visual-300 + ); + --system-action-button-size-xl-edge-to-hold-icon: var( + --spectrum-action-button-edge-to-hold-icon-extra-large + ); + --system-action-button-size-xl-edge-to-visual-size: var( + --spectrum-component-edge-to-visual-300 + ); + --system-action-button-size-xl-edge-to-visual-only-size: var( + --spectrum-component-edge-to-visual-only-300 + ); + --system-action-button-size-xl-edge-to-text-size: var( + --spectrum-component-edge-to-text-300 + ); +} + +:host, +:root { + --system-action-group-gap-size-compact: 0; + --system-action-group-horizontal-spacing-compact: -1px; + --system-action-group-vertical-spacing-compact: -1px; + --system-action-group-button-spacing-reset: 0; + --system-action-group-border-radius-reset: 0; + --system-action-group-border-radius: var(--spectrum-corner-radius-100); + --system-action-group-horizontal-spacing-regular: var( + --spectrum-spacing-100 + ); + --system-action-group-size-m-horizontal-spacing-regular: var( + --spectrum-spacing-100 + ); + --system-action-group-size-l-horizontal-spacing-regular: var( + --spectrum-spacing-100 + ); + --system-action-group-size-xl-horizontal-spacing-regular: var( + --spectrum-spacing-100 + ); + --system-action-group-vertical-spacing-regular: var(--spectrum-spacing-100); + --system-action-group-size-m-vertical-spacing-regular: var( + --spectrum-spacing-100 + ); + --system-action-group-size-l-vertical-spacing-regular: var( + --spectrum-spacing-100 + ); + --system-action-group-size-xl-vertical-spacing-regular: var( + --spectrum-spacing-100 + ); + --system-action-group-size-xs-horizontal-spacing-regular: var( + --spectrum-spacing-75 + ); + --system-action-group-size-s-horizontal-spacing-regular: var( + --spectrum-spacing-75 + ); + --system-action-group-size-xs-vertical-spacing-regular: var( + --spectrum-spacing-75 + ); + --system-action-group-size-s-vertical-spacing-regular: var( + --spectrum-spacing-75 + ); +} + +:host, +:root { + --system-alert-banner-neutral-background: var( + --spectrum-neutral-subdued-background-color-default + ); + --system-alert-banner-min-height: var( + --spectrum-alert-banner-minimum-height + ); + --system-alert-banner-max-inline-size: var(--spectrum-alert-banner-width); + --system-alert-banner-size: auto; + --system-alert-banner-font-size: var(--spectrum-font-size-100); + --system-alert-banner-icon-size: var(--spectrum-workflow-icon-size-100); + --system-alert-banner-icon-to-text: var(--spectrum-text-to-visual-300); + --system-alert-banner-start-edge: var(--spectrum-spacing-300); + --system-alert-banner-text-to-button-horizontal: var( + --spectrum-spacing-300 + ); + --system-alert-banner-text-to-divider: var(--spectrum-spacing-300); + --system-alert-banner-top-icon: var( + --spectrum-alert-banner-top-to-workflow-icon + ); + --system-alert-banner-top-text: var(--spectrum-alert-banner-top-to-text); + --system-alert-banner-bottom-text: var( + --spectrum-alert-banner-bottom-to-text + ); + --system-alert-banner-informative-background: var( + --spectrum-informative-background-color-default + ); + --system-alert-banner-negative-background: var( + --spectrum-negative-background-color-default + ); + --system-alert-banner-font-color: var(--spectrum-white); +} + +:host, +:root { + --system-alert-dialog-min-width: var(--spectrum-alert-dialog-minimum-width); + --system-alert-dialog-max-width: var(--spectrum-alert-dialog-maximum-width); + --system-alert-dialog-icon-size: var(--spectrum-workflow-icon-size-100); + --system-alert-dialog-warning-icon-color: var( + --spectrum-notice-visual-color + ); + --system-alert-dialog-error-icon-color: var( + --spectrum-negative-visual-color + ); + --system-alert-dialog-title-font-family: var( + --spectrum-sans-font-family-stack + ); + --system-alert-dialog-title-font-weight: var( + --spectrum-heading-sans-serif-font-weight + ); + --system-alert-dialog-title-font-style: var( + --spectrum-heading-sans-serif-font-style + ); + --system-alert-dialog-title-font-size: var( + --spectrum-alert-dialog-title-size + ); + --system-alert-dialog-title-line-height: var( + --spectrum-heading-line-height + ); + --system-alert-dialog-title-color: var(--spectrum-heading-color); + --system-alert-dialog-body-font-family: var( + --spectrum-sans-font-family-stack + ); + --system-alert-dialog-body-font-weight: var( + --spectrum-body-sans-serif-font-weight + ); + --system-alert-dialog-body-font-style: var( + --spectrum-body-sans-serif-font-style + ); + --system-alert-dialog-body-font-size: var( + --spectrum-alert-dialog-description-size + ); + --system-alert-dialog-body-line-height: var(--spectrum-line-height-100); + --system-alert-dialog-body-color: var(--spectrum-body-color); + --system-alert-dialog-title-to-divider: var(--spectrum-spacing-200); + --system-alert-dialog-divider-to-description: var(--spectrum-spacing-300); + --system-alert-dialog-title-to-icon: var(--spectrum-spacing-300); +} + +:host, +:root { + --system-asset-transition-duration: var(--spectrum-animation-duration-100); + --system-asset-folder-background-color: var(--spectrum-gray-300); + --system-asset-file-background-color: var(--spectrum-gray-50); + --system-asset-icon-outline-color: var(--spectrum-gray-500); +} + +:host, +:root { + --system-avatar-color-opacity: 1; + --system-avatar-inline-size: var(--spectrum-avatar-size-100); + --system-avatar-block-size: var(--spectrum-avatar-size-100); + --system-avatar-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-avatar-focus-indicator-gap: var(--spectrum-focus-indicator-gap); + --system-avatar-focus-indicator-color: var( + --spectrum-focus-indicator-color + ); + --system-avatar-color-opacity-disabled: var( + --spectrum-avatar-opacity-disabled + ); + --system-avatar-size-50-inline-size: var(--spectrum-avatar-size-50); + --system-avatar-size-50-block-size: var(--spectrum-avatar-size-50); + --system-avatar-size-75-inline-size: var(--spectrum-avatar-size-75); + --system-avatar-size-75-block-size: var(--spectrum-avatar-size-75); + --system-avatar-size-100-inline-size: var(--spectrum-avatar-size-100); + --system-avatar-size-100-block-size: var(--spectrum-avatar-size-100); + --system-avatar-size-200-inline-size: var(--spectrum-avatar-size-200); + --system-avatar-size-200-block-size: var(--spectrum-avatar-size-200); + --system-avatar-size-300-inline-size: var(--spectrum-avatar-size-300); + --system-avatar-size-300-block-size: var(--spectrum-avatar-size-300); + --system-avatar-size-400-inline-size: var(--spectrum-avatar-size-400); + --system-avatar-size-400-block-size: var(--spectrum-avatar-size-400); + --system-avatar-size-500-inline-size: var(--spectrum-avatar-size-500); + --system-avatar-size-500-block-size: var(--spectrum-avatar-size-500); + --system-avatar-size-600-inline-size: var(--spectrum-avatar-size-600); + --system-avatar-size-600-block-size: var(--spectrum-avatar-size-600); + --system-avatar-size-700-inline-size: var(--spectrum-avatar-size-700); + --system-avatar-size-700-block-size: var(--spectrum-avatar-size-700); +} + +:host, +:root { + --system-badge-corner-radius: var(--spectrum-corner-radius-100); + --system-badge-line-height: var(--spectrum-line-height-100); + --system-badge-line-height-cjk: var(--spectrum-cjk-line-height-100); + --system-badge-label-icon-color: var(--spectrum-white); + --system-badge-background-color-default: var( + --spectrum-neutral-subdued-background-color-default + ); + --system-badge-background-color-accent: var( + --spectrum-accent-background-color-default + ); + --system-badge-background-color-informative: var( + --spectrum-informative-background-color-default + ); + --system-badge-background-color-negative: var( + --spectrum-negative-background-color-default + ); + --system-badge-background-color-positive: var( + --spectrum-positive-background-color-default + ); + --system-badge-background-color-notice: var( + --spectrum-notice-background-color-default + ); + --system-badge-background-color-gray: var( + --spectrum-gray-background-color-default + ); + --system-badge-background-color-red: var( + --spectrum-red-background-color-default + ); + --system-badge-background-color-orange: var( + --spectrum-orange-background-color-default + ); + --system-badge-background-color-yellow: var( + --spectrum-yellow-background-color-default + ); + --system-badge-background-color-chartreuse: var( + --spectrum-chartreuse-background-color-default + ); + --system-badge-background-color-celery: var( + --spectrum-celery-background-color-default + ); + --system-badge-background-color-green: var( + --spectrum-green-background-color-default + ); + --system-badge-background-color-seafoam: var( + --spectrum-seafoam-background-color-default + ); + --system-badge-background-color-cyan: var( + --spectrum-cyan-background-color-default + ); + --system-badge-background-color-blue: var( + --spectrum-blue-background-color-default + ); + --system-badge-background-color-indigo: var( + --spectrum-indigo-background-color-default + ); + --system-badge-background-color-purple: var( + --spectrum-purple-background-color-default + ); + --system-badge-background-color-fuchsia: var( + --spectrum-fuchsia-background-color-default + ); + --system-badge-background-color-magenta: var( + --spectrum-magenta-background-color-default + ); + --system-badge-height: var(--spectrum-component-height-100); + --system-badge-font-size: var(--spectrum-font-size-100); + --system-badge-label-spacing-vertical-top: var( + --spectrum-component-top-to-text-100 + ); + --system-badge-label-spacing-vertical-bottom: var( + --spectrum-component-bottom-to-text-100 + ); + --system-badge-label-spacing-horizontal: var( + --spectrum-component-edge-to-text-100 + ); + --system-badge-workflow-icon-size: var(--spectrum-workflow-icon-size-100); + --system-badge-icon-text-spacing: var(--spectrum-text-to-visual-100); + --system-badge-icon-spacing-horizontal: var( + --spectrum-component-edge-to-visual-100 + ); + --system-badge-icon-spacing-vertical-top: var( + --spectrum-component-top-to-workflow-icon-100 + ); + --system-badge-icon-only-spacing-horizontal: var( + --spectrum-component-edge-to-visual-only-100 + ); + --system-badge-orange-label-icon-color: var(--spectrum-black); + --system-badge-yellow-label-icon-color: var(--spectrum-black); + --system-badge-chartreuse-label-icon-color: var(--spectrum-black); + --system-badge-celery-label-icon-color: var(--spectrum-black); + --system-badge-gray-label-icon-color: var( + --spectrum-badge-label-icon-color-primary + ); + --system-badge-red-label-icon-color: var( + --spectrum-badge-label-icon-color-primary + ); + --system-badge-green-label-icon-color: var( + --spectrum-badge-label-icon-color-primary + ); + --system-badge-seafoam-label-icon-color: var( + --spectrum-badge-label-icon-color-primary + ); + --system-badge-cyan-label-icon-color: var( + --spectrum-badge-label-icon-color-primary + ); + --system-badge-blue-label-icon-color: var( + --spectrum-badge-label-icon-color-primary + ); + --system-badge-indigo-label-icon-color: var( + --spectrum-badge-label-icon-color-primary + ); + --system-badge-purple-label-icon-color: var( + --spectrum-badge-label-icon-color-primary + ); + --system-badge-fuchsia-label-icon-color: var( + --spectrum-badge-label-icon-color-primary + ); + --system-badge-magenta-label-icon-color: var( + --spectrum-badge-label-icon-color-primary + ); + --system-badge-size-s-height: var(--spectrum-component-height-75); + --system-badge-size-s-font-size: var(--spectrum-font-size-75); + --system-badge-size-s-label-spacing-vertical-top: var( + --spectrum-component-top-to-text-75 + ); + --system-badge-size-s-label-spacing-vertical-bottom: var( + --spectrum-component-bottom-to-text-75 + ); + --system-badge-size-s-label-spacing-horizontal: var( + --spectrum-component-edge-to-text-75 + ); + --system-badge-size-s-workflow-icon-size: var( + --spectrum-workflow-icon-size-75 + ); + --system-badge-size-s-icon-text-spacing: var(--spectrum-text-to-visual-75); + --system-badge-size-s-icon-spacing-horizontal: var( + --spectrum-component-edge-to-visual-75 + ); + --system-badge-size-s-icon-spacing-vertical-top: var( + --spectrum-component-top-to-workflow-icon-75 + ); + --system-badge-size-s-icon-only-spacing-horizontal: var( + --spectrum-component-edge-to-visual-only-75 + ); + --system-badge-size-l-height: var(--spectrum-component-height-100); + --system-badge-size-l-font-size: var(--spectrum-font-size-200); + --system-badge-size-l-label-spacing-vertical-top: var( + --spectrum-component-top-to-text-200 + ); + --system-badge-size-l-label-spacing-vertical-bottom: var( + --spectrum-component-bottom-to-text-200 + ); + --system-badge-size-l-label-spacing-horizontal: var( + --spectrum-component-edge-to-text-200 + ); + --system-badge-size-l-workflow-icon-size: var( + --spectrum-workflow-icon-size-200 + ); + --system-badge-size-l-icon-text-spacing: var(--spectrum-text-to-visual-200); + --system-badge-size-l-icon-spacing-horizontal: var( + --spectrum-component-edge-to-visual-200 + ); + --system-badge-size-l-icon-spacing-vertical-top: var( + --spectrum-component-top-to-workflow-icon-200 + ); + --system-badge-size-l-icon-only-spacing-horizontal: var( + --spectrum-component-edge-to-visual-only-200 + ); + --system-badge-size-xl-height: var(--spectrum-component-height-100); + --system-badge-size-xl-font-size: var(--spectrum-font-size-300); + --system-badge-size-xl-label-spacing-vertical-top: var( + --spectrum-component-top-to-text-300 + ); + --system-badge-size-xl-label-spacing-vertical-bottom: var( + --spectrum-component-bottom-to-text-300 + ); + --system-badge-size-xl-label-spacing-horizontal: var( + --spectrum-component-edge-to-text-300 + ); + --system-badge-size-xl-workflow-icon-size: var( + --spectrum-workflow-icon-size-300 + ); + --system-badge-size-xl-icon-text-spacing: var( + --spectrum-text-to-visual-300 + ); + --system-badge-size-xl-icon-spacing-horizontal: var( + --spectrum-component-edge-to-visual-300 + ); + --system-badge-size-xl-icon-spacing-vertical-top: var( + --spectrum-component-top-to-workflow-icon-300 + ); + --system-badge-size-xl-icon-only-spacing-horizontal: var( + --spectrum-component-edge-to-visual-only-300 + ); +} + +:host, +:root { + --system-button-animation-duration: var(--spectrum-animation-duration-100); + --system-button-border-width: var(--spectrum-border-width-200); + --system-button-line-height: 1.2; + --system-button-focus-ring-gap: var(--spectrum-focus-indicator-gap); + --system-button-focus-ring-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-button-focus-indicator-color: var( + --spectrum-focus-indicator-color + ); + --system-button-background-color-default: var(--spectrum-gray-75); + --system-button-background-color-hover: var(--spectrum-gray-200); + --system-button-background-color-down: var(--spectrum-gray-300); + --system-button-background-color-focus: var(--spectrum-gray-200); + --system-button-border-color-default: var(--spectrum-gray-400); + --system-button-border-color-hover: var(--spectrum-gray-500); + --system-button-border-color-down: var(--spectrum-gray-600); + --system-button-border-color-focus: var(--spectrum-gray-500); + --system-button-content-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-button-content-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-button-content-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-button-content-color-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-button-background-color-disabled: transparent; + --system-button-border-color-disabled: var( + --spectrum-disabled-border-color + ); + --system-button-content-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-button-accent-background-color-default: var( + --spectrum-accent-background-color-default + ); + --system-button-accent-background-color-hover: var( + --spectrum-accent-background-color-hover + ); + --system-button-accent-background-color-down: var( + --spectrum-accent-background-color-down + ); + --system-button-accent-background-color-focus: var( + --spectrum-accent-background-color-key-focus + ); + --system-button-accent-border-color-default: transparent; + --system-button-accent-border-color-hover: transparent; + --system-button-accent-border-color-down: transparent; + --system-button-accent-border-color-focus: transparent; + --system-button-accent-content-color-default: var(--spectrum-white); + --system-button-accent-content-color-hover: var(--spectrum-white); + --system-button-accent-content-color-down: var(--spectrum-white); + --system-button-accent-content-color-focus: var(--spectrum-white); + --system-button-accent-background-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-button-accent-border-color-disabled: transparent; + --system-button-accent-content-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-button-accent-outline-background-color-default: transparent; + --system-button-accent-outline-background-color-hover: var( + --spectrum-accent-color-200 + ); + --system-button-accent-outline-background-color-down: var( + --spectrum-accent-color-300 + ); + --system-button-accent-outline-background-color-focus: var( + --spectrum-accent-color-200 + ); + --system-button-accent-outline-border-color-default: var( + --spectrum-accent-color-900 + ); + --system-button-accent-outline-border-color-hover: var( + --spectrum-accent-color-1000 + ); + --system-button-accent-outline-border-color-down: var( + --spectrum-accent-color-1100 + ); + --system-button-accent-outline-border-color-focus: var( + --spectrum-accent-color-1000 + ); + --system-button-accent-outline-content-color-default: var( + --spectrum-accent-content-color-default + ); + --system-button-accent-outline-content-color-hover: var( + --spectrum-accent-content-color-hover + ); + --system-button-accent-outline-content-color-down: var( + --spectrum-accent-content-color-down + ); + --system-button-accent-outline-content-color-focus: var( + --spectrum-accent-content-color-key-focus + ); + --system-button-accent-outline-background-color-disabled: transparent; + --system-button-accent-outline-border-color-disabled: var( + --spectrum-disabled-border-color + ); + --system-button-accent-outline-content-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-button-negative-background-color-default: var( + --spectrum-negative-background-color-default + ); + --system-button-negative-background-color-hover: var( + --spectrum-negative-background-color-hover + ); + --system-button-negative-background-color-down: var( + --spectrum-negative-background-color-down + ); + --system-button-negative-background-color-focus: var( + --spectrum-negative-background-color-key-focus + ); + --system-button-negative-border-color-default: transparent; + --system-button-negative-border-color-hover: transparent; + --system-button-negative-border-color-down: transparent; + --system-button-negative-border-color-focus: transparent; + --system-button-negative-content-color-default: var(--spectrum-white); + --system-button-negative-content-color-hover: var(--spectrum-white); + --system-button-negative-content-color-down: var(--spectrum-white); + --system-button-negative-content-color-focus: var(--spectrum-white); + --system-button-negative-background-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-button-negative-border-color-disabled: transparent; + --system-button-negative-content-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-button-negative-outline-background-color-default: transparent; + --system-button-negative-outline-background-color-hover: var( + --spectrum-negative-color-200 + ); + --system-button-negative-outline-background-color-down: var( + --spectrum-negative-color-300 + ); + --system-button-negative-outline-background-color-focus: var( + --spectrum-negative-color-200 + ); + --system-button-negative-outline-border-color-default: var( + --spectrum-negative-color-900 + ); + --system-button-negative-outline-border-color-hover: var( + --spectrum-negative-color-1000 + ); + --system-button-negative-outline-border-color-down: var( + --spectrum-negative-color-1100 + ); + --system-button-negative-outline-border-color-focus: var( + --spectrum-negative-color-1000 + ); + --system-button-negative-outline-content-color-default: var( + --spectrum-negative-content-color-default + ); + --system-button-negative-outline-content-color-hover: var( + --spectrum-negative-content-color-hover + ); + --system-button-negative-outline-content-color-down: var( + --spectrum-negative-content-color-down + ); + --system-button-negative-outline-content-color-focus: var( + --spectrum-negative-content-color-key-focus + ); + --system-button-negative-outline-background-color-disabled: transparent; + --system-button-negative-outline-border-color-disabled: var( + --spectrum-disabled-border-color + ); + --system-button-negative-outline-content-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-button-primary-background-color-default: var( + --spectrum-neutral-background-color-default + ); + --system-button-primary-background-color-hover: var( + --spectrum-neutral-background-color-hover + ); + --system-button-primary-background-color-down: var( + --spectrum-neutral-background-color-down + ); + --system-button-primary-background-color-focus: var( + --spectrum-neutral-background-color-key-focus + ); + --system-button-primary-border-color-default: transparent; + --system-button-primary-border-color-hover: transparent; + --system-button-primary-border-color-down: transparent; + --system-button-primary-border-color-focus: transparent; + --system-button-primary-content-color-default: var(--spectrum-white); + --system-button-primary-content-color-hover: var(--spectrum-white); + --system-button-primary-content-color-down: var(--spectrum-white); + --system-button-primary-content-color-focus: var(--spectrum-white); + --system-button-primary-background-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-button-primary-border-color-disabled: transparent; + --system-button-primary-content-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-button-primary-outline-background-color-default: transparent; + --system-button-primary-outline-background-color-hover: var( + --spectrum-gray-300 + ); + --system-button-primary-outline-background-color-down: var( + --spectrum-gray-400 + ); + --system-button-primary-outline-background-color-focus: var( + --spectrum-gray-300 + ); + --system-button-primary-outline-border-color-default: var( + --spectrum-gray-800 + ); + --system-button-primary-outline-border-color-hover: var( + --spectrum-gray-900 + ); + --system-button-primary-outline-border-color-down: var(--spectrum-gray-900); + --system-button-primary-outline-border-color-focus: var( + --spectrum-gray-900 + ); + --system-button-primary-outline-content-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-button-primary-outline-content-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-button-primary-outline-content-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-button-primary-outline-content-color-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-button-primary-outline-background-color-disabled: transparent; + --system-button-primary-outline-border-color-disabled: var( + --spectrum-disabled-border-color + ); + --system-button-primary-outline-content-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-button-secondary-background-color-default: var( + --spectrum-gray-200 + ); + --system-button-secondary-background-color-hover: var(--spectrum-gray-300); + --system-button-secondary-background-color-down: var(--spectrum-gray-400); + --system-button-secondary-background-color-focus: var(--spectrum-gray-300); + --system-button-secondary-border-color-default: transparent; + --system-button-secondary-border-color-hover: transparent; + --system-button-secondary-border-color-down: transparent; + --system-button-secondary-border-color-focus: transparent; + --system-button-secondary-content-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-button-secondary-content-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-button-secondary-content-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-button-secondary-content-color-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-button-secondary-background-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-button-secondary-border-color-disabled: transparent; + --system-button-secondary-content-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-button-secondary-outline-background-color-default: transparent; + --system-button-secondary-outline-background-color-hover: var( + --spectrum-gray-300 + ); + --system-button-secondary-outline-background-color-down: var( + --spectrum-gray-400 + ); + --system-button-secondary-outline-background-color-focus: var( + --spectrum-gray-300 + ); + --system-button-secondary-outline-border-color-default: var( + --spectrum-gray-300 + ); + --system-button-secondary-outline-border-color-hover: var( + --spectrum-gray-400 + ); + --system-button-secondary-outline-border-color-down: var( + --spectrum-gray-500 + ); + --system-button-secondary-outline-border-color-focus: var( + --spectrum-gray-400 + ); + --system-button-secondary-outline-content-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-button-secondary-outline-content-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-button-secondary-outline-content-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-button-secondary-outline-content-color-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-button-secondary-outline-background-color-disabled: transparent; + --system-button-secondary-outline-border-color-disabled: var( + --spectrum-disabled-border-color + ); + --system-button-secondary-outline-content-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-button-quiet-background-color-default: transparent; + --system-button-quiet-background-color-hover: var(--spectrum-gray-100); + --system-button-quiet-background-color-down: var(--spectrum-gray-200); + --system-button-quiet-background-color-focus: var(--spectrum-gray-100); + --system-button-quiet-border-color-default: transparent; + --system-button-quiet-border-color-hover: transparent; + --system-button-quiet-border-color-down: transparent; + --system-button-quiet-border-color-focus: transparent; + --system-button-quiet-background-color-disabled: transparent; + --system-button-quiet-border-color-disabled: transparent; + --system-button-selected-background-color-default: var( + --spectrum-neutral-subdued-background-color-default + ); + --system-button-selected-background-color-hover: var( + --spectrum-neutral-subdued-background-color-hover + ); + --system-button-selected-background-color-down: var( + --spectrum-neutral-subdued-background-color-down + ); + --system-button-selected-background-color-focus: var( + --spectrum-neutral-subdued-background-color-key-focus + ); + --system-button-selected-border-color-default: transparent; + --system-button-selected-border-color-hover: transparent; + --system-button-selected-border-color-down: transparent; + --system-button-selected-border-color-focus: transparent; + --system-button-selected-content-color-default: var(--spectrum-white); + --system-button-selected-content-color-hover: var(--spectrum-white); + --system-button-selected-content-color-down: var(--spectrum-white); + --system-button-selected-content-color-focus: var(--spectrum-white); + --system-button-selected-background-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-button-selected-border-color-disabled: transparent; + --system-button-selected-emphasized-background-color-default: var( + --spectrum-accent-background-color-default + ); + --system-button-selected-emphasized-background-color-hover: var( + --spectrum-accent-background-color-hover + ); + --system-button-selected-emphasized-background-color-down: var( + --spectrum-accent-background-color-down + ); + --system-button-selected-emphasized-background-color-focus: var( + --spectrum-accent-background-color-key-focus + ); + --system-button-static-black-quiet-border-color-default: transparent; + --system-button-static-white-quiet-border-color-default: transparent; + --system-button-static-black-quiet-border-color-hover: transparent; + --system-button-static-white-quiet-border-color-hover: transparent; + --system-button-static-black-quiet-border-color-down: transparent; + --system-button-static-white-quiet-border-color-down: transparent; + --system-button-static-black-quiet-border-color-focus: transparent; + --system-button-static-white-quiet-border-color-focus: transparent; + --system-button-static-black-quiet-border-color-disabled: transparent; + --system-button-static-white-quiet-border-color-disabled: transparent; + --system-button-static-white-background-color-default: var( + --spectrum-transparent-white-800 + ); + --system-button-static-white-background-color-hover: var( + --spectrum-transparent-white-900 + ); + --system-button-static-white-background-color-down: var( + --spectrum-transparent-white-900 + ); + --system-button-static-white-background-color-focus: var( + --spectrum-transparent-white-900 + ); + --system-button-static-white-border-color-default: transparent; + --system-button-static-white-border-color-hover: transparent; + --system-button-static-white-border-color-down: transparent; + --system-button-static-white-border-color-focus: transparent; + --system-button-static-white-content-color-default: var(--spectrum-black); + --system-button-static-white-content-color-hover: var(--spectrum-black); + --system-button-static-white-content-color-down: var(--spectrum-black); + --system-button-static-white-content-color-focus: var(--spectrum-black); + --system-button-static-white-focus-indicator-color: var( + --spectrum-static-white-focus-indicator-color + ); + --system-button-static-white-background-color-disabled: var( + --spectrum-disabled-static-white-background-color + ); + --system-button-static-white-border-color-disabled: transparent; + --system-button-static-white-content-color-disabled: var( + --spectrum-disabled-static-white-content-color + ); + --system-button-static-white-outline-background-color-default: transparent; + --system-button-static-white-outline-background-color-hover: var( + --spectrum-transparent-white-300 + ); + --system-button-static-white-outline-background-color-down: var( + --spectrum-transparent-white-400 + ); + --system-button-static-white-outline-background-color-focus: var( + --spectrum-transparent-white-300 + ); + --system-button-static-white-outline-border-color-default: var( + --spectrum-transparent-white-800 + ); + --system-button-static-white-outline-border-color-hover: var( + --spectrum-transparent-white-900 + ); + --system-button-static-white-outline-border-color-down: var( + --spectrum-transparent-white-900 + ); + --system-button-static-white-outline-border-color-focus: var( + --spectrum-transparent-white-900 + ); + --system-button-static-white-outline-content-color-default: var( + --spectrum-white + ); + --system-button-static-white-outline-content-color-hover: var( + --spectrum-white + ); + --system-button-static-white-outline-content-color-down: var( + --spectrum-white + ); + --system-button-static-white-outline-content-color-focus: var( + --spectrum-white + ); + --system-button-static-white-outline-focus-indicator-color: var( + --spectrum-static-white-focus-indicator-color + ); + --system-button-static-white-outline-background-color-disabled: transparent; + --system-button-static-white-outline-border-color-disabled: var( + --spectrum-disabled-static-white-border-color + ); + --system-button-static-white-outline-content-color-disabled: var( + --spectrum-disabled-static-white-content-color + ); + --system-button-static-white-selected-background-color-default: var( + --spectrum-transparent-white-800 + ); + --system-button-static-white-selected-background-color-hover: var( + --spectrum-transparent-white-900 + ); + --system-button-static-white-selected-background-color-down: var( + --spectrum-transparent-white-900 + ); + --system-button-static-white-selected-background-color-focus: var( + --spectrum-transparent-white-900 + ); + --system-button-static-white-selected-static-white-content-color-default: var( + --spectrum-black + ); + --system-button-static-white-selected-static-white-content-color-hover: var( + --spectrum-black + ); + --system-button-static-white-selected-static-white-content-color-down: var( + --spectrum-black + ); + --system-button-static-white-selected-static-white-content-color-focus: var( + --spectrum-black + ); + --system-button-static-white-selected-background-color-disabled: var( + --spectrum-disabled-static-white-background-color + ); + --system-button-static-white-selected-border-color-disabled: transparent; + --system-button-static-white-secondary-background-color-default: var( + --spectrum-transparent-white-200 + ); + --system-button-static-white-secondary-background-color-hover: var( + --spectrum-transparent-white-300 + ); + --system-button-static-white-secondary-background-color-down: var( + --spectrum-transparent-white-400 + ); + --system-button-static-white-secondary-background-color-focus: var( + --spectrum-transparent-white-300 + ); + --system-button-static-white-secondary-border-color-default: transparent; + --system-button-static-white-secondary-border-color-hover: transparent; + --system-button-static-white-secondary-border-color-down: transparent; + --system-button-static-white-secondary-border-color-focus: transparent; + --system-button-static-white-secondary-content-color-default: var( + --spectrum-white + ); + --system-button-static-white-secondary-content-color-hover: var( + --spectrum-white + ); + --system-button-static-white-secondary-content-color-down: var( + --spectrum-white + ); + --system-button-static-white-secondary-content-color-focus: var( + --spectrum-white + ); + --system-button-static-white-secondary-focus-indicator-color: var( + --spectrum-static-white-focus-indicator-color + ); + --system-button-static-white-secondary-background-color-disabled: var( + --spectrum-disabled-static-white-background-color + ); + --system-button-static-white-secondary-border-color-disabled: transparent; + --system-button-static-white-secondary-content-color-disabled: var( + --spectrum-disabled-static-white-content-color + ); + --system-button-static-white-secondary-outline-background-color-default: transparent; + --system-button-static-white-secondary-outline-background-color-hover: var( + --spectrum-transparent-white-300 + ); + --system-button-static-white-secondary-outline-background-color-down: var( + --spectrum-transparent-white-400 + ); + --system-button-static-white-secondary-outline-background-color-focus: var( + --spectrum-transparent-white-300 + ); + --system-button-static-white-secondary-outline-border-color-default: var( + --spectrum-transparent-white-300 + ); + --system-button-static-white-secondary-outline-border-color-hover: var( + --spectrum-transparent-white-400 + ); + --system-button-static-white-secondary-outline-border-color-down: var( + --spectrum-transparent-white-500 + ); + --system-button-static-white-secondary-outline-border-color-focus: var( + --spectrum-transparent-white-400 + ); + --system-button-static-white-secondary-outline-content-color-default: var( + --spectrum-white + ); + --system-button-static-white-secondary-outline-content-color-hover: var( + --spectrum-white + ); + --system-button-static-white-secondary-outline-content-color-down: var( + --spectrum-white + ); + --system-button-static-white-secondary-outline-content-color-focus: var( + --spectrum-white + ); + --system-button-static-white-secondary-outline-focus-indicator-color: var( + --spectrum-static-white-focus-indicator-color + ); + --system-button-static-white-secondary-outline-background-color-disabled: transparent; + --system-button-static-white-secondary-outline-border-color-disabled: var( + --spectrum-disabled-static-white-border-color + ); + --system-button-static-white-secondary-outline-content-color-disabled: var( + --spectrum-disabled-static-white-content-color + ); + --system-button-static-black-background-color-default: var( + --spectrum-transparent-black-800 + ); + --system-button-static-black-background-color-hover: var( + --spectrum-transparent-black-900 + ); + --system-button-static-black-background-color-down: var( + --spectrum-transparent-black-900 + ); + --system-button-static-black-background-color-focus: var( + --spectrum-transparent-black-900 + ); + --system-button-static-black-border-color-default: transparent; + --system-button-static-black-border-color-hover: transparent; + --system-button-static-black-border-color-down: transparent; + --system-button-static-black-border-color-focus: transparent; + --system-button-static-black-content-color-default: var(--spectrum-white); + --system-button-static-black-content-color-hover: var(--spectrum-white); + --system-button-static-black-content-color-down: var(--spectrum-white); + --system-button-static-black-content-color-focus: var(--spectrum-white); + --system-button-static-black-focus-indicator-color: var( + --spectrum-static-black-focus-indicator-color + ); + --system-button-static-black-background-color-disabled: var( + --spectrum-disabled-static-black-background-color + ); + --system-button-static-black-border-color-disabled: transparent; + --system-button-static-black-content-color-disabled: var( + --spectrum-disabled-static-black-content-color + ); + --system-button-static-black-outline-background-color-default: transparent; + --system-button-static-black-outline-background-color-hover: var( + --spectrum-transparent-black-300 + ); + --system-button-static-black-outline-background-color-down: var( + --spectrum-transparent-black-400 + ); + --system-button-static-black-outline-background-color-focus: var( + --spectrum-transparent-black-300 + ); + --system-button-static-black-outline-border-color-default: var( + --spectrum-transparent-black-400 + ); + --system-button-static-black-outline-border-color-hover: var( + --spectrum-transparent-black-500 + ); + --system-button-static-black-outline-border-color-down: var( + --spectrum-transparent-black-600 + ); + --system-button-static-black-outline-border-color-focus: var( + --spectrum-transparent-black-500 + ); + --system-button-static-black-outline-content-color-default: var( + --spectrum-black + ); + --system-button-static-black-outline-content-color-hover: var( + --spectrum-black + ); + --system-button-static-black-outline-content-color-down: var( + --spectrum-black + ); + --system-button-static-black-outline-content-color-focus: var( + --spectrum-black + ); + --system-button-static-black-outline-focus-indicator-color: var( + --spectrum-static-black-focus-indicator-color + ); + --system-button-static-black-outline-background-color-disabled: transparent; + --system-button-static-black-outline-border-color-disabled: var( + --spectrum-disabled-static-black-border-color + ); + --system-button-static-black-outline-content-color-disabled: var( + --spectrum-disabled-static-black-content-color + ); + --system-button-static-black-secondary-background-color-default: var( + --spectrum-transparent-black-200 + ); + --system-button-static-black-secondary-background-color-hover: var( + --spectrum-transparent-black-300 + ); + --system-button-static-black-secondary-background-color-down: var( + --spectrum-transparent-black-400 + ); + --system-button-static-black-secondary-background-color-focus: var( + --spectrum-transparent-black-300 + ); + --system-button-static-black-secondary-border-color-default: transparent; + --system-button-static-black-secondary-border-color-hover: transparent; + --system-button-static-black-secondary-border-color-down: transparent; + --system-button-static-black-secondary-border-color-focus: transparent; + --system-button-static-black-secondary-content-color-default: var( + --spectrum-black + ); + --system-button-static-black-secondary-content-color-hover: var( + --spectrum-black + ); + --system-button-static-black-secondary-content-color-down: var( + --spectrum-black + ); + --system-button-static-black-secondary-content-color-focus: var( + --spectrum-black + ); + --system-button-static-black-secondary-focus-indicator-color: var( + --spectrum-static-black-focus-indicator-color + ); + --system-button-static-black-secondary-background-color-disabled: var( + --spectrum-disabled-static-black-background-color + ); + --system-button-static-black-secondary-border-color-disabled: transparent; + --system-button-static-black-secondary-content-color-disabled: var( + --spectrum-disabled-static-black-content-color + ); + --system-button-static-black-secondary-outline-background-color-default: transparent; + --system-button-static-black-secondary-outline-background-color-hover: var( + --spectrum-transparent-black-300 + ); + --system-button-static-black-secondary-outline-background-color-down: var( + --spectrum-transparent-black-400 + ); + --system-button-static-black-secondary-outline-background-color-focus: var( + --spectrum-transparent-black-300 + ); + --system-button-static-black-secondary-outline-border-color-default: var( + --spectrum-transparent-black-300 + ); + --system-button-static-black-secondary-outline-border-color-hover: var( + --spectrum-transparent-black-400 + ); + --system-button-static-black-secondary-outline-border-color-down: var( + --spectrum-transparent-black-500 + ); + --system-button-static-black-secondary-outline-border-color-focus: var( + --spectrum-transparent-black-400 + ); + --system-button-static-black-secondary-outline-content-color-default: var( + --spectrum-black + ); + --system-button-static-black-secondary-outline-content-color-hover: var( + --spectrum-black + ); + --system-button-static-black-secondary-outline-content-color-down: var( + --spectrum-black + ); + --system-button-static-black-secondary-outline-content-color-focus: var( + --spectrum-black + ); + --system-button-static-black-secondary-outline-focus-indicator-color: var( + --spectrum-static-black-focus-indicator-color + ); + --system-button-static-black-secondary-outline-background-color-disabled: transparent; + --system-button-static-black-secondary-outline-border-color-disabled: var( + --spectrum-disabled-static-black-border-color + ); + --system-button-static-black-secondary-outline-content-color-disabled: var( + --spectrum-disabled-static-black-content-color + ); + --system-button-min-width: calc( + var(--spectrum-component-height-100) * + var(--spectrum-button-minimum-width-multiplier) + ); + --system-button-size-m-min-width: calc( + var(--spectrum-component-height-100) * + var(--spectrum-button-minimum-width-multiplier) + ); + --system-button-border-radius: var( + --spectrum-component-pill-edge-to-text-100 + ); + --system-button-size-m-border-radius: var( + --spectrum-component-pill-edge-to-text-100 + ); + --system-button-height: var(--spectrum-component-height-100); + --system-button-size-m-height: var(--spectrum-component-height-100); + --system-button-font-size: var(--spectrum-font-size-100); + --system-button-size-m-font-size: var(--spectrum-font-size-100); + --system-button-edge-to-visual: calc( + var(--spectrum-component-pill-edge-to-visual-100) - + var(--system-button-border-width) + ); + --system-button-size-m-edge-to-visual: calc( + var(--spectrum-component-pill-edge-to-visual-100) - + var(--system-button-border-width) + ); + --system-button-edge-to-visual-only: var( + --spectrum-component-pill-edge-to-visual-only-100 + ); + --system-button-size-m-edge-to-visual-only: var( + --spectrum-component-pill-edge-to-visual-only-100 + ); + --system-button-edge-to-text: calc( + var(--spectrum-component-pill-edge-to-text-100) - + var(--system-button-border-width) + ); + --system-button-size-m-edge-to-text: calc( + var(--spectrum-component-pill-edge-to-text-100) - + var(--system-button-border-width) + ); + --system-button-padding-label-to-icon: var(--spectrum-text-to-visual-100); + --system-button-size-m-padding-label-to-icon: var( + --spectrum-text-to-visual-100 + ); + --system-button-top-to-text: var(--spectrum-button-top-to-text-medium); + --system-button-size-m-top-to-text: var( + --spectrum-button-top-to-text-medium + ); + --system-button-bottom-to-text: var( + --spectrum-button-bottom-to-text-medium + ); + --system-button-size-m-bottom-to-text: var( + --spectrum-button-bottom-to-text-medium + ); + --system-button-top-to-icon: var( + --spectrum-component-top-to-workflow-icon-100 + ); + --system-button-size-m-top-to-icon: var( + --spectrum-component-top-to-workflow-icon-100 + ); + --system-button-intended-icon-size: var(--spectrum-workflow-icon-size-100); + --system-button-size-m-intended-icon-size: var( + --spectrum-workflow-icon-size-100 + ); + --system-button-size-s-min-width: calc( + var(--spectrum-component-height-75) * + var(--spectrum-button-minimum-width-multiplier) + ); + --system-button-size-s-border-radius: var( + --spectrum-component-pill-edge-to-text-75 + ); + --system-button-size-s-height: var(--spectrum-component-height-75); + --system-button-size-s-font-size: var(--spectrum-font-size-75); + --system-button-size-s-edge-to-visual: calc( + var(--spectrum-component-pill-edge-to-visual-75) - + var(--system-button-border-width) + ); + --system-button-size-s-edge-to-visual-only: var( + --spectrum-component-pill-edge-to-visual-only-75 + ); + --system-button-size-s-edge-to-text: calc( + var(--spectrum-component-pill-edge-to-text-75) - + var(--system-button-border-width) + ); + --system-button-size-s-padding-label-to-icon: var( + --spectrum-text-to-visual-75 + ); + --system-button-size-s-top-to-text: var( + --spectrum-button-top-to-text-small + ); + --system-button-size-s-bottom-to-text: var( + --spectrum-button-bottom-to-text-small + ); + --system-button-size-s-top-to-icon: var( + --spectrum-component-top-to-workflow-icon-75 + ); + --system-button-size-s-intended-icon-size: var( + --spectrum-workflow-icon-size-75 + ); + --system-button-size-l-min-width: calc( + var(--spectrum-component-height-200) * + var(--spectrum-button-minimum-width-multiplier) + ); + --system-button-size-l-border-radius: var( + --spectrum-component-pill-edge-to-text-200 + ); + --system-button-size-l-height: var(--spectrum-component-height-200); + --system-button-size-l-font-size: var(--spectrum-font-size-200); + --system-button-size-l-edge-to-visual: calc( + var(--spectrum-component-pill-edge-to-visual-200) - + var(--system-button-border-width) + ); + --system-button-size-l-edge-to-visual-only: var( + --spectrum-component-pill-edge-to-visual-only-200 + ); + --system-button-size-l-edge-to-text: calc( + var(--spectrum-component-pill-edge-to-text-200) - + var(--system-button-border-width) + ); + --system-button-size-l-padding-label-to-icon: var( + --spectrum-text-to-visual-200 + ); + --system-button-size-l-top-to-text: var( + --spectrum-button-top-to-text-large + ); + --system-button-size-l-bottom-to-text: var( + --spectrum-button-bottom-to-text-large + ); + --system-button-size-l-top-to-icon: var( + --spectrum-component-top-to-workflow-icon-200 + ); + --system-button-size-l-intended-icon-size: var( + --spectrum-workflow-icon-size-200 + ); + --system-button-size-xl-min-width: calc( + var(--spectrum-component-height-300) * + var(--spectrum-button-minimum-width-multiplier) + ); + --system-button-size-xl-border-radius: var( + --spectrum-component-pill-edge-to-text-300 + ); + --system-button-size-xl-height: var(--spectrum-component-height-300); + --system-button-size-xl-font-size: var(--spectrum-font-size-300); + --system-button-size-xl-edge-to-visual: calc( + var(--spectrum-component-pill-edge-to-visual-300) - + var(--system-button-border-width) + ); + --system-button-size-xl-edge-to-visual-only: var( + --spectrum-component-pill-edge-to-visual-only-300 + ); + --system-button-size-xl-edge-to-text: calc( + var(--spectrum-component-pill-edge-to-text-300) - + var(--system-button-border-width) + ); + --system-button-size-xl-padding-label-to-icon: var( + --spectrum-text-to-visual-300 + ); + --system-button-size-xl-top-to-text: var( + --spectrum-button-top-to-text-extra-large + ); + --system-button-size-xl-bottom-to-text: var( + --spectrum-button-bottom-to-text-extra-large + ); + --system-button-size-xl-top-to-icon: var( + --spectrum-component-top-to-workflow-icon-300 + ); + --system-button-size-xl-intended-icon-size: var( + --spectrum-workflow-icon-size-300 + ); +} + +:host, +:root { + --system-button-group-spacing-horizontal: var(--spectrum-spacing-300); + --system-button-group-size-m-spacing-horizontal: var( + --spectrum-spacing-300 + ); + --system-button-group-spacing-vertical: var(--spectrum-spacing-300); + --system-button-group-size-m-spacing-vertical: var(--spectrum-spacing-300); + --system-button-group-size-s-spacing-horizontal: var( + --spectrum-spacing-200 + ); + --system-button-group-size-s-spacing-vertical: var(--spectrum-spacing-200); + --system-button-group-size-l-spacing-horizontal: var( + --spectrum-spacing-300 + ); + --system-button-group-size-l-spacing-vertical: var(--spectrum-spacing-300); + --system-button-group-size-xl-spacing-horizontal: var( + --spectrum-spacing-300 + ); + --system-button-group-size-xl-spacing-vertical: var(--spectrum-spacing-300); +} + +:host, +:root { + --system-breadcrumbs-block-size: var(--spectrum-breadcrumbs-height); + --system-breadcrumbs-block-size-compact: var( + --spectrum-breadcrumbs-height-compact + ); + --system-breadcrumbs-block-size-multiline: var( + --spectrum-breadcrumbs-height-multiline + ); + --system-breadcrumbs-line-height: var(--spectrum-line-height-100); + --system-breadcrumbs-font-size: var(--spectrum-font-size-200); + --system-breadcrumbs-font-family: var(--spectrum-sans-font-family-stack); + --system-breadcrumbs-font-weight: var(--spectrum-regular-font-weight); + --system-breadcrumbs-font-size-current: var(--spectrum-font-size-200); + --system-breadcrumbs-font-family-current: var( + --spectrum-sans-font-family-stack + ); + --system-breadcrumbs-font-weight-current: var(--spectrum-bold-font-weight); + --system-breadcrumbs-font-size-compact: var(--spectrum-font-size-100); + --system-breadcrumbs-font-family-compact: var( + --spectrum-sans-font-family-stack + ); + --system-breadcrumbs-font-weight-compact: var( + --spectrum-regular-font-weight + ); + --system-breadcrumbs-font-size-compact-current: var( + --spectrum-font-size-100 + ); + --system-breadcrumbs-font-family-compact-current: var( + --spectrum-sans-font-family-stack + ); + --system-breadcrumbs-font-weight-compact-current: var( + --spectrum-bold-font-weight + ); + --system-breadcrumbs-font-size-multiline: var(--spectrum-font-size-75); + --system-breadcrumbs-font-family-multiline: var( + --spectrum-sans-font-family-stack + ); + --system-breadcrumbs-font-weight-multiline: var( + --spectrum-regular-font-weight + ); + --system-breadcrumbs-font-size-multiline-current: var( + --spectrum-font-size-300 + ); + --system-breadcrumbs-font-family-multiline-current: var( + --spectrum-sans-font-family-stack + ); + --system-breadcrumbs-font-weight-multiline-current: var( + --spectrum-bold-font-weight + ); + --system-breadcrumbs-text-decoration-thickness: var( + --spectrum-text-underline-thickness + ); + --system-breadcrumbs-text-decoration-gap: var( + --spectrum-text-underline-gap + ); + --system-breadcrumbs-separator-spacing-inline: var( + --spectrum-text-to-visual-100 + ); + --system-breadcrumbs-text-spacing-block-start: var( + --spectrum-breadcrumbs-top-to-text + ); + --system-breadcrumbs-text-spacing-block-end: var( + --spectrum-breadcrumbs-bottom-to-text + ); + --system-breadcrumbs-icon-spacing-block: var( + --spectrum-breadcrumbs-top-to-separator-icon + ); + --system-breadcrumbs-text-spacing-block-start-compact: var( + --spectrum-breadcrumbs-top-to-text-compact + ); + --system-breadcrumbs-text-spacing-block-end-compact: var( + --spectrum-breadcrumbs-bottom-to-text-compact + ); + --system-breadcrumbs-icon-spacing-block-compact: var( + --spectrum-breadcrumbs-top-to-separator-icon-compact + ); + --system-breadcrumbs-text-spacing-block-start-multiline: var( + --spectrum-breadcrumbs-top-to-text-multiline + ); + --system-breadcrumbs-text-spacing-block-end-multiline: var( + --spectrum-breadcrumbs-bottom-to-text-multiline + ); + --system-breadcrumbs-text-spacing-block-between-multiline: var( + --spectrum-breadcrumbs-top-text-to-bottom-text + ); + --system-breadcrumbs-icon-spacing-block-start-multiline: var( + --spectrum-breadcrumbs-top-to-separator-icon-multiline + ); + --system-breadcrumbs-icon-spacing-block-between-multiline: var( + --spectrum-breadcrumbs-separator-icon-to-bottom-text-multiline + ); + --system-breadcrumbs-inline-start: var( + --spectrum-breadcrumbs-start-edge-to-text + ); + --system-breadcrumbs-inline-end: var( + --spectrum-breadcrumbs-end-edge-to-text + ); + --system-breadcrumbs-action-button-spacing-inline: var( + --spectrum-breadcrumbs-truncated-menu-to-separator-icon + ); + --system-breadcrumbs-action-button-spacing-block: var( + --spectrum-breadcrumbs-top-to-truncated-menu + ); + --system-breadcrumbs-action-button-spacing-block-compact: var( + --spectrum-breadcrumbs-top-to-truncated-menu-compact + ); + --system-breadcrumbs-action-button-spacing-inline-start: var( + --spectrum-breadcrumbs-start-edge-to-truncated-menu + ); + --system-breadcrumbs-action-button-spacing-block-multiline: var( + --spectrum-breadcrumbs-top-to-truncated-menu-compact + ); + --system-breadcrumbs-action-button-spacing-block-between-multiline: var( + --spectrum-breadcrumbs-truncated-menu-to-bottom-text + ); + --system-breadcrumbs-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-breadcrumbs-focus-indicator-gap: var( + --spectrum-focus-indicator-gap + ); + --system-breadcrumbs-item-link-border-radius: var( + --spectrum-corner-radius-100 + ); + --system-breadcrumbs-text-color: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-breadcrumbs-text-color-current: var( + --spectrum-neutral-content-color-default + ); + --system-breadcrumbs-text-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-breadcrumbs-separator-color: var( + --spectrum-neutral-content-color-default + ); + --system-breadcrumbs-action-button-color: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-breadcrumbs-action-button-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-breadcrumbs-focus-indicator-color: var( + --spectrum-focus-indicator-color + ); +} + +:host, +:root { + --system-checkbox-control-color-default: var(--spectrum-gray-600); + --system-checkbox-control-color-hover: var(--spectrum-gray-700); + --system-checkbox-control-color-down: var(--spectrum-gray-800); + --system-checkbox-control-color-focus: var(--spectrum-gray-700); + --system-checkbox-content-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-checkbox-content-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-checkbox-content-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-checkbox-content-color-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-checkbox-focus-indicator-color: var( + --spectrum-focus-indicator-color + ); + --system-checkbox-content-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-checkbox-control-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-checkbox-checkmark-color: var(--spectrum-gray-75); + --system-checkbox-invalid-color-default: var(--spectrum-negative-color-900); + --system-checkbox-invalid-color-hover: var(--spectrum-negative-color-1000); + --system-checkbox-invalid-color-down: var(--spectrum-negative-color-1100); + --system-checkbox-invalid-color-focus: var(--spectrum-negative-color-1000); + --system-checkbox-emphasized-color-default: var( + --spectrum-accent-color-900 + ); + --system-checkbox-emphasized-color-hover: var(--spectrum-accent-color-1000); + --system-checkbox-emphasized-color-down: var(--spectrum-accent-color-1100); + --system-checkbox-emphasized-color-focus: var(--spectrum-accent-color-1000); + --system-checkbox-control-selected-color-default: var( + --spectrum-neutral-background-color-selected-default + ); + --system-checkbox-control-selected-color-hover: var( + --spectrum-neutral-background-color-selected-hover + ); + --system-checkbox-control-selected-color-down: var( + --spectrum-neutral-background-color-selected-down + ); + --system-checkbox-control-selected-color-focus: var( + --spectrum-neutral-background-color-selected-key-focus + ); + --system-checkbox-line-height: var(--spectrum-line-height-100); + --system-checkbox-line-height-cjk: var(--spectrum-cjk-line-height-100); + --system-checkbox-control-corner-radius: var(--spectrum-corner-radius-75); + --system-checkbox-focus-indicator-gap: var(--spectrum-focus-indicator-gap); + --system-checkbox-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-checkbox-border-width: var(--spectrum-border-width-200); + --system-checkbox-animation-duration: var( + --spectrum-animation-duration-100 + ); + --system-checkbox-font-size: var(--spectrum-font-size-100); + --system-checkbox-size-m-font-size: var(--spectrum-font-size-100); + --system-checkbox-height: var(--spectrum-component-height-100); + --system-checkbox-size-m-height: var(--spectrum-component-height-100); + --system-checkbox-control-size: var( + --spectrum-checkbox-control-size-medium + ); + --system-checkbox-size-m-control-size: var( + --spectrum-checkbox-control-size-medium + ); + --system-checkbox-top-to-text: var(--spectrum-component-top-to-text-100); + --system-checkbox-size-m-top-to-text: var( + --spectrum-component-top-to-text-100 + ); + --system-checkbox-text-to-control: var(--spectrum-text-to-control-100); + --system-checkbox-size-m-text-to-control: var( + --spectrum-text-to-control-100 + ); + --system-checkbox-size-s-font-size: var(--spectrum-font-size-75); + --system-checkbox-size-s-height: var(--spectrum-component-height-75); + --system-checkbox-size-s-control-size: var( + --spectrum-checkbox-control-size-small + ); + --system-checkbox-size-s-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-checkbox-size-s-text-to-control: var( + --spectrum-text-to-control-75 + ); + --system-checkbox-size-l-font-size: var(--spectrum-font-size-200); + --system-checkbox-size-l-height: var(--spectrum-component-height-200); + --system-checkbox-size-l-control-size: var( + --spectrum-checkbox-control-size-large + ); + --system-checkbox-size-l-top-to-text: var( + --spectrum-component-top-to-text-200 + ); + --system-checkbox-size-l-text-to-control: var( + --spectrum-text-to-control-200 + ); + --system-checkbox-size-xl-font-size: var(--spectrum-font-size-300); + --system-checkbox-size-xl-height: var(--spectrum-component-height-300); + --system-checkbox-size-xl-control-size: var( + --spectrum-checkbox-control-size-extra-large + ); + --system-checkbox-size-xl-top-to-text: var( + --spectrum-component-top-to-text-300 + ); + --system-checkbox-size-xl-text-to-control: var( + --spectrum-text-to-control-300 + ); +} + +:host, +:root { + --system-card-background-color: var(--spectrum-background-layer-2-color); + --system-card-body-spacing: var(--spectrum-spacing-400); + --system-card-title-padding-top: var(--spectrum-spacing-300); + --system-card-title-padding-right: var(--spectrum-spacing-400); + --system-card-content-margin-top: var(--spectrum-spacing-100); + --system-card-content-margin-bottom: var(--spectrum-spacing-300); + --system-card-footer-padding-top: var(--spectrum-spacing-100); + --system-card-subtitle-padding-right: var(--spectrum-spacing-100); + --system-card-border-width: var(--spectrum-border-width-100); + --system-card-corner-radius: var(--spectrum-corner-radius-100); + --system-card-border-color: var(--spectrum-gray-200); + --system-card-border-color-hover: var(--spectrum-gray-300); + --system-card-border-color-selected: var(--spectrum-blue-700); + --system-card-divider-color: var(--spectrum-gray-300); + --system-card-title-font-family: var(--spectrum-sans-font-family-stack); + --system-card-title-font-size: var(--spectrum-heading-size-xxs); + --system-card-title-font-weight: var( + --spectrum-heading-sans-serif-font-weight + ); + --system-card-title-font-style: var( + --spectrum-heading-sans-serif-font-style + ); + --system-card-title-line-height: var(--spectrum-heading-line-height); + --system-card-title-font-color: var(--spectrum-heading-color); + --system-card-body-font-family: var(--spectrum-sans-font-family-stack); + --system-card-body-font-size: var(--spectrum-body-size-s); + --system-card-body-font-weight: var(--spectrum-body-sans-serif-font-weight); + --system-card-body-font-style: var(--spectrum-body-sans-serif-font-style); + --system-card-body-line-height: var(--spectrum-body-line-height); + --system-card-body-font-color: var(--spectrum-body-color); + --system-card-actions-spacing: var(--spectrum-spacing-300); + --system-card-actions-size: var(--spectrum-card-selection-background-size); + --system-card-actions-border-radius: var(--spectrum-corner-radius-100); + --system-card-actions-background-color-rgb: var(--spectrum-gray-100-rgb); + --system-card-actions-background-color-opacity: var( + --spectrum-card-selection-background-color-opacity + ); + --system-card-actions-drop-shadow-color: var(--spectrum-drop-shadow-color); + --system-card-actions-drop-shadow-x: var(--spectrum-drop-shadow-x); + --system-card-actions-drop-shadow-y: var(--spectrum-drop-shadow-y); + --system-card-actions-drop-shadow-blur: var(--spectrum-drop-shadow-blur); + --system-card-focus-indicator-color: var(--spectrum-focus-indicator-color); + --system-card-focus-indicator-width: var( + --spectrum-focus-indicator-thickness + ); + --system-card-selected-background-opacity: 0.1; + --system-card-preview-border-width-selected: var( + --spectrum-border-width-100 + ); + --system-card-preview-background-color: var( + --spectrum-background-base-color + ); + --system-card-preview-background-color-hover: var(--spectrum-gray-300); + --system-card-horizontal-body-padding: var(--spectrum-spacing-300); + --system-card-horizontal-preview-padding: var(--spectrum-spacing-200); + --system-card-content-margin-top-quiet: var(--spectrum-spacing-100); + --system-card-minimum-width-quiet: var(--spectrum-card-minimum-width); + --system-card-background-color-quiet: var(--spectrum-background-base-color); +} + +:host, +:root { + --system-clear-button-background-color: transparent; + --system-clear-button-background-color-hover: transparent; + --system-clear-button-background-color-down: transparent; + --system-clear-button-background-color-key-focus: transparent; + --system-clear-button-padding: var(--spectrum-in-field-button-edge-to-fill); + --system-clear-button-icon-color: var( + --spectrum-neutral-content-color-default + ); + --system-clear-button-icon-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-clear-button-icon-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-clear-button-icon-color-key-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-clear-button-height: var(--spectrum-component-height-100); + --system-clear-button-size-m-height: var(--spectrum-component-height-100); + --system-clear-button-width: var(--spectrum-component-height-100); + --system-clear-button-size-m-width: var(--spectrum-component-height-100); + --system-clear-button-size-s-height: var(--spectrum-component-height-75); + --system-clear-button-size-s-width: var(--spectrum-component-height-75); + --system-clear-button-size-l-height: var(--spectrum-component-height-200); + --system-clear-button-size-l-width: var(--spectrum-component-height-200); + --system-clear-button-size-xl-height: var(--spectrum-component-height-300); + --system-clear-button-size-xl-width: var(--spectrum-component-height-300); + --system-clear-button-quiet-background-color: transparent; + --system-clear-button-quiet-background-color-hover: transparent; + --system-clear-button-quiet-background-color-down: transparent; + --system-clear-button-quiet-background-color-key-focus: transparent; + --system-clear-button-over-background-icon-color: var(--spectrum-white); + --system-clear-button-over-background-icon-color-hover: var( + --spectrum-white + ); + --system-clear-button-over-background-icon-color-down: var( + --spectrum-white + ); + --system-clear-button-over-background-icon-color-key-focus: var( + --spectrum-white + ); + --system-clear-button-over-background-background-color: transparent; + --system-clear-button-over-background-background-color-hover: var( + --spectrum-transparent-white-300 + ); + --system-clear-button-over-background-background-color-down: var( + --spectrum-transparent-white-400 + ); + --system-clear-button-over-background-background-color-key-focus: var( + --spectrum-transparent-white-300 + ); + --system-clear-button-disabled-icon-color: var( + --spectrum-disabled-content-color + ); + --system-clear-button-disabled-icon-color-hover: var( + --spectrum-disabled-content-color + ); + --system-clear-button-disabled-icon-color-down: var( + --spectrum-disabled-content-color + ); + --system-clear-button-disabled-background-color: transparent; +} + +:host, +:root { + --system-close-button-background-color-default: transparent; + --system-close-button-background-color-hover: var(--spectrum-gray-200); + --system-close-button-background-color-down: var(--spectrum-gray-300); + --system-close-button-background-color-focus: var(--spectrum-gray-200); + --system-close-button-icon-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-close-button-icon-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-close-button-icon-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-close-button-icon-color-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-close-button-icon-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-close-button-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-close-button-focus-indicator-gap: var( + --spectrum-focus-indicator-gap + ); + --system-close-button-focus-indicator-color: var( + --spectrum-focus-indicator-color + ); + --system-close-button-animation-duration: var( + --spectrum-animation-duration-100 + ); + --system-close-button-static-white-static-background-color-default: transparent; + --system-close-button-static-white-static-background-color-hover: var( + --spectrum-transparent-white-300 + ); + --system-close-button-static-white-static-background-color-down: var( + --spectrum-transparent-white-400 + ); + --system-close-button-static-white-static-background-color-focus: var( + --spectrum-transparent-white-300 + ); + --system-close-button-static-white-icon-color-default: var( + --spectrum-white + ); + --system-close-button-static-white-icon-color-disabled: var( + --spectrum-disabled-static-white-content-color + ); + --system-close-button-static-white-focus-indicator-color: var( + --spectrum-static-white-focus-indicator-color + ); + --system-close-button-static-black-static-background-color-default: transparent; + --system-close-button-static-black-static-background-color-hover: var( + --spectrum-transparent-black-300 + ); + --system-close-button-static-black-static-background-color-down: var( + --spectrum-transparent-black-400 + ); + --system-close-button-static-black-static-background-color-focus: var( + --spectrum-transparent-black-300 + ); + --system-close-button-static-black-icon-color-default: var( + --spectrum-black + ); + --system-close-button-static-black-icon-color-disabled: var( + --spectrum-disabled-static-black-content-color + ); + --system-close-button-static-black-focus-indicator-color: var( + --spectrum-static-black-focus-indicator-color + ); + --system-close-button-size: var(--spectrum-component-height-100); + --system-close-button-size-m-size: var(--spectrum-component-height-100); + --system-close-button-size-s-size: var(--spectrum-component-height-75); + --system-close-button-size-l-size: var(--spectrum-component-height-200); + --system-close-button-size-xl-size: var(--spectrum-component-height-300); +} + +:host, +:root { + --system-coach-indicator-ring-border-size: var(--spectrum-border-width-200); + --system-coach-indicator-min-inline-size: calc( + var(--spectrum-coach-indicator-ring-diameter) * 3 + ); + --system-coach-indicator-min-block-size: calc( + var(--spectrum-coach-indicator-ring-diameter) * 3 + ); + --system-coach-indicator-inline-size: var( + --system-coach-indicator-min-inline-size + ); + --system-coach-indicator-block-size: var( + --system-coach-indicator-min-block-size + ); + --system-coach-indicator-ring-inline-size: var( + --spectrum-coach-indicator-ring-diameter + ); + --system-coach-indicator-ring-block-size: var( + --spectrum-coach-indicator-ring-diameter + ); + --system-coach-indicator-ring-dark-color: var(--spectrum-gray-900); + --system-coach-indicator-ring-light-color: var(--spectrum-gray-50); + --system-coach-indicator-top: calc( + var(--system-coach-indicator-block-size) / 3 - + var(--system-coach-indicator-ring-border-size) + ); + --system-coach-indicator-left: calc( + var(--system-coach-indicator-inline-size) / 3 - + var(--system-coach-indicator-ring-border-size) + ); + --system-coach-indicator-coach-animation-indicator-ring-duration: var( + --spectrum-animation-duration-6000 + ); + --system-coach-indicator-coach-animation-indicator-ring-inner-delay-multiple: -0.5; + --system-coach-indicator-coach-animation-indicator-ring-center-delay-multiple: -0.66; + --system-coach-indicator-coach-animation-indicator-ring-outer-delay-multiple: -1; + --system-coach-indicator-quiet-animation-ring-inner-delay-multiple: -0.33; + --system-coach-indicator-animation-name: pulse; + --system-coach-indicator-inner-animation-delay-multiple: var( + --system-coach-indicator-coach-animation-indicator-ring-inner-delay-multiple + ); + --system-coach-indicator-animation-keyframe-0-scale: 1; + --system-coach-indicator-animation-keyframe-0-opacity: 0; + --system-coach-indicator-animation-keyframe-50-scale: 1.5; + --system-coach-indicator-animation-keyframe-50-opacity: 1; + --system-coach-indicator-animation-keyframe-100-scale: 2; + --system-coach-indicator-animation-keyframe-100-opacity: 0; + --system-coach-indicator-quiet-animation-keyframe-0-scale: 0.8; + --system-coach-indicator-quiet-quiet-ring-diameter-size: var( + --spectrum-coach-indicator-quiet-ring-diameter + ); + --system-coach-indicator-quiet-animation-name: pulse-quiet; +} + +:host, +:root { + --system-coach-mark-min-width: var(--spectrum-coach-mark-minimum-width); + --system-coach-mark-width: var(--spectrum-coach-mark-width); + --system-coach-mark-max-width: var(--spectrum-coach-mark-maximum-width); + --system-coach-mark-media-height: var(--spectrum-coach-mark-media-height); + --system-coach-mark-media-min-height: var( + --spectrum-coach-mark-media-minimum-height + ); + --system-coach-mark-padding: var(--spectrum-coach-mark-edge-to-content); + --system-coach-mark-heading-to-action-button: var(--spectrum-spacing-300); + --system-coach-mark-header-to-body: var(--spectrum-spacing-200); + --system-coach-mark-body-to-footer: var(--spectrum-spacing-300); + --system-coach-mark-title-color: var(--spectrum-heading-color); + --system-coach-mark-title-font-family: var(--spectrum-sans-serif-font); + --system-coach-mark-title-font-style: var( + --spectrum-heading-serif-font-style + ); + --system-coach-mark-title-text-font-weight: var( + --spectrum-heading-sans-serif-font-weight + ); + --system-coach-mark-title-font-size: var(--spectrum-coach-mark-title-size); + --system-coach-mark-title-text-line-height: var( + --spectrum-heading-line-height + ); + --system-coach-mark-content-font-color: var(--spectrum-body-color); + --system-coach-mark-content-font-weight: var( + --spectrum-body-sans-serif-font-weight + ); + --system-coach-mark-content-font-family: var(--spectrum-sans-serif-font); + --system-coach-mark-content-font-style: var( + --spectrum-body-sans-serif-font-style + ); + --system-coach-mark-content-line-height: var(--spectrum-body-line-height); + --system-coach-mark-content-font-size: var(--spectrum-coach-mark-body-size); + --system-coach-mark-step-color: var(--spectrum-coach-mark-pagination-color); + --system-coach-mark-step-font-weight: var( + --spectrum-body-sans-serif-font-weight + ); + --system-coach-mark-step-font-family: var(--spectrum-sans-serif-font); + --system-coach-mark-step-font-style: var( + --spectrum-body-sans-serif-font-style + ); + --system-coach-mark-step-line-height: var(--spectrum-body-line-height); + --system-coach-mark-step-font-size: var( + --spectrum-coach-mark-pagination-body-size + ); + --system-coach-mark-step-to-bottom: var( + --spectrum-coach-mark-pagination-text-to-bottom-edge + ); + --system-coach-mark-popover-border-width: var(--spectrum-border-width-100); + --system-coach-mark-popover-corner-radius: var( + --spectrum-corner-radius-100 + ); + --system-coach-mark-buttongroup-spacing-horizontal: var( + --spectrum-spacing-100 + ); +} + +:host, +:root { + --system-color-area-border-radius: var( + --spectrum-color-area-border-rounding + ); + --system-color-area-border-color-rgb: 0, 0, 0; + --system-color-area-border-color-opacity: 0.1; + --system-color-area-border-color: rgba( + var(--system-color-area-border-color-rgb), + var(--system-color-area-border-color-opacity) + ); + --system-color-area-disabled-background-color: var( + --spectrum-disabled-background-color + ); + --system-color-area-border-width: var(--spectrum-color-area-border-width); + --system-color-area-height: var(--spectrum-color-area-height); + --system-color-area-width: var(--spectrum-color-area-width); + --system-color-area-min-width: var(--spectrum-color-area-minimum-width); + --system-color-area-min-height: var(--spectrum-color-area-minimum-height); +} + +:host, +:root { + --system-color-handle-size: var(--spectrum-color-handle-size); + --system-color-handle-focused-size: var( + --spectrum-color-handle-size-key-focus + ); + --system-color-handle-hitarea-size: var( + --spectrum-color-control-track-width + ); + --system-color-handle-animation-duration: var( + --spectrum-animation-duration-100 + ); + --system-color-handle-animation-easing: ease-in-out; + --system-color-handle-outer-border-color: rgba( + var(--spectrum-black-rgb), + var(--spectrum-color-handle-outer-border-opacity) + ); + --system-color-handle-outer-border-width: var( + --spectrum-color-handle-outer-border-width + ); + --system-color-handle-inner-border-color: rgba( + var(--spectrum-black-rgb), + var(--spectrum-color-handle-inner-border-opacity) + ); + --system-color-handle-inner-border-width: var( + --spectrum-color-handle-inner-border-width + ); + --system-color-handle-border-width: var( + --spectrum-color-handle-border-width + ); + --system-color-handle-border-color: var(--spectrum-white); + --system-color-handle-border-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-color-handle-fill-color-disabled: var( + --spectrum-disabled-background-color + ); +} + +:host, +:root { + --system-color-loupe-width: var(--spectrum-color-loupe-width); + --system-color-loupe-height: var(--spectrum-color-loupe-height); + --system-color-loupe-offset: var( + --spectrum-color-loupe-bottom-to-color-handle + ); + --system-color-loupe-animation-distance: 8px; + --system-color-loupe-drop-shadow-x: var(--spectrum-drop-shadow-x); + --system-color-loupe-drop-shadow-y: var( + --spectrum-color-loupe-drop-shadow-y + ); + --system-color-loupe-drop-shadow-blur: var( + --spectrum-color-loupe-drop-shadow-blur + ); + --system-color-loupe-drop-shadow-color: var( + --spectrum-color-loupe-drop-shadow-color + ); + --system-color-loupe-outer-border-width: var( + --spectrum-color-loupe-outer-border-width + ); + --system-color-loupe-inner-border-width: var( + --spectrum-color-loupe-inner-border-width + ); + --system-color-loupe-outer-border-color: var( + --spectrum-color-loupe-outer-border + ); + --system-color-loupe-inner-border-color: var( + --spectrum-color-loupe-inner-border + ); + --system-color-loupe-checkerboard-dark-color: var( + --spectrum-opacity-checkerboard-square-dark + ); + --system-color-loupe-checkerboard-light-color: var( + --spectrum-opacity-checkerboard-square-light + ); +} + +:host, +:root { + --system-color-slider-handle-margin-block: var( + --spectrum-component-top-to-text-75 + ); + --system-color-slider-border-color-rgba: rgba( + var(--spectrum-gray-900-rgb), + var(--spectrum-color-slider-border-opacity) + ); + --system-color-slider-checkerboard-size: var( + --spectrum-opacity-checkerboard-square-size + ); + --system-color-slider-checkerboard-dark-color: var( + --spectrum-opacity-checkerboard-square-dark + ); + --system-color-slider-checkerboard-light-color: var( + --spectrum-opacity-checkerboard-square-light + ); +} + +:host, +:root { + --system-color-wheel-width: var(--spectrum-color-wheel-width); + --system-color-wheel-min-width: var(--spectrum-color-wheel-minimum-width); + --system-color-wheel-height: var(--spectrum-color-wheel-width); + --system-color-wheel-border-color: var(--spectrum-transparent-black-200); + --system-color-wheel-border-width: var(--spectrum-border-width-100); + --system-color-wheel-fill-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-color-wheel-track-width: var(--spectrum-color-control-track-width); + --system-color-wheel-colorarea-margin: var( + --spectrum-color-wheel-color-area-margin + ); + --system-color-wheel-colorhandle-position: calc( + var(--system-color-wheel-width) / 2 - + var(--system-color-wheel-track-width) / 2 + ); +} + +:host, +:root { + --system-combobox-border-color-default: var(--spectrum-gray-500); + --system-combobox-border-color-hover: var(--spectrum-gray-600); + --system-combobox-border-color-focus: var(--spectrum-gray-500); + --system-combobox-border-color-focus-hover: var(--spectrum-gray-600); + --system-combobox-border-color-key-focus: var(--spectrum-gray-600); + --system-combobox-inline-size: var(--spectrum-field-width); + --system-combobox-minimum-width-multiplier: var( + --spectrum-combo-box-minimum-width-multiplier + ); + --system-combobox-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-combobox-focus-indicator-gap: var(--spectrum-focus-indicator-gap); + --system-combobox-focus-indicator-color: var( + --spectrum-focus-indicator-color + ); + --system-combobox-border-radius: var(--spectrum-corner-radius-100); + --system-combobox-border-width: var(--spectrum-border-width-100); + --system-combobox-spacing-label-to: var( + --spectrum-field-label-to-component + ); + --system-combobox-font-style: var(--spectrum-default-font-style); + --system-combobox-line-height: var(--spectrum-line-height-100); + --system-combobox-border-color-invalid-default: var( + --spectrum-negative-border-color-default + ); + --system-combobox-border-color-invalid-hover: var( + --spectrum-negative-border-color-hover + ); + --system-combobox-border-color-invalid-focus: var( + --spectrum-negative-border-color-focus + ); + --system-combobox-border-color-invalid-focus-hover: var( + --spectrum-negative-border-color-focus-hover + ); + --system-combobox-border-color-invalid-key-focus: var( + --spectrum-negative-border-color-key-focus + ); + --system-combobox-block-size: var(--spectrum-component-height-100); + --system-combobox-size-m-block-size: var(--spectrum-component-height-100); + --system-combobox-icon-size: var(--spectrum-workflow-icon-size-100); + --system-combobox-size-m-icon-size: var(--spectrum-workflow-icon-size-100); + --system-combobox-font-size: var(--spectrum-font-size-100); + --system-combobox-size-m-font-size: var(--spectrum-font-size-100); + --system-combobox-spacing-inline-icon-to-button: var( + --spectrum-combo-box-visual-to-field-button-medium + ); + --system-combobox-size-m-spacing-inline-icon-to-button: var( + --spectrum-combo-box-visual-to-field-button-medium + ); + --system-combobox-block-spacing-edge-to-progress-circle: var( + --spectrum-field-top-to-progress-circle-medium + ); + --system-combobox-size-m-block-spacing-edge-to-progress-circle: var( + --spectrum-field-top-to-progress-circle-medium + ); + --system-combobox-block-spacing-edge-to-alert: var( + --spectrum-field-top-to-alert-icon-medium + ); + --system-combobox-size-m-block-spacing-edge-to-alert: var( + --spectrum-field-top-to-alert-icon-medium + ); + --system-combobox-spacing-edge-to-menu: var( + --spectrum-component-to-menu-medium + ); + --system-combobox-size-m-spacing-edge-to-menu: var( + --spectrum-component-to-menu-medium + ); + --system-combobox-spacing-block-start-edge-to-text: var( + --spectrum-component-top-to-text-100 + ); + --system-combobox-size-m-spacing-block-start-edge-to-text: var( + --spectrum-component-top-to-text-100 + ); + --system-combobox-spacing-block-end-edge-to-text: var( + --spectrum-component-bottom-to-text-100 + ); + --system-combobox-size-m-spacing-block-end-edge-to-text: var( + --spectrum-component-bottom-to-text-100 + ); + --system-combobox-spacing-inline-start-edge-to-text: var( + --spectrum-component-edge-to-text-100 + ); + --system-combobox-size-m-spacing-inline-start-edge-to-text: var( + --spectrum-component-edge-to-text-100 + ); + --system-combobox-spacing-inline-end-edge-to-text: var( + --spectrum-component-edge-to-text-100 + ); + --system-combobox-size-m-spacing-inline-end-edge-to-text: var( + --spectrum-component-edge-to-text-100 + ); + --system-combobox-size-s-block-size: var(--spectrum-component-height-75); + --system-combobox-size-s-icon-size: var(--spectrum-workflow-icon-size-75); + --system-combobox-size-s-font-size: var(--spectrum-font-size-75); + --system-combobox-size-s-spacing-inline-icon-to-button: var( + --spectrum-combo-box-visual-to-field-button-small + ); + --system-combobox-size-s-block-spacing-edge-to-progress-circle: var( + --spectrum-field-top-to-progress-circle-small + ); + --system-combobox-size-s-block-spacing-edge-to-alert: var( + --spectrum-field-top-to-alert-icon-small + ); + --system-combobox-size-s-spacing-edge-to-menu: var( + --spectrum-component-to-menu-small + ); + --system-combobox-size-s-spacing-block-start-edge-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-combobox-size-s-spacing-block-end-edge-to-text: var( + --spectrum-component-bottom-to-text-75 + ); + --system-combobox-size-s-spacing-inline-start-edge-to-text: var( + --spectrum-component-edge-to-text-75 + ); + --system-combobox-size-s-spacing-inline-end-edge-to-text: var( + --spectrum-component-edge-to-text-75 + ); + --system-combobox-size-l-block-size: var(--spectrum-component-height-200); + --system-combobox-size-l-icon-size: var(--spectrum-workflow-icon-size-200); + --system-combobox-size-l-font-size: var(--spectrum-font-size-200); + --system-combobox-size-l-spacing-inline-icon-to-button: var( + --spectrum-combo-box-visual-to-field-button-large + ); + --system-combobox-size-l-block-spacing-edge-to-progress-circle: var( + --spectrum-field-top-to-progress-circle-large + ); + --system-combobox-size-l-block-spacing-edge-to-alert: var( + --spectrum-field-top-to-alert-icon-large + ); + --system-combobox-size-l-spacing-edge-to-menu: var( + --spectrum-component-to-menu-large + ); + --system-combobox-size-l-spacing-block-start-edge-to-text: var( + --spectrum-component-top-to-text-200 + ); + --system-combobox-size-l-spacing-block-end-edge-to-text: var( + --spectrum-component-bottom-to-text-200 + ); + --system-combobox-size-l-spacing-inline-start-edge-to-text: var( + --spectrum-component-edge-to-text-200 + ); + --system-combobox-size-l-spacing-inline-end-edge-to-text: var( + --spectrum-component-edge-to-text-200 + ); + --system-combobox-size-xl-block-size: var(--spectrum-component-height-300); + --system-combobox-size-xl-icon-size: var(--spectrum-workflow-icon-size-300); + --system-combobox-size-xl-font-size: var(--spectrum-font-size-300); + --system-combobox-size-xl-spacing-inline-icon-to-button: var( + --spectrum-combo-box-visual-to-field-button-extra-large + ); + --system-combobox-size-xl-block-spacing-edge-to-progress-circle: var( + --spectrum-field-top-to-progress-circle-extra-large + ); + --system-combobox-size-xl-block-spacing-edge-to-alert: var( + --spectrum-field-top-to-alert-icon-extra-large + ); + --system-combobox-size-xl-spacing-edge-to-menu: var( + --spectrum-component-to-menu-extra-large + ); + --system-combobox-size-xl-spacing-block-start-edge-to-text: var( + --spectrum-component-top-to-text-300 + ); + --system-combobox-size-xl-spacing-block-end-edge-to-text: var( + --spectrum-component-bottom-to-text-300 + ); + --system-combobox-size-xl-spacing-inline-start-edge-to-text: var( + --spectrum-component-edge-to-text-300 + ); + --system-combobox-size-xl-spacing-inline-end-edge-to-text: var( + --spectrum-component-edge-to-text-300 + ); + --system-combobox-quiet-minimum-width-multiplier: var( + --spectrum-combo-box-quiet-minimum-width-multiplier + ); + --system-combobox-quiet-spacing-inline-icon-to-button: var( + --spectrum-combo-box-visual-to-field-button-quiet + ); + --system-combobox-quiet-spacing-inline-start-edge-to-text: var( + --spectrum-field-edge-to-text-quiet + ); + --system-combobox-quiet-spacing-label-to: var( + --spectrum-field-label-to-component-quiet-medium + ); + --system-combobox-quiet-size-m-spacing-label-to: var( + --spectrum-field-label-to-component-quiet-medium + ); + --system-combobox-quiet-size-s-spacing-label-to: var( + --spectrum-field-label-to-component-quiet-small + ); + --system-combobox-quiet-size-l-spacing-label-to: var( + --spectrum-field-label-to-component-quiet-large + ); + --system-combobox-quiet-size-xl-spacing-label-to: var( + --spectrum-field-label-to-component-quiet-extra-large + ); +} + +:host, +:root { + --system-contextual-help-padding: var(--spectrum-spacing-400); + --system-contextual-help-content-spacing: var(--spectrum-spacing-100); + --system-contextual-help-link-spacing: var(--spectrum-spacing-300); + --system-contextual-help-heading-size: var( + --spectrum-contextual-help-title-size + ); + --system-contextual-help-heading-color: var(--spectrum-heading-color); + --system-contextual-help-body-color: var(--spectrum-body-color); +} + +:host, +:root { + --system-dialog-fullscreen-header-text-size: 28px; + --system-dialog-min-inline-size: 288px; + --system-dialog-confirm-small-width: 400px; + --system-dialog-confirm-medium-width: 480px; + --system-dialog-confirm-large-width: 640px; + --system-dialog-confirm-divider-block-spacing-start: var( + --spectrum-spacing-300 + ); + --system-dialog-confirm-divider-block-spacing-end: var( + --spectrum-spacing-200 + ); + --system-dialog-confirm-description-text-color: var(--spectrum-gray-800); + --system-dialog-confirm-title-text-color: var(--spectrum-gray-900); + --system-dialog-confirm-description-text-line-height: var( + --spectrum-line-height-100 + ); + --system-dialog-confirm-title-text-line-height: var( + --spectrum-line-height-100 + ); + --system-dialog-heading-font-weight: var( + --spectrum-heading-sans-serif-font-weight + ); + --system-dialog-confirm-description-padding: var(--spectrum-spacing-50); + --system-dialog-confirm-description-margin: calc( + var(--spectrum-spacing-50) * -1 + ); + --system-dialog-confirm-footer-padding-top: var(--spectrum-spacing-600); + --system-dialog-confirm-gap-size: var( + --spectrum-component-pill-edge-to-text-100 + ); + --system-dialog-confirm-buttongroup-padding-top: var( + --spectrum-spacing-600 + ); + --system-dialog-confirm-close-button-size: var( + --spectrum-component-height-100 + ); + --system-dialog-confirm-close-button-padding: calc( + 26px - var(--spectrum-component-bottom-to-text-300) + ); + --system-dialog-confirm-divider-height: var(--spectrum-spacing-50); +} + +:host, +:root { + --system-divider-background-color-small: var(--spectrum-gray-300); + --system-divider-background-color-medium: var(--spectrum-gray-300); + --system-divider-background-color-large: var(--spectrum-gray-800); + --system-divider-background-color-small-static-white: var( + --spectrum-transparent-white-300 + ); + --system-divider-background-color-medium-static-white: var( + --spectrum-transparent-white-300 + ); + --system-divider-background-color-large-static-white: var( + --spectrum-transparent-white-800 + ); + --system-divider-background-color-small-static-black: var( + --spectrum-transparent-black-300 + ); + --system-divider-background-color-medium-static-black: var( + --spectrum-transparent-black-300 + ); + --system-divider-background-color-large-static-black: var( + --spectrum-transparent-black-800 + ); +} + +:host, +:root { + --system-drop-zone-padding: var(--spectrum-spacing-400); + --system-drop-zone-illustration-to-heading: var(--spectrum-spacing-400); + --system-drop-zone-heading-to-body: var(--spectrum-spacing-75); + --system-drop-zone-border-width: var(--spectrum-border-width-200); + --system-drop-zone-corner-radius: var(--spectrum-corner-radius-100); + --system-drop-zone-border-color: var(--spectrum-gray-300); + --system-drop-zone-heading-font-family: var( + --spectrum-sans-font-family-stack + ); + --system-drop-zone-heading-font-weight: var( + --spectrum-heading-sans-serif-font-weight + ); + --system-drop-zone-heading-font-style: var( + --spectrum-heading-sans-serif-font-style + ); + --system-drop-zone-heading-font-size: var(--spectrum-drop-zone-title-size); + --system-drop-zone-heading-line-height: var(--spectrum-heading-line-height); + --system-drop-zone-heading-color: var(--spectrum-heading-color); + --system-drop-zone-body-font-family: var(--spectrum-sans-font-family-stack); + --system-drop-zone-body-font-weight: var( + --spectrum-body-sans-serif-font-weight + ); + --system-drop-zone-body-font-style: var( + --spectrum-body-sans-serif-font-style + ); + --system-drop-zone-body-font-size: var(--spectrum-drop-zone-body-size); + --system-drop-zone-body-line-height: var(--spectrum-body-line-height); + --system-drop-zone-body-color: var(--spectrum-body-color); + --system-drop-zone-background-color: var( + --spectrum-drop-zone-background-color-rgb + ); + --system-drop-zone-border-color-hover: var(--spectrum-accent-visual-color); + --system-drop-zone-illustration-color: var(--spectrum-neutral-visual-color); + --system-drop-zone-illustration-color-hover: var( + --spectrum-accent-visual-color + ); + --system-drop-zone-content-height: var(--spectrum-component-height-300); + --system-drop-zone-content-max-width: var( + --spectrum-drop-zone-content-maximum-width + ); + --system-drop-zone-content-edge-to-text: var( + --spectrum-component-edge-to-text-300 + ); + --system-drop-zone-content-top-to-text: var( + --spectrum-component-top-to-text-300 + ); + --system-drop-zone-content-bottom-to-text: var( + --spectrum-component-bottom-to-text-300 + ); + --system-drop-zone-content-font-family: var( + --spectrum-sans-font-family-stack + ); + --system-drop-zone-content-font-weight: var(--spectrum-bold-font-weight); + --system-drop-zone-content-font-style: var(--spectrum-default-font-style); + --system-drop-zone-content-font-size: var(--spectrum-font-size-300); + --system-drop-zone-content-line-height: var(--spectrum-line-height-100); + --system-drop-zone-content-background-color: var( + --spectrum-accent-visual-color + ); + --system-drop-zone-content-color: var(--spectrum-white); + --system-drop-zone-heading-font-size-cjk: var( + --spectrum-drop-zone-cjk-title-size + ); +} + +:host, +:root { + --system-field-group-margin: var(--spectrum-spacing-300); + --system-field-group-readonly-delimiter: '\002c'; +} + +:host, +:root { + --system-field-label-color: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-field-label-font-weight: var(--spectrum-regular-font-weight); + --system-field-label-line-height: var(--spectrum-line-height-100); + --system-field-label-line-height-cjk: var(--spectrum-cjk-line-height-100); + --system-field-label-disabled-content-color: var( + --spectrum-disabled-content-color + ); + --system-field-label-min-height: var(--spectrum-component-height-75); + --system-field-label-size-m-min-height: var(--spectrum-component-height-75); + --system-field-label-top-to-text: var(--spectrum-component-top-to-text-75); + --system-field-label-size-m-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-field-label-bottom-to-text: var( + --spectrum-component-bottom-to-text-75 + ); + --system-field-label-size-m-bottom-to-text: var( + --spectrum-component-bottom-to-text-75 + ); + --system-field-label-font-size: var(--spectrum-font-size-75); + --system-field-label-size-m-font-size: var(--spectrum-font-size-75); + --system-field-label-side-margin-block-start: var( + --spectrum-field-label-top-margin-medium + ); + --system-field-label-size-m-side-margin-block-start: var( + --spectrum-field-label-top-margin-medium + ); + --system-field-label-side-padding-right: var(--spectrum-spacing-200); + --system-field-label-size-m-side-padding-right: var(--spectrum-spacing-200); + --system-field-label-text-to-asterisk: var( + --spectrum-field-label-text-to-asterisk-medium + ); + --system-field-label-size-m-text-to-asterisk: var( + --spectrum-field-label-text-to-asterisk-medium + ); + --system-field-label-size-s-min-height: var(--spectrum-component-height-75); + --system-field-label-size-s-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-field-label-size-s-bottom-to-text: var( + --spectrum-component-bottom-to-text-75 + ); + --system-field-label-size-s-font-size: var(--spectrum-font-size-75); + --system-field-label-size-s-side-margin-block-start: var( + --spectrum-field-label-top-margin-small + ); + --system-field-label-size-s-side-padding-right: var(--spectrum-spacing-100); + --system-field-label-size-s-text-to-asterisk: var( + --spectrum-field-label-text-to-asterisk-small + ); + --system-field-label-size-l-min-height: var( + --spectrum-component-height-100 + ); + --system-field-label-size-l-top-to-text: var( + --spectrum-component-top-to-text-100 + ); + --system-field-label-size-l-bottom-to-text: var( + --spectrum-component-bottom-to-text-100 + ); + --system-field-label-size-l-font-size: var(--spectrum-font-size-100); + --system-field-label-size-l-side-margin-block-start: var( + --spectrum-field-label-top-margin-large + ); + --system-field-label-size-l-side-padding-right: var(--spectrum-spacing-200); + --system-field-label-size-l-text-to-asterisk: var( + --spectrum-field-label-text-to-asterisk-large + ); + --system-field-label-size-xl-min-height: var( + --spectrum-component-height-200 + ); + --system-field-label-size-xl-top-to-text: var( + --spectrum-component-top-to-text-200 + ); + --system-field-label-size-xl-bottom-to-text: var( + --spectrum-component-bottom-to-text-200 + ); + --system-field-label-size-xl-font-size: var(--spectrum-font-size-200); + --system-field-label-size-xl-side-margin-block-start: var( + --spectrum-field-label-top-margin-extra-large + ); + --system-field-label-size-xl-side-padding-right: var( + --spectrum-spacing-200 + ); + --system-field-label-size-xl-text-to-asterisk: var( + --spectrum-field-label-text-to-asterisk-extra-large + ); +} + +:host, +:root { + --system-help-text-line-height: var(--spectrum-line-height-100); + --system-help-text-content-color-default: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-help-text-icon-color-default: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-help-text-disabled-content-color: var( + --spectrum-disabled-content-color + ); + --system-help-text-neutral-content-color-default: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-help-text-neutral-icon-color-default: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-help-text-negative-content-color-default: var( + --spectrum-negative-color-900 + ); + --system-help-text-negative-icon-color-default: var( + --spectrum-negative-color-900 + ); + --system-help-text-disabled-content-color-default: var( + --system-help-text-disabled-content-color + ); + --system-help-text-disabled-icon-color-default: var( + --system-help-text-disabled-content-color + ); + --system-help-text-lang-ja-line-height-cjk: var( + --spectrum-cjk-line-height-100 + ); + --system-help-text-lang-zh-line-height-cjk: var( + --spectrum-cjk-line-height-100 + ); + --system-help-text-lang-ko-line-height-cjk: var( + --spectrum-cjk-line-height-100 + ); + --system-help-text-min-height: var(--spectrum-component-height-75); + --system-help-text-size-m-min-height: var(--spectrum-component-height-75); + --system-help-text-icon-size: var(--spectrum-workflow-icon-size-100); + --system-help-text-size-m-icon-size: var(--spectrum-workflow-icon-size-100); + --system-help-text-font-size: var(--spectrum-font-size-75); + --system-help-text-size-m-font-size: var(--spectrum-font-size-75); + --system-help-text-text-to-visual: var(--spectrum-text-to-visual-75); + --system-help-text-size-m-text-to-visual: var(--spectrum-text-to-visual-75); + --system-help-text-top-to-workflow-icon: var( + --spectrum-help-text-top-to-workflow-icon-medium + ); + --system-help-text-size-m-top-to-workflow-icon: var( + --spectrum-help-text-top-to-workflow-icon-medium + ); + --system-help-text-top-to-text: var(--spectrum-component-top-to-text-75); + --system-help-text-size-m-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-help-text-bottom-to-text: var( + --spectrum-component-bottom-to-text-75 + ); + --system-help-text-size-m-bottom-to-text: var( + --spectrum-component-bottom-to-text-75 + ); + --system-help-text-size-s-min-height: var(--spectrum-component-height-75); + --system-help-text-size-s-icon-size: var(--spectrum-workflow-icon-size-75); + --system-help-text-size-s-font-size: var(--spectrum-font-size-75); + --system-help-text-size-s-text-to-visual: var(--spectrum-text-to-visual-75); + --system-help-text-size-s-top-to-workflow-icon: var( + --spectrum-help-text-top-to-workflow-icon-small + ); + --system-help-text-size-s-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-help-text-size-s-bottom-to-text: var( + --spectrum-component-bottom-to-text-75 + ); + --system-help-text-size-l-min-height: var(--spectrum-component-height-100); + --system-help-text-size-l-icon-size: var(--spectrum-workflow-icon-size-200); + --system-help-text-size-l-font-size: var(--spectrum-font-size-100); + --system-help-text-size-l-text-to-visual: var( + --spectrum-text-to-visual-100 + ); + --system-help-text-size-l-top-to-workflow-icon: var( + --spectrum-help-text-top-to-workflow-icon-large + ); + --system-help-text-size-l-top-to-text: var( + --spectrum-component-top-to-text-100 + ); + --system-help-text-size-l-bottom-to-text: var( + --spectrum-component-bottom-to-text-100 + ); + --system-help-text-size-xl-min-height: var(--spectrum-component-height-200); + --system-help-text-size-xl-icon-size: var( + --spectrum-workflow-icon-size-300 + ); + --system-help-text-size-xl-font-size: var(--spectrum-font-size-200); + --system-help-text-size-xl-text-to-visual: var( + --spectrum-text-to-visual-200 + ); + --system-help-text-size-xl-top-to-workflow-icon: var( + --spectrum-help-text-top-to-workflow-icon-extra-large + ); + --system-help-text-size-xl-top-to-text: var( + --spectrum-component-top-to-text-200 + ); + --system-help-text-size-xl-bottom-to-text: var( + --spectrum-component-bottom-to-text-200 + ); +} + +:host, +:root { + --system-illustrated-message-description-max-inline-size: var( + --spectrum-illustrated-message-maximum-width + ); + --system-illustrated-message-heading-max-inline-size: var( + --spectrum-illustrated-message-maximum-width + ); + --system-illustrated-message-title-to-heading: var(--spectrum-spacing-400); + --system-illustrated-message-heading-to-description: var( + --spectrum-spacing-75 + ); + --system-illustrated-message-illustration-color: var( + --spectrum-neutral-visual-color + ); + --system-illustrated-message-illustration-accent-color: var( + --spectrum-accent-visual-color + ); + --system-illustrated-message-title-font-family: var( + --spectrum-sans-font-family-stack + ); + --system-illustrated-message-title-font-weight: var( + --spectrum-heading-sans-serif-font-weight + ); + --system-illustrated-message-title-font-style: var( + --spectrum-heading-sans-serif-font-style + ); + --system-illustrated-message-title-font-size: var( + --spectrum-illustrated-message-title-size + ); + --system-illustrated-message-title-line-height: var( + --spectrum-heading-line-height + ); + --system-illustrated-message-title-color: var(--spectrum-heading-color); + --system-illustrated-message-description-font-family: var( + --spectrum-sans-font-family-stack + ); + --system-illustrated-message-description-font-weight: var( + --spectrum-body-sans-serif-font-weight + ); + --system-illustrated-message-description-font-style: var( + --spectrum-body-sans-serif-font-style + ); + --system-illustrated-message-description-font-size: var( + --spectrum-illustrated-message-body-size + ); + --system-illustrated-message-description-line-height: var( + --spectrum-body-line-height + ); + --system-illustrated-message-description-color: var(--spectrum-body-color); + --system-illustrated-message-lang-ja-title-font-size: var( + --spectrum-illustrated-message-cjk-title-size + ); + --system-illustrated-message-lang-zh-title-font-size: var( + --spectrum-illustrated-message-cjk-title-size + ); + --system-illustrated-message-lang-ko-title-font-size: var( + --spectrum-illustrated-message-cjk-title-size + ); +} + +:host, +:root { + --system-icon-size-xxs: var(--spectrum-workflow-icon-size-xxs); + --system-icon-size-xs: var(--spectrum-workflow-icon-size-50); + --system-icon-size-s: var(--spectrum-workflow-icon-size-75); + --system-icon-size-m: var(--spectrum-workflow-icon-size-100); + --system-icon-size-l: var(--spectrum-workflow-icon-size-200); + --system-icon-size-xl: var(--spectrum-workflow-icon-size-300); + --system-icon-size-xxl: var(--spectrum-workflow-icon-size-xxl); + --system-ui-icon-chevron-right-50-icon-size: var( + --spectrum-chevron-icon-size-50 + ); + --system-ui-icon-chevron-down-50-icon-size: var( + --spectrum-chevron-icon-size-50 + ); + --system-ui-icon-chevron-right-75-icon-size: var( + --spectrum-chevron-icon-size-75 + ); + --system-ui-icon-chevron-down-75-icon-size: var( + --spectrum-chevron-icon-size-75 + ); + --system-ui-icon-chevron-right-100-icon-size: var( + --spectrum-chevron-icon-size-100 + ); + --system-ui-icon-chevron-down-100-icon-size: var( + --spectrum-chevron-icon-size-100 + ); + --system-ui-icon-chevron-right-200-icon-size: var( + --spectrum-chevron-icon-size-200 + ); + --system-ui-icon-chevron-down-200-icon-size: var( + --spectrum-chevron-icon-size-200 + ); + --system-ui-icon-chevron-right-300-icon-size: var( + --spectrum-chevron-icon-size-300 + ); + --system-ui-icon-chevron-down-300-icon-size: var( + --spectrum-chevron-icon-size-300 + ); + --system-ui-icon-chevron-right-400-icon-size: var( + --spectrum-chevron-icon-size-400 + ); + --system-ui-icon-chevron-down-400-icon-size: var( + --spectrum-chevron-icon-size-400 + ); + --system-ui-icon-chevron-right-500-icon-size: var( + --spectrum-chevron-icon-size-500 + ); + --system-ui-icon-chevron-down-500-icon-size: var( + --spectrum-chevron-icon-size-500 + ); + --system-ui-icon-chevron-left-50-icon-size: var( + --spectrum-chevron-icon-size-50 + ); + --system-ui-icon-chevron-left-75-icon-size: var( + --spectrum-chevron-icon-size-75 + ); + --system-ui-icon-chevron-left-100-icon-size: var( + --spectrum-chevron-icon-size-100 + ); + --system-ui-icon-chevron-left-200-icon-size: var( + --spectrum-chevron-icon-size-200 + ); + --system-ui-icon-chevron-left-300-icon-size: var( + --spectrum-chevron-icon-size-300 + ); + --system-ui-icon-chevron-left-400-icon-size: var( + --spectrum-chevron-icon-size-400 + ); + --system-ui-icon-chevron-left-500-icon-size: var( + --spectrum-chevron-icon-size-500 + ); + --system-ui-icon-chevron-up-50-icon-size: var( + --spectrum-chevron-icon-size-50 + ); + --system-ui-icon-chevron-up-75-icon-size: var( + --spectrum-chevron-icon-size-75 + ); + --system-ui-icon-chevron-up-100-icon-size: var( + --spectrum-chevron-icon-size-100 + ); + --system-ui-icon-chevron-up-200-icon-size: var( + --spectrum-chevron-icon-size-200 + ); + --system-ui-icon-chevron-up-300-icon-size: var( + --spectrum-chevron-icon-size-300 + ); + --system-ui-icon-chevron-up-400-icon-size: var( + --spectrum-chevron-icon-size-400 + ); + --system-ui-icon-chevron-up-500-icon-size: var( + --spectrum-chevron-icon-size-500 + ); + --system-ui-icon-arrow-right-75-icon-size: var( + --spectrum-arrow-icon-size-75 + ); + --system-ui-icon-arrow-right-100-icon-size: var( + --spectrum-arrow-icon-size-100 + ); + --system-ui-icon-arrow-right-200-icon-size: var( + --spectrum-arrow-icon-size-200 + ); + --system-ui-icon-arrow-right-300-icon-size: var( + --spectrum-arrow-icon-size-300 + ); + --system-ui-icon-arrow-right-400-icon-size: var( + --spectrum-arrow-icon-size-400 + ); + --system-ui-icon-arrow-right-500-icon-size: var( + --spectrum-arrow-icon-size-500 + ); + --system-ui-icon-arrow-right-600-icon-size: var( + --spectrum-arrow-icon-size-600 + ); + --system-ui-icon-arrow-down-75-icon-size: var( + --spectrum-arrow-icon-size-75 + ); + --system-ui-icon-arrow-down-100-icon-size: var( + --spectrum-arrow-icon-size-100 + ); + --system-ui-icon-arrow-down-200-icon-size: var( + --spectrum-arrow-icon-size-200 + ); + --system-ui-icon-arrow-down-300-icon-size: var( + --spectrum-arrow-icon-size-300 + ); + --system-ui-icon-arrow-down-400-icon-size: var( + --spectrum-arrow-icon-size-400 + ); + --system-ui-icon-arrow-down-500-icon-size: var( + --spectrum-arrow-icon-size-500 + ); + --system-ui-icon-arrow-down-600-icon-size: var( + --spectrum-arrow-icon-size-600 + ); + --system-ui-icon-arrow-left-75-icon-size: var( + --spectrum-arrow-icon-size-75 + ); + --system-ui-icon-arrow-left-100-icon-size: var( + --spectrum-arrow-icon-size-100 + ); + --system-ui-icon-arrow-left-200-icon-size: var( + --spectrum-arrow-icon-size-200 + ); + --system-ui-icon-arrow-left-300-icon-size: var( + --spectrum-arrow-icon-size-300 + ); + --system-ui-icon-arrow-left-400-icon-size: var( + --spectrum-arrow-icon-size-400 + ); + --system-ui-icon-arrow-left-500-icon-size: var( + --spectrum-arrow-icon-size-500 + ); + --system-ui-icon-arrow-left-600-icon-size: var( + --spectrum-arrow-icon-size-600 + ); + --system-ui-icon-arrow-up-75-icon-size: var(--spectrum-arrow-icon-size-75); + --system-ui-icon-arrow-up-100-icon-size: var( + --spectrum-arrow-icon-size-100 + ); + --system-ui-icon-arrow-up-200-icon-size: var( + --spectrum-arrow-icon-size-200 + ); + --system-ui-icon-arrow-up-300-icon-size: var( + --spectrum-arrow-icon-size-300 + ); + --system-ui-icon-arrow-up-400-icon-size: var( + --spectrum-arrow-icon-size-400 + ); + --system-ui-icon-arrow-up-500-icon-size: var( + --spectrum-arrow-icon-size-500 + ); + --system-ui-icon-arrow-up-600-icon-size: var( + --spectrum-arrow-icon-size-600 + ); + --system-ui-icon-checkmark-50-icon-size: var( + --spectrum-checkmark-icon-size-50 + ); + --system-ui-icon-checkmark-75-icon-size: var( + --spectrum-checkmark-icon-size-75 + ); + --system-ui-icon-checkmark-100-icon-size: var( + --spectrum-checkmark-icon-size-100 + ); + --system-ui-icon-checkmark-200-icon-size: var( + --spectrum-checkmark-icon-size-200 + ); + --system-ui-icon-checkmark-300-icon-size: var( + --spectrum-checkmark-icon-size-300 + ); + --system-ui-icon-checkmark-400-icon-size: var( + --spectrum-checkmark-icon-size-400 + ); + --system-ui-icon-checkmark-500-icon-size: var( + --spectrum-checkmark-icon-size-500 + ); + --system-ui-icon-checkmark-600-icon-size: var( + --spectrum-checkmark-icon-size-600 + ); + --system-ui-icon-dash-50-icon-size: var(--spectrum-dash-icon-size-50); + --system-ui-icon-dash-75-icon-size: var(--spectrum-dash-icon-size-75); + --system-ui-icon-dash-100-icon-size: var(--spectrum-dash-icon-size-100); + --system-ui-icon-dash-200-icon-size: var(--spectrum-dash-icon-size-200); + --system-ui-icon-dash-300-icon-size: var(--spectrum-dash-icon-size-300); + --system-ui-icon-dash-400-icon-size: var(--spectrum-dash-icon-size-400); + --system-ui-icon-dash-500-icon-size: var(--spectrum-dash-icon-size-500); + --system-ui-icon-dash-600-icon-size: var(--spectrum-dash-icon-size-600); + --system-ui-icon-cross-75-icon-size: var(--spectrum-cross-icon-size-75); + --system-ui-icon-cross-100-icon-size: var(--spectrum-cross-icon-size-100); + --system-ui-icon-cross-200-icon-size: var(--spectrum-cross-icon-size-200); + --system-ui-icon-cross-300-icon-size: var(--spectrum-cross-icon-size-300); + --system-ui-icon-cross-400-icon-size: var(--spectrum-cross-icon-size-400); + --system-ui-icon-cross-500-icon-size: var(--spectrum-cross-icon-size-500); + --system-ui-icon-cross-600-icon-size: var(--spectrum-cross-icon-size-600); + --system-ui-icon-corner-triangle-75-icon-size: var( + --spectrum-corner-triangle-icon-size-75 + ); + --system-ui-icon-corner-triangle-100-icon-size: var( + --spectrum-corner-triangle-icon-size-100 + ); + --system-ui-icon-corner-triangle-200-icon-size: var( + --spectrum-corner-triangle-icon-size-200 + ); + --system-ui-icon-corner-triangle-300-icon-size: var( + --spectrum-corner-triangle-icon-size-300 + ); + --system-ui-icon-asterisk-75-icon-size: var( + --spectrum-asterisk-icon-size-75 + ); + --system-ui-icon-asterisk-100-icon-size: var( + --spectrum-asterisk-icon-size-100 + ); + --system-ui-icon-asterisk-200-icon-size: var( + --spectrum-asterisk-icon-size-200 + ); + --system-ui-icon-asterisk-300-icon-size: var( + --spectrum-asterisk-icon-size-300 + ); +} + +:host, +:root { + --system-infield-button-border-width: var(--spectrum-border-width-100); + --system-infield-button-border-color: inherit; + --system-infield-button-border-radius: var(--spectrum-corner-radius-100); + --system-infield-button-border-radius-reset: 0; + --system-infield-button-stacked-top-border-radius-start-start: var( + --system-infield-button-border-radius-reset + ); + --system-infield-button-stacked-bottom-border-radius-end-start: var( + --system-infield-button-border-radius-reset + ); + --system-infield-button-background-color: var(--spectrum-gray-75); + --system-infield-button-background-color-hover: var(--spectrum-gray-200); + --system-infield-button-background-color-down: var(--spectrum-gray-300); + --system-infield-button-background-color-key-focus: var( + --spectrum-gray-200 + ); + --system-infield-button-height: var(--spectrum-component-height-100); + --system-infield-button-width: var(--spectrum-component-height-100); + --system-infield-button-stacked-border-radius-reset: var( + --spectrum-in-field-button-fill-stacked-inner-border-rounding + ); + --system-infield-button-edge-to-fill: var( + --spectrum-in-field-button-edge-to-fill + ); + --system-infield-button-inner-edge-to-fill: var( + --spectrum-in-field-button-stacked-inner-edge-to-fill + ); + --system-infield-button-fill-padding: 0px; + --system-infield-button-stacked-fill-padding-inline: var( + --spectrum-in-field-button-edge-to-disclosure-icon-stacked-medium + ); + --system-infield-button-stacked-fill-padding-outer: var( + --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-medium + ); + --system-infield-button-stacked-fill-padding-inner: var( + --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-medium + ); + --system-infield-button-icon-color: var( + --spectrum-neutral-content-color-default + ); + --system-infield-button-icon-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-infield-button-icon-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-infield-button-icon-color-key-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-infield-button-fill-justify-content: center; + --system-infield-button-disabled-background-color: var( + --spectrum-disabled-background-color + ); + --system-infield-button-disabled-background-color-hover: var( + --spectrum-disabled-background-color + ); + --system-infield-button-disabled-background-color-down: var( + --spectrum-disabled-background-color + ); + --system-infield-button-disabled-border-color: var( + --spectrum-disabled-background-color + ); + --system-infield-button-disabled-icon-color: var( + --spectrum-disabled-content-color + ); + --system-infield-button-disabled-icon-color-hover: var( + --spectrum-disabled-content-color + ); + --system-infield-button-disabled-icon-color-down: var( + --spectrum-disabled-content-color + ); + --system-infield-button-disabled-icon-color-key-focus: var( + --spectrum-disabled-content-color + ); + --system-infield-button-size-s-height: var(--spectrum-component-height-75); + --system-infield-button-size-s-width: var(--spectrum-component-height-75); + --system-infield-button-size-s-stacked-fill-padding-inline: var( + --spectrum-in-field-button-edge-to-disclosure-icon-stacked-small + ); + --system-infield-button-size-s-stacked-fill-padding-outer: var( + --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-small + ); + --system-infield-button-size-s-stacked-fill-padding-inner: var( + --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-small + ); + --system-infield-button-size-l-height: var(--spectrum-component-height-200); + --system-infield-button-size-l-width: var(--spectrum-component-height-200); + --system-infield-button-size-l-stacked-fill-padding-inline: var( + --spectrum-in-field-button-edge-to-disclosure-icon-stacked-large + ); + --system-infield-button-size-l-stacked-fill-padding-outer: var( + --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-large + ); + --system-infield-button-size-l-stacked-fill-padding-inner: var( + --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-large + ); + --system-infield-button-size-xl-height: var( + --spectrum-component-height-300 + ); + --system-infield-button-size-xl-width: var(--spectrum-component-height-300); + --system-infield-button-size-xl-stacked-fill-padding-inline: var( + --spectrum-in-field-button-edge-to-disclosure-icon-stacked-extra-large + ); + --system-infield-button-size-xl-stacked-fill-padding-outer: var( + --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-extra-large + ); + --system-infield-button-size-xl-stacked-fill-padding-inner: var( + --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-extra-large + ); + --system-infield-button-top-width: var( + --spectrum-in-field-button-width-stacked-medium + ); + --system-infield-button-bottom-width: var( + --spectrum-in-field-button-width-stacked-medium + ); + --system-infield-button-top-size-s-width: var( + --spectrum-in-field-button-width-stacked-small + ); + --system-infield-button-bottom-size-s-width: var( + --spectrum-in-field-button-width-stacked-small + ); + --system-infield-button-top-size-l-width: var( + --spectrum-in-field-button-width-stacked-large + ); + --system-infield-button-bottom-size-l-width: var( + --spectrum-in-field-button-width-stacked-large + ); + --system-infield-button-top-size-xl-width: var( + --spectrum-in-field-button-width-stacked-extra-large + ); + --system-infield-button-bottom-size-xl-width: var( + --spectrum-in-field-button-width-stacked-extra-large + ); + --system-infield-button-quiet-background-color: transparent; + --system-infield-button-quiet-background-color-hover: transparent; + --system-infield-button-quiet-background-color-down: transparent; + --system-infield-button-quiet-background-color-key-focus: transparent; + --system-infield-button-quiet-infield-border-color: transparent; + --system-infield-button-quiet-border-width: 0; + --system-infield-button-quiet-disabled-background-color: transparent; + --system-infield-button-quiet-disabled-border-color: transparent; +} + +:host, +:root { + --system-link-animation-duration: var(--spectrum-animation-duration-100); + --system-link-text-color-primary-default: var( + --spectrum-accent-content-color-default + ); + --system-link-text-color-primary-hover: var( + --spectrum-accent-content-color-hover + ); + --system-link-text-color-primary-active: var( + --spectrum-accent-content-color-down + ); + --system-link-text-color-primary-focus: var( + --spectrum-accent-content-color-key-focus + ); + --system-link-text-color-secondary-default: var( + --spectrum-neutral-content-color-default + ); + --system-link-text-color-secondary-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-link-text-color-secondary-active: var( + --spectrum-neutral-content-color-down + ); + --system-link-text-color-secondary-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-link-text-color-white: var(--spectrum-white); + --system-link-text-color-black: var(--spectrum-black); +} + +:host, +:root { + --system-menu-item-top-to-action: var(--spectrum-spacing-50); + --system-menu-item-top-to-checkbox: var(--spectrum-spacing-50); + --system-menu-item-label-line-height: var(--spectrum-line-height-100); + --system-menu-item-label-line-height-cjk: var( + --spectrum-cjk-line-height-100 + ); + --system-menu-item-label-to-description-spacing: var( + --spectrum-menu-item-label-to-description + ); + --system-menu-item-focus-indicator-width: var(--spectrum-border-width-200); + --system-menu-item-focus-indicator-color: var(--spectrum-blue-800); + --system-menu-item-label-to-value-area-min-spacing: var( + --spectrum-spacing-100 + ); + --system-menu-item-label-content-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-menu-item-label-content-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-menu-item-label-content-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-menu-item-label-content-color-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-menu-item-label-icon-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-menu-item-label-icon-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-menu-item-label-icon-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-menu-item-label-icon-color-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-menu-item-label-content-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-menu-item-label-icon-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-menu-item-description-line-height: var(--spectrum-line-height-100); + --system-menu-item-description-line-height-cjk: var( + --spectrum-cjk-line-height-100 + ); + --system-menu-item-description-color-default: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-menu-item-description-color-hover: var( + --spectrum-neutral-subdued-content-color-hover + ); + --system-menu-item-description-color-down: var( + --spectrum-neutral-subdued-content-color-down + ); + --system-menu-item-description-color-focus: var( + --spectrum-neutral-subdued-content-color-key-focus + ); + --system-menu-item-description-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-menu-section-header-line-height: var(--spectrum-line-height-100); + --system-menu-section-header-line-height-cjk: var( + --spectrum-cjk-line-height-100 + ); + --system-menu-section-header-font-weight: var(--spectrum-bold-font-weight); + --system-menu-section-header-color: var(--spectrum-gray-900); + --system-menu-collapsible-icon-color: var(--spectrum-gray-900); + --system-menu-checkmark-icon-color-default: var( + --spectrum-accent-color-900 + ); + --system-menu-checkmark-icon-color-hover: var(--spectrum-accent-color-1000); + --system-menu-checkmark-icon-color-down: var(--spectrum-accent-color-1100); + --system-menu-checkmark-icon-color-focus: var(--spectrum-accent-color-1000); + --system-menu-drillin-icon-color-default: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-menu-drillin-icon-color-hover: var( + --spectrum-neutral-subdued-content-color-hover + ); + --system-menu-drillin-icon-color-down: var( + --spectrum-neutral-subdued-content-color-down + ); + --system-menu-drillin-icon-color-focus: var( + --spectrum-neutral-subdued-content-color-key-focus + ); + --system-menu-item-value-color-default: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-menu-item-value-color-hover: var( + --spectrum-neutral-subdued-content-color-hover + ); + --system-menu-item-value-color-down: var( + --spectrum-neutral-subdued-content-color-down + ); + --system-menu-item-value-color-focus: var( + --spectrum-neutral-subdued-content-color-key-focus + ); + --system-menu-checkmark-display-hidden: none; + --system-menu-checkmark-display-shown: block; + --system-menu-checkmark-display: var(--system-menu-checkmark-display-shown); + --system-menu-item-collapsible-no-icon-sub-item-padding-x-start: calc( + var(--system-menu-item-label-inline-edge-to-content) + + var(--system-menu-item-checkmark-width) + + var(--system-menu-item-label-text-to-visual) + + var(--system-menu-item-focus-indicator-width) + ); + --system-menu-item-background-color-default: transparent; + --system-menu-item-background-color-hover: rgba( + var(--spectrum-gray-900-rgb), + var(--spectrum-transparent-black-200-opacity) + ); + --system-menu-item-background-color-down: rgba( + var(--spectrum-gray-900-rgb), + var(--spectrum-transparent-black-200-opacity) + ); + --system-menu-item-background-color-key-focus: rgba( + var(--spectrum-gray-900-rgb), + var(--spectrum-transparent-black-200-opacity) + ); + --system-menu-item-min-height: var(--spectrum-component-height-100); + --system-menu-size-m-item-min-height: var(--spectrum-component-height-100); + --system-menu-item-icon-height: var(--spectrum-workflow-icon-size-100); + --system-menu-size-m-item-icon-height: var( + --spectrum-workflow-icon-size-100 + ); + --system-menu-item-icon-width: var(--spectrum-workflow-icon-size-100); + --system-menu-size-m-item-icon-width: var( + --spectrum-workflow-icon-size-100 + ); + --system-menu-item-label-font-size: var(--spectrum-font-size-100); + --system-menu-size-m-item-label-font-size: var(--spectrum-font-size-100); + --system-menu-item-label-text-to-visual: var(--spectrum-text-to-visual-100); + --system-menu-size-m-item-label-text-to-visual: var( + --spectrum-text-to-visual-100 + ); + --system-menu-item-label-inline-edge-to-content: var( + --spectrum-component-edge-to-text-100 + ); + --system-menu-size-m-item-label-inline-edge-to-content: var( + --spectrum-component-edge-to-text-100 + ); + --system-menu-item-top-edge-to-text: var( + --spectrum-component-top-to-text-100 + ); + --system-menu-size-m-item-top-edge-to-text: var( + --spectrum-component-top-to-text-100 + ); + --system-menu-item-bottom-edge-to-text: var( + --spectrum-component-bottom-to-text-100 + ); + --system-menu-size-m-item-bottom-edge-to-text: var( + --spectrum-component-bottom-to-text-100 + ); + --system-menu-item-text-to-control: var(--spectrum-text-to-control-100); + --system-menu-size-m-item-text-to-control: var( + --spectrum-text-to-control-100 + ); + --system-menu-item-description-font-size: var(--spectrum-font-size-75); + --system-menu-size-m-item-description-font-size: var( + --spectrum-font-size-75 + ); + --system-menu-section-header-font-size: var(--spectrum-font-size-100); + --system-menu-size-m-section-header-font-size: var( + --spectrum-font-size-100 + ); + --system-menu-section-header-min-width: var( + --spectrum-component-height-100 + ); + --system-menu-size-m-section-header-min-width: var( + --spectrum-component-height-100 + ); + --system-menu-item-selectable-edge-to-text-not-selected: var( + --spectrum-menu-item-selectable-edge-to-text-not-selected-medium + ); + --system-menu-size-m-item-selectable-edge-to-text-not-selected: var( + --spectrum-menu-item-selectable-edge-to-text-not-selected-medium + ); + --system-menu-item-checkmark-height: var( + --spectrum-menu-item-checkmark-height-medium + ); + --system-menu-size-m-item-checkmark-height: var( + --spectrum-menu-item-checkmark-height-medium + ); + --system-menu-item-checkmark-width: var( + --spectrum-menu-item-checkmark-width-medium + ); + --system-menu-size-m-item-checkmark-width: var( + --spectrum-menu-item-checkmark-width-medium + ); + --system-menu-item-top-to-checkmark: var( + --spectrum-menu-item-top-to-selected-icon-medium + ); + --system-menu-size-m-item-top-to-checkmark: var( + --spectrum-menu-item-top-to-selected-icon-medium + ); + --system-menu-back-icon-margin: var( + --spectrum-navigational-indicator-top-to-back-icon-medium + ); + --system-menu-size-m-back-icon-margin: var( + --spectrum-navigational-indicator-top-to-back-icon-medium + ); + --system-menu-size-s-item-min-height: var(--spectrum-component-height-75); + --system-menu-size-s-item-icon-height: var( + --spectrum-workflow-icon-size-75 + ); + --system-menu-size-s-item-icon-width: var(--spectrum-workflow-icon-size-75); + --system-menu-size-s-item-label-font-size: var(--spectrum-font-size-75); + --system-menu-size-s-item-label-text-to-visual: var( + --spectrum-text-to-visual-75 + ); + --system-menu-size-s-item-label-inline-edge-to-content: var( + --spectrum-component-edge-to-text-75 + ); + --system-menu-size-s-item-top-edge-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-menu-size-s-item-bottom-edge-to-text: var( + --spectrum-component-bottom-to-text-75 + ); + --system-menu-size-s-item-text-to-control: var( + --spectrum-text-to-control-75 + ); + --system-menu-size-s-item-description-font-size: var( + --spectrum-font-size-50 + ); + --system-menu-size-s-section-header-font-size: var(--spectrum-font-size-75); + --system-menu-size-s-section-header-min-width: var( + --spectrum-component-height-75 + ); + --system-menu-size-s-item-selectable-edge-to-text-not-selected: var( + --spectrum-menu-item-selectable-edge-to-text-not-selected-small + ); + --system-menu-size-s-item-checkmark-height: var( + --spectrum-menu-item-checkmark-height-small + ); + --system-menu-size-s-item-checkmark-width: var( + --spectrum-menu-item-checkmark-width-small + ); + --system-menu-size-s-item-top-to-checkmark: var( + --spectrum-menu-item-top-to-selected-icon-small + ); + --system-menu-size-s-back-icon-margin: var( + --spectrum-navigational-indicator-top-to-back-icon-small + ); + --system-menu-size-l-item-min-height: var(--spectrum-component-height-200); + --system-menu-size-l-item-icon-height: var( + --spectrum-workflow-icon-size-200 + ); + --system-menu-size-l-item-icon-width: var( + --spectrum-workflow-icon-size-200 + ); + --system-menu-size-l-item-label-font-size: var(--spectrum-font-size-200); + --system-menu-size-l-item-label-text-to-visual: var( + --spectrum-text-to-visual-200 + ); + --system-menu-size-l-item-label-inline-edge-to-content: var( + --spectrum-component-edge-to-text-200 + ); + --system-menu-size-l-item-top-edge-to-text: var( + --spectrum-component-top-to-text-200 + ); + --system-menu-size-l-item-bottom-edge-to-text: var( + --spectrum-component-bottom-to-text-200 + ); + --system-menu-size-l-item-text-to-control: var( + --spectrum-text-to-control-200 + ); + --system-menu-size-l-item-description-font-size: var( + --spectrum-font-size-100 + ); + --system-menu-size-l-section-header-font-size: var( + --spectrum-font-size-200 + ); + --system-menu-size-l-section-header-min-width: var( + --spectrum-component-height-200 + ); + --system-menu-size-l-item-selectable-edge-to-text-not-selected: var( + --spectrum-menu-item-selectable-edge-to-text-not-selected-large + ); + --system-menu-size-l-item-checkmark-height: var( + --spectrum-menu-item-checkmark-height-large + ); + --system-menu-size-l-item-checkmark-width: var( + --spectrum-menu-item-checkmark-width-large + ); + --system-menu-size-l-item-top-to-checkmark: var( + --spectrum-menu-item-top-to-selected-icon-large + ); + --system-menu-size-l-back-icon-margin: var( + --spectrum-navigational-indicator-top-to-back-icon-large + ); + --system-menu-size-xl-item-min-height: var(--spectrum-component-height-300); + --system-menu-size-xl-item-icon-height: var( + --spectrum-workflow-icon-size-300 + ); + --system-menu-size-xl-item-icon-width: var( + --spectrum-workflow-icon-size-300 + ); + --system-menu-size-xl-item-label-font-size: var(--spectrum-font-size-300); + --system-menu-size-xl-item-label-text-to-visual: var( + --spectrum-text-to-visual-300 + ); + --system-menu-size-xl-item-label-inline-edge-to-content: var( + --spectrum-component-edge-to-text-300 + ); + --system-menu-size-xl-item-top-edge-to-text: var( + --spectrum-component-top-to-text-300 + ); + --system-menu-size-xl-item-bottom-edge-to-text: var( + --spectrum-component-bottom-to-text-300 + ); + --system-menu-size-xl-item-text-to-control: var( + --spectrum-text-to-control-300 + ); + --system-menu-size-xl-item-description-font-size: var( + --spectrum-font-size-200 + ); + --system-menu-size-xl-section-header-font-size: var( + --spectrum-font-size-300 + ); + --system-menu-size-xl-section-header-min-width: var( + --spectrum-component-height-300 + ); + --system-menu-size-xl-item-selectable-edge-to-text-not-selected: var( + --spectrum-menu-item-selectable-edge-to-text-not-selected-extra-large + ); + --system-menu-size-xl-item-checkmark-height: var( + --spectrum-menu-item-checkmark-height-extra-large + ); + --system-menu-size-xl-item-checkmark-width: var( + --spectrum-menu-item-checkmark-width-extra-large + ); + --system-menu-size-xl-item-top-to-checkmark: var( + --spectrum-menu-item-top-to-selected-icon-extra-large + ); + --system-menu-size-xl-back-icon-margin: var( + --spectrum-navigational-indicator-top-to-back-icon-extra-large + ); +} + +:host, +:root { + --system-meter-min-width: var(--spectrum-meter-minimum-width); + --system-meter-max-width: var(--spectrum-meter-maximum-width); + --system-meter-fill-color-positive: var(--spectrum-positive-visual-color); + --system-meter-fill-color-notice: var(--spectrum-notice-visual-color); + --system-meter-fill-color-negative: var(--spectrum-negative-visual-color); + --system-meter-thickness: var(--spectrum-meter-thickness-large); + --system-meter-size-l-thickness: var(--spectrum-meter-thickness-large); + --system-meter-inline-size: var(--spectrum-progressbar-size-2500); + --system-meter-size-l-inline-size: var(--spectrum-progressbar-size-2500); + --system-meter-font-size: var(--spectrum-font-size-100); + --system-meter-size-l-font-size: var(--spectrum-font-size-100); + --system-meter-top-to-text: var(--spectrum-component-top-to-text-200); + --system-meter-size-l-top-to-text: var( + --spectrum-component-top-to-text-200 + ); + --system-meter-size-s-thickness: var(--spectrum-meter-thickness-small); + --system-meter-size-s-inline-size: var(--spectrum-progressbar-size-2400); + --system-meter-size-s-font-size: var(--spectrum-font-size-75); + --system-meter-size-s-top-to-text: var(--spectrum-component-top-to-text-75); +} + +:host, +:root { + --system-modal-confirm-exit-animation-delay: var( + --spectrum-animation-duration-0 + ); + --system-modal-confirm-entry-animation-distance: var( + --spectrum-dialog-confirm-entry-animation-distance + ); + --system-modal-fullscreen-margin: 32px; + --system-modal-max-height: 90vh; + --system-modal-max-width: 90%; + --system-modal-background-color: var(--spectrum-gray-100); + --system-modal-confirm-border-radius: var(--spectrum-corner-radius-100); + --system-modal-confirm-exit-animation-duration: var( + --spectrum-animation-duration-100 + ); + --system-modal-confirm-entry-animation-duration: var( + --spectrum-animation-duration-500 + ); + --system-modal-confirm-entry-animation-delay: var( + --spectrum-animation-duration-200 + ); + --system-modal-transition-animation-duration: var( + --spectrum-animation-duration-100 + ); +} + +:host, +:root { + --system-picker-background-color-default: var(--spectrum-gray-75); + --system-picker-background-color-default-open: var(--spectrum-gray-200); + --system-picker-background-color-active: var(--spectrum-gray-300); + --system-picker-background-color-hover: var(--spectrum-gray-200); + --system-picker-background-color-hover-open: var(--spectrum-gray-200); + --system-picker-background-color-key-focus: var(--spectrum-gray-200); + --system-picker-border-color-default: var(--spectrum-gray-500); + --system-picker-border-color-default-open: var(--spectrum-gray-500); + --system-picker-border-color-hover: var(--spectrum-gray-600); + --system-picker-border-color-hover-open: var(--spectrum-gray-600); + --system-picker-border-color-active: var(--spectrum-gray-700); + --system-picker-border-color-key-focus: var(--spectrum-gray-600); + --system-picker-border-width: var(--spectrum-border-width-100); + --system-picker-font-size: var(--spectrum-font-size-100); + --system-picker-font-weight: var(--spectrum-regular-font-weight); + --system-picker-placeholder-font-style: var(--spectrum-default-font-style); + --system-picker-line-height: var(--spectrum-line-height-100); + --system-picker-block-size: var(--spectrum-component-height-100); + --system-picker-inline-size: var(--spectrum-field-width); + --system-picker-border-radius: var(--spectrum-corner-radius-100); + --system-picker-spacing-top-to-text: var( + --spectrum-component-top-to-text-100 + ); + --system-picker-spacing-bottom-to-text: var( + --spectrum-component-bottom-to-text-100 + ); + --system-picker-spacing-edge-to-text: var( + --spectrum-component-edge-to-text-100 + ); + --system-picker-spacing-edge-to-text-quiet: var( + --spectrum-field-edge-to-text-quiet + ); + --system-picker-spacing-label-to: var(--spectrum-field-label-to-component); + --system-picker-spacing-text-to-icon: var(--spectrum-text-to-visual-100); + --system-picker-spacing-text-to-icon-inline-end: var( + --spectrum-field-text-to-alert-icon-medium + ); + --system-picker-spacing-icon-to-disclosure-icon: var( + --spectrum-picker-visual-to-disclosure-icon-medium + ); + --system-picker-spacing-label-to-quiet: var( + --spectrum-field-label-to-component-quiet-medium + ); + --system-picker-spacing-top-to-alert-icon: var( + --spectrum-field-top-to-alert-icon-medium + ); + --system-picker-spacing-top-to-progress-circle: var( + --spectrum-field-top-to-progress-circle-medium + ); + --system-picker-spacing-top-to-disclosure-icon: var( + --spectrum-field-top-to-disclosure-icon-100 + ); + --system-picker-spacing-edge-to-disclosure-icon: var( + --spectrum-field-end-edge-to-disclosure-icon-100 + ); + --system-picker-spacing-edge-to-disclosure-icon-quiet: var( + --spectrum-picker-end-edge-to-disclousure-icon-quiet + ); + --system-picker-animation-duration: var(--spectrum-animation-duration-100); + --system-picker-font-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-picker-font-color-default-open: var( + --spectrum-neutral-content-color-focus + ); + --system-picker-font-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-picker-font-color-hover-open: var( + --spectrum-neutral-content-color-focus-hover + ); + --system-picker-font-color-active: var( + --spectrum-neutral-content-color-down + ); + --system-picker-font-color-key-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-picker-icon-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-picker-icon-color-default-open: var( + --spectrum-neutral-content-color-focus + ); + --system-picker-icon-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-picker-icon-color-hover-open: var( + --spectrum-neutral-content-color-focus-hover + ); + --system-picker-icon-color-active: var( + --spectrum-neutral-content-color-down + ); + --system-picker-icon-color-key-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-picker-border-color-error-default: var( + --spectrum-negative-border-color-default + ); + --system-picker-border-color-error-default-open: var( + --spectrum-negative-border-color-focus + ); + --system-picker-border-color-error-hover: var( + --spectrum-negative-border-color-hover + ); + --system-picker-border-color-error-hover-open: var( + --spectrum-negative-border-color-focus-hover + ); + --system-picker-border-color-error-active: var( + --spectrum-negative-border-color-down + ); + --system-picker-border-color-error-key-focus: var( + --spectrum-negative-border-color-key-focus + ); + --system-picker-icon-color-error: var(--spectrum-negative-visual-color); + --system-picker-background-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-picker-font-color-disabled: var(--spectrum-disabled-content-color); + --system-picker-icon-color-disabled: var(--spectrum-disabled-content-color); + --system-picker-focus-indicator-gap: var(--spectrum-focus-indicator-gap); + --system-picker-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-picker-focus-indicator-color: var( + --spectrum-focus-indicator-color + ); + --system-picker-next-to-popover-bottom-open-spacing-to-popover: var( + --spectrum-component-to-menu-medium + ); + --system-picker-size-s-font-size: var(--spectrum-font-size-75); + --system-picker-size-s-block-size: var(--spectrum-component-height-75); + --system-picker-size-s-spacing-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-picker-size-s-spacing-bottom-to-text: var( + --spectrum-component-bottom-to-text-75 + ); + --system-picker-size-s-spacing-edge-to-text: var( + --spectrum-component-edge-to-text-75 + ); + --system-picker-size-s-spacing-text-to-icon: var( + --spectrum-text-to-visual-75 + ); + --system-picker-size-s-spacing-text-to-icon-inline-end: var( + --spectrum-field-text-to-alert-icon-small + ); + --system-picker-size-s-spacing-icon-to-disclosure-icon: var( + --spectrum-picker-visual-to-disclosure-icon-small + ); + --system-picker-size-s-spacing-label-to-quiet: var( + --spectrum-field-label-to-component-quiet-small + ); + --system-picker-size-s-spacing-top-to-alert-icon: var( + --spectrum-field-top-to-alert-icon-small + ); + --system-picker-size-s-spacing-top-to-progress-circle: var( + --spectrum-field-top-to-progress-circle-small + ); + --system-picker-size-s-spacing-top-to-disclosure-icon: var( + --spectrum-field-top-to-disclosure-icon-75 + ); + --system-picker-size-s-spacing-edge-to-disclosure-icon: var( + --spectrum-field-end-edge-to-disclosure-icon-75 + ); + --system-picker-size-s-next-to-popover-bottom-open-spacing-to-popover: var( + --spectrum-component-to-menu-small + ); + --system-picker-size-l-font-size: var(--spectrum-font-size-200); + --system-picker-size-l-block-size: var(--spectrum-component-height-200); + --system-picker-size-l-spacing-top-to-text: var( + --spectrum-component-top-to-text-200 + ); + --system-picker-size-l-spacing-bottom-to-text: var( + --spectrum-component-bottom-to-text-200 + ); + --system-picker-size-l-spacing-edge-to-text: var( + --spectrum-component-edge-to-text-200 + ); + --system-picker-size-l-spacing-text-to-icon: var( + --spectrum-text-to-visual-200 + ); + --system-picker-size-l-spacing-text-to-icon-inline-end: var( + --spectrum-field-text-to-alert-icon-large + ); + --system-picker-size-l-spacing-icon-to-disclosure-icon: var( + --spectrum-picker-visual-to-disclosure-icon-large + ); + --system-picker-size-l-spacing-label-to-quiet: var( + --spectrum-field-label-to-component-quiet-large + ); + --system-picker-size-l-spacing-top-to-alert-icon: var( + --spectrum-field-top-to-alert-icon-large + ); + --system-picker-size-l-spacing-top-to-progress-circle: var( + --spectrum-field-top-to-progress-circle-large + ); + --system-picker-size-l-spacing-top-to-disclosure-icon: var( + --spectrum-field-top-to-disclosure-icon-200 + ); + --system-picker-size-l-spacing-edge-to-disclosure-icon: var( + --spectrum-field-end-edge-to-disclosure-icon-200 + ); + --system-picker-size-l-next-to-popover-bottom-open-spacing-to-popover: var( + --spectrum-component-to-menu-large + ); + --system-picker-size-xl-font-size: var(--spectrum-font-size-300); + --system-picker-size-xl-block-size: var(--spectrum-component-height-300); + --system-picker-size-xl-spacing-top-to-text: var( + --spectrum-component-top-to-text-300 + ); + --system-picker-size-xl-spacing-bottom-to-text: var( + --spectrum-component-bottom-to-text-300 + ); + --system-picker-size-xl-spacing-edge-to-text: var( + --spectrum-component-edge-to-text-300 + ); + --system-picker-size-xl-spacing-text-to-icon: var( + --spectrum-text-to-visual-300 + ); + --system-picker-size-xl-spacing-text-to-icon-inline-end: var( + --spectrum-field-text-to-alert-icon-extra-large + ); + --system-picker-size-xl-spacing-icon-to-disclosure-icon: var( + --spectrum-picker-visual-to-disclosure-icon-extra-large + ); + --system-picker-size-xl-spacing-label-to-quiet: var( + --spectrum-field-label-to-component-quiet-extra-large + ); + --system-picker-size-xl-spacing-top-to-alert-icon: var( + --spectrum-field-top-to-alert-icon-extra-large + ); + --system-picker-size-xl-spacing-top-to-progress-circle: var( + --spectrum-field-top-to-progress-circle-extra-large + ); + --system-picker-size-xl-spacing-top-to-disclosure-icon: var( + --spectrum-field-top-to-disclosure-icon-300 + ); + --system-picker-size-xl-spacing-edge-to-disclosure-icon: var( + --spectrum-field-end-edge-to-disclosure-icon-300 + ); + --system-picker-size-xl-next-to-popover-bottom-open-spacing-to-popover: var( + --spectrum-component-to-menu-extra-large + ); +} + +:host, +:root { + --system-picker-button-background-color: var(--spectrum-gray-75); + --system-picker-button-background-color-hover: var(--spectrum-gray-200); + --system-picker-button-background-color-down: var(--spectrum-gray-300); + --system-picker-button-background-color-key-focus: var(--spectrum-gray-200); + --system-picker-button-border-color: inherit; + --system-picker-button-border-radius: var(--spectrum-corner-radius-100); + --system-picker-button-border-radius-rounded-sided: 0; + --system-picker-button-border-radius-sided: 0; + --system-picker-button-border-width: var(--spectrum-border-width-100); + --system-picker-button-height: var(--spectrum-component-height-100); + --system-picker-button-width: var(--spectrum-component-height-100); + --system-picker-button-gap: var(--spectrum-text-to-visual-50); + --system-picker-button-padding: var( + --spectrum-in-field-button-edge-to-fill + ); + --system-picker-button-label-padding: var(--spectrum-text-to-visual-50); + --system-picker-button-fill-padding: var( + --spectrum-field-edge-to-disclosure-icon-100 + ); + --system-picker-button-border-radius-rounded: var( + --spectrum-corner-radius-200 + ); + --system-picker-button-icon-color: var( + --spectrum-neutral-content-color-default + ); + --system-picker-button-icon-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-picker-button-icon-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-picker-button-icon-color-key-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-picker-button-font-color: var( + --spectrum-neutral-content-color-default + ); + --system-picker-button-font-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-picker-button-font-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-picker-button-font-color-key-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-picker-button-font-family: var(--spectrum-sans-font-family-stack); + --system-picker-button-font-style: var(--spectrum-default-font-style); + --system-picker-button-font-weight: var( + --spectrum-body-sans-serif-font-weight + ); + --system-picker-button-font-size: var(--spectrum-font-size-100); + --system-picker-button-background-animation-duration: var( + --spectrum-animation-duration-100 + ); + --system-picker-button-background-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-picker-button-background-color-hover-disabled: var( + --spectrum-disabled-background-color + ); + --system-picker-button-background-color-down-disabled: var( + --spectrum-disabled-background-color + ); + --system-picker-button-border-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-picker-button-font-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-picker-button-font-color-hover-disabled: var( + --spectrum-disabled-content-color + ); + --system-picker-button-font-color-down-disabled: var( + --spectrum-disabled-content-color + ); + --system-picker-button-icon-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-picker-button-icon-color-hover-disabled: var( + --spectrum-disabled-content-color + ); + --system-picker-button-icon-color-down-disabled: var( + --spectrum-disabled-content-color + ); + --system-picker-button-size-s-height: var(--spectrum-component-height-75); + --system-picker-button-size-s-width: var(--spectrum-component-height-75); + --system-picker-button-size-s-label-padding: var(--spectrum-spacing-75); + --system-picker-button-size-s-font-size: var(--spectrum-font-size-75); + --system-picker-button-size-s-fill-padding: var( + --spectrum-field-edge-to-disclosure-icon-75 + ); + --system-picker-button-size-l-height: var(--spectrum-component-height-200); + --system-picker-button-size-l-width: var(--spectrum-component-height-200); + --system-picker-button-size-l-label-padding: var( + --spectrum-text-to-visual-200 + ); + --system-picker-button-size-l-font-size: var(--spectrum-font-size-200); + --system-picker-button-size-l-fill-padding: var( + --spectrum-field-edge-to-disclosure-icon-200 + ); + --system-picker-button-size-xl-height: var(--spectrum-component-height-300); + --system-picker-button-size-xl-width: var(--spectrum-component-height-300); + --system-picker-button-size-xl-label-padding: var( + --spectrum-text-to-visual-300 + ); + --system-picker-button-size-xl-font-size: var(--spectrum-font-size-300); + --system-picker-button-size-xl-fill-padding: var( + --spectrum-field-edge-to-disclosure-icon-300 + ); +} + +:host, +:root { + --system-popover-border-width: var(--spectrum-border-width-100); + --system-popover-animation-distance: var(--spectrum-spacing-100); + --system-popover-background-color: var(--spectrum-background-layer-2-color); + --system-popover-border-color: var(--spectrum-gray-400); + --system-popover-content-area-spacing-vertical: var( + --spectrum-popover-top-to-content-area + ); + --system-popover-shadow-horizontal: var(--spectrum-drop-shadow-x); + --system-popover-shadow-vertical: var(--spectrum-drop-shadow-y); + --system-popover-shadow-blur: var(--spectrum-drop-shadow-blur); + --system-popover-shadow-color: var(--spectrum-drop-shadow-color); + --system-popover-corner-radius: var(--spectrum-corner-radius-100); + --system-popover-pointer-width: var(--spectrum-popover-tip-width); + --system-popover-pointer-height: var(--spectrum-popover-tip-height); + --system-popover-pointer-edge-offset: calc( + var(--spectrum-corner-radius-100) + var(--spectrum-popover-tip-width) / + 2 + ); + --system-popover-pointer-edge-spacing: calc( + var(--system-popover-pointer-edge-offset) - + var(--spectrum-popover-tip-width) / 2 + ); +} + +:host, +:root { + --system-progress-bar-animation-ease-in-out-indeterminate: var( + --spectrum-animation-ease-in-out + ); + --system-progress-bar-animation-duration-indeterminate: var( + --spectrum-animation-duration-2000 + ); + --system-progress-bar-corner-radius: var(--spectrum-corner-radius-100); + --system-progress-bar-fill-size-indeterminate: 70%; + --system-progress-bar-size-2400: 192px; + --system-progress-bar-size-2500: 200px; + --system-progress-bar-size-2800: 224px; + --system-progress-bar-line-height-cjk: var(--spectrum-cjk-line-height-100); + --system-progress-bar-min-size: var(--spectrum-progress-bar-minimum-width); + --system-progress-bar-max-size: var(--spectrum-progress-bar-maximum-width); + --system-progress-bar-line-height: var(--spectrum-line-height-100); + --system-progress-bar-spacing-label-to: var(--spectrum-spacing-75); + --system-progress-bar-spacing-label-to-text: var(--spectrum-spacing-200); + --system-progress-bar-text-color: var( + --spectrum-neutral-content-color-default + ); + --system-progress-bar-track-color: var(--spectrum-gray-300); + --system-progress-bar-fill-color: var(--spectrum-accent-color-900); + --system-progress-bar-label-and-value-white: var(--spectrum-white); + --system-progress-bar-track-color-white: var( + --spectrum-transparent-white-300 + ); + --system-progress-bar-fill-color-white: var(--spectrum-white); + --system-progress-bar-size-default: var(--system-progress-bar-size-2400); + --system-progress-bar-size-m-size-default: var( + --system-progress-bar-size-2400 + ); + --system-progress-bar-font-size: var(--spectrum-font-size-75); + --system-progress-bar-size-m-font-size: var(--spectrum-font-size-75); + --system-progress-bar-thickness: var( + --spectrum-progress-bar-thickness-large + ); + --system-progress-bar-size-m-thickness: var( + --spectrum-progress-bar-thickness-large + ); + --system-progress-bar-spacing-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-progress-bar-size-m-spacing-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-progress-bar-size-s-size-default: var( + --system-progress-bar-size-2400 + ); + --system-progress-bar-size-s-font-size: var(--spectrum-font-size-75); + --system-progress-bar-size-s-thickness: var( + --spectrum-progress-bar-thickness-small + ); + --system-progress-bar-size-s-spacing-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-progress-bar-size-l-size-default: var( + --system-progress-bar-size-2500 + ); + --system-progress-bar-size-l-font-size: var(--spectrum-font-size-100); + --system-progress-bar-size-l-thickness: var( + --spectrum-progress-bar-thickness-large + ); + --system-progress-bar-size-l-spacing-top-to-text: var( + --spectrum-component-top-to-text-200 + ); + --system-progress-bar-size-xl-size-default: var( + --system-progress-bar-size-2800 + ); + --system-progress-bar-size-xl-font-size: var(--spectrum-font-size-200); + --system-progress-bar-size-xl-thickness: var( + --spectrum-progress-bar-thickness-extra-large + ); + --system-progress-bar-size-xl-spacing-top-to-text: var( + --spectrum-component-top-to-text-300 + ); +} + +:host, +:root { + --system-progress-circle-track-border-color: var(--spectrum-gray-300); + --system-progress-circle-fill-border-color: var( + --spectrum-accent-content-color-default + ); + --system-progress-circle-track-border-color-over-background: var( + --spectrum-transparent-white-300 + ); + --system-progress-circle-fill-border-color-over-background: var( + --spectrum-transparent-white-900 + ); + --system-progress-circle-size: var(--spectrum-progress-circle-size-medium); + --system-progress-circle-thickness: var( + --spectrum-progress-circle-thickness-medium + ); + --system-progress-circle-track-border-style: solid; + --system-progress-circle-small-size: var( + --spectrum-progress-circle-size-small + ); + --system-progress-circle-small-thickness: var( + --spectrum-progress-circle-thickness-small + ); + --system-progress-circle-medium-size: var( + --spectrum-progress-circle-size-medium + ); + --system-progress-circle-medium-thickness: var( + --spectrum-progress-circle-thickness-medium + ); + --system-progress-circle-large-size: var( + --spectrum-progress-circle-size-large + ); + --system-progress-circle-large-thickness: var( + --spectrum-progress-circle-thickness-large + ); +} + +:host, +:root { + --system-radio-button-border-color-default: var(--spectrum-gray-600); + --system-radio-button-border-color-hover: var(--spectrum-gray-700); + --system-radio-button-border-color-down: var(--spectrum-gray-800); + --system-radio-button-border-color-focus: var(--spectrum-gray-700); + --system-radio-neutral-content-color: var( + --spectrum-neutral-content-color-default + ); + --system-radio-neutral-content-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-radio-neutral-content-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-radio-neutral-content-color-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-radio-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-radio-focus-indicator-gap: var(--spectrum-focus-indicator-gap); + --system-radio-focus-indicator-color: var(--spectrum-focus-indicator-color); + --system-radio-disabled-content-color: var( + --spectrum-disabled-content-color + ); + --system-radio-disabled-border-color: var( + --spectrum-disabled-content-color + ); + --system-radio-emphasized-accent-color: var(--spectrum-accent-color-900); + --system-radio-emphasized-accent-color-hover: var( + --spectrum-accent-color-1000 + ); + --system-radio-emphasized-accent-color-down: var( + --spectrum-accent-color-1100 + ); + --system-radio-emphasized-accent-color-focus: var( + --spectrum-accent-color-1000 + ); + --system-radio-border-width: var(--spectrum-border-width-200); + --system-radio-button-background-color: var(--spectrum-gray-50); + --system-radio-button-checked-border-color-default: var( + --spectrum-neutral-background-color-selected-default + ); + --system-radio-button-checked-border-color-hover: var( + --spectrum-neutral-background-color-selected-hover + ); + --system-radio-button-checked-border-color-down: var( + --spectrum-neutral-background-color-selected-down + ); + --system-radio-button-checked-border-color-focus: var( + --spectrum-neutral-background-color-selected-focus + ); + --system-radio-line-height: var(--spectrum-line-height-100); + --system-radio-animation-duration: var(--spectrum-animation-duration-100); + --system-radio-lang-ja-line-height-cjk: var(--spectrum-cjk-line-height-100); + --system-radio-lang-zh-line-height-cjk: var(--spectrum-cjk-line-height-100); + --system-radio-lang-ko-line-height-cjk: var(--spectrum-cjk-line-height-100); + --system-radio-height: var(--spectrum-component-height-100); + --system-radio-size-m-height: var(--spectrum-component-height-100); + --system-radio-button-control-size: var( + --spectrum-radio-button-control-size-medium + ); + --system-radio-size-m-button-control-size: var( + --spectrum-radio-button-control-size-medium + ); + --system-radio-text-to-control: var(--spectrum-text-to-control-100); + --system-radio-size-m-text-to-control: var(--spectrum-text-to-control-100); + --system-radio-label-top-to-text: var(--spectrum-component-top-to-text-100); + --system-radio-size-m-label-top-to-text: var( + --spectrum-component-top-to-text-100 + ); + --system-radio-label-bottom-to-text: var( + --spectrum-component-bottom-to-text-100 + ); + --system-radio-size-m-label-bottom-to-text: var( + --spectrum-component-bottom-to-text-100 + ); + --system-radio-button-top-to-control: var( + --spectrum-radio-button-top-to-control-medium + ); + --system-radio-size-m-button-top-to-control: var( + --spectrum-radio-button-top-to-control-medium + ); + --system-radio-font-size: var(--spectrum-font-size-100); + --system-radio-size-m-font-size: var(--spectrum-font-size-100); + --system-radio-size-s-height: var(--spectrum-component-height-75); + --system-radio-size-s-button-control-size: var( + --spectrum-radio-button-control-size-small + ); + --system-radio-size-s-text-to-control: var(--spectrum-text-to-control-75); + --system-radio-size-s-label-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-radio-size-s-label-bottom-to-text: var( + --spectrum-component-bottom-to-text-75 + ); + --system-radio-size-s-button-top-to-control: var( + --spectrum-radio-button-top-to-control-small + ); + --system-radio-size-s-font-size: var(--spectrum-font-size-75); + --system-radio-size-l-height: var(--spectrum-component-height-200); + --system-radio-size-l-button-control-size: var( + --spectrum-radio-button-control-size-large + ); + --system-radio-size-l-text-to-control: var(--spectrum-text-to-control-200); + --system-radio-size-l-label-top-to-text: var( + --spectrum-component-top-to-text-200 + ); + --system-radio-size-l-label-bottom-to-text: var( + --spectrum-component-bottom-to-text-200 + ); + --system-radio-size-l-button-top-to-control: var( + --spectrum-radio-button-top-to-control-large + ); + --system-radio-size-l-font-size: var(--spectrum-font-size-200); + --system-radio-size-xl-height: var(--spectrum-component-height-300); + --system-radio-size-xl-button-control-size: var( + --spectrum-radio-button-control-size-extra-large + ); + --system-radio-size-xl-text-to-control: var(--spectrum-text-to-control-300); + --system-radio-size-xl-label-top-to-text: var( + --spectrum-component-top-to-text-300 + ); + --system-radio-size-xl-label-bottom-to-text: var( + --spectrum-component-bottom-to-text-300 + ); + --system-radio-size-xl-button-top-to-control: var( + --spectrum-radio-button-top-to-control-extra-large + ); + --system-radio-size-xl-font-size: var(--spectrum-font-size-300); + --system-radio-emphasized-button-checked-border-color-default: var( + --spectrum-accent-color-900 + ); + --system-radio-emphasized-button-checked-border-color-hover: var( + --spectrum-accent-color-1000 + ); + --system-radio-emphasized-button-checked-border-color-down: var( + --spectrum-accent-color-1100 + ); + --system-radio-emphasized-button-checked-border-color-focus: var( + --spectrum-accent-color-1000 + ); +} + +:host, +:root { + --system-search-border-color-default: var(--spectrum-gray-500); + --system-search-border-color-hover: var(--spectrum-gray-600); + --system-search-border-color-focus: var(--spectrum-gray-800); + --system-search-border-color-focus-hover: var(--spectrum-gray-900); + --system-search-border-color-key-focus: var(--spectrum-gray-900); + --system-search-inline-size: var(--spectrum-field-width); + --system-search-min-inline-multiplier: var( + --spectrum-search-field-minimum-width-multiplier + ); + --system-search-to-help-text: var(--spectrum-help-text-to-component); + --system-search-top-to-text: var(--spectrum-component-top-to-text-100); + --system-search-bottom-to-text: var( + --spectrum-component-bottom-to-text-100 + ); + --system-search-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-search-focus-indicator-gap: var(--spectrum-focus-indicator-gap); + --system-search-focus-indicator-color: var( + --spectrum-focus-indicator-color + ); + --system-search-font-family: var(--spectrum-sans-font-family-stack); + --system-search-font-weight: var(--spectrum-regular-font-weight); + --system-search-font-style: var(--spectrum-default-font-style); + --system-search-line-height: var(--spectrum-line-height-100); + --system-search-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-search-color-hover: var(--spectrum-neutral-content-color-hover); + --system-search-color-focus: var(--spectrum-neutral-content-color-focus); + --system-search-color-focus-hover: var( + --spectrum-neutral-content-color-focus-hover + ); + --system-search-color-key-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-search-border-width: var(--spectrum-border-width-100); + --system-search-background-color: var(--spectrum-gray-50); + --system-search-color-disabled: var(--spectrum-disabled-content-color); + --system-search-background-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-search-border-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-search-border-radius: var(--spectrum-corner-radius-100); + --system-search-size-m-border-radius: var(--spectrum-corner-radius-100); + --system-search-edge-to-visual: var( + --spectrum-component-edge-to-visual-100 + ); + --system-search-size-m-edge-to-visual: var( + --spectrum-component-edge-to-visual-100 + ); + --system-search-block-size: var(--spectrum-component-height-100); + --system-search-size-m-block-size: var(--spectrum-component-height-100); + --system-search-icon-size: var(--spectrum-workflow-icon-size-100); + --system-search-size-m-icon-size: var(--spectrum-workflow-icon-size-100); + --system-search-text-to-icon: var(--spectrum-text-to-visual-100); + --system-search-size-m-text-to-icon: var(--spectrum-text-to-visual-100); + --system-search-size-s-border-radius: var(--spectrum-corner-radius-100); + --system-search-size-s-edge-to-visual: var( + --spectrum-component-edge-to-visual-75 + ); + --system-search-size-s-block-size: var(--spectrum-component-height-75); + --system-search-size-s-icon-size: var(--spectrum-workflow-icon-size-75); + --system-search-size-s-text-to-icon: var(--spectrum-text-to-visual-75); + --system-search-size-l-border-radius: var(--spectrum-corner-radius-100); + --system-search-size-l-edge-to-visual: var( + --spectrum-component-edge-to-visual-200 + ); + --system-search-size-l-block-size: var(--spectrum-component-height-200); + --system-search-size-l-icon-size: var(--spectrum-workflow-icon-size-200); + --system-search-size-l-text-to-icon: var(--spectrum-text-to-visual-200); + --system-search-size-xl-border-radius: var(--spectrum-corner-radius-100); + --system-search-size-xl-edge-to-visual: var( + --spectrum-component-edge-to-visual-300 + ); + --system-search-size-xl-block-size: var(--spectrum-component-height-300); + --system-search-size-xl-icon-size: var(--spectrum-workflow-icon-size-300); + --system-search-size-xl-text-to-icon: var(--spectrum-text-to-visual-300); + --system-search-quiet-background-color: transparent; + --system-search-quiet-background-color-disabled: transparent; + --system-search-quiet-border-color-disabled: var( + --spectrum-disabled-border-color + ); + --system-search-quiet-border-radius: 0; + --system-search-quiet-edge-to-visual: var( + --spectrum-field-edge-to-visual-quiet + ); +} + +:host, +:root { + --system-side-nav-focus-ring-size: var( + --spectrum-focus-indicator-thickness + ); + --system-side-nav-focus-ring-gap: var(--spectrum-focus-indicator-gap); + --system-side-nav-focus-ring-color: var(--spectrum-focus-indicator-color); + --system-side-nav-min-height: var(--spectrum-component-height-100); + --system-side-nav-width: 100%; + --system-side-nav-min-width: var(--spectrum-side-navigation-minimum-width); + --system-side-nav-max-width: var(--spectrum-side-navigation-maximum-width); + --system-side-nav-border-radius: var(--spectrum-corner-radius-100); + --system-side-nav-icon-size: var(--spectrum-workflow-icon-size-100); + --system-side-nav-icon-spacing: var(--spectrum-text-to-visual-100); + --system-side-nav-inline-padding: var( + --spectrum-component-edge-to-text-100 + ); + --system-side-nav-gap: var(--spectrum-side-navigation-item-to-item); + --system-side-nav-top-to-icon: var( + --spectrum-component-top-to-workflow-icon-100 + ); + --system-side-nav-top-to-label: var(--spectrum-component-top-to-text-100); + --system-side-nav-bottom-to-label: var( + --spectrum-side-navigation-bottom-to-text + ); + --system-side-nav-start-to-content-second-level: var( + --spectrum-side-navigation-second-level-edge-to-text + ); + --system-side-nav-start-to-content-third-level: var( + --spectrum-side-navigation-third-level-edge-to-text + ); + --system-side-nav-start-to-content-with-icon-second-level: var( + --spectrum-side-navigation-with-icon-second-level-edge-to-text + ); + --system-side-nav-start-to-content-with-icon-third-level: var( + --spectrum-side-navigation-with-icon-third-level-edge-to-text + ); + --system-side-nav-heading-top-margin: var( + --spectrum-side-navigation-item-to-header + ); + --system-side-nav-heading-bottom-margin: var( + --spectrum-side-navigation-header-to-item + ); + --system-side-nav-background-disabled: transparent; + --system-side-nav-background-default: transparent; + --system-side-nav-background-hover: var(--spectrum-gray-200); + --system-side-nav-item-background-down: var(--spectrum-gray-300); + --system-side-nav-background-key-focus: var(--spectrum-gray-200); + --system-side-nav-item-background-default-selected: var( + --spectrum-gray-200 + ); + --system-side-nav-background-hover-selected: var(--spectrum-gray-300); + --system-side-nav-item-background-down-selected: var(--spectrum-gray-300); + --system-side-nav-background-key-focus-selected: var(--spectrum-gray-200); + --system-side-nav-header-color: var(--spectrum-gray-600); + --system-side-nav-content-disabled-color: var( + --spectrum-disabled-content-color + ); + --system-side-nav-content-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-side-nav-content-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-side-nav-content-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-side-nav-content-color-key-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-side-nav-content-color-default-selected: var( + --spectrum-neutral-content-color-default + ); + --system-side-nav-content-color-hover-selected: var( + --spectrum-neutral-content-color-hover + ); + --system-side-nav-content-color-down-selected: var( + --spectrum-neutral-content-color-down + ); + --system-side-nav-content-color-key-focus-selected: var( + --spectrum-neutral-content-color-key-focus + ); + --system-side-nav-text-font-family: var(--spectrum-sans-font-family-stack); + --system-side-nav-text-font-weight: var(--spectrum-regular-font-weight); + --system-side-nav-text-font-style: var(--spectrum-default-font-style); + --system-side-nav-text-font-size: var(--spectrum-font-size-100); + --system-side-nav-text-line-height: var(--spectrum-line-height-100); + --system-side-nav-top-level-font-family: var( + --spectrum-sans-font-family-stack + ); + --system-side-nav-top-level-font-weight: var(--spectrum-bold-font-weight); + --system-side-nav-top-level-font-style: var(--spectrum-default-font-style); + --system-side-nav-top-level-font-size: var(--spectrum-font-size-100); + --system-side-nav-top-level-line-height: var(--spectrum-line-height-100); + --system-side-nav-header-font-family: var( + --spectrum-sans-font-family-stack + ); + --system-side-nav-header-font-weight: var(--spectrum-medium-font-weight); + --system-side-nav-header-font-style: var(--spectrum-default-font-style); + --system-side-nav-header-font-size: var(--spectrum-font-size-75); + --system-side-nav-header-line-height: var(--spectrum-line-height-100); + --system-side-nav-lang-ja-text-line-height: var( + --spectrum-cjk-line-height-100 + ); + --system-side-nav-lang-zh-text-line-height: var( + --spectrum-cjk-line-height-100 + ); + --system-side-nav-lang-ko-text-line-height: var( + --spectrum-cjk-line-height-100 + ); + --system-side-nav-lang-ja-top-level-line-height: var( + --spectrum-cjk-line-height-100 + ); + --system-side-nav-lang-zh-top-level-line-height: var( + --spectrum-cjk-line-height-100 + ); + --system-side-nav-lang-ko-top-level-line-height: var( + --spectrum-cjk-line-height-100 + ); + --system-side-nav-lang-ja-header-line-height: var( + --spectrum-cjk-line-height-100 + ); + --system-side-nav-lang-zh-header-line-height: var( + --spectrum-cjk-line-height-100 + ); + --system-side-nav-lang-ko-header-line-height: var( + --spectrum-cjk-line-height-100 + ); +} + +:host, +:root { + --system-slider-track-color: var(--spectrum-gray-300); + --system-slider-track-fill-color: var(--spectrum-gray-700); + --system-slider-ramp-track-color: var(--spectrum-gray-400); + --system-slider-ramp-track-color-disabled: var(--spectrum-gray-200); + --system-slider-handle-background-color: transparent; + --system-slider-handle-background-color-disabled: transparent; + --system-slider-ramp-handle-background-color: var(--spectrum-gray-100); + --system-slider-ticks-handle-background-color: var(--spectrum-gray-100); + --system-slider-handle-border-color: var(--spectrum-gray-700); + --system-slider-handle-disabled-background-color: var(--spectrum-gray-100); + --system-slider-tick-mark-color: var(--spectrum-gray-300); + --system-slider-handle-border-color-hover: var(--spectrum-gray-800); + --system-slider-handle-border-color-down: var(--spectrum-gray-800); + --system-slider-handle-border-color-key-focus: var(--spectrum-gray-800); + --system-slider-handle-focus-ring-color-key-focus: var( + --spectrum-focus-indicator-color + ); + --system-slider-value-inline-size: 18px; + --system-slider-ramp-track-block-size: var( + --spectrum-slider-ramp-track-height + ); + --system-slider-cjk-line-height: var(--spectrum-cjk-line-height-100); + --system-slider-min-size: var(--spectrum-spacing-900); + --system-slider-track-corner-radius: var(--spectrum-corner-radius-75); + --system-slider-label-margin-start: var(--spectrum-spacing-300); + --system-slider-handle-border-width: var(--spectrum-border-width-200); + --system-slider-track-fill-thickness: var( + --spectrum-slider-track-thickness + ); + --system-slider-tick-mark-width: var(--spectrum-border-width-200); + --system-slider-tick-mark-border-radius: 2px; + --system-slider-tick-handle-background-color: var(--spectrum-gray-75); + --system-slider-track-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-slider-track-fill-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-slider-handle-border-color-disabled: var( + --spectrum-disabled-border-color + ); + --system-slider-label-text-color: var( + --spectrum-neutral-content-color-default + ); + --system-slider-tick-label-color: var( + --spectrum-neutral-content-color-default + ); + --system-slider-label-text-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-slider-tick-mark-color-disabled: var( + --spectrum-disabled-background-color + ); + --system-slider-ramp-handle-border-color-active: var(--spectrum-gray-75); + --system-slider-track-handleoffset: var(--spectrum-slider-handle-gap); + --system-slider-range-track-reset: 0; + --system-slider-font-size: var(--spectrum-font-size-75); + --system-slider-size-m-font-size: var(--spectrum-font-size-75); + --system-slider-handle-size: var(--spectrum-slider-handle-size-medium); + --system-slider-size-m-handle-size: var( + --spectrum-slider-handle-size-medium + ); + --system-slider-control-height: var(--spectrum-component-height-100); + --system-slider-size-m-control-height: var(--spectrum-component-height-100); + --system-slider-handle-border-radius: var(--spectrum-corner-radius-200); + --system-slider-size-m-handle-border-radius: var( + --spectrum-corner-radius-200 + ); + --system-slider-handle-border-width-down: var( + --spectrum-slider-handle-border-width-down-medium + ); + --system-slider-size-m-handle-border-width-down: var( + --spectrum-slider-handle-border-width-down-medium + ); + --system-slider-label-top-to-text: var(--spectrum-component-top-to-text-75); + --system-slider-size-m-label-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-slider-control-to-field-label: var( + --spectrum-slider-control-to-field-label-medium + ); + --system-slider-size-m-control-to-field-label: var( + --spectrum-slider-control-to-field-label-medium + ); + --system-slider-value-side-padding-inline: var(--spectrum-spacing-200); + --system-slider-size-m-value-side-padding-inline: var( + --spectrum-spacing-200 + ); + --system-slider-size-s-font-size: var(--spectrum-font-size-75); + --system-slider-size-s-handle-size: var( + --spectrum-slider-handle-size-small + ); + --system-slider-size-s-control-height: var(--spectrum-component-height-75); + --system-slider-size-s-handle-border-radius: var( + --spectrum-corner-radius-200 + ); + --system-slider-size-s-handle-border-width-down: var( + --spectrum-slider-handle-border-width-down-small + ); + --system-slider-size-s-label-top-to-text: var( + --spectrum-component-top-to-text-75 + ); + --system-slider-size-s-control-to-field-label: var( + --spectrum-slider-control-to-field-label-small + ); + --system-slider-size-s-value-side-padding-inline: var( + --spectrum-spacing-100 + ); + --system-slider-size-l-font-size: var(--spectrum-font-size-100); + --system-slider-size-l-handle-size: var( + --spectrum-slider-handle-size-large + ); + --system-slider-size-l-control-height: var(--spectrum-component-height-200); + --system-slider-size-l-handle-border-radius: calc( + var(--spectrum-corner-radius-200) * 4 + ); + --system-slider-size-l-handle-border-width-down: var( + --spectrum-slider-handle-border-width-down-large + ); + --system-slider-size-l-label-top-to-text: var( + --spectrum-component-top-to-text-100 + ); + --system-slider-size-l-control-to-field-label: var( + --spectrum-slider-control-to-field-label-large + ); + --system-slider-size-l-value-side-padding-inline: var( + --spectrum-spacing-200 + ); + --system-slider-size-l-value-inline-size: 18px; + --system-slider-size-xl-font-size: var(--spectrum-font-size-200); + --system-slider-size-xl-handle-size: var( + --spectrum-slider-handle-size-extra-large + ); + --system-slider-size-xl-control-height: var( + --spectrum-component-height-300 + ); + --system-slider-size-xl-handle-border-radius: calc( + var(--spectrum-corner-radius-200) * 4 + ); + --system-slider-size-xl-handle-border-width-down: var( + --spectrum-slider-handle-border-width-down-extra-large + ); + --system-slider-size-xl-label-top-to-text: var( + --spectrum-component-top-to-text-200 + ); + --system-slider-size-xl-control-to-field-label: var( + --spectrum-slider-control-to-field-label-extra-large + ); + --system-slider-size-xl-value-side-padding-inline: var( + --spectrum-spacing-200 + ); + --system-slider-size-xl-value-inline-size: 22px; +} + +:host, +:root { + --system-split-view-vertical-width: 100%; + --system-split-view-vertical-gripper-width: 50%; + --system-split-view-vertical-gripper-outer-width: 100%; + --system-split-view-vertical-gripper-reset: 0; + --system-split-view-background-color: var(--spectrum-gray-100); + --system-split-view-content-color: var(--spectrum-body-color); + --system-split-view-handle-background-color: var(--spectrum-gray-300); + --system-split-view-handle-background-color-hover: var(--spectrum-gray-400); + --system-split-view-handle-background-color-down: var(--spectrum-gray-800); + --system-split-view-handle-background-color-focus: var( + --spectrum-focus-indicator-color + ); + --system-split-view-handle-width: var(--spectrum-border-width-200); + --system-split-view-gripper-border-radius: var(--spectrum-corner-radius-75); + --system-split-view-gripper-width: var(--spectrum-border-width-400); + --system-split-view-gripper-height: 16px; + --system-split-view-gripper-border-width-horizontal: 3px; + --system-split-view-gripper-border-width-vertical: var( + --spectrum-border-width-400 + ); +} + +:host, +:root { + --system-status-light-corner-radius: 50%; + --system-status-light-font-weight: 400; + --system-status-light-border-width: var(--spectrum-border-width-100); + --system-status-light-line-height: var(--spectrum-line-height-100); + --system-status-light-line-height-cjk: var(--spectrum-cjk-line-height-100); + --system-status-light-content-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-status-light-subdued-content-color-default: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-status-light-semantic-neutral-color: var( + --spectrum-neutral-visual-color + ); + --system-status-light-semantic-accent-color: var( + --spectrum-accent-visual-color + ); + --system-status-light-semantic-negative-color: var( + --spectrum-negative-visual-color + ); + --system-status-light-semantic-info-color: var( + --spectrum-informative-visual-color + ); + --system-status-light-semantic-notice-color: var( + --spectrum-notice-visual-color + ); + --system-status-light-semantic-positive-color: var( + --spectrum-positive-visual-color + ); + --system-status-light-nonsemantic-gray-color: var( + --spectrum-gray-visual-color + ); + --system-status-light-nonsemantic-red-color: var( + --spectrum-red-visual-color + ); + --system-status-light-nonsemantic-orange-color: var( + --spectrum-orange-visual-color + ); + --system-status-light-nonsemantic-yellow-color: var( + --spectrum-yellow-visual-color + ); + --system-status-light-nonsemantic-chartreuse-color: var( + --spectrum-chartreuse-visual-color + ); + --system-status-light-nonsemantic-celery-color: var( + --spectrum-celery-visual-color + ); + --system-status-light-nonsemantic-green-color: var( + --spectrum-green-visual-color + ); + --system-status-light-nonsemantic-seafoam-color: var( + --spectrum-seafoam-visual-color + ); + --system-status-light-nonsemantic-cyan-color: var( + --spectrum-cyan-visual-color + ); + --system-status-light-nonsemantic-blue-color: var( + --spectrum-blue-visual-color + ); + --system-status-light-nonsemantic-indigo-color: var( + --spectrum-indigo-visual-color + ); + --system-status-light-nonsemantic-purple-color: var( + --spectrum-purple-visual-color + ); + --system-status-light-nonsemantic-fuchsia-color: var( + --spectrum-fuchsia-visual-color + ); + --system-status-light-nonsemantic-magenta-color: var( + --spectrum-magenta-visual-color + ); + --system-status-light-height: var(--spectrum-component-height-100); + --system-status-light-size-m-height: var(--spectrum-component-height-100); + --system-status-light-dot-size: var( + --spectrum-status-light-dot-size-medium + ); + --system-status-light-size-m-dot-size: var( + --spectrum-status-light-dot-size-medium + ); + --system-status-light-font-size: var(--spectrum-font-size-100); + --system-status-light-size-m-font-size: var(--spectrum-font-size-100); + --system-status-light-spacing-dot-to-label: var( + --spectrum-text-to-visual-100 + ); + --system-status-light-size-m-spacing-dot-to-label: var( + --spectrum-text-to-visual-100 + ); + --system-status-light-spacing-top-to-dot: var( + --spectrum-status-light-top-to-dot-medium + ); + --system-status-light-size-m-spacing-top-to-dot: var( + --spectrum-status-light-top-to-dot-medium + ); + --system-status-light-spacing-top-to-label: var( + --spectrum-component-top-to-text-100 + ); + --system-status-light-size-m-spacing-top-to-label: var( + --spectrum-component-top-to-text-100 + ); + --system-status-light-spacing-bottom-to-label: var( + --spectrum-component-bottom-to-text-100 + ); + --system-status-light-size-m-spacing-bottom-to-label: var( + --spectrum-component-bottom-to-text-100 + ); + --system-status-light-size-s-height: var(--spectrum-component-height-75); + --system-status-light-size-s-dot-size: var( + --spectrum-status-light-dot-size-small + ); + --system-status-light-size-s-font-size: var(--spectrum-font-size-75); + --system-status-light-size-s-spacing-dot-to-label: var( + --spectrum-text-to-visual-75 + ); + --system-status-light-size-s-spacing-top-to-dot: var( + --spectrum-status-light-top-to-dot-small + ); + --system-status-light-size-s-spacing-top-to-label: var( + --spectrum-component-top-to-text-75 + ); + --system-status-light-size-s-spacing-bottom-to-label: var( + --spectrum-component-bottom-to-text-75 + ); + --system-status-light-size-l-height: var(--spectrum-component-height-200); + --system-status-light-size-l-dot-size: var( + --spectrum-status-light-dot-size-large + ); + --system-status-light-size-l-font-size: var(--spectrum-font-size-200); + --system-status-light-size-l-spacing-dot-to-label: var( + --spectrum-text-to-visual-200 + ); + --system-status-light-size-l-spacing-top-to-dot: var( + --spectrum-status-light-top-to-dot-large + ); + --system-status-light-size-l-spacing-top-to-label: var( + --spectrum-component-top-to-text-200 + ); + --system-status-light-size-l-spacing-bottom-to-label: var( + --spectrum-component-bottom-to-text-200 + ); + --system-status-light-size-xl-height: var(--spectrum-component-height-300); + --system-status-light-size-xl-dot-size: var( + --spectrum-status-light-dot-size-extra-large + ); + --system-status-light-size-xl-font-size: var(--spectrum-font-size-300); + --system-status-light-size-xl-spacing-dot-to-label: var( + --spectrum-text-to-visual-300 + ); + --system-status-light-size-xl-spacing-top-to-dot: var( + --spectrum-status-light-top-to-dot-extra-large + ); + --system-status-light-size-xl-spacing-top-to-label: var( + --spectrum-component-top-to-text-300 + ); + --system-status-light-size-xl-spacing-bottom-to-label: var( + --spectrum-component-bottom-to-text-300 + ); +} + +:host, +:root { + --system-stepper-border-width: var(--spectrum-border-width-100); + --system-stepper-border-color: var(--spectrum-gray-500); + --system-stepper-border-color-hover: var(--spectrum-gray-600); + --system-stepper-border-color-focus: var(--spectrum-gray-800); + --system-stepper-border-color-focus-hover: var(--spectrum-gray-800); + --system-stepper-border-color-keyboard-focus: var(--spectrum-gray-900); + --system-stepper-border-radius: var(--spectrum-corner-radius-100); + --system-stepper-min-width-multiplier: var( + --spectrum-text-field-minimum-width-multiplier + ); + --system-stepper-animation-duration: var(--spectrum-animation-duration-100); + --system-stepper-buttons-border-style: none; + --system-stepper-buttons-border-width: 0; + --system-stepper-buttons-background-color: var(--spectrum-gray-50); + --system-stepper-buttons-border-color: var(--spectrum-gray-500); + --system-stepper-buttons-border-color-hover: var(--spectrum-gray-600); + --system-stepper-buttons-border-color-focus: var(--spectrum-gray-800); + --system-stepper-buttons-border-color-keyboard-focus: var( + --spectrum-gray-900 + ); + --system-stepper-button-padding: var( + --spectrum-in-field-button-edge-to-fill + ); + --system-stepper-button-border-radius-reset: 0px; + --system-stepper-button-border-width: var(--spectrum-border-width-100); + --system-stepper-border-color-invalid: var( + --spectrum-negative-border-color-default + ); + --system-stepper-border-color-hover-invalid: var( + --spectrum-negative-border-color-hover + ); + --system-stepper-border-color-focus-invalid: var( + --spectrum-negative-border-color-focus + ); + --system-stepper-border-color-focus-hover-invalid: var( + --spectrum-negative-border-color-focus-hover + ); + --system-stepper-border-color-keyboard-focus-invalid: var( + --spectrum-negative-border-color-key-focus + ); + --system-stepper-focus-indicator-width: var( + --spectrum-focus-indicator-thickness + ); + --system-stepper-focus-indicator-gap: var(--spectrum-focus-indicator-gap); + --system-stepper-focus-indicator-color: var( + --spectrum-focus-indicator-color + ); + --system-stepper-button-border-color-disabled: var(--spectrum-gray-200); + --system-stepper-button-border-width-disabled: var( + --spectrum-border-width-100 + ); + --system-stepper-buttons-background-color-disabled: var( + --spectrum-gray-100 + ); + --system-stepper-button-width: var( + --spectrum-in-field-button-width-stacked-medium + ); + --system-stepper-size-m-button-width: var( + --spectrum-in-field-button-width-stacked-medium + ); + --system-stepper-height: var(--spectrum-component-height-100); + --system-stepper-size-m-height: var(--spectrum-component-height-100); + --system-stepper-size-s-button-width: var( + --spectrum-in-field-button-width-stacked-small + ); + --system-stepper-size-s-height: var(--spectrum-component-height-75); + --system-stepper-size-l-button-width: var( + --spectrum-in-field-button-width-stacked-large + ); + --system-stepper-size-l-height: var(--spectrum-component-height-200); + --system-stepper-size-xl-button-width: var( + --spectrum-in-field-button-width-stacked-extra-large + ); + --system-stepper-size-xl-height: var(--spectrum-component-height-300); + --system-stepper-button-background-color-keyboard-focus: var( + --spectrum-gray-200 + ); +} + +:host, +:root { + --system-swatch-border-radius: var(--spectrum-corner-radius-100); + --system-swatch-focus-indicator-border-radius: var( + --spectrum-corner-radius-200 + ); + --system-swatch-border-thickness: var(--spectrum-border-width-100); + --system-swatch-border-thickness-selected: var(--spectrum-border-width-200); + --system-swatch-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-swatch-focus-indicator-gap: var(--spectrum-focus-indicator-gap); + --system-swatch-border-color-opacity: 0.51; + --system-swatch-border-color-light-opacity: 0.2; + --system-swatch-border-color: rgba( + var(--spectrum-gray-900-rgb), + var(--system-swatch-border-color-opacity) + ); + --system-swatch-icon-border-color: rgba( + var(--spectrum-black-rgb), + var(--system-swatch-border-color-opacity) + ); + --system-swatch-border-color-light: rgba( + var(--spectrum-black-rgb), + var(--system-swatch-border-color-light-opacity) + ); + --system-swatch-border-color-selected: var(--spectrum-gray-900); + --system-swatch-inner-border-color-selected: var(--spectrum-gray-50); + --system-swatch-disabled-icon-color: var(--spectrum-gray-50); + --system-swatch-dash-icon-color: var(--spectrum-gray-800); + --system-swatch-slash-icon-color: var(--spectrum-red-900); + --system-swatch-focus-indicator-color: var( + --spectrum-focus-indicator-color + ); + --system-swatch-size: var(--spectrum-swatch-size-medium); + --system-swatch-size-m-size: var(--spectrum-swatch-size-medium); + --system-swatch-disabled-icon-size: var(--spectrum-workflow-icon-size-100); + --system-swatch-size-m-disabled-icon-size: var( + --spectrum-workflow-icon-size-100 + ); + --system-swatch-slash-thickness: var( + --spectrum-swatch-slash-thickness-medium + ); + --system-swatch-size-m-slash-thickness: var( + --spectrum-swatch-slash-thickness-medium + ); + --system-swatch-size-xs-size: var(--spectrum-swatch-size-extra-small); + --system-swatch-size-xs-disabled-icon-size: var( + --spectrum-workflow-icon-size-50 + ); + --system-swatch-size-xs-slash-thickness: var( + --spectrum-swatch-slash-thickness-extra-small + ); + --system-swatch-size-s-size: var(--spectrum-swatch-size-small); + --system-swatch-size-s-disabled-icon-size: var( + --spectrum-workflow-icon-size-75 + ); + --system-swatch-size-s-slash-thickness: var( + --spectrum-swatch-slash-thickness-small + ); + --system-swatch-size-l-size: var(--spectrum-swatch-size-large); + --system-swatch-size-l-disabled-icon-size: var( + --spectrum-workflow-icon-size-200 + ); + --system-swatch-size-l-slash-thickness: var( + --spectrum-swatch-slash-thickness-large + ); +} + +:host, +:root { + --system-swatch-group-spacing-compact: var(--spectrum-spacing-50); + --system-swatch-group-spacing-regular: var(--spectrum-spacing-75); + --system-swatch-group-spacing-spacious: var(--spectrum-spacing-100); +} + +:host, +:root { + --system-opacity-checkerboard-dark: var( + --spectrum-opacity-checkerboard-square-dark + ); + --system-opacity-checkerboard-light: var( + --spectrum-opacity-checkerboard-square-light + ); + --system-opacity-checkerboard-size: var( + --spectrum-opacity-checkerboard-square-size + ); + --system-opacity-checkerboard-position: left top; +} + +:host, +:root { + --system-switch-handle-border-color-default: var(--spectrum-gray-600); + --system-switch-handle-border-color-hover: var(--spectrum-gray-700); + --system-switch-handle-border-color-down: var(--spectrum-gray-800); + --system-switch-handle-border-color-focus: var(--spectrum-gray-700); + --system-switch-handle-border-color-selected-default: var( + --spectrum-gray-700 + ); + --system-switch-handle-border-color-selected-hover: var( + --spectrum-gray-800 + ); + --system-switch-handle-border-color-selected-down: var(--spectrum-gray-900); + --system-switch-handle-border-color-selected-focus: var( + --spectrum-gray-800 + ); + --system-switch-label-color-default: var( + --spectrum-neutral-content-color-default + ); + --system-switch-label-color-hover: var( + --spectrum-neutral-content-color-hover + ); + --system-switch-label-color-down: var( + --spectrum-neutral-content-color-down + ); + --system-switch-label-color-focus: var( + --spectrum-neutral-content-color-key-focus + ); + --system-switch-label-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-switch-background-color: var(--spectrum-gray-300); + --system-switch-background-color-disabled: var(--spectrum-gray-300); + --system-switch-background-color-selected-disabled: var( + --spectrum-disabled-content-color + ); + --system-switch-background-color-selected-default: var( + --spectrum-neutral-background-color-selected-default + ); + --system-switch-background-color-selected-hover: var( + --spectrum-neutral-background-color-selected-hover + ); + --system-switch-background-color-selected-down: var( + --spectrum-neutral-background-color-selected-down + ); + --system-switch-background-color-selected-focus: var( + --spectrum-neutral-background-color-selected-key-focus + ); + --system-switch-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-switch-focus-indicator-color: var( + --spectrum-focus-indicator-color + ); + --system-switch-handle-background-color: var(--spectrum-gray-75); + --system-switch-handle-border-color-disabled: var( + --spectrum-disabled-content-color + ); + --system-switch-disabled-label-color-default: var( + --spectrum-disabled-content-color + ); + --system-switch-emphasized-background-color-selected-default: var( + --spectrum-accent-color-900 + ); + --system-switch-emphasized-background-color-selected-hover: var( + --spectrum-accent-color-1000 + ); + --system-switch-emphasized-background-color-selected-down: var( + --spectrum-accent-color-1100 + ); + --system-switch-emphasized-background-color-selected-focus: var( + --spectrum-accent-color-1000 + ); + --system-switch-emphasized-handle-border-color-selected-default: var( + --spectrum-accent-color-900 + ); + --system-switch-emphasized-handle-border-color-selected-hover: var( + --spectrum-accent-color-1000 + ); + --system-switch-emphasized-handle-border-color-selected-down: var( + --spectrum-accent-color-1100 + ); + --system-switch-emphasized-handle-border-color-selected-focus: var( + --spectrum-accent-color-1000 + ); + --system-switch-min-height: var(--spectrum-component-height-100); + --system-switch-size-m-min-height: var(--spectrum-component-height-100); + --system-switch-control-width: var(--spectrum-switch-control-width-medium); + --system-switch-size-m-control-width: var( + --spectrum-switch-control-width-medium + ); + --system-switch-control-height: var( + --spectrum-switch-control-height-medium + ); + --system-switch-size-m-control-height: var( + --spectrum-switch-control-height-medium + ); + --system-switch-control-label-spacing: var(--spectrum-text-to-control-100); + --system-switch-size-m-control-label-spacing: var( + --spectrum-text-to-control-100 + ); + --system-switch-spacing-top-to-control: var( + --spectrum-switch-top-to-control-medium + ); + --system-switch-size-m-spacing-top-to-control: var( + --spectrum-switch-top-to-control-medium + ); + --system-switch-spacing-top-to-label: var( + --spectrum-component-top-to-text-100 + ); + --system-switch-size-m-spacing-top-to-label: var( + --spectrum-component-top-to-text-100 + ); + --system-switch-font-size: var(--spectrum-font-size-100); + --system-switch-size-m-font-size: var(--spectrum-font-size-100); + --system-switch-size-s-min-height: var(--spectrum-component-height-75); + --system-switch-size-s-control-width: var( + --spectrum-switch-control-width-small + ); + --system-switch-size-s-control-height: var( + --spectrum-switch-control-height-small + ); + --system-switch-size-s-control-label-spacing: var( + --spectrum-text-to-control-75 + ); + --system-switch-size-s-spacing-top-to-control: var( + --spectrum-switch-top-to-control-small + ); + --system-switch-size-s-spacing-top-to-label: var( + --spectrum-component-top-to-text-75 + ); + --system-switch-size-s-font-size: var(--spectrum-font-size-75); + --system-switch-size-l-min-height: var(--spectrum-component-height-200); + --system-switch-size-l-control-width: var( + --spectrum-switch-control-width-large + ); + --system-switch-size-l-control-height: var( + --spectrum-switch-control-height-large + ); + --system-switch-size-l-control-label-spacing: var( + --spectrum-text-to-control-200 + ); + --system-switch-size-l-spacing-top-to-control: var( + --spectrum-switch-top-to-control-large + ); + --system-switch-size-l-spacing-top-to-label: var( + --spectrum-component-top-to-text-200 + ); + --system-switch-size-l-font-size: var(--spectrum-font-size-200); + --system-switch-size-xl-min-height: var(--spectrum-component-height-300); + --system-switch-size-xl-control-width: var( + --spectrum-switch-control-width-extra-large + ); + --system-switch-size-xl-control-height: var( + --spectrum-switch-control-height-extra-large + ); + --system-switch-size-xl-control-label-spacing: var( + --spectrum-text-to-control-300 + ); + --system-switch-size-xl-spacing-top-to-control: var( + --spectrum-switch-top-to-control-extra-large + ); + --system-switch-size-xl-spacing-top-to-label: var( + --spectrum-component-top-to-text-300 + ); + --system-switch-size-xl-font-size: var(--spectrum-font-size-300); +} + +:host, +:root { + --system-table-header-top-to-text: var( + --spectrum-table-column-header-row-top-to-text-medium + ); + --system-table-header-bottom-to-text: var( + --spectrum-table-column-header-row-bottom-to-text-medium + ); + --system-table-min-header-height: var(--spectrum-component-height-100); + --system-table-min-row-height: var( + --spectrum-table-row-height-medium-regular + ); + --system-table-row-top-to-text: var( + --spectrum-table-row-top-to-text-medium-regular + ); + --system-table-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-medium-regular + ); + --system-table-cell-inline-space: var(--spectrum-table-edge-to-content); + --system-table-border-radius: var(--spectrum-corner-radius-100); + --system-table-border-width: var(--spectrum-table-border-divider-width); + --system-table-outer-border-inline-width: var( + --spectrum-table-border-divider-width + ); + --system-table-icon-to-text: var(--spectrum-text-to-visual-100); + --system-table-default-vertical-align: top; + --system-table-header-vertical-align: middle; + --system-table-header-font-weight: var(--spectrum-bold-font-weight); + --system-table-row-font-family: var(--spectrum-sans-font-family-stack); + --system-table-row-font-weight: var(--spectrum-regular-font-weight); + --system-table-row-font-style: var(--spectrum-default-font-style); + --system-table-row-font-size: var(--spectrum-font-size-100); + --system-table-row-line-height: var(--spectrum-line-height-100); + --system-table-border-color: var(--spectrum-gray-300); + --system-table-divider-color: var(--spectrum-gray-300); + --system-table-header-background-color: var( + --spectrum-transparent-white-100 + ); + --system-table-header-text-color: var(--spectrum-body-color); + --system-table-row-background-color: var(--spectrum-gray-50); + --system-table-row-text-color: var( + --spectrum-neutral-content-color-default + ); + --system-table-selected-row-background-color: rgba( + var(--spectrum-blue-900-rgb), + var(--spectrum-table-selected-row-background-opacity) + ); + --system-table-selected-row-background-color-non-emphasized: rgba( + var(--spectrum-gray-700-rgb), + var(--spectrum-table-selected-row-background-opacity-non-emphasized) + ); + --system-table-row-background-color-hover: rgba( + var(--spectrum-gray-900-rgb), + var(--spectrum-table-row-hover-opacity) + ); + --system-table-row-active-color: rgba( + var(--spectrum-gray-900-rgb), + var(--spectrum-table-row-down-opacity) + ); + --system-table-selected-row-background-color-focus: rgba( + var(--spectrum-blue-900-rgb), + var(--spectrum-table-selected-row-background-opacity-hover) + ); + --system-table-selected-row-background-color-non-emphasized-focus: rgba( + var(--spectrum-gray-700-rgb), + var( + --spectrum-table-selected-row-background-opacity-non-emphasized-hover + ) + ); + --system-table-icon-color-default: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-table-icon-color-hover: var( + --spectrum-neutral-subdued-content-color-hover + ); + --system-table-icon-color-active: var( + --spectrum-neutral-subdued-content-color-down ); - --system-spectrum-button-selected-content-color-hover: var( - --spectrum-white + --system-table-icon-color-focus: var( + --spectrum-neutral-subdued-content-color-focus ); - --system-spectrum-button-selected-content-color-down: var(--spectrum-white); - --system-spectrum-button-selected-content-color-focus: var( - --spectrum-white + --system-table-icon-color-focus-hover: var( + --spectrum-neutral-subdued-content-focus-hover + ); + --system-table-icon-color-key-focus: var( + --spectrum-neutral-subdued-content-color-key-focus + ); + --system-table-header-checkbox-block-spacing: var( + --spectrum-table-header-row-checkbox-to-top-medium + ); + --system-table-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-medium-regular + ); + --system-table-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness + ); + --system-table-focus-indicator-color: var(--spectrum-focus-indicator-color); + --system-table-drop-zone-background-color: rgba( + var(--spectrum-drop-zone-background-color-rgb), + var(--spectrum-drop-zone-background-color-opacity) + ); + --system-table-drop-zone-outline-color: var(--spectrum-accent-visual-color); + --system-table-transition-duration: var(--spectrum-animation-duration-100); + --system-table-summary-row-font-weight: var(--spectrum-bold-font-weight); + --system-table-summary-row-background-color: var(--spectrum-gray-200); + --system-table-section-header-min-height: var( + --spectrum-table-section-header-row-height-medium + ); + --system-table-section-header-block-start-spacing: var( + --spectrum-component-top-to-text-100 + ); + --system-table-section-header-block-end-spacing: var( + --spectrum-component-bottom-to-text-100 + ); + --system-table-section-header-font-weight: var(--spectrum-bold-font-weight); + --system-table-section-header-background-color: var(--spectrum-gray-200); + --system-table-collapsible-tier-indent: var(--spectrum-spacing-300); + --system-table-collapsible-disclosure-inline-spacing: 0px; + --system-table-disclosure-icon-size: var(--spectrum-component-height-100); + --system-table-collapsible-icon-animation-duration: var( + --spectrum-animation-duration-100 + ); + --system-table-thumbnail-to-text: var(--spectrum-text-to-visual-100); + --system-table-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-medium-regular + ); + --system-table-thumbnail-size: var(--spectrum-thumbnail-size-300); + --system-table-cell-background-color: var( + --system-table-row-background-color + ); + --system-table-selected-cell-background-color: var( + --system-table-selected-row-background-color-non-emphasized + ); + --system-table-selected-cell-background-color-focus: var( + --system-table-selected-row-background-color-non-emphasized-focus + ); + --system-table-size-s-min-header-height: var( + --spectrum-component-height-100 + ); + --system-table-size-s-header-top-to-text: var( + --spectrum-table-column-header-row-top-to-text-small + ); + --system-table-size-s-header-bottom-to-text: var( + --spectrum-table-column-header-row-bottom-to-text-small + ); + --system-table-size-s-min-row-height: var( + --spectrum-table-row-height-small-regular + ); + --system-table-size-s-row-top-to-text: var( + --spectrum-table-row-top-to-text-small-regular + ); + --system-table-size-s-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-small-regular + ); + --system-table-size-s-icon-to-text: var(--spectrum-text-to-visual-100); + --system-table-size-s-row-font-size: var(--spectrum-font-size-75); + --system-table-size-s-header-checkbox-block-spacing: var( + --spectrum-table-header-row-checkbox-to-top-small + ); + --system-table-size-s-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-small-regular + ); + --system-table-size-s-section-header-min-height: var( + --spectrum-table-section-header-row-height-small + ); + --system-table-size-s-section-header-block-start-spacing: var( + --spectrum-component-top-to-text-75 + ); + --system-table-size-s-section-header-block-end-spacing: var( + --spectrum-component-bottom-to-text-75 + ); + --system-table-size-s-disclosure-icon-size: var( + --spectrum-component-height-75 + ); + --system-table-size-s-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-small-regular + ); + --system-table-size-s-thumbnail-to-text: var(--spectrum-text-to-visual-100); + --system-table-size-s-thumbnail-size: var(--spectrum-thumbnail-size-200); + --system-table-size-l-min-header-height: var( + --spectrum-component-height-200 + ); + --system-table-size-l-header-top-to-text: var( + --spectrum-table-column-header-row-top-to-text-large + ); + --system-table-size-l-header-bottom-to-text: var( + --spectrum-table-column-header-row-bottom-to-text-large + ); + --system-table-size-l-min-row-height: var( + --spectrum-table-row-height-large-regular + ); + --system-table-size-l-row-top-to-text: var( + --spectrum-table-row-top-to-text-large-regular + ); + --system-table-size-l-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-large-regular + ); + --system-table-size-l-icon-to-text: var(--spectrum-text-to-visual-200); + --system-table-size-l-row-font-size: var(--spectrum-font-size-200); + --system-table-size-l-header-checkbox-block-spacing: var( + --spectrum-table-header-row-checkbox-to-top-large + ); + --system-table-size-l-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-large-regular + ); + --system-table-size-l-section-header-min-height: var( + --spectrum-table-section-header-row-height-large + ); + --system-table-size-l-section-header-block-start-spacing: var( + --spectrum-component-top-to-text-200 + ); + --system-table-size-l-section-header-block-end-spacing: var( + --spectrum-component-bottom-to-text-200 + ); + --system-table-size-l-disclosure-icon-size: var( + --spectrum-component-height-200 + ); + --system-table-size-l-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-large-regular + ); + --system-table-size-l-thumbnail-to-text: var(--spectrum-text-to-visual-200); + --system-table-size-l-thumbnail-size: var(--spectrum-thumbnail-size-500); + --system-table-size-xl-min-header-height: var( + --spectrum-component-height-300 + ); + --system-table-size-xl-header-top-to-text: var( + --spectrum-table-column-header-row-top-to-text-extra-large + ); + --system-table-size-xl-header-bottom-to-text: var( + --spectrum-table-column-header-row-bottom-to-text-extra-large + ); + --system-table-size-xl-min-row-height: var( + --spectrum-table-row-height-extra-large-regular + ); + --system-table-size-xl-row-top-to-text: var( + --spectrum-table-row-top-to-text-extra-large-regular + ); + --system-table-size-xl-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-extra-large-regular + ); + --system-table-size-xl-icon-to-text: var(--spectrum-text-to-visual-300); + --system-table-size-xl-row-font-size: var(--spectrum-font-size-300); + --system-table-size-xl-header-checkbox-block-spacing: var( + --spectrum-table-header-row-checkbox-to-top-extra-large + ); + --system-table-size-xl-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-extra-large-regular + ); + --system-table-size-xl-section-header-min-height: var( + --spectrum-table-section-header-row-height-extra-large + ); + --system-table-size-xl-section-header-block-start-spacing: var( + --spectrum-component-top-to-text-300 + ); + --system-table-size-xl-section-header-block-end-spacing: var( + --spectrum-component-bottom-to-text-300 + ); + --system-table-size-xl-disclosure-icon-size: var( + --spectrum-component-height-300 + ); + --system-table-size-xl-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-extra-large-regular + ); + --system-table-size-xl-thumbnail-to-text: var( + --spectrum-text-to-visual-300 + ); + --system-table-size-xl-thumbnail-size: var(--spectrum-thumbnail-size-700); + --system-table-compact-min-row-height: var( + --spectrum-table-row-height-medium-compact + ); + --system-table-compact-row-top-to-text: var( + --spectrum-table-row-top-to-text-medium-compact + ); + --system-table-compact-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-medium-compact + ); + --system-table-compact-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-medium-compact + ); + --system-table-compact-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-medium-compact + ); + --system-table-compact-thumbnail-size: var(--spectrum-thumbnail-size-200); + --system-table-compact-size-s-min-row-height: var( + --spectrum-table-row-height-small-compact + ); + --system-table-compact-size-s-row-top-to-text: var( + --spectrum-table-row-top-to-text-small-compact + ); + --system-table-compact-size-s-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-small-compact + ); + --system-table-compact-size-s-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-small-compact + ); + --system-table-compact-size-s-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-small-compact + ); + --system-table-compact-size-s-thumbnail-size: var( + --spectrum-thumbnail-size-50 + ); + --system-table-compact-size-l-min-row-height: var( + --spectrum-table-row-height-large-compact + ); + --system-table-compact-size-l-row-top-to-text: var( + --spectrum-table-row-top-to-text-large-compact + ); + --system-table-compact-size-l-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-large-compact + ); + --system-table-compact-size-l-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-large-compact + ); + --system-table-compact-size-l-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-large-compact + ); + --system-table-compact-size-l-thumbnail-size: var( + --spectrum-thumbnail-size-300 + ); + --system-table-compact-size-xl-min-row-height: var( + --spectrum-table-row-height-extra-large-compact + ); + --system-table-compact-size-xl-row-top-to-text: var( + --spectrum-table-row-top-to-text-extra-large-compact + ); + --system-table-compact-size-xl-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-extra-large-compact + ); + --system-table-compact-size-xl-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-extra-large-compact + ); + --system-table-compact-size-xl-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-extra-large-compact + ); + --system-table-compact-size-xl-thumbnail-size: var( + --spectrum-thumbnail-size-500 + ); + --system-table-spacious-min-row-height: var( + --spectrum-table-row-height-medium-spacious + ); + --system-table-spacious-row-top-to-text: var( + --spectrum-table-row-top-to-text-medium-spacious + ); + --system-table-spacious-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-medium-spacious + ); + --system-table-spacious-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-medium-spacious + ); + --system-table-spacious-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-medium-spacious + ); + --system-table-spacious-thumbnail-size: var(--spectrum-thumbnail-size-500); + --system-table-spacious-size-s-min-row-height: var( + --spectrum-table-row-height-small-spacious + ); + --system-table-spacious-size-s-row-top-to-text: var( + --spectrum-table-row-top-to-text-small-spacious + ); + --system-table-spacious-size-s-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-small-spacious + ); + --system-table-spacious-size-s-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-small-spacious + ); + --system-table-spacious-size-s-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-small-spacious + ); + --system-table-spacious-size-s-thumbnail-size: var( + --spectrum-thumbnail-size-300 + ); + --system-table-spacious-size-l-min-row-height: var( + --spectrum-table-row-height-large-spacious + ); + --system-table-spacious-size-l-row-top-to-text: var( + --spectrum-table-row-top-to-text-large-spacious + ); + --system-table-spacious-size-l-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-large-spacious + ); + --system-table-spacious-size-l-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-large-spacious + ); + --system-table-spacious-size-l-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-large-spacious + ); + --system-table-spacious-size-l-thumbnail-size: var( + --spectrum-thumbnail-size-700 + ); + --system-table-spacious-size-xl-min-row-height: var( + --spectrum-table-row-height-extra-large-spacious + ); + --system-table-spacious-size-xl-row-top-to-text: var( + --spectrum-table-row-top-to-text-extra-large-spacious + ); + --system-table-spacious-size-xl-row-bottom-to-text: var( + --spectrum-table-row-bottom-to-text-extra-large-spacious + ); + --system-table-spacious-size-xl-row-checkbox-block-spacing: var( + --spectrum-table-row-checkbox-to-top-extra-large-spacious + ); + --system-table-spacious-size-xl-thumbnail-block-spacing: var( + --spectrum-table-thumbnail-to-top-minimum-extra-large-spacious + ); + --system-table-spacious-size-xl-thumbnail-size: var( + --spectrum-thumbnail-size-800 + ); + --system-table-emphasized-selected-cell-background-color: var( + --system-table-selected-row-background-color + ); + --system-table-emphasized-selected-cell-background-color-focus: var( + --system-table-selected-row-background-color-focus + ); + --system-table-quiet-border-radius: 0px; + --system-table-quiet-outer-border-inline-width: 0px; + --system-table-quiet-header-background-color: var( + --spectrum-transparent-white-100 + ); + --system-table-quiet-row-background-color: var( + --spectrum-transparent-white-100 + ); +} + +:host, +:root { + --system-tabs-font-weight: var(--spectrum-default-font-weight); + --system-tabs-item-height: var(--spectrum-tab-item-height-medium); + --system-tabs-item-horizontal-spacing: var( + --spectrum-tab-item-to-tab-item-horizontal-medium + ); + --system-tabs-item-vertical-spacing: var( + --spectrum-tab-item-to-tab-item-vertical-medium + ); + --system-tabs-start-to-edge: var(--spectrum-tab-item-start-to-edge-medium); + --system-tabs-top-to-text: var(--spectrum-tab-item-top-to-text-medium); + --system-tabs-bottom-to-text: var( + --spectrum-tab-item-bottom-to-text-medium + ); + --system-tabs-icon-size: var(--spectrum-workflow-icon-size-75); + --system-tabs-icon-to-text: var(--spectrum-text-to-visual-100); + --system-tabs-top-to-icon: var( + --spectrum-tab-item-top-to-workflow-icon-medium + ); + --system-tabs-color: var(--spectrum-neutral-subdued-content-color-default); + --system-tabs-color-selected: var( + --spectrum-neutral-subdued-content-color-down + ); + --system-tabs-color-hover: var( + --spectrum-neutral-subdued-content-color-hover + ); + --system-tabs-color-key-focus: var( + --spectrum-neutral-subdued-content-color-key-focus + ); + --system-tabs-color-disabled: var(--spectrum-gray-500); + --system-tabs-font-family: var(--spectrum-sans-font-family-stack); + --system-tabs-font-style: var(--spectrum-default-font-style); + --system-tabs-font-size: var(--spectrum-font-size-100); + --system-tabs-line-height: var(--spectrum-line-height-100); + --system-tabs-focus-indicator-width: var( + --spectrum-focus-indicator-thickness + ); + --system-tabs-focus-indicator-border-radius: var( + --spectrum-corner-radius-100 + ); + --system-tabs-focus-indicator-gap: var( + --spectrum-tab-item-focus-indicator-gap-medium + ); + --system-tabs-focus-indicator-color: var(--spectrum-focus-indicator-color); + --system-tabs-selection-indicator-color: var( + --spectrum-neutral-subdued-content-color-down + ); + --system-tabs-list-background-direction: top; + --system-tabs-divider-background-color: var(--spectrum-gray-300); + --system-tabs-divider-size: var(--spectrum-border-width-200); + --system-tabs-divider-border-radius: 1px; + --system-tabs-animation-duration: var(--spectrum-animation-duration-100); + --system-tabs-animation-ease: var(--spectrum-animation-ease-in-out); + --system-tabs-size-s-item-height: var(--spectrum-tab-item-height-small); + --system-tabs-size-s-item-horizontal-spacing: var( + --spectrum-tab-item-to-tab-item-horizontal-small + ); + --system-tabs-size-s-item-vertical-spacing: var( + --spectrum-tab-item-to-tab-item-vertical-small + ); + --system-tabs-size-s-start-to-edge: var( + --spectrum-tab-item-start-to-edge-small + ); + --system-tabs-size-s-top-to-text: var( + --spectrum-tab-item-top-to-text-small + ); + --system-tabs-size-s-bottom-to-text: var( + --spectrum-tab-item-bottom-to-text-small + ); + --system-tabs-size-s-icon-size: var(--spectrum-workflow-icon-size-50); + --system-tabs-size-s-icon-to-text: var(--spectrum-text-to-visual-75); + --system-tabs-size-s-top-to-icon: var( + --spectrum-tab-item-top-to-workflow-icon-small ); - --system-spectrum-button-selected-background-color-disabled: var( + --system-tabs-size-s-focus-indicator-gap: var( + --spectrum-tab-item-focus-indicator-gap-small + ); + --system-tabs-size-s-font-size: var(--spectrum-font-size-75); + --system-tabs-size-l-item-height: var(--spectrum-tab-item-height-large); + --system-tabs-size-l-item-horizontal-spacing: var( + --spectrum-tab-item-to-tab-item-horizontal-large + ); + --system-tabs-size-l-item-vertical-spacing: var( + --spectrum-tab-item-to-tab-item-vertical-large + ); + --system-tabs-size-l-start-to-edge: var( + --spectrum-tab-item-start-to-edge-large + ); + --system-tabs-size-l-top-to-text: var( + --spectrum-tab-item-top-to-text-large + ); + --system-tabs-size-l-bottom-to-text: var( + --spectrum-tab-item-bottom-to-text-large + ); + --system-tabs-size-l-icon-size: var(--spectrum-workflow-icon-size-100); + --system-tabs-size-l-icon-to-text: var(--spectrum-text-to-visual-200); + --system-tabs-size-l-top-to-icon: var( + --spectrum-tab-item-top-to-workflow-icon-large + ); + --system-tabs-size-l-focus-indicator-gap: var( + --spectrum-tab-item-focus-indicator-gap-large + ); + --system-tabs-size-l-font-size: var(--spectrum-font-size-200); + --system-tabs-size-xl-item-height: var( + --spectrum-tab-item-height-extra-large + ); + --system-tabs-size-xl-item-horizontal-spacing: var( + --spectrum-tab-item-to-tab-item-horizontal-extra-large + ); + --system-tabs-size-xl-item-vertical-spacing: var( + --spectrum-tab-item-to-tab-item-vertical-extra-large + ); + --system-tabs-size-xl-start-to-edge: var( + --spectrum-tab-item-start-to-edge-extra-large + ); + --system-tabs-size-xl-top-to-text: var( + --spectrum-tab-item-top-to-text-extra-large + ); + --system-tabs-size-xl-bottom-to-text: var( + --spectrum-tab-item-bottom-to-text-extra-large + ); + --system-tabs-size-xl-icon-size: var(--spectrum-workflow-icon-size-200); + --system-tabs-size-xl-icon-to-text: var(--spectrum-text-to-visual-300); + --system-tabs-size-xl-top-to-icon: var( + --spectrum-tab-item-top-to-workflow-icon-extra-large + ); + --system-tabs-size-xl-focus-indicator-gap: var( + --spectrum-tab-item-focus-indicator-gap-extra-large + ); + --system-tabs-size-xl-font-size: var(--spectrum-font-size-300); + --system-tabs-emphasized-color-selected: var( + --spectrum-accent-content-color-default + ); + --system-tabs-emphasized-color-hover: var( + --spectrum-accent-content-color-hover + ); + --system-tabs-emphasized-color-key-focus: var( + --spectrum-accent-content-color-key-focus + ); + --system-tabs-emphasized-selection-indicator-color: var( + --spectrum-accent-content-color-default + ); +} + +:host, +:root { + --system-tag-border-color: var(--spectrum-gray-700); + --system-tag-border-color-hover: var(--spectrum-gray-800); + --system-tag-border-color-active: var(--spectrum-gray-900); + --system-tag-border-color-focus: var(--spectrum-gray-800); + --system-tag-size-small-corner-radius: var(--spectrum-corner-radius-100); + --system-tag-size-medium-corner-radius: var(--spectrum-corner-radius-100); + --system-tag-size-large-corner-radius: var(--spectrum-corner-radius-100); + --system-tag-background-color: var(--spectrum-gray-75); + --system-tag-background-color-hover: var(--spectrum-gray-75); + --system-tag-background-color-active: var(--spectrum-gray-200); + --system-tag-background-color-focus: var(--spectrum-gray-75); + --system-tag-content-color: var( + --spectrum-neutral-subdued-content-color-default + ); + --system-tag-content-color-hover: var( + --spectrum-neutral-subdued-content-color-hover + ); + --system-tag-content-color-active: var( + --spectrum-neutral-subdued-content-color-down + ); + --system-tag-content-color-focus: var( + --spectrum-neutral-subdued-content-color-key-focus + ); + --system-tag-border-color-selected: var( + --spectrum-neutral-subdued-background-color-default + ); + --system-tag-border-color-selected-hover: var( + --spectrum-neutral-subdued-background-color-hover + ); + --system-tag-border-color-selected-active: var( + --spectrum-neutral-subdued-background-color-down + ); + --system-tag-border-color-selected-focus: var( + --spectrum-neutral-subdued-background-color-key-focus + ); + --system-tag-border-color-disabled: transparent; + --system-tag-background-color-disabled: var( --spectrum-disabled-background-color ); - --system-spectrum-button-selected-border-color-disabled: transparent; - --system-spectrum-button-selected-emphasized-background-color-default: var( - --spectrum-accent-background-color-default + --system-tag-size-small-spacing-inline-start: var( + --spectrum-component-edge-to-visual-75 ); - --system-spectrum-button-selected-emphasized-background-color-hover: var( - --spectrum-accent-background-color-hover + --system-tag-size-small-label-spacing-inline-end: var( + --spectrum-component-edge-to-text-75 ); - --system-spectrum-button-selected-emphasized-background-color-down: var( - --spectrum-accent-background-color-down + --system-tag-size-small-clear-button-spacing-inline-end: var( + --spectrum-component-edge-to-visual-75 ); - --system-spectrum-button-selected-emphasized-background-color-focus: var( - --spectrum-accent-background-color-key-focus + --system-tag-size-medium-spacing-inline-start: var( + --spectrum-component-edge-to-visual-100 ); - --system-spectrum-button-staticblack-quiet-border-color-default: transparent; - --system-spectrum-button-staticwhite-quiet-border-color-default: transparent; - --system-spectrum-button-staticblack-quiet-border-color-hover: transparent; - --system-spectrum-button-staticwhite-quiet-border-color-hover: transparent; - --system-spectrum-button-staticblack-quiet-border-color-down: transparent; - --system-spectrum-button-staticwhite-quiet-border-color-down: transparent; - --system-spectrum-button-staticblack-quiet-border-color-focus: transparent; - --system-spectrum-button-staticwhite-quiet-border-color-focus: transparent; - --system-spectrum-button-staticblack-quiet-border-color-disabled: transparent; - --system-spectrum-button-staticwhite-quiet-border-color-disabled: transparent; - --system-spectrum-button-staticwhite-background-color-default: var( - --spectrum-transparent-white-800 + --system-tag-size-medium-label-spacing-inline-end: var( + --spectrum-component-edge-to-text-100 ); - --system-spectrum-button-staticwhite-background-color-hover: var( - --spectrum-transparent-white-900 + --system-tag-size-medium-clear-button-spacing-inline-end: var( + --spectrum-component-edge-to-visual-100 ); - --system-spectrum-button-staticwhite-background-color-down: var( - --spectrum-transparent-white-900 + --system-tag-size-large-spacing-inline-start: var( + --spectrum-component-edge-to-visual-200 ); - --system-spectrum-button-staticwhite-background-color-focus: var( - --spectrum-transparent-white-900 + --system-tag-size-large-label-spacing-inline-end: var( + --spectrum-component-edge-to-text-200 ); - --system-spectrum-button-staticwhite-border-color-default: transparent; - --system-spectrum-button-staticwhite-border-color-hover: transparent; - --system-spectrum-button-staticwhite-border-color-down: transparent; - --system-spectrum-button-staticwhite-border-color-focus: transparent; - --system-spectrum-button-staticwhite-content-color-default: var( - --spectrum-black + --system-tag-size-large-clear-button-spacing-inline-end: var( + --spectrum-component-edge-to-visual-200 ); - --system-spectrum-button-staticwhite-content-color-hover: var( - --spectrum-black + --system-tag-avatar-opacity-disabled: 0.3; + --system-tag-animation-duration: var(--spectrum-animation-duration-100); + --system-tag-border-width: var(--spectrum-border-width-100); + --system-tag-focus-ring-thickness: var( + --spectrum-focus-indicator-thickness ); - --system-spectrum-button-staticwhite-content-color-down: var( - --spectrum-black + --system-tag-focus-ring-gap: var(--spectrum-focus-indicator-gap); + --system-tag-focus-ring-color: var(--spectrum-focus-indicator-color); + --system-tag-label-line-height: var(--spectrum-line-height-100); + --system-tag-label-font-weight: var(--spectrum-regular-font-weight); + --system-tag-content-color-selected: var(--spectrum-gray-50); + --system-tag-background-color-selected: var( + --spectrum-neutral-background-color-selected-default ); - --system-spectrum-button-staticwhite-content-color-focus: var( - --spectrum-black + --system-tag-background-color-selected-hover: var( + --spectrum-neutral-background-color-selected-hover ); - --system-spectrum-button-staticwhite-focus-indicator-color: var( - --spectrum-static-white-focus-indicator-color + --system-tag-background-color-selected-active: var( + --spectrum-neutral-background-color-selected-down ); - --system-spectrum-button-staticwhite-background-color-disabled: var( - --spectrum-disabled-static-white-background-color + --system-tag-background-color-selected-focus: var( + --spectrum-neutral-background-color-selected-key-focus ); - --system-spectrum-button-staticwhite-border-color-disabled: transparent; - --system-spectrum-button-staticwhite-content-color-disabled: var( - --spectrum-disabled-static-white-content-color + --system-tag-border-color-invalid: var(--spectrum-negative-color-900); + --system-tag-border-color-invalid-hover: var( + --spectrum-negative-color-1000 ); - --system-spectrum-button-staticwhite-outline-background-color-default: transparent; - --system-spectrum-button-staticwhite-outline-background-color-hover: var( - --spectrum-transparent-white-300 + --system-tag-border-color-invalid-active: var( + --spectrum-negative-color-1100 ); - --system-spectrum-button-staticwhite-outline-background-color-down: var( - --spectrum-transparent-white-400 + --system-tag-border-color-invalid-focus: var( + --spectrum-negative-color-1000 ); - --system-spectrum-button-staticwhite-outline-background-color-focus: var( - --spectrum-transparent-white-300 + --system-tag-content-color-invalid: var( + --spectrum-negative-content-color-default ); - --system-spectrum-button-staticwhite-outline-border-color-default: var( - --spectrum-transparent-white-800 + --system-tag-content-color-invalid-hover: var( + --spectrum-negative-content-color-hover ); - --system-spectrum-button-staticwhite-outline-border-color-hover: var( - --spectrum-transparent-white-900 + --system-tag-content-color-invalid-active: var( + --spectrum-negative-content-color-down ); - --system-spectrum-button-staticwhite-outline-border-color-down: var( - --spectrum-transparent-white-900 + --system-tag-content-color-invalid-focus: var( + --spectrum-negative-content-color-key-focus ); - --system-spectrum-button-staticwhite-outline-border-color-focus: var( - --spectrum-transparent-white-900 + --system-tag-border-color-invalid-selected: var( + --spectrum-negative-background-color-default ); - --system-spectrum-button-staticwhite-outline-content-color-default: var( - --spectrum-white + --system-tag-border-color-invalid-selected-hover: var( + --spectrum-negative-background-color-hover ); - --system-spectrum-button-staticwhite-outline-content-color-hover: var( - --spectrum-white + --system-tag-border-color-invalid-selected-focus: var( + --spectrum-negative-background-color-down ); - --system-spectrum-button-staticwhite-outline-content-color-down: var( - --spectrum-white + --system-tag-border-color-invalid-selected-active: var( + --spectrum-negative-background-color-key-focus ); - --system-spectrum-button-staticwhite-outline-content-color-focus: var( - --spectrum-white + --system-tag-background-color-invalid-selected: var( + --spectrum-negative-background-color-default ); - --system-spectrum-button-staticwhite-outline-focus-indicator-color: var( - --spectrum-static-white-focus-indicator-color + --system-tag-background-color-invalid-selected-hover: var( + --spectrum-negative-background-color-hover ); - --system-spectrum-button-staticwhite-outline-background-color-disabled: transparent; - --system-spectrum-button-staticwhite-outline-border-color-disabled: var( - --spectrum-disabled-static-white-border-color + --system-tag-background-color-invalid-selected-active: var( + --spectrum-negative-background-color-down ); - --system-spectrum-button-staticwhite-outline-content-color-disabled: var( - --spectrum-disabled-static-white-content-color + --system-tag-background-color-invalid-selected-focus: var( + --spectrum-negative-background-color-key-focus ); - --system-spectrum-button-staticwhite-selected-background-color-default: var( - --spectrum-transparent-white-800 + --system-tag-content-color-invalid-selected: var(--spectrum-white); + --system-tag-border-color-emphasized: var( + --spectrum-accent-background-color-default ); - --system-spectrum-button-staticwhite-selected-background-color-hover: var( - --spectrum-transparent-white-900 + --system-tag-border-color-emphasized-hover: var( + --spectrum-accent-background-color-hover ); - --system-spectrum-button-staticwhite-selected-background-color-down: var( - --spectrum-transparent-white-900 + --system-tag-border-color-emphasized-active: var( + --spectrum-accent-background-color-down ); - --system-spectrum-button-staticwhite-selected-background-color-focus: var( - --spectrum-transparent-white-900 + --system-tag-border-color-emphasized-focus: var( + --spectrum-accent-background-color-key-focus ); - --system-spectrum-button-staticwhite-selected-content-color-default: var( - --spectrum-black + --system-tag-background-color-emphasized: var( + --spectrum-accent-background-color-default ); - --system-spectrum-button-staticwhite-selected-content-color-hover: var( - --spectrum-black + --system-tag-background-color-emphasized-hover: var( + --spectrum-accent-background-color-hover ); - --system-spectrum-button-staticwhite-selected-content-color-down: var( - --spectrum-black + --system-tag-background-color-emphasized-active: var( + --spectrum-accent-background-color-down ); - --system-spectrum-button-staticwhite-selected-content-color-focus: var( - --spectrum-black + --system-tag-background-color-emphasized-focus: var( + --spectrum-accent-background-color-key-focus ); - --system-spectrum-button-staticwhite-selected-background-color-disabled: var( - --spectrum-disabled-static-white-background-color + --system-tag-content-color-emphasized: var(--spectrum-white); + --system-tag-content-color-disabled: var(--spectrum-disabled-content-color); + --system-tag-height: var(--spectrum-component-height-100); + --system-tag-size-m-height: var(--spectrum-component-height-100); + --system-tag-font-size: var(--spectrum-font-size-100); + --system-tag-size-m-font-size: var(--spectrum-font-size-100); + --system-tag-icon-size: var(--spectrum-workflow-icon-size-100); + --system-tag-size-m-icon-size: var(--spectrum-workflow-icon-size-100); + --system-tag-clear-button-spacing-inline-start: var( + --spectrum-text-to-visual-100 ); - --system-spectrum-button-staticwhite-selected-border-color-disabled: transparent; - --system-spectrum-button-staticwhite-secondary-background-color-default: var( - --spectrum-transparent-white-200 + --system-tag-size-m-clear-button-spacing-inline-start: var( + --spectrum-text-to-visual-100 ); - --system-spectrum-button-staticwhite-secondary-background-color-hover: var( - --spectrum-transparent-white-300 + --system-tag-clear-button-spacing-block: var( + --spectrum-tag-top-to-cross-icon-medium ); - --system-spectrum-button-staticwhite-secondary-background-color-down: var( - --spectrum-transparent-white-400 + --system-tag-size-m-clear-button-spacing-block: var( + --spectrum-tag-top-to-cross-icon-medium ); - --system-spectrum-button-staticwhite-secondary-background-color-focus: var( - --spectrum-transparent-white-300 + --system-tag-icon-spacing-block-start: var( + --spectrum-component-top-to-workflow-icon-100 ); - --system-spectrum-button-staticwhite-secondary-border-color-default: transparent; - --system-spectrum-button-staticwhite-secondary-border-color-hover: transparent; - --system-spectrum-button-staticwhite-secondary-border-color-down: transparent; - --system-spectrum-button-staticwhite-secondary-border-color-focus: transparent; - --system-spectrum-button-staticwhite-secondary-content-color-default: var( - --spectrum-white + --system-tag-size-m-icon-spacing-block-start: var( + --spectrum-component-top-to-workflow-icon-100 ); - --system-spectrum-button-staticwhite-secondary-content-color-hover: var( - --spectrum-white + --system-tag-icon-spacing-block-end: var( + --spectrum-component-top-to-workflow-icon-100 ); - --system-spectrum-button-staticwhite-secondary-content-color-down: var( - --spectrum-white + --system-tag-size-m-icon-spacing-block-end: var( + --spectrum-component-top-to-workflow-icon-100 ); - --system-spectrum-button-staticwhite-secondary-content-color-focus: var( - --spectrum-white + --system-tag-icon-spacing-inline-end: var(--spectrum-text-to-visual-100); + --system-tag-size-m-icon-spacing-inline-end: var( + --spectrum-text-to-visual-100 + ); + --system-tag-avatar-spacing-block-start: var( + --spectrum-tag-top-to-avatar-medium + ); + --system-tag-size-m-avatar-spacing-block-start: var( + --spectrum-tag-top-to-avatar-medium + ); + --system-tag-avatar-spacing-block-end: var( + --spectrum-tag-top-to-avatar-medium + ); + --system-tag-size-m-avatar-spacing-block-end: var( + --spectrum-tag-top-to-avatar-medium + ); + --system-tag-avatar-spacing-inline-end: var(--spectrum-text-to-visual-100); + --system-tag-size-m-avatar-spacing-inline-end: var( + --spectrum-text-to-visual-100 + ); + --system-tag-label-spacing-block: var(--spectrum-component-top-to-text-100); + --system-tag-size-m-label-spacing-block: var( + --spectrum-component-top-to-text-100 ); - --system-spectrum-button-staticwhite-secondary-focus-indicator-color: var( - --spectrum-static-white-focus-indicator-color + --system-tag-corner-radius: var(--system-tag-size-medium-corner-radius); + --system-tag-size-m-corner-radius: var( + --system-tag-size-medium-corner-radius ); - --system-spectrum-button-staticwhite-secondary-background-color-disabled: var( - --spectrum-disabled-static-white-background-color + --system-tag-spacing-inline-start: var( + --system-tag-size-medium-spacing-inline-start ); - --system-spectrum-button-staticwhite-secondary-border-color-disabled: transparent; - --system-spectrum-button-staticwhite-secondary-content-color-disabled: var( - --spectrum-disabled-static-white-content-color + --system-tag-size-m-spacing-inline-start: var( + --system-tag-size-medium-spacing-inline-start ); - --system-spectrum-button-staticwhite-secondary-outline-background-color-default: transparent; - --system-spectrum-button-staticwhite-secondary-outline-background-color-hover: var( - --spectrum-transparent-white-300 + --system-tag-label-spacing-inline-end: var( + --system-tag-size-medium-label-spacing-inline-end ); - --system-spectrum-button-staticwhite-secondary-outline-background-color-down: var( - --spectrum-transparent-white-400 + --system-tag-size-m-label-spacing-inline-end: var( + --system-tag-size-medium-label-spacing-inline-end ); - --system-spectrum-button-staticwhite-secondary-outline-background-color-focus: var( - --spectrum-transparent-white-300 + --system-tag-clear-button-spacing-inline-end: var( + --system-tag-size-medium-clear-button-spacing-inline-end ); - --system-spectrum-button-staticwhite-secondary-outline-border-color-default: var( - --spectrum-transparent-white-300 + --system-tag-size-m-clear-button-spacing-inline-end: var( + --system-tag-size-medium-clear-button-spacing-inline-end ); - --system-spectrum-button-staticwhite-secondary-outline-border-color-hover: var( - --spectrum-transparent-white-400 + --system-tag-size-s-height: var(--spectrum-component-height-75); + --system-tag-size-s-font-size: var(--spectrum-font-size-75); + --system-tag-size-s-icon-size: var(--spectrum-workflow-icon-size-75); + --system-tag-size-s-clear-button-spacing-inline-start: var( + --spectrum-text-to-visual-75 ); - --system-spectrum-button-staticwhite-secondary-outline-border-color-down: var( - --spectrum-transparent-white-500 + --system-tag-size-s-clear-button-spacing-block: var( + --spectrum-tag-top-to-cross-icon-small ); - --system-spectrum-button-staticwhite-secondary-outline-border-color-focus: var( - --spectrum-transparent-white-400 + --system-tag-size-s-icon-spacing-block-start: var( + --spectrum-component-top-to-workflow-icon-75 ); - --system-spectrum-button-staticwhite-secondary-outline-content-color-default: var( - --spectrum-white + --system-tag-size-s-icon-spacing-block-end: var( + --spectrum-component-top-to-workflow-icon-75 ); - --system-spectrum-button-staticwhite-secondary-outline-content-color-hover: var( - --spectrum-white + --system-tag-size-s-icon-spacing-inline-end: var( + --spectrum-text-to-visual-75 ); - --system-spectrum-button-staticwhite-secondary-outline-content-color-down: var( - --spectrum-white + --system-tag-size-s-avatar-spacing-block-start: var( + --spectrum-tag-top-to-avatar-small ); - --system-spectrum-button-staticwhite-secondary-outline-content-color-focus: var( - --spectrum-white + --system-tag-size-s-avatar-spacing-block-end: var( + --spectrum-tag-top-to-avatar-small ); - --system-spectrum-button-staticwhite-secondary-outline-focus-indicator-color: var( - --spectrum-static-white-focus-indicator-color + --system-tag-size-s-avatar-spacing-inline-end: var( + --spectrum-text-to-visual-75 ); - --system-spectrum-button-staticwhite-secondary-outline-background-color-disabled: transparent; - --system-spectrum-button-staticwhite-secondary-outline-border-color-disabled: var( - --spectrum-disabled-static-white-border-color + --system-tag-size-s-label-spacing-block: var( + --spectrum-component-top-to-text-75 ); - --system-spectrum-button-staticwhite-secondary-outline-content-color-disabled: var( - --spectrum-disabled-static-white-content-color + --system-tag-size-s-corner-radius: var( + --system-tag-size-small-corner-radius ); - --system-spectrum-button-staticblack-background-color-default: var( - --spectrum-transparent-black-800 + --system-tag-size-s-spacing-inline-start: var( + --system-tag-size-small-spacing-inline-start ); - --system-spectrum-button-staticblack-background-color-hover: var( - --spectrum-transparent-black-900 + --system-tag-size-s-label-spacing-inline-end: var( + --system-tag-size-small-label-spacing-inline-end ); - --system-spectrum-button-staticblack-background-color-down: var( - --spectrum-transparent-black-900 + --system-tag-size-s-clear-button-spacing-inline-end: var( + --system-tag-size-small-clear-button-spacing-inline-end ); - --system-spectrum-button-staticblack-background-color-focus: var( - --spectrum-transparent-black-900 + --system-tag-size-l-height: var(--spectrum-component-height-200); + --system-tag-size-l-font-size: var(--spectrum-font-size-200); + --system-tag-size-l-icon-size: var(--spectrum-workflow-icon-size-200); + --system-tag-size-l-clear-button-spacing-inline-start: var( + --spectrum-text-to-visual-200 ); - --system-spectrum-button-staticblack-border-color-default: transparent; - --system-spectrum-button-staticblack-border-color-hover: transparent; - --system-spectrum-button-staticblack-border-color-down: transparent; - --system-spectrum-button-staticblack-border-color-focus: transparent; - --system-spectrum-button-staticblack-content-color-default: var( - --spectrum-white + --system-tag-size-l-clear-button-spacing-block: var( + --spectrum-tag-top-to-cross-icon-large ); - --system-spectrum-button-staticblack-content-color-hover: var( - --spectrum-white + --system-tag-size-l-icon-spacing-block-start: var( + --spectrum-component-top-to-workflow-icon-200 ); - --system-spectrum-button-staticblack-content-color-down: var( - --spectrum-white + --system-tag-size-l-icon-spacing-block-end: var( + --spectrum-component-top-to-workflow-icon-200 ); - --system-spectrum-button-staticblack-content-color-focus: var( - --spectrum-white + --system-tag-size-l-icon-spacing-inline-end: var( + --spectrum-text-to-visual-200 ); - --system-spectrum-button-staticblack-focus-indicator-color: var( - --spectrum-static-black-focus-indicator-color + --system-tag-size-l-avatar-spacing-block-start: var( + --spectrum-tag-top-to-avatar-large ); - --system-spectrum-button-staticblack-background-color-disabled: var( - --spectrum-disabled-static-black-background-color + --system-tag-size-l-avatar-spacing-block-end: var( + --spectrum-tag-top-to-avatar-large ); - --system-spectrum-button-staticblack-border-color-disabled: transparent; - --system-spectrum-button-staticblack-content-color-disabled: var( - --spectrum-disabled-static-black-content-color + --system-tag-size-l-avatar-spacing-inline-end: var( + --spectrum-text-to-visual-200 ); - --system-spectrum-button-staticblack-outline-background-color-default: transparent; - --system-spectrum-button-staticblack-outline-background-color-hover: var( - --spectrum-transparent-black-300 + --system-tag-size-l-label-spacing-block: var( + --spectrum-component-top-to-text-200 ); - --system-spectrum-button-staticblack-outline-background-color-down: var( - --spectrum-transparent-black-400 + --system-tag-size-l-corner-radius: var( + --system-tag-size-large-corner-radius ); - --system-spectrum-button-staticblack-outline-background-color-focus: var( - --spectrum-transparent-black-300 + --system-tag-size-l-spacing-inline-start: var( + --system-tag-size-large-spacing-inline-start ); - --system-spectrum-button-staticblack-outline-border-color-default: var( - --spectrum-transparent-black-400 + --system-tag-size-l-label-spacing-inline-end: var( + --system-tag-size-large-label-spacing-inline-end ); - --system-spectrum-button-staticblack-outline-border-color-hover: var( - --spectrum-transparent-black-500 + --system-tag-size-l-clear-button-spacing-inline-end: var( + --system-tag-size-large-clear-button-spacing-inline-end ); - --system-spectrum-button-staticblack-outline-border-color-down: var( - --spectrum-transparent-black-600 +} + +:host, +:root { + --system-tag-group-item-margin-block: var(--spectrum-spacing-75); + --system-tag-group-item-margin-inline: var(--spectrum-spacing-75); +} + +:host, +:root { + --system-textfield-border-color: var(--spectrum-gray-500); + --system-textfield-border-color-hover: var(--spectrum-gray-600); + --system-textfield-border-color-focus: var(--spectrum-gray-800); + --system-textfield-border-color-focus-hover: var(--spectrum-gray-900); + --system-textfield-border-color-keyboard-focus: var(--spectrum-gray-900); + --system-textfield-border-width: var(--spectrum-border-width-100); + --system-textfield-texfield-animation-duration: var( + --spectrum-animation-duration-100 ); - --system-spectrum-button-staticblack-outline-border-color-focus: var( - --spectrum-transparent-black-500 + --system-textfield-width: 240px; + --system-textfield-min-width: var( + --spectrum-text-field-minimum-width-multiplier ); - --system-spectrum-button-staticblack-outline-content-color-default: var( - --spectrum-black + --system-textfield-corner-radius: var(--spectrum-corner-radius-100); + --system-textfield-spacing-inline-quiet: var( + --spectrum-field-edge-to-text-quiet ); - --system-spectrum-button-staticblack-outline-content-color-hover: var( - --spectrum-black + --system-textfield-spacing-block-start: var( + --spectrum-component-top-to-text-100 ); - --system-spectrum-button-staticblack-outline-content-color-down: var( - --spectrum-black + --system-textfield-spacing-block-end: var( + --spectrum-component-bottom-to-text-100 ); - --system-spectrum-button-staticblack-outline-content-color-focus: var( - --spectrum-black + --system-textfield-spacing-block-quiet: var( + --spectrum-field-edge-to-border-quiet ); - --system-spectrum-button-staticblack-outline-focus-indicator-color: var( - --spectrum-static-black-focus-indicator-color + --system-textfield-label-spacing-block: var( + --spectrum-field-label-to-component ); - --system-spectrum-button-staticblack-outline-background-color-disabled: transparent; - --system-spectrum-button-staticblack-outline-border-color-disabled: var( - --spectrum-disabled-static-black-border-color + --system-textfield-helptext-spacing-block: var( + --spectrum-help-text-to-component ); - --system-spectrum-button-staticblack-outline-content-color-disabled: var( - --spectrum-disabled-static-black-content-color + --system-textfield-icon-spacing-inline-end-quiet-invalid: var( + --spectrum-field-edge-to-alert-icon-quiet ); - --system-spectrum-button-staticblack-secondary-background-color-default: var( - --spectrum-transparent-black-200 + --system-textfield-icon-spacing-inline-end-quiet-valid: var( + --spectrum-field-edge-to-validation-icon-quiet ); - --system-spectrum-button-staticblack-secondary-background-color-hover: var( - --spectrum-transparent-black-300 + --system-textfield-font-family: var(--spectrum-sans-font-family-stack); + --system-textfield-font-weight: var(--spectrum-regular-font-weight); + --system-textfield-character-count-font-family: var( + --spectrum-sans-font-family-stack ); - --system-spectrum-button-staticblack-secondary-background-color-down: var( - --spectrum-transparent-black-400 + --system-textfield-character-count-font-weight: var( + --spectrum-regular-font-weight ); - --system-spectrum-button-staticblack-secondary-background-color-focus: var( - --spectrum-transparent-black-300 + --system-textfield-character-count-spacing-inline: var( + --spectrum-spacing-200 ); - --system-spectrum-button-staticblack-secondary-border-color-default: transparent; - --system-spectrum-button-staticblack-secondary-border-color-hover: transparent; - --system-spectrum-button-staticblack-secondary-border-color-down: transparent; - --system-spectrum-button-staticblack-secondary-border-color-focus: transparent; - --system-spectrum-button-staticblack-secondary-content-color-default: var( - --spectrum-black + --system-textfield-character-count-spacing-inline-side: var( + --spectrum-side-label-character-count-to-field ); - --system-spectrum-button-staticblack-secondary-content-color-hover: var( - --spectrum-black + --system-textfield-focus-indicator-width: var( + --spectrum-focus-indicator-thickness ); - --system-spectrum-button-staticblack-secondary-content-color-down: var( - --spectrum-black + --system-textfield-focus-indicator-gap: var(--spectrum-focus-indicator-gap); + --system-textfield-background-color: var(--spectrum-gray-50); + --system-textfield-text-color-default: var( + --spectrum-neutral-content-color-default ); - --system-spectrum-button-staticblack-secondary-content-color-focus: var( - --spectrum-black + --system-textfield-text-color-hover: var( + --spectrum-neutral-content-color-hover ); - --system-spectrum-button-staticblack-secondary-focus-indicator-color: var( - --spectrum-static-black-focus-indicator-color + --system-textfield-text-color-focus: var( + --spectrum-neutral-content-color-focus ); - --system-spectrum-button-staticblack-secondary-background-color-disabled: var( - --spectrum-disabled-static-black-background-color + --system-textfield-text-color-focus-hover: var( + --spectrum-neutral-content-color-focus-hover ); - --system-spectrum-button-staticblack-secondary-border-color-disabled: transparent; - --system-spectrum-button-staticblack-secondary-content-color-disabled: var( - --spectrum-disabled-static-black-content-color + --system-textfield-text-color-keyboard-focus: var( + --spectrum-neutral-content-color-key-focus ); - --system-spectrum-button-staticblack-secondary-outline-background-color-default: transparent; - --system-spectrum-button-staticblack-secondary-outline-background-color-hover: var( - --spectrum-transparent-black-300 + --system-textfield-text-color-readonly: var( + --spectrum-neutral-content-color-default ); - --system-spectrum-button-staticblack-secondary-outline-background-color-down: var( - --spectrum-transparent-black-400 + --system-textfield-background-color-disabled: var( + --spectrum-disabled-background-color ); - --system-spectrum-button-staticblack-secondary-outline-background-color-focus: var( - --spectrum-transparent-black-300 + --system-textfield-border-color-disabled: var( + --spectrum-disabled-border-color ); - --system-spectrum-button-staticblack-secondary-outline-border-color-default: var( - --spectrum-transparent-black-300 + --system-textfield-text-color-disabled: var( + --spectrum-disabled-content-color ); - --system-spectrum-button-staticblack-secondary-outline-border-color-hover: var( - --spectrum-transparent-black-400 + --system-textfield-border-color-invalid-default: var( + --spectrum-negative-border-color-default ); - --system-spectrum-button-staticblack-secondary-outline-border-color-down: var( - --spectrum-transparent-black-500 + --system-textfield-border-color-invalid-hover: var( + --spectrum-negative-border-color-hover ); - --system-spectrum-button-staticblack-secondary-outline-border-color-focus: var( - --spectrum-transparent-black-400 + --system-textfield-border-color-invalid-focus: var( + --spectrum-negative-border-color-focus ); - --system-spectrum-button-staticblack-secondary-outline-content-color-default: var( - --spectrum-black + --system-textfield-border-color-invalid-focus-hover: var( + --spectrum-negative-border-color-focus-hover ); - --system-spectrum-button-staticblack-secondary-outline-content-color-hover: var( - --spectrum-black + --system-textfield-border-color-invalid-keyboard-focus: var( + --spectrum-negative-border-color-key-focus ); - --system-spectrum-button-staticblack-secondary-outline-content-color-down: var( - --spectrum-black + --system-textfield-icon-color-invalid: var( + --spectrum-negative-visual-color ); - --system-spectrum-button-staticblack-secondary-outline-content-color-focus: var( - --spectrum-black + --system-textfield-text-color-invalid: var( + --spectrum-neutral-content-color-default ); - --system-spectrum-button-staticblack-secondary-outline-focus-indicator-color: var( - --spectrum-static-black-focus-indicator-color + --system-textfield-text-color-valid: var( + --spectrum-neutral-content-color-default ); - --system-spectrum-button-staticblack-secondary-outline-background-color-disabled: transparent; - --system-spectrum-button-staticblack-secondary-outline-border-color-disabled: var( - --spectrum-disabled-static-black-border-color + --system-textfield-icon-color-valid: var(--spectrum-positive-visual-color); + --system-textfield-focus-indicator-color: var( + --spectrum-focus-indicator-color ); - --system-spectrum-button-staticblack-secondary-outline-content-color-disabled: var( - --spectrum-disabled-static-black-content-color + --system-textfield-text-area-min-inline-size: var( + --spectrum-text-area-minimum-width ); -} - -:host, -:root { - --system-spectrum-checkbox-control-color-default: var(--spectrum-gray-600); - --system-spectrum-checkbox-control-color-hover: var(--spectrum-gray-700); - --system-spectrum-checkbox-control-color-down: var(--spectrum-gray-800); - --system-spectrum-checkbox-control-color-focus: var(--spectrum-gray-700); -} - -:host, -:root { - --system-spectrum-closebutton-background-color-default: transparent; - --system-spectrum-closebutton-background-color-hover: var( - --spectrum-gray-200 + --system-textfield-text-area-min-block-size: var( + --spectrum-text-area-minimum-height ); - --system-spectrum-closebutton-background-color-down: var( - --spectrum-gray-300 + --system-textfield-height: var(--spectrum-component-height-100); + --system-textfield-size-m-height: var(--spectrum-component-height-100); + --system-textfield-label-spacing-block-quiet: var( + --spectrum-field-label-to-component-quiet-medium ); - --system-spectrum-closebutton-background-color-focus: var( - --spectrum-gray-200 + --system-textfield-size-m-label-spacing-block-quiet: var( + --spectrum-field-label-to-component-quiet-medium ); -} - -:host, -:root { - --system-spectrum-combobox-border-color-default: var(--spectrum-gray-500); - --system-spectrum-combobox-border-color-hover: var(--spectrum-gray-600); - --system-spectrum-combobox-border-color-focus: var(--spectrum-gray-500); - --system-spectrum-combobox-border-color-focus-hover: var( - --spectrum-gray-600 + --system-textfield-label-spacing-inline-side-label: var( + --spectrum-spacing-200 ); - --system-spectrum-combobox-border-color-key-focus: var(--spectrum-gray-600); -} - -:host, -:root { - --system-spectrum-infieldbutton-spectrum-infield-button-border-width: var( - --spectrum-border-width-100 + --system-textfield-size-m-label-spacing-inline-side-label: var( + --spectrum-spacing-200 ); - --system-spectrum-infieldbutton-spectrum-infield-button-border-color: inherit; - --system-spectrum-infieldbutton-spectrum-infield-button-border-radius: var( - --spectrum-corner-radius-100 + --system-textfield-placeholder-font-size: var(--spectrum-font-size-100); + --system-textfield-size-m-placeholder-font-size: var( + --spectrum-font-size-100 ); - --system-spectrum-infieldbutton-spectrum-infield-button-border-radius-reset: 0; - --system-spectrum-infieldbutton-spectrum-infield-button-stacked-top-border-radius-start-start: var( - --spectrum-infield-button-border-radius-reset + --system-textfield-spacing-inline: var( + --spectrum-component-edge-to-text-100 ); - --system-spectrum-infieldbutton-spectrum-infield-button-stacked-bottom-border-radius-end-start: var( - --spectrum-infield-button-border-radius-reset + --system-textfield-size-m-spacing-inline: var( + --spectrum-component-edge-to-text-100 ); - --system-spectrum-infieldbutton-spectrum-infield-button-background-color: var( - --spectrum-gray-75 + --system-textfield-icon-size-invalid: var( + --spectrum-workflow-icon-size-100 ); - --system-spectrum-infieldbutton-spectrum-infield-button-background-color-hover: var( - --spectrum-gray-200 + --system-textfield-size-m-icon-size-invalid: var( + --spectrum-workflow-icon-size-100 ); - --system-spectrum-infieldbutton-spectrum-infield-button-background-color-down: var( - --spectrum-gray-300 + --system-textfield-icon-size-valid: var(--spectrum-checkmark-icon-size-100); + --system-textfield-size-m-icon-size-valid: var( + --spectrum-checkmark-icon-size-100 ); - --system-spectrum-infieldbutton-spectrum-infield-button-background-color-key-focus: var( - --spectrum-gray-200 + --system-textfield-icon-spacing-inline-end-invalid: var( + --spectrum-field-edge-to-alert-icon-medium ); -} - -:host, -:root { - --system-spectrum-picker-background-color-default: var(--spectrum-gray-75); - --system-spectrum-picker-background-color-default-open: var( - --spectrum-gray-200 + --system-textfield-size-m-icon-spacing-inline-end-invalid: var( + --spectrum-field-edge-to-alert-icon-medium ); - --system-spectrum-picker-background-color-active: var(--spectrum-gray-300); - --system-spectrum-picker-background-color-hover: var(--spectrum-gray-200); - --system-spectrum-picker-background-color-hover-open: var( - --spectrum-gray-200 + --system-textfield-icon-spacing-inline-end-valid: var( + --spectrum-field-edge-to-validation-icon-medium ); - --system-spectrum-picker-background-color-key-focus: var( - --spectrum-gray-200 + --system-textfield-size-m-icon-spacing-inline-end-valid: var( + --spectrum-field-edge-to-validation-icon-medium ); - --system-spectrum-picker-border-color-default: var(--spectrum-gray-500); - --system-spectrum-picker-border-color-default-open: var( - --spectrum-gray-500 + --system-textfield-icon-spacing-block-invalid: var( + --spectrum-field-top-to-alert-icon-medium ); - --system-spectrum-picker-border-color-hover: var(--spectrum-gray-600); - --system-spectrum-picker-border-color-hover-open: var(--spectrum-gray-600); - --system-spectrum-picker-border-color-active: var(--spectrum-gray-700); - --system-spectrum-picker-border-color-key-focus: var(--spectrum-gray-600); - --system-spectrum-picker-border-width: var(--spectrum-border-width-100); -} - -:host, -:root { - --system-spectrum-pickerbutton-spectrum-picker-button-background-color: var( - --spectrum-gray-75 + --system-textfield-size-m-icon-spacing-block-invalid: var( + --spectrum-field-top-to-alert-icon-medium ); - --system-spectrum-pickerbutton-spectrum-picker-button-background-color-hover: var( - --spectrum-gray-200 + --system-textfield-icon-spacing-block-valid: var( + --spectrum-field-top-to-validation-icon-medium ); - --system-spectrum-pickerbutton-spectrum-picker-button-background-color-down: var( - --spectrum-gray-300 + --system-textfield-size-m-icon-spacing-block-valid: var( + --spectrum-field-top-to-validation-icon-medium ); - --system-spectrum-pickerbutton-spectrum-picker-button-background-color-key-focus: var( - --spectrum-gray-200 + --system-textfield-icon-spacing-inline-start-invalid: var( + --spectrum-field-text-to-alert-icon-medium ); - --system-spectrum-pickerbutton-spectrum-picker-button-border-color: inherit; - --system-spectrum-pickerbutton-spectrum-picker-button-border-radius: var( - --spectrum-corner-radius-100 + --system-textfield-size-m-icon-spacing-inline-start-invalid: var( + --spectrum-field-text-to-alert-icon-medium ); - --system-spectrum-pickerbutton-spectrum-picker-button-border-radius-rounded-sided: 0; - --system-spectrum-pickerbutton-spectrum-picker-button-border-radius-sided: 0; - --system-spectrum-pickerbutton-spectrum-picker-button-border-width: var( - --spectrum-border-width-100 + --system-textfield-icon-spacing-inline-start-valid: var( + --spectrum-field-text-to-validation-icon-medium ); -} - -:host, -:root { - --system-spectrum-popover-border-width: var(--spectrum-border-width-100); -} - -:host, -:root { - --system-spectrum-radio-button-border-color-default: var( - --spectrum-gray-600 + --system-textfield-size-m-icon-spacing-inline-start-valid: var( + --spectrum-field-text-to-validation-icon-medium ); - --system-spectrum-radio-button-border-color-hover: var(--spectrum-gray-700); - --system-spectrum-radio-button-border-color-down: var(--spectrum-gray-800); - --system-spectrum-radio-button-border-color-focus: var(--spectrum-gray-700); - --system-spectrum-radio-emphasized-button-checked-border-color-default: var( - --spectrum-accent-color-900 + --system-textfield-character-count-font-size: var(--spectrum-font-size-75); + --system-textfield-size-m-character-count-font-size: var( + --spectrum-font-size-75 ); - --system-spectrum-radio-emphasized-button-checked-border-color-hover: var( - --spectrum-accent-color-1000 + --system-textfield-character-count-spacing-block: var( + --spectrum-component-bottom-to-text-75 ); - --system-spectrum-radio-emphasized-button-checked-border-color-down: var( - --spectrum-accent-color-1100 + --system-textfield-size-m-character-count-spacing-block: var( + --spectrum-component-bottom-to-text-75 ); - --system-spectrum-radio-emphasized-button-checked-border-color-focus: var( - --spectrum-accent-color-1000 + --system-textfield-character-count-spacing-block-quiet: var( + --spectrum-character-count-to-field-quiet-medium ); -} - -:host, -:root { - --system-spectrum-search-border-radius: var(--spectrum-corner-radius-100); - --system-spectrum-search-edge-to-visual: var( - --spectrum-component-edge-to-visual-100 + --system-textfield-size-m-character-count-spacing-block-quiet: var( + --spectrum-character-count-to-field-quiet-medium ); - --system-spectrum-search-border-color-default: var(--spectrum-gray-500); - --system-spectrum-search-border-color-hover: var(--spectrum-gray-600); - --system-spectrum-search-border-color-focus: var(--spectrum-gray-800); - --system-spectrum-search-border-color-focus-hover: var(--spectrum-gray-900); - --system-spectrum-search-border-color-key-focus: var(--spectrum-gray-900); - --system-spectrum-search-sizes-border-radius: var( - --spectrum-corner-radius-100 + --system-textfield-character-count-spacing-block-side: var( + --spectrum-side-label-character-count-top-margin-medium ); - --system-spectrum-search-sizes-edge-to-visual: var( - --spectrum-component-edge-to-visual-75 + --system-textfield-size-m-character-count-spacing-block-side: var( + --spectrum-side-label-character-count-top-margin-medium ); - --system-spectrum-search-sizem-border-radius: var( - --spectrum-corner-radius-100 + --system-textfield-text-area-min-block-size-quiet: var( + --spectrum-component-height-100 ); - --system-spectrum-search-sizem-edge-to-visual: var( - --spectrum-component-edge-to-visual-100 + --system-textfield-size-m-text-area-min-block-size-quiet: var( + --spectrum-component-height-100 ); - --system-spectrum-search-sizel-border-radius: var( - --spectrum-corner-radius-100 + --system-textfield-size-s-height: var(--spectrum-component-height-75); + --system-textfield-size-s-label-spacing-block-quiet: var( + --spectrum-field-label-to-component-quiet-small ); - --system-spectrum-search-sizel-edge-to-visual: var( - --spectrum-component-edge-to-visual-200 + --system-textfield-size-s-label-spacing-inline-side-label: var( + --spectrum-spacing-100 ); - --system-spectrum-search-sizexl-border-radius: var( - --spectrum-corner-radius-100 + --system-textfield-size-s-placeholder-font-size: var( + --spectrum-font-size-75 ); - --system-spectrum-search-sizexl-edge-to-visual: var( - --spectrum-component-edge-to-visual-300 + --system-textfield-size-s-spacing-inline: var( + --spectrum-component-edge-to-text-75 ); -} - -:host, -:root { - --system-spectrum-slider-track-color: var(--spectrum-gray-300); - --system-spectrum-slider-track-fill-color: var(--spectrum-gray-700); - --system-spectrum-slider-ramp-track-color: var(--spectrum-gray-400); - --system-spectrum-slider-ramp-track-color-disabled: var( - --spectrum-gray-200 + --system-textfield-size-s-icon-size-invalid: var( + --spectrum-workflow-icon-size-75 ); - --system-spectrum-slider-handle-background-color: transparent; - --system-spectrum-slider-handle-background-color-disabled: transparent; - --system-spectrum-slider-ramp-handle-background-color: var( - --spectrum-gray-100 + --system-textfield-size-s-icon-size-valid: var( + --spectrum-checkmark-icon-size-75 ); - --system-spectrum-slider-ticks-handle-background-color: var( - --spectrum-gray-100 + --system-textfield-size-s-icon-spacing-inline-end-invalid: var( + --spectrum-field-edge-to-alert-icon-small ); - --system-spectrum-slider-handle-border-color: var(--spectrum-gray-700); - --system-spectrum-slider-handle-disabled-background-color: var( - --spectrum-gray-100 + --system-textfield-size-s-icon-spacing-inline-end-valid: var( + --spectrum-field-edge-to-validation-icon-small ); - --system-spectrum-slider-tick-mark-color: var(--spectrum-gray-300); - --system-spectrum-slider-handle-border-color-hover: var( - --spectrum-gray-800 + --system-textfield-size-s-icon-spacing-block-invalid: var( + --spectrum-field-top-to-alert-icon-small ); - --system-spectrum-slider-handle-border-color-down: var(--spectrum-gray-800); - --system-spectrum-slider-handle-border-color-key-focus: var( - --spectrum-gray-800 + --system-textfield-size-s-icon-spacing-block-valid: var( + --spectrum-field-top-to-validation-icon-small ); - --system-spectrum-slider-handle-focus-ring-color-key-focus: var( - --spectrum-focus-indicator-color + --system-textfield-size-s-icon-spacing-inline-start-invalid: var( + --spectrum-field-text-to-alert-icon-small ); -} - -:host, -:root { - --system-spectrum-stepper-border-width: var(--spectrum-border-width-100); - --system-spectrum-stepper-buttons-border-style: none; - --system-spectrum-stepper-buttons-border-width: 0; - --system-spectrum-stepper-buttons-border-color: var(--spectrum-gray-500); - --system-spectrum-stepper-buttons-background-color: var(--spectrum-gray-50); - --system-spectrum-stepper-buttons-border-color-hover: var( - --spectrum-gray-600 + --system-textfield-size-s-icon-spacing-inline-start-valid: var( + --spectrum-field-text-to-validation-icon-small ); - --system-spectrum-stepper-buttons-border-color-focus: var( - --spectrum-gray-800 + --system-textfield-size-s-character-count-font-size: var( + --spectrum-font-size-75 ); - --system-spectrum-stepper-buttons-border-color-keyboard-focus: var( - --spectrum-gray-900 + --system-textfield-size-s-character-count-spacing-block: var( + --spectrum-component-bottom-to-text-75 ); - --system-spectrum-stepper-button-border-radius-reset: 0px; - --system-spectrum-stepper-button-border-width: var( - --spectrum-border-width-100 + --system-textfield-size-s-character-count-spacing-block-quiet: var( + --spectrum-character-count-to-field-quiet-small ); - --system-spectrum-stepper-border-color: var(--spectrum-gray-500); - --system-spectrum-stepper-border-color-hover: var(--spectrum-gray-600); - --system-spectrum-stepper-border-color-focus: var(--spectrum-gray-800); - --system-spectrum-stepper-border-color-focus-hover: var( - --spectrum-gray-800 + --system-textfield-size-s-character-count-spacing-block-side: var( + --spectrum-side-label-character-count-top-margin-small ); - --system-spectrum-stepper-border-color-keyboard-focus: var( - --spectrum-gray-900 + --system-textfield-size-s-text-area-min-block-size-quiet: var( + --spectrum-component-height-75 ); - --system-spectrum-stepper-border-color-invalid: var( - --spectrum-negative-border-color-default + --system-textfield-size-l-height: var(--spectrum-component-height-200); + --system-textfield-size-l-label-spacing-block-quiet: var( + --spectrum-field-label-to-component-quiet-large ); - --system-spectrum-stepper-border-color-focus-invalid: var( - --spectrum-negative-border-color-focus + --system-textfield-size-l-label-spacing-inline-side-label: var( + --spectrum-spacing-200 ); - --system-spectrum-stepper-border-color-focus-hover-invalid: var( - --spectrum-negative-border-color-focus-hover + --system-textfield-size-l-placeholder-font-size: var( + --spectrum-font-size-200 ); - --system-spectrum-stepper-border-color-keyboard-focus-invalid: var( - --spectrum-negative-border-color-key-focus + --system-textfield-size-l-spacing-inline: var( + --spectrum-component-edge-to-text-200 ); - --system-spectrum-stepper-button-background-color-focus: var( - --spectrum-gray-300 + --system-textfield-size-l-icon-size-invalid: var( + --spectrum-workflow-icon-size-200 ); - --system-spectrum-stepper-button-background-color-keyboard-focus: var( - --spectrum-gray-200 + --system-textfield-size-l-icon-size-valid: var( + --spectrum-checkmark-icon-size-200 ); -} - -:host, -:root { - --system-spectrum-switch-handle-border-color-default: var( - --spectrum-gray-600 + --system-textfield-size-l-icon-spacing-inline-end-invalid: var( + --spectrum-field-edge-to-alert-icon-large ); - --system-spectrum-switch-handle-border-color-hover: var( - --spectrum-gray-700 + --system-textfield-size-l-icon-spacing-inline-end-valid: var( + --spectrum-field-edge-to-validation-icon-large ); - --system-spectrum-switch-handle-border-color-down: var(--spectrum-gray-800); - --system-spectrum-switch-handle-border-color-focus: var( - --spectrum-gray-700 + --system-textfield-size-l-icon-spacing-block-invalid: var( + --spectrum-field-top-to-alert-icon-large ); - --system-spectrum-switch-handle-border-color-selected-default: var( - --spectrum-gray-700 + --system-textfield-size-l-icon-spacing-block-valid: var( + --spectrum-field-top-to-validation-icon-large ); - --system-spectrum-switch-handle-border-color-selected-hover: var( - --spectrum-gray-800 + --system-textfield-size-l-icon-spacing-inline-start-invalid: var( + --spectrum-field-text-to-alert-icon-large ); - --system-spectrum-switch-handle-border-color-selected-down: var( - --spectrum-gray-900 + --system-textfield-size-l-icon-spacing-inline-start-valid: var( + --spectrum-field-text-to-validation-icon-large ); - --system-spectrum-switch-handle-border-color-selected-focus: var( - --spectrum-gray-800 + --system-textfield-size-l-character-count-font-size: var( + --spectrum-font-size-100 ); -} - -:host, -:root { - --system-spectrum-tabs-font-weight: var(--spectrum-default-font-weight); -} - -:host, -:root { - --system-spectrum-tag-border-color: var(--spectrum-gray-700); - --system-spectrum-tag-border-color-hover: var(--spectrum-gray-800); - --system-spectrum-tag-border-color-active: var(--spectrum-gray-900); - --system-spectrum-tag-border-color-focus: var(--spectrum-gray-800); - --system-spectrum-tag-size-small-corner-radius: var( - --spectrum-corner-radius-100 + --system-textfield-size-l-character-count-spacing-block: var( + --spectrum-component-bottom-to-text-100 ); - --system-spectrum-tag-size-medium-corner-radius: var( - --spectrum-corner-radius-100 + --system-textfield-size-l-character-count-spacing-block-quiet: var( + --spectrum-character-count-to-field-quiet-large ); - --system-spectrum-tag-size-large-corner-radius: var( - --spectrum-corner-radius-100 + --system-textfield-size-l-character-count-spacing-block-side: var( + --spectrum-side-label-character-count-top-margin-large ); - --system-spectrum-tag-background-color: var(--spectrum-gray-75); - --system-spectrum-tag-background-color-hover: var(--spectrum-gray-75); - --system-spectrum-tag-background-color-active: var(--spectrum-gray-200); - --system-spectrum-tag-background-color-focus: var(--spectrum-gray-75); - --system-spectrum-tag-content-color: var( - --spectrum-neutral-subdued-content-color-default + --system-textfield-size-l-text-area-min-block-size-quiet: var( + --spectrum-component-height-200 ); - --system-spectrum-tag-content-color-hover: var( - --spectrum-neutral-subdued-content-color-hover + --system-textfield-size-xl-height: var(--spectrum-component-height-300); + --system-textfield-size-xl-label-spacing-block-quiet: var( + --spectrum-field-label-to-component-quiet-extra-large ); - --system-spectrum-tag-content-color-active: var( - --spectrum-neutral-subdued-content-color-down + --system-textfield-size-xl-label-spacing-inline-side-label: var( + --spectrum-spacing-200 ); - --system-spectrum-tag-content-color-focus: var( - --spectrum-neutral-subdued-content-color-key-focus + --system-textfield-size-xl-placeholder-font-size: var( + --spectrum-font-size-300 ); - --system-spectrum-tag-border-color-selected: var( - --spectrum-neutral-subdued-background-color-default + --system-textfield-size-xl-spacing-inline: var( + --spectrum-component-edge-to-text-200 ); - --system-spectrum-tag-border-color-selected-hover: var( - --spectrum-neutral-subdued-background-color-hover + --system-textfield-size-xl-icon-size-invalid: var( + --spectrum-workflow-icon-size-300 ); - --system-spectrum-tag-border-color-selected-active: var( - --spectrum-neutral-subdued-background-color-down + --system-textfield-size-xl-icon-size-valid: var( + --spectrum-checkmark-icon-size-300 ); - --system-spectrum-tag-border-color-selected-focus: var( - --spectrum-neutral-subdued-background-color-key-focus + --system-textfield-size-xl-icon-spacing-inline-end-invalid: var( + --spectrum-field-edge-to-alert-icon-extra-large ); - --system-spectrum-tag-border-color-disabled: transparent; - --system-spectrum-tag-background-color-disabled: var( - --spectrum-disabled-background-color + --system-textfield-size-xl-icon-spacing-inline-end-valid: var( + --spectrum-field-edge-to-validation-icon-extra-large ); - --system-spectrum-tag-size-small-spacing-inline-start: var( - --spectrum-component-edge-to-visual-75 + --system-textfield-size-xl-icon-spacing-block-invalid: var( + --spectrum-field-top-to-alert-icon-extra-large ); - --system-spectrum-tag-size-small-label-spacing-inline-end: var( - --spectrum-component-edge-to-text-75 + --system-textfield-size-xl-icon-spacing-block-valid: var( + --spectrum-field-top-to-validation-icon-extra-large ); - --system-spectrum-tag-size-small-clear-button-spacing-inline-end: var( - --spectrum-component-edge-to-visual-75 + --system-textfield-size-xl-icon-spacing-inline-start-invalid: var( + --spectrum-field-text-to-alert-icon-extra-large ); - --system-spectrum-tag-size-medium-spacing-inline-start: var( - --spectrum-component-edge-to-visual-100 + --system-textfield-size-xl-icon-spacing-inline-start-valid: var( + --spectrum-field-text-to-validation-icon-extra-large ); - --system-spectrum-tag-size-medium-label-spacing-inline-end: var( - --spectrum-component-edge-to-text-100 + --system-textfield-size-xl-character-count-font-size: var( + --spectrum-font-size-200 ); - --system-spectrum-tag-size-medium-clear-button-spacing-inline-end: var( - --spectrum-component-edge-to-visual-100 + --system-textfield-size-xl-character-count-spacing-block: var( + --spectrum-component-bottom-to-text-200 ); - --system-spectrum-tag-size-large-spacing-inline-start: var( - --spectrum-component-edge-to-visual-200 + --system-textfield-size-xl-character-count-spacing-block-quiet: var( + --spectrum-character-count-to-field-quiet-extra-large ); - --system-spectrum-tag-size-large-label-spacing-inline-end: var( - --spectrum-component-edge-to-text-200 + --system-textfield-size-xl-character-count-spacing-block-side: var( + --spectrum-side-label-character-count-top-margin-extra-large ); - --system-spectrum-tag-size-large-clear-button-spacing-inline-end: var( - --spectrum-component-edge-to-visual-200 + --system-textfield-size-xl-text-area-min-block-size-quiet: var( + --spectrum-component-height-300 ); } :host, :root { - --system-spectrum-textfield-border-color: var(--spectrum-gray-500); - --system-spectrum-textfield-border-color-hover: var(--spectrum-gray-600); - --system-spectrum-textfield-border-color-focus: var(--spectrum-gray-800); - --system-spectrum-textfield-border-color-focus-hover: var( - --spectrum-gray-900 + --system-thumbnail-size: var(--spectrum-thumbnail-size-500); + --system-thumbnail-border-radius: var(--spectrum-corner-radius-75); + --system-thumbnail-border-width: var(--spectrum-border-width-100); + --system-thumbnail-border-color-rgba: rgba( + var(--spectrum-gray-800-rgb), + var(--spectrum-thumbnail-border-opacity) + ); + --system-thumbnail-layer-border-width-inner: var( + --spectrum-border-width-400 + ); + --system-thumbnail-layer-border-color-inner: var(--spectrum-white); + --system-thumbnail-layer-border-width-outer: var( + --spectrum-border-width-100 ); - --system-spectrum-textfield-border-color-keyboard-focus: var( - --spectrum-gray-900 + --system-thumbnail-layer-border-color-outer: var(--spectrum-gray-500); + --system-thumbnail-border-width-selected: var(--spectrum-border-width-200); + --system-thumbnail-border-color-selected: var(--spectrum-accent-color-800); + --system-thumbnail-focus-indicator-thickness: var( + --spectrum-focus-indicator-thickness ); - --system-spectrum-textfield-border-width: var(--spectrum-border-width-100); + --system-thumbnail-focus-indicator-gap: var(--spectrum-focus-indicator-gap); + --system-thumbnail-focus-indicator-color: var( + --spectrum-focus-indicator-color + ); + --system-thumbnail-color-opacity-disabled: var( + --spectrum-thumbnail-opacity-disabled + ); + --system-thumbnail-size-50-size: var(--spectrum-thumbnail-size-50); + --system-thumbnail-size-75-size: var(--spectrum-thumbnail-size-75); + --system-thumbnail-size-100-size: var(--spectrum-thumbnail-size-100); + --system-thumbnail-size-200-size: var(--spectrum-thumbnail-size-200); + --system-thumbnail-size-300-size: var(--spectrum-thumbnail-size-300); + --system-thumbnail-size-400-size: var(--spectrum-thumbnail-size-400); + --system-thumbnail-size-500-size: var(--spectrum-thumbnail-size-500); + --system-thumbnail-size-600-size: var(--spectrum-thumbnail-size-600); + --system-thumbnail-size-700-size: var(--spectrum-thumbnail-size-700); + --system-thumbnail-size-800-size: var(--spectrum-thumbnail-size-800); + --system-thumbnail-size-900-size: var(--spectrum-thumbnail-size-900); + --system-thumbnail-size-1000-size: var(--spectrum-thumbnail-size-1000); } :host, :root { - --system-spectrum-toast-background-color-default: var( + --system-toast-background-color-default: var( --spectrum-neutral-subdued-background-color-default ); + --system-toast-font-weight: var(--spectrum-regular-font-weight); + --system-toast-font-size: var(--spectrum-font-size-100); + --system-toast-corner-radius: var(--spectrum-corner-radius-100); + --system-toast-block-size: var(--spectrum-toast-height); + --system-toast-max-inline-size: var(--spectrum-toast-maximum-width); + --system-toast-border-width: var(--spectrum-border-width-100); + --system-toast-line-height: var(--spectrum-line-height-100); + --system-toast-line-height-cjk: var(--spectrum-cjk-line-height-100); + --system-toast-spacing-icon-to-text: var(--spectrum-text-to-visual-100); + --system-toast-spacing-start-edge-to-text-and-icon: var( + --spectrum-spacing-300 + ); + --system-toast-spacing-text-and-action-button-to-divider: var( + --spectrum-spacing-300 + ); + --system-toast-spacing-top-edge-to-divider: var(--spectrum-spacing-100); + --system-toast-spacing-bottom-edge-to-divider: var(--spectrum-spacing-100); + --system-toast-spacing-top-edge-to-icon: var( + --spectrum-toast-top-to-workflow-icon + ); + --system-toast-spacing-text-to-action-button-horizontal: var( + --spectrum-spacing-300 + ); + --system-toast-spacing-close-button: var(--spectrum-spacing-100); + --system-toast-spacing-block-start: var(--spectrum-spacing-100); + --system-toast-spacing-block-end: var(--spectrum-spacing-100); + --system-toast-spacing-top-edge-to-text: var(--spectrum-toast-top-to-text); + --system-toast-spacing-bottom-edge-to-text: var( + --spectrum-toast-bottom-to-text + ); + --system-toast-negative-background-color-default: var( + --spectrum-negative-background-color-default + ); + --system-toast-positive-background-color-default: var( + --spectrum-positive-background-color-default + ); + --system-toast-informative-background-color-default: var( + --spectrum-informative-background-color-default + ); + --system-toast-text-and-icon-color: var(--spectrum-white); + --system-toast-divider-color: var(--spectrum-transparent-white-300); } :host, :root { - --system-spectrum-tooltip-backgound-color-default-neutral: var( + --system-tooltip-backgound-color-default-neutral: var( --spectrum-neutral-subdued-background-color-default ); + --system-tooltip-animation-duration: var(--spectrum-animation-duration-100); + --system-tooltip-margin: 0px; + --system-tooltip-height: var(--spectrum-component-height-75); + --system-tooltip-max-inline-size: var(--spectrum-tooltip-maximum-width); + --system-tooltip-border-radius: var(--spectrum-corner-radius-100); + --system-tooltip-icon-width: var(--spectrum-workflow-icon-size-50); + --system-tooltip-icon-height: var(--spectrum-workflow-icon-size-50); + --system-tooltip-font-size: var(--spectrum-font-size-75); + --system-tooltip-line-height: var(--spectrum-line-height-100); + --system-tooltip-cjk-line-height: var(--spectrum-cjk-line-height-100); + --system-tooltip-font-weight: var(--spectrum-regular-font-weight); + --system-tooltip-spacing-inline: var(--spectrum-component-edge-to-text-75); + --system-tooltip-spacing-block-start: var( + --spectrum-component-top-to-text-75 + ); + --system-tooltip-spacing-block-end: var( + --spectrum-component-bottom-to-text-75 + ); + --system-tooltip-icon-spacing-inline-start: var( + --spectrum-text-to-visual-75 + ); + --system-tooltip-icon-spacing-inline-end: var(--spectrum-text-to-visual-75); + --system-tooltip-icon-spacing-block-start: var( + --spectrum-component-top-to-workflow-icon-75 + ); + --system-tooltip-background-color-informative: var( + --spectrum-informative-background-color-default + ); + --system-tooltip-background-color-positive: var( + --spectrum-positive-background-color-default + ); + --system-tooltip-background-color-negative: var( + --spectrum-negative-background-color-default + ); + --system-tooltip-content-color: var(--spectrum-white); + --system-tooltip-tip-inline-size: var(--spectrum-tooltip-tip-width); + --system-tooltip-tip-block-size: var(--spectrum-tooltip-tip-height); + --system-tooltip-tip-square-size: var(--system-tooltip-tip-inline-size); + --system-tooltip-tip-height-percentage: 50%; + --system-tooltip-tip-antialiasing-inset: 0.5px; + --system-tooltip-pointer-corner-spacing: var(--spectrum-corner-radius-100); + --system-tooltip-background-color-default: var( + --system-tooltip-backgound-color-default-neutral + ); +} + +:host, +:root { + --system-tray-exit-animation-delay: 0ms; + --system-tray-entry-animation-delay: 160ms; + --system-tray-max-inline-size: 375px; + --system-tray-spacing-edge-to-safe-zone: 64px; + --system-tray-entry-animation-duration: var( + --spectrum-animation-duration-500 + ); + --system-tray-exit-animation-duration: var( + --spectrum-animation-duration-100 + ); + --system-tray-corner-radius: var(--spectrum-corner-radius-100); + --system-tray-background-color: var(--spectrum-background-layer-2-color); +} + +:host, +:root { + --system-underlay-background-entry-animation-delay: var( + --spectrum-animation-duration-0 + ); + --system-underlay-background-exit-animation-ease: var( + --spectrum-animation-ease-in + ); + --system-underlay-background-entry-animation-ease: var( + --spectrum-animation-ease-out + ); + --system-underlay-background-entry-animation-duration: var( + --spectrum-animation-duration-600 + ); + --system-underlay-background-exit-animation-duration: var( + --spectrum-animation-duration-300 + ); + --system-underlay-background-exit-animation-delay: var( + --spectrum-animation-duration-200 + ); + --system-underlay-background-color: rgba( + var(--spectrum-black-rgb), + var(--spectrum-overlay-opacity) + ); +} + +:host, +:root { + --system-heading-sans-serif-font-family: var( + --spectrum-sans-font-family-stack + ); + --system-heading-serif-font-family: var(--spectrum-serif-font-family-stack); + --system-heading-cjk-font-family: var(--spectrum-cjk-font-family-stack); + --system-heading-cjk-letter-spacing: var(--spectrum-cjk-letter-spacing); + --system-heading-font-color: var(--spectrum-heading-color); + --system-heading-font-size: var(--spectrum-heading-size-m); + --system-heading-size-m-font-size: var(--spectrum-heading-size-m); + --system-heading-cjk-font-size: var(--spectrum-heading-cjk-size-m); + --system-heading-size-m-cjk-font-size: var(--spectrum-heading-cjk-size-m); + --system-heading-size-xxs-font-size: var(--spectrum-heading-size-xxs); + --system-heading-size-xxs-cjk-font-size: var( + --spectrum-heading-cjk-size-xxs + ); + --system-heading-size-xs-font-size: var(--spectrum-heading-size-xs); + --system-heading-size-xs-cjk-font-size: var(--spectrum-heading-cjk-size-xs); + --system-heading-size-s-font-size: var(--spectrum-heading-size-s); + --system-heading-size-s-cjk-font-size: var(--spectrum-heading-cjk-size-s); + --system-heading-size-l-font-size: var(--spectrum-heading-size-l); + --system-heading-size-l-cjk-font-size: var(--spectrum-heading-cjk-size-l); + --system-heading-size-xl-font-size: var(--spectrum-heading-size-xl); + --system-heading-size-xl-cjk-font-size: var(--spectrum-heading-cjk-size-xl); + --system-heading-size-xxl-font-size: var(--spectrum-heading-size-xxl); + --system-heading-size-xxl-cjk-font-size: var( + --spectrum-heading-cjk-size-xxl + ); + --system-heading-size-xxxl-font-size: var(--spectrum-heading-size-xxxl); + --system-heading-size-xxxl-cjk-font-size: var( + --spectrum-heading-cjk-size-xxxl + ); + --system-body-sans-serif-font-family: var( + --spectrum-sans-font-family-stack + ); + --system-body-serif-font-family: var(--spectrum-serif-font-family-stack); + --system-body-cjk-font-family: var(--spectrum-cjk-font-family-stack); + --system-body-cjk-letter-spacing: var(--spectrum-cjk-letter-spacing); + --system-body-font-color: var(--spectrum-body-color); + --system-body-font-size: var(--spectrum-body-size-m); + --system-body-size-m-font-size: var(--spectrum-body-size-m); + --system-body-size-xs-font-size: var(--spectrum-body-size-xs); + --system-body-size-s-font-size: var(--spectrum-body-size-s); + --system-body-size-l-font-size: var(--spectrum-body-size-l); + --system-body-size-xl-font-size: var(--spectrum-body-size-xl); + --system-body-size-xxl-font-size: var(--spectrum-body-size-xxl); + --system-body-size-xxxl-font-size: var(--spectrum-body-size-xxxl); + --system-detail-sans-serif-font-family: var( + --spectrum-sans-font-family-stack + ); + --system-detail-serif-font-family: var(--spectrum-serif-font-family-stack); + --system-detail-cjk-font-family: var(--spectrum-cjk-font-family-stack); + --system-detail-font-color: var(--spectrum-detail-color); + --system-detail-font-size: var(--spectrum-detail-size-m); + --system-detail-size-m-font-size: var(--spectrum-detail-size-m); + --system-detail-size-s-font-size: var(--spectrum-detail-size-s); + --system-detail-size-l-font-size: var(--spectrum-detail-size-l); + --system-detail-size-xl-font-size: var(--spectrum-detail-size-xl); + --system-code-font-family: var(--spectrum-code-font-family-stack); + --system-code-cjk-letter-spacing: var(--spectrum-cjk-letter-spacing); + --system-code-font-color: var(--spectrum-code-color); + --system-code-font-size: var(--spectrum-code-size-m); + --system-code-size-m-font-size: var(--spectrum-code-size-m); + --system-code-size-xs-font-size: var(--spectrum-code-size-xs); + --system-code-size-s-font-size: var(--spectrum-code-size-s); + --system-code-size-l-font-size: var(--spectrum-code-size-l); + --system-code-size-xl-font-size: var(--spectrum-code-size-xl); } diff --git a/tools/styles/tokens/spectrum/large-vars.css b/tools/styles/tokens/spectrum/large-vars.css index 4ead7c8208..f63d46216e 100644 --- a/tools/styles/tokens/spectrum/large-vars.css +++ b/tools/styles/tokens/spectrum/large-vars.css @@ -48,4 +48,112 @@ --spectrum-corner-radius-200: 10px; --spectrum-drop-shadow-y: 2px; --spectrum-drop-shadow-blur: 6px; + --spectrum-slider-tick-mark-height: 13px; + --spectrum-slider-ramp-track-height: 20px; + + --spectrum-colorwheel-path: 'M 119 119 m -119 0 a 119 119 0 1 0 238 0 a 119 119 0 1 0 -238 0.2 M 119 119 m -91 0 a 91 91 0 1 0 182 0 a 91 91 0 1 0 -182 0'; + --spectrum-colorwheel-path-borders: 'M 120 120 m -120 0 a 120 120 0 1 0 240 0 a 120 120 0 1 0 -240 0.2 M 120 120 m -90 0 a 90 90 0 1 0 180 0 a 90 90 0 1 0 -180 0'; + --spectrum-colorwheel-colorarea-container-size: 182px; + + --spectrum-colorloupe-checkerboard-fill: url(#checkerboard-secondary); + + --spectrum-menu-item-selectable-edge-to-text-not-selected-small: 34px; + --spectrum-menu-item-selectable-edge-to-text-not-selected-medium: 42px; + --spectrum-menu-item-selectable-edge-to-text-not-selected-large: 47px; + --spectrum-menu-item-selectable-edge-to-text-not-selected-extra-large: 54px; + + --spectrum-menu-item-checkmark-height-small: 12px; + --spectrum-menu-item-checkmark-height-medium: 14px; + --spectrum-menu-item-checkmark-height-large: 16px; + --spectrum-menu-item-checkmark-height-extra-large: 16px; + + --spectrum-menu-item-checkmark-width-small: 12px; + --spectrum-menu-item-checkmark-width-medium: 14px; + --spectrum-menu-item-checkmark-width-large: 16px; + --spectrum-menu-item-checkmark-width-extra-large: 16px; + + --spectrum-rating-icon-spacing: var(--spectrum-spacing-100); + + --spectrum-button-top-to-text-small: 6px; + --spectrum-button-bottom-to-text-small: 5px; + --spectrum-button-top-to-text-medium: 9px; + --spectrum-button-bottom-to-text-medium: 10px; + --spectrum-button-top-to-text-large: 12px; + --spectrum-button-bottom-to-text-large: 13px; + --spectrum-button-top-to-text-extra-large: 16px; + --spectrum-button-bottom-to-text-extra-large: 17px; + + --spectrum-alert-banner-close-button-spacing: var(--spectrum-spacing-200); + --spectrum-alert-banner-edge-to-divider: var(--spectrum-spacing-200); + --spectrum-alert-banner-edge-to-button: var(--spectrum-spacing-200); + --spectrum-alert-banner-text-to-button-vertical: var( + --spectrum-spacing-200 + ); + + --spectrum-alert-dialog-padding: var(--spectrum-spacing-400); + --spectrum-alert-dialog-description-to-buttons: var(--spectrum-spacing-600); + + --spectrum-coach-indicator-gap: 8px; + --spectrum-coach-indicator-ring-diameter: 20px; + --spectrum-coach-indicator-quiet-ring-diameter: 10px; + + --spectrum-coachmark-buttongroup-display: none; + --spectrum-coachmark-buttongroup-mobile-display: flex; + --spectrum-coachmark-menu-display: none; + --spectrum-coachmark-menu-mobile-display: inline-flex; + + --spectrum-well-padding: 20px; + --spectrum-well-margin-top: 5px; + --spectrum-well-min-width: 300px; + --spectrum-well-border-radius: 5px; + --spectrum-workflow-icon-size-xxl: 40px; + --spectrum-workflow-icon-size-xxs: 15px; + + --spectrum-treeview-item-indentation-medium: 20px; + --spectrum-treeview-item-indentation-small: 15px; + --spectrum-treeview-item-indentation-large: 25px; + --spectrum-treeview-item-indentation-extra-large: 30px; + --spectrum-treeview-indicator-inset-block-start: 6px; + --spectrum-treeview-item-min-block-size-thumbnail-offset-medium: 2px; + + --spectrum-dialog-confirm-entry-animation-distance: 25px; + --spectrum-dialog-confirm-hero-height: 160px; + --spectrum-dialog-confirm-border-radius: 5px; + --spectrum-dialog-confirm-title-text-size: 19px; + --spectrum-dialog-confirm-description-text-size: 15px; + --spectrum-dialog-confirm-padding-grid: 24px; + + --spectrum-datepicker-initial-width: 160px; + --spectrum-datepicker-generic-padding: 15px; + --spectrum-datepicker-dash-line-height: 30px; + --spectrum-datepicker-width-quiet-first: 90px; + --spectrum-datepicker-width-quiet-second: 20px; + --spectrum-datepicker-datetime-width-first: 45px; + --spectrum-datepicker-invalid-icon-to-button: 10px; + --spectrum-datepicker-invalid-icon-to-button-quiet: 9px; + --spectrum-datepicker-input-datetime-width: 30px; + + --spectrum-pagination-textfield-width: 60px; + --spectrum-pagination-item-inline-spacing: 6px; + + --spectrum-dial-border-radius: 20px; + --spectrum-dial-handle-position: 10px; + --spectrum-dial-handle-block-margin: 20px; + --spectrum-dial-handle-inline-margin: 20px; + --spectrum-dial-controls-margin: 10px; + --spectrum-dial-label-gap-y: 6px; + --spectrum-dial-label-container-top-to-text: 5px; + + --spectrum-assetcard-focus-ring-border-radius: 9px; + --spectrum-assetcard-selectionindicator-margin: 15px; + --spectrum-assetcard-title-font-size: var(--spectrum-heading-size-xxs); + --spectrum-assetcard-header-content-font-size: var( + --spectrum-heading-size-xxs + ); + --spectrum-assetcard-content-font-size: var(--spectrum-body-size-xs); + + --spectrum-tooltip-animation-distance: 5px; + + --spectrum-ui-icon-medium-display: none; + --spectrum-ui-icon-large-display: block; } diff --git a/tools/styles/tokens/spectrum/light-vars.css b/tools/styles/tokens/spectrum/light-vars.css new file mode 100644 index 0000000000..423a2abd73 --- /dev/null +++ b/tools/styles/tokens/spectrum/light-vars.css @@ -0,0 +1,102 @@ +:host, +:root { + --spectrum-menu-item-background-color-default-rgb: 0, 0, 0; + --spectrum-menu-item-background-color-default-opacity: 0; + --spectrum-menu-item-background-color-default: rgba( + var(--spectrum-menu-item-background-color-default-rgb), + var(--spectrum-menu-item-background-color-default-opacity) + ); + --spectrum-menu-item-background-color-hover: var( + --spectrum-transparent-black-200 + ); + --spectrum-menu-item-background-color-down: var( + --spectrum-transparent-black-200 + ); + --spectrum-menu-item-background-color-key-focus: var( + --spectrum-transparent-black-200 + ); + --spectrum-drop-zone-background-color-rgb: var(--spectrum-blue-800-rgb); + --spectrum-dropindicator-color: var(--spectrum-blue-800); + + --spectrum-calendar-day-background-color-selected: rgba( + var(--spectrum-blue-900-rgb), + 0.1 + ); + --spectrum-calendar-day-background-color-hover: rgba( + var(--spectrum-black-rgb), + 0.06 + ); + --spectrum-calendar-day-today-background-color-selected-hover: rgba( + var(--spectrum-blue-900-rgb), + 0.2 + ); + --spectrum-calendar-day-background-color-selected-hover: rgba( + var(--spectrum-blue-900-rgb), + 0.2 + ); + --spectrum-calendar-day-background-color-down: var( + --spectrum-transparent-black-200 + ); + --spectrum-calendar-day-background-color-cap-selected: rgba( + var(--spectrum-blue-900-rgb), + 0.2 + ); + --spectrum-calendar-day-background-color-key-focus: rgba( + var(--spectrum-black-rgb), + 0.06 + ); + --spectrum-calendar-day-border-color-key-focus: var(--spectrum-blue-800); + + --spectrum-badge-label-icon-color-primary: var(--spectrum-white); + + --spectrum-coach-indicator-ring-default-color: var(--spectrum-blue-800); + --spectrum-coach-indicator-ring-dark-color: var(--spectrum-gray-900); + --spectrum-coach-indicator-ring-light-color: var(--spectrum-gray-50); + + --spectrum-well-border-color: var(--spectrum-black-rgb); + + --spectrum-steplist-current-marker-color-key-focus: var( + --spectrum-blue-800 + ); + + --spectrum-treeview-item-background-color-quiet-selected: rgba( + var(--spectrum-gray-900-rgb), + 0.06 + ); + --spectrum-treeview-item-background-color-selected: rgba( + var(--spectrum-blue-900-rgb), + 0.1 + ); + + --spectrum-logic-button-and-background-color: var(--spectrum-blue-900); + --spectrum-logic-button-and-border-color: var(--spectrum-blue-900); + --spectrum-logic-button-and-background-color-hover: var( + --spectrum-blue-1100 + ); + --spectrum-logic-button-and-border-color-hover: var(--spectrum-blue-1100); + + --spectrum-logic-button-or-background-color: var(--spectrum-magenta-900); + --spectrum-logic-button-or-border-color: var(--spectrum-magenta-900); + --spectrum-logic-button-or-background-color-hover: var( + --spectrum-magenta-1100 + ); + --spectrum-logic-button-or-border-color-hover: var(--spectrum-magenta-1100); + + --spectrum-assetcard-border-color-selected: var(--spectrum-blue-900); + --spectrum-assetcard-border-color-selected-hover: var(--spectrum-blue-900); + --spectrum-assetcard-border-color-selected-down: var(--spectrum-blue-1000); + --spectrum-assetcard-selectionindicator-background-color-ordered: var( + --spectrum-blue-900 + ); + --spectrum-assestcard-focus-indicator-color: var(--spectrum-blue-800); + + --spectrum-assetlist-item-background-color-selected-hover: rgba( + var(--spectrum-blue-900-rgb), + 0.2 + ); + --spectrum-assetlist-item-background-color-selected: rgba( + var(--spectrum-blue-900-rgb), + 0.1 + ); + --spectrum-assetlist-border-color-key-focus: var(--spectrum-blue-800); +} diff --git a/tools/styles/tokens/spectrum/medium-vars.css b/tools/styles/tokens/spectrum/medium-vars.css index aa8488c3c2..2e813d2af1 100644 --- a/tools/styles/tokens/spectrum/medium-vars.css +++ b/tools/styles/tokens/spectrum/medium-vars.css @@ -48,4 +48,113 @@ --spectrum-corner-radius-200: 8px; --spectrum-drop-shadow-y: 1px; --spectrum-drop-shadow-blur: 4px; + --spectrum-slider-tick-mark-height: 10px; + --spectrum-slider-ramp-track-height: 16px; + + --spectrum-colorwheel-path: 'M 95 95 m -95 0 a 95 95 0 1 0 190 0 a 95 95 0 1 0 -190 0.2 M 95 95 m -73 0 a 73 73 0 1 0 146 0 a 73 73 0 1 0 -146 0'; + --spectrum-colorwheel-path-borders: 'M 96 96 m -96 0 a 96 96 0 1 0 192 0 a 96 96 0 1 0 -192 0.2 M 96 96 m -72 0 a 72 72 0 1 0 144 0 a 72 72 0 1 0 -144 0'; + --spectrum-colorwheel-colorarea-container-size: 144px; + + --spectrum-colorloupe-checkerboard-fill: url(#checkerboard-primary); + + --spectrum-menu-item-selectable-edge-to-text-not-selected-small: 28px; + --spectrum-menu-item-selectable-edge-to-text-not-selected-medium: 32px; + --spectrum-menu-item-selectable-edge-to-text-not-selected-large: 38px; + --spectrum-menu-item-selectable-edge-to-text-not-selected-extra-large: 45px; + + --spectrum-menu-item-checkmark-height-small: 10px; + --spectrum-menu-item-checkmark-height-medium: 10px; + --spectrum-menu-item-checkmark-height-large: 12px; + --spectrum-menu-item-checkmark-height-extra-large: 14px; + + --spectrum-menu-item-checkmark-width-small: 10px; + --spectrum-menu-item-checkmark-width-medium: 10px; + --spectrum-menu-item-checkmark-width-large: 12px; + --spectrum-menu-item-checkmark-width-extra-large: 14px; + + --spectrum-rating-icon-spacing: var(--spectrum-spacing-75); + + --spectrum-button-top-to-text-small: 5px; + --spectrum-button-bottom-to-text-small: 4px; + --spectrum-button-top-to-text-medium: 7px; + --spectrum-button-bottom-to-text-medium: 8px; + --spectrum-button-top-to-text-large: 10px; + --spectrum-button-bottom-to-text-large: 10px; + --spectrum-button-top-to-text-extra-large: 13px; + --spectrum-button-bottom-to-text-extra-large: 13px; + + --spectrum-alert-banner-close-button-spacing: var(--spectrum-spacing-100); + --spectrum-alert-banner-edge-to-divider: var(--spectrum-spacing-100); + --spectrum-alert-banner-edge-to-button: var(--spectrum-spacing-100); + --spectrum-alert-banner-text-to-button-vertical: var( + --spectrum-spacing-100 + ); + + --spectrum-alert-dialog-padding: var(--spectrum-spacing-500); + --spectrum-alert-dialog-description-to-buttons: var(--spectrum-spacing-700); + + --spectrum-coach-indicator-gap: 6px; + --spectrum-coach-indicator-ring-diameter: var(--spectrum-spacing-300); + --spectrum-coach-indicator-quiet-ring-diameter: var(--spectrum-spacing-100); + + --spectrum-coachmark-buttongroup-display: flex; + --spectrum-coachmark-buttongroup-mobile-display: none; + --spectrum-coachmark-menu-display: inline-flex; + --spectrum-coachmark-menu-mobile-display: none; + --spectrum-well-padding: var(--spectrum-spacing-300); + --spectrum-well-margin-top: var(--spectrum-spacing-75); + --spectrum-well-min-width: 240px; + --spectrum-well-border-radius: var(--spectrum-spacing-75); + --spectrum-workflow-icon-size-xxl: 32px; + --spectrum-workflow-icon-size-xxs: 12px; + + --spectrum-treeview-item-indentation-medium: var(--spectrum-spacing-300); + --spectrum-treeview-item-indentation-small: var(--spectrum-spacing-200); + --spectrum-treeview-item-indentation-large: 20px; + --spectrum-treeview-item-indentation-extra-large: var( + --spectrum-spacing-400 + ); + --spectrum-treeview-indicator-inset-block-start: 5px; + --spectrum-treeview-item-min-block-size-thumbnail-offset-medium: 0px; + + --spectrum-dialog-confirm-entry-animation-distance: 20px; + --spectrum-dialog-confirm-hero-height: 128px; + --spectrum-dialog-confirm-border-radius: 4px; + --spectrum-dialog-confirm-title-text-size: 18px; + --spectrum-dialog-confirm-description-text-size: 14px; + --spectrum-dialog-confirm-padding-grid: 40px; + + --spectrum-datepicker-initial-width: 128px; + --spectrum-datepicker-generic-padding: var(--spectrum-spacing-200); + --spectrum-datepicker-dash-line-height: 24px; + --spectrum-datepicker-width-quiet-first: 72px; + --spectrum-datepicker-width-quiet-second: 16px; + --spectrum-datepicker-datetime-width-first: 36px; + --spectrum-datepicker-invalid-icon-to-button: 8px; + --spectrum-datepicker-invalid-icon-to-button-quiet: 7px; + --spectrum-datepicker-input-datetime-width: var(--spectrum-spacing-400); + + --spectrum-pagination-textfield-width: var(--spectrum-spacing-700); + --spectrum-pagination-item-inline-spacing: 5px; + + --spectrum-dial-border-radius: 16px; + --spectrum-dial-handle-position: 8px; + --spectrum-dial-handle-block-margin: 16px; + --spectrum-dial-handle-inline-margin: 16px; + --spectrum-dial-controls-margin: 8px; + --spectrum-dial-label-gap-y: 5px; + --spectrum-dial-label-container-top-to-text: 4px; + + --spectrum-assetcard-focus-ring-border-radius: 8px; + --spectrum-assetcard-selectionindicator-margin: 12px; + --spectrum-assetcard-title-font-size: var(--spectrum-heading-size-xs); + --spectrum-assetcard-header-content-font-size: var( + --spectrum-heading-size-xs + ); + --spectrum-assetcard-content-font-size: var(--spectrum-body-size-s); + + --spectrum-tooltip-animation-distance: var(--spectrum-spacing-75); + + --spectrum-ui-icon-medium-display: block; + --spectrum-ui-icon-large-display: none; } diff --git a/tools/styles/typography.css b/tools/styles/typography.css index fe3ef2ff53..ef47aa872e 100644 --- a/tools/styles/typography.css +++ b/tools/styles/typography.css @@ -1,37 +1,18 @@ -:root, -:host { - --spectrum-font-family-ar: myriad-arabic, adobe-clean, 'Source Sans Pro', - -apple-system, blinkmacsystemfont, 'Segoe UI', roboto, ubuntu, - 'Trebuchet MS', 'Lucida Grande', sans-serif; - --spectrum-font-family-he: myriad-hebrew, adobe-clean, 'Source Sans Pro', - -apple-system, blinkmacsystemfont, 'Segoe UI', roboto, ubuntu, - 'Trebuchet MS', 'Lucida Grande', sans-serif; - --spectrum-font-family: var(--spectrum-sans-font-family-stack); - --spectrum-font-style: var(--spectrum-default-font-style); - --spectrum-font-size: var(--spectrum-font-size-100); +.spectrum-Typography { font-family: var(--spectrum-font-family); font-style: var(--spectrum-font-style); font-size: var(--spectrum-font-size); } -.spectrum:lang(ar) { +.spectrum-Typography:lang(ar) { font-family: var(--spectrum-font-family-ar); } -.spectrum:lang(he) { +.spectrum-Typography:lang(he) { font-family: var(--spectrum-font-family-he); } -.spectrum-Heading { - --spectrum-heading-sans-serif-font-family: var( - --spectrum-sans-font-family-stack - ); - --spectrum-heading-serif-font-family: var( - --spectrum-serif-font-family-stack - ); - --spectrum-heading-cjk-font-family: var(--spectrum-cjk-font-family-stack); - --spectrum-heading-cjk-letter-spacing: var(--spectrum-cjk-letter-spacing); - --spectrum-heading-font-color: var(--spectrum-heading-color); +.spectrum-Typography .spectrum-Heading { --spectrum-heading-margin-start: calc( var(--mod-heading-font-size, var(--spectrum-heading-font-size)) * var(--spectrum-heading-margin-top-multiplier) @@ -42,44 +23,22 @@ ); } -.spectrum-Heading--sizeXXS { - --spectrum-heading-font-size: var(--spectrum-heading-size-xxs); - --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-xxs); -} - -.spectrum-Heading--sizeXS { - --spectrum-heading-font-size: var(--spectrum-heading-size-xs); - --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-xs); -} - -.spectrum-Heading--sizeS { - --spectrum-heading-font-size: var(--spectrum-heading-size-s); - --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-s); -} - -.spectrum-Heading--sizeM { - --spectrum-heading-font-size: var(--spectrum-heading-size-m); - --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-m); -} - -.spectrum-Heading--sizeL { - --spectrum-heading-font-size: var(--spectrum-heading-size-l); - --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-l); -} - -.spectrum-Heading--sizeXL { - --spectrum-heading-font-size: var(--spectrum-heading-size-xl); - --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-xl); -} - -.spectrum-Heading--sizeXXL { - --spectrum-heading-font-size: var(--spectrum-heading-size-xxl); - --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-xxl); +.spectrum-Typography .spectrum-Body { + --spectrum-body-margin-end: calc( + var(--mod-body-font-size, var(--spectrum-body-font-size)) * + var(--spectrum-body-margin-multiplier) + ); } -.spectrum-Heading--sizeXXXL { - --spectrum-heading-font-size: var(--spectrum-heading-size-xxxl); - --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-xxxl); +.spectrum-Typography .spectrum-Detail { + --spectrum-detail-margin-start: calc( + var(--mod-detail-font-size, var(--spectrum-detail-font-size)) * + var(--spectrum-detail-margin-top-multiplier) + ); + --spectrum-detail-margin-end: calc( + var(--mod-detail-font-size, var(--spectrum-detail-font-size)) * + var(--spectrum-detail-margin-bottom-multiplier) + ); } .spectrum-Heading { @@ -104,7 +63,14 @@ --mod-heading-line-height, var(--spectrum-heading-line-height) ); - margin-block: 0; + margin-block-start: var( + --mod-heading-margin-start, + var(--spectrum-heading-margin-start, 0) + ); + margin-block-end: var( + --mod-heading-margin-end, + var(--spectrum-heading-margin-end, 0) + ); } .spectrum-Heading .spectrum-Heading-strong, @@ -604,59 +570,6 @@ ); } -.spectrum-Typography .spectrum-Heading { - margin-block-start: var( - --mod-heading-margin-start, - var(--spectrum-heading-margin-start) - ); - margin-block-end: var( - --mod-heading-margin-end, - var(--spectrum-heading-margin-end) - ); -} - -.spectrum-Body { - --spectrum-body-sans-serif-font-family: var( - --spectrum-sans-font-family-stack - ); - --spectrum-body-serif-font-family: var(--spectrum-serif-font-family-stack); - --spectrum-body-cjk-font-family: var(--spectrum-cjk-font-family-stack); - --spectrum-body-cjk-letter-spacing: var(--spectrum-cjk-letter-spacing); - --spectrum-body-margin: calc( - var(--mod-body-font-size, var(--spectrum-body-font-size)) * - var(--spectrum-body-margin-multiplier) - ); - --spectrum-body-font-color: var(--spectrum-body-color); -} - -.spectrum-Body--sizeXS { - --spectrum-body-font-size: var(--spectrum-body-size-xs); -} - -.spectrum-Body--sizeS { - --spectrum-body-font-size: var(--spectrum-body-size-s); -} - -.spectrum-Body--sizeM { - --spectrum-body-font-size: var(--spectrum-body-size-m); -} - -.spectrum-Body--sizeL { - --spectrum-body-font-size: var(--spectrum-body-size-l); -} - -.spectrum-Body--sizeXL { - --spectrum-body-font-size: var(--spectrum-body-size-xl); -} - -.spectrum-Body--sizeXXL { - --spectrum-body-font-size: var(--spectrum-body-size-xxl); -} - -.spectrum-Body--sizeXXXL { - --spectrum-body-font-size: var(--spectrum-body-size-xxxl); -} - .spectrum-Body { font-family: var( --mod-body-sans-serif-font-family, @@ -676,7 +589,14 @@ var(--mod-body-font-color, var(--spectrum-body-font-color)) ); line-height: var(--mod-body-line-height, var(--spectrum-body-line-height)); - margin-block: 0; + margin-block-start: var( + --mod-body-margin-start, + var(--mod-body-margin, var(--spectrum-body-margin-start, 0)) + ); + margin-block-end: var( + --mod-body-margin-end, + var(--mod-body-margin, var(--spectrum-body-margin-end, 0)) + ); } .spectrum-Body .spectrum-Body-strong, @@ -844,45 +764,6 @@ ); } -.spectrum-Typography .spectrum-Body { - margin-block-end: var(--mod-body-margin, var(--spectrum-body-margin)); -} - -.spectrum-Detail { - --spectrum-detail-sans-serif-font-family: var( - --spectrum-sans-font-family-stack - ); - --spectrum-detail-serif-font-family: var( - --spectrum-serif-font-family-stack - ); - --spectrum-detail-cjk-font-family: var(--spectrum-cjk-font-family-stack); - --spectrum-detail-margin-start: calc( - var(--mod-detail-font-size, var(--spectrum-detail-font-size)) * - var(--spectrum-detail-margin-top-multiplier) - ); - --spectrum-detail-margin-end: calc( - var(--mod-detail-font-size, var(--spectrum-detail-font-size)) * - var(--spectrum-detail-margin-bottom-multiplier) - ); - --spectrum-detail-font-color: var(--spectrum-detail-color); -} - -.spectrum-Detail--sizeS { - --spectrum-detail-font-size: var(--spectrum-detail-size-s); -} - -.spectrum-Detail--sizeM { - --spectrum-detail-font-size: var(--spectrum-detail-size-m); -} - -.spectrum-Detail--sizeL { - --spectrum-detail-font-size: var(--spectrum-detail-size-l); -} - -.spectrum-Detail--sizeXL { - --spectrum-detail-font-size: var(--spectrum-detail-size-xl); -} - .spectrum-Detail { font-family: var( --mod-detail-sans-serif-font-family, @@ -910,7 +791,14 @@ var(--spectrum-detail-letter-spacing) ); text-transform: uppercase; - margin-block: 0; + margin-block-start: var( + --mod-detail-margin-start, + var(--spectrum-detail-margin-start, 0) + ); + margin-block-end: var( + --mod-detail-margin-end, + var(--spectrum-detail-margin-end, 0) + ); } .spectrum-Detail .spectrum-Detail-strong, @@ -1232,43 +1120,6 @@ ); } -.spectrum-Typography .spectrum-Detail { - margin-block-start: var( - --mod-detail-margin-start, - var(--spectrum-detail-margin-start) - ); - margin-block-end: var( - --mod-detail-margin-end, - var(--spectrum-detail-margin-end) - ); -} - -.spectrum-Code { - --spectrum-code-font-family: var(--spectrum-code-font-family-stack); - --spectrum-code-cjk-letter-spacing: var(--spectrum-cjk-letter-spacing); - --spectrum-code-font-color: var(--spectrum-code-color); -} - -.spectrum-Code--sizeXS { - --spectrum-code-font-size: var(--spectrum-code-size-xs); -} - -.spectrum-Code--sizeS { - --spectrum-code-font-size: var(--spectrum-code-size-s); -} - -.spectrum-Code--sizeM { - --spectrum-code-font-size: var(--spectrum-code-size-m); -} - -.spectrum-Code--sizeL { - --spectrum-code-font-size: var(--spectrum-code-size-l); -} - -.spectrum-Code--sizeXL { - --spectrum-code-font-size: var(--spectrum-code-size-xl); -} - .spectrum-Code { font-family: var(--mod-code-font-family, var(--spectrum-code-font-family)); font-style: var(--mod-code-font-style, var(--spectrum-code-font-style)); @@ -1279,7 +1130,14 @@ --highcontrast-code-font-color, var(--mod-code-font-color, var(--spectrum-code-font-color)) ); - margin-block: 0; + margin-block-start: var( + --mod-code-margin-start, + var(--spectrum-code-margin-end, 0) + ); + margin-block-end: var( + --mod-code-margin-end, + var(--spectrum-code-margin-end, 0) + ); } .spectrum-Code .spectrum-Code-strong, @@ -1394,3 +1252,167 @@ var(--spectrum-code-cjk-strong-emphasized-font-weight) ); } + +.spectrum-Heading { + --spectrum-heading-sans-serif-font-family: var( + --system-heading-sans-serif-font-family + ); + --spectrum-heading-serif-font-family: var( + --system-heading-serif-font-family + ); + --spectrum-heading-cjk-font-family: var(--system-heading-cjk-font-family); + --spectrum-heading-cjk-letter-spacing: var( + --system-heading-cjk-letter-spacing + ); + --spectrum-heading-font-color: var(--system-heading-font-color); + --spectrum-heading-font-size: var(--system-heading-font-size); + --spectrum-heading-cjk-font-size: var(--system-heading-cjk-font-size); +} + +.spectrum-Heading--sizeXXS { + --spectrum-heading-font-size: var(--system-heading-size-xxs-font-size); + --spectrum-heading-cjk-font-size: var( + --system-heading-size-xxs-cjk-font-size + ); +} + +.spectrum-Heading--sizeXS { + --spectrum-heading-font-size: var(--system-heading-size-xs-font-size); + --spectrum-heading-cjk-font-size: var( + --system-heading-size-xs-cjk-font-size + ); +} + +.spectrum-Heading--sizeS { + --spectrum-heading-font-size: var(--system-heading-size-s-font-size); + --spectrum-heading-cjk-font-size: var( + --system-heading-size-s-cjk-font-size + ); +} + +.spectrum-Heading--sizeM { + --spectrum-heading-font-size: var(--system-heading-size-m-font-size); + --spectrum-heading-cjk-font-size: var( + --system-heading-size-m-cjk-font-size + ); +} + +.spectrum-Heading--sizeL { + --spectrum-heading-font-size: var(--system-heading-size-l-font-size); + --spectrum-heading-cjk-font-size: var( + --system-heading-size-l-cjk-font-size + ); +} + +.spectrum-Heading--sizeXL { + --spectrum-heading-font-size: var(--system-heading-size-xl-font-size); + --spectrum-heading-cjk-font-size: var( + --system-heading-size-xl-cjk-font-size + ); +} + +.spectrum-Heading--sizeXXL { + --spectrum-heading-font-size: var(--system-heading-size-xxl-font-size); + --spectrum-heading-cjk-font-size: var( + --system-heading-size-xxl-cjk-font-size + ); +} + +.spectrum-Heading--sizeXXXL { + --spectrum-heading-font-size: var(--system-heading-size-xxxl-font-size); + --spectrum-heading-cjk-font-size: var( + --system-heading-size-xxxl-cjk-font-size + ); +} + +.spectrum-Body { + --spectrum-body-sans-serif-font-family: var( + --system-body-sans-serif-font-family + ); + --spectrum-body-serif-font-family: var(--system-body-serif-font-family); + --spectrum-body-cjk-font-family: var(--system-body-cjk-font-family); + --spectrum-body-cjk-letter-spacing: var(--system-body-cjk-letter-spacing); + --spectrum-body-font-color: var(--system-body-font-color); + --spectrum-body-font-size: var(--system-body-font-size); +} + +.spectrum-Body--sizeXS { + --spectrum-body-font-size: var(--system-body-size-xs-font-size); +} + +.spectrum-Body--sizeS { + --spectrum-body-font-size: var(--system-body-size-s-font-size); +} + +.spectrum-Body--sizeM { + --spectrum-body-font-size: var(--system-body-size-m-font-size); +} + +.spectrum-Body--sizeL { + --spectrum-body-font-size: var(--system-body-size-l-font-size); +} + +.spectrum-Body--sizeXL { + --spectrum-body-font-size: var(--system-body-size-xl-font-size); +} + +.spectrum-Body--sizeXXL { + --spectrum-body-font-size: var(--system-body-size-xxl-font-size); +} + +.spectrum-Body--sizeXXXL { + --spectrum-body-font-size: var(--system-body-size-xxxl-font-size); +} + +.spectrum-Detail { + --spectrum-detail-sans-serif-font-family: var( + --system-detail-sans-serif-font-family + ); + --spectrum-detail-serif-font-family: var(--system-detail-serif-font-family); + --spectrum-detail-cjk-font-family: var(--system-detail-cjk-font-family); + --spectrum-detail-font-color: var(--system-detail-font-color); + --spectrum-detail-font-size: var(--system-detail-font-size); +} + +.spectrum-Detail--sizeS { + --spectrum-detail-font-size: var(--system-detail-size-s-font-size); +} + +.spectrum-Detail--sizeM { + --spectrum-detail-font-size: var(--system-detail-size-m-font-size); +} + +.spectrum-Detail--sizeL { + --spectrum-detail-font-size: var(--system-detail-size-l-font-size); +} + +.spectrum-Detail--sizeXL { + --spectrum-detail-font-size: var(--system-detail-size-xl-font-size); +} + +.spectrum-Code { + --spectrum-code-font-family: var(--system-code-font-family); + --spectrum-code-cjk-letter-spacing: var(--system-code-cjk-letter-spacing); + --spectrum-code-font-color: var(--system-code-font-color); + --spectrum-code-font-size: var(--system-code-font-size); +} + +.spectrum-Code--sizeXS { + --spectrum-code-font-size: var(--system-code-size-xs-font-size); +} + +.spectrum-Code--sizeS { + --spectrum-code-font-size: var(--system-code-size-s-font-size); +} + +.spectrum-Code--sizeM { + --spectrum-code-font-size: var(--system-code-size-m-font-size); +} + +.spectrum-Code--sizeL { + --spectrum-code-font-size: var(--system-code-size-l-font-size); +} + +.spectrum-Code--sizeXL { + --spectrum-code-font-size: var(--system-code-size-xl-font-size); +} diff --git a/tools/theme/README.md b/tools/theme/README.md index 3c8684c2c2..c4d0ca9cbe 100644 --- a/tools/theme/README.md +++ b/tools/theme/README.md @@ -126,7 +126,7 @@ Once you've moved beyond the prototype phase of an application, it is likely tha * Power a site using * * diff --git a/tools/theme/core-tokens.ts b/tools/theme/core-tokens.ts index eba6575637..f4eff94351 100644 --- a/tools/theme/core-tokens.ts +++ b/tools/theme/core-tokens.ts @@ -13,4 +13,4 @@ governing permissions and limitations under the License. import { Theme } from './src/Theme.js'; import coreStyles from './src/theme-core-tokens.css.js'; -Theme.registerThemeFragment('spectrum', 'theme', coreStyles); +Theme.registerThemeFragment('spectrum', 'system', coreStyles); diff --git a/tools/theme/package.json b/tools/theme/package.json index 017c4fab17..4c2beec29a 100755 --- a/tools/theme/package.json +++ b/tools/theme/package.json @@ -112,18 +112,50 @@ "development": "./spectrum-two/scale-large-core-tokens.dev.js", "default": "./spectrum-two/scale-large-core-tokens.js" }, + "./spectrum-two/scale-large.js": { + "development": "./spectrum-two/scale-large.dev.js", + "default": "./spectrum-two/scale-large.js" + }, "./spectrum-two/scale-medium-core-tokens.js": { "development": "./spectrum-two/scale-medium-core-tokens.dev.js", "default": "./spectrum-two/scale-medium-core-tokens.js" }, + "./spectrum-two/scale-medium.js": { + "development": "./spectrum-two/scale-medium.dev.js", + "default": "./spectrum-two/scale-medium.js" + }, "./spectrum-two/theme-dark-core-tokens.js": { "development": "./spectrum-two/theme-dark-core-tokens.dev.js", "default": "./spectrum-two/theme-dark-core-tokens.js" }, + "./spectrum-two/theme-dark.js": { + "development": "./spectrum-two/theme-dark.dev.js", + "default": "./spectrum-two/theme-dark.js" + }, + "./spectrum-two/theme-darkest-core-tokens.js": { + "development": "./spectrum-two/theme-darkest-core-tokens.dev.js", + "default": "./spectrum-two/theme-darkest-core-tokens.js" + }, + "./spectrum-two/theme-darkest.js": { + "development": "./spectrum-two/theme-darkest.dev.js", + "default": "./spectrum-two/theme-darkest.js" + }, "./spectrum-two/theme-light-core-tokens.js": { "development": "./spectrum-two/theme-light-core-tokens.dev.js", "default": "./spectrum-two/theme-light-core-tokens.js" }, + "./spectrum-two/theme-light.js": { + "development": "./spectrum-two/theme-light.dev.js", + "default": "./spectrum-two/theme-light.js" + }, + "./spectrum-two/theme-lightest-core-tokens.js": { + "development": "./spectrum-two/theme-lightest-core-tokens.dev.js", + "default": "./spectrum-two/theme-lightest-core-tokens.js" + }, + "./spectrum-two/theme-lightest.js": { + "development": "./spectrum-two/theme-lightest.dev.js", + "default": "./spectrum-two/theme-lightest.js" + }, "./src/express/core-tokens.js": { "development": "./src/express/core-tokens.dev.js", "default": "./src/express/core-tokens.js" @@ -158,10 +190,24 @@ "development": "./src/spectrum-two/core.dev.js", "default": "./src/spectrum-two/core.js" }, + "./src/spectrum-two/scale-large-core-tokens.css.js": "./src/spectrum-two/scale-large-core-tokens.css.js", + "./src/spectrum-two/scale-large.css.js": "./src/spectrum-two/scale-large.css.js", + "./src/spectrum-two/scale-medium-core-tokens.css.js": "./src/spectrum-two/scale-medium-core-tokens.css.js", + "./src/spectrum-two/scale-medium.css.js": "./src/spectrum-two/scale-medium.css.js", + "./src/spectrum-two/theme-core-tokens.css.js": "./src/spectrum-two/theme-core-tokens.css.js", + "./src/spectrum-two/theme-dark-core-tokens.css.js": "./src/spectrum-two/theme-dark-core-tokens.css.js", + "./src/spectrum-two/theme-dark.css.js": "./src/spectrum-two/theme-dark.css.js", + "./src/spectrum-two/theme-light-core-tokens.css.js": "./src/spectrum-two/theme-light-core-tokens.css.js", + "./src/spectrum-two/theme-light.css.js": "./src/spectrum-two/theme-light.css.js", + "./src/spectrum-two/theme.css.js": "./src/spectrum-two/theme.css.js", "./src/spectrum-two/themes-core-tokens.js": { "development": "./src/spectrum-two/themes-core-tokens.dev.js", "default": "./src/spectrum-two/themes-core-tokens.js" }, + "./src/spectrum-two/themes.js": { + "development": "./src/spectrum-two/themes.dev.js", + "default": "./src/spectrum-two/themes.js" + }, "./core.js": { "development": "./core.dev.js", "default": "./core.js" diff --git a/tools/theme/spectrum-two/scale-large.ts b/tools/theme/spectrum-two/scale-large.ts new file mode 100644 index 0000000000..85dc689a8f --- /dev/null +++ b/tools/theme/spectrum-two/scale-large.ts @@ -0,0 +1,17 @@ +/* +Copyright 2020 Adobe. All rights reserved. +This file is licensed to you under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. You may obtain a copy +of the License at http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under +the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS +OF ANY KIND, either express or implied. See the License for the specific language +governing permissions and limitations under the License. +*/ + +import largeStyles from '../src/spectrum-two/scale-large.css.js'; +import { Theme } from '../src/Theme.js'; +import '../src/spectrum-two/core.js'; + +Theme.registerThemeFragment('large-spectrum-two', 'scale', largeStyles); diff --git a/tools/theme/spectrum-two/scale-medium.ts b/tools/theme/spectrum-two/scale-medium.ts new file mode 100644 index 0000000000..125c351e4f --- /dev/null +++ b/tools/theme/spectrum-two/scale-medium.ts @@ -0,0 +1,17 @@ +/* +Copyright 2020 Adobe. All rights reserved. +This file is licensed to you under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. You may obtain a copy +of the License at http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under +the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS +OF ANY KIND, either express or implied. See the License for the specific language +governing permissions and limitations under the License. +*/ + +import mediumStyles from '../src/spectrum-two/scale-medium.css.js'; +import { Theme } from '../src/Theme.js'; +import '../src/spectrum-two/core.js'; + +Theme.registerThemeFragment('medium-spectrum-two', 'scale', mediumStyles); diff --git a/tools/theme/spectrum-two/theme-dark.ts b/tools/theme/spectrum-two/theme-dark.ts new file mode 100644 index 0000000000..b1ca324b1f --- /dev/null +++ b/tools/theme/spectrum-two/theme-dark.ts @@ -0,0 +1,17 @@ +/* +Copyright 2020 Adobe. All rights reserved. +This file is licensed to you under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. You may obtain a copy +of the License at http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under +the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS +OF ANY KIND, either express or implied. See the License for the specific language +governing permissions and limitations under the License. +*/ + +import darkStyles from '../src/spectrum-two/theme-dark.css.js'; +import { Theme } from '../src/Theme.js'; +import '../src/spectrum-two/core.js'; + +Theme.registerThemeFragment('dark-spectrum-two', 'color', darkStyles); diff --git a/tools/theme/spectrum-two/theme-darkest-core-tokens.ts b/tools/theme/spectrum-two/theme-darkest-core-tokens.ts new file mode 100644 index 0000000000..d7261b4c72 --- /dev/null +++ b/tools/theme/spectrum-two/theme-darkest-core-tokens.ts @@ -0,0 +1,17 @@ +/* +Copyright 2020 Adobe. All rights reserved. +This file is licensed to you under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. You may obtain a copy +of the License at http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under +the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS +OF ANY KIND, either express or implied. See the License for the specific language +governing permissions and limitations under the License. +*/ + +import darkStyles from '../src/spectrum-two/theme-dark-core-tokens.css.js'; +import { Theme } from '../src/Theme.js'; +import '../src/spectrum-two/core-tokens.js'; + +Theme.registerThemeFragment('darkest-spectrum-two', 'color', darkStyles); diff --git a/tools/theme/spectrum-two/theme-darkest.ts b/tools/theme/spectrum-two/theme-darkest.ts new file mode 100644 index 0000000000..c0f8cfc61e --- /dev/null +++ b/tools/theme/spectrum-two/theme-darkest.ts @@ -0,0 +1,17 @@ +/* +Copyright 2020 Adobe. All rights reserved. +This file is licensed to you under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. You may obtain a copy +of the License at http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under +the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS +OF ANY KIND, either express or implied. See the License for the specific language +governing permissions and limitations under the License. +*/ + +import darkStyles from '../src/spectrum-two/theme-dark.css.js'; +import { Theme } from '../src/Theme.js'; +import '../src/spectrum-two/core.js'; + +Theme.registerThemeFragment('darkest-spectrum-two', 'color', darkStyles); diff --git a/tools/theme/spectrum-two/theme-light.ts b/tools/theme/spectrum-two/theme-light.ts new file mode 100644 index 0000000000..405ddcafb8 --- /dev/null +++ b/tools/theme/spectrum-two/theme-light.ts @@ -0,0 +1,17 @@ +/* +Copyright 2020 Adobe. All rights reserved. +This file is licensed to you under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. You may obtain a copy +of the License at http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under +the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS +OF ANY KIND, either express or implied. See the License for the specific language +governing permissions and limitations under the License. +*/ + +import lightStyles from '../src/spectrum-two/theme-light.css.js'; +import { Theme } from '../src/Theme.js'; +import '../src/spectrum-two/core.js'; + +Theme.registerThemeFragment('light-spectrum-two', 'color', lightStyles); diff --git a/tools/theme/spectrum-two/theme-lightest-core-tokens.ts b/tools/theme/spectrum-two/theme-lightest-core-tokens.ts new file mode 100644 index 0000000000..70fc6f060f --- /dev/null +++ b/tools/theme/spectrum-two/theme-lightest-core-tokens.ts @@ -0,0 +1,17 @@ +/* +Copyright 2020 Adobe. All rights reserved. +This file is licensed to you under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. You may obtain a copy +of the License at http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under +the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS +OF ANY KIND, either express or implied. See the License for the specific language +governing permissions and limitations under the License. +*/ + +import lightStyles from '../src/spectrum-two/theme-light-core-tokens.css.js'; +import { Theme } from '../src/Theme.js'; +import '../src/spectrum-two/core-tokens.js'; + +Theme.registerThemeFragment('lightest-spectrum-two', 'color', lightStyles); diff --git a/tools/theme/spectrum-two/theme-lightest.ts b/tools/theme/spectrum-two/theme-lightest.ts new file mode 100644 index 0000000000..558e316369 --- /dev/null +++ b/tools/theme/spectrum-two/theme-lightest.ts @@ -0,0 +1,17 @@ +/* +Copyright 2020 Adobe. All rights reserved. +This file is licensed to you under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. You may obtain a copy +of the License at http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under +the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS +OF ANY KIND, either express or implied. See the License for the specific language +governing permissions and limitations under the License. +*/ + +import lightStyles from '../src/spectrum-two/theme-light.css.js'; +import { Theme } from '../src/Theme.js'; +import '../src/spectrum-two/core.js'; + +Theme.registerThemeFragment('lightest-spectrum-two', 'color', lightStyles); diff --git a/tools/theme/src/Theme.ts b/tools/theme/src/Theme.ts index 34a207a8f2..56efd2dbd0 100755 --- a/tools/theme/src/Theme.ts +++ b/tools/theme/src/Theme.ts @@ -44,15 +44,7 @@ export class Theme extends HTMLElement implements ThemeKindProvider { static VERSION = version; static get observedAttributes(): string[] { - return [ - 'color', - 'scale', - 'lang', - 'dir', - 'system', - /* deprecated attributes, but still observing */ - 'theme', - ]; + return ['color', 'scale', 'lang', 'dir', 'system']; } _dir: 'ltr' | 'rtl' | '' = ''; @@ -89,14 +81,9 @@ export class Theme extends HTMLElement implements ThemeKindProvider { this.color = value as Color; } else if (attrName === 'scale') { this.scale = value as Scale; - /* c8 ignore next 3 */ } else if (attrName === 'lang' && !!value) { this.lang = value; this._provideContext(); - } else if (attrName === 'theme') { - this.theme = value as SystemVariant; - this._provideSystemContext(); - warnBetaSystem(this, value as SystemVariant); } else if (attrName === 'system') { this.system = value as SystemVariant; this._provideSystemContext(); @@ -144,25 +131,6 @@ export class Theme extends HTMLElement implements ThemeKindProvider { } } - /* - * @deprecated The `theme` attribute has been deprecated in favor of the `system` attribute. - */ - get theme(): SystemVariant | '' { - /* c8 ignore next 3 */ - if (!this.system) { - this.removeAttribute('system'); - } - return this.system; - } - - /* - * @deprecated The `theme` attribute has been deprecated in favor of the `system` attribute. - */ - set theme(newValue: SystemVariant | '') { - this.system = newValue; - this.requestUpdate(); - } - private _color: Color | '' = ''; /** @@ -191,7 +159,6 @@ export class Theme extends HTMLElement implements ThemeKindProvider { } if (color) { this.setAttribute('color', color); - /* c8 ignore next 3 */ } else { this.removeAttribute('color'); } @@ -241,14 +208,10 @@ export class Theme extends HTMLElement implements ThemeKindProvider { kind?: FragmentType ): CSSResultGroup | undefined => { const currentStyles = - kind && - kind !== 'theme' && - kind !== 'system' && - this.theme !== 'spectrum' && - this.system !== 'spectrum' + kind && kind !== 'system' && this.system !== 'spectrum' ? fragments.get(`${name}-${this.system}`) : fragments.get(name); - // theme="spectrum" is available by default and doesn't need to be applied. + // system="spectrum" is available by default and doesn't need to be applied. const isAppliedFragment = name === 'spectrum' || !kind || this.hasAttribute(kind); if (currentStyles && isAppliedFragment) { @@ -279,7 +242,6 @@ export class Theme extends HTMLElement implements ThemeKindProvider { this.system, this.color, this.scale, - this.hasAttribute('theme'), themeFragmentsByKind ); @@ -312,26 +274,11 @@ export class Theme extends HTMLElement implements ThemeKindProvider { this.updateComplete = this.__createDeferredPromise(); } - /** - * Stores system context consumers and their associated callbacks. - * - * This Map associates each consumer component (HTMLElement) with a tuple containing: - * - The `SystemContextCallback` function to be invoked with the system context. - * - An `unsubscribe` function to remove the consumer from the Map when it's no longer needed. - */ private _systemContextConsumers = new Map< HTMLElement, [SystemContextCallback, () => void] >(); - /** - * Handles the 'sp-system-context' event dispatched by descendant components requesting the system context. - * - * This method registers the requesting component's callback and provides the current system context to it. - * It also manages the unsubscribe mechanism to clean up when the component is disconnected. - * - * @param event - The custom event containing the callback function to provide the system context. - */ private _handleSystemContext( event: CustomEvent<{ callback: SystemContextCallback }> ): void { @@ -339,7 +286,6 @@ export class Theme extends HTMLElement implements ThemeKindProvider { const target = event.composedPath()[0] as HTMLElement; - /* c8 ignore next 4 */ // Avoid duplicate registrations if (this._systemContextConsumers.has(target)) { return; @@ -460,14 +406,6 @@ export class Theme extends HTMLElement implements ThemeKindProvider { ); } - /** - * Provides the current system context to all registered consumers. - * - * This method iterates over all registered system context consumers and invokes their callbacks, - * passing the current system variant and the unsubscribe function. This ensures that any component - * consuming the system context receives the updated system variant when the `system` (or `theme`) attribute changes. - */ - /* c8 ignore next 5 */ private _provideSystemContext(): void { this._systemContextConsumers.forEach(([callback, unsubscribe]) => callback(this.system, unsubscribe) @@ -514,7 +452,6 @@ function checkForIssues( system: SystemVariant | '', color: Color | '', scale: Scale | '', - hasThemeAttribute: boolean, themeFragmentsByKind: ThemeFragmentMap ): void { if (window.__swc.DEBUG) { @@ -548,11 +485,6 @@ function checkForIssues( } }; - if (hasThemeAttribute) { - issues.push( - `DEPRECATION NOTICE: the "theme" attribute has been deprecated in favor of "system". For more information, see: https://opensource.adobe.com/spectrum-web-components/tools/theme/` - ); - } if (['lightest', 'darkest'].includes(color || '')) { issues.push( `DEPRECATION NOTICE: Color "lightest" and "darkest" are deprecated. For more information, see: https://opensource.adobe.com/spectrum-web-components/tools/theme/` diff --git a/tools/theme/src/express/core-tokens.ts b/tools/theme/src/express/core-tokens.ts index a5ce3e605f..56eb088364 100644 --- a/tools/theme/src/express/core-tokens.ts +++ b/tools/theme/src/express/core-tokens.ts @@ -14,4 +14,4 @@ import { Theme } from '../Theme.js'; import coreStyles from './theme-core-tokens.css.js'; -Theme.registerThemeFragment('express', 'theme', coreStyles); +Theme.registerThemeFragment('express', 'system', coreStyles); diff --git a/tools/theme/src/express/theme-core-tokens.css b/tools/theme/src/express/theme-core-tokens.css index bbf46d60fa..5f408023e1 100644 --- a/tools/theme/src/express/theme-core-tokens.css +++ b/tools/theme/src/express/theme-core-tokens.css @@ -23,6 +23,21 @@ governing permissions and limitations under the License. --spectrum-picker-border-width: var(--spectrum-border-width-100); /* end workaround */ + --spectrum-font-family: var(--spectrum-sans-font-family-stack); + --spectrum-font-style: var(--spectrum-default-font-style); + --spectrum-font-size: var(--spectrum-font-size-100); + + font-family: var(--spectrum-font-family); + font-size: var(--spectrum-font-size); + font-style: var(--spectrum-font-style); + + &:lang(ar) { + font-family: var(--spectrum-font-family-ar); + } + + &:lang(he) { + font-family: var(--spectrum-font-family-he); + } } #scale, diff --git a/tools/theme/src/express/theme.css b/tools/theme/src/express/theme.css index f697ff48fd..cf80eaa576 100644 --- a/tools/theme/src/express/theme.css +++ b/tools/theme/src/express/theme.css @@ -24,6 +24,21 @@ governing permissions and limitations under the License. --spectrum-picker-border-width: var(--spectrum-border-width-100); /* end workaround */ + --spectrum-font-family: var(--spectrum-sans-font-family-stack); + --spectrum-font-style: var(--spectrum-default-font-style); + --spectrum-font-size: var(--spectrum-font-size-100); + + font-family: var(--spectrum-font-family); + font-size: var(--spectrum-font-size); + font-style: var(--spectrum-font-style); + + &:lang(ar) { + font-family: var(--spectrum-font-family-ar); + } + + &:lang(he) { + font-family: var(--spectrum-font-family-he); + } } #scale, diff --git a/packages/split-button/sp-split-button.ts b/tools/theme/src/spectrum-two/scale-large.css similarity index 63% rename from packages/split-button/sp-split-button.ts rename to tools/theme/src/spectrum-two/scale-large.css index 0e5f49ee9c..db452a8607 100644 --- a/packages/split-button/sp-split-button.ts +++ b/tools/theme/src/spectrum-two/scale-large.css @@ -10,13 +10,12 @@ OF ANY KIND, either express or implied. See the License for the specific languag governing permissions and limitations under the License. */ -import { SplitButton } from './src/SplitButton.js'; -import { defineElement } from '@spectrum-web-components/base/src/define-element.js'; +@import url('@spectrum-web-components/styles/spectrum-two/scale-large.css'); +@import url('@spectrum-web-components/styles/tokens-v2/large-vars.css'); +@import url('@spectrum-web-components/styles/tokens-v2/spectrum/custom-large-vars.css'); -defineElement('sp-split-button', SplitButton); - -declare global { - interface HTMLElementTagNameMap { - 'sp-split-button': SplitButton; - } +:root, +:host { + --spectrum-global-alias-appframe-border-size: 1px; + --swc-scale-factor: 1.25; } diff --git a/packages/quick-actions/sp-quick-actions.ts b/tools/theme/src/spectrum-two/scale-medium.css similarity index 63% rename from packages/quick-actions/sp-quick-actions.ts rename to tools/theme/src/spectrum-two/scale-medium.css index 6d9b5732c2..00b5009889 100644 --- a/packages/quick-actions/sp-quick-actions.ts +++ b/tools/theme/src/spectrum-two/scale-medium.css @@ -10,13 +10,12 @@ OF ANY KIND, either express or implied. See the License for the specific languag governing permissions and limitations under the License. */ -import { QuickActions } from './src/QuickActions.js'; -import { defineElement } from '@spectrum-web-components/base/src/define-element.js'; +@import url('@spectrum-web-components/styles/spectrum-two/scale-medium.css'); +@import url('@spectrum-web-components/styles/tokens-v2/medium-vars.css'); +@import url('@spectrum-web-components/styles/tokens-v2/spectrum/custom-medium-vars.css'); -defineElement('sp-quick-actions', QuickActions); - -declare global { - interface HTMLElementTagNameMap { - 'sp-quick-actions': QuickActions; - } +:root, +:host { + --spectrum-global-alias-appframe-border-size: 2px; + --swc-scale-factor: 1; } diff --git a/tools/theme/src/spectrum-two/theme-core-tokens.css b/tools/theme/src/spectrum-two/theme-core-tokens.css index 19ce09913f..11ef41c6cd 100755 --- a/tools/theme/src/spectrum-two/theme-core-tokens.css +++ b/tools/theme/src/spectrum-two/theme-core-tokens.css @@ -22,6 +22,17 @@ governing permissions and limitations under the License. --spectrum-picker-border-width: var(--spectrum-border-width-100); /* end workaround */ + font-family: var(--spectrum-font-family); + font-size: var(--spectrum-font-size); + font-style: var(--spectrum-font-style); + + &:lang(ar) { + font-family: var(--spectrum-font-family-ar); + } + + &:lang(he) { + font-family: var(--spectrum-font-family-he); + } } #scale, diff --git a/tools/theme/src/spectrum-two/theme-dark.css b/tools/theme/src/spectrum-two/theme-dark.css new file mode 100644 index 0000000000..5b2ec201ae --- /dev/null +++ b/tools/theme/src/spectrum-two/theme-dark.css @@ -0,0 +1,15 @@ +/* +Copyright 2020 Adobe. All rights reserved. +This file is licensed to you under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. You may obtain a copy +of the License at http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under +the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS +OF ANY KIND, either express or implied. See the License for the specific language +governing permissions and limitations under the License. +*/ + +@import url('@spectrum-web-components/styles/spectrum-two/theme-dark.css'); +@import url('@spectrum-web-components/styles/tokens-v2/dark-vars.css'); +@import url('@spectrum-web-components/styles/tokens-v2/spectrum/custom-dark-vars.css'); diff --git a/tools/theme/src/spectrum-two/theme-light.css b/tools/theme/src/spectrum-two/theme-light.css new file mode 100644 index 0000000000..3b5ac13b90 --- /dev/null +++ b/tools/theme/src/spectrum-two/theme-light.css @@ -0,0 +1,15 @@ +/* +Copyright 2020 Adobe. All rights reserved. +This file is licensed to you under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. You may obtain a copy +of the License at http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under +the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS +OF ANY KIND, either express or implied. See the License for the specific language +governing permissions and limitations under the License. +*/ + +@import url('@spectrum-web-components/styles/spectrum-two/theme-light.css'); +@import url('@spectrum-web-components/styles/tokens-v2/light-vars.css'); +@import url('@spectrum-web-components/styles/tokens-v2/spectrum/custom-light-vars.css'); diff --git a/tools/theme/src/spectrum-two/theme.css b/tools/theme/src/spectrum-two/theme.css index 29b7528cac..58d25efc0a 100755 --- a/tools/theme/src/spectrum-two/theme.css +++ b/tools/theme/src/spectrum-two/theme.css @@ -10,6 +10,7 @@ OF ANY KIND, either express or implied. See the License for the specific languag governing permissions and limitations under the License. */ +@import url('@spectrum-web-components/styles/spectrum-two/core-global.css'); @import url('@spectrum-web-components/styles/tokens-v2/global-vars.css'); @import url('@spectrum-web-components/styles/tokens-v2/spectrum/global-vars.css'); @import url('@spectrum-web-components/styles/tokens-v2/spectrum/custom-vars.css'); @@ -17,6 +18,17 @@ governing permissions and limitations under the License. :host { display: block; + font-family: var(--spectrum-font-family); + font-size: var(--spectrum-font-size); + font-style: var(--spectrum-font-style); + + &:lang(ar) { + font-family: var(--spectrum-font-family-ar); + } + + &:lang(he) { + font-family: var(--spectrum-font-family-he); + } } #scale, diff --git a/tools/theme/src/spectrum-two/themes-core-tokens.ts b/tools/theme/src/spectrum-two/themes-core-tokens.ts index 89ac504b6a..a2334ffc30 100755 --- a/tools/theme/src/spectrum-two/themes-core-tokens.ts +++ b/tools/theme/src/spectrum-two/themes-core-tokens.ts @@ -11,6 +11,8 @@ governing permissions and limitations under the License. */ import '../../spectrum-two/theme-light-core-tokens.js'; +import '../../spectrum-two/theme-lightest-core-tokens.js'; import '../../spectrum-two/theme-dark-core-tokens.js'; +import '../../spectrum-two/theme-darkest-core-tokens.js'; import '../../spectrum-two/scale-medium-core-tokens.js'; import '../../spectrum-two/scale-large-core-tokens.js'; diff --git a/packages/banner/sp-banner.ts b/tools/theme/src/spectrum-two/themes.ts similarity index 68% rename from packages/banner/sp-banner.ts rename to tools/theme/src/spectrum-two/themes.ts index e036f42f3f..d24ec08205 100644 --- a/packages/banner/sp-banner.ts +++ b/tools/theme/src/spectrum-two/themes.ts @@ -9,13 +9,10 @@ the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTA OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ -import { Banner } from './src/Banner.js'; -import { defineElement } from '@spectrum-web-components/base/src/define-element.js'; -defineElement('sp-banner', Banner); - -declare global { - interface HTMLElementTagNameMap { - 'sp-banner': Banner; - } -} +import '../../spectrum-two/theme-light.js'; +import '../../spectrum-two/theme-lightest.js'; +import '../../spectrum-two/theme-dark.js'; +import '../../spectrum-two/theme-darkest.js'; +import '../../spectrum-two/scale-medium.js'; +import '../../spectrum-two/scale-large.js'; diff --git a/tools/theme/src/theme-core-tokens.css b/tools/theme/src/theme-core-tokens.css index 420dbac102..1c628ea1a4 100644 --- a/tools/theme/src/theme-core-tokens.css +++ b/tools/theme/src/theme-core-tokens.css @@ -17,6 +17,22 @@ governing permissions and limitations under the License. :host { display: block; + + --spectrum-font-family: var(--spectrum-sans-font-family-stack); + --spectrum-font-style: var(--spectrum-default-font-style); + --spectrum-font-size: var(--spectrum-font-size-100); + + font-family: var(--spectrum-font-family); + font-size: var(--spectrum-font-size); + font-style: var(--spectrum-font-style); + + &:lang(ar) { + font-family: var(--spectrum-font-family-ar); + } + + &:lang(he) { + font-family: var(--spectrum-font-family-he); + } } #scale, diff --git a/tools/theme/src/theme-interfaces.ts b/tools/theme/src/theme-interfaces.ts index 7271dba002..994272505e 100644 --- a/tools/theme/src/theme-interfaces.ts +++ b/tools/theme/src/theme-interfaces.ts @@ -15,14 +15,8 @@ export type ShadowRootWithAdoptedStyleSheets = HTMLElement['shadowRoot'] & { adoptedStyleSheets?: CSSStyleSheet[]; }; -export type FragmentType = - | 'color' - | 'scale' - | 'system' - | 'theme' - | 'core' - | 'app'; -export type SettableFragmentTypes = 'color' | 'scale' | 'system' | 'theme'; +export type FragmentType = 'color' | 'scale' | 'system' | 'core' | 'app'; +export type SettableFragmentTypes = 'color' | 'scale' | 'system'; export type FragmentMap = Map; export type ThemeFragmentMap = Map; @@ -51,7 +45,9 @@ export const COLOR_VALUES = [ 'dark-express', 'darkest-express', 'light-spectrum-two', + 'lightest-spectrum-two', 'dark-spectrum-two', + 'darkest-spectrum-two', ] as const; export type SystemVariant = (typeof SYSTEM_VARIANT_VALUES)[number]; @@ -65,6 +61,14 @@ export type SystemContextCallback = ( export type FragmentName = Color | Scale | SystemVariant | 'core' | 'app'; +export interface ThemeData { + color?: Color; + scale?: Scale; + lang?: string; + theme?: SystemVariant; + system?: SystemVariant; +} + export type ThemeKindProvider = { [P in SettableFragmentTypes]: SystemVariant | Color | Scale | ''; }; diff --git a/tools/theme/src/theme.css b/tools/theme/src/theme.css index b59c44dcaf..c58c4f8ae7 100644 --- a/tools/theme/src/theme.css +++ b/tools/theme/src/theme.css @@ -18,6 +18,22 @@ governing permissions and limitations under the License. :host { display: block; + + --spectrum-font-family: var(--spectrum-sans-font-family-stack); + --spectrum-font-style: var(--spectrum-default-font-style); + --spectrum-font-size: var(--spectrum-font-size-100); + + font-family: var(--spectrum-font-family); + font-size: var(--spectrum-font-size); + font-style: var(--spectrum-font-style); + + &:lang(ar) { + font-family: var(--spectrum-font-family-ar); + } + + &:lang(he) { + font-family: var(--spectrum-font-family-he); + } } #scale, diff --git a/tools/theme/test/theme-devmode.test.ts b/tools/theme/test/theme-devmode.test.ts index f663cfa232..0a6ff00b24 100644 --- a/tools/theme/test/theme-devmode.test.ts +++ b/tools/theme/test/theme-devmode.test.ts @@ -61,32 +61,6 @@ describe('Theme', () => { }); }); - it('warns in Dev Mode when you pass a theme attribute', async () => { - const el = await fixture(html` - - `); - - await elementUpdated(el); - - expect(consoleWarnStub.called).to.be.true; - const spyCall = consoleWarnStub.getCall(0); - expect( - (spyCall.args.at(0) as string).includes('deprecated'), - 'confirm "theme-deprecation"-centric message' - ).to.be.true; - expect(spyCall.args.at(-1), 'confirm `data` shape').to.deep.equal({ - data: { - localName: 'sp-theme', - type: 'api', - level: 'default', - }, - }); - }); - it('warns in Dev Mode when you use Spectrum Two theme ', async () => { const el = await fixture(html` { Theme as unknown as TestableThemeConstructor ).themeFragmentsByKind.clear(); // Core is registered by default in `theme.ts` - Theme.registerThemeFragment('spectrum', 'theme', coreStyles); + Theme.registerThemeFragment('spectrum', 'system', coreStyles); }); after(() => { Theme.registerThemeFragment('light', 'color', lightStyles); @@ -43,11 +43,9 @@ describe('Themes - lazy', () => { Theme.registerThemeFragment('medium', 'scale', mediumStyles); }); it('loads w/ no themes and none set', async () => { - const el = await fixture( - html` - - ` - ); + const el = await fixture(html` + + `); await elementUpdated(el); @@ -62,11 +60,9 @@ describe('Themes - lazy', () => { expect(el.scale).to.equal(''); }); it('loads w/ themes and none set', async () => { - const el = await fixture( - html` - - ` - ); + const el = await fixture(html` + + `); await elementUpdated(el); @@ -86,11 +82,9 @@ describe('Themes - lazy', () => { expect(el.scale).to.equal('medium'); }); it('loads w/ no themes', async () => { - const el = await fixture( - html` - - ` - ); + const el = await fixture(html` + + `); await elementUpdated(el); @@ -103,11 +97,9 @@ describe('Themes - lazy', () => { } }); it('loads w/ not enough themes', async () => { - const el = await fixture( - html` - - ` - ); + const el = await fixture(html` + + `); await elementUpdated(el); @@ -125,11 +117,9 @@ describe('Themes - lazy', () => { } }); it('loads w/ lazy themes', async () => { - const el = await fixture( - html` - - ` - ); + const el = await fixture(html` + + `); await elementUpdated(el); diff --git a/tools/theme/test/themes.test.ts b/tools/theme/test/themes.test.ts index 56cb279826..49bd04aa3b 100644 --- a/tools/theme/test/themes.test.ts +++ b/tools/theme/test/themes.test.ts @@ -200,52 +200,32 @@ describe('Setting attributes', () => { } }); - it('prefers system over theme', async () => { + it('loads and handles system attribute', async () => { const el = await fixture(html` - + `); await elementUpdated(el); - expect(el.system).to.equal('express'); - - el.setAttribute('theme', 'classic'); - await elementUpdated(el); - - expect(el.system).to.equal('express'); - expect(el.theme).to.equal('express'); - }); -}); - -describe('Themes', () => { - it('updates system value even if only theme is added to sp-theme', async () => { - const el = await fixture(html` - - `); + expect(el).to.not.be.undefined; + expect(el.hasAttribute('system')).to.be.true; + expect(el.getAttribute('system')).to.equal('spectrum'); + el.setAttribute('system', 'invalid'); await elementUpdated(el); + expect(el.getAttribute('system')).to.equal('spectrum'); // Should fallback to 'spectrum' - expect(el.theme).to.equal('express'); - - el.setAttribute('theme', 'spectrum'); + el.setAttribute('system', 'express'); await elementUpdated(el); + expect(el.getAttribute('system')).to.equal('express'); - expect(el.theme).to.equal('spectrum'); - expect(el.system).to.equal('spectrum'); - }); - it('updates system and theme value iif both are added to sp-theme', async () => { - const el = await fixture(html` - - `); - + // Removing attribute should persist the last valid value + el.removeAttribute('system'); await elementUpdated(el); + expect(el.getAttribute('system')).to.equal('express'); - expect(el.theme).to.equal('spectrum'); - expect(el.system).to.equal('spectrum'); - - el.setAttribute('theme', 'express'); + el.system = 'spectrum'; await elementUpdated(el); - expect(el.theme).to.equal('express'); - expect(el.system).to.equal('express'); + expect(el.getAttribute('system')).to.equal('spectrum'); }); }); diff --git a/tsconfig-all.json b/tsconfig-all.json index 3287972055..e7cec75581 100644 --- a/tsconfig-all.json +++ b/tsconfig-all.json @@ -16,84 +16,233 @@ "tools/*/node_modules/**/*.ts" ], "references": [ - { "path": "packages/accordion" }, - { "path": "packages/action-bar" }, - { "path": "packages/action-button" }, - { "path": "packages/action-group" }, - { "path": "packages/action-menu" }, - { "path": "packages/alert-banner" }, - { "path": "packages/alert-dialog" }, - { "path": "packages/asset" }, - { "path": "packages/avatar" }, - { "path": "packages/banner" }, - { "path": "packages/badge" }, - { "path": "packages/breadcrumbs" }, - { "path": "packages/button" }, - { "path": "packages/button-group" }, - { "path": "packages/card" }, - { "path": "packages/checkbox" }, - { "path": "packages/clear-button" }, - { "path": "packages/close-button" }, - { "path": "packages/coachmark" }, - { "path": "packages/color-area" }, - { "path": "packages/color-handle" }, - { "path": "packages/color-loupe" }, - { "path": "packages/color-slider" }, - { "path": "packages/color-wheel" }, - { "path": "packages/combobox" }, - { "path": "packages/contextual-help" }, - { "path": "packages/dialog" }, - { "path": "packages/divider" }, - { "path": "packages/dropzone" }, - { "path": "packages/field-group" }, - { "path": "packages/field-label" }, - { "path": "packages/help-text" }, - { "path": "packages/icon" }, - { "path": "packages/icons" }, - { "path": "packages/icons-ui" }, - { "path": "packages/icons-workflow" }, - { "path": "packages/iconset" }, - { "path": "packages/illustrated-message" }, - { "path": "packages/infield-button" }, - { "path": "packages/link" }, - { "path": "packages/menu" }, - { "path": "packages/meter" }, - { "path": "packages/modal" }, - { "path": "packages/number-field" }, - { "path": "packages/overlay" }, - { "path": "packages/picker" }, - { "path": "packages/picker-button" }, - { "path": "packages/popover" }, - { "path": "packages/progress-bar" }, - { "path": "packages/progress-circle" }, - { "path": "packages/quick-actions" }, - { "path": "packages/radio" }, - { "path": "packages/search" }, - { "path": "packages/sidenav" }, - { "path": "packages/slider" }, - { "path": "packages/split-button" }, - { "path": "packages/split-view" }, - { "path": "packages/status-light" }, - { "path": "packages/swatch" }, - { "path": "packages/switch" }, - { "path": "packages/table" }, - { "path": "packages/tabs" }, - { "path": "packages/tags" }, - { "path": "packages/textfield" }, - { "path": "packages/thumbnail" }, - { "path": "packages/toast" }, - { "path": "packages/tooltip" }, - { "path": "packages/top-nav" }, - { "path": "packages/tray" }, - { "path": "packages/underlay" }, - { "path": "tools/opacity-checkerboard" }, - { "path": "tools/base" }, - { "path": "tools/bundle" }, - { "path": "tools/grid" }, - { "path": "tools/reactive-controllers" }, - { "path": "tools/shared" }, - { "path": "tools/styles" }, - { "path": "tools/theme" }, - { "path": "tools/truncated" } + { + "path": "packages/accordion" + }, + { + "path": "packages/action-bar" + }, + { + "path": "packages/action-button" + }, + { + "path": "packages/action-group" + }, + { + "path": "packages/action-menu" + }, + { + "path": "packages/alert-banner" + }, + { + "path": "packages/alert-dialog" + }, + { + "path": "packages/asset" + }, + { + "path": "packages/avatar" + }, + { + "path": "packages/badge" + }, + { + "path": "packages/breadcrumbs" + }, + { + "path": "packages/button" + }, + { + "path": "packages/button-group" + }, + { + "path": "packages/card" + }, + { + "path": "packages/checkbox" + }, + { + "path": "packages/clear-button" + }, + { + "path": "packages/close-button" + }, + { + "path": "packages/coachmark" + }, + { + "path": "packages/color-area" + }, + { + "path": "packages/color-handle" + }, + { + "path": "packages/color-loupe" + }, + { + "path": "packages/color-slider" + }, + { + "path": "packages/color-wheel" + }, + { + "path": "packages/combobox" + }, + { + "path": "packages/contextual-help" + }, + { + "path": "packages/dialog" + }, + { + "path": "packages/divider" + }, + { + "path": "packages/dropzone" + }, + { + "path": "packages/field-group" + }, + { + "path": "packages/field-label" + }, + { + "path": "packages/help-text" + }, + { + "path": "packages/icon" + }, + { + "path": "packages/icons" + }, + { + "path": "packages/icons-ui" + }, + { + "path": "packages/icons-workflow" + }, + { + "path": "packages/iconset" + }, + { + "path": "packages/illustrated-message" + }, + { + "path": "packages/infield-button" + }, + { + "path": "packages/link" + }, + { + "path": "packages/menu" + }, + { + "path": "packages/meter" + }, + { + "path": "packages/modal" + }, + { + "path": "packages/number-field" + }, + { + "path": "packages/overlay" + }, + { + "path": "packages/picker" + }, + { + "path": "packages/picker-button" + }, + { + "path": "packages/popover" + }, + { + "path": "packages/progress-bar" + }, + { + "path": "packages/progress-circle" + }, + { + "path": "packages/radio" + }, + { + "path": "packages/search" + }, + { + "path": "packages/sidenav" + }, + { + "path": "packages/slider" + }, + { + "path": "packages/split-view" + }, + { + "path": "packages/status-light" + }, + { + "path": "packages/swatch" + }, + { + "path": "packages/switch" + }, + { + "path": "packages/table" + }, + { + "path": "packages/tabs" + }, + { + "path": "packages/tags" + }, + { + "path": "packages/textfield" + }, + { + "path": "packages/thumbnail" + }, + { + "path": "packages/toast" + }, + { + "path": "packages/tooltip" + }, + { + "path": "packages/top-nav" + }, + { + "path": "packages/tray" + }, + { + "path": "packages/underlay" + }, + { + "path": "tools/opacity-checkerboard" + }, + { + "path": "tools/base" + }, + { + "path": "tools/bundle" + }, + { + "path": "tools/grid" + }, + { + "path": "tools/reactive-controllers" + }, + { + "path": "tools/shared" + }, + { + "path": "tools/styles" + }, + { + "path": "tools/theme" + }, + { + "path": "tools/truncated" + } ] } diff --git a/tsconfig-react-wrapper.json b/tsconfig-react-wrapper.json index 1fb0539824..3968013346 100644 --- a/tsconfig-react-wrapper.json +++ b/tsconfig-react-wrapper.json @@ -7,75 +7,206 @@ }, "include": ["react/**/*.ts"], "references": [ - { "path": "react/accordion" }, - { "path": "react/action-bar" }, - { "path": "react/action-button" }, - { "path": "react/action-group" }, - { "path": "react/action-menu" }, - { "path": "react/alert-banner" }, - { "path": "react/alert-dialog" }, - { "path": "react/asset" }, - { "path": "react/avatar" }, - { "path": "react/banner" }, - { "path": "react/badge" }, - { "path": "react/breadcrumbs" }, - { "path": "react/button" }, - { "path": "react/button-group" }, - { "path": "react/card" }, - { "path": "react/checkbox" }, - { "path": "react/coachmark" }, - { "path": "react/color-area" }, - { "path": "react/color-field" }, - { "path": "react/color-handle" }, - { "path": "react/color-loupe" }, - { "path": "react/color-slider" }, - { "path": "react/color-wheel" }, - { "path": "react/combobox" }, - { "path": "react/contextual-help" }, - { "path": "react/dialog" }, - { "path": "react/divider" }, - { "path": "react/dropzone" }, - { "path": "react/field-group" }, - { "path": "react/field-label" }, - { "path": "react/grid" }, - { "path": "react/help-text" }, - { "path": "react/icon" }, - { "path": "react/icons" }, - { "path": "react/icons-ui" }, - { "path": "react/icons-workflow" }, - { "path": "react/illustrated-message" }, - { "path": "react/infield-button" }, - { "path": "react/link" }, - { "path": "react/menu" }, - { "path": "react/meter" }, - { "path": "react/number-field" }, - { "path": "react/overlay" }, - { "path": "react/picker" }, - { "path": "react/picker-button" }, - { "path": "react/popover" }, - { "path": "react/progress-bar" }, - { "path": "react/progress-circle" }, - { "path": "react/quick-actions" }, - { "path": "react/radio" }, - { "path": "react/search" }, - { "path": "react/sidenav" }, - { "path": "react/slider" }, - { "path": "react/split-button" }, - { "path": "react/split-view" }, - { "path": "react/status-light" }, - { "path": "react/swatch" }, - { "path": "react/switch" }, - { "path": "react/table" }, - { "path": "react/tabs" }, - { "path": "react/tags" }, - { "path": "react/textfield" }, - { "path": "react/theme" }, - { "path": "react/thumbnail" }, - { "path": "react/toast" }, - { "path": "react/tooltip" }, - { "path": "react/top-nav" }, - { "path": "react/tray" }, - { "path": "react/truncated" }, - { "path": "react/underlay" } + { + "path": "react/accordion" + }, + { + "path": "react/action-bar" + }, + { + "path": "react/action-button" + }, + { + "path": "react/action-group" + }, + { + "path": "react/action-menu" + }, + { + "path": "react/alert-banner" + }, + { + "path": "react/alert-dialog" + }, + { + "path": "react/asset" + }, + { + "path": "react/avatar" + }, + { + "path": "react/badge" + }, + { + "path": "react/breadcrumbs" + }, + { + "path": "react/button" + }, + { + "path": "react/button-group" + }, + { + "path": "react/card" + }, + { + "path": "react/checkbox" + }, + { + "path": "react/coachmark" + }, + { + "path": "react/color-area" + }, + { + "path": "react/color-field" + }, + { + "path": "react/color-handle" + }, + { + "path": "react/color-loupe" + }, + { + "path": "react/color-slider" + }, + { + "path": "react/color-wheel" + }, + { + "path": "react/combobox" + }, + { + "path": "react/contextual-help" + }, + { + "path": "react/dialog" + }, + { + "path": "react/divider" + }, + { + "path": "react/dropzone" + }, + { + "path": "react/field-group" + }, + { + "path": "react/field-label" + }, + { + "path": "react/grid" + }, + { + "path": "react/help-text" + }, + { + "path": "react/icon" + }, + { + "path": "react/icons" + }, + { + "path": "react/icons-ui" + }, + { + "path": "react/icons-workflow" + }, + { + "path": "react/illustrated-message" + }, + { + "path": "react/infield-button" + }, + { + "path": "react/link" + }, + { + "path": "react/menu" + }, + { + "path": "react/meter" + }, + { + "path": "react/number-field" + }, + { + "path": "react/overlay" + }, + { + "path": "react/picker" + }, + { + "path": "react/picker-button" + }, + { + "path": "react/popover" + }, + { + "path": "react/progress-bar" + }, + { + "path": "react/progress-circle" + }, + { + "path": "react/radio" + }, + { + "path": "react/search" + }, + { + "path": "react/sidenav" + }, + { + "path": "react/slider" + }, + { + "path": "react/split-view" + }, + { + "path": "react/status-light" + }, + { + "path": "react/swatch" + }, + { + "path": "react/switch" + }, + { + "path": "react/table" + }, + { + "path": "react/tabs" + }, + { + "path": "react/tags" + }, + { + "path": "react/textfield" + }, + { + "path": "react/theme" + }, + { + "path": "react/thumbnail" + }, + { + "path": "react/toast" + }, + { + "path": "react/tooltip" + }, + { + "path": "react/top-nav" + }, + { + "path": "react/tray" + }, + { + "path": "react/truncated" + }, + { + "path": "react/underlay" + } ] } diff --git a/tsconfig.json b/tsconfig.json index cd82f34993..48e132c7f1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -20,7 +20,8 @@ "strict": true, "sourceMap": true, "target": "es2018", - "types": ["mocha", "chai", "sinon", "node", "swc"] + "types": ["mocha", "chai", "sinon", "node", "swc"], + "resolveJsonModule": true }, "include": ["./global.d.ts"] } diff --git a/web-test-runner.config.js b/web-test-runner.config.js index 77ea643f12..faeb93a0c7 100644 --- a/web-test-runner.config.js +++ b/web-test-runner.config.js @@ -135,7 +135,6 @@ export default { 'packages/menu/test/*.test.js', 'packages/overlay/test/*.test.js', 'packages/picker/test/*.test.js', - 'packages/split-button/test/*.test.js', 'packages/tooltip/test/*.test.js', ], browsers: [chromium, firefox, webkit], diff --git a/web-test-runner.utils.js b/web-test-runner.utils.js index ca745fc483..ca72d976e9 100644 --- a/web-test-runner.utils.js +++ b/web-test-runner.utils.js @@ -123,7 +123,7 @@ export const packages = fs .concat(tools); const vrtHTML = - ({ themeVariant, color, scale, dir, reduceMotion, hcm }) => + ({ systemVariant, color, scale, dir, reduceMotion, hcm }) => (testFramework) => ` @@ -144,7 +144,7 @@ const vrtHTML =