@primer/primitives 10.0.0-rc.367a0502 → 10.0.0-rc.fd912e08
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.
- package/dist/css/functional/themes/dark-colorblind.css +4 -4
- package/dist/css/functional/themes/dark-high-contrast.css +20 -20
- package/dist/css/functional/themes/light-high-contrast.css +14 -14
- package/dist/css/functional/typography/typography.css +20 -20
- package/dist/css/primitives.css +20 -20
- package/dist/docs/base/size/size.json +76 -76
- package/dist/docs/base/typography/typography.json +16 -16
- package/dist/docs/functional/motion/motion.json +18 -18
- package/dist/docs/functional/size/border.json +56 -56
- package/dist/docs/functional/size/breakpoints.json +24 -24
- package/dist/docs/functional/size/size-coarse.json +12 -12
- package/dist/docs/functional/size/size-fine.json +12 -12
- package/dist/docs/functional/size/size.json +264 -264
- package/dist/docs/functional/size/viewport.json +24 -24
- package/dist/docs/functional/themes/dark-colorblind.json +2310 -3186
- package/dist/docs/functional/themes/dark-dimmed.json +2300 -2794
- package/dist/docs/functional/themes/dark-high-contrast.json +2520 -5038
- package/dist/docs/functional/themes/dark-tritanopia.json +2351 -3003
- package/dist/docs/functional/themes/dark.json +2270 -2270
- package/dist/docs/functional/themes/light-colorblind.json +2298 -3124
- package/dist/docs/functional/themes/light-high-contrast.json +2419 -4645
- package/dist/docs/functional/themes/light-tritanopia.json +2330 -2990
- package/dist/docs/functional/themes/light.json +2260 -2260
- package/dist/docs/functional/typography/typography.json +206 -206
- package/dist/figma/dimension/dimension.json +489 -489
- package/dist/figma/figma.json +11 -3
- package/dist/figma/scales/dark-dimmed.json +38 -38
- package/dist/figma/scales/dark-high-constrast.json +38 -38
- package/dist/figma/scales/dark.json +35 -35
- package/dist/figma/scales/light-high-constrast.json +40 -40
- package/dist/figma/scales/light.json +40 -40
- package/dist/figma/shadows/dark-colorblind.json +280 -280
- package/dist/figma/shadows/dark-dimmed.json +280 -280
- package/dist/figma/shadows/dark-high-contrast.json +280 -280
- package/dist/figma/shadows/dark-tritanopia.json +280 -280
- package/dist/figma/shadows/dark.json +280 -280
- package/dist/figma/shadows/light-colorblind.json +281 -281
- package/dist/figma/shadows/light-high-contrast.json +281 -281
- package/dist/figma/shadows/light-tritanopia.json +281 -281
- package/dist/figma/shadows/light.json +281 -281
- package/dist/figma/themes/dark-colorblind.json +4991 -5854
- package/dist/figma/themes/dark-dimmed.json +5314 -5799
- package/dist/figma/themes/dark-high-contrast.json +4210 -6679
- package/dist/figma/themes/dark-tritanopia.json +5165 -5817
- package/dist/figma/themes/dark.json +5534 -5537
- package/dist/figma/themes/light-colorblind.json +4857 -5669
- package/dist/figma/themes/light-high-contrast.json +4198 -6372
- package/dist/figma/themes/light-tritanopia.json +4901 -5529
- package/dist/figma/themes/light.json +5349 -5349
- package/dist/figma/typography/typography.json +112 -156
- package/dist/internalCss/dark-colorblind.css +4 -4
- package/dist/internalCss/dark-high-contrast.css +20 -20
- package/dist/internalCss/light-high-contrast.css +14 -14
- package/dist/styleLint/base/size/size.json +38 -38
- package/dist/styleLint/base/typography/typography.json +8 -8
- package/dist/styleLint/functional/motion/motion.json +12 -12
- package/dist/styleLint/functional/size/border.json +30 -30
- package/dist/styleLint/functional/size/breakpoints.json +12 -12
- package/dist/styleLint/functional/size/size-coarse.json +6 -6
- package/dist/styleLint/functional/size/size-fine.json +6 -6
- package/dist/styleLint/functional/size/size.json +132 -132
- package/dist/styleLint/functional/size/viewport.json +12 -12
- package/dist/styleLint/functional/themes/dark-colorblind.json +1171 -2047
- package/dist/styleLint/functional/themes/dark-dimmed.json +1160 -1654
- package/dist/styleLint/functional/themes/dark-high-contrast.json +1307 -3825
- package/dist/styleLint/functional/themes/dark-tritanopia.json +1232 -1884
- package/dist/styleLint/functional/themes/dark.json +1140 -1140
- package/dist/styleLint/functional/themes/light-colorblind.json +1198 -2024
- package/dist/styleLint/functional/themes/light-high-contrast.json +1270 -3496
- package/dist/styleLint/functional/themes/light-tritanopia.json +1205 -1865
- package/dist/styleLint/functional/themes/light.json +1130 -1130
- package/dist/styleLint/functional/typography/typography.json +114 -114
- package/package.json +10 -3
- package/src/tokens/functional/color/dark/overrides/dark.high-contrast.json5 +4 -4
- package/src/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 +6 -0
- package/src/tokens/functional/color/dark/overrides/dark.tritanopia.json5 +21 -3
- package/src/tokens/functional/color/dark/primitives-dark.json5 +3 -3
- package/src/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 +4 -1
- package/src/tokens/functional/color/light/overrides/light.tritanopia.json5 +4 -1
- package/src/tokens/functional/color/light/primitives-light.json5 +2 -2
|
@@ -1,80 +1,80 @@
|
|
|
1
1
|
{
|
|
2
2
|
"viewportRange-narrow": {
|
|
3
|
-
"value": "(max-width: calc(48rem - 0.02px))",
|
|
4
|
-
"$type": "custom-viewportRange",
|
|
5
3
|
"filePath": "src/tokens/functional/size/viewport.json",
|
|
6
4
|
"isSource": true,
|
|
7
5
|
"original": {
|
|
8
|
-
"value": "(max-width: calc({breakpoint.medium} - 0.02px))",
|
|
6
|
+
"$value": "(max-width: calc({breakpoint.medium} - 0.02px))",
|
|
9
7
|
"$type": "custom-viewportRange"
|
|
10
8
|
},
|
|
11
9
|
"name": "viewportRange-narrow",
|
|
12
10
|
"attributes": {},
|
|
13
|
-
"path": ["viewportRange", "narrow"]
|
|
11
|
+
"path": ["viewportRange", "narrow"],
|
|
12
|
+
"value": "(max-width: calc(48rem - 0.02px))",
|
|
13
|
+
"type": "custom-viewportRange"
|
|
14
14
|
},
|
|
15
15
|
"viewportRange-narrowLandscape": {
|
|
16
|
-
"value": "(max-width: calc(63.25rem - 0.02px) and (max-height: calc(34rem - 0.02px)) and (orientation: landscape))",
|
|
17
|
-
"$type": "custom-viewportRange",
|
|
18
16
|
"filePath": "src/tokens/functional/size/viewport.json",
|
|
19
17
|
"isSource": true,
|
|
20
18
|
"original": {
|
|
21
|
-
"value": "(max-width: calc({breakpoint.large} - 0.02px) and (max-height: calc({breakpoint.small} - 0.02px)) and (orientation: landscape))",
|
|
19
|
+
"$value": "(max-width: calc({breakpoint.large} - 0.02px) and (max-height: calc({breakpoint.small} - 0.02px)) and (orientation: landscape))",
|
|
22
20
|
"$type": "custom-viewportRange"
|
|
23
21
|
},
|
|
24
22
|
"name": "viewportRange-narrowLandscape",
|
|
25
23
|
"attributes": {},
|
|
26
|
-
"path": ["viewportRange", "narrowLandscape"]
|
|
24
|
+
"path": ["viewportRange", "narrowLandscape"],
|
|
25
|
+
"value": "(max-width: calc(63.25rem - 0.02px) and (max-height: calc(34rem - 0.02px)) and (orientation: landscape))",
|
|
26
|
+
"type": "custom-viewportRange"
|
|
27
27
|
},
|
|
28
28
|
"viewportRange-regular": {
|
|
29
|
-
"value": "(min-width: 48rem)",
|
|
30
|
-
"$type": "custom-viewportRange",
|
|
31
29
|
"filePath": "src/tokens/functional/size/viewport.json",
|
|
32
30
|
"isSource": true,
|
|
33
31
|
"original": {
|
|
34
|
-
"value": "(min-width: {breakpoint.medium})",
|
|
32
|
+
"$value": "(min-width: {breakpoint.medium})",
|
|
35
33
|
"$type": "custom-viewportRange"
|
|
36
34
|
},
|
|
37
35
|
"name": "viewportRange-regular",
|
|
38
36
|
"attributes": {},
|
|
39
|
-
"path": ["viewportRange", "regular"]
|
|
37
|
+
"path": ["viewportRange", "regular"],
|
|
38
|
+
"value": "(min-width: 48rem)",
|
|
39
|
+
"type": "custom-viewportRange"
|
|
40
40
|
},
|
|
41
41
|
"viewportRange-wide": {
|
|
42
|
-
"value": "(min-width: 87.5rem)",
|
|
43
|
-
"$type": "custom-viewportRange",
|
|
44
42
|
"filePath": "src/tokens/functional/size/viewport.json",
|
|
45
43
|
"isSource": true,
|
|
46
44
|
"original": {
|
|
47
|
-
"value": "(min-width: {breakpoint.xxlarge})",
|
|
45
|
+
"$value": "(min-width: {breakpoint.xxlarge})",
|
|
48
46
|
"$type": "custom-viewportRange"
|
|
49
47
|
},
|
|
50
48
|
"name": "viewportRange-wide",
|
|
51
49
|
"attributes": {},
|
|
52
|
-
"path": ["viewportRange", "wide"]
|
|
50
|
+
"path": ["viewportRange", "wide"],
|
|
51
|
+
"value": "(min-width: 87.5rem)",
|
|
52
|
+
"type": "custom-viewportRange"
|
|
53
53
|
},
|
|
54
54
|
"viewportRange-portrait": {
|
|
55
|
-
"value": "(orientation: portrait)",
|
|
56
|
-
"$type": "custom-viewportRange",
|
|
57
55
|
"filePath": "src/tokens/functional/size/viewport.json",
|
|
58
56
|
"isSource": true,
|
|
59
57
|
"original": {
|
|
60
|
-
"value": "(orientation: portrait)",
|
|
58
|
+
"$value": "(orientation: portrait)",
|
|
61
59
|
"$type": "custom-viewportRange"
|
|
62
60
|
},
|
|
63
61
|
"name": "viewportRange-portrait",
|
|
64
62
|
"attributes": {},
|
|
65
|
-
"path": ["viewportRange", "portrait"]
|
|
63
|
+
"path": ["viewportRange", "portrait"],
|
|
64
|
+
"value": "(orientation: portrait)",
|
|
65
|
+
"type": "custom-viewportRange"
|
|
66
66
|
},
|
|
67
67
|
"viewportRange-landscape": {
|
|
68
|
-
"value": "(orientation: landscape)",
|
|
69
|
-
"$type": "custom-viewportRange",
|
|
70
68
|
"filePath": "src/tokens/functional/size/viewport.json",
|
|
71
69
|
"isSource": true,
|
|
72
70
|
"original": {
|
|
73
|
-
"value": "(orientation: landscape)",
|
|
71
|
+
"$value": "(orientation: landscape)",
|
|
74
72
|
"$type": "custom-viewportRange"
|
|
75
73
|
},
|
|
76
74
|
"name": "viewportRange-landscape",
|
|
77
75
|
"attributes": {},
|
|
78
|
-
"path": ["viewportRange", "landscape"]
|
|
76
|
+
"path": ["viewportRange", "landscape"],
|
|
77
|
+
"value": "(orientation: landscape)",
|
|
78
|
+
"type": "custom-viewportRange"
|
|
79
79
|
}
|
|
80
80
|
}
|