@primer/brand-primitives 0.17.0-rc.c0b291e → 0.17.0
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 +57 -1
- package/lib/design-tokens/css/tokens/functional/components/card/colors.css +29 -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 +13 -0
- package/lib/design-tokens/css/tokens/functional/components/grid/colors.css +8 -0
- package/lib/design-tokens/css/tokens/functional/components/grid/grid.css +25 -0
- 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 +3 -3
- package/lib/design-tokens/css/tokens/functional/components/label/colors.css +2 -2
- 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 -8
- 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 +539 -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 +31 -0
- package/lib/design-tokens/js/module/tokens/functional/components/grid/grid.js +121 -0
- 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 +5 -5
- 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 +30 -2
- 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 +6 -0
- package/lib/design-tokens/js/tokens/functional/components/grid/grid.js +8 -0
- 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 +2 -2
- 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 +35 -1
- package/lib/design-tokens/ts/tokens/functional/components/card/colors.js +35 -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 +15 -0
- package/lib/design-tokens/ts/tokens/functional/components/grid/colors.js +14 -0
- package/lib/design-tokens/ts/tokens/functional/components/grid/grid.d.ts +17 -0
- package/lib/design-tokens/ts/tokens/functional/components/grid/grid.js +16 -0
- 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 +2 -2
- 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
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly
|
|
3
|
+
* Generated on Thu, 27 Apr 2023 09:42:24 GMT
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
module.exports = {
|
|
7
|
+
"grid": {
|
|
8
|
+
"spacing": {
|
|
9
|
+
"row": {
|
|
10
|
+
"value": "var(--base-size-16)",
|
|
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": {
|
|
21
|
+
"value": "var(--base-size-16)",
|
|
22
|
+
"responsive": {
|
|
23
|
+
"768px": {
|
|
24
|
+
"value": "var(--base-size-24)",
|
|
25
|
+
"filePath": "tokens/functional/components/grid/grid.json",
|
|
26
|
+
"isSource": true
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"name": "row",
|
|
31
|
+
"attributes": {},
|
|
32
|
+
"path": [
|
|
33
|
+
"grid",
|
|
34
|
+
"spacing",
|
|
35
|
+
"row"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"column": {
|
|
39
|
+
"gap": {
|
|
40
|
+
"value": "var(--base-size-16)",
|
|
41
|
+
"responsive": {
|
|
42
|
+
"768px": {
|
|
43
|
+
"value": "var(--base-size-32)",
|
|
44
|
+
"filePath": "tokens/functional/components/grid/grid.json",
|
|
45
|
+
"isSource": true
|
|
46
|
+
},
|
|
47
|
+
"1280px": {
|
|
48
|
+
"value": "var(--base-size-48)",
|
|
49
|
+
"filePath": "tokens/functional/components/grid/grid.json",
|
|
50
|
+
"isSource": true
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"filePath": "tokens/functional/components/grid/grid.json",
|
|
54
|
+
"isSource": true,
|
|
55
|
+
"original": {
|
|
56
|
+
"value": "var(--base-size-16)",
|
|
57
|
+
"responsive": {
|
|
58
|
+
"768px": {
|
|
59
|
+
"value": "var(--base-size-32)",
|
|
60
|
+
"filePath": "tokens/functional/components/grid/grid.json",
|
|
61
|
+
"isSource": true
|
|
62
|
+
},
|
|
63
|
+
"1280px": {
|
|
64
|
+
"value": "var(--base-size-48)",
|
|
65
|
+
"filePath": "tokens/functional/components/grid/grid.json",
|
|
66
|
+
"isSource": true
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"name": "gap",
|
|
71
|
+
"attributes": {},
|
|
72
|
+
"path": [
|
|
73
|
+
"grid",
|
|
74
|
+
"spacing",
|
|
75
|
+
"column",
|
|
76
|
+
"gap"
|
|
77
|
+
]
|
|
78
|
+
}
|
|
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
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 27 Apr 2023 09:42:24 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
module.exports = {
|
|
@@ -8,13 +8,13 @@ module.exports = {
|
|
|
8
8
|
"Label": {
|
|
9
9
|
"color": {
|
|
10
10
|
"default": {
|
|
11
|
-
"value": "var(--
|
|
12
|
-
"dark": "var(--
|
|
11
|
+
"value": "var(--brand-color-text-default)",
|
|
12
|
+
"dark": "var(--brand-color-text-default)",
|
|
13
13
|
"filePath": "tokens/functional/components/label/colors.json",
|
|
14
14
|
"isSource": true,
|
|
15
15
|
"original": {
|
|
16
|
-
"value": "var(--
|
|
17
|
-
"dark": "var(--
|
|
16
|
+
"value": "var(--brand-color-text-default)",
|
|
17
|
+
"dark": "var(--brand-color-text-default)"
|
|
18
18
|
},
|
|
19
19
|
"name": "default",
|
|
20
20
|
"attributes": {},
|
|
@@ -1,6 +1,34 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 27 Apr 2023 09:42:24 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
export const BrandCardBackgroundDefault = "var(--brand-color-canvas-default)";
|
|
6
|
+
export const BrandCardBackgroundDefault = "var(--brand-color-canvas-default)";
|
|
7
|
+
export const BrandCardIconBackgroundDefault = "var(--base-color-scale-gray-0)";
|
|
8
|
+
export const BrandCardIconBackgroundBlue = "var(--base-color-scale-blue-0)";
|
|
9
|
+
export const BrandCardIconBackgroundCoral = "var(--base-color-scale-coral-0)";
|
|
10
|
+
export const BrandCardIconBackgroundGreen = "var(--base-color-scale-green-0)";
|
|
11
|
+
export const BrandCardIconBackgroundGray = "var(--base-color-scale-gray-0)";
|
|
12
|
+
export const BrandCardIconBackgroundIndigo = "var(--base-color-scale-indigo-0)";
|
|
13
|
+
export const BrandCardIconBackgroundLemon = "var(--base-color-scale-lemon-0)";
|
|
14
|
+
export const BrandCardIconBackgroundLime = "var(--base-color-scale-lime-0)";
|
|
15
|
+
export const BrandCardIconBackgroundOrange = "var(--base-color-scale-orange-0)";
|
|
16
|
+
export const BrandCardIconBackgroundPink = "var(--base-color-scale-pink-0)";
|
|
17
|
+
export const BrandCardIconBackgroundPurple = "var(--base-color-scale-purple-0)";
|
|
18
|
+
export const BrandCardIconBackgroundRed = "var(--base-color-scale-red-0)";
|
|
19
|
+
export const BrandCardIconBackgroundTeal = "var(--base-color-scale-teal-0)";
|
|
20
|
+
export const BrandCardIconBackgroundYellow = "var(--base-color-scale-yellow-0)";
|
|
21
|
+
export const BrandCardIconColorDefault = "var(--brand-color-scale-gray-5)";
|
|
22
|
+
export const BrandCardIconColorBlue = "var(--base-color-scale-blue-5)";
|
|
23
|
+
export const BrandCardIconColorCoral = "var(--base-color-scale-coral-5)";
|
|
24
|
+
export const BrandCardIconColorGreen = "var(--base-color-scale-green-5)";
|
|
25
|
+
export const BrandCardIconColorGray = "var(--base-color-scale-gray-6)";
|
|
26
|
+
export const BrandCardIconColorIndigo = "var(--base-color-scale-indigo-5)";
|
|
27
|
+
export const BrandCardIconColorLemon = "var(--base-color-scale-lemon-5)";
|
|
28
|
+
export const BrandCardIconColorLime = "var(--base-color-scale-lime-5)";
|
|
29
|
+
export const BrandCardIconColorOrange = "var(--base-color-scale-orange-5)";
|
|
30
|
+
export const BrandCardIconColorPink = "var(--base-color-scale-pink-5)";
|
|
31
|
+
export const BrandCardIconColorPurple = "var(--base-color-scale-purple-5)";
|
|
32
|
+
export const BrandCardIconColorRed = "var(--base-color-scale-red-5)";
|
|
33
|
+
export const BrandCardIconColorTeal = "var(--base-color-scale-teal-5)";
|
|
34
|
+
export const BrandCardIconColorYellow = "var(--base-color-scale-yellow-5)";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 27 Apr 2023 09:42:24 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
export const BrandLabelColorDefault = "var(--
|
|
6
|
+
export const BrandLabelColorDefault = "var(--brand-color-text-default)";
|
|
7
7
|
export const BrandLabelColorBlue = "var(--base-color-scale-blue-5)";
|
|
8
8
|
export const BrandLabelColorBlue-purpleStart = "var(--base-color-scale-blue-5)";
|
|
9
9
|
export const BrandLabelColorBlue-purpleEnd = "var(--base-color-scale-purple-5)";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 27 Apr 2023 09:42:24 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'";
|