@gitlab/ui 85.2.1 → 85.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.
@@ -8969,6 +8969,375 @@
8969
8969
  }
8970
8970
  }
8971
8971
  },
8972
+ "control": {
8973
+ "background": {
8974
+ "color": {
8975
+ "default": {
8976
+ "value": "#fff",
8977
+ "$type": "color",
8978
+ "comment": "Used for form control (input, radio button, checkbox, textarea) default background.",
8979
+ "filePath": "src/tokens/control.tokens.json",
8980
+ "isSource": true,
8981
+ "original": {
8982
+ "value": {
8983
+ "default": "{color.neutral.0}",
8984
+ "dark": "{color.neutral.900}"
8985
+ },
8986
+ "$type": "color",
8987
+ "comment": "Used for form control (input, radio button, checkbox, textarea) default background."
8988
+ },
8989
+ "name": "CONTROL_BACKGROUND_COLOR_DEFAULT",
8990
+ "attributes": {},
8991
+ "path": [
8992
+ "control",
8993
+ "background",
8994
+ "color",
8995
+ "default"
8996
+ ]
8997
+ },
8998
+ "disabled": {
8999
+ "value": "#fbfafd",
9000
+ "$type": "color",
9001
+ "comment": "Used for disabled form control (checkbox, input, radio button, textarea) background.",
9002
+ "filePath": "src/tokens/control.tokens.json",
9003
+ "isSource": true,
9004
+ "original": {
9005
+ "value": {
9006
+ "default": "{color.neutral.10}",
9007
+ "dark": "{color.neutral.950}"
9008
+ },
9009
+ "$type": "color",
9010
+ "comment": "Used for disabled form control (checkbox, input, radio button, textarea) background."
9011
+ },
9012
+ "name": "CONTROL_BACKGROUND_COLOR_DISABLED",
9013
+ "attributes": {},
9014
+ "path": [
9015
+ "control",
9016
+ "background",
9017
+ "color",
9018
+ "disabled"
9019
+ ]
9020
+ },
9021
+ "selected": {
9022
+ "default": {
9023
+ "value": "#1f75cb",
9024
+ "$type": "color",
9025
+ "comment": "Used for checked and indeterminate (selected) form control (checkbox, radio button) background.",
9026
+ "filePath": "src/tokens/control.tokens.json",
9027
+ "isSource": true,
9028
+ "original": {
9029
+ "value": {
9030
+ "default": "{color.blue.500}",
9031
+ "dark": "{color.blue.400}"
9032
+ },
9033
+ "$type": "color",
9034
+ "comment": "Used for checked and indeterminate (selected) form control (checkbox, radio button) background."
9035
+ },
9036
+ "name": "CONTROL_BACKGROUND_COLOR_SELECTED_DEFAULT",
9037
+ "attributes": {},
9038
+ "path": [
9039
+ "control",
9040
+ "background",
9041
+ "color",
9042
+ "selected",
9043
+ "default"
9044
+ ]
9045
+ },
9046
+ "hover": {
9047
+ "value": "#0b5cad",
9048
+ "$type": "color",
9049
+ "comment": "Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover.",
9050
+ "filePath": "src/tokens/control.tokens.json",
9051
+ "isSource": true,
9052
+ "original": {
9053
+ "value": {
9054
+ "default": "{color.blue.700}",
9055
+ "dark": "{color.blue.200}"
9056
+ },
9057
+ "$type": "color",
9058
+ "comment": "Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover."
9059
+ },
9060
+ "name": "CONTROL_BACKGROUND_COLOR_SELECTED_HOVER",
9061
+ "attributes": {},
9062
+ "path": [
9063
+ "control",
9064
+ "background",
9065
+ "color",
9066
+ "selected",
9067
+ "hover"
9068
+ ]
9069
+ },
9070
+ "focus": {
9071
+ "value": "#0b5cad",
9072
+ "$type": "color",
9073
+ "comment": "Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover.",
9074
+ "filePath": "src/tokens/control.tokens.json",
9075
+ "isSource": true,
9076
+ "original": {
9077
+ "value": {
9078
+ "default": "{color.blue.700}",
9079
+ "dark": "{color.blue.200}"
9080
+ },
9081
+ "$type": "color",
9082
+ "comment": "Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover."
9083
+ },
9084
+ "name": "CONTROL_BACKGROUND_COLOR_SELECTED_FOCUS",
9085
+ "attributes": {},
9086
+ "path": [
9087
+ "control",
9088
+ "background",
9089
+ "color",
9090
+ "selected",
9091
+ "focus"
9092
+ ]
9093
+ }
9094
+ }
9095
+ }
9096
+ },
9097
+ "border": {
9098
+ "color": {
9099
+ "default": {
9100
+ "value": "#89888d",
9101
+ "$type": "color",
9102
+ "comment": "Used for form control (input, radio button, checkbox, textarea) default border.",
9103
+ "filePath": "src/tokens/control.tokens.json",
9104
+ "isSource": true,
9105
+ "original": {
9106
+ "value": {
9107
+ "default": "{color.neutral.400}",
9108
+ "dark": "{color.neutral.500}"
9109
+ },
9110
+ "$type": "color",
9111
+ "comment": "Used for form control (input, radio button, checkbox, textarea) default border."
9112
+ },
9113
+ "name": "CONTROL_BORDER_COLOR_DEFAULT",
9114
+ "attributes": {},
9115
+ "path": [
9116
+ "control",
9117
+ "border",
9118
+ "color",
9119
+ "default"
9120
+ ]
9121
+ },
9122
+ "hover": {
9123
+ "value": "#626168",
9124
+ "$type": "color",
9125
+ "comment": "Used for form control (input, radio button, checkbox, textarea) border on hover.",
9126
+ "filePath": "src/tokens/control.tokens.json",
9127
+ "isSource": true,
9128
+ "original": {
9129
+ "value": {
9130
+ "default": "{color.neutral.600}",
9131
+ "dark": "{color.neutral.300}"
9132
+ },
9133
+ "$type": "color",
9134
+ "comment": "Used for form control (input, radio button, checkbox, textarea) border on hover."
9135
+ },
9136
+ "name": "CONTROL_BORDER_COLOR_HOVER",
9137
+ "attributes": {},
9138
+ "path": [
9139
+ "control",
9140
+ "border",
9141
+ "color",
9142
+ "hover"
9143
+ ]
9144
+ },
9145
+ "focus": {
9146
+ "value": "#333238",
9147
+ "$type": "color",
9148
+ "comment": "Used for form control (input, radio button, checkbox, textarea) border on focus.",
9149
+ "filePath": "src/tokens/control.tokens.json",
9150
+ "isSource": true,
9151
+ "original": {
9152
+ "value": {
9153
+ "default": "{color.neutral.900}",
9154
+ "dark": "{color.neutral.50}"
9155
+ },
9156
+ "$type": "color",
9157
+ "comment": "Used for form control (input, radio button, checkbox, textarea) border on focus."
9158
+ },
9159
+ "name": "CONTROL_BORDER_COLOR_FOCUS",
9160
+ "attributes": {},
9161
+ "path": [
9162
+ "control",
9163
+ "border",
9164
+ "color",
9165
+ "focus"
9166
+ ]
9167
+ },
9168
+ "disabled": {
9169
+ "value": "#dcdcde",
9170
+ "$type": "color",
9171
+ "comment": "Used for disabled form control (input, radio button, checkbox, textarea) border.",
9172
+ "filePath": "src/tokens/control.tokens.json",
9173
+ "isSource": true,
9174
+ "original": {
9175
+ "value": {
9176
+ "default": "{color.neutral.100}",
9177
+ "dark": "{color.neutral.800}"
9178
+ },
9179
+ "$type": "color",
9180
+ "comment": "Used for disabled form control (input, radio button, checkbox, textarea) border."
9181
+ },
9182
+ "name": "CONTROL_BORDER_COLOR_DISABLED",
9183
+ "attributes": {},
9184
+ "path": [
9185
+ "control",
9186
+ "border",
9187
+ "color",
9188
+ "disabled"
9189
+ ]
9190
+ },
9191
+ "error": {
9192
+ "value": "#dd2b0e",
9193
+ "$type": "color",
9194
+ "comment": "Used for invalid form control (input, textarea) border.",
9195
+ "filePath": "src/tokens/control.tokens.json",
9196
+ "isSource": true,
9197
+ "original": {
9198
+ "value": {
9199
+ "default": "{color.red.500}",
9200
+ "dark": "{color.red.400}"
9201
+ },
9202
+ "$type": "color",
9203
+ "comment": "Used for invalid form control (input, textarea) border."
9204
+ },
9205
+ "name": "CONTROL_BORDER_COLOR_ERROR",
9206
+ "attributes": {},
9207
+ "path": [
9208
+ "control",
9209
+ "border",
9210
+ "color",
9211
+ "error"
9212
+ ]
9213
+ }
9214
+ }
9215
+ },
9216
+ "text": {
9217
+ "color": {
9218
+ "error": {
9219
+ "value": "#dd2b0e",
9220
+ "$type": "color",
9221
+ "comment": "Used for the helper text when the input is invalid.",
9222
+ "filePath": "src/tokens/control.tokens.json",
9223
+ "isSource": true,
9224
+ "original": {
9225
+ "value": {
9226
+ "default": "{color.red.500}",
9227
+ "dark": "{color.red.400}"
9228
+ },
9229
+ "$type": "color",
9230
+ "comment": "Used for the helper text when the input is invalid."
9231
+ },
9232
+ "name": "CONTROL_TEXT_COLOR_ERROR",
9233
+ "attributes": {},
9234
+ "path": [
9235
+ "control",
9236
+ "text",
9237
+ "color",
9238
+ "error"
9239
+ ]
9240
+ },
9241
+ "valid": {
9242
+ "value": "#108548",
9243
+ "$type": "color",
9244
+ "comment": "Used for the helper text when the input is valid.",
9245
+ "filePath": "src/tokens/control.tokens.json",
9246
+ "isSource": true,
9247
+ "original": {
9248
+ "value": {
9249
+ "default": "{color.green.500}",
9250
+ "dark": "{color.green.400}"
9251
+ },
9252
+ "$type": "color",
9253
+ "comment": "Used for the helper text when the input is valid."
9254
+ },
9255
+ "name": "CONTROL_TEXT_COLOR_VALID",
9256
+ "attributes": {},
9257
+ "path": [
9258
+ "control",
9259
+ "text",
9260
+ "color",
9261
+ "valid"
9262
+ ]
9263
+ }
9264
+ }
9265
+ },
9266
+ "placeholder": {
9267
+ "color": {
9268
+ "value": "#89888d",
9269
+ "$type": "color",
9270
+ "comment": "Used for placeholder text within inputs.",
9271
+ "filePath": "src/tokens/control.tokens.json",
9272
+ "isSource": true,
9273
+ "original": {
9274
+ "value": {
9275
+ "default": "{color.neutral.400}",
9276
+ "dark": "{color.neutral.500}"
9277
+ },
9278
+ "$type": "color",
9279
+ "comment": "Used for placeholder text within inputs."
9280
+ },
9281
+ "name": "CONTROL_PLACEHOLDER_COLOR",
9282
+ "attributes": {},
9283
+ "path": [
9284
+ "control",
9285
+ "placeholder",
9286
+ "color"
9287
+ ]
9288
+ }
9289
+ },
9290
+ "indicator": {
9291
+ "color": {
9292
+ "selected": {
9293
+ "value": "#fff",
9294
+ "$type": "color",
9295
+ "comment": "Used for checkbox and radio button state indicators.",
9296
+ "filePath": "src/tokens/control.tokens.json",
9297
+ "isSource": true,
9298
+ "original": {
9299
+ "value": {
9300
+ "default": "{color.neutral.0}",
9301
+ "dark": "{color.neutral.900}"
9302
+ },
9303
+ "$type": "color",
9304
+ "comment": "Used for checkbox and radio button state indicators."
9305
+ },
9306
+ "name": "CONTROL_INDICATOR_COLOR_SELECTED",
9307
+ "attributes": {},
9308
+ "path": [
9309
+ "control",
9310
+ "indicator",
9311
+ "color",
9312
+ "selected"
9313
+ ]
9314
+ },
9315
+ "disabled": {
9316
+ "value": "#737278",
9317
+ "$type": "color",
9318
+ "comment": "Used for disabled checkbox and radio button state indicators.",
9319
+ "filePath": "src/tokens/control.tokens.json",
9320
+ "isSource": true,
9321
+ "original": {
9322
+ "value": {
9323
+ "default": "{color.neutral.500}",
9324
+ "dark": "{color.neutral.400}"
9325
+ },
9326
+ "$type": "color",
9327
+ "comment": "Used for disabled checkbox and radio button state indicators."
9328
+ },
9329
+ "name": "CONTROL_INDICATOR_COLOR_DISABLED",
9330
+ "attributes": {},
9331
+ "path": [
9332
+ "control",
9333
+ "indicator",
9334
+ "color",
9335
+ "disabled"
9336
+ ]
9337
+ }
9338
+ }
9339
+ }
9340
+ },
8972
9341
  "feedback": {
8973
9342
  "background": {
8974
9343
  "color": {
@@ -9339,6 +9708,53 @@
9339
9708
  }
9340
9709
  }
9341
9710
  },
9711
+ "focus-ring": {
9712
+ "outer": {
9713
+ "color": {
9714
+ "value": "#1f75cb",
9715
+ "$type": "color",
9716
+ "comment": "Used for the outer color portion of the focus ring.",
9717
+ "filePath": "src/tokens/focus-ring.tokens.json",
9718
+ "isSource": true,
9719
+ "original": {
9720
+ "value": {
9721
+ "default": "{color.blue.500}",
9722
+ "dark": "{color.blue.400}"
9723
+ },
9724
+ "$type": "color",
9725
+ "comment": "Used for the outer color portion of the focus ring."
9726
+ },
9727
+ "name": "FOCUS_RING_OUTER_COLOR",
9728
+ "attributes": {},
9729
+ "path": [
9730
+ "focus-ring",
9731
+ "outer",
9732
+ "color"
9733
+ ]
9734
+ }
9735
+ },
9736
+ "inner": {
9737
+ "color": {
9738
+ "value": "#fff",
9739
+ "$type": "color",
9740
+ "comment": "Used for the inner neutral portion of the focus ring.",
9741
+ "filePath": "src/tokens/focus-ring.tokens.json",
9742
+ "isSource": true,
9743
+ "original": {
9744
+ "value": "{background.color.default}",
9745
+ "$type": "color",
9746
+ "comment": "Used for the inner neutral portion of the focus ring."
9747
+ },
9748
+ "name": "FOCUS_RING_INNER_COLOR",
9749
+ "attributes": {},
9750
+ "path": [
9751
+ "focus-ring",
9752
+ "inner",
9753
+ "color"
9754
+ ]
9755
+ }
9756
+ }
9757
+ },
9342
9758
  "icon": {
9343
9759
  "color": {
9344
9760
  "default": {
@@ -484,6 +484,7 @@ $gl-icon-color-disabled: $gl-color-neutral-500; // Used for an icon within a dis
484
484
  $gl-icon-color-strong: $gl-color-neutral-10; // Used for an icon with the highest contrast.
485
485
  $gl-icon-color-subtle: $gl-color-neutral-300; // Used for a static or decorational icon. Can be paired with subtle text.
486
486
  $gl-icon-color-default: $gl-color-neutral-100; // Used for the default icon color. Can be paired with default text.
487
+ $gl-focus-ring-outer-color: $gl-color-blue-400; // Used for the outer color portion of the focus ring.
487
488
  $gl-feedback-danger-icon-color: $gl-color-red-300; // Used for an icon associated with danger or critical feedback.
488
489
  $gl-feedback-danger-background-color: $gl-color-red-900; // Used for a background associated with danger or critical feedback.
489
490
  $gl-feedback-warning-icon-color: $gl-color-orange-300; // Used for an icon associated with warning feedback or confidential content.
@@ -498,6 +499,21 @@ $gl-feedback-link-color-strong: $gl-color-blue-700; // Used for a link on a stro
498
499
  $gl-feedback-icon-color-strong: $gl-color-neutral-900; // Used for an icon on a strong feedback background.
499
500
  $gl-feedback-text-color-strong: $gl-color-neutral-900; // Used for text on a strong feedback background.
500
501
  $gl-feedback-background-color-strong: $gl-color-neutral-10; // Used for a background associated with feedback like a tooltip or toast message.
502
+ $gl-control-indicator-color-disabled: $gl-color-neutral-400; // Used for disabled checkbox and radio button state indicators.
503
+ $gl-control-indicator-color-selected: $gl-color-neutral-900; // Used for checkbox and radio button state indicators.
504
+ $gl-control-placeholder-color: $gl-color-neutral-500; // Used for placeholder text within inputs.
505
+ $gl-control-text-color-valid: $gl-color-green-400; // Used for the helper text when the input is valid.
506
+ $gl-control-text-color-error: $gl-color-red-400; // Used for the helper text when the input is invalid.
507
+ $gl-control-border-color-error: $gl-color-red-400; // Used for invalid form control (input, textarea) border.
508
+ $gl-control-border-color-disabled: $gl-color-neutral-800; // Used for disabled form control (input, radio button, checkbox, textarea) border.
509
+ $gl-control-border-color-focus: $gl-color-neutral-50; // Used for form control (input, radio button, checkbox, textarea) border on focus.
510
+ $gl-control-border-color-hover: $gl-color-neutral-300; // Used for form control (input, radio button, checkbox, textarea) border on hover.
511
+ $gl-control-border-color-default: $gl-color-neutral-500; // Used for form control (input, radio button, checkbox, textarea) default border.
512
+ $gl-control-background-color-selected-focus: $gl-color-blue-200; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover.
513
+ $gl-control-background-color-selected-hover: $gl-color-blue-200; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover.
514
+ $gl-control-background-color-selected-default: $gl-color-blue-400; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background.
515
+ $gl-control-background-color-disabled: $gl-color-neutral-950; // Used for disabled form control (checkbox, input, radio button, textarea) background.
516
+ $gl-control-background-color-default: $gl-color-neutral-900; // Used for form control (input, radio button, checkbox, textarea) default background.
501
517
  $gl-breadcrumb-separator-color: $gl-color-neutral-700; // Used for the breadcrumb level separator.
502
518
  $gl-border-color-transparent: $gl-color-alpha-0; // Used when a border needs to be present, but not visibly perceived.
503
519
  $gl-border-color-strong: $gl-color-neutral-400; // Used for a distinct border that emphasizes an edge or boundaries.
@@ -541,4 +557,5 @@ $gl-action-icon-color-disabled: $gl-color-neutral-500; // Used for the icon of a
541
557
  $gl-action-text-color-disabled: $gl-color-neutral-400; // Used for the text of a disabled action.
542
558
  $gl-action-border-color-disabled: $gl-color-neutral-800; // Used for the border of a disabled action.
543
559
  $gl-action-background-color-disabled: $gl-color-neutral-900; // Used for the background of a disabled action.
560
+ $gl-focus-ring-inner-color: $gl-background-color-default; // Used for the inner neutral portion of the focus ring.
544
561
  $gl-action-neutral-background-color-default: $gl-background-color-default; // Used for the background of an outlined neutral action in the default state.
@@ -484,6 +484,7 @@ $gl-icon-color-disabled: $gl-color-neutral-300; // Used for an icon within a dis
484
484
  $gl-icon-color-strong: $gl-color-neutral-900; // Used for an icon with the highest contrast.
485
485
  $gl-icon-color-subtle: $gl-color-neutral-500; // Used for a static or decorational icon. Can be paired with subtle text.
486
486
  $gl-icon-color-default: $gl-color-neutral-700; // Used for the default icon color. Can be paired with default text.
487
+ $gl-focus-ring-outer-color: $gl-color-blue-500; // Used for the outer color portion of the focus ring.
487
488
  $gl-feedback-danger-icon-color: $gl-color-red-600; // Used for an icon associated with danger or critical feedback.
488
489
  $gl-feedback-danger-background-color: $gl-color-red-50; // Used for a background associated with danger or critical feedback.
489
490
  $gl-feedback-warning-icon-color: $gl-color-orange-600; // Used for an icon associated with warning feedback or confidential content.
@@ -498,6 +499,21 @@ $gl-feedback-link-color-strong: $gl-color-blue-300; // Used for a link on a stro
498
499
  $gl-feedback-icon-color-strong: $gl-color-neutral-0; // Used for an icon on a strong feedback background.
499
500
  $gl-feedback-text-color-strong: $gl-color-neutral-0; // Used for text on a strong feedback background.
500
501
  $gl-feedback-background-color-strong: $gl-color-neutral-950; // Used for a background associated with feedback like a tooltip or toast message.
502
+ $gl-control-indicator-color-disabled: $gl-color-neutral-500; // Used for disabled checkbox and radio button state indicators.
503
+ $gl-control-indicator-color-selected: $gl-color-neutral-0; // Used for checkbox and radio button state indicators.
504
+ $gl-control-placeholder-color: $gl-color-neutral-400; // Used for placeholder text within inputs.
505
+ $gl-control-text-color-valid: $gl-color-green-500; // Used for the helper text when the input is valid.
506
+ $gl-control-text-color-error: $gl-color-red-500; // Used for the helper text when the input is invalid.
507
+ $gl-control-border-color-error: $gl-color-red-500; // Used for invalid form control (input, textarea) border.
508
+ $gl-control-border-color-disabled: $gl-color-neutral-100; // Used for disabled form control (input, radio button, checkbox, textarea) border.
509
+ $gl-control-border-color-focus: $gl-color-neutral-900; // Used for form control (input, radio button, checkbox, textarea) border on focus.
510
+ $gl-control-border-color-hover: $gl-color-neutral-600; // Used for form control (input, radio button, checkbox, textarea) border on hover.
511
+ $gl-control-border-color-default: $gl-color-neutral-400; // Used for form control (input, radio button, checkbox, textarea) default border.
512
+ $gl-control-background-color-selected-focus: $gl-color-blue-700; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover.
513
+ $gl-control-background-color-selected-hover: $gl-color-blue-700; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover.
514
+ $gl-control-background-color-selected-default: $gl-color-blue-500; // Used for checked and indeterminate (selected) form control (checkbox, radio button) background.
515
+ $gl-control-background-color-disabled: $gl-color-neutral-10; // Used for disabled form control (checkbox, input, radio button, textarea) background.
516
+ $gl-control-background-color-default: $gl-color-neutral-0; // Used for form control (input, radio button, checkbox, textarea) default background.
501
517
  $gl-breadcrumb-separator-color: $gl-color-neutral-200; // Used for the breadcrumb level separator.
502
518
  $gl-border-color-transparent: $gl-color-alpha-0; // Used when a border needs to be present, but not visibly perceived.
503
519
  $gl-border-color-strong: $gl-color-neutral-400; // Used for a distinct border that emphasizes an edge or boundaries.
@@ -541,4 +557,5 @@ $gl-action-icon-color-disabled: $gl-color-neutral-400; // Used for the icon of a
541
557
  $gl-action-text-color-disabled: $gl-color-neutral-500; // Used for the text of a disabled action.
542
558
  $gl-action-border-color-disabled: $gl-color-neutral-100; // Used for the border of a disabled action.
543
559
  $gl-action-background-color-disabled: $gl-color-neutral-50; // Used for the background of a disabled action.
560
+ $gl-focus-ring-inner-color: $gl-background-color-default; // Used for the inner neutral portion of the focus ring.
544
561
  $gl-action-neutral-background-color-default: $gl-background-color-default; // Used for the background of an outlined neutral action in the default state.
@@ -422,6 +422,21 @@ $t-white-a-04: var(--t-white-a-04);
422
422
  $t-white-a-06: var(--t-white-a-06);
423
423
  $t-white-a-08: var(--t-white-a-08);
424
424
  $gl-breadcrumb-separator-color: var(--gl-breadcrumb-separator-color);
425
+ $gl-control-background-color-default: var(--gl-control-background-color-default);
426
+ $gl-control-background-color-disabled: var(--gl-control-background-color-disabled);
427
+ $gl-control-background-color-selected-default: var(--gl-control-background-color-selected-default);
428
+ $gl-control-background-color-selected-hover: var(--gl-control-background-color-selected-hover);
429
+ $gl-control-background-color-selected-focus: var(--gl-control-background-color-selected-focus);
430
+ $gl-control-border-color-default: var(--gl-control-border-color-default);
431
+ $gl-control-border-color-hover: var(--gl-control-border-color-hover);
432
+ $gl-control-border-color-focus: var(--gl-control-border-color-focus);
433
+ $gl-control-border-color-disabled: var(--gl-control-border-color-disabled);
434
+ $gl-control-border-color-error: var(--gl-control-border-color-error);
435
+ $gl-control-text-color-error: var(--gl-control-text-color-error);
436
+ $gl-control-text-color-valid: var(--gl-control-text-color-valid);
437
+ $gl-control-placeholder-color: var(--gl-control-placeholder-color);
438
+ $gl-control-indicator-color-selected: var(--gl-control-indicator-color-selected);
439
+ $gl-control-indicator-color-disabled: var(--gl-control-indicator-color-disabled);
425
440
  $gl-feedback-background-color-strong: var(--gl-feedback-background-color-strong);
426
441
  $gl-feedback-text-color-strong: var(--gl-feedback-text-color-strong);
427
442
  $gl-feedback-icon-color-strong: var(--gl-feedback-icon-color-strong);
@@ -436,6 +451,8 @@ $gl-feedback-warning-background-color: var(--gl-feedback-warning-background-colo
436
451
  $gl-feedback-warning-icon-color: var(--gl-feedback-warning-icon-color);
437
452
  $gl-feedback-danger-background-color: var(--gl-feedback-danger-background-color);
438
453
  $gl-feedback-danger-icon-color: var(--gl-feedback-danger-icon-color);
454
+ $gl-focus-ring-outer-color: var(--gl-focus-ring-outer-color);
455
+ $gl-focus-ring-inner-color: var(--gl-focus-ring-inner-color);
439
456
  $gl-icon-color-default: var(--gl-icon-color-default);
440
457
  $gl-icon-color-subtle: var(--gl-icon-color-subtle);
441
458
  $gl-icon-color-strong: var(--gl-icon-color-strong);
@@ -0,0 +1,144 @@
1
+ {
2
+ "control": {
3
+ "background": {
4
+ "color": {
5
+ "default": {
6
+ "$value": {
7
+ "default": "{color.neutral.0}",
8
+ "dark": "{color.neutral.900}"
9
+ },
10
+ "$type": "color",
11
+ "$description": "Used for form control (input, radio button, checkbox, textarea) default background."
12
+ },
13
+ "disabled": {
14
+ "$value": {
15
+ "default": "{color.neutral.10}",
16
+ "dark": "{color.neutral.950}"
17
+ },
18
+ "$type": "color",
19
+ "$description": "Used for disabled form control (checkbox, input, radio button, textarea) background."
20
+ },
21
+ "selected": {
22
+ "default": {
23
+ "$value": {
24
+ "default": "{color.blue.500}",
25
+ "dark": "{color.blue.400}"
26
+ },
27
+ "$type": "color",
28
+ "$description": "Used for checked and indeterminate (selected) form control (checkbox, radio button) background."
29
+ },
30
+ "hover": {
31
+ "$value": {
32
+ "default": "{color.blue.700}",
33
+ "dark": "{color.blue.200}"
34
+ },
35
+ "$type": "color",
36
+ "$description": "Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover."
37
+ },
38
+ "focus": {
39
+ "$value": {
40
+ "default": "{color.blue.700}",
41
+ "dark": "{color.blue.200}"
42
+ },
43
+ "$type": "color",
44
+ "$description": "Used for checked and indeterminate (selected) form control (checkbox, radio button) background on hover."
45
+ }
46
+ }
47
+ }
48
+ },
49
+ "border": {
50
+ "color": {
51
+ "default": {
52
+ "$value": {
53
+ "default": "{color.neutral.400}",
54
+ "dark": "{color.neutral.500}"
55
+ },
56
+ "$type": "color",
57
+ "$description": "Used for form control (input, radio button, checkbox, textarea) default border."
58
+ },
59
+ "hover": {
60
+ "$value": {
61
+ "default": "{color.neutral.600}",
62
+ "dark": "{color.neutral.300}"
63
+ },
64
+ "$type": "color",
65
+ "$description": "Used for form control (input, radio button, checkbox, textarea) border on hover."
66
+ },
67
+ "focus": {
68
+ "$value": {
69
+ "default": "{color.neutral.900}",
70
+ "dark": "{color.neutral.50}"
71
+ },
72
+ "$type": "color",
73
+ "$description": "Used for form control (input, radio button, checkbox, textarea) border on focus."
74
+ },
75
+ "disabled": {
76
+ "$value": {
77
+ "default": "{color.neutral.100}",
78
+ "dark": "{color.neutral.800}"
79
+ },
80
+ "$type": "color",
81
+ "$description": "Used for disabled form control (input, radio button, checkbox, textarea) border."
82
+ },
83
+ "error": {
84
+ "$value": {
85
+ "default": "{color.red.500}",
86
+ "dark": "{color.red.400}"
87
+ },
88
+ "$type": "color",
89
+ "$description": "Used for invalid form control (input, textarea) border."
90
+ }
91
+ }
92
+ },
93
+ "text": {
94
+ "color": {
95
+ "error": {
96
+ "$value": {
97
+ "default": "{color.red.500}",
98
+ "dark": "{color.red.400}"
99
+ },
100
+ "$type": "color",
101
+ "$description": "Used for the helper text when the input is invalid."
102
+ },
103
+ "valid": {
104
+ "$value": {
105
+ "default": "{color.green.500}",
106
+ "dark": "{color.green.400}"
107
+ },
108
+ "$type": "color",
109
+ "$description": "Used for the helper text when the input is valid."
110
+ }
111
+ }
112
+ },
113
+ "placeholder": {
114
+ "color": {
115
+ "$value": {
116
+ "default": "{color.neutral.400}",
117
+ "dark": "{color.neutral.500}"
118
+ },
119
+ "$type": "color",
120
+ "$description": "Used for placeholder text within inputs."
121
+ }
122
+ },
123
+ "indicator": {
124
+ "color": {
125
+ "selected": {
126
+ "$value": {
127
+ "default": "{color.neutral.0}",
128
+ "dark": "{color.neutral.900}"
129
+ },
130
+ "$type": "color",
131
+ "$description": "Used for checkbox and radio button state indicators."
132
+ },
133
+ "disabled": {
134
+ "$value": {
135
+ "default": "{color.neutral.500}",
136
+ "dark": "{color.neutral.400}"
137
+ },
138
+ "$type": "color",
139
+ "$description": "Used for disabled checkbox and radio button state indicators."
140
+ }
141
+ }
142
+ }
143
+ }
144
+ }