@primer/primitives 7.13.0 → 7.13.1-rc.4461d84

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 (92) hide show
  1. package/package.json +1 -1
  2. package/tokens-next-private/css/functional/themes/dark-colorblind.css +10 -10
  3. package/tokens-next-private/css/functional/themes/dark-dimmed.css +10 -10
  4. package/tokens-next-private/css/functional/themes/dark-high-contrast.css +10 -10
  5. package/tokens-next-private/css/functional/themes/dark-tritanopia.css +10 -10
  6. package/tokens-next-private/css/functional/themes/dark.css +10 -10
  7. package/tokens-next-private/css/functional/themes/light-colorblind.css +10 -10
  8. package/tokens-next-private/css/functional/themes/light-high-contrast.css +10 -10
  9. package/tokens-next-private/css/functional/themes/light-tritanopia.css +10 -10
  10. package/tokens-next-private/css/functional/themes/light.css +10 -10
  11. package/tokens-next-private/docs/functional/themes/dark-colorblind.json +46 -34
  12. package/tokens-next-private/docs/functional/themes/dark-dimmed.json +45 -33
  13. package/tokens-next-private/docs/functional/themes/dark-high-contrast.json +47 -33
  14. package/tokens-next-private/docs/functional/themes/dark-tritanopia.json +45 -33
  15. package/tokens-next-private/docs/functional/themes/dark.json +45 -33
  16. package/tokens-next-private/docs/functional/themes/light-colorblind.json +43 -31
  17. package/tokens-next-private/docs/functional/themes/light-high-contrast.json +45 -31
  18. package/tokens-next-private/docs/functional/themes/light-tritanopia.json +43 -31
  19. package/tokens-next-private/docs/functional/themes/light.json +43 -31
  20. package/tokens-next-private/figma/themes/dark.json +90 -72
  21. package/tokens-next-private/figma/themes/light.json +60 -42
  22. package/tokens-next-private/scss/base/size/size.scss +17 -21
  23. package/tokens-next-private/scss/base/typography/typography.scss +4 -8
  24. package/tokens-next-private/scss/functional/size/border.scss +12 -16
  25. package/tokens-next-private/scss/functional/size/breakpoints.scss +6 -10
  26. package/tokens-next-private/scss/functional/size/size-coarse.scss +3 -7
  27. package/tokens-next-private/scss/functional/size/size-fine.scss +3 -7
  28. package/tokens-next-private/scss/functional/size/size.scss +67 -71
  29. package/tokens-next-private/scss/functional/size/viewport.scss +6 -19
  30. package/tokens-next-private/scss/functional/themes/dark-colorblind.scss +413 -417
  31. package/tokens-next-private/scss/functional/themes/dark-dimmed.scss +413 -417
  32. package/tokens-next-private/scss/functional/themes/dark-high-contrast.scss +413 -417
  33. package/tokens-next-private/scss/functional/themes/dark-tritanopia.scss +413 -417
  34. package/tokens-next-private/scss/functional/themes/dark.scss +413 -417
  35. package/tokens-next-private/scss/functional/themes/light-colorblind.scss +413 -417
  36. package/tokens-next-private/scss/functional/themes/light-high-contrast.scss +413 -417
  37. package/tokens-next-private/scss/functional/themes/light-tritanopia.scss +413 -417
  38. package/tokens-next-private/scss/functional/themes/light.scss +413 -417
  39. package/tokens-next-private/scss/functional/typography/typography.scss +45 -49
  40. package/tokens-v2-private/css/tokens/base/size/size.css +1 -1
  41. package/tokens-v2-private/css/tokens/base/typography/typography.css +1 -1
  42. package/tokens-v2-private/css/tokens/functional/size/border.css +1 -1
  43. package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +1 -1
  44. package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +1 -1
  45. package/tokens-v2-private/css/tokens/functional/size/size-fine.css +1 -1
  46. package/tokens-v2-private/css/tokens/functional/size/size.css +1 -1
  47. package/tokens-v2-private/css/tokens/functional/typography/typography.css +1 -1
  48. package/tokens-v2-private/js/module/tokens/base/size/size.js +1 -1
  49. package/tokens-v2-private/js/module/tokens/base/typography/typography.js +1 -1
  50. package/tokens-v2-private/js/module/tokens/functional/size/border.js +1 -1
  51. package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +1 -1
  52. package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +1 -1
  53. package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +1 -1
  54. package/tokens-v2-private/js/module/tokens/functional/size/size.js +1 -1
  55. package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +1 -1
  56. package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +1 -1
  57. package/tokens-v2-private/js/tokens/base/size/size.js +1 -1
  58. package/tokens-v2-private/js/tokens/base/typography/typography.js +1 -1
  59. package/tokens-v2-private/js/tokens/functional/size/border.js +1 -1
  60. package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +1 -1
  61. package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +1 -1
  62. package/tokens-v2-private/js/tokens/functional/size/size-fine.js +1 -1
  63. package/tokens-v2-private/js/tokens/functional/size/size.js +1 -1
  64. package/tokens-v2-private/js/tokens/functional/size/viewport.js +1 -1
  65. package/tokens-v2-private/js/tokens/functional/typography/typography.js +1 -1
  66. package/tokens-v2-private/scss/tokens/base/size/size.scss +1 -1
  67. package/tokens-v2-private/scss/tokens/base/typography/typography.scss +1 -1
  68. package/tokens-v2-private/scss/tokens/functional/size/border.scss +1 -1
  69. package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +1 -1
  70. package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +1 -1
  71. package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +1 -1
  72. package/tokens-v2-private/scss/tokens/functional/size/size.scss +1 -1
  73. package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +1 -1
  74. package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +1 -1
  75. package/tokens-v2-private/ts/tokens/base/size/size.d.ts +1 -1
  76. package/tokens-v2-private/ts/tokens/base/size/size.js +1 -1
  77. package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +1 -1
  78. package/tokens-v2-private/ts/tokens/base/typography/typography.js +1 -1
  79. package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +1 -1
  80. package/tokens-v2-private/ts/tokens/functional/size/border.js +1 -1
  81. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  82. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +1 -1
  83. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  84. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +1 -1
  85. package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +1 -1
  86. package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +1 -1
  87. package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +1 -1
  88. package/tokens-v2-private/ts/tokens/functional/size/size.js +1 -1
  89. package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +1 -1
  90. package/tokens-v2-private/ts/tokens/functional/size/viewport.js +1 -1
  91. package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +1 -1
  92. package/tokens-v2-private/ts/tokens/functional/typography/typography.js +1 -1
@@ -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",
@@ -3819,6 +3821,22 @@
3819
3821
  "group": "component",
3820
3822
  "scopes": ["STROKE_COLOR"]
3821
3823
  },
3824
+ {
3825
+ "name": "button/primary/borderColor/active",
3826
+ "value": {
3827
+ "r": 0.12156862745098039,
3828
+ "g": 0.13725490196078433,
3829
+ "b": 0.1568627450980392,
3830
+ "a": 0.15
3831
+ },
3832
+ "type": "COLOR",
3833
+ "refId": "mode/button/primary/borderColor/active",
3834
+ "reference": "mode/button/primary/borderColor/rest",
3835
+ "collection": "mode",
3836
+ "mode": "light",
3837
+ "group": "component",
3838
+ "scopes": ["STROKE_COLOR"]
3839
+ },
3822
3840
  {
3823
3841
  "name": "button/primary/borderColor/hover",
3824
3842
  "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;
@@ -1,71 +1,67 @@
1
- @mixin primer-colors-size {
2
- & {
3
- --control-minTarget-fine: 1rem;
4
- --control-minTarget-coarse: 2.75rem;
5
- --control-xsmall-size: 1.5rem;
6
- --control-xsmall-lineBoxHeight: 1.25rem;
7
- --control-xsmall-paddingBlock: 0.125rem;
8
- --control-xsmall-paddingInline-condensed: 0.25rem;
9
- --control-xsmall-paddingInline-normal: 0.5rem;
10
- --control-xsmall-paddingInline-spacious: 0.75rem;
11
- --control-xsmall-gap: 0.25rem;
12
- --control-small-size: 1.75rem;
13
- --control-small-lineBoxHeight: 1.25rem;
14
- --control-small-paddingBlock: 0.25rem;
15
- --control-small-paddingInline-condensed: 0.5rem;
16
- --control-small-paddingInline-normal: 0.75rem;
17
- --control-small-gap: 0.25rem;
18
- --control-medium-size: 2rem;
19
- --control-medium-lineBoxHeight: 1.25rem;
20
- --control-medium-paddingBlock: 0.375rem;
21
- --control-medium-paddingInline-condensed: 0.5rem;
22
- --control-medium-paddingInline-normal: 0.75rem;
23
- --control-medium-paddingInline-spacious: 1rem;
24
- --control-medium-gap: 0.5rem;
25
- --control-large-size: 2.5rem;
26
- --control-large-lineBoxHeight: 1.25rem;
27
- --control-large-paddingBlock: 0.625rem;
28
- --control-large-paddingInline-normal: 0.75rem;
29
- --control-large-paddingInline-spacious: 1rem;
30
- --control-large-gap: 0.5rem;
31
- --control-xlarge-size: 3rem;
32
- --control-xlarge-lineBoxHeight: 1.25rem;
33
- --control-xlarge-paddingBlock: 0.875rem;
34
- --control-xlarge-paddingInline-normal: 0.75rem;
35
- --control-xlarge-paddingInline-spacious: 1rem;
36
- --control-xlarge-gap: 0.5rem;
37
- --controlStack-small-gap-condensed: 0.5rem;
38
- --controlStack-small-gap-spacious: 1rem;
39
- --controlStack-medium-gap-condensed: 0.5rem;
40
- --controlStack-medium-gap-spacious: 0.75rem;
41
- --controlStack-large-gap-auto: 0.5rem;
42
- --controlStack-large-gap-condensed: 0.5rem;
43
- --controlStack-large-gap-spacious: 0.75rem;
44
- --space-xxsmall: 0.125rem;
45
- --space-xsmall: 0.25rem;
46
- --space-small: 0.375rem;
47
- --space-medium: 0.5rem;
48
- --space-large: 0.75rem;
49
- --space-xlarge: 1rem;
50
- --stack-padding-condensed: 0.5rem;
51
- --stack-padding-normal: 1rem;
52
- --stack-padding-spacious: 1.5rem;
53
- --stack-gap-condensed: 0.5rem;
54
- --stack-gap-normal: 1rem;
55
- --stack-gap-spacious: 1.5rem;
56
- --overlay-width-xsmall: 12rem;
57
- --overlay-width-small: 20rem;
58
- --overlay-width-medium: 30rem;
59
- --overlay-width-large: 40rem;
60
- --overlay-width-xlarge: 60rem;
61
- --overlay-height-small: 16rem;
62
- --overlay-height-medium: 20rem;
63
- --overlay-height-large: 27rem;
64
- --overlay-height-xlarge: 37.5rem;
65
- --overlay-padding-normal: 1rem;
66
- --overlay-padding-condensed: 0.5rem;
67
- --overlay-paddingBlock-condensed: 0.25rem;
68
- --overlay-paddingBlock-normal: 0.75rem;
69
- --overlay-borderRadius: 0.375rem;
70
- }
71
- }
1
+ $control-minTarget-fine: 1rem;
2
+ $control-minTarget-coarse: 2.75rem;
3
+ $control-xsmall-size: 1.5rem;
4
+ $control-xsmall-lineBoxHeight: 1.25rem;
5
+ $control-xsmall-paddingBlock: 0.125rem;
6
+ $control-xsmall-paddingInline-condensed: 0.25rem;
7
+ $control-xsmall-paddingInline-normal: 0.5rem;
8
+ $control-xsmall-paddingInline-spacious: 0.75rem;
9
+ $control-xsmall-gap: 0.25rem;
10
+ $control-small-size: 1.75rem;
11
+ $control-small-lineBoxHeight: 1.25rem;
12
+ $control-small-paddingBlock: 0.25rem;
13
+ $control-small-paddingInline-condensed: 0.5rem;
14
+ $control-small-paddingInline-normal: 0.75rem;
15
+ $control-small-gap: 0.25rem;
16
+ $control-medium-size: 2rem;
17
+ $control-medium-lineBoxHeight: 1.25rem;
18
+ $control-medium-paddingBlock: 0.375rem;
19
+ $control-medium-paddingInline-condensed: 0.5rem;
20
+ $control-medium-paddingInline-normal: 0.75rem;
21
+ $control-medium-paddingInline-spacious: 1rem;
22
+ $control-medium-gap: 0.5rem;
23
+ $control-large-size: 2.5rem;
24
+ $control-large-lineBoxHeight: 1.25rem;
25
+ $control-large-paddingBlock: 0.625rem;
26
+ $control-large-paddingInline-normal: 0.75rem;
27
+ $control-large-paddingInline-spacious: 1rem;
28
+ $control-large-gap: 0.5rem;
29
+ $control-xlarge-size: 3rem;
30
+ $control-xlarge-lineBoxHeight: 1.25rem;
31
+ $control-xlarge-paddingBlock: 0.875rem;
32
+ $control-xlarge-paddingInline-normal: 0.75rem;
33
+ $control-xlarge-paddingInline-spacious: 1rem;
34
+ $control-xlarge-gap: 0.5rem;
35
+ $controlStack-small-gap-condensed: 0.5rem;
36
+ $controlStack-small-gap-spacious: 1rem;
37
+ $controlStack-medium-gap-condensed: 0.5rem;
38
+ $controlStack-medium-gap-spacious: 0.75rem;
39
+ $controlStack-large-gap-auto: 0.5rem;
40
+ $controlStack-large-gap-condensed: 0.5rem;
41
+ $controlStack-large-gap-spacious: 0.75rem;
42
+ $space-xxsmall: 0.125rem;
43
+ $space-xsmall: 0.25rem;
44
+ $space-small: 0.375rem;
45
+ $space-medium: 0.5rem;
46
+ $space-large: 0.75rem;
47
+ $space-xlarge: 1rem;
48
+ $stack-padding-condensed: 0.5rem;
49
+ $stack-padding-normal: 1rem;
50
+ $stack-padding-spacious: 1.5rem;
51
+ $stack-gap-condensed: 0.5rem;
52
+ $stack-gap-normal: 1rem;
53
+ $stack-gap-spacious: 1.5rem;
54
+ $overlay-width-xsmall: 12rem;
55
+ $overlay-width-small: 20rem;
56
+ $overlay-width-medium: 30rem;
57
+ $overlay-width-large: 40rem;
58
+ $overlay-width-xlarge: 60rem;
59
+ $overlay-height-small: 16rem;
60
+ $overlay-height-medium: 20rem;
61
+ $overlay-height-large: 27rem;
62
+ $overlay-height-xlarge: 37.5rem;
63
+ $overlay-padding-normal: 1rem;
64
+ $overlay-padding-condensed: 0.5rem;
65
+ $overlay-paddingBlock-condensed: 0.25rem;
66
+ $overlay-paddingBlock-normal: 0.75rem;
67
+ $overlay-borderRadius: 0.375rem;
@@ -1,19 +1,6 @@
1
- @mixin primer-colors-viewport {
2
- & {
3
- --viewportRange-narrow: (max-width: calc(48rem - 0.02px));
4
- --viewportRange-narrowLandscape: (
5
- max-width: calc(63.25rem - 0.02px) and
6
- (
7
- max-height: calc(34rem - 0.02px),
8
- )
9
- and
10
- (
11
- orientation: landscape,
12
- )
13
- );
14
- --viewportRange-regular: (min-width: 48rem);
15
- --viewportRange-wide: (min-width: 90rem);
16
- --viewportRange-portrait: (orientation: portrait);
17
- --viewportRange-landscape: (orientation: landscape);
18
- }
19
- }
1
+ $viewportRange-narrow: (max-width: calc(48rem - 0.02px));
2
+ $viewportRange-narrowLandscape: (max-width: calc(63.25rem - 0.02px) and (max-height: calc(34rem - 0.02px)) and (orientation: landscape));
3
+ $viewportRange-regular: (min-width: 48rem);
4
+ $viewportRange-wide: (min-width: 90rem);
5
+ $viewportRange-portrait: (orientation: portrait);
6
+ $viewportRange-landscape: (orientation: landscape);