@primer/brand-primitives 0.17.0 → 0.17.1-rc.674f9db
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/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/base/colors/color-scales.css +1 -1
- package/lib/design-tokens/css/tokens/base/size/size.css +1 -1
- package/lib/design-tokens/css/tokens/base/typography/typography.css +1 -1
- package/lib/design-tokens/css/tokens/functional/colors/global-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/colors/global.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/accordion/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/action-menu/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/anchor-nav/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/button/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/card/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/card/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/card/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/comparison-table/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/control/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/cta-banner/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/footer/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/footer/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/grid/colors-with-modes.css +3 -3
- package/lib/design-tokens/css/tokens/functional/components/grid/colors.css +2 -2
- package/lib/design-tokens/css/tokens/functional/components/grid/grid.css +9 -9
- package/lib/design-tokens/css/tokens/functional/components/hero/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/image/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/inline-link/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/inline-link/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/label/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/label/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/river/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/subdomain-nav-bar/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/border.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/breakpoints.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/size-coarse.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/size-fine.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/size.css +1 -1
- package/lib/design-tokens/css/tokens/functional/typography/typography-responsive.css +1 -1
- package/lib/design-tokens/css/tokens/functional/typography/typography.css +1 -1
- package/lib/design-tokens/js/module/tokens/base/colors/color-scales.js +1 -1
- package/lib/design-tokens/js/module/tokens/base/size/size.js +1 -1
- package/lib/design-tokens/js/module/tokens/base/typography/typography.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/colors/global.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/card/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/card/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/control/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/faq/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/faq/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/footer/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/grid/colors.js +23 -20
- package/lib/design-tokens/js/module/tokens/functional/components/grid/grid.js +77 -72
- package/lib/design-tokens/js/module/tokens/functional/components/hero/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/image/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/inline-link/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/label/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/river/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/border.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/breakpoints.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/size-coarse.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/size-fine.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/size.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/viewport.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/typography/typography-responsive.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/typography/typography.js +1 -1
- package/lib/design-tokens/js/tokens/base/colors/color-scales.js +1 -1
- package/lib/design-tokens/js/tokens/base/size/size.js +1 -1
- package/lib/design-tokens/js/tokens/base/typography/typography.js +1 -1
- package/lib/design-tokens/js/tokens/functional/colors/global.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/card/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/card/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/control/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/faq/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/faq/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/footer/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/grid/colors.js +2 -2
- package/lib/design-tokens/js/tokens/functional/components/grid/grid.js +4 -4
- package/lib/design-tokens/js/tokens/functional/components/hero/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/image/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/inline-link/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/label/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/river/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/border.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/breakpoints.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/size-coarse.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/size-fine.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/size.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/viewport.js +1 -1
- package/lib/design-tokens/js/tokens/functional/typography/typography-responsive.js +1 -1
- package/lib/design-tokens/js/tokens/functional/typography/typography.js +1 -1
- package/lib/design-tokens/ts/tokens/base/colors/color-scales.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/base/colors/color-scales.js +1 -1
- package/lib/design-tokens/ts/tokens/base/size/size.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/base/size/size.js +1 -1
- package/lib/design-tokens/ts/tokens/base/typography/typography.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/base/typography/typography.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/colors/global.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/colors/global.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/card/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/card/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/card/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/card/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/control/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/control/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/footer/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/footer/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/grid/colors.d.ts +7 -5
- package/lib/design-tokens/ts/tokens/functional/components/grid/colors.js +7 -5
- package/lib/design-tokens/ts/tokens/functional/components/grid/grid.d.ts +10 -8
- package/lib/design-tokens/ts/tokens/functional/components/grid/grid.js +10 -8
- package/lib/design-tokens/ts/tokens/functional/components/hero/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/hero/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/image/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/image/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/label/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/label/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/river/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/river/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/border.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/border.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/breakpoints.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/breakpoints.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-coarse.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-coarse.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-fine.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-fine.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/viewport.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/viewport.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography.js +1 -1
- package/package.json +1 -1
|
@@ -1,23 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 03 May 2023 12:13:36 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
module.exports = {
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"responsive": {
|
|
12
|
-
"768px": {
|
|
13
|
-
"value": "var(--base-size-24)",
|
|
14
|
-
"filePath": "tokens/functional/components/grid/grid.json",
|
|
15
|
-
"isSource": true
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
"filePath": "tokens/functional/components/grid/grid.json",
|
|
19
|
-
"isSource": true,
|
|
20
|
-
"original": {
|
|
7
|
+
"brand": {
|
|
8
|
+
"Grid": {
|
|
9
|
+
"spacing": {
|
|
10
|
+
"row": {
|
|
21
11
|
"value": "var(--base-size-16)",
|
|
22
12
|
"responsive": {
|
|
23
13
|
"768px": {
|
|
@@ -25,27 +15,81 @@ module.exports = {
|
|
|
25
15
|
"filePath": "tokens/functional/components/grid/grid.json",
|
|
26
16
|
"isSource": true
|
|
27
17
|
}
|
|
18
|
+
},
|
|
19
|
+
"filePath": "tokens/functional/components/grid/grid.json",
|
|
20
|
+
"isSource": true,
|
|
21
|
+
"original": {
|
|
22
|
+
"value": "var(--base-size-16)",
|
|
23
|
+
"responsive": {
|
|
24
|
+
"768px": {
|
|
25
|
+
"value": "var(--base-size-24)",
|
|
26
|
+
"filePath": "tokens/functional/components/grid/grid.json",
|
|
27
|
+
"isSource": true
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"name": "row",
|
|
32
|
+
"attributes": {},
|
|
33
|
+
"path": [
|
|
34
|
+
"brand",
|
|
35
|
+
"Grid",
|
|
36
|
+
"spacing",
|
|
37
|
+
"row"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
"column": {
|
|
41
|
+
"gap": {
|
|
42
|
+
"value": "var(--base-size-16)",
|
|
43
|
+
"responsive": {
|
|
44
|
+
"768px": {
|
|
45
|
+
"value": "var(--base-size-32)",
|
|
46
|
+
"filePath": "tokens/functional/components/grid/grid.json",
|
|
47
|
+
"isSource": true
|
|
48
|
+
},
|
|
49
|
+
"1280px": {
|
|
50
|
+
"value": "var(--base-size-48)",
|
|
51
|
+
"filePath": "tokens/functional/components/grid/grid.json",
|
|
52
|
+
"isSource": true
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"filePath": "tokens/functional/components/grid/grid.json",
|
|
56
|
+
"isSource": true,
|
|
57
|
+
"original": {
|
|
58
|
+
"value": "var(--base-size-16)",
|
|
59
|
+
"responsive": {
|
|
60
|
+
"768px": {
|
|
61
|
+
"value": "var(--base-size-32)",
|
|
62
|
+
"filePath": "tokens/functional/components/grid/grid.json",
|
|
63
|
+
"isSource": true
|
|
64
|
+
},
|
|
65
|
+
"1280px": {
|
|
66
|
+
"value": "var(--base-size-48)",
|
|
67
|
+
"filePath": "tokens/functional/components/grid/grid.json",
|
|
68
|
+
"isSource": true
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"name": "gap",
|
|
73
|
+
"attributes": {},
|
|
74
|
+
"path": [
|
|
75
|
+
"brand",
|
|
76
|
+
"Grid",
|
|
77
|
+
"spacing",
|
|
78
|
+
"column",
|
|
79
|
+
"gap"
|
|
80
|
+
]
|
|
28
81
|
}
|
|
29
82
|
},
|
|
30
|
-
"
|
|
31
|
-
"attributes": {},
|
|
32
|
-
"path": [
|
|
33
|
-
"grid",
|
|
34
|
-
"spacing",
|
|
35
|
-
"row"
|
|
36
|
-
]
|
|
37
|
-
},
|
|
38
|
-
"column": {
|
|
39
|
-
"gap": {
|
|
83
|
+
"margin": {
|
|
40
84
|
"value": "var(--base-size-16)",
|
|
41
85
|
"responsive": {
|
|
42
86
|
"768px": {
|
|
43
|
-
"value": "var(--base-size-
|
|
87
|
+
"value": "var(--base-size-40)",
|
|
44
88
|
"filePath": "tokens/functional/components/grid/grid.json",
|
|
45
89
|
"isSource": true
|
|
46
90
|
},
|
|
47
91
|
"1280px": {
|
|
48
|
-
"value": "var(--base-size-
|
|
92
|
+
"value": "var(--base-size-16)",
|
|
49
93
|
"filePath": "tokens/functional/components/grid/grid.json",
|
|
50
94
|
"isSource": true
|
|
51
95
|
}
|
|
@@ -56,65 +100,26 @@ module.exports = {
|
|
|
56
100
|
"value": "var(--base-size-16)",
|
|
57
101
|
"responsive": {
|
|
58
102
|
"768px": {
|
|
59
|
-
"value": "var(--base-size-
|
|
103
|
+
"value": "var(--base-size-40)",
|
|
60
104
|
"filePath": "tokens/functional/components/grid/grid.json",
|
|
61
105
|
"isSource": true
|
|
62
106
|
},
|
|
63
107
|
"1280px": {
|
|
64
|
-
"value": "var(--base-size-
|
|
108
|
+
"value": "var(--base-size-16)",
|
|
65
109
|
"filePath": "tokens/functional/components/grid/grid.json",
|
|
66
110
|
"isSource": true
|
|
67
111
|
}
|
|
68
112
|
}
|
|
69
113
|
},
|
|
70
|
-
"name": "
|
|
114
|
+
"name": "margin",
|
|
71
115
|
"attributes": {},
|
|
72
116
|
"path": [
|
|
73
|
-
"
|
|
117
|
+
"brand",
|
|
118
|
+
"Grid",
|
|
74
119
|
"spacing",
|
|
75
|
-
"
|
|
76
|
-
"gap"
|
|
120
|
+
"margin"
|
|
77
121
|
]
|
|
78
122
|
}
|
|
79
|
-
},
|
|
80
|
-
"margin": {
|
|
81
|
-
"value": "var(--base-size-16)",
|
|
82
|
-
"responsive": {
|
|
83
|
-
"768px": {
|
|
84
|
-
"value": "var(--base-size-40)",
|
|
85
|
-
"filePath": "tokens/functional/components/grid/grid.json",
|
|
86
|
-
"isSource": true
|
|
87
|
-
},
|
|
88
|
-
"1280px": {
|
|
89
|
-
"value": "var(--base-size-16)",
|
|
90
|
-
"filePath": "tokens/functional/components/grid/grid.json",
|
|
91
|
-
"isSource": true
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
"filePath": "tokens/functional/components/grid/grid.json",
|
|
95
|
-
"isSource": true,
|
|
96
|
-
"original": {
|
|
97
|
-
"value": "var(--base-size-16)",
|
|
98
|
-
"responsive": {
|
|
99
|
-
"768px": {
|
|
100
|
-
"value": "var(--base-size-40)",
|
|
101
|
-
"filePath": "tokens/functional/components/grid/grid.json",
|
|
102
|
-
"isSource": true
|
|
103
|
-
},
|
|
104
|
-
"1280px": {
|
|
105
|
-
"value": "var(--base-size-16)",
|
|
106
|
-
"filePath": "tokens/functional/components/grid/grid.json",
|
|
107
|
-
"isSource": true
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
"name": "margin",
|
|
112
|
-
"attributes": {},
|
|
113
|
-
"path": [
|
|
114
|
-
"grid",
|
|
115
|
-
"spacing",
|
|
116
|
-
"margin"
|
|
117
|
-
]
|
|
118
123
|
}
|
|
119
124
|
}
|
|
120
125
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 03 May 2023 12:13:36 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
export const
|
|
6
|
+
export const BrandGridColumnBgColorOverlay = "hsl(var(--base-color-scale-red-4-hsl) / 30%)";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 03 May 2023 12:13:36 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
export const
|
|
7
|
-
export const
|
|
8
|
-
export const
|
|
6
|
+
export const BrandGridSpacingRow = "var(--base-size-16)";
|
|
7
|
+
export const BrandGridSpacingColumnGap = "var(--base-size-16)";
|
|
8
|
+
export const BrandGridSpacingMargin = "var(--base-size-16)";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 03 May 2023 12:13:36 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
export const BrandFontStackSystem = "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'";
|