@primer/primitives 7.13.0 → 7.13.1-rc.0fa7554

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 (93) hide show
  1. package/package.json +1 -1
  2. package/tokens-next-private/css/functional/themes/dark-colorblind.css +16 -12
  3. package/tokens-next-private/css/functional/themes/dark-dimmed.css +16 -12
  4. package/tokens-next-private/css/functional/themes/dark-high-contrast.css +16 -12
  5. package/tokens-next-private/css/functional/themes/dark-tritanopia.css +16 -12
  6. package/tokens-next-private/css/functional/themes/dark.css +16 -12
  7. package/tokens-next-private/css/functional/themes/light-colorblind.css +16 -12
  8. package/tokens-next-private/css/functional/themes/light-high-contrast.css +16 -12
  9. package/tokens-next-private/css/functional/themes/light-tritanopia.css +16 -12
  10. package/tokens-next-private/css/functional/themes/light.css +16 -12
  11. package/tokens-next-private/docs/functional/themes/dark-colorblind.json +133 -55
  12. package/tokens-next-private/docs/functional/themes/dark-dimmed.json +132 -54
  13. package/tokens-next-private/docs/functional/themes/dark-high-contrast.json +134 -54
  14. package/tokens-next-private/docs/functional/themes/dark-tritanopia.json +132 -54
  15. package/tokens-next-private/docs/functional/themes/dark.json +132 -54
  16. package/tokens-next-private/docs/functional/themes/light-colorblind.json +130 -52
  17. package/tokens-next-private/docs/functional/themes/light-high-contrast.json +132 -52
  18. package/tokens-next-private/docs/functional/themes/light-tritanopia.json +130 -52
  19. package/tokens-next-private/docs/functional/themes/light.json +130 -52
  20. package/tokens-next-private/fallbacks/color-fallbacks.json +4 -1
  21. package/tokens-next-private/figma/themes/dark.json +138 -72
  22. package/tokens-next-private/figma/themes/light.json +108 -42
  23. package/tokens-next-private/scss/base/size/size.scss +17 -21
  24. package/tokens-next-private/scss/base/typography/typography.scss +4 -8
  25. package/tokens-next-private/scss/functional/size/border.scss +12 -16
  26. package/tokens-next-private/scss/functional/size/breakpoints.scss +6 -10
  27. package/tokens-next-private/scss/functional/size/size-coarse.scss +3 -7
  28. package/tokens-next-private/scss/functional/size/size-fine.scss +3 -7
  29. package/tokens-next-private/scss/functional/size/size.scss +67 -71
  30. package/tokens-next-private/scss/functional/size/viewport.scss +6 -19
  31. package/tokens-next-private/scss/functional/themes/dark-colorblind.scss +415 -417
  32. package/tokens-next-private/scss/functional/themes/dark-dimmed.scss +415 -417
  33. package/tokens-next-private/scss/functional/themes/dark-high-contrast.scss +415 -417
  34. package/tokens-next-private/scss/functional/themes/dark-tritanopia.scss +415 -417
  35. package/tokens-next-private/scss/functional/themes/dark.scss +415 -417
  36. package/tokens-next-private/scss/functional/themes/light-colorblind.scss +415 -417
  37. package/tokens-next-private/scss/functional/themes/light-high-contrast.scss +415 -417
  38. package/tokens-next-private/scss/functional/themes/light-tritanopia.scss +415 -417
  39. package/tokens-next-private/scss/functional/themes/light.scss +415 -417
  40. package/tokens-next-private/scss/functional/typography/typography.scss +45 -49
  41. package/tokens-v2-private/css/tokens/base/size/size.css +1 -1
  42. package/tokens-v2-private/css/tokens/base/typography/typography.css +1 -1
  43. package/tokens-v2-private/css/tokens/functional/size/border.css +1 -1
  44. package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +1 -1
  45. package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +1 -1
  46. package/tokens-v2-private/css/tokens/functional/size/size-fine.css +1 -1
  47. package/tokens-v2-private/css/tokens/functional/size/size.css +1 -1
  48. package/tokens-v2-private/css/tokens/functional/typography/typography.css +1 -1
  49. package/tokens-v2-private/js/module/tokens/base/size/size.js +1 -1
  50. package/tokens-v2-private/js/module/tokens/base/typography/typography.js +1 -1
  51. package/tokens-v2-private/js/module/tokens/functional/size/border.js +1 -1
  52. package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +1 -1
  53. package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +1 -1
  54. package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +1 -1
  55. package/tokens-v2-private/js/module/tokens/functional/size/size.js +1 -1
  56. package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +1 -1
  57. package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +1 -1
  58. package/tokens-v2-private/js/tokens/base/size/size.js +1 -1
  59. package/tokens-v2-private/js/tokens/base/typography/typography.js +1 -1
  60. package/tokens-v2-private/js/tokens/functional/size/border.js +1 -1
  61. package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +1 -1
  62. package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +1 -1
  63. package/tokens-v2-private/js/tokens/functional/size/size-fine.js +1 -1
  64. package/tokens-v2-private/js/tokens/functional/size/size.js +1 -1
  65. package/tokens-v2-private/js/tokens/functional/size/viewport.js +1 -1
  66. package/tokens-v2-private/js/tokens/functional/typography/typography.js +1 -1
  67. package/tokens-v2-private/scss/tokens/base/size/size.scss +1 -1
  68. package/tokens-v2-private/scss/tokens/base/typography/typography.scss +1 -1
  69. package/tokens-v2-private/scss/tokens/functional/size/border.scss +1 -1
  70. package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +1 -1
  71. package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +1 -1
  72. package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +1 -1
  73. package/tokens-v2-private/scss/tokens/functional/size/size.scss +1 -1
  74. package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +1 -1
  75. package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +1 -1
  76. package/tokens-v2-private/ts/tokens/base/size/size.d.ts +1 -1
  77. package/tokens-v2-private/ts/tokens/base/size/size.js +1 -1
  78. package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +1 -1
  79. package/tokens-v2-private/ts/tokens/base/typography/typography.js +1 -1
  80. package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +1 -1
  81. package/tokens-v2-private/ts/tokens/functional/size/border.js +1 -1
  82. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  83. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +1 -1
  84. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  85. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +1 -1
  86. package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +1 -1
  87. package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +1 -1
  88. package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +1 -1
  89. package/tokens-v2-private/ts/tokens/functional/size/size.js +1 -1
  90. package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +1 -1
  91. package/tokens-v2-private/ts/tokens/functional/size/viewport.js +1 -1
  92. package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +1 -1
  93. package/tokens-v2-private/ts/tokens/functional/typography/typography.js +1 -1
@@ -2157,14 +2157,15 @@
2157
2157
  {
2158
2158
  "name": "button/danger/borderColor/hover",
2159
2159
  "value": {
2160
- "r": 0.7137254901960784,
2161
- "g": 0.13725490196078433,
2162
- "b": 0.1411764705882353,
2163
- "a": 1
2160
+ "r": 0.9411764705882353,
2161
+ "g": 0.9647058823529412,
2162
+ "b": 0.9882352941176471,
2163
+ "a": 0.1
2164
2164
  },
2165
2165
  "type": "COLOR",
2166
+ "alpha": 0.1,
2166
2167
  "refId": "mode/button/danger/borderColor/hover",
2167
- "reference": "base/color/dark/base/color/red/6",
2168
+ "reference": "base/color/dark/base/color/gray/0",
2168
2169
  "collection": "mode",
2169
2170
  "mode": "dark",
2170
2171
  "group": "component",
@@ -2251,6 +2252,23 @@
2251
2252
  "group": "component",
2252
2253
  "scopes": ["TEXT_FILL", "SHAPE_FILL"]
2253
2254
  },
2255
+ {
2256
+ "name": "button/outline/borderColor/hover",
2257
+ "value": {
2258
+ "r": 0.9411764705882353,
2259
+ "g": 0.9647058823529412,
2260
+ "b": 0.9882352941176471,
2261
+ "a": 0.1
2262
+ },
2263
+ "type": "COLOR",
2264
+ "alpha": 0.1,
2265
+ "refId": "mode/button/outline/borderColor/hover",
2266
+ "reference": "base/color/dark/base/color/gray/0",
2267
+ "collection": "mode",
2268
+ "mode": "dark",
2269
+ "group": "component",
2270
+ "scopes": ["STROKE_COLOR"]
2271
+ },
2254
2272
  {
2255
2273
  "name": "button/outline/bgColor/disabled",
2256
2274
  "value": {
@@ -3609,14 +3627,14 @@
3609
3627
  {
3610
3628
  "name": "button/danger/borderColor/active",
3611
3629
  "value": {
3612
- "r": 0.8156862745098039,
3613
- "g": 0.20784313725490197,
3614
- "b": 0.2,
3615
- "a": 1
3630
+ "r": 0.9411764705882353,
3631
+ "g": 0.9647058823529412,
3632
+ "b": 0.9882352941176471,
3633
+ "a": 0.1
3616
3634
  },
3617
3635
  "type": "COLOR",
3618
3636
  "refId": "mode/button/danger/borderColor/active",
3619
- "reference": "mode/button/danger/bgColor/active",
3637
+ "reference": "mode/button/danger/borderColor/hover",
3620
3638
  "collection": "mode",
3621
3639
  "mode": "dark",
3622
3640
  "group": "component",
@@ -3703,6 +3721,22 @@
3703
3721
  "group": "component",
3704
3722
  "scopes": ["TEXT_FILL", "SHAPE_FILL"]
3705
3723
  },
3724
+ {
3725
+ "name": "button/outline/borderColor/selected",
3726
+ "value": {
3727
+ "r": 0.9411764705882353,
3728
+ "g": 0.9647058823529412,
3729
+ "b": 0.9882352941176471,
3730
+ "a": 0.1
3731
+ },
3732
+ "type": "COLOR",
3733
+ "refId": "mode/button/outline/borderColor/selected",
3734
+ "reference": "mode/button/outline/borderColor/hover",
3735
+ "collection": "mode",
3736
+ "mode": "dark",
3737
+ "group": "component",
3738
+ "scopes": ["STROKE_COLOR"]
3739
+ },
3706
3740
  {
3707
3741
  "name": "button/outline/fgColor/disabled",
3708
3742
  "value": {
@@ -3800,6 +3834,38 @@
3800
3834
  "group": "component",
3801
3835
  "scopes": ["FRAME_FILL", "SHAPE_FILL"]
3802
3836
  },
3837
+ {
3838
+ "name": "button/invisible/iconColor/hover",
3839
+ "value": {
3840
+ "r": 0.9019607843137255,
3841
+ "g": 0.9294117647058824,
3842
+ "b": 0.9529411764705882,
3843
+ "a": 1
3844
+ },
3845
+ "type": "COLOR",
3846
+ "refId": "mode/button/invisible/iconColor/hover",
3847
+ "reference": "mode/fgColor/default",
3848
+ "collection": "mode",
3849
+ "mode": "dark",
3850
+ "group": "component",
3851
+ "scopes": ["TEXT_FILL", "SHAPE_FILL"]
3852
+ },
3853
+ {
3854
+ "name": "button/invisible/iconColor/rest",
3855
+ "value": {
3856
+ "r": 0.49019607843137253,
3857
+ "g": 0.5215686274509804,
3858
+ "b": 0.5647058823529412,
3859
+ "a": 1
3860
+ },
3861
+ "type": "COLOR",
3862
+ "refId": "mode/button/invisible/iconColor/rest",
3863
+ "reference": "mode/fgColor/muted",
3864
+ "collection": "mode",
3865
+ "mode": "dark",
3866
+ "group": "component",
3867
+ "scopes": ["TEXT_FILL", "SHAPE_FILL"]
3868
+ },
3803
3869
  {
3804
3870
  "name": "button/invisible/fgColor/rest",
3805
3871
  "value": {
@@ -3832,6 +3898,22 @@
3832
3898
  "group": "component",
3833
3899
  "scopes": ["STROKE_COLOR"]
3834
3900
  },
3901
+ {
3902
+ "name": "button/primary/borderColor/active",
3903
+ "value": {
3904
+ "r": 0.9411764705882353,
3905
+ "g": 0.9647058823529412,
3906
+ "b": 0.9882352941176471,
3907
+ "a": 0.1
3908
+ },
3909
+ "type": "COLOR",
3910
+ "refId": "mode/button/primary/borderColor/active",
3911
+ "reference": "mode/button/primary/borderColor/rest",
3912
+ "collection": "mode",
3913
+ "mode": "dark",
3914
+ "group": "component",
3915
+ "scopes": ["STROKE_COLOR"]
3916
+ },
3835
3917
  {
3836
3918
  "name": "button/primary/borderColor/hover",
3837
3919
  "value": {
@@ -3898,38 +3980,6 @@
3898
3980
  "group": "component",
3899
3981
  "scopes": ["FRAME_FILL", "SHAPE_FILL"]
3900
3982
  },
3901
- {
3902
- "name": "button/default/borderColor/active",
3903
- "value": {
3904
- "r": 0.18823529411764706,
3905
- "g": 0.21176470588235294,
3906
- "b": 0.23921568627450981,
3907
- "a": 1
3908
- },
3909
- "type": "COLOR",
3910
- "refId": "mode/button/default/borderColor/active",
3911
- "reference": "mode/borderColor/default",
3912
- "collection": "mode",
3913
- "mode": "dark",
3914
- "group": "component",
3915
- "scopes": ["STROKE_COLOR"]
3916
- },
3917
- {
3918
- "name": "button/default/borderColor/hover",
3919
- "value": {
3920
- "r": 0.18823529411764706,
3921
- "g": 0.21176470588235294,
3922
- "b": 0.23921568627450981,
3923
- "a": 1
3924
- },
3925
- "type": "COLOR",
3926
- "refId": "mode/button/default/borderColor/hover",
3927
- "reference": "mode/borderColor/default",
3928
- "collection": "mode",
3929
- "mode": "dark",
3930
- "group": "component",
3931
- "scopes": ["STROKE_COLOR"]
3932
- },
3933
3983
  {
3934
3984
  "name": "button/default/borderColor/rest",
3935
3985
  "value": {
@@ -4736,68 +4786,84 @@
4736
4786
  "scopes": ["FRAME_FILL", "SHAPE_FILL"]
4737
4787
  },
4738
4788
  {
4739
- "name": "button/outline/borderColor/selected",
4789
+ "name": "button/invisible/bgColor/disabled",
4740
4790
  "value": {
4741
- "r": 0.18823529411764706,
4742
- "g": 0.21176470588235294,
4743
- "b": 0.23921568627450981,
4744
- "a": 0.4
4791
+ "r": 0.08627450980392157,
4792
+ "g": 0.10588235294117647,
4793
+ "b": 0.13333333333333333,
4794
+ "a": 1
4745
4795
  },
4746
4796
  "type": "COLOR",
4747
- "refId": "mode/button/outline/borderColor/selected",
4748
- "reference": "mode/borderColor/muted",
4797
+ "refId": "mode/button/invisible/bgColor/disabled",
4798
+ "reference": "mode/control/bgColor/disabled",
4749
4799
  "collection": "mode",
4750
4800
  "mode": "dark",
4751
4801
  "group": "component",
4752
- "scopes": ["STROKE_COLOR"]
4802
+ "scopes": ["FRAME_FILL", "SHAPE_FILL"]
4753
4803
  },
4754
4804
  {
4755
- "name": "button/outline/borderColor/hover",
4805
+ "name": "button/invisible/iconColor/disabled",
4756
4806
  "value": {
4757
- "r": 0.18823529411764706,
4758
- "g": 0.21176470588235294,
4759
- "b": 0.23921568627450981,
4760
- "a": 0.4
4807
+ "r": 0.5450980392156862,
4808
+ "g": 0.5803921568627451,
4809
+ "b": 0.6196078431372549,
4810
+ "a": 1
4761
4811
  },
4762
4812
  "type": "COLOR",
4763
- "refId": "mode/button/outline/borderColor/hover",
4764
- "reference": "mode/borderColor/muted",
4813
+ "refId": "mode/button/invisible/iconColor/disabled",
4814
+ "reference": "mode/control/fgColor/disabled",
4765
4815
  "collection": "mode",
4766
4816
  "mode": "dark",
4767
4817
  "group": "component",
4768
- "scopes": ["STROKE_COLOR"]
4818
+ "scopes": ["TEXT_FILL", "SHAPE_FILL"]
4769
4819
  },
4770
4820
  {
4771
- "name": "button/invisible/bgColor/disabled",
4821
+ "name": "button/invisible/fgColor/disabled",
4772
4822
  "value": {
4773
- "r": 0.08627450980392157,
4774
- "g": 0.10588235294117647,
4775
- "b": 0.13333333333333333,
4823
+ "r": 0.5450980392156862,
4824
+ "g": 0.5803921568627451,
4825
+ "b": 0.6196078431372549,
4776
4826
  "a": 1
4777
4827
  },
4778
4828
  "type": "COLOR",
4779
- "refId": "mode/button/invisible/bgColor/disabled",
4780
- "reference": "mode/control/bgColor/disabled",
4829
+ "refId": "mode/button/invisible/fgColor/disabled",
4830
+ "reference": "mode/control/fgColor/disabled",
4781
4831
  "collection": "mode",
4782
4832
  "mode": "dark",
4783
4833
  "group": "component",
4784
- "scopes": ["FRAME_FILL", "SHAPE_FILL"]
4834
+ "scopes": ["TEXT_FILL", "SHAPE_FILL"]
4785
4835
  },
4786
4836
  {
4787
- "name": "button/invisible/fgColor/disabled",
4837
+ "name": "button/default/borderColor/active",
4788
4838
  "value": {
4789
- "r": 0.5450980392156862,
4790
- "g": 0.5803921568627451,
4791
- "b": 0.6196078431372549,
4839
+ "r": 0.18823529411764706,
4840
+ "g": 0.21176470588235294,
4841
+ "b": 0.23921568627450981,
4792
4842
  "a": 1
4793
4843
  },
4794
4844
  "type": "COLOR",
4795
- "refId": "mode/button/invisible/fgColor/disabled",
4796
- "reference": "mode/control/fgColor/disabled",
4845
+ "refId": "mode/button/default/borderColor/active",
4846
+ "reference": "mode/button/default/borderColor/rest",
4797
4847
  "collection": "mode",
4798
4848
  "mode": "dark",
4799
4849
  "group": "component",
4800
- "scopes": ["TEXT_FILL", "SHAPE_FILL"]
4850
+ "scopes": ["STROKE_COLOR"]
4851
+ },
4852
+ {
4853
+ "name": "button/default/borderColor/hover",
4854
+ "value": {
4855
+ "r": 0.18823529411764706,
4856
+ "g": 0.21176470588235294,
4857
+ "b": 0.23921568627450981,
4858
+ "a": 1
4859
+ },
4860
+ "type": "COLOR",
4861
+ "refId": "mode/button/default/borderColor/hover",
4862
+ "reference": "mode/button/default/borderColor/rest",
4863
+ "collection": "mode",
4864
+ "mode": "dark",
4865
+ "group": "component",
4866
+ "scopes": ["STROKE_COLOR"]
4801
4867
  },
4802
4868
  {
4803
4869
  "name": "button/default/bgColor/disabled",
@@ -2095,6 +2095,23 @@
2095
2095
  "group": "component",
2096
2096
  "scopes": ["FRAME_FILL", "SHAPE_FILL"]
2097
2097
  },
2098
+ {
2099
+ "name": "button/danger/borderColor/hover",
2100
+ "value": {
2101
+ "r": 0.12156862745098039,
2102
+ "g": 0.13725490196078433,
2103
+ "b": 0.1568627450980392,
2104
+ "a": 0.15
2105
+ },
2106
+ "type": "COLOR",
2107
+ "alpha": 0.15,
2108
+ "refId": "mode/button/danger/borderColor/hover",
2109
+ "reference": "base/color/light/base/color/black",
2110
+ "collection": "mode",
2111
+ "mode": "light",
2112
+ "group": "component",
2113
+ "scopes": ["STROKE_COLOR"]
2114
+ },
2098
2115
  {
2099
2116
  "name": "button/danger/bgColor/active",
2100
2117
  "value": {
@@ -2176,6 +2193,23 @@
2176
2193
  "group": "component",
2177
2194
  "scopes": ["TEXT_FILL", "SHAPE_FILL"]
2178
2195
  },
2196
+ {
2197
+ "name": "button/outline/borderColor/hover",
2198
+ "value": {
2199
+ "r": 0.12156862745098039,
2200
+ "g": 0.13725490196078433,
2201
+ "b": 0.1568627450980392,
2202
+ "a": 0.15
2203
+ },
2204
+ "type": "COLOR",
2205
+ "alpha": 0.15,
2206
+ "refId": "mode/button/outline/borderColor/hover",
2207
+ "reference": "base/color/light/base/color/black",
2208
+ "collection": "mode",
2209
+ "mode": "light",
2210
+ "group": "component",
2211
+ "scopes": ["STROKE_COLOR"]
2212
+ },
2179
2213
  {
2180
2214
  "name": "button/outline/bgColor/disabled",
2181
2215
  "value": {
@@ -3467,30 +3501,14 @@
3467
3501
  {
3468
3502
  "name": "button/danger/borderColor/active",
3469
3503
  "value": {
3470
- "r": 0.8156862745098039,
3471
- "g": 0.8431372549019608,
3472
- "b": 0.8705882352941177,
3473
- "a": 1
3504
+ "r": 0.12156862745098039,
3505
+ "g": 0.13725490196078433,
3506
+ "b": 0.1568627450980392,
3507
+ "a": 0.15
3474
3508
  },
3475
3509
  "type": "COLOR",
3476
3510
  "refId": "mode/button/danger/borderColor/active",
3477
- "reference": "mode/borderColor/default",
3478
- "collection": "mode",
3479
- "mode": "light",
3480
- "group": "component",
3481
- "scopes": ["STROKE_COLOR"]
3482
- },
3483
- {
3484
- "name": "button/danger/borderColor/hover",
3485
- "value": {
3486
- "r": 0.8156862745098039,
3487
- "g": 0.8431372549019608,
3488
- "b": 0.8705882352941177,
3489
- "a": 1
3490
- },
3491
- "type": "COLOR",
3492
- "refId": "mode/button/danger/borderColor/hover",
3493
- "reference": "mode/borderColor/default",
3511
+ "reference": "mode/button/danger/borderColor/hover",
3494
3512
  "collection": "mode",
3495
3513
  "mode": "light",
3496
3514
  "group": "component",
@@ -3580,30 +3598,14 @@
3580
3598
  {
3581
3599
  "name": "button/outline/borderColor/active",
3582
3600
  "value": {
3583
- "r": 0.8156862745098039,
3584
- "g": 0.8431372549019608,
3585
- "b": 0.8705882352941177,
3586
- "a": 1
3601
+ "r": 0.12156862745098039,
3602
+ "g": 0.13725490196078433,
3603
+ "b": 0.1568627450980392,
3604
+ "a": 0.15
3587
3605
  },
3588
3606
  "type": "COLOR",
3589
3607
  "refId": "mode/button/outline/borderColor/active",
3590
- "reference": "mode/borderColor/default",
3591
- "collection": "mode",
3592
- "mode": "light",
3593
- "group": "component",
3594
- "scopes": ["STROKE_COLOR"]
3595
- },
3596
- {
3597
- "name": "button/outline/borderColor/hover",
3598
- "value": {
3599
- "r": 0.8156862745098039,
3600
- "g": 0.8431372549019608,
3601
- "b": 0.8705882352941177,
3602
- "a": 1
3603
- },
3604
- "type": "COLOR",
3605
- "refId": "mode/button/outline/borderColor/hover",
3606
- "reference": "mode/borderColor/default",
3608
+ "reference": "mode/button/outline/borderColor/hover",
3607
3609
  "collection": "mode",
3608
3610
  "mode": "light",
3609
3611
  "group": "component",
@@ -3771,6 +3773,38 @@
3771
3773
  "group": "component",
3772
3774
  "scopes": ["FRAME_FILL", "SHAPE_FILL"]
3773
3775
  },
3776
+ {
3777
+ "name": "button/invisible/iconColor/hover",
3778
+ "value": {
3779
+ "r": 0.38823529411764707,
3780
+ "g": 0.4235294117647059,
3781
+ "b": 0.4627450980392157,
3782
+ "a": 1
3783
+ },
3784
+ "type": "COLOR",
3785
+ "refId": "mode/button/invisible/iconColor/hover",
3786
+ "reference": "mode/fgColor/muted",
3787
+ "collection": "mode",
3788
+ "mode": "light",
3789
+ "group": "component",
3790
+ "scopes": ["TEXT_FILL", "SHAPE_FILL"]
3791
+ },
3792
+ {
3793
+ "name": "button/invisible/iconColor/rest",
3794
+ "value": {
3795
+ "r": 0.38823529411764707,
3796
+ "g": 0.4235294117647059,
3797
+ "b": 0.4627450980392157,
3798
+ "a": 1
3799
+ },
3800
+ "type": "COLOR",
3801
+ "refId": "mode/button/invisible/iconColor/rest",
3802
+ "reference": "mode/fgColor/muted",
3803
+ "collection": "mode",
3804
+ "mode": "light",
3805
+ "group": "component",
3806
+ "scopes": ["TEXT_FILL", "SHAPE_FILL"]
3807
+ },
3774
3808
  {
3775
3809
  "name": "button/invisible/fgColor/hover",
3776
3810
  "value": {
@@ -3819,6 +3853,22 @@
3819
3853
  "group": "component",
3820
3854
  "scopes": ["STROKE_COLOR"]
3821
3855
  },
3856
+ {
3857
+ "name": "button/primary/borderColor/active",
3858
+ "value": {
3859
+ "r": 0.12156862745098039,
3860
+ "g": 0.13725490196078433,
3861
+ "b": 0.1568627450980392,
3862
+ "a": 0.15
3863
+ },
3864
+ "type": "COLOR",
3865
+ "refId": "mode/button/primary/borderColor/active",
3866
+ "reference": "mode/button/primary/borderColor/rest",
3867
+ "collection": "mode",
3868
+ "mode": "light",
3869
+ "group": "component",
3870
+ "scopes": ["STROKE_COLOR"]
3871
+ },
3822
3872
  {
3823
3873
  "name": "button/primary/borderColor/hover",
3824
3874
  "value": {
@@ -4770,6 +4820,22 @@
4770
4820
  "group": "component",
4771
4821
  "scopes": ["FRAME_FILL", "SHAPE_FILL"]
4772
4822
  },
4823
+ {
4824
+ "name": "button/invisible/iconColor/disabled",
4825
+ "value": {
4826
+ "r": 0.5490196078431373,
4827
+ "g": 0.5843137254901961,
4828
+ "b": 0.6235294117647059,
4829
+ "a": 1
4830
+ },
4831
+ "type": "COLOR",
4832
+ "refId": "mode/button/invisible/iconColor/disabled",
4833
+ "reference": "mode/control/fgColor/disabled",
4834
+ "collection": "mode",
4835
+ "mode": "light",
4836
+ "group": "component",
4837
+ "scopes": ["TEXT_FILL", "SHAPE_FILL"]
4838
+ },
4773
4839
  {
4774
4840
  "name": "button/invisible/fgColor/disabled",
4775
4841
  "value": {
@@ -1,21 +1,17 @@
1
- @mixin primer-colors-size {
2
- & {
3
- --base-size-4: 0.25rem;
4
- --base-size-8: 0.5rem;
5
- --base-size-12: 0.75rem;
6
- --base-size-16: 1rem;
7
- --base-size-20: 1.25rem;
8
- --base-size-24: 1.5rem;
9
- --base-size-28: 1.75rem;
10
- --base-size-32: 2rem;
11
- --base-size-36: 2.25rem;
12
- --base-size-40: 2.5rem;
13
- --base-size-44: 2.75rem;
14
- --base-size-48: 3rem;
15
- --base-size-64: 4rem;
16
- --base-size-80: 5rem;
17
- --base-size-96: 6rem;
18
- --base-size-112: 7rem;
19
- --base-size-128: 8rem;
20
- }
21
- }
1
+ $base-size-4: 0.25rem;
2
+ $base-size-8: 0.5rem;
3
+ $base-size-12: 0.75rem;
4
+ $base-size-16: 1rem;
5
+ $base-size-20: 1.25rem;
6
+ $base-size-24: 1.5rem;
7
+ $base-size-28: 1.75rem;
8
+ $base-size-32: 2rem;
9
+ $base-size-36: 2.25rem;
10
+ $base-size-40: 2.5rem;
11
+ $base-size-44: 2.75rem;
12
+ $base-size-48: 3rem;
13
+ $base-size-64: 4rem;
14
+ $base-size-80: 5rem;
15
+ $base-size-96: 6rem;
16
+ $base-size-112: 7rem;
17
+ $base-size-128: 8rem;
@@ -1,8 +1,4 @@
1
- @mixin primer-colors-typography {
2
- & {
3
- --base-text-weight-light: 300;
4
- --base-text-weight-normal: 400;
5
- --base-text-weight-medium: 500;
6
- --base-text-weight-semibold: 600;
7
- }
8
- }
1
+ $base-text-weight-light: 300;
2
+ $base-text-weight-normal: 400;
3
+ $base-text-weight-medium: 500;
4
+ $base-text-weight-semibold: 600;
@@ -1,16 +1,12 @@
1
- @mixin primer-colors-border {
2
- & {
3
- --boxShadow-thin: inset 0 0 0 max(1px, 0.0625rem); /* Thin shadow for borders */
4
- --boxShadow-thick: inset 0 0 0 max(2px, 0.125rem);
5
- --boxShadow-thicker: inset 0 0 0 max(4px, 0.25rem);
6
- --borderWidth-thin: max(1px, 0.0625rem);
7
- --borderWidth-thick: max(2px, 0.125rem);
8
- --borderWidth-thicker: max(4px, 0.25rem);
9
- --borderRadius-small: 0.1875rem;
10
- --borderRadius-medium: 0.375rem;
11
- --borderRadius-large: 0.75rem;
12
- --borderRadius-full: 624.9375rem; /* Use this border radius for pill shaped elements */
13
- --outline-focus-offset: -0.125rem;
14
- --outline-focus-width: 0.125rem;
15
- }
16
- }
1
+ $boxShadow-thin: inset 0 0 0 max(1px, 0.0625rem); // Thin shadow for borders
2
+ $boxShadow-thick: inset 0 0 0 max(2px, 0.125rem);
3
+ $boxShadow-thicker: inset 0 0 0 max(4px, 0.25rem);
4
+ $borderWidth-thin: max(1px, 0.0625rem);
5
+ $borderWidth-thick: max(2px, 0.125rem);
6
+ $borderWidth-thicker: max(4px, 0.25rem);
7
+ $borderRadius-small: 0.1875rem;
8
+ $borderRadius-medium: 0.375rem;
9
+ $borderRadius-large: 0.75rem;
10
+ $borderRadius-full: 624.9375rem; // Use this border radius for pill shaped elements
11
+ $outline-focus-offset: -0.125rem;
12
+ $outline-focus-width: 0.125rem;
@@ -1,10 +1,6 @@
1
- @mixin primer-colors-breakpoints {
2
- & {
3
- --breakpoint-xsmall: 20rem;
4
- --breakpoint-small: 34rem;
5
- --breakpoint-medium: 48rem;
6
- --breakpoint-large: 63.25rem;
7
- --breakpoint-xlarge: 80rem;
8
- --breakpoint-xxlarge: 90rem;
9
- }
10
- }
1
+ $breakpoint-xsmall: 20rem;
2
+ $breakpoint-small: 34rem;
3
+ $breakpoint-medium: 48rem;
4
+ $breakpoint-large: 63.25rem;
5
+ $breakpoint-xlarge: 80rem;
6
+ $breakpoint-xxlarge: 90rem;
@@ -1,7 +1,3 @@
1
- @mixin primer-colors-size-coarse {
2
- & {
3
- --control-minTarget-auto: 2.75rem;
4
- --controlStack-small-gap-auto: 1rem;
5
- --controlStack-medium-gap-auto: 0.75rem;
6
- }
7
- }
1
+ $control-minTarget-auto: 2.75rem;
2
+ $controlStack-small-gap-auto: 1rem;
3
+ $controlStack-medium-gap-auto: 0.75rem;
@@ -1,7 +1,3 @@
1
- @mixin primer-colors-size-fine {
2
- & {
3
- --control-minTarget-auto: 1rem;
4
- --controlStack-small-gap-auto: 0.5rem;
5
- --controlStack-medium-gap-auto: 0.5rem;
6
- }
7
- }
1
+ $control-minTarget-auto: 1rem;
2
+ $controlStack-small-gap-auto: 0.5rem;
3
+ $controlStack-medium-gap-auto: 0.5rem;