@gitlab/ui 136.3.0 → 136.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/dist/components/base/collapse/collapse.js +3 -4
  2. package/dist/components/base/filtered_search/filtered_search.js +4 -5
  3. package/dist/components/base/filtered_search/filtered_search_token.js +8 -9
  4. package/dist/components/base/filtered_search/filtered_search_token_segment.js +13 -14
  5. package/dist/components/base/form/form_checkbox/form_checkbox.js +14 -15
  6. package/dist/components/base/form/form_input/form_input.js +9 -11
  7. package/dist/components/base/form/form_radio/form_radio.js +14 -15
  8. package/dist/components/base/form/form_textarea/form_textarea.js +13 -16
  9. package/dist/components/base/infinite_scroll/infinite_scroll.js +17 -19
  10. package/dist/components/base/new_dropdowns/listbox/listbox.js +17 -19
  11. package/dist/components/base/sorting/sorting.js +2 -2
  12. package/dist/components/base/tabs/tabs/scrollable_tabs.js +6 -8
  13. package/dist/components/base/toggle/toggle.js +1 -0
  14. package/dist/components/base/token_selector/token_selector.js +13 -15
  15. package/dist/index.css +2 -2
  16. package/dist/index.css.map +1 -1
  17. package/dist/tokens/build/js/tokens.dark.js +34 -17
  18. package/dist/tokens/build/js/tokens.js +34 -17
  19. package/package.json +4 -4
  20. package/src/components/base/collapse/collapse.vue +3 -4
  21. package/src/components/base/filtered_search/filtered_search.vue +4 -5
  22. package/src/components/base/filtered_search/filtered_search_token.vue +8 -9
  23. package/src/components/base/filtered_search/filtered_search_token_segment.vue +10 -11
  24. package/src/components/base/form/form_checkbox/form_checkbox.vue +14 -15
  25. package/src/components/base/form/form_input/form_input.vue +9 -11
  26. package/src/components/base/form/form_radio/form_radio.vue +14 -15
  27. package/src/components/base/form/form_textarea/form_textarea.vue +13 -16
  28. package/src/components/base/infinite_scroll/infinite_scroll.vue +16 -18
  29. package/src/components/base/new_dropdowns/listbox/listbox.vue +17 -19
  30. package/src/components/base/sorting/sorting.vue +3 -2
  31. package/src/components/base/tabs/tabs/scrollable_tabs.vue +7 -9
  32. package/src/components/base/toggle/toggle.scss +90 -22
  33. package/src/components/base/toggle/toggle.vue +1 -0
  34. package/src/components/base/token_selector/token_selector.vue +12 -14
  35. package/src/tokens/build/css/tokens.css +39 -22
  36. package/src/tokens/build/css/tokens.dark.css +39 -22
  37. package/src/tokens/build/figma/mode.dark.json +189 -24
  38. package/src/tokens/build/figma/mode.json +189 -24
  39. package/src/tokens/build/js/tokens.dark.js +33 -16
  40. package/src/tokens/build/js/tokens.js +33 -16
  41. package/src/tokens/build/json/tokens.dark.json +650 -42
  42. package/src/tokens/build/json/tokens.json +650 -42
  43. package/src/tokens/build/scss/_tokens.dark.scss +39 -22
  44. package/src/tokens/build/scss/_tokens.scss +39 -22
  45. package/src/tokens/build/scss/_tokens_custom_properties.scss +17 -0
  46. package/src/tokens/contextual/toggle.tokens.json +198 -33
  47. package/src/tokens/semantic/action.tokens.json +14 -0
@@ -651,9 +651,6 @@
651
651
  --gl-spinner-track-color-light: var(--gl-color-neutral-800); /** Used for the static track (background) of a loading spinner on a dark background. */
652
652
  --gl-spinner-segment-color-default: var(--gl-color-neutral-700); /** Used for the animated segment of a loading spinner. */
653
653
  --gl-spinner-segment-color-light: var(--gl-color-neutral-200); /** Used for the animated segment of a loading spinner on a dark background. */
654
- --gl-toggle-switch-track-color-checked-default: var(--gl-color-neutral-800); /** Used for the track color of a checked toggle switch in the default state. */
655
- --gl-toggle-switch-track-color-checked-hover: var(--gl-color-neutral-950); /** Used for the track color of a checked toggle switch in the hover state. */
656
- --gl-toggle-switch-track-color-checked-active: var(--gl-color-neutral-1000); /** Used for the track color of a checked toggle switch in the active state. */
657
654
  --gl-token-selector-token-container-token-background-color-focus: var(--gl-color-neutral-300); /** Used for the background color of a token in a token-selector when it's token-container is in the focus state. */
658
655
  --gl-token-background-color: var(--gl-color-neutral-100); /** Used for the token background color. */
659
656
  --gl-tooltip-text-color-subtle: var(--gl-color-neutral-200); /** Used for supplemental tooltip text that is less prominent than the default text and remains the same color regardless of mode. */
@@ -733,6 +730,7 @@
733
730
  --gl-action-selected-background-color-default: var(--gl-color-neutral-800); /** Used for the background of a selected action in the default state. */
734
731
  --gl-action-selected-background-color-hover: var(--gl-color-neutral-950); /** Used for the background of a selected action in the hover state. */
735
732
  --gl-action-selected-background-color-active: var(--gl-color-neutral-1000); /** Used for the background of a selected action in the active state. */
733
+ --gl-action-selected-background-color-disabled: var(--gl-color-neutral-400); /** Used for the background of a disabled action that stays selected. Sits between the disabled background and the enabled selected background so the selected state keeps 3:1 contrast against the page while still reading as disabled. */
736
734
  --gl-action-neutral-foreground-color-default: var(--gl-color-neutral-900); /** Used for the foreground of a neutral action in the default state. */
737
735
  --gl-action-neutral-background-color-default: var(--gl-color-alpha-0); /** Used for the background of a neutral action in the default state. */
738
736
  --gl-action-neutral-background-color-hover: var(--gl-color-alpha-dark-6); /** Used for the background of a neutral action in the hover state. */
@@ -1022,17 +1020,25 @@
1022
1020
  --gl-progress-bar-indicator-color-danger: var(--gl-status-danger-icon-color); /** Used for the indicator color for the danger progress-bar variant. */
1023
1021
  --gl-table-row-background-color-hover: var(--gl-highlight-target-background-color); /** Used for the background of a table row in hover state. */
1024
1022
  --gl-table-sorting-icon-color: var(--gl-text-color-heading); /** Used for the color of the sorting icons in the column headers. */
1025
- --gl-toggle-switch-track-color-unchecked-default: var(--gl-control-border-color-default); /** Used for the track color of an unchecked toggle switch in the default state. */
1026
- --gl-toggle-switch-track-color-checked-focus: var(--gl-toggle-switch-track-color-checked-hover); /** Used for the track color of a checked toggle switch in the focus state. */
1027
- --gl-toggle-switch-background-color-unchecked-default: var(--gl-control-indicator-color-selected); /** Used for the background color of the unchecked toggle switch thumb in the default state. */
1028
- --gl-toggle-switch-background-color-checked-default: var(--gl-action-strong-confirm-foreground-color-default); /** Used for the background color of the checked toggle switch thumb in the default state. */
1029
- --gl-toggle-switch-background-color-disabled: var(--gl-action-disabled-foreground-color); /** Used for the background color of the toggle switch thumb in the disabled state. */
1030
- --gl-toggle-switch-icon-color-unchecked-default: var(--gl-action-strong-neutral-background-color-default); /** Used for the icon color of an unchecked toggle switch in the default state. */
1031
- --gl-toggle-switch-icon-color-unchecked-hover: var(--gl-action-strong-neutral-background-color-hover); /** Used for the icon color of an unchecked toggle switch in the hover state. */
1032
- --gl-toggle-switch-icon-color-unchecked-active: var(--gl-action-strong-neutral-background-color-active); /** Used for the icon color of an unchecked toggle switch in the active state. */
1033
- --gl-toggle-switch-icon-color-checked-default: var(--gl-action-strong-confirm-background-color-default); /** Used for the icon color of a checked toggle switch in the default state. */
1034
- --gl-toggle-switch-icon-color-checked-hover: var(--gl-action-strong-confirm-background-color-hover); /** Used for the icon color of a checked toggle switch in the hover state. */
1035
- --gl-toggle-switch-icon-color-checked-active: var(--gl-action-strong-confirm-background-color-active); /** Used for the icon color of a checked toggle switch in the active state. */
1023
+ --gl-toggle-switch-track-color-unchecked-default: var(--gl-control-background-color-default); /** Used for the track color of an unchecked toggle switch in the default state. */
1024
+ --gl-toggle-switch-track-color-unchecked-active: var(--gl-action-neutral-background-color-active); /** Used for the track color of an unchecked toggle switch in the active state. */
1025
+ --gl-toggle-switch-track-color-unchecked-disabled: var(--gl-control-background-color-default); /** Used for the track color of a disabled unchecked toggle switch. */
1026
+ --gl-toggle-switch-track-color-checked-default: var(--gl-action-selected-background-color-default); /** Used for the track color of a checked toggle switch in the default state. */
1027
+ --gl-toggle-switch-track-color-checked-hover: var(--gl-action-selected-background-color-hover); /** Used for the track color of a checked toggle switch in the hover state. */
1028
+ --gl-toggle-switch-track-color-checked-active: var(--gl-action-selected-background-color-active); /** Used for the track color of a checked toggle switch in the active state. */
1029
+ --gl-toggle-switch-track-color-checked-disabled: var(--gl-action-selected-background-color-disabled); /** Used for the track color of a disabled checked toggle switch, which stays filled so the checked state remains legible. */
1030
+ --gl-toggle-switch-track-color-loading: var(--gl-action-disabled-background-color); /** Used for the track color of a loading toggle switch. A loading toggle renders no thumb and its value is still in flight, so the track carries no checked state. */
1031
+ --gl-toggle-switch-track-border-color-unchecked-default: var(--gl-control-border-color-default); /** Used for the track border color of an unchecked toggle switch in the default state. */
1032
+ --gl-toggle-switch-track-border-color-unchecked-hover: var(--gl-control-border-color-hover); /** Used for the track border color of an unchecked toggle switch in the hover state. */
1033
+ --gl-toggle-switch-track-border-color-unchecked-disabled: var(--gl-action-disabled-border-color); /** Used for the track border color of a disabled unchecked toggle switch. */
1034
+ --gl-toggle-switch-background-color-unchecked-default: var(--gl-action-selected-background-color-default); /** Used for the background color of the unchecked toggle switch thumb in the default state. */
1035
+ --gl-toggle-switch-background-color-unchecked-disabled: var(--gl-action-disabled-foreground-color); /** Used for the background color of the disabled unchecked toggle switch thumb. */
1036
+ --gl-toggle-switch-background-color-checked-default: var(--gl-action-selected-foreground-color-default); /** Used for the background color of the checked toggle switch thumb in the default state. */
1037
+ --gl-toggle-switch-background-color-checked-disabled: var(--gl-action-selected-foreground-color-default); /** Used for the background color of the disabled checked toggle switch thumb. */
1038
+ --gl-toggle-switch-icon-color-unchecked-default: var(--gl-action-selected-foreground-color-default); /** Used for the icon color of an unchecked toggle switch in the default state. */
1039
+ --gl-toggle-switch-icon-color-checked-default: var(--gl-action-selected-background-color-default); /** Used for the icon color of a checked toggle switch in the default state. */
1040
+ --gl-toggle-switch-icon-color-checked-hover: var(--gl-action-selected-background-color-hover); /** Used for the icon color of a checked toggle switch in the hover state. */
1041
+ --gl-toggle-switch-icon-color-checked-active: var(--gl-action-selected-background-color-active); /** Used for the icon color of a checked toggle switch in the active state. */
1036
1042
  --gl-toggle-switch-icon-color-disabled: var(--gl-action-disabled-background-color); /** Used for the icon color of a disabled toggle switch. */
1037
1043
  --gl-token-foreground-color: var(--gl-text-color-default); /** Used for the token foreground color. */
1038
1044
  --gl-action-border-radius: var(--gl-border-radius-lg); /** Used for the border radius of an action. */
@@ -1229,13 +1235,21 @@
1229
1235
  --gl-nav-item-selected-foreground-color-focus: var(--gl-nav-item-foreground-color-focus); /** Used for the foreground of a selected navigation item in the focus state. */
1230
1236
  --gl-nav-item-selected-background-color-focus: var(--gl-nav-item-background-color-focus); /** Used for the background of a selected navigation item in the focus state. */
1231
1237
  --gl-tab-selected-indicator-color-default: var(--gl-action-selected-border-color-active); /** Used for the selected indicator of a tab. */
1232
- --gl-toggle-switch-track-color-unchecked-hover: var(--gl-toggle-switch-track-color-unchecked-default); /** Used for the track color of an unchecked toggle switch in the hover state. */
1238
+ --gl-toggle-switch-track-color-unchecked-hover: var(--gl-toggle-switch-track-color-unchecked-default); /** Used for the track color of an unchecked toggle switch in the hover state. The track is deliberately unchanged from the default state; hover is carried by the track border and the thumb size. */
1239
+ --gl-toggle-switch-track-color-checked-focus: var(--gl-action-selected-background-color-focus); /** Used for the track color of a checked toggle switch in the focus state. */
1240
+ --gl-toggle-switch-track-border-color-unchecked-focus: var(--gl-toggle-switch-track-border-color-unchecked-hover); /** Used for the track border color of an unchecked toggle switch in the focus state. */
1241
+ --gl-toggle-switch-track-border-color-checked-default: var(--gl-action-selected-border-color-default); /** Used for the track border color of a checked toggle switch in the default state. */
1242
+ --gl-toggle-switch-track-border-color-checked-hover: var(--gl-action-selected-border-color-hover); /** Used for the track border color of a checked toggle switch in the hover state. */
1243
+ --gl-toggle-switch-track-border-color-checked-active: var(--gl-action-selected-border-color-active); /** Used for the track border color of a checked toggle switch in the active state. */
1244
+ --gl-toggle-switch-track-border-color-checked-disabled: var(--gl-toggle-switch-track-color-checked-disabled); /** Used for the track border color of a disabled checked toggle switch, which matches the track color. */
1245
+ --gl-toggle-switch-track-border-color-loading: var(--gl-toggle-switch-track-color-loading); /** Used for the track border color of a loading toggle switch, which matches the track color so the track reads as a single flat fill. */
1233
1246
  --gl-toggle-switch-background-color-unchecked-hover: var(--gl-toggle-switch-background-color-unchecked-default); /** Used for the background color of the unchecked toggle switch thumb in the hover state. */
1234
1247
  --gl-toggle-switch-background-color-unchecked-focus: var(--gl-toggle-switch-background-color-unchecked-default); /** Used for the background color of the unchecked toggle switch thumb in the focus state. */
1235
1248
  --gl-toggle-switch-background-color-unchecked-active: var(--gl-toggle-switch-background-color-unchecked-default); /** Used for the background color of the unchecked toggle switch thumb in the active state. */
1236
- --gl-toggle-switch-background-color-checked-hover: var(--gl-action-strong-confirm-foreground-color-hover); /** Used for the background color of the checked toggle switch thumb in the hover state. */
1237
- --gl-toggle-switch-icon-color-unchecked-focus: var(--gl-action-strong-neutral-background-color-focus); /** Used for the icon color of an unchecked toggle switch in the focus state. */
1238
- --gl-toggle-switch-icon-color-checked-focus: var(--gl-action-strong-confirm-background-color-focus); /** Used for the icon color of a checked toggle switch in the focus state. */
1249
+ --gl-toggle-switch-background-color-checked-hover: var(--gl-action-selected-foreground-color-hover); /** Used for the background color of the checked toggle switch thumb in the hover state. */
1250
+ --gl-toggle-switch-background-color-disabled: var(--gl-toggle-switch-background-color-unchecked-disabled); /** Use toggle.switch.background.color.unchecked.disabled instead. */
1251
+ --gl-toggle-switch-icon-color-unchecked-hover: var(--gl-action-selected-foreground-color-hover); /** Used for the icon color of an unchecked toggle switch in the hover state. */
1252
+ --gl-toggle-switch-icon-color-checked-focus: var(--gl-action-selected-background-color-focus); /** Used for the icon color of a checked toggle switch in the focus state. */
1239
1253
  --gl-token-border-radius: var(--gl-border-radius-default); /** Used for token border radius. */
1240
1254
  --gl-action-selected-foreground-color-focus: var(--gl-action-selected-foreground-color-hover); /** Used for the foreground of a selected action in the focus state. */
1241
1255
  --gl-action-selected-border-color-focus: var(--gl-action-selected-background-color-focus); /** Used for the border of a selected action in the focus state. */
@@ -1246,13 +1260,16 @@
1246
1260
  --gl-control-border-color-selected-focus: var(--gl-control-background-color-selected-focus); /** Used for checked and indeterminate (selected) form control (checkbox, radio button) border on focus. */
1247
1261
  --gl-button-confirm-primary-foreground-color-active: var(--gl-button-confirm-primary-foreground-color-focus); /** Used for the foreground of a confirm (positive) primary button in the active state. */
1248
1262
  --gl-nav-item-selected-foreground-color-active: var(--gl-nav-item-foreground-color-active); /** Used for the foreground of a selected navigation item in the active state. */
1249
- --gl-toggle-switch-track-color-unchecked-focus: var(--gl-toggle-switch-track-color-unchecked-hover); /** Used for the track color of an unchecked toggle switch in the focus state. */
1250
- --gl-toggle-switch-background-color-checked-focus: var(--gl-action-strong-confirm-foreground-color-focus); /** Used for the background color of the checked toggle switch thumb in the focus state. */
1263
+ --gl-toggle-switch-track-color-unchecked-focus: var(--gl-toggle-switch-track-color-unchecked-hover); /** Used for the track color of an unchecked toggle switch in the focus state. The track is deliberately unchanged from the default state; focus is carried by the focus ring, the track border and the thumb size. */
1264
+ --gl-toggle-switch-track-border-color-unchecked-active: var(--gl-toggle-switch-track-border-color-unchecked-focus); /** Used for the track border color of an unchecked toggle switch in the active state. */
1265
+ --gl-toggle-switch-track-border-color-checked-focus: var(--gl-action-selected-border-color-focus); /** Used for the track border color of a checked toggle switch in the focus state. */
1266
+ --gl-toggle-switch-background-color-checked-focus: var(--gl-action-selected-foreground-color-focus); /** Used for the background color of the checked toggle switch thumb in the focus state. */
1267
+ --gl-toggle-switch-icon-color-unchecked-focus: var(--gl-action-selected-foreground-color-focus); /** Used for the icon color of an unchecked toggle switch in the focus state. */
1251
1268
  --gl-action-selected-foreground-color-active: var(--gl-action-selected-foreground-color-focus); /** Used for the foreground of a selected action in the active state. */
1252
1269
  --gl-action-strong-confirm-foreground-color-active: var(--gl-action-strong-confirm-foreground-color-focus); /** Used for the foreground of a strong confirm action in the active state. */
1253
1270
  --gl-action-strong-confirm-border-color-active: var(--gl-action-strong-confirm-border-color-focus); /** Used for the border of a strong confirm action in the active state. */
1254
1271
  --gl-action-strong-neutral-foreground-color-active: var(--gl-action-strong-neutral-foreground-color-focus); /** Used for the foreground of a strong neutral action in the active state. */
1255
1272
  --gl-action-strong-neutral-border-color-active: var(--gl-action-strong-neutral-border-color-focus); /** Used for the border of a strong neutral action in the active state. */
1256
- --gl-toggle-switch-track-color-unchecked-active: var(--gl-toggle-switch-track-color-unchecked-focus); /** Used for the track color of an unchecked toggle switch in the active state. */
1257
- --gl-toggle-switch-background-color-checked-active: var(--gl-action-strong-confirm-foreground-color-active); /** Used for the background color of the checked toggle switch thumb in the active state. */
1273
+ --gl-toggle-switch-background-color-checked-active: var(--gl-action-selected-foreground-color-active); /** Used for the background color of the checked toggle switch thumb in the active state. */
1274
+ --gl-toggle-switch-icon-color-unchecked-active: var(--gl-action-selected-foreground-color-active); /** Used for the icon color of an unchecked toggle switch in the active state. */
1258
1275
  }
@@ -669,9 +669,6 @@
669
669
  --gl-spinner-track-color-light: var(--gl-color-neutral-800); /** Used for the static track (background) of a loading spinner on a dark background. */
670
670
  --gl-spinner-segment-color-default: var(--gl-color-neutral-100); /** Used for the animated segment of a loading spinner. */
671
671
  --gl-spinner-segment-color-light: var(--gl-color-neutral-200); /** Used for the animated segment of a loading spinner on a dark background. */
672
- --gl-toggle-switch-track-color-checked-default: var(--gl-color-neutral-50); /** Used for the track color of a checked toggle switch in the default state. */
673
- --gl-toggle-switch-track-color-checked-hover: var(--gl-color-neutral-10); /** Used for the track color of a checked toggle switch in the hover state. */
674
- --gl-toggle-switch-track-color-checked-active: var(--gl-color-neutral-0); /** Used for the track color of a checked toggle switch in the active state. */
675
672
  --gl-token-selector-token-container-token-background-color-focus: var(--gl-color-neutral-600); /** Used for the background color of a token in a token-selector when it's token-container is in the focus state. */
676
673
  --gl-token-background-color: var(--gl-color-neutral-800); /** Used for the token background color. */
677
674
  --gl-tooltip-text-color-subtle: var(--gl-color-neutral-200); /** Used for supplemental tooltip text that is less prominent than the default text and remains the same color regardless of mode. */
@@ -747,6 +744,7 @@
747
744
  --gl-action-selected-background-color-default: var(--gl-color-neutral-50); /** Used for the background of a selected action in the default state. */
748
745
  --gl-action-selected-background-color-hover: var(--gl-color-neutral-10); /** Used for the background of a selected action in the hover state. */
749
746
  --gl-action-selected-background-color-active: var(--gl-color-neutral-0); /** Used for the background of a selected action in the active state. */
747
+ --gl-action-selected-background-color-disabled: var(--gl-color-neutral-500); /** Used for the background of a disabled action that stays selected. Sits between the disabled background and the enabled selected background so the selected state keeps 3:1 contrast against the page while still reading as disabled. */
750
748
  --gl-action-neutral-foreground-color-default: var(--gl-color-neutral-50); /** Used for the foreground of a neutral action in the default state. */
751
749
  --gl-action-neutral-background-color-default: var(--gl-color-alpha-0); /** Used for the background of a neutral action in the default state. */
752
750
  --gl-action-neutral-background-color-hover: var(--gl-color-alpha-light-16); /** Used for the background of a neutral action in the hover state. */
@@ -1029,17 +1027,25 @@
1029
1027
  --gl-progress-bar-indicator-color-danger: var(--gl-status-danger-icon-color); /** Used for the indicator color for the danger progress-bar variant. */
1030
1028
  --gl-table-row-background-color-hover: var(--gl-highlight-target-background-color); /** Used for the background of a table row in hover state. */
1031
1029
  --gl-table-sorting-icon-color: var(--gl-text-color-heading); /** Used for the color of the sorting icons in the column headers. */
1032
- --gl-toggle-switch-track-color-unchecked-default: var(--gl-control-border-color-default); /** Used for the track color of an unchecked toggle switch in the default state. */
1033
- --gl-toggle-switch-track-color-checked-focus: var(--gl-toggle-switch-track-color-checked-hover); /** Used for the track color of a checked toggle switch in the focus state. */
1034
- --gl-toggle-switch-background-color-unchecked-default: var(--gl-control-indicator-color-selected); /** Used for the background color of the unchecked toggle switch thumb in the default state. */
1035
- --gl-toggle-switch-background-color-checked-default: var(--gl-action-strong-confirm-foreground-color-default); /** Used for the background color of the checked toggle switch thumb in the default state. */
1036
- --gl-toggle-switch-background-color-disabled: var(--gl-action-disabled-foreground-color); /** Used for the background color of the toggle switch thumb in the disabled state. */
1037
- --gl-toggle-switch-icon-color-unchecked-default: var(--gl-action-strong-neutral-background-color-default); /** Used for the icon color of an unchecked toggle switch in the default state. */
1038
- --gl-toggle-switch-icon-color-unchecked-hover: var(--gl-action-strong-neutral-background-color-hover); /** Used for the icon color of an unchecked toggle switch in the hover state. */
1039
- --gl-toggle-switch-icon-color-unchecked-active: var(--gl-action-strong-neutral-background-color-active); /** Used for the icon color of an unchecked toggle switch in the active state. */
1040
- --gl-toggle-switch-icon-color-checked-default: var(--gl-action-strong-confirm-background-color-default); /** Used for the icon color of a checked toggle switch in the default state. */
1041
- --gl-toggle-switch-icon-color-checked-hover: var(--gl-action-strong-confirm-background-color-hover); /** Used for the icon color of a checked toggle switch in the hover state. */
1042
- --gl-toggle-switch-icon-color-checked-active: var(--gl-action-strong-confirm-background-color-active); /** Used for the icon color of a checked toggle switch in the active state. */
1030
+ --gl-toggle-switch-track-color-unchecked-default: var(--gl-control-background-color-default); /** Used for the track color of an unchecked toggle switch in the default state. */
1031
+ --gl-toggle-switch-track-color-unchecked-active: var(--gl-action-neutral-background-color-active); /** Used for the track color of an unchecked toggle switch in the active state. */
1032
+ --gl-toggle-switch-track-color-unchecked-disabled: var(--gl-control-background-color-default); /** Used for the track color of a disabled unchecked toggle switch. */
1033
+ --gl-toggle-switch-track-color-checked-default: var(--gl-action-selected-background-color-default); /** Used for the track color of a checked toggle switch in the default state. */
1034
+ --gl-toggle-switch-track-color-checked-hover: var(--gl-action-selected-background-color-hover); /** Used for the track color of a checked toggle switch in the hover state. */
1035
+ --gl-toggle-switch-track-color-checked-active: var(--gl-action-selected-background-color-active); /** Used for the track color of a checked toggle switch in the active state. */
1036
+ --gl-toggle-switch-track-color-checked-disabled: var(--gl-action-selected-background-color-disabled); /** Used for the track color of a disabled checked toggle switch, which stays filled so the checked state remains legible. */
1037
+ --gl-toggle-switch-track-color-loading: var(--gl-action-disabled-background-color); /** Used for the track color of a loading toggle switch. A loading toggle renders no thumb and its value is still in flight, so the track carries no checked state. */
1038
+ --gl-toggle-switch-track-border-color-unchecked-default: var(--gl-control-border-color-default); /** Used for the track border color of an unchecked toggle switch in the default state. */
1039
+ --gl-toggle-switch-track-border-color-unchecked-hover: var(--gl-control-border-color-hover); /** Used for the track border color of an unchecked toggle switch in the hover state. */
1040
+ --gl-toggle-switch-track-border-color-unchecked-disabled: var(--gl-action-disabled-border-color); /** Used for the track border color of a disabled unchecked toggle switch. */
1041
+ --gl-toggle-switch-background-color-unchecked-default: var(--gl-action-selected-background-color-default); /** Used for the background color of the unchecked toggle switch thumb in the default state. */
1042
+ --gl-toggle-switch-background-color-unchecked-disabled: var(--gl-action-disabled-foreground-color); /** Used for the background color of the disabled unchecked toggle switch thumb. */
1043
+ --gl-toggle-switch-background-color-checked-default: var(--gl-action-selected-foreground-color-default); /** Used for the background color of the checked toggle switch thumb in the default state. */
1044
+ --gl-toggle-switch-background-color-checked-disabled: var(--gl-action-selected-foreground-color-default); /** Used for the background color of the disabled checked toggle switch thumb. */
1045
+ --gl-toggle-switch-icon-color-unchecked-default: var(--gl-action-selected-foreground-color-default); /** Used for the icon color of an unchecked toggle switch in the default state. */
1046
+ --gl-toggle-switch-icon-color-checked-default: var(--gl-action-selected-background-color-default); /** Used for the icon color of a checked toggle switch in the default state. */
1047
+ --gl-toggle-switch-icon-color-checked-hover: var(--gl-action-selected-background-color-hover); /** Used for the icon color of a checked toggle switch in the hover state. */
1048
+ --gl-toggle-switch-icon-color-checked-active: var(--gl-action-selected-background-color-active); /** Used for the icon color of a checked toggle switch in the active state. */
1043
1049
  --gl-toggle-switch-icon-color-disabled: var(--gl-action-disabled-background-color); /** Used for the icon color of a disabled toggle switch. */
1044
1050
  --gl-token-foreground-color: var(--gl-text-color-default); /** Used for the token foreground color. */
1045
1051
  --gl-action-border-radius: var(--gl-border-radius-lg); /** Used for the border radius of an action. */
@@ -1231,13 +1237,21 @@
1231
1237
  --gl-nav-item-selected-foreground-color-focus: var(--gl-nav-item-foreground-color-focus); /** Used for the foreground of a selected navigation item in the focus state. */
1232
1238
  --gl-nav-item-selected-background-color-focus: var(--gl-nav-item-background-color-focus); /** Used for the background of a selected navigation item in the focus state. */
1233
1239
  --gl-tab-selected-indicator-color-default: var(--gl-action-selected-border-color-active); /** Used for the selected indicator of a tab. */
1234
- --gl-toggle-switch-track-color-unchecked-hover: var(--gl-toggle-switch-track-color-unchecked-default); /** Used for the track color of an unchecked toggle switch in the hover state. */
1240
+ --gl-toggle-switch-track-color-unchecked-hover: var(--gl-toggle-switch-track-color-unchecked-default); /** Used for the track color of an unchecked toggle switch in the hover state. The track is deliberately unchanged from the default state; hover is carried by the track border and the thumb size. */
1241
+ --gl-toggle-switch-track-color-checked-focus: var(--gl-action-selected-background-color-focus); /** Used for the track color of a checked toggle switch in the focus state. */
1242
+ --gl-toggle-switch-track-border-color-unchecked-focus: var(--gl-toggle-switch-track-border-color-unchecked-hover); /** Used for the track border color of an unchecked toggle switch in the focus state. */
1243
+ --gl-toggle-switch-track-border-color-checked-default: var(--gl-action-selected-border-color-default); /** Used for the track border color of a checked toggle switch in the default state. */
1244
+ --gl-toggle-switch-track-border-color-checked-hover: var(--gl-action-selected-border-color-hover); /** Used for the track border color of a checked toggle switch in the hover state. */
1245
+ --gl-toggle-switch-track-border-color-checked-active: var(--gl-action-selected-border-color-active); /** Used for the track border color of a checked toggle switch in the active state. */
1246
+ --gl-toggle-switch-track-border-color-checked-disabled: var(--gl-toggle-switch-track-color-checked-disabled); /** Used for the track border color of a disabled checked toggle switch, which matches the track color. */
1247
+ --gl-toggle-switch-track-border-color-loading: var(--gl-toggle-switch-track-color-loading); /** Used for the track border color of a loading toggle switch, which matches the track color so the track reads as a single flat fill. */
1235
1248
  --gl-toggle-switch-background-color-unchecked-hover: var(--gl-toggle-switch-background-color-unchecked-default); /** Used for the background color of the unchecked toggle switch thumb in the hover state. */
1236
1249
  --gl-toggle-switch-background-color-unchecked-focus: var(--gl-toggle-switch-background-color-unchecked-default); /** Used for the background color of the unchecked toggle switch thumb in the focus state. */
1237
1250
  --gl-toggle-switch-background-color-unchecked-active: var(--gl-toggle-switch-background-color-unchecked-default); /** Used for the background color of the unchecked toggle switch thumb in the active state. */
1238
- --gl-toggle-switch-background-color-checked-hover: var(--gl-action-strong-confirm-foreground-color-hover); /** Used for the background color of the checked toggle switch thumb in the hover state. */
1239
- --gl-toggle-switch-icon-color-unchecked-focus: var(--gl-action-strong-neutral-background-color-focus); /** Used for the icon color of an unchecked toggle switch in the focus state. */
1240
- --gl-toggle-switch-icon-color-checked-focus: var(--gl-action-strong-confirm-background-color-focus); /** Used for the icon color of a checked toggle switch in the focus state. */
1251
+ --gl-toggle-switch-background-color-checked-hover: var(--gl-action-selected-foreground-color-hover); /** Used for the background color of the checked toggle switch thumb in the hover state. */
1252
+ --gl-toggle-switch-background-color-disabled: var(--gl-toggle-switch-background-color-unchecked-disabled); /** Use toggle.switch.background.color.unchecked.disabled instead. */
1253
+ --gl-toggle-switch-icon-color-unchecked-hover: var(--gl-action-selected-foreground-color-hover); /** Used for the icon color of an unchecked toggle switch in the hover state. */
1254
+ --gl-toggle-switch-icon-color-checked-focus: var(--gl-action-selected-background-color-focus); /** Used for the icon color of a checked toggle switch in the focus state. */
1241
1255
  --gl-token-border-radius: var(--gl-border-radius-default); /** Used for token border radius. */
1242
1256
  --gl-action-selected-foreground-color-focus: var(--gl-action-selected-foreground-color-hover); /** Used for the foreground of a selected action in the focus state. */
1243
1257
  --gl-action-selected-border-color-focus: var(--gl-action-selected-background-color-focus); /** Used for the border of a selected action in the focus state. */
@@ -1247,12 +1261,15 @@
1247
1261
  --gl-control-border-color-selected-focus: var(--gl-control-background-color-selected-focus); /** Used for checked and indeterminate (selected) form control (checkbox, radio button) border on focus. */
1248
1262
  --gl-button-confirm-primary-foreground-color-active: var(--gl-button-confirm-primary-foreground-color-focus); /** Used for the foreground of a confirm (positive) primary button in the active state. */
1249
1263
  --gl-nav-item-selected-foreground-color-active: var(--gl-nav-item-foreground-color-active); /** Used for the foreground of a selected navigation item in the active state. */
1250
- --gl-toggle-switch-track-color-unchecked-focus: var(--gl-toggle-switch-track-color-unchecked-hover); /** Used for the track color of an unchecked toggle switch in the focus state. */
1251
- --gl-toggle-switch-background-color-checked-focus: var(--gl-action-strong-confirm-foreground-color-focus); /** Used for the background color of the checked toggle switch thumb in the focus state. */
1264
+ --gl-toggle-switch-track-color-unchecked-focus: var(--gl-toggle-switch-track-color-unchecked-hover); /** Used for the track color of an unchecked toggle switch in the focus state. The track is deliberately unchanged from the default state; focus is carried by the focus ring, the track border and the thumb size. */
1265
+ --gl-toggle-switch-track-border-color-unchecked-active: var(--gl-toggle-switch-track-border-color-unchecked-focus); /** Used for the track border color of an unchecked toggle switch in the active state. */
1266
+ --gl-toggle-switch-track-border-color-checked-focus: var(--gl-action-selected-border-color-focus); /** Used for the track border color of a checked toggle switch in the focus state. */
1267
+ --gl-toggle-switch-background-color-checked-focus: var(--gl-action-selected-foreground-color-focus); /** Used for the background color of the checked toggle switch thumb in the focus state. */
1268
+ --gl-toggle-switch-icon-color-unchecked-focus: var(--gl-action-selected-foreground-color-focus); /** Used for the icon color of an unchecked toggle switch in the focus state. */
1252
1269
  --gl-action-selected-foreground-color-active: var(--gl-action-selected-foreground-color-focus); /** Used for the foreground of a selected action in the active state. */
1253
1270
  --gl-action-strong-confirm-foreground-color-active: var(--gl-action-strong-confirm-foreground-color-focus); /** Used for the foreground of a strong confirm action in the active state. */
1254
1271
  --gl-action-strong-confirm-border-color-active: var(--gl-action-strong-confirm-border-color-focus); /** Used for the border of a strong confirm action in the active state. */
1255
1272
  --gl-action-strong-neutral-border-color-active: var(--gl-action-strong-neutral-border-color-focus); /** Used for the border of a strong neutral action in the active state. */
1256
- --gl-toggle-switch-track-color-unchecked-active: var(--gl-toggle-switch-track-color-unchecked-focus); /** Used for the track color of an unchecked toggle switch in the active state. */
1257
- --gl-toggle-switch-background-color-checked-active: var(--gl-action-strong-confirm-foreground-color-active); /** Used for the background color of the checked toggle switch thumb in the active state. */
1273
+ --gl-toggle-switch-background-color-checked-active: var(--gl-action-selected-foreground-color-active); /** Used for the background color of the checked toggle switch thumb in the active state. */
1274
+ --gl-toggle-switch-icon-color-unchecked-active: var(--gl-action-selected-foreground-color-active); /** Used for the icon color of an unchecked toggle switch in the active state. */
1258
1275
  }
@@ -5131,7 +5131,7 @@
5131
5131
  }
5132
5132
  },
5133
5133
  "🔒/toggle-switch-track-color-unchecked-default": {
5134
- "$value": "{control-border-color-default}",
5134
+ "$value": "{control-background-color-default}",
5135
5135
  "$type": "color",
5136
5136
  "$description": "Used for the track color of an unchecked toggle switch in the default state.",
5137
5137
  "$extensions": {
@@ -5144,7 +5144,7 @@
5144
5144
  "🔒/toggle-switch-track-color-unchecked-hover": {
5145
5145
  "$value": "{🔒/toggle-switch-track-color-unchecked-default}",
5146
5146
  "$type": "color",
5147
- "$description": "Used for the track color of an unchecked toggle switch in the hover state.",
5147
+ "$description": "Used for the track color of an unchecked toggle switch in the hover state. The track is deliberately unchanged from the default state; hover is carried by the track border and the thumb size.",
5148
5148
  "$extensions": {
5149
5149
  "com.figma.scopes": [
5150
5150
  "SHAPE_FILL",
@@ -5155,7 +5155,7 @@
5155
5155
  "🔒/toggle-switch-track-color-unchecked-focus": {
5156
5156
  "$value": "{🔒/toggle-switch-track-color-unchecked-hover}",
5157
5157
  "$type": "color",
5158
- "$description": "Used for the track color of an unchecked toggle switch in the focus state.",
5158
+ "$description": "Used for the track color of an unchecked toggle switch in the focus state. The track is deliberately unchanged from the default state; focus is carried by the focus ring, the track border and the thumb size.",
5159
5159
  "$extensions": {
5160
5160
  "com.figma.scopes": [
5161
5161
  "SHAPE_FILL",
@@ -5164,7 +5164,7 @@
5164
5164
  }
5165
5165
  },
5166
5166
  "🔒/toggle-switch-track-color-unchecked-active": {
5167
- "$value": "{🔒/toggle-switch-track-color-unchecked-focus}",
5167
+ "$value": "{action-neutral-background-color-active}",
5168
5168
  "$type": "color",
5169
5169
  "$description": "Used for the track color of an unchecked toggle switch in the active state.",
5170
5170
  "$extensions": {
@@ -5174,8 +5174,19 @@
5174
5174
  ]
5175
5175
  }
5176
5176
  },
5177
+ "🔒/toggle-switch-track-color-unchecked-disabled": {
5178
+ "$value": "{control-background-color-default}",
5179
+ "$type": "color",
5180
+ "$description": "Used for the track color of a disabled unchecked toggle switch.",
5181
+ "$extensions": {
5182
+ "com.figma.scopes": [
5183
+ "SHAPE_FILL",
5184
+ "FRAME_FILL"
5185
+ ]
5186
+ }
5187
+ },
5177
5188
  "🔒/toggle-switch-track-color-checked-default": {
5178
- "$value": "{color-neutral-50}",
5189
+ "$value": "{action-selected-background-color-default}",
5179
5190
  "$type": "color",
5180
5191
  "$description": "Used for the track color of a checked toggle switch in the default state.",
5181
5192
  "$extensions": {
@@ -5186,7 +5197,7 @@
5186
5197
  }
5187
5198
  },
5188
5199
  "🔒/toggle-switch-track-color-checked-hover": {
5189
- "$value": "{color-neutral-10}",
5200
+ "$value": "{action-selected-background-color-hover}",
5190
5201
  "$type": "color",
5191
5202
  "$description": "Used for the track color of a checked toggle switch in the hover state.",
5192
5203
  "$extensions": {
@@ -5197,7 +5208,7 @@
5197
5208
  }
5198
5209
  },
5199
5210
  "🔒/toggle-switch-track-color-checked-focus": {
5200
- "$value": "{🔒/toggle-switch-track-color-checked-hover}",
5211
+ "$value": "{action-selected-background-color-focus}",
5201
5212
  "$type": "color",
5202
5213
  "$description": "Used for the track color of a checked toggle switch in the focus state.",
5203
5214
  "$extensions": {
@@ -5208,7 +5219,7 @@
5208
5219
  }
5209
5220
  },
5210
5221
  "🔒/toggle-switch-track-color-checked-active": {
5211
- "$value": "{color-neutral-0}",
5222
+ "$value": "{action-selected-background-color-active}",
5212
5223
  "$type": "color",
5213
5224
  "$description": "Used for the track color of a checked toggle switch in the active state.",
5214
5225
  "$extensions": {
@@ -5218,8 +5229,140 @@
5218
5229
  ]
5219
5230
  }
5220
5231
  },
5232
+ "🔒/toggle-switch-track-color-checked-disabled": {
5233
+ "$value": "{action-selected-background-color-disabled}",
5234
+ "$type": "color",
5235
+ "$description": "Used for the track color of a disabled checked toggle switch, which stays filled so the checked state remains legible.",
5236
+ "$extensions": {
5237
+ "com.figma.scopes": [
5238
+ "SHAPE_FILL",
5239
+ "FRAME_FILL"
5240
+ ]
5241
+ }
5242
+ },
5243
+ "🔒/toggle-switch-track-color-loading": {
5244
+ "$value": "{action-disabled-background-color}",
5245
+ "$type": "color",
5246
+ "$description": "Used for the track color of a loading toggle switch. A loading toggle renders no thumb and its value is still in flight, so the track carries no checked state.",
5247
+ "$extensions": {
5248
+ "com.figma.scopes": [
5249
+ "SHAPE_FILL",
5250
+ "FRAME_FILL"
5251
+ ]
5252
+ }
5253
+ },
5254
+ "🔒/toggle-switch-track-border-color-unchecked-default": {
5255
+ "$value": "{control-border-color-default}",
5256
+ "$type": "color",
5257
+ "$description": "Used for the track border color of an unchecked toggle switch in the default state.",
5258
+ "$extensions": {
5259
+ "com.figma.scopes": [
5260
+ "STROKE_COLOR"
5261
+ ]
5262
+ }
5263
+ },
5264
+ "🔒/toggle-switch-track-border-color-unchecked-hover": {
5265
+ "$value": "{control-border-color-hover}",
5266
+ "$type": "color",
5267
+ "$description": "Used for the track border color of an unchecked toggle switch in the hover state.",
5268
+ "$extensions": {
5269
+ "com.figma.scopes": [
5270
+ "STROKE_COLOR"
5271
+ ]
5272
+ }
5273
+ },
5274
+ "🔒/toggle-switch-track-border-color-unchecked-focus": {
5275
+ "$value": "{🔒/toggle-switch-track-border-color-unchecked-hover}",
5276
+ "$type": "color",
5277
+ "$description": "Used for the track border color of an unchecked toggle switch in the focus state.",
5278
+ "$extensions": {
5279
+ "com.figma.scopes": [
5280
+ "STROKE_COLOR"
5281
+ ]
5282
+ }
5283
+ },
5284
+ "🔒/toggle-switch-track-border-color-unchecked-active": {
5285
+ "$value": "{🔒/toggle-switch-track-border-color-unchecked-focus}",
5286
+ "$type": "color",
5287
+ "$description": "Used for the track border color of an unchecked toggle switch in the active state.",
5288
+ "$extensions": {
5289
+ "com.figma.scopes": [
5290
+ "STROKE_COLOR"
5291
+ ]
5292
+ }
5293
+ },
5294
+ "🔒/toggle-switch-track-border-color-unchecked-disabled": {
5295
+ "$value": "{action-disabled-border-color}",
5296
+ "$type": "color",
5297
+ "$description": "Used for the track border color of a disabled unchecked toggle switch.",
5298
+ "$extensions": {
5299
+ "com.figma.scopes": [
5300
+ "STROKE_COLOR"
5301
+ ]
5302
+ }
5303
+ },
5304
+ "🔒/toggle-switch-track-border-color-checked-default": {
5305
+ "$value": "{action-selected-border-color-default}",
5306
+ "$type": "color",
5307
+ "$description": "Used for the track border color of a checked toggle switch in the default state.",
5308
+ "$extensions": {
5309
+ "com.figma.scopes": [
5310
+ "STROKE_COLOR"
5311
+ ]
5312
+ }
5313
+ },
5314
+ "🔒/toggle-switch-track-border-color-checked-hover": {
5315
+ "$value": "{action-selected-border-color-hover}",
5316
+ "$type": "color",
5317
+ "$description": "Used for the track border color of a checked toggle switch in the hover state.",
5318
+ "$extensions": {
5319
+ "com.figma.scopes": [
5320
+ "STROKE_COLOR"
5321
+ ]
5322
+ }
5323
+ },
5324
+ "🔒/toggle-switch-track-border-color-checked-focus": {
5325
+ "$value": "{action-selected-border-color-focus}",
5326
+ "$type": "color",
5327
+ "$description": "Used for the track border color of a checked toggle switch in the focus state.",
5328
+ "$extensions": {
5329
+ "com.figma.scopes": [
5330
+ "STROKE_COLOR"
5331
+ ]
5332
+ }
5333
+ },
5334
+ "🔒/toggle-switch-track-border-color-checked-active": {
5335
+ "$value": "{action-selected-border-color-active}",
5336
+ "$type": "color",
5337
+ "$description": "Used for the track border color of a checked toggle switch in the active state.",
5338
+ "$extensions": {
5339
+ "com.figma.scopes": [
5340
+ "STROKE_COLOR"
5341
+ ]
5342
+ }
5343
+ },
5344
+ "🔒/toggle-switch-track-border-color-checked-disabled": {
5345
+ "$value": "{🔒/toggle-switch-track-color-checked-disabled}",
5346
+ "$type": "color",
5347
+ "$description": "Used for the track border color of a disabled checked toggle switch, which matches the track color.",
5348
+ "$extensions": {
5349
+ "com.figma.scopes": [
5350
+ "STROKE_COLOR"
5351
+ ]
5352
+ }
5353
+ },
5354
+ "🔒/toggle-switch-track-border-color-loading": {
5355
+ "$value": "{🔒/toggle-switch-track-color-loading}",
5356
+ "$type": "color",
5357
+ "$description": "Used for the track border color of a loading toggle switch, which matches the track color so the track reads as a single flat fill.",
5358
+ "$extensions": {
5359
+ "com.figma.scopes": [
5360
+ "STROKE_COLOR"
5361
+ ]
5362
+ }
5363
+ },
5221
5364
  "🔒/toggle-switch-background-color-unchecked-default": {
5222
- "$value": "{control-indicator-color-selected}",
5365
+ "$value": "{action-selected-background-color-default}",
5223
5366
  "$type": "color",
5224
5367
  "$description": "Used for the background color of the unchecked toggle switch thumb in the default state.",
5225
5368
  "$extensions": {
@@ -5262,8 +5405,19 @@
5262
5405
  ]
5263
5406
  }
5264
5407
  },
5408
+ "🔒/toggle-switch-background-color-unchecked-disabled": {
5409
+ "$value": "{action-disabled-foreground-color}",
5410
+ "$type": "color",
5411
+ "$description": "Used for the background color of the disabled unchecked toggle switch thumb.",
5412
+ "$extensions": {
5413
+ "com.figma.scopes": [
5414
+ "SHAPE_FILL",
5415
+ "FRAME_FILL"
5416
+ ]
5417
+ }
5418
+ },
5265
5419
  "🔒/toggle-switch-background-color-checked-default": {
5266
- "$value": "{action-strong-confirm-foreground-color-default}",
5420
+ "$value": "{action-selected-foreground-color-default}",
5267
5421
  "$type": "color",
5268
5422
  "$description": "Used for the background color of the checked toggle switch thumb in the default state.",
5269
5423
  "$extensions": {
@@ -5274,7 +5428,7 @@
5274
5428
  }
5275
5429
  },
5276
5430
  "🔒/toggle-switch-background-color-checked-hover": {
5277
- "$value": "{action-strong-confirm-foreground-color-hover}",
5431
+ "$value": "{action-selected-foreground-color-hover}",
5278
5432
  "$type": "color",
5279
5433
  "$description": "Used for the background color of the checked toggle switch thumb in the hover state.",
5280
5434
  "$extensions": {
@@ -5285,7 +5439,7 @@
5285
5439
  }
5286
5440
  },
5287
5441
  "🔒/toggle-switch-background-color-checked-focus": {
5288
- "$value": "{action-strong-confirm-foreground-color-focus}",
5442
+ "$value": "{action-selected-foreground-color-focus}",
5289
5443
  "$type": "color",
5290
5444
  "$description": "Used for the background color of the checked toggle switch thumb in the focus state.",
5291
5445
  "$extensions": {
@@ -5296,7 +5450,7 @@
5296
5450
  }
5297
5451
  },
5298
5452
  "🔒/toggle-switch-background-color-checked-active": {
5299
- "$value": "{action-strong-confirm-foreground-color-active}",
5453
+ "$value": "{action-selected-foreground-color-active}",
5300
5454
  "$type": "color",
5301
5455
  "$description": "Used for the background color of the checked toggle switch thumb in the active state.",
5302
5456
  "$extensions": {
@@ -5306,10 +5460,10 @@
5306
5460
  ]
5307
5461
  }
5308
5462
  },
5309
- "🔒/toggle-switch-background-color-disabled": {
5310
- "$value": "{action-disabled-foreground-color}",
5463
+ "🔒/toggle-switch-background-color-checked-disabled": {
5464
+ "$value": "{action-selected-foreground-color-default}",
5311
5465
  "$type": "color",
5312
- "$description": "Used for the background color of the toggle switch thumb in the disabled state.",
5466
+ "$description": "Used for the background color of the disabled checked toggle switch thumb.",
5313
5467
  "$extensions": {
5314
5468
  "com.figma.scopes": [
5315
5469
  "SHAPE_FILL",
@@ -5318,7 +5472,7 @@
5318
5472
  }
5319
5473
  },
5320
5474
  "🔒/toggle-switch-icon-color-unchecked-default": {
5321
- "$value": "{action-strong-neutral-background-color-default}",
5475
+ "$value": "{action-selected-foreground-color-default}",
5322
5476
  "$type": "color",
5323
5477
  "$description": "Used for the icon color of an unchecked toggle switch in the default state.",
5324
5478
  "$extensions": {
@@ -5328,7 +5482,7 @@
5328
5482
  }
5329
5483
  },
5330
5484
  "🔒/toggle-switch-icon-color-unchecked-hover": {
5331
- "$value": "{action-strong-neutral-background-color-hover}",
5485
+ "$value": "{action-selected-foreground-color-hover}",
5332
5486
  "$type": "color",
5333
5487
  "$description": "Used for the icon color of an unchecked toggle switch in the hover state.",
5334
5488
  "$extensions": {
@@ -5338,7 +5492,7 @@
5338
5492
  }
5339
5493
  },
5340
5494
  "🔒/toggle-switch-icon-color-unchecked-focus": {
5341
- "$value": "{action-strong-neutral-background-color-focus}",
5495
+ "$value": "{action-selected-foreground-color-focus}",
5342
5496
  "$type": "color",
5343
5497
  "$description": "Used for the icon color of an unchecked toggle switch in the focus state.",
5344
5498
  "$extensions": {
@@ -5348,7 +5502,7 @@
5348
5502
  }
5349
5503
  },
5350
5504
  "🔒/toggle-switch-icon-color-unchecked-active": {
5351
- "$value": "{action-strong-neutral-background-color-active}",
5505
+ "$value": "{action-selected-foreground-color-active}",
5352
5506
  "$type": "color",
5353
5507
  "$description": "Used for the icon color of an unchecked toggle switch in the active state.",
5354
5508
  "$extensions": {
@@ -5358,7 +5512,7 @@
5358
5512
  }
5359
5513
  },
5360
5514
  "🔒/toggle-switch-icon-color-checked-default": {
5361
- "$value": "{action-strong-confirm-background-color-default}",
5515
+ "$value": "{action-selected-background-color-default}",
5362
5516
  "$type": "color",
5363
5517
  "$description": "Used for the icon color of a checked toggle switch in the default state.",
5364
5518
  "$extensions": {
@@ -5368,7 +5522,7 @@
5368
5522
  }
5369
5523
  },
5370
5524
  "🔒/toggle-switch-icon-color-checked-hover": {
5371
- "$value": "{action-strong-confirm-background-color-hover}",
5525
+ "$value": "{action-selected-background-color-hover}",
5372
5526
  "$type": "color",
5373
5527
  "$description": "Used for the icon color of a checked toggle switch in the hover state.",
5374
5528
  "$extensions": {
@@ -5378,7 +5532,7 @@
5378
5532
  }
5379
5533
  },
5380
5534
  "🔒/toggle-switch-icon-color-checked-focus": {
5381
- "$value": "{action-strong-confirm-background-color-focus}",
5535
+ "$value": "{action-selected-background-color-focus}",
5382
5536
  "$type": "color",
5383
5537
  "$description": "Used for the icon color of a checked toggle switch in the focus state.",
5384
5538
  "$extensions": {
@@ -5388,7 +5542,7 @@
5388
5542
  }
5389
5543
  },
5390
5544
  "🔒/toggle-switch-icon-color-checked-active": {
5391
- "$value": "{action-strong-confirm-background-color-active}",
5545
+ "$value": "{action-selected-background-color-active}",
5392
5546
  "$type": "color",
5393
5547
  "$description": "Used for the icon color of a checked toggle switch in the active state.",
5394
5548
  "$extensions": {
@@ -5590,6 +5744,17 @@
5590
5744
  ]
5591
5745
  }
5592
5746
  },
5747
+ "action-selected-background-color-disabled": {
5748
+ "$value": "{color-neutral-500}",
5749
+ "$type": "color",
5750
+ "$description": "Used for the background of a disabled action that stays selected. Sits between the disabled background and the enabled selected background so the selected state keeps 3:1 contrast against the page while still reading as disabled.",
5751
+ "$extensions": {
5752
+ "com.figma.scopes": [
5753
+ "FRAME_FILL",
5754
+ "SHAPE_FILL"
5755
+ ]
5756
+ }
5757
+ },
5593
5758
  "action-selected-border-color-default": {
5594
5759
  "$value": "{action-selected-background-color-default}",
5595
5760
  "$type": "color",