@primer/primitives 10.3.0 → 10.3.1
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/build/schemas/colorToken.js +1 -1
- package/dist/css/functional/themes/dark-colorblind.css +14 -14
- package/dist/css/functional/themes/dark-high-contrast.css +4 -4
- package/dist/css/functional/themes/light-colorblind.css +16 -16
- package/dist/css/functional/themes/light-high-contrast.css +2 -2
- package/dist/css/functional/themes/light.css +4 -4
- package/dist/docs/functional/themes/dark-colorblind.json +963 -139
- package/dist/docs/functional/themes/dark-dimmed.json +819 -85
- package/dist/docs/functional/themes/dark-high-contrast.json +1039 -77
- package/dist/docs/functional/themes/dark-tritanopia.json +885 -55
- package/dist/docs/functional/themes/dark.json +723 -57
- package/dist/docs/functional/themes/light-colorblind.json +964 -136
- package/dist/docs/functional/themes/light-high-contrast.json +1069 -67
- package/dist/docs/functional/themes/light-tritanopia.json +880 -50
- package/dist/docs/functional/themes/light.json +716 -50
- package/dist/figma/figma.json +133 -0
- package/dist/figma/shadows/dark-colorblind.json +1152 -0
- package/dist/figma/shadows/dark-dimmed.json +1152 -0
- package/dist/figma/shadows/dark-high-contrast.json +1152 -0
- package/dist/figma/shadows/dark-tritanopia.json +1152 -0
- package/dist/figma/shadows/dark.json +1152 -0
- package/dist/figma/shadows/light-colorblind.json +1052 -0
- package/dist/figma/shadows/light-high-contrast.json +1052 -0
- package/dist/figma/shadows/light-tritanopia.json +1052 -0
- package/dist/figma/shadows/light.json +1052 -0
- package/dist/figma/themes/dark-colorblind.json +2886 -2733
- package/dist/figma/themes/dark-dimmed.json +2778 -2708
- package/dist/figma/themes/dark-high-contrast.json +697 -394
- package/dist/figma/themes/dark-tritanopia.json +2886 -2731
- package/dist/figma/themes/dark.json +3018 -3021
- package/dist/figma/themes/light-colorblind.json +2913 -2759
- package/dist/figma/themes/light-high-contrast.json +591 -250
- package/dist/figma/themes/light-tritanopia.json +2895 -2740
- package/dist/figma/themes/light.json +5496 -5499
- package/dist/internalCss/dark-colorblind.css +14 -14
- package/dist/internalCss/dark-high-contrast.css +4 -4
- package/dist/internalCss/light-colorblind.css +16 -16
- package/dist/internalCss/light-high-contrast.css +2 -2
- package/dist/internalCss/light.css +4 -4
- package/dist/styleLint/functional/themes/dark-colorblind.json +963 -139
- package/dist/styleLint/functional/themes/dark-dimmed.json +819 -85
- package/dist/styleLint/functional/themes/dark-high-contrast.json +1039 -77
- package/dist/styleLint/functional/themes/dark-tritanopia.json +885 -55
- package/dist/styleLint/functional/themes/dark.json +723 -57
- package/dist/styleLint/functional/themes/light-colorblind.json +979 -151
- package/dist/styleLint/functional/themes/light-high-contrast.json +1069 -67
- package/dist/styleLint/functional/themes/light-tritanopia.json +880 -50
- package/dist/styleLint/functional/themes/light.json +716 -50
- package/package.json +1 -1
- package/src/tokens/component/avatar.json5 +42 -0
- package/src/tokens/component/avatarStack.json5 +30 -0
- package/src/tokens/functional/color/borderColor.json5 +616 -0
- package/src/tokens/functional/color/dark/overrides/dark.dimmed.json5 +0 -23
- package/src/tokens/functional/color/dark/overrides/dark.high-contrast.json5 +0 -102
- package/src/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 +8 -55
- package/src/tokens/functional/color/dark/overrides/dark.tritanopia.json5 +0 -46
- package/src/tokens/functional/color/dark/patterns-dark.json5 +0 -53
- package/src/tokens/functional/color/dark/primitives-dark.json5 +0 -438
- package/src/tokens/functional/color/light/overrides/light.high-contrast.json5 +0 -110
- package/src/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 +2 -48
- package/src/tokens/functional/color/light/overrides/light.tritanopia.json5 +0 -46
- package/src/tokens/functional/color/light/patterns-light.json5 +0 -52
- package/src/tokens/functional/color/light/primitives-light.json5 +0 -411
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
{
|
|
2
|
+
"collections": {
|
|
3
|
+
"base/size": {
|
|
4
|
+
"modes": [
|
|
5
|
+
"default"
|
|
6
|
+
],
|
|
7
|
+
"groups": [
|
|
8
|
+
"base/size"
|
|
9
|
+
]
|
|
10
|
+
},
|
|
11
|
+
"functional/size": {
|
|
12
|
+
"modes": [
|
|
13
|
+
"default"
|
|
14
|
+
],
|
|
15
|
+
"groups": [
|
|
16
|
+
"functional/size"
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
"pattern/size": {
|
|
20
|
+
"modes": [
|
|
21
|
+
"default"
|
|
22
|
+
],
|
|
23
|
+
"groups": [
|
|
24
|
+
"pattern/size",
|
|
25
|
+
"component"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"base/color/dark-dimmed": {
|
|
29
|
+
"modes": [
|
|
30
|
+
"default"
|
|
31
|
+
],
|
|
32
|
+
"groups": [
|
|
33
|
+
"base/color/dark-dimmed"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"base/color/dark": {
|
|
37
|
+
"modes": [
|
|
38
|
+
"default"
|
|
39
|
+
],
|
|
40
|
+
"groups": [
|
|
41
|
+
"base/color/dark"
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
"base/color/dark-high-contrast": {
|
|
45
|
+
"modes": [
|
|
46
|
+
"default"
|
|
47
|
+
],
|
|
48
|
+
"groups": [
|
|
49
|
+
"base/color/dark-high-contrast"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"base/color/light-high-contrast": {
|
|
53
|
+
"modes": [
|
|
54
|
+
"default"
|
|
55
|
+
],
|
|
56
|
+
"groups": [
|
|
57
|
+
"base/color/light-high-contrast"
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
"base/color/light": {
|
|
61
|
+
"modes": [
|
|
62
|
+
"default"
|
|
63
|
+
],
|
|
64
|
+
"groups": [
|
|
65
|
+
"base/color/light"
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
"mode": {
|
|
69
|
+
"modes": [
|
|
70
|
+
"light",
|
|
71
|
+
"dark",
|
|
72
|
+
"dark dimmed",
|
|
73
|
+
"light high contrast",
|
|
74
|
+
"dark high contrast",
|
|
75
|
+
"light protanopia deuteranopia",
|
|
76
|
+
"dark protanopia deuteranopia",
|
|
77
|
+
"light tritanopia",
|
|
78
|
+
"dark tritanopia"
|
|
79
|
+
],
|
|
80
|
+
"groups": [
|
|
81
|
+
"component shadow",
|
|
82
|
+
"shadow",
|
|
83
|
+
"component (internal)",
|
|
84
|
+
"component",
|
|
85
|
+
"semantic",
|
|
86
|
+
"syntax"
|
|
87
|
+
]
|
|
88
|
+
},
|
|
89
|
+
"base/typography": {
|
|
90
|
+
"modes": [
|
|
91
|
+
"default"
|
|
92
|
+
],
|
|
93
|
+
"groups": [
|
|
94
|
+
"base/typography"
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
"typography": {
|
|
98
|
+
"modes": [
|
|
99
|
+
"default"
|
|
100
|
+
],
|
|
101
|
+
"groups": [
|
|
102
|
+
"typography"
|
|
103
|
+
]
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"files": [
|
|
107
|
+
"dist/figma/dimension/dimension.json",
|
|
108
|
+
"dist/figma/scales/dark-dimmed.json",
|
|
109
|
+
"dist/figma/scales/dark-high-constrast.json",
|
|
110
|
+
"dist/figma/scales/dark.json",
|
|
111
|
+
"dist/figma/scales/light-high-constrast.json",
|
|
112
|
+
"dist/figma/scales/light.json",
|
|
113
|
+
"dist/figma/shadows/dark-colorblind.json",
|
|
114
|
+
"dist/figma/shadows/dark-dimmed.json",
|
|
115
|
+
"dist/figma/shadows/dark-high-contrast.json",
|
|
116
|
+
"dist/figma/shadows/dark-tritanopia.json",
|
|
117
|
+
"dist/figma/shadows/dark.json",
|
|
118
|
+
"dist/figma/shadows/light-colorblind.json",
|
|
119
|
+
"dist/figma/shadows/light-high-contrast.json",
|
|
120
|
+
"dist/figma/shadows/light-tritanopia.json",
|
|
121
|
+
"dist/figma/shadows/light.json",
|
|
122
|
+
"dist/figma/themes/dark-colorblind.json",
|
|
123
|
+
"dist/figma/themes/dark-dimmed.json",
|
|
124
|
+
"dist/figma/themes/dark-high-contrast.json",
|
|
125
|
+
"dist/figma/themes/dark-tritanopia.json",
|
|
126
|
+
"dist/figma/themes/dark.json",
|
|
127
|
+
"dist/figma/themes/light-colorblind.json",
|
|
128
|
+
"dist/figma/themes/light-high-contrast.json",
|
|
129
|
+
"dist/figma/themes/light-tritanopia.json",
|
|
130
|
+
"dist/figma/themes/light.json",
|
|
131
|
+
"dist/figma/typography/typography.json"
|
|
132
|
+
]
|
|
133
|
+
}
|