@primer/primitives 7.5.1 → 7.6.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.
Files changed (39) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/js/colors/dark.d.ts +16 -0
  3. package/dist/js/colors/dark.js +24 -8
  4. package/dist/js/colors/dark_colorblind.d.ts +16 -0
  5. package/dist/js/colors/dark_colorblind.js +24 -8
  6. package/dist/js/colors/dark_dimmed.d.ts +16 -0
  7. package/dist/js/colors/dark_dimmed.js +24 -8
  8. package/dist/js/colors/dark_high_contrast.d.ts +16 -0
  9. package/dist/js/colors/dark_high_contrast.js +23 -7
  10. package/dist/js/colors/index.d.ts +112 -0
  11. package/dist/js/colors/light.d.ts +16 -0
  12. package/dist/js/colors/light.js +16 -0
  13. package/dist/js/colors/light_colorblind.d.ts +16 -0
  14. package/dist/js/colors/light_colorblind.js +16 -0
  15. package/dist/js/colors/light_high_contrast.d.ts +16 -0
  16. package/dist/js/colors/light_high_contrast.js +16 -0
  17. package/dist/js/index.d.ts +112 -0
  18. package/dist/json/colors/dark.json +24 -8
  19. package/dist/json/colors/dark_colorblind.json +24 -8
  20. package/dist/json/colors/dark_dimmed.json +24 -8
  21. package/dist/json/colors/dark_high_contrast.json +23 -7
  22. package/dist/json/colors/light.json +16 -0
  23. package/dist/json/colors/light_colorblind.json +16 -0
  24. package/dist/json/colors/light_high_contrast.json +16 -0
  25. package/dist/scss/colors/_dark.scss +16 -8
  26. package/dist/scss/colors/_dark_colorblind.scss +16 -8
  27. package/dist/scss/colors/_dark_dimmed.scss +16 -8
  28. package/dist/scss/colors/_dark_high_contrast.scss +15 -7
  29. package/dist/scss/colors/_light.scss +8 -0
  30. package/dist/scss/colors/_light_colorblind.scss +8 -0
  31. package/dist/scss/colors/_light_high_contrast.scss +8 -0
  32. package/dist/ts/colors/dark.ts +24 -8
  33. package/dist/ts/colors/dark_colorblind.ts +24 -8
  34. package/dist/ts/colors/dark_dimmed.ts +24 -8
  35. package/dist/ts/colors/dark_high_contrast.ts +23 -7
  36. package/dist/ts/colors/light.ts +16 -0
  37. package/dist/ts/colors/light_colorblind.ts +16 -0
  38. package/dist/ts/colors/light_high_contrast.ts +16 -0
  39. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @primer/primitives
2
2
 
3
+ ## 7.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#309](https://github.com/primer/primitives/pull/309) [`4588342`](https://github.com/primer/primitives/commit/45883423f029e7dee067fe4dd9636bebb11adbbe) Thanks [@mperrotti](https://github.com/mperrotti)! - adds primitives for toggle switch component
8
+
9
+ ### Patch Changes
10
+
11
+ - [#307](https://github.com/primer/primitives/pull/307) [`da4ffd3`](https://github.com/primer/primitives/commit/da4ffd338a41bb1f653e096c8b886db4834b3715) Thanks [@simurai](https://github.com/simurai)! - Increase contrast for dark `fg.subtle`
12
+
3
13
  ## 7.5.1
4
14
 
5
15
  ### Patch Changes
@@ -345,6 +345,22 @@ declare const _default: {
345
345
  hoverText: string;
346
346
  };
347
347
  };
348
+ switchTrack: {
349
+ bg: string;
350
+ border: string;
351
+ checked: {
352
+ bg: string;
353
+ hoverBg: string;
354
+ activeBg: string;
355
+ border: string;
356
+ };
357
+ };
358
+ switchKnob: {
359
+ checked: {
360
+ bg: string;
361
+ disabledBg: string;
362
+ };
363
+ };
348
364
  fg: {
349
365
  default: string;
350
366
  muted: string;
@@ -77,7 +77,7 @@ exports.default = {
77
77
  "bg": "#0d1117",
78
78
  "guttersBg": "#0d1117",
79
79
  "guttermarkerText": "#0d1117",
80
- "guttermarkerSubtleText": "#484f58",
80
+ "guttermarkerSubtleText": "#6e7681",
81
81
  "linenumberText": "#8b949e",
82
82
  "cursor": "#c9d1d9",
83
83
  "selectionBg": "rgba(56,139,253,0.4)",
@@ -106,7 +106,7 @@ exports.default = {
106
106
  "btnHoverIcon": "#c9d1d9",
107
107
  "btnHoverBg": "rgba(110,118,129,0.1)",
108
108
  "inputText": "#8b949e",
109
- "inputPlaceholderText": "#484f58",
109
+ "inputPlaceholderText": "#6e7681",
110
110
  "inputFocusText": "#c9d1d9",
111
111
  "inputBg": "#161b22",
112
112
  "inputShadow": "0 0 0 1px (obj) => get_1.default(obj, path)",
@@ -128,8 +128,8 @@ exports.default = {
128
128
  "headerBorder": "#21262d",
129
129
  "headerIcon": "#8b949e",
130
130
  "lineText": "#8b949e",
131
- "lineNumText": "#484f58",
132
- "lineTimestampText": "#484f58",
131
+ "lineNumText": "#6e7681",
132
+ "lineTimestampText": "#6e7681",
133
133
  "lineHoverBg": "rgba(110,118,129,0.1)",
134
134
  "lineSelectedBg": "rgba(56,139,253,0.15)",
135
135
  "lineSelectedNumText": "#58a6ff",
@@ -142,10 +142,10 @@ exports.default = {
142
142
  "stepErrorText": "#f85149",
143
143
  "stepWarningText": "#d29922",
144
144
  "loglineText": "#8b949e",
145
- "loglineNumText": "#484f58",
145
+ "loglineNumText": "#6e7681",
146
146
  "loglineDebugText": "#a371f7",
147
147
  "loglineErrorText": "#8b949e",
148
- "loglineErrorNumText": "#484f58",
148
+ "loglineErrorNumText": "#6e7681",
149
149
  "loglineErrorBg": "rgba(248,81,73,0.15)",
150
150
  "loglineWarningText": "#8b949e",
151
151
  "loglineWarningNumText": "#d29922",
@@ -329,7 +329,7 @@ exports.default = {
329
329
  }
330
330
  },
331
331
  "underlinenav": {
332
- "icon": "#484f58",
332
+ "icon": "#6e7681",
333
333
  "borderHover": "rgba(110,118,129,0.4)"
334
334
  },
335
335
  "actionListItem": {
@@ -347,10 +347,26 @@ exports.default = {
347
347
  "hoverText": "#ff7b72"
348
348
  }
349
349
  },
350
+ "switchTrack": {
351
+ "bg": "#010409",
352
+ "border": "#6e7681",
353
+ "checked": {
354
+ "bg": "rgba(31,111,235,0.35)",
355
+ "hoverBg": "rgba(31,111,235,0.5)",
356
+ "activeBg": "rgba(31,111,235,0.65)",
357
+ "border": "#58a6ff"
358
+ }
359
+ },
360
+ "switchKnob": {
361
+ "checked": {
362
+ "bg": "#1f6feb",
363
+ "disabledBg": "#484f58"
364
+ }
365
+ },
350
366
  "fg": {
351
367
  "default": "#c9d1d9",
352
368
  "muted": "#8b949e",
353
- "subtle": "#484f58",
369
+ "subtle": "#6e7681",
354
370
  "onEmphasis": "#ffffff"
355
371
  },
356
372
  "canvas": {
@@ -345,6 +345,22 @@ declare const _default: {
345
345
  hoverText: string;
346
346
  };
347
347
  };
348
+ switchTrack: {
349
+ bg: string;
350
+ border: string;
351
+ checked: {
352
+ bg: string;
353
+ hoverBg: string;
354
+ activeBg: string;
355
+ border: string;
356
+ };
357
+ };
358
+ switchKnob: {
359
+ checked: {
360
+ bg: string;
361
+ disabledBg: string;
362
+ };
363
+ };
348
364
  fg: {
349
365
  default: string;
350
366
  muted: string;
@@ -77,7 +77,7 @@ exports.default = {
77
77
  "bg": "#0d1117",
78
78
  "guttersBg": "#0d1117",
79
79
  "guttermarkerText": "#0d1117",
80
- "guttermarkerSubtleText": "#484f58",
80
+ "guttermarkerSubtleText": "#6e7681",
81
81
  "linenumberText": "#8b949e",
82
82
  "cursor": "#c9d1d9",
83
83
  "selectionBg": "rgba(56,139,253,0.4)",
@@ -106,7 +106,7 @@ exports.default = {
106
106
  "btnHoverIcon": "#c9d1d9",
107
107
  "btnHoverBg": "rgba(110,118,129,0.1)",
108
108
  "inputText": "#8b949e",
109
- "inputPlaceholderText": "#484f58",
109
+ "inputPlaceholderText": "#6e7681",
110
110
  "inputFocusText": "#c9d1d9",
111
111
  "inputBg": "#161b22",
112
112
  "inputShadow": "0 0 0 1px (obj) => get_1.default(obj, path)",
@@ -128,8 +128,8 @@ exports.default = {
128
128
  "headerBorder": "#21262d",
129
129
  "headerIcon": "#8b949e",
130
130
  "lineText": "#8b949e",
131
- "lineNumText": "#484f58",
132
- "lineTimestampText": "#484f58",
131
+ "lineNumText": "#6e7681",
132
+ "lineTimestampText": "#6e7681",
133
133
  "lineHoverBg": "rgba(110,118,129,0.1)",
134
134
  "lineSelectedBg": "rgba(56,139,253,0.15)",
135
135
  "lineSelectedNumText": "#58a6ff",
@@ -142,10 +142,10 @@ exports.default = {
142
142
  "stepErrorText": "#d47616",
143
143
  "stepWarningText": "#d29922",
144
144
  "loglineText": "#8b949e",
145
- "loglineNumText": "#484f58",
145
+ "loglineNumText": "#6e7681",
146
146
  "loglineDebugText": "#a371f7",
147
147
  "loglineErrorText": "#8b949e",
148
- "loglineErrorNumText": "#484f58",
148
+ "loglineErrorNumText": "#6e7681",
149
149
  "loglineErrorBg": "rgba(212,118,22,0.15)",
150
150
  "loglineWarningText": "#8b949e",
151
151
  "loglineWarningNumText": "#d29922",
@@ -329,7 +329,7 @@ exports.default = {
329
329
  }
330
330
  },
331
331
  "underlinenav": {
332
- "icon": "#484f58",
332
+ "icon": "#6e7681",
333
333
  "borderHover": "rgba(110,118,129,0.4)"
334
334
  },
335
335
  "actionListItem": {
@@ -347,10 +347,26 @@ exports.default = {
347
347
  "hoverText": "#ec8e2c"
348
348
  }
349
349
  },
350
+ "switchTrack": {
351
+ "bg": "#010409",
352
+ "border": "#6e7681",
353
+ "checked": {
354
+ "bg": "rgba(31,111,235,0.35)",
355
+ "hoverBg": "rgba(31,111,235,0.5)",
356
+ "activeBg": "rgba(31,111,235,0.65)",
357
+ "border": "#58a6ff"
358
+ }
359
+ },
360
+ "switchKnob": {
361
+ "checked": {
362
+ "bg": "#1f6feb",
363
+ "disabledBg": "#484f58"
364
+ }
365
+ },
350
366
  "fg": {
351
367
  "default": "#c9d1d9",
352
368
  "muted": "#8b949e",
353
- "subtle": "#484f58",
369
+ "subtle": "#6e7681",
354
370
  "onEmphasis": "#ffffff"
355
371
  },
356
372
  "canvas": {
@@ -345,6 +345,22 @@ declare const _default: {
345
345
  hoverText: string;
346
346
  };
347
347
  };
348
+ switchTrack: {
349
+ bg: string;
350
+ border: string;
351
+ checked: {
352
+ bg: string;
353
+ hoverBg: string;
354
+ activeBg: string;
355
+ border: string;
356
+ };
357
+ };
358
+ switchKnob: {
359
+ checked: {
360
+ bg: string;
361
+ disabledBg: string;
362
+ };
363
+ };
348
364
  fg: {
349
365
  default: string;
350
366
  muted: string;
@@ -77,7 +77,7 @@ exports.default = {
77
77
  "bg": "#22272e",
78
78
  "guttersBg": "#22272e",
79
79
  "guttermarkerText": "#22272e",
80
- "guttermarkerSubtleText": "#545d68",
80
+ "guttermarkerSubtleText": "#636e7b",
81
81
  "linenumberText": "#768390",
82
82
  "cursor": "#adbac7",
83
83
  "selectionBg": "rgba(65,132,228,0.4)",
@@ -106,7 +106,7 @@ exports.default = {
106
106
  "btnHoverIcon": "#adbac7",
107
107
  "btnHoverBg": "rgba(99,110,123,0.1)",
108
108
  "inputText": "#768390",
109
- "inputPlaceholderText": "#545d68",
109
+ "inputPlaceholderText": "#636e7b",
110
110
  "inputFocusText": "#adbac7",
111
111
  "inputBg": "#2d333b",
112
112
  "inputShadow": "0 0 0 1px (obj) => get_1.default(obj, path)",
@@ -128,8 +128,8 @@ exports.default = {
128
128
  "headerBorder": "#373e47",
129
129
  "headerIcon": "#768390",
130
130
  "lineText": "#768390",
131
- "lineNumText": "#545d68",
132
- "lineTimestampText": "#545d68",
131
+ "lineNumText": "#636e7b",
132
+ "lineTimestampText": "#636e7b",
133
133
  "lineHoverBg": "rgba(99,110,123,0.1)",
134
134
  "lineSelectedBg": "rgba(65,132,228,0.15)",
135
135
  "lineSelectedNumText": "#539bf5",
@@ -142,10 +142,10 @@ exports.default = {
142
142
  "stepErrorText": "#e5534b",
143
143
  "stepWarningText": "#c69026",
144
144
  "loglineText": "#768390",
145
- "loglineNumText": "#545d68",
145
+ "loglineNumText": "#636e7b",
146
146
  "loglineDebugText": "#986ee2",
147
147
  "loglineErrorText": "#768390",
148
- "loglineErrorNumText": "#545d68",
148
+ "loglineErrorNumText": "#636e7b",
149
149
  "loglineErrorBg": "rgba(229,83,75,0.15)",
150
150
  "loglineWarningText": "#768390",
151
151
  "loglineWarningNumText": "#c69026",
@@ -329,7 +329,7 @@ exports.default = {
329
329
  }
330
330
  },
331
331
  "underlinenav": {
332
- "icon": "#545d68",
332
+ "icon": "#636e7b",
333
333
  "borderHover": "rgba(99,110,123,0.4)"
334
334
  },
335
335
  "actionListItem": {
@@ -347,10 +347,26 @@ exports.default = {
347
347
  "hoverText": "#f47067"
348
348
  }
349
349
  },
350
+ "switchTrack": {
351
+ "bg": "#1c2128",
352
+ "border": "#636e7b",
353
+ "checked": {
354
+ "bg": "rgba(49,109,202,0.35)",
355
+ "hoverBg": "rgba(49,109,202,0.5)",
356
+ "activeBg": "rgba(49,109,202,0.65)",
357
+ "border": "#539bf5"
358
+ }
359
+ },
360
+ "switchKnob": {
361
+ "checked": {
362
+ "bg": "#316dca",
363
+ "disabledBg": "#545d68"
364
+ }
365
+ },
350
366
  "fg": {
351
367
  "default": "#adbac7",
352
368
  "muted": "#768390",
353
- "subtle": "#545d68",
369
+ "subtle": "#636e7b",
354
370
  "onEmphasis": "#cdd9e5"
355
371
  },
356
372
  "canvas": {
@@ -345,6 +345,22 @@ declare const _default: {
345
345
  hoverText: string;
346
346
  };
347
347
  };
348
+ switchTrack: {
349
+ bg: string;
350
+ border: string;
351
+ checked: {
352
+ bg: string;
353
+ hoverBg: string;
354
+ activeBg: string;
355
+ border: string;
356
+ };
357
+ };
358
+ switchKnob: {
359
+ checked: {
360
+ bg: string;
361
+ disabledBg: string;
362
+ };
363
+ };
348
364
  fg: {
349
365
  default: string;
350
366
  muted: string;
@@ -77,7 +77,7 @@ exports.default = {
77
77
  "bg": "#0a0c10",
78
78
  "guttersBg": "#0a0c10",
79
79
  "guttermarkerText": "#0a0c10",
80
- "guttermarkerSubtleText": "#7a828e",
80
+ "guttermarkerSubtleText": "#9ea7b3",
81
81
  "linenumberText": "#f0f3f6",
82
82
  "cursor": "#f0f3f6",
83
83
  "selectionBg": "rgba(64,158,255,0.4)",
@@ -106,7 +106,7 @@ exports.default = {
106
106
  "btnHoverIcon": "#f0f3f6",
107
107
  "btnHoverBg": "rgba(158,167,179,0.1)",
108
108
  "inputText": "#f0f3f6",
109
- "inputPlaceholderText": "#7a828e",
109
+ "inputPlaceholderText": "#9ea7b3",
110
110
  "inputFocusText": "#f0f3f6",
111
111
  "inputBg": "#272b33",
112
112
  "inputShadow": "0 0 0 1px (obj) => get_1.default(obj, path)",
@@ -128,8 +128,8 @@ exports.default = {
128
128
  "headerBorder": "#7a828e",
129
129
  "headerIcon": "#f0f3f6",
130
130
  "lineText": "#f0f3f6",
131
- "lineNumText": "#7a828e",
132
- "lineTimestampText": "#7a828e",
131
+ "lineNumText": "#9ea7b3",
132
+ "lineTimestampText": "#9ea7b3",
133
133
  "lineHoverBg": "rgba(158,167,179,0.1)",
134
134
  "lineSelectedBg": "rgba(64,158,255,0.15)",
135
135
  "lineSelectedNumText": "#71b7ff",
@@ -142,10 +142,10 @@ exports.default = {
142
142
  "stepErrorText": "#ff6a69",
143
143
  "stepWarningText": "#f0b72f",
144
144
  "loglineText": "#f0f3f6",
145
- "loglineNumText": "#7a828e",
145
+ "loglineNumText": "#9ea7b3",
146
146
  "loglineDebugText": "#b780ff",
147
147
  "loglineErrorText": "#f0f3f6",
148
- "loglineErrorNumText": "#7a828e",
148
+ "loglineErrorNumText": "#9ea7b3",
149
149
  "loglineErrorBg": "rgba(255,106,105,0.15)",
150
150
  "loglineWarningText": "#f0f3f6",
151
151
  "loglineWarningNumText": "#f0b72f",
@@ -347,10 +347,26 @@ exports.default = {
347
347
  "hoverText": "#0a0c10"
348
348
  }
349
349
  },
350
+ "switchTrack": {
351
+ "bg": "#010409",
352
+ "border": "#7a828e",
353
+ "checked": {
354
+ "bg": "rgba(64,158,255,0.35)",
355
+ "hoverBg": "rgba(64,158,255,0.5)",
356
+ "activeBg": "rgba(64,158,255,0.65)",
357
+ "border": "#409eff"
358
+ }
359
+ },
360
+ "switchKnob": {
361
+ "checked": {
362
+ "bg": "#409eff",
363
+ "disabledBg": "#7a828e"
364
+ }
365
+ },
350
366
  "fg": {
351
367
  "default": "#f0f3f6",
352
368
  "muted": "#f0f3f6",
353
- "subtle": "#7a828e",
369
+ "subtle": "#9ea7b3",
354
370
  "onEmphasis": "#0a0c10"
355
371
  },
356
372
  "canvas": {
@@ -346,6 +346,22 @@ declare const _default: {
346
346
  hoverText: string;
347
347
  };
348
348
  };
349
+ switchTrack: {
350
+ bg: string;
351
+ border: string;
352
+ checked: {
353
+ bg: string;
354
+ hoverBg: string;
355
+ activeBg: string;
356
+ border: string;
357
+ };
358
+ };
359
+ switchKnob: {
360
+ checked: {
361
+ bg: string;
362
+ disabledBg: string;
363
+ };
364
+ };
349
365
  fg: {
350
366
  default: string;
351
367
  muted: string;
@@ -808,6 +824,22 @@ declare const _default: {
808
824
  hoverText: string;
809
825
  };
810
826
  };
827
+ switchTrack: {
828
+ bg: string;
829
+ border: string;
830
+ checked: {
831
+ bg: string;
832
+ hoverBg: string;
833
+ activeBg: string;
834
+ border: string;
835
+ };
836
+ };
837
+ switchKnob: {
838
+ checked: {
839
+ bg: string;
840
+ disabledBg: string;
841
+ };
842
+ };
811
843
  fg: {
812
844
  default: string;
813
845
  muted: string;
@@ -1270,6 +1302,22 @@ declare const _default: {
1270
1302
  hoverText: string;
1271
1303
  };
1272
1304
  };
1305
+ switchTrack: {
1306
+ bg: string;
1307
+ border: string;
1308
+ checked: {
1309
+ bg: string;
1310
+ hoverBg: string;
1311
+ activeBg: string;
1312
+ border: string;
1313
+ };
1314
+ };
1315
+ switchKnob: {
1316
+ checked: {
1317
+ bg: string;
1318
+ disabledBg: string;
1319
+ };
1320
+ };
1273
1321
  fg: {
1274
1322
  default: string;
1275
1323
  muted: string;
@@ -1732,6 +1780,22 @@ declare const _default: {
1732
1780
  hoverText: string;
1733
1781
  };
1734
1782
  };
1783
+ switchTrack: {
1784
+ bg: string;
1785
+ border: string;
1786
+ checked: {
1787
+ bg: string;
1788
+ hoverBg: string;
1789
+ activeBg: string;
1790
+ border: string;
1791
+ };
1792
+ };
1793
+ switchKnob: {
1794
+ checked: {
1795
+ bg: string;
1796
+ disabledBg: string;
1797
+ };
1798
+ };
1735
1799
  fg: {
1736
1800
  default: string;
1737
1801
  muted: string;
@@ -2194,6 +2258,22 @@ declare const _default: {
2194
2258
  hoverText: string;
2195
2259
  };
2196
2260
  };
2261
+ switchTrack: {
2262
+ bg: string;
2263
+ border: string;
2264
+ checked: {
2265
+ bg: string;
2266
+ hoverBg: string;
2267
+ activeBg: string;
2268
+ border: string;
2269
+ };
2270
+ };
2271
+ switchKnob: {
2272
+ checked: {
2273
+ bg: string;
2274
+ disabledBg: string;
2275
+ };
2276
+ };
2197
2277
  fg: {
2198
2278
  default: string;
2199
2279
  muted: string;
@@ -2656,6 +2736,22 @@ declare const _default: {
2656
2736
  hoverText: string;
2657
2737
  };
2658
2738
  };
2739
+ switchTrack: {
2740
+ bg: string;
2741
+ border: string;
2742
+ checked: {
2743
+ bg: string;
2744
+ hoverBg: string;
2745
+ activeBg: string;
2746
+ border: string;
2747
+ };
2748
+ };
2749
+ switchKnob: {
2750
+ checked: {
2751
+ bg: string;
2752
+ disabledBg: string;
2753
+ };
2754
+ };
2659
2755
  fg: {
2660
2756
  default: string;
2661
2757
  muted: string;
@@ -3118,6 +3214,22 @@ declare const _default: {
3118
3214
  hoverText: string;
3119
3215
  };
3120
3216
  };
3217
+ switchTrack: {
3218
+ bg: string;
3219
+ border: string;
3220
+ checked: {
3221
+ bg: string;
3222
+ hoverBg: string;
3223
+ activeBg: string;
3224
+ border: string;
3225
+ };
3226
+ };
3227
+ switchKnob: {
3228
+ checked: {
3229
+ bg: string;
3230
+ disabledBg: string;
3231
+ };
3232
+ };
3121
3233
  fg: {
3122
3234
  default: string;
3123
3235
  muted: string;
@@ -345,6 +345,22 @@ declare const _default: {
345
345
  hoverText: string;
346
346
  };
347
347
  };
348
+ switchTrack: {
349
+ bg: string;
350
+ border: string;
351
+ checked: {
352
+ bg: string;
353
+ hoverBg: string;
354
+ activeBg: string;
355
+ border: string;
356
+ };
357
+ };
358
+ switchKnob: {
359
+ checked: {
360
+ bg: string;
361
+ disabledBg: string;
362
+ };
363
+ };
348
364
  fg: {
349
365
  default: string;
350
366
  muted: string;
@@ -347,6 +347,22 @@ exports.default = {
347
347
  "hoverText": "#cf222e"
348
348
  }
349
349
  },
350
+ "switchTrack": {
351
+ "bg": "#eaeef2",
352
+ "border": "#afb8c1",
353
+ "checked": {
354
+ "bg": "#ddf4ff",
355
+ "hoverBg": "#b6e3ff",
356
+ "activeBg": "#80ccff",
357
+ "border": "#54aeff"
358
+ }
359
+ },
360
+ "switchKnob": {
361
+ "checked": {
362
+ "bg": "#0969da",
363
+ "disabledBg": "#6e7781"
364
+ }
365
+ },
350
366
  "fg": {
351
367
  "default": "#24292f",
352
368
  "muted": "#57606a",
@@ -345,6 +345,22 @@ declare const _default: {
345
345
  hoverText: string;
346
346
  };
347
347
  };
348
+ switchTrack: {
349
+ bg: string;
350
+ border: string;
351
+ checked: {
352
+ bg: string;
353
+ hoverBg: string;
354
+ activeBg: string;
355
+ border: string;
356
+ };
357
+ };
358
+ switchKnob: {
359
+ checked: {
360
+ bg: string;
361
+ disabledBg: string;
362
+ };
363
+ };
348
364
  fg: {
349
365
  default: string;
350
366
  muted: string;
@@ -347,6 +347,22 @@ exports.default = {
347
347
  "hoverText": "#b35900"
348
348
  }
349
349
  },
350
+ "switchTrack": {
351
+ "bg": "#eaeef2",
352
+ "border": "#afb8c1",
353
+ "checked": {
354
+ "bg": "#ddf4ff",
355
+ "hoverBg": "#b6e3ff",
356
+ "activeBg": "#80ccff",
357
+ "border": "#54aeff"
358
+ }
359
+ },
360
+ "switchKnob": {
361
+ "checked": {
362
+ "bg": "#0969da",
363
+ "disabledBg": "#6e7781"
364
+ }
365
+ },
350
366
  "fg": {
351
367
  "default": "#24292f",
352
368
  "muted": "#57606a",