@primer/primitives 7.11.0-rc.f7ccc99 → 7.11.1-rc.5dc24db

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 (142) hide show
  1. package/README.md +2 -2
  2. package/dist/color-contrast-check.json +1 -1
  3. package/dist/deprecated/colors.json +7 -1
  4. package/dist/js/colors/dark.d.ts +17 -0
  5. package/dist/js/colors/dark.js +23 -6
  6. package/dist/js/colors/dark_colorblind.d.ts +17 -0
  7. package/dist/js/colors/dark_colorblind.js +23 -6
  8. package/dist/js/colors/dark_dimmed.d.ts +17 -0
  9. package/dist/js/colors/dark_dimmed.js +23 -6
  10. package/dist/js/colors/dark_high_contrast.d.ts +17 -0
  11. package/dist/js/colors/dark_high_contrast.js +24 -7
  12. package/dist/js/colors/dark_tritanopia.d.ts +17 -0
  13. package/dist/js/colors/dark_tritanopia.js +23 -6
  14. package/dist/js/colors/index.d.ts +153 -0
  15. package/dist/js/colors/light.d.ts +17 -0
  16. package/dist/js/colors/light.js +25 -8
  17. package/dist/js/colors/light_colorblind.d.ts +17 -0
  18. package/dist/js/colors/light_colorblind.js +25 -8
  19. package/dist/js/colors/light_high_contrast.d.ts +17 -0
  20. package/dist/js/colors/light_high_contrast.js +26 -9
  21. package/dist/js/colors/light_tritanopia.d.ts +17 -0
  22. package/dist/js/colors/light_tritanopia.js +25 -8
  23. package/dist/js/index.d.ts +153 -0
  24. package/dist/json/colors/dark.json +23 -6
  25. package/dist/json/colors/dark_colorblind.json +23 -6
  26. package/dist/json/colors/dark_dimmed.json +23 -6
  27. package/dist/json/colors/dark_high_contrast.json +24 -7
  28. package/dist/json/colors/dark_tritanopia.json +23 -6
  29. package/dist/json/colors/light.json +25 -8
  30. package/dist/json/colors/light_colorblind.json +25 -8
  31. package/dist/json/colors/light_high_contrast.json +26 -9
  32. package/dist/json/colors/light_tritanopia.json +25 -8
  33. package/dist/scss/colors/_dark.scss +19 -6
  34. package/dist/scss/colors/_dark_colorblind.scss +19 -6
  35. package/dist/scss/colors/_dark_dimmed.scss +19 -6
  36. package/dist/scss/colors/_dark_high_contrast.scss +20 -7
  37. package/dist/scss/colors/_dark_tritanopia.scss +19 -6
  38. package/dist/scss/colors/_light.scss +21 -8
  39. package/dist/scss/colors/_light_colorblind.scss +21 -8
  40. package/dist/scss/colors/_light_high_contrast.scss +22 -9
  41. package/dist/scss/colors/_light_tritanopia.scss +21 -8
  42. package/dist/ts/colors/dark.ts +23 -6
  43. package/dist/ts/colors/dark_colorblind.ts +23 -6
  44. package/dist/ts/colors/dark_dimmed.ts +23 -6
  45. package/dist/ts/colors/dark_high_contrast.ts +24 -7
  46. package/dist/ts/colors/dark_tritanopia.ts +23 -6
  47. package/dist/ts/colors/light.ts +25 -8
  48. package/dist/ts/colors/light_colorblind.ts +25 -8
  49. package/dist/ts/colors/light_high_contrast.ts +26 -9
  50. package/dist/ts/colors/light_tritanopia.ts +25 -8
  51. package/package.json +16 -15
  52. package/tokens-v2-private/css/tokens/base/size/size.css +1 -1
  53. package/tokens-v2-private/css/tokens/base/typography/typography.css +1 -1
  54. package/tokens-v2-private/css/tokens/functional/size/border.css +1 -1
  55. package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +1 -1
  56. package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +1 -1
  57. package/tokens-v2-private/css/tokens/functional/size/size-fine.css +1 -1
  58. package/tokens-v2-private/css/tokens/functional/size/size.css +1 -1
  59. package/tokens-v2-private/css/tokens/functional/typography/typography.css +1 -1
  60. package/tokens-v2-private/js/module/tokens/base/size/size.js +1 -1
  61. package/tokens-v2-private/js/module/tokens/base/typography/typography.js +1 -1
  62. package/tokens-v2-private/js/module/tokens/functional/size/border.js +1 -1
  63. package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +1 -1
  64. package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +1 -1
  65. package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +1 -1
  66. package/tokens-v2-private/js/module/tokens/functional/size/size.js +1 -1
  67. package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +1 -1
  68. package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +1 -1
  69. package/tokens-v2-private/js/tokens/base/size/size.js +1 -1
  70. package/tokens-v2-private/js/tokens/base/typography/typography.js +1 -1
  71. package/tokens-v2-private/js/tokens/functional/size/border.js +1 -1
  72. package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +1 -1
  73. package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +1 -1
  74. package/tokens-v2-private/js/tokens/functional/size/size-fine.js +1 -1
  75. package/tokens-v2-private/js/tokens/functional/size/size.js +1 -1
  76. package/tokens-v2-private/js/tokens/functional/size/viewport.js +1 -1
  77. package/tokens-v2-private/js/tokens/functional/typography/typography.js +1 -1
  78. package/tokens-v2-private/scss/tokens/base/size/size.scss +1 -1
  79. package/tokens-v2-private/scss/tokens/base/typography/typography.scss +1 -1
  80. package/tokens-v2-private/scss/tokens/functional/size/border.scss +1 -1
  81. package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +1 -1
  82. package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +1 -1
  83. package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +1 -1
  84. package/tokens-v2-private/scss/tokens/functional/size/size.scss +1 -1
  85. package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +1 -1
  86. package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +1 -1
  87. package/tokens-v2-private/ts/tokens/base/size/size.d.ts +1 -1
  88. package/tokens-v2-private/ts/tokens/base/size/size.js +1 -1
  89. package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +1 -1
  90. package/tokens-v2-private/ts/tokens/base/typography/typography.js +1 -1
  91. package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +1 -1
  92. package/tokens-v2-private/ts/tokens/functional/size/border.js +1 -1
  93. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  94. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +1 -1
  95. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  96. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +1 -1
  97. package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +1 -1
  98. package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +1 -1
  99. package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +1 -1
  100. package/tokens-v2-private/ts/tokens/functional/size/size.js +1 -1
  101. package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +1 -1
  102. package/tokens-v2-private/ts/tokens/functional/size/viewport.js +1 -1
  103. package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +1 -1
  104. package/tokens-v2-private/ts/tokens/functional/typography/typography.js +1 -1
  105. package/CHANGELOG.md +0 -685
  106. package/tokens/base/color/dark/dark.dimmed.json5 +0 -128
  107. package/tokens/base/color/dark/dark.high-contrast.json5 +0 -128
  108. package/tokens/base/color/dark/dark.json5 +0 -133
  109. package/tokens/base/color/dark/dark.protanopia-deuteranopia.json5 +0 -48
  110. package/tokens/base/color/dark/dark.tritanopia.json5 +0 -96
  111. package/tokens/base/color/light/light.high-contrast.json5 +0 -394
  112. package/tokens/base/color/light/light.json5 +0 -403
  113. package/tokens/base/color/light/light.protanopia-deuteranopia.json5 +0 -138
  114. package/tokens/base/color/light/light.tritanopia.json5 +0 -96
  115. package/tokens/functional/border/dark.json5 +0 -12
  116. package/tokens/functional/border/light.json5 +0 -12
  117. package/tokens/functional/color/dark/ansi-dark.json5 +0 -74
  118. package/tokens/functional/color/dark/checks-dark.json5 +0 -289
  119. package/tokens/functional/color/dark/components-dark.json5 +0 -556
  120. package/tokens/functional/color/dark/diff-dark.json5 +0 -78
  121. package/tokens/functional/color/dark/marketing-dark.json5 +0 -24
  122. package/tokens/functional/color/dark/misc-dark.json5 +0 -38
  123. package/tokens/functional/color/dark/overrides/dark.dimmed.json5 +0 -17
  124. package/tokens/functional/color/dark/overrides/dark.high-contrast.json5 +0 -276
  125. package/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 +0 -50
  126. package/tokens/functional/color/dark/overrides/dark.tritanopia.json5 +0 -49
  127. package/tokens/functional/color/dark/primitives-dark.json5 +0 -322
  128. package/tokens/functional/color/dark/syntax-dark.json5 +0 -208
  129. package/tokens/functional/color/light/ansi-light.json5 +0 -74
  130. package/tokens/functional/color/light/checks-light.json5 +0 -296
  131. package/tokens/functional/color/light/components-light.json5 +0 -469
  132. package/tokens/functional/color/light/diff-light.json5 +0 -76
  133. package/tokens/functional/color/light/marketing-light.json5 +0 -24
  134. package/tokens/functional/color/light/misc-light.json5 +0 -37
  135. package/tokens/functional/color/light/overrides/light.high-contrast.json5 +0 -332
  136. package/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 +0 -92
  137. package/tokens/functional/color/light/overrides/light.tritanopia.json5 +0 -92
  138. package/tokens/functional/color/light/primitives-light.json5 +0 -313
  139. package/tokens/functional/color/light/syntax-light.json5 +0 -208
  140. package/tokens/functional/color/scales.json5 +0 -493
  141. package/tokens/functional/shadow/dark.json5 +0 -93
  142. package/tokens/functional/shadow/light.json5 +0 -100
@@ -188,6 +188,11 @@ declare const _default: {
188
188
  };
189
189
  };
190
190
  };
191
+ control: {
192
+ borderColor: {
193
+ emphasis: string;
194
+ };
195
+ };
191
196
  avatar: {
192
197
  bg: string;
193
198
  border: string;
@@ -336,23 +341,35 @@ declare const _default: {
336
341
  };
337
342
  switchTrack: {
338
343
  bg: string;
344
+ hoverBg: string;
345
+ activeBg: string;
346
+ disabledBg: string;
347
+ fg: string;
348
+ disabledFg: string;
339
349
  border: string;
340
350
  checked: {
341
351
  bg: string;
342
352
  hoverBg: string;
343
353
  activeBg: string;
354
+ fg: string;
355
+ disabledFg: string;
344
356
  border: string;
345
357
  };
346
358
  };
347
359
  switchKnob: {
360
+ bg: string;
361
+ disabledBg: string;
362
+ border: string;
348
363
  checked: {
349
364
  bg: string;
350
365
  disabledBg: string;
366
+ border: string;
351
367
  };
352
368
  };
353
369
  segmentedControl: {
354
370
  bg: string;
355
371
  button: {
372
+ bg: string;
356
373
  hover: {
357
374
  bg: string;
358
375
  };
@@ -675,6 +692,11 @@ declare const _default: {
675
692
  };
676
693
  };
677
694
  };
695
+ control: {
696
+ borderColor: {
697
+ emphasis: string;
698
+ };
699
+ };
678
700
  avatar: {
679
701
  bg: string;
680
702
  border: string;
@@ -823,23 +845,35 @@ declare const _default: {
823
845
  };
824
846
  switchTrack: {
825
847
  bg: string;
848
+ hoverBg: string;
849
+ activeBg: string;
850
+ disabledBg: string;
851
+ fg: string;
852
+ disabledFg: string;
826
853
  border: string;
827
854
  checked: {
828
855
  bg: string;
829
856
  hoverBg: string;
830
857
  activeBg: string;
858
+ fg: string;
859
+ disabledFg: string;
831
860
  border: string;
832
861
  };
833
862
  };
834
863
  switchKnob: {
864
+ bg: string;
865
+ disabledBg: string;
866
+ border: string;
835
867
  checked: {
836
868
  bg: string;
837
869
  disabledBg: string;
870
+ border: string;
838
871
  };
839
872
  };
840
873
  segmentedControl: {
841
874
  bg: string;
842
875
  button: {
876
+ bg: string;
843
877
  hover: {
844
878
  bg: string;
845
879
  };
@@ -1162,6 +1196,11 @@ declare const _default: {
1162
1196
  };
1163
1197
  };
1164
1198
  };
1199
+ control: {
1200
+ borderColor: {
1201
+ emphasis: string;
1202
+ };
1203
+ };
1165
1204
  avatar: {
1166
1205
  bg: string;
1167
1206
  border: string;
@@ -1310,23 +1349,35 @@ declare const _default: {
1310
1349
  };
1311
1350
  switchTrack: {
1312
1351
  bg: string;
1352
+ hoverBg: string;
1353
+ activeBg: string;
1354
+ disabledBg: string;
1355
+ fg: string;
1356
+ disabledFg: string;
1313
1357
  border: string;
1314
1358
  checked: {
1315
1359
  bg: string;
1316
1360
  hoverBg: string;
1317
1361
  activeBg: string;
1362
+ fg: string;
1363
+ disabledFg: string;
1318
1364
  border: string;
1319
1365
  };
1320
1366
  };
1321
1367
  switchKnob: {
1368
+ bg: string;
1369
+ disabledBg: string;
1370
+ border: string;
1322
1371
  checked: {
1323
1372
  bg: string;
1324
1373
  disabledBg: string;
1374
+ border: string;
1325
1375
  };
1326
1376
  };
1327
1377
  segmentedControl: {
1328
1378
  bg: string;
1329
1379
  button: {
1380
+ bg: string;
1330
1381
  hover: {
1331
1382
  bg: string;
1332
1383
  };
@@ -1649,6 +1700,11 @@ declare const _default: {
1649
1700
  };
1650
1701
  };
1651
1702
  };
1703
+ control: {
1704
+ borderColor: {
1705
+ emphasis: string;
1706
+ };
1707
+ };
1652
1708
  avatar: {
1653
1709
  bg: string;
1654
1710
  border: string;
@@ -1797,23 +1853,35 @@ declare const _default: {
1797
1853
  };
1798
1854
  switchTrack: {
1799
1855
  bg: string;
1856
+ hoverBg: string;
1857
+ activeBg: string;
1858
+ disabledBg: string;
1859
+ fg: string;
1860
+ disabledFg: string;
1800
1861
  border: string;
1801
1862
  checked: {
1802
1863
  bg: string;
1803
1864
  hoverBg: string;
1804
1865
  activeBg: string;
1866
+ fg: string;
1867
+ disabledFg: string;
1805
1868
  border: string;
1806
1869
  };
1807
1870
  };
1808
1871
  switchKnob: {
1872
+ bg: string;
1873
+ disabledBg: string;
1874
+ border: string;
1809
1875
  checked: {
1810
1876
  bg: string;
1811
1877
  disabledBg: string;
1878
+ border: string;
1812
1879
  };
1813
1880
  };
1814
1881
  segmentedControl: {
1815
1882
  bg: string;
1816
1883
  button: {
1884
+ bg: string;
1817
1885
  hover: {
1818
1886
  bg: string;
1819
1887
  };
@@ -2136,6 +2204,11 @@ declare const _default: {
2136
2204
  };
2137
2205
  };
2138
2206
  };
2207
+ control: {
2208
+ borderColor: {
2209
+ emphasis: string;
2210
+ };
2211
+ };
2139
2212
  avatar: {
2140
2213
  bg: string;
2141
2214
  border: string;
@@ -2284,23 +2357,35 @@ declare const _default: {
2284
2357
  };
2285
2358
  switchTrack: {
2286
2359
  bg: string;
2360
+ hoverBg: string;
2361
+ activeBg: string;
2362
+ disabledBg: string;
2363
+ fg: string;
2364
+ disabledFg: string;
2287
2365
  border: string;
2288
2366
  checked: {
2289
2367
  bg: string;
2290
2368
  hoverBg: string;
2291
2369
  activeBg: string;
2370
+ fg: string;
2371
+ disabledFg: string;
2292
2372
  border: string;
2293
2373
  };
2294
2374
  };
2295
2375
  switchKnob: {
2376
+ bg: string;
2377
+ border: string;
2378
+ disabledBg: string;
2296
2379
  checked: {
2297
2380
  bg: string;
2298
2381
  disabledBg: string;
2382
+ border: string;
2299
2383
  };
2300
2384
  };
2301
2385
  segmentedControl: {
2302
2386
  bg: string;
2303
2387
  button: {
2388
+ bg: string;
2304
2389
  hover: {
2305
2390
  bg: string;
2306
2391
  };
@@ -2623,6 +2708,11 @@ declare const _default: {
2623
2708
  };
2624
2709
  };
2625
2710
  };
2711
+ control: {
2712
+ borderColor: {
2713
+ emphasis: string;
2714
+ };
2715
+ };
2626
2716
  avatar: {
2627
2717
  bg: string;
2628
2718
  border: string;
@@ -2771,23 +2861,35 @@ declare const _default: {
2771
2861
  };
2772
2862
  switchTrack: {
2773
2863
  bg: string;
2864
+ hoverBg: string;
2865
+ activeBg: string;
2866
+ disabledBg: string;
2867
+ fg: string;
2868
+ disabledFg: string;
2774
2869
  border: string;
2775
2870
  checked: {
2776
2871
  bg: string;
2777
2872
  hoverBg: string;
2778
2873
  activeBg: string;
2874
+ fg: string;
2875
+ disabledFg: string;
2779
2876
  border: string;
2780
2877
  };
2781
2878
  };
2782
2879
  switchKnob: {
2880
+ bg: string;
2881
+ border: string;
2882
+ disabledBg: string;
2783
2883
  checked: {
2784
2884
  bg: string;
2785
2885
  disabledBg: string;
2886
+ border: string;
2786
2887
  };
2787
2888
  };
2788
2889
  segmentedControl: {
2789
2890
  bg: string;
2790
2891
  button: {
2892
+ bg: string;
2791
2893
  hover: {
2792
2894
  bg: string;
2793
2895
  };
@@ -3110,6 +3212,11 @@ declare const _default: {
3110
3212
  };
3111
3213
  };
3112
3214
  };
3215
+ control: {
3216
+ borderColor: {
3217
+ emphasis: string;
3218
+ };
3219
+ };
3113
3220
  avatar: {
3114
3221
  bg: string;
3115
3222
  border: string;
@@ -3258,23 +3365,35 @@ declare const _default: {
3258
3365
  };
3259
3366
  switchTrack: {
3260
3367
  bg: string;
3368
+ hoverBg: string;
3369
+ activeBg: string;
3370
+ disabledBg: string;
3371
+ fg: string;
3372
+ disabledFg: string;
3261
3373
  border: string;
3262
3374
  checked: {
3263
3375
  bg: string;
3264
3376
  hoverBg: string;
3265
3377
  activeBg: string;
3378
+ fg: string;
3379
+ disabledFg: string;
3266
3380
  border: string;
3267
3381
  };
3268
3382
  };
3269
3383
  switchKnob: {
3384
+ bg: string;
3385
+ border: string;
3386
+ disabledBg: string;
3270
3387
  checked: {
3271
3388
  bg: string;
3272
3389
  disabledBg: string;
3390
+ border: string;
3273
3391
  };
3274
3392
  };
3275
3393
  segmentedControl: {
3276
3394
  bg: string;
3277
3395
  button: {
3396
+ bg: string;
3278
3397
  hover: {
3279
3398
  bg: string;
3280
3399
  };
@@ -3597,6 +3716,11 @@ declare const _default: {
3597
3716
  };
3598
3717
  };
3599
3718
  };
3719
+ control: {
3720
+ borderColor: {
3721
+ emphasis: string;
3722
+ };
3723
+ };
3600
3724
  avatar: {
3601
3725
  bg: string;
3602
3726
  border: string;
@@ -3745,23 +3869,35 @@ declare const _default: {
3745
3869
  };
3746
3870
  switchTrack: {
3747
3871
  bg: string;
3872
+ hoverBg: string;
3873
+ activeBg: string;
3874
+ disabledBg: string;
3875
+ fg: string;
3876
+ disabledFg: string;
3748
3877
  border: string;
3749
3878
  checked: {
3750
3879
  bg: string;
3751
3880
  hoverBg: string;
3752
3881
  activeBg: string;
3882
+ fg: string;
3883
+ disabledFg: string;
3753
3884
  border: string;
3754
3885
  };
3755
3886
  };
3756
3887
  switchKnob: {
3888
+ bg: string;
3889
+ border: string;
3890
+ disabledBg: string;
3757
3891
  checked: {
3758
3892
  bg: string;
3759
3893
  disabledBg: string;
3894
+ border: string;
3760
3895
  };
3761
3896
  };
3762
3897
  segmentedControl: {
3763
3898
  bg: string;
3764
3899
  button: {
3900
+ bg: string;
3765
3901
  hover: {
3766
3902
  bg: string;
3767
3903
  };
@@ -4084,6 +4220,11 @@ declare const _default: {
4084
4220
  };
4085
4221
  };
4086
4222
  };
4223
+ control: {
4224
+ borderColor: {
4225
+ emphasis: string;
4226
+ };
4227
+ };
4087
4228
  avatar: {
4088
4229
  bg: string;
4089
4230
  border: string;
@@ -4232,23 +4373,35 @@ declare const _default: {
4232
4373
  };
4233
4374
  switchTrack: {
4234
4375
  bg: string;
4376
+ hoverBg: string;
4377
+ activeBg: string;
4378
+ disabledBg: string;
4379
+ fg: string;
4380
+ disabledFg: string;
4235
4381
  border: string;
4236
4382
  checked: {
4237
4383
  bg: string;
4238
4384
  hoverBg: string;
4239
4385
  activeBg: string;
4386
+ fg: string;
4387
+ disabledFg: string;
4240
4388
  border: string;
4241
4389
  };
4242
4390
  };
4243
4391
  switchKnob: {
4392
+ bg: string;
4393
+ border: string;
4394
+ disabledBg: string;
4244
4395
  checked: {
4245
4396
  bg: string;
4246
4397
  disabledBg: string;
4398
+ border: string;
4247
4399
  };
4248
4400
  };
4249
4401
  segmentedControl: {
4250
4402
  bg: string;
4251
4403
  button: {
4404
+ bg: string;
4252
4405
  hover: {
4253
4406
  bg: string;
4254
4407
  };
@@ -187,6 +187,11 @@ declare const _default: {
187
187
  };
188
188
  };
189
189
  };
190
+ control: {
191
+ borderColor: {
192
+ emphasis: string;
193
+ };
194
+ };
190
195
  avatar: {
191
196
  bg: string;
192
197
  border: string;
@@ -335,23 +340,35 @@ declare const _default: {
335
340
  };
336
341
  switchTrack: {
337
342
  bg: string;
343
+ hoverBg: string;
344
+ activeBg: string;
345
+ disabledBg: string;
346
+ fg: string;
347
+ disabledFg: string;
338
348
  border: string;
339
349
  checked: {
340
350
  bg: string;
341
351
  hoverBg: string;
342
352
  activeBg: string;
353
+ fg: string;
354
+ disabledFg: string;
343
355
  border: string;
344
356
  };
345
357
  };
346
358
  switchKnob: {
359
+ bg: string;
360
+ disabledBg: string;
361
+ border: string;
347
362
  checked: {
348
363
  bg: string;
349
364
  disabledBg: string;
365
+ border: string;
350
366
  };
351
367
  };
352
368
  segmentedControl: {
353
369
  bg: string;
354
370
  button: {
371
+ bg: string;
355
372
  hover: {
356
373
  bg: string;
357
374
  };
@@ -189,6 +189,11 @@ exports.default = {
189
189
  }
190
190
  }
191
191
  },
192
+ "control": {
193
+ "borderColor": {
194
+ "emphasis": "#858F99"
195
+ }
196
+ },
192
197
  "avatar": {
193
198
  "bg": "#ffffff",
194
199
  "border": "rgba(27,31,36,0.15)",
@@ -337,23 +342,35 @@ exports.default = {
337
342
  },
338
343
  "switchTrack": {
339
344
  "bg": "#eaeef2",
340
- "border": "#afb8c1",
345
+ "hoverBg": "hsla(210,24%,90%,1)",
346
+ "activeBg": "hsla(210,24%,88%,1)",
347
+ "disabledBg": "#8c959f",
348
+ "fg": "#57606a",
349
+ "disabledFg": "#ffffff",
350
+ "border": "rgba(0,0,0,0)",
341
351
  "checked": {
342
- "bg": "#ddf4ff",
343
- "hoverBg": "#b6e3ff",
344
- "activeBg": "#80ccff",
345
- "border": "#54aeff"
352
+ "bg": "#0969da",
353
+ "hoverBg": "#0860CA",
354
+ "activeBg": "#0757BA",
355
+ "fg": "#ffffff",
356
+ "disabledFg": "#ffffff",
357
+ "border": "rgba(0,0,0,0)"
346
358
  }
347
359
  },
348
360
  "switchKnob": {
361
+ "bg": "#ffffff",
362
+ "disabledBg": "#f6f8fa",
363
+ "border": "#858F99",
349
364
  "checked": {
350
- "bg": "#0969da",
351
- "disabledBg": "#6e7781"
365
+ "bg": "#ffffff",
366
+ "disabledBg": "#f6f8fa",
367
+ "border": "#0969da"
352
368
  }
353
369
  },
354
370
  "segmentedControl": {
355
371
  "bg": "#eaeef2",
356
372
  "button": {
373
+ "bg": "#ffffff",
357
374
  "hover": {
358
375
  "bg": "rgba(175,184,193,0.2)"
359
376
  },
@@ -361,7 +378,7 @@ exports.default = {
361
378
  "bg": "rgba(175,184,193,0.4)"
362
379
  },
363
380
  "selected": {
364
- "border": "#6e7781"
381
+ "border": "#8c959f"
365
382
  }
366
383
  }
367
384
  },
@@ -187,6 +187,11 @@ declare const _default: {
187
187
  };
188
188
  };
189
189
  };
190
+ control: {
191
+ borderColor: {
192
+ emphasis: string;
193
+ };
194
+ };
190
195
  avatar: {
191
196
  bg: string;
192
197
  border: string;
@@ -335,23 +340,35 @@ declare const _default: {
335
340
  };
336
341
  switchTrack: {
337
342
  bg: string;
343
+ hoverBg: string;
344
+ activeBg: string;
345
+ disabledBg: string;
346
+ fg: string;
347
+ disabledFg: string;
338
348
  border: string;
339
349
  checked: {
340
350
  bg: string;
341
351
  hoverBg: string;
342
352
  activeBg: string;
353
+ fg: string;
354
+ disabledFg: string;
343
355
  border: string;
344
356
  };
345
357
  };
346
358
  switchKnob: {
359
+ bg: string;
360
+ disabledBg: string;
361
+ border: string;
347
362
  checked: {
348
363
  bg: string;
349
364
  disabledBg: string;
365
+ border: string;
350
366
  };
351
367
  };
352
368
  segmentedControl: {
353
369
  bg: string;
354
370
  button: {
371
+ bg: string;
355
372
  hover: {
356
373
  bg: string;
357
374
  };
@@ -189,6 +189,11 @@ exports.default = {
189
189
  }
190
190
  }
191
191
  },
192
+ "control": {
193
+ "borderColor": {
194
+ "emphasis": "#858F99"
195
+ }
196
+ },
192
197
  "avatar": {
193
198
  "bg": "#ffffff",
194
199
  "border": "rgba(27,31,36,0.15)",
@@ -337,23 +342,35 @@ exports.default = {
337
342
  },
338
343
  "switchTrack": {
339
344
  "bg": "#eaeef2",
340
- "border": "#afb8c1",
345
+ "hoverBg": "hsla(210,24%,90%,1)",
346
+ "activeBg": "hsla(210,24%,88%,1)",
347
+ "disabledBg": "#8c959f",
348
+ "fg": "#57606a",
349
+ "disabledFg": "#ffffff",
350
+ "border": "rgba(0,0,0,0)",
341
351
  "checked": {
342
- "bg": "#ddf4ff",
343
- "hoverBg": "#b6e3ff",
344
- "activeBg": "#80ccff",
345
- "border": "#54aeff"
352
+ "bg": "#0969da",
353
+ "hoverBg": "#0860CA",
354
+ "activeBg": "#0757BA",
355
+ "fg": "#ffffff",
356
+ "disabledFg": "#ffffff",
357
+ "border": "rgba(0,0,0,0)"
346
358
  }
347
359
  },
348
360
  "switchKnob": {
361
+ "bg": "#ffffff",
362
+ "disabledBg": "#f6f8fa",
363
+ "border": "#858F99",
349
364
  "checked": {
350
- "bg": "#0969da",
351
- "disabledBg": "#6e7781"
365
+ "bg": "#ffffff",
366
+ "disabledBg": "#f6f8fa",
367
+ "border": "#0969da"
352
368
  }
353
369
  },
354
370
  "segmentedControl": {
355
371
  "bg": "#eaeef2",
356
372
  "button": {
373
+ "bg": "#ffffff",
357
374
  "hover": {
358
375
  "bg": "rgba(175,184,193,0.2)"
359
376
  },
@@ -361,7 +378,7 @@ exports.default = {
361
378
  "bg": "rgba(175,184,193,0.4)"
362
379
  },
363
380
  "selected": {
364
- "border": "#6e7781"
381
+ "border": "#8c959f"
365
382
  }
366
383
  }
367
384
  },
@@ -187,6 +187,11 @@ declare const _default: {
187
187
  };
188
188
  };
189
189
  };
190
+ control: {
191
+ borderColor: {
192
+ emphasis: string;
193
+ };
194
+ };
190
195
  avatar: {
191
196
  bg: string;
192
197
  border: string;
@@ -335,23 +340,35 @@ declare const _default: {
335
340
  };
336
341
  switchTrack: {
337
342
  bg: string;
343
+ hoverBg: string;
344
+ activeBg: string;
345
+ disabledBg: string;
346
+ fg: string;
347
+ disabledFg: string;
338
348
  border: string;
339
349
  checked: {
340
350
  bg: string;
341
351
  hoverBg: string;
342
352
  activeBg: string;
353
+ fg: string;
354
+ disabledFg: string;
343
355
  border: string;
344
356
  };
345
357
  };
346
358
  switchKnob: {
359
+ bg: string;
360
+ disabledBg: string;
361
+ border: string;
347
362
  checked: {
348
363
  bg: string;
349
364
  disabledBg: string;
365
+ border: string;
350
366
  };
351
367
  };
352
368
  segmentedControl: {
353
369
  bg: string;
354
370
  button: {
371
+ bg: string;
355
372
  hover: {
356
373
  bg: string;
357
374
  };