@gitlab/ui 136.1.0 → 136.3.0

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.
@@ -50,6 +50,7 @@
50
50
  }
51
51
 
52
52
  &.selected {
53
+ font-weight: var(--gl-nav-item-selected-font-weight);
53
54
  color: var(--gl-nav-item-selected-foreground-color-default);
54
55
  background-color: var(--gl-nav-item-selected-background-color-default);
55
56
 
@@ -71,6 +72,36 @@
71
72
  }
72
73
  }
73
74
 
75
+ .gl-nav-item.selected::before {
76
+ @apply gl-absolute;
77
+ content: "";
78
+ background-color: currentColor;
79
+ }
80
+
81
+ .gl-nav-item-indicator-left.selected::before {
82
+ @apply -gl-left-3;
83
+ @apply gl-top-2;
84
+ @apply gl-bottom-2;
85
+ @apply gl-w-1;
86
+ @apply gl-rounded-r-default;
87
+ }
88
+
89
+ .gl-nav-item-indicator-right.selected::before {
90
+ @apply -gl-right-3;
91
+ @apply gl-top-2;
92
+ @apply gl-bottom-2;
93
+ @apply gl-w-1;
94
+ @apply gl-rounded-l-default;
95
+ }
96
+
97
+ .gl-nav-item-indicator-bottom.selected::before {
98
+ @apply -gl-bottom-3;
99
+ @apply gl-left-2;
100
+ @apply gl-right-2;
101
+ @apply gl-h-1;
102
+ @apply gl-rounded-t-default;
103
+ }
104
+
74
105
  .gl-nav-item-slot {
75
106
  @apply gl-flex;
76
107
  @apply gl-items-center;
@@ -1,4 +1,5 @@
1
1
  <script>
2
+ import { navItemIndicatorPositionOptions } from '../../../utils/constants';
2
3
  import GlAnimatedChevronRightDownIcon from '../animated_icon/animated_chevron_right_down_icon.vue';
3
4
  import GlIcon from '../icon/icon.vue';
4
5
 
@@ -65,6 +66,15 @@ export default {
65
66
  required: false,
66
67
  default: null,
67
68
  },
69
+ /**
70
+ * Position of the selected indicator
71
+ */
72
+ indicatorPosition: {
73
+ type: String,
74
+ required: false,
75
+ default: 'left',
76
+ validator: (value) => navItemIndicatorPositionOptions[value] !== undefined,
77
+ },
68
78
  },
69
79
  computed: {
70
80
  ariaExpanded() {
@@ -73,6 +83,7 @@ export default {
73
83
  classes() {
74
84
  return [
75
85
  'gl-nav-item',
86
+ navItemIndicatorPositionOptions[this.indicatorPosition],
76
87
  {
77
88
  'gl-nav-item-is-icon-only': this.isIconOnly,
78
89
  'gl-nav-item-has-start-slot': this.icon || Boolean(this.$scopedSlots.icon),
@@ -433,6 +433,7 @@
433
433
  --gl-alert-warning-border-bottom-color: var(--gl-color-alpha-0); /** Used for the border bottom color of a warning alert. */
434
434
  --gl-alert-danger-border-top-color: var(--gl-color-alpha-0); /** Used for the border color of a danger alert. */
435
435
  --gl-alert-danger-border-bottom-color: var(--gl-color-alpha-0); /** Used for the border bottom color of a danger alert. */
436
+ --gl-application-chrome-background-color: var(--gl-color-neutral-50); /** Used for the application chrome background, the lowest layer of the interface that sits beneath panels and contains global navigation, user actions, application navigation, and AI navigation. */
436
437
  --gl-avatar-border-color-default: var(--gl-color-alpha-dark-8); /** Used to define the edge of an avatar. */
437
438
  --gl-avatar-border-color-hover: var(--gl-color-alpha-dark-24); /** Used to increase the edge definition of an avatar in the hover state. */
438
439
  --gl-avatar-circle-border-radius-default: var(--gl-border-radius-full); /** Border radius for cirlce avatars at all sizes. */
@@ -635,6 +636,14 @@
635
636
  --gl-link-mention-background-color-default: var(--gl-color-blue-100); /** Used for the mention link default background. */
636
637
  --gl-link-mention-background-color-current: var(--gl-color-orange-100); /** Used for the mention link background when referencing the current user. */
637
638
  --gl-nav-item-font-size: var(--gl-font-size-300); /** Used for the font size of a navigation item */
639
+ --gl-nav-item-foreground-color-default: var(--gl-color-neutral-600); /** Used for the foreground of a default navigation item in the default state. */
640
+ --gl-nav-item-foreground-color-hover: var(--gl-color-neutral-950); /** Used for the foreground of a default navigation item in the hover state. */
641
+ --gl-nav-item-background-color-default: var(--gl-color-alpha-0); /** Used for the background of a default navigation item in the default state. */
642
+ --gl-nav-item-background-color-hover: var(--gl-color-neutral-100); /** Used for the background of a default navigation item in the hover state. */
643
+ --gl-nav-item-background-color-active: var(--gl-color-neutral-200); /** Used for the background of a default navigation item in the active state. */
644
+ --gl-nav-item-selected-font-weight: var(--gl-font-weight-bold); /** Used for the font weight of a selected navigation item. */
645
+ --gl-nav-item-selected-foreground-color-default: var(--gl-color-neutral-950); /** Used for the foreground of a selected navigation item in the default state. */
646
+ --gl-nav-item-selected-background-color-default: var(--gl-color-neutral-100); /** Used for the background of a selected navigation item in the default state. */
638
647
  --gl-progress-bar-track-color: var(--gl-color-neutral-200); /** Used for the track color for all progress-bar variants. */
639
648
  --gl-skeleton-loader-background-color: var(--gl-color-neutral-100); /** Used for the skeleton loader background color. */
640
649
  --gl-skeleton-loader-shimmer-color: var(--gl-color-neutral-50); /** Used for the animated shimmer effect in a skeleton loader. */
@@ -1002,14 +1011,11 @@
1002
1011
  --gl-dropdown-option-background-color-unselected-active: var(--gl-action-neutral-background-color-active); /** Used for the background of an unselected dropdown option in the active state. */
1003
1012
  --gl-dropdown-option-background-color-selected-focus: var(--gl-dropdown-option-background-color-selected-hover); /** Used for the background of a selected dropdown option in the focus state. */
1004
1013
  --gl-modal-border-radius: var(--gl-border-radius-2xl); /** Used for modal border radius. */
1005
- --gl-nav-item-foreground-color-default: var(--gl-action-neutral-foreground-color-default); /** Used for the foreground of a default navigation item in the default state. */
1006
- --gl-nav-item-background-color-default: var(--gl-action-neutral-background-color-default); /** Used for the background of a default navigation item in the default state. */
1007
- --gl-nav-item-background-color-hover: var(--gl-action-neutral-background-color-hover); /** Used for the background of a default navigation item in the hover state. */
1008
- --gl-nav-item-background-color-active: var(--gl-action-neutral-background-color-active); /** Used for the background of a default navigation item in the active state. */
1009
- --gl-nav-item-selected-foreground-color-default: var(--gl-action-selected-foreground-color-default); /** Used for the foreground of a selected navigation item in the default state. */
1010
- --gl-nav-item-selected-background-color-default: var(--gl-action-selected-background-color-default); /** Used for the background of a selected navigation item in the default state. */
1011
- --gl-nav-item-selected-background-color-hover: var(--gl-action-selected-background-color-hover); /** Used for the background of a selected navigation item in the hover state. */
1012
- --gl-nav-item-selected-background-color-active: var(--gl-action-selected-background-color-active); /** Used for the background of a selected navigation item in the active state. */
1014
+ --gl-nav-item-foreground-color-focus: var(--gl-nav-item-foreground-color-hover); /** Used for the foreground of a default navigation item in the focus state. */
1015
+ --gl-nav-item-background-color-focus: var(--gl-nav-item-background-color-hover); /** Used for the background of a default navigation item in the focus state. */
1016
+ --gl-nav-item-selected-foreground-color-hover: var(--gl-nav-item-foreground-color-hover); /** Used for the foreground of a selected navigation item in the hover state. */
1017
+ --gl-nav-item-selected-background-color-hover: var(--gl-nav-item-background-color-hover); /** Used for the background of a selected navigation item in the hover state. */
1018
+ --gl-nav-item-selected-background-color-active: var(--gl-nav-item-background-color-active); /** Used for the background of a selected navigation item in the active state. */
1013
1019
  --gl-progress-bar-indicator-color-default: var(--gl-status-info-icon-color); /** Used for the indicator color for the primary progress-bar variant. */
1014
1020
  --gl-progress-bar-indicator-color-success: var(--gl-status-success-icon-color); /** Used for the indicator color for the success progress-bar variant. */
1015
1021
  --gl-progress-bar-indicator-color-warning: var(--gl-status-warning-icon-color); /** Used for the indicator color for the warning progress-bar variant. */
@@ -1219,12 +1225,9 @@
1219
1225
  --gl-dropdown-option-indicator-color-selected-active: var(--gl-control-background-color-selected-focus); /** Used for the dropdown selected option indicator in the active state. */
1220
1226
  --gl-dropdown-option-background-color-unselected-focus: var(--gl-action-neutral-background-color-focus); /** Used for the background of an unselected dropdown option in the focus state. */
1221
1227
  --gl-nav-item-border-radius: var(--gl-action-border-radius); /** Used for the border radius of a navigation item */
1222
- --gl-nav-item-foreground-color-hover: var(--gl-action-neutral-foreground-color-hover); /** Used for the foreground of a default navigation item in the hover state. */
1223
- --gl-nav-item-foreground-color-focus: var(--gl-action-neutral-foreground-color-focus); /** Used for the foreground of a default navigation item in the focus state. */
1224
- --gl-nav-item-foreground-color-active: var(--gl-action-neutral-foreground-color-active); /** Used for the foreground of a default navigation item in the active state. */
1225
- --gl-nav-item-background-color-focus: var(--gl-action-neutral-background-color-focus); /** Used for the background of a default navigation item in the focus state. */
1226
- --gl-nav-item-selected-foreground-color-hover: var(--gl-action-selected-foreground-color-hover); /** Used for the foreground of a selected navigation item in the hover state. */
1227
- --gl-nav-item-selected-background-color-focus: var(--gl-action-selected-background-color-focus); /** Used for the background of a selected navigation item in the focus state. */
1228
+ --gl-nav-item-foreground-color-active: var(--gl-nav-item-foreground-color-focus); /** Used for the foreground of a default navigation item in the active state. */
1229
+ --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
+ --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. */
1228
1231
  --gl-tab-selected-indicator-color-default: var(--gl-action-selected-border-color-active); /** Used for the selected indicator of a tab. */
1229
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. */
1230
1233
  --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. */
@@ -1242,7 +1245,7 @@
1242
1245
  --gl-action-strong-neutral-border-color-focus: var(--gl-action-strong-neutral-border-color-hover); /** Used for the border of a strong neutral action in the focus state. */
1243
1246
  --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. */
1244
1247
  --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. */
1245
- --gl-nav-item-selected-foreground-color-focus: var(--gl-action-selected-foreground-color-focus); /** Used for the foreground of a selected navigation item in the focus state. */
1248
+ --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. */
1246
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. */
1247
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. */
1248
1251
  --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. */
@@ -1250,7 +1253,6 @@
1250
1253
  --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. */
1251
1254
  --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. */
1252
1255
  --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. */
1253
- --gl-nav-item-selected-foreground-color-active: var(--gl-action-selected-foreground-color-active); /** Used for the foreground of a selected navigation item in the active state. */
1254
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. */
1255
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. */
1256
1258
  }
@@ -449,6 +449,7 @@
449
449
  --gl-alert-danger-title-color: var(--gl-color-red-300); /** Used for the title color of a danger alert. */
450
450
  --gl-alert-danger-border-top-color: var(--gl-color-red-400); /** Used for the border color of a danger alert. */
451
451
  --gl-alert-danger-border-bottom-color: var(--gl-color-alpha-0); /** Used for the border bottom color of a danger alert. */
452
+ --gl-application-chrome-background-color: var(--gl-color-neutral-1000); /** Used for the application chrome background, the lowest layer of the interface that sits beneath panels and contains global navigation, user actions, application navigation, and AI navigation. */
452
453
  --gl-avatar-border-color-default: var(--gl-color-alpha-light-8); /** Used to define the edge of an avatar. */
453
454
  --gl-avatar-border-color-hover: var(--gl-color-alpha-light-24); /** Used to increase the edge definition of an avatar in the hover state. */
454
455
  --gl-avatar-circle-border-radius-default: var(--gl-border-radius-full); /** Border radius for cirlce avatars at all sizes. */
@@ -653,6 +654,14 @@
653
654
  --gl-link-mention-background-color-default: var(--gl-color-blue-800); /** Used for the mention link default background. */
654
655
  --gl-link-mention-background-color-current: var(--gl-color-orange-800); /** Used for the mention link background when referencing the current user. */
655
656
  --gl-nav-item-font-size: var(--gl-font-size-300); /** Used for the font size of a navigation item */
657
+ --gl-nav-item-foreground-color-default: var(--gl-color-neutral-200); /** Used for the foreground of a default navigation item in the default state. */
658
+ --gl-nav-item-foreground-color-hover: var(--gl-color-neutral-0); /** Used for the foreground of a default navigation item in the hover state. */
659
+ --gl-nav-item-background-color-default: var(--gl-color-alpha-0); /** Used for the background of a default navigation item in the default state. */
660
+ --gl-nav-item-background-color-hover: var(--gl-color-neutral-900); /** Used for the background of a default navigation item in the hover state. */
661
+ --gl-nav-item-background-color-active: var(--gl-color-neutral-950); /** Used for the background of a default navigation item in the active state. */
662
+ --gl-nav-item-selected-font-weight: var(--gl-font-weight-bold); /** Used for the font weight of a selected navigation item. */
663
+ --gl-nav-item-selected-foreground-color-default: var(--gl-color-neutral-0); /** Used for the foreground of a selected navigation item in the default state. */
664
+ --gl-nav-item-selected-background-color-default: var(--gl-color-neutral-900); /** Used for the background of a selected navigation item in the default state. */
656
665
  --gl-progress-bar-track-color: var(--gl-color-neutral-700); /** Used for the track color for all progress-bar variants. */
657
666
  --gl-skeleton-loader-background-color: var(--gl-color-neutral-800); /** Used for the skeleton loader background color. */
658
667
  --gl-skeleton-loader-shimmer-color: var(--gl-color-neutral-700); /** Used for the animated shimmer effect in a skeleton loader. */
@@ -1009,14 +1018,11 @@
1009
1018
  --gl-dropdown-option-background-color-unselected-active: var(--gl-action-neutral-background-color-active); /** Used for the background of an unselected dropdown option in the active state. */
1010
1019
  --gl-dropdown-option-background-color-selected-focus: var(--gl-dropdown-option-background-color-selected-hover); /** Used for the background of a selected dropdown option in the focus state. */
1011
1020
  --gl-modal-border-radius: var(--gl-border-radius-2xl); /** Used for modal border radius. */
1012
- --gl-nav-item-foreground-color-default: var(--gl-action-neutral-foreground-color-default); /** Used for the foreground of a default navigation item in the default state. */
1013
- --gl-nav-item-background-color-default: var(--gl-action-neutral-background-color-default); /** Used for the background of a default navigation item in the default state. */
1014
- --gl-nav-item-background-color-hover: var(--gl-action-neutral-background-color-hover); /** Used for the background of a default navigation item in the hover state. */
1015
- --gl-nav-item-background-color-active: var(--gl-action-neutral-background-color-active); /** Used for the background of a default navigation item in the active state. */
1016
- --gl-nav-item-selected-foreground-color-default: var(--gl-action-selected-foreground-color-default); /** Used for the foreground of a selected navigation item in the default state. */
1017
- --gl-nav-item-selected-background-color-default: var(--gl-action-selected-background-color-default); /** Used for the background of a selected navigation item in the default state. */
1018
- --gl-nav-item-selected-background-color-hover: var(--gl-action-selected-background-color-hover); /** Used for the background of a selected navigation item in the hover state. */
1019
- --gl-nav-item-selected-background-color-active: var(--gl-action-selected-background-color-active); /** Used for the background of a selected navigation item in the active state. */
1021
+ --gl-nav-item-foreground-color-focus: var(--gl-nav-item-foreground-color-hover); /** Used for the foreground of a default navigation item in the focus state. */
1022
+ --gl-nav-item-background-color-focus: var(--gl-nav-item-background-color-hover); /** Used for the background of a default navigation item in the focus state. */
1023
+ --gl-nav-item-selected-foreground-color-hover: var(--gl-nav-item-foreground-color-hover); /** Used for the foreground of a selected navigation item in the hover state. */
1024
+ --gl-nav-item-selected-background-color-hover: var(--gl-nav-item-background-color-hover); /** Used for the background of a selected navigation item in the hover state. */
1025
+ --gl-nav-item-selected-background-color-active: var(--gl-nav-item-background-color-active); /** Used for the background of a selected navigation item in the active state. */
1020
1026
  --gl-progress-bar-indicator-color-default: var(--gl-status-info-icon-color); /** Used for the indicator color for the primary progress-bar variant. */
1021
1027
  --gl-progress-bar-indicator-color-success: var(--gl-status-success-icon-color); /** Used for the indicator color for the success progress-bar variant. */
1022
1028
  --gl-progress-bar-indicator-color-warning: var(--gl-status-warning-icon-color); /** Used for the indicator color for the warning progress-bar variant. */
@@ -1221,12 +1227,9 @@
1221
1227
  --gl-dropdown-option-indicator-color-selected-active: var(--gl-control-background-color-selected-focus); /** Used for the dropdown selected option indicator in the active state. */
1222
1228
  --gl-dropdown-option-background-color-unselected-focus: var(--gl-action-neutral-background-color-focus); /** Used for the background of an unselected dropdown option in the focus state. */
1223
1229
  --gl-nav-item-border-radius: var(--gl-action-border-radius); /** Used for the border radius of a navigation item */
1224
- --gl-nav-item-foreground-color-hover: var(--gl-action-neutral-foreground-color-hover); /** Used for the foreground of a default navigation item in the hover state. */
1225
- --gl-nav-item-foreground-color-focus: var(--gl-action-neutral-foreground-color-focus); /** Used for the foreground of a default navigation item in the focus state. */
1226
- --gl-nav-item-foreground-color-active: var(--gl-action-neutral-foreground-color-active); /** Used for the foreground of a default navigation item in the active state. */
1227
- --gl-nav-item-background-color-focus: var(--gl-action-neutral-background-color-focus); /** Used for the background of a default navigation item in the focus state. */
1228
- --gl-nav-item-selected-foreground-color-hover: var(--gl-action-selected-foreground-color-hover); /** Used for the foreground of a selected navigation item in the hover state. */
1229
- --gl-nav-item-selected-background-color-focus: var(--gl-action-selected-background-color-focus); /** Used for the background of a selected navigation item in the focus state. */
1230
+ --gl-nav-item-foreground-color-active: var(--gl-nav-item-foreground-color-focus); /** Used for the foreground of a default navigation item in the active state. */
1231
+ --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
+ --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. */
1230
1233
  --gl-tab-selected-indicator-color-default: var(--gl-action-selected-border-color-active); /** Used for the selected indicator of a tab. */
1231
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. */
1232
1235
  --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. */
@@ -1243,14 +1246,13 @@
1243
1246
  --gl-action-strong-neutral-border-color-focus: var(--gl-action-strong-neutral-border-color-hover); /** Used for the border of a strong neutral action in the focus state. */
1244
1247
  --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. */
1245
1248
  --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. */
1246
- --gl-nav-item-selected-foreground-color-focus: var(--gl-action-selected-foreground-color-focus); /** Used for the foreground of a selected navigation item in the focus state. */
1249
+ --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. */
1247
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. */
1248
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. */
1249
1252
  --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. */
1250
1253
  --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. */
1251
1254
  --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. */
1252
1255
  --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. */
1253
- --gl-nav-item-selected-foreground-color-active: var(--gl-action-selected-foreground-color-active); /** Used for the foreground of a selected navigation item in the active state. */
1254
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. */
1255
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. */
1256
1258
  }
@@ -312,6 +312,17 @@
312
312
  ]
313
313
  }
314
314
  },
315
+ "🔒/application-chrome-background-color": {
316
+ "$value": "{color-neutral-1000}",
317
+ "$type": "color",
318
+ "$description": "Used for the application chrome background, the lowest layer of the interface that sits beneath panels and contains global navigation, user actions, application navigation, and AI navigation.",
319
+ "$extensions": {
320
+ "com.figma.scopes": [
321
+ "FRAME_FILL",
322
+ "SHAPE_FILL"
323
+ ]
324
+ }
325
+ },
315
326
  "🔒/avatar-border-color-default": {
316
327
  "$value": "{color-alpha-light-8}",
317
328
  "$type": "color",
@@ -4802,7 +4813,7 @@
4802
4813
  }
4803
4814
  },
4804
4815
  "🔒/nav-item-foreground-color-default": {
4805
- "$value": "{action-neutral-foreground-color-default}",
4816
+ "$value": "{color-neutral-200}",
4806
4817
  "$type": "color",
4807
4818
  "$description": "Used for the foreground of a default navigation item in the default state.",
4808
4819
  "$extensions": {
@@ -4812,7 +4823,7 @@
4812
4823
  }
4813
4824
  },
4814
4825
  "🔒/nav-item-foreground-color-hover": {
4815
- "$value": "{action-neutral-foreground-color-hover}",
4826
+ "$value": "{color-neutral-0}",
4816
4827
  "$type": "color",
4817
4828
  "$description": "Used for the foreground of a default navigation item in the hover state.",
4818
4829
  "$extensions": {
@@ -4822,7 +4833,7 @@
4822
4833
  }
4823
4834
  },
4824
4835
  "🔒/nav-item-foreground-color-focus": {
4825
- "$value": "{action-neutral-foreground-color-focus}",
4836
+ "$value": "{🔒/nav-item-foreground-color-hover}",
4826
4837
  "$type": "color",
4827
4838
  "$description": "Used for the foreground of a default navigation item in the focus state.",
4828
4839
  "$extensions": {
@@ -4832,7 +4843,7 @@
4832
4843
  }
4833
4844
  },
4834
4845
  "🔒/nav-item-foreground-color-active": {
4835
- "$value": "{action-neutral-foreground-color-active}",
4846
+ "$value": "{🔒/nav-item-foreground-color-focus}",
4836
4847
  "$type": "color",
4837
4848
  "$description": "Used for the foreground of a default navigation item in the active state.",
4838
4849
  "$extensions": {
@@ -4842,7 +4853,7 @@
4842
4853
  }
4843
4854
  },
4844
4855
  "🔒/nav-item-background-color-default": {
4845
- "$value": "{action-neutral-background-color-default}",
4856
+ "$value": "{color-alpha-0}",
4846
4857
  "$type": "color",
4847
4858
  "$description": "Used for the background of a default navigation item in the default state.",
4848
4859
  "$extensions": {
@@ -4852,7 +4863,7 @@
4852
4863
  }
4853
4864
  },
4854
4865
  "🔒/nav-item-background-color-hover": {
4855
- "$value": "{action-neutral-background-color-hover}",
4866
+ "$value": "{color-neutral-900}",
4856
4867
  "$type": "color",
4857
4868
  "$description": "Used for the background of a default navigation item in the hover state.",
4858
4869
  "$extensions": {
@@ -4862,7 +4873,7 @@
4862
4873
  }
4863
4874
  },
4864
4875
  "🔒/nav-item-background-color-focus": {
4865
- "$value": "{action-neutral-background-color-focus}",
4876
+ "$value": "{🔒/nav-item-background-color-hover}",
4866
4877
  "$type": "color",
4867
4878
  "$description": "Used for the background of a default navigation item in the focus state.",
4868
4879
  "$extensions": {
@@ -4872,7 +4883,7 @@
4872
4883
  }
4873
4884
  },
4874
4885
  "🔒/nav-item-background-color-active": {
4875
- "$value": "{action-neutral-background-color-active}",
4886
+ "$value": "{color-neutral-950}",
4876
4887
  "$type": "color",
4877
4888
  "$description": "Used for the background of a default navigation item in the active state.",
4878
4889
  "$extensions": {
@@ -4881,8 +4892,18 @@
4881
4892
  ]
4882
4893
  }
4883
4894
  },
4895
+ "🔒/nav-item-selected-font-weight": {
4896
+ "$value": "{font-weight-bold}",
4897
+ "$type": "fontWeight",
4898
+ "$description": "Used for the font weight of a selected navigation item.",
4899
+ "$extensions": {
4900
+ "com.figma.scopes": [
4901
+ "FONT_WEIGHT"
4902
+ ]
4903
+ }
4904
+ },
4884
4905
  "🔒/nav-item-selected-foreground-color-default": {
4885
- "$value": "{action-selected-foreground-color-default}",
4906
+ "$value": "{color-neutral-0}",
4886
4907
  "$type": "color",
4887
4908
  "$description": "Used for the foreground of a selected navigation item in the default state.",
4888
4909
  "$extensions": {
@@ -4892,7 +4913,7 @@
4892
4913
  }
4893
4914
  },
4894
4915
  "🔒/nav-item-selected-foreground-color-hover": {
4895
- "$value": "{action-selected-foreground-color-hover}",
4916
+ "$value": "{🔒/nav-item-foreground-color-hover}",
4896
4917
  "$type": "color",
4897
4918
  "$description": "Used for the foreground of a selected navigation item in the hover state.",
4898
4919
  "$extensions": {
@@ -4902,7 +4923,7 @@
4902
4923
  }
4903
4924
  },
4904
4925
  "🔒/nav-item-selected-foreground-color-focus": {
4905
- "$value": "{action-selected-foreground-color-focus}",
4926
+ "$value": "{🔒/nav-item-foreground-color-focus}",
4906
4927
  "$type": "color",
4907
4928
  "$description": "Used for the foreground of a selected navigation item in the focus state.",
4908
4929
  "$extensions": {
@@ -4912,7 +4933,7 @@
4912
4933
  }
4913
4934
  },
4914
4935
  "🔒/nav-item-selected-foreground-color-active": {
4915
- "$value": "{action-selected-foreground-color-active}",
4936
+ "$value": "{🔒/nav-item-foreground-color-active}",
4916
4937
  "$type": "color",
4917
4938
  "$description": "Used for the foreground of a selected navigation item in the active state.",
4918
4939
  "$extensions": {
@@ -4922,7 +4943,7 @@
4922
4943
  }
4923
4944
  },
4924
4945
  "🔒/nav-item-selected-background-color-default": {
4925
- "$value": "{action-selected-background-color-default}",
4946
+ "$value": "{color-neutral-900}",
4926
4947
  "$type": "color",
4927
4948
  "$description": "Used for the background of a selected navigation item in the default state.",
4928
4949
  "$extensions": {
@@ -4932,7 +4953,7 @@
4932
4953
  }
4933
4954
  },
4934
4955
  "🔒/nav-item-selected-background-color-hover": {
4935
- "$value": "{action-selected-background-color-hover}",
4956
+ "$value": "{🔒/nav-item-background-color-hover}",
4936
4957
  "$type": "color",
4937
4958
  "$description": "Used for the background of a selected navigation item in the hover state.",
4938
4959
  "$extensions": {
@@ -4942,7 +4963,7 @@
4942
4963
  }
4943
4964
  },
4944
4965
  "🔒/nav-item-selected-background-color-focus": {
4945
- "$value": "{action-selected-background-color-focus}",
4966
+ "$value": "{🔒/nav-item-background-color-focus}",
4946
4967
  "$type": "color",
4947
4968
  "$description": "Used for the background of a selected navigation item in the focus state.",
4948
4969
  "$extensions": {
@@ -4952,7 +4973,7 @@
4952
4973
  }
4953
4974
  },
4954
4975
  "🔒/nav-item-selected-background-color-active": {
4955
- "$value": "{action-selected-background-color-active}",
4976
+ "$value": "{🔒/nav-item-background-color-active}",
4956
4977
  "$type": "color",
4957
4978
  "$description": "Used for the background of a selected navigation item in the active state.",
4958
4979
  "$extensions": {
@@ -312,6 +312,17 @@
312
312
  ]
313
313
  }
314
314
  },
315
+ "🔒/application-chrome-background-color": {
316
+ "$value": "{color-neutral-50}",
317
+ "$type": "color",
318
+ "$description": "Used for the application chrome background, the lowest layer of the interface that sits beneath panels and contains global navigation, user actions, application navigation, and AI navigation.",
319
+ "$extensions": {
320
+ "com.figma.scopes": [
321
+ "FRAME_FILL",
322
+ "SHAPE_FILL"
323
+ ]
324
+ }
325
+ },
315
326
  "🔒/avatar-border-color-default": {
316
327
  "$value": "{color-alpha-dark-8}",
317
328
  "$type": "color",
@@ -4746,7 +4757,7 @@
4746
4757
  }
4747
4758
  },
4748
4759
  "🔒/nav-item-foreground-color-default": {
4749
- "$value": "{action-neutral-foreground-color-default}",
4760
+ "$value": "{color-neutral-600}",
4750
4761
  "$type": "color",
4751
4762
  "$description": "Used for the foreground of a default navigation item in the default state.",
4752
4763
  "$extensions": {
@@ -4756,7 +4767,7 @@
4756
4767
  }
4757
4768
  },
4758
4769
  "🔒/nav-item-foreground-color-hover": {
4759
- "$value": "{action-neutral-foreground-color-hover}",
4770
+ "$value": "{color-neutral-950}",
4760
4771
  "$type": "color",
4761
4772
  "$description": "Used for the foreground of a default navigation item in the hover state.",
4762
4773
  "$extensions": {
@@ -4766,7 +4777,7 @@
4766
4777
  }
4767
4778
  },
4768
4779
  "🔒/nav-item-foreground-color-focus": {
4769
- "$value": "{action-neutral-foreground-color-focus}",
4780
+ "$value": "{🔒/nav-item-foreground-color-hover}",
4770
4781
  "$type": "color",
4771
4782
  "$description": "Used for the foreground of a default navigation item in the focus state.",
4772
4783
  "$extensions": {
@@ -4776,7 +4787,7 @@
4776
4787
  }
4777
4788
  },
4778
4789
  "🔒/nav-item-foreground-color-active": {
4779
- "$value": "{action-neutral-foreground-color-active}",
4790
+ "$value": "{🔒/nav-item-foreground-color-focus}",
4780
4791
  "$type": "color",
4781
4792
  "$description": "Used for the foreground of a default navigation item in the active state.",
4782
4793
  "$extensions": {
@@ -4786,7 +4797,7 @@
4786
4797
  }
4787
4798
  },
4788
4799
  "🔒/nav-item-background-color-default": {
4789
- "$value": "{action-neutral-background-color-default}",
4800
+ "$value": "{color-alpha-0}",
4790
4801
  "$type": "color",
4791
4802
  "$description": "Used for the background of a default navigation item in the default state.",
4792
4803
  "$extensions": {
@@ -4796,7 +4807,7 @@
4796
4807
  }
4797
4808
  },
4798
4809
  "🔒/nav-item-background-color-hover": {
4799
- "$value": "{action-neutral-background-color-hover}",
4810
+ "$value": "{color-neutral-100}",
4800
4811
  "$type": "color",
4801
4812
  "$description": "Used for the background of a default navigation item in the hover state.",
4802
4813
  "$extensions": {
@@ -4806,7 +4817,7 @@
4806
4817
  }
4807
4818
  },
4808
4819
  "🔒/nav-item-background-color-focus": {
4809
- "$value": "{action-neutral-background-color-focus}",
4820
+ "$value": "{🔒/nav-item-background-color-hover}",
4810
4821
  "$type": "color",
4811
4822
  "$description": "Used for the background of a default navigation item in the focus state.",
4812
4823
  "$extensions": {
@@ -4816,7 +4827,7 @@
4816
4827
  }
4817
4828
  },
4818
4829
  "🔒/nav-item-background-color-active": {
4819
- "$value": "{action-neutral-background-color-active}",
4830
+ "$value": "{color-neutral-200}",
4820
4831
  "$type": "color",
4821
4832
  "$description": "Used for the background of a default navigation item in the active state.",
4822
4833
  "$extensions": {
@@ -4825,8 +4836,18 @@
4825
4836
  ]
4826
4837
  }
4827
4838
  },
4839
+ "🔒/nav-item-selected-font-weight": {
4840
+ "$value": "{font-weight-bold}",
4841
+ "$type": "fontWeight",
4842
+ "$description": "Used for the font weight of a selected navigation item.",
4843
+ "$extensions": {
4844
+ "com.figma.scopes": [
4845
+ "FONT_WEIGHT"
4846
+ ]
4847
+ }
4848
+ },
4828
4849
  "🔒/nav-item-selected-foreground-color-default": {
4829
- "$value": "{action-selected-foreground-color-default}",
4850
+ "$value": "{color-neutral-950}",
4830
4851
  "$type": "color",
4831
4852
  "$description": "Used for the foreground of a selected navigation item in the default state.",
4832
4853
  "$extensions": {
@@ -4836,7 +4857,7 @@
4836
4857
  }
4837
4858
  },
4838
4859
  "🔒/nav-item-selected-foreground-color-hover": {
4839
- "$value": "{action-selected-foreground-color-hover}",
4860
+ "$value": "{🔒/nav-item-foreground-color-hover}",
4840
4861
  "$type": "color",
4841
4862
  "$description": "Used for the foreground of a selected navigation item in the hover state.",
4842
4863
  "$extensions": {
@@ -4846,7 +4867,7 @@
4846
4867
  }
4847
4868
  },
4848
4869
  "🔒/nav-item-selected-foreground-color-focus": {
4849
- "$value": "{action-selected-foreground-color-focus}",
4870
+ "$value": "{🔒/nav-item-foreground-color-focus}",
4850
4871
  "$type": "color",
4851
4872
  "$description": "Used for the foreground of a selected navigation item in the focus state.",
4852
4873
  "$extensions": {
@@ -4856,7 +4877,7 @@
4856
4877
  }
4857
4878
  },
4858
4879
  "🔒/nav-item-selected-foreground-color-active": {
4859
- "$value": "{action-selected-foreground-color-active}",
4880
+ "$value": "{🔒/nav-item-foreground-color-active}",
4860
4881
  "$type": "color",
4861
4882
  "$description": "Used for the foreground of a selected navigation item in the active state.",
4862
4883
  "$extensions": {
@@ -4866,7 +4887,7 @@
4866
4887
  }
4867
4888
  },
4868
4889
  "🔒/nav-item-selected-background-color-default": {
4869
- "$value": "{action-selected-background-color-default}",
4890
+ "$value": "{color-neutral-100}",
4870
4891
  "$type": "color",
4871
4892
  "$description": "Used for the background of a selected navigation item in the default state.",
4872
4893
  "$extensions": {
@@ -4876,7 +4897,7 @@
4876
4897
  }
4877
4898
  },
4878
4899
  "🔒/nav-item-selected-background-color-hover": {
4879
- "$value": "{action-selected-background-color-hover}",
4900
+ "$value": "{🔒/nav-item-background-color-hover}",
4880
4901
  "$type": "color",
4881
4902
  "$description": "Used for the background of a selected navigation item in the hover state.",
4882
4903
  "$extensions": {
@@ -4886,7 +4907,7 @@
4886
4907
  }
4887
4908
  },
4888
4909
  "🔒/nav-item-selected-background-color-focus": {
4889
- "$value": "{action-selected-background-color-focus}",
4910
+ "$value": "{🔒/nav-item-background-color-focus}",
4890
4911
  "$type": "color",
4891
4912
  "$description": "Used for the background of a selected navigation item in the focus state.",
4892
4913
  "$extensions": {
@@ -4896,7 +4917,7 @@
4896
4917
  }
4897
4918
  },
4898
4919
  "🔒/nav-item-selected-background-color-active": {
4899
- "$value": "{action-selected-background-color-active}",
4920
+ "$value": "{🔒/nav-item-background-color-active}",
4900
4921
  "$type": "color",
4901
4922
  "$description": "Used for the background of a selected navigation item in the active state.",
4902
4923
  "$extensions": {
@@ -377,6 +377,7 @@ export const GL_ALERT_DANGER_TITLE_COLOR = '#f6806d';
377
377
  export const GL_ALERT_DANGER_BACKGROUND_COLOR = '#28272d';
378
378
  export const GL_ALERT_DANGER_BORDER_TOP_COLOR = '#ec5941';
379
379
  export const GL_ALERT_DANGER_BORDER_BOTTOM_COLOR = 'rgba(0, 0, 0, 0)';
380
+ export const GL_APPLICATION_CHROME_BACKGROUND_COLOR = '#050506';
380
381
  export const GL_AVATAR_BORDER_COLOR_DEFAULT = 'rgba(255, 255, 255, 0.08)';
381
382
  export const GL_AVATAR_BORDER_COLOR_HOVER = 'rgba(255, 255, 255, 0.24)';
382
383
  export const GL_AVATAR_CIRCLE_BORDER_RADIUS_DEFAULT = '9999px';
@@ -767,22 +768,23 @@ export const GL_MODAL_BORDER_RADIUS = '1rem';
767
768
  export const GL_NAV_ITEM_BORDER_RADIUS = '0.5rem';
768
769
  export const GL_NAV_ITEM_FONT_SIZE = '0.875rem';
769
770
  export const GL_NAV_ITEM_FONT_WEIGHT = 425;
770
- export const GL_NAV_ITEM_FOREGROUND_COLOR_DEFAULT = '#ececef';
771
- export const GL_NAV_ITEM_FOREGROUND_COLOR_HOVER = '#ececef';
772
- export const GL_NAV_ITEM_FOREGROUND_COLOR_FOCUS = '#ececef';
773
- export const GL_NAV_ITEM_FOREGROUND_COLOR_ACTIVE = '#ececef';
771
+ export const GL_NAV_ITEM_FOREGROUND_COLOR_DEFAULT = '#bfbfc3';
772
+ export const GL_NAV_ITEM_FOREGROUND_COLOR_HOVER = '#fff';
773
+ export const GL_NAV_ITEM_FOREGROUND_COLOR_FOCUS = '#fff';
774
+ export const GL_NAV_ITEM_FOREGROUND_COLOR_ACTIVE = '#fff';
774
775
  export const GL_NAV_ITEM_BACKGROUND_COLOR_DEFAULT = 'rgba(0, 0, 0, 0)';
775
- export const GL_NAV_ITEM_BACKGROUND_COLOR_HOVER = 'rgba(255, 255, 255, 0.16)';
776
- export const GL_NAV_ITEM_BACKGROUND_COLOR_FOCUS = 'rgba(255, 255, 255, 0.16)';
777
- export const GL_NAV_ITEM_BACKGROUND_COLOR_ACTIVE = 'rgba(255, 255, 255, 0.08)';
778
- export const GL_NAV_ITEM_SELECTED_FOREGROUND_COLOR_DEFAULT = '#18171d';
779
- export const GL_NAV_ITEM_SELECTED_FOREGROUND_COLOR_HOVER = '#18171d';
780
- export const GL_NAV_ITEM_SELECTED_FOREGROUND_COLOR_FOCUS = '#18171d';
781
- export const GL_NAV_ITEM_SELECTED_FOREGROUND_COLOR_ACTIVE = '#18171d';
782
- export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_DEFAULT = '#ececef';
783
- export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_HOVER = '#fbfafd';
784
- export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_FOCUS = '#fbfafd';
785
- export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_ACTIVE = '#fff';
776
+ export const GL_NAV_ITEM_BACKGROUND_COLOR_HOVER = '#28272d';
777
+ export const GL_NAV_ITEM_BACKGROUND_COLOR_FOCUS = '#28272d';
778
+ export const GL_NAV_ITEM_BACKGROUND_COLOR_ACTIVE = '#18171d';
779
+ export const GL_NAV_ITEM_SELECTED_FONT_WEIGHT = 600;
780
+ export const GL_NAV_ITEM_SELECTED_FOREGROUND_COLOR_DEFAULT = '#fff';
781
+ export const GL_NAV_ITEM_SELECTED_FOREGROUND_COLOR_HOVER = '#fff';
782
+ export const GL_NAV_ITEM_SELECTED_FOREGROUND_COLOR_FOCUS = '#fff';
783
+ export const GL_NAV_ITEM_SELECTED_FOREGROUND_COLOR_ACTIVE = '#fff';
784
+ export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_DEFAULT = '#28272d';
785
+ export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_HOVER = '#28272d';
786
+ export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_FOCUS = '#28272d';
787
+ export const GL_NAV_ITEM_SELECTED_BACKGROUND_COLOR_ACTIVE = '#18171d';
786
788
  export const GL_PROGRESS_BAR_INDICATOR_COLOR_DEFAULT = '#63a6e9';
787
789
  export const GL_PROGRESS_BAR_INDICATOR_COLOR_SUCCESS = '#52b87a';
788
790
  export const GL_PROGRESS_BAR_INDICATOR_COLOR_WARNING = '#d99530';