@bcgov/design-tokens 3.2.0 → 4.0.0-pr652
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/README.md +93 -87
- package/cjs/index.d.ts +204 -204
- package/cjs/index.js +208 -204
- package/cjs-prefixed/index.d.ts +204 -204
- package/cjs-prefixed/index.js +208 -204
- package/css/variables.css +157 -157
- package/css-prefixed/variables.css +157 -157
- package/js/index.d.ts +204 -204
- package/js/index.js +12 -6
- package/js-prefixed/index.d.ts +204 -204
- package/js-prefixed/index.js +14 -7
- package/package.json +24 -23
- package/scss/variables.scss +508 -0
- package/scss-prefixed/variables.scss +508 -0
package/cjs-prefixed/index.js
CHANGED
|
@@ -3,208 +3,212 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
module.exports = {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
6
|
+
bcdsSurfaceOpacity0: 0,
|
|
7
|
+
bcdsSurfaceOpacity10: 0.1,
|
|
8
|
+
bcdsSurfaceOpacity20: 0.2,
|
|
9
|
+
bcdsSurfaceOpacity30: 0.3,
|
|
10
|
+
bcdsSurfaceOpacity40: 0.4,
|
|
11
|
+
bcdsSurfaceOpacity50: 0.5,
|
|
12
|
+
bcdsSurfaceOpacity60: 0.6,
|
|
13
|
+
bcdsSurfaceOpacity70: 0.7,
|
|
14
|
+
bcdsSurfaceOpacity80: 0.8,
|
|
15
|
+
bcdsSurfaceOpacity90: 0.9,
|
|
16
|
+
bcdsSurfaceOpacity100: 1,
|
|
17
|
+
bcdsSurfaceShadowNone:
|
|
18
|
+
"0 0.30000001192092896px 0.8999999761581421px 0 #0000001a, 0 1.600000023841858px 3.5999999046325684px 0 #00000021",
|
|
19
|
+
bcdsSurfaceShadowSmall:
|
|
20
|
+
"0 0.6000000238418579px 1.7999999523162842px 0 #0000001a, 0 3.200000047683716px 7.199999809265137px 0 #00000021",
|
|
21
|
+
bcdsSurfaceShadowMedium:
|
|
22
|
+
"0 1.2000000476837158px 3.5999999046325684px 0 #0000001a, 0 6.400000095367432px 14.399999618530273px 0 #00000021",
|
|
23
|
+
bcdsSurfaceShadowLarge:
|
|
24
|
+
"0 4.800000190734863px 14.399999618530273px 0 #0000002e, 0 25.600000381469727px 57.599998474121094px 0 #00000038",
|
|
25
|
+
bcdsSurfaceColorPrimaryButtonDefault: "#013366",
|
|
26
|
+
bcdsSurfaceColorPrimaryButtonHover: "#1E5189",
|
|
27
|
+
bcdsSurfaceColorPrimaryButtonDisabled: "#EDEBE9",
|
|
28
|
+
bcdsSurfaceColorPrimaryDangerButtonDefault: "#CE3E39",
|
|
29
|
+
bcdsSurfaceColorPrimaryDangerButtonHover: "#A2312D",
|
|
30
|
+
bcdsSurfaceColorPrimaryDangerButtonDisabled: "#EDEBE9",
|
|
31
|
+
bcdsSurfaceColorPrimaryDefault: "#013366",
|
|
32
|
+
bcdsSurfaceColorPrimaryHover: "#1E5189",
|
|
33
|
+
bcdsSurfaceColorPrimaryPressed: "#01264C",
|
|
34
|
+
bcdsSurfaceColorPrimaryDisabled: "#EDEBE9",
|
|
35
|
+
bcdsSurfaceColorSecondaryButtonDefault: "#FFFFFF",
|
|
36
|
+
bcdsSurfaceColorSecondaryButtonHover: "#EDEBE9",
|
|
37
|
+
bcdsSurfaceColorSecondaryButtonDisabled: "#EDEBE9",
|
|
38
|
+
bcdsSurfaceColorSecondaryDefault: "#FFFFFF",
|
|
39
|
+
bcdsSurfaceColorSecondaryHover: "#EDEBE9",
|
|
40
|
+
bcdsSurfaceColorSecondaryPressed: "#E0DEDC",
|
|
41
|
+
bcdsSurfaceColorSecondaryDisabled: "#EDEBE9",
|
|
42
|
+
bcdsSurfaceColorTertiaryButtonDefault: "rgba(255,255,255,0)",
|
|
43
|
+
bcdsSurfaceColorTertiaryButtonHover: "#ECEAE8",
|
|
44
|
+
bcdsSurfaceColorTertiaryButtonDisabled: "#EDEBE9",
|
|
45
|
+
bcdsSurfaceColorTertiaryDefault: "#FFFFFF00",
|
|
46
|
+
bcdsSurfaceColorTertiaryHover: "#ECEAE8",
|
|
47
|
+
bcdsSurfaceColorTertiaryPressed: "#E0DEDC",
|
|
48
|
+
bcdsSurfaceColorTertiaryDisabled: "#EDEBE9",
|
|
49
|
+
bcdsSurfaceColorMenusDefault: "#FFFFFF",
|
|
50
|
+
bcdsSurfaceColorMenusHover: "#EDEBE9",
|
|
51
|
+
bcdsSurfaceColorFormsDefault: "#FFFFFF",
|
|
52
|
+
bcdsSurfaceColorFormsDisabled: "#EDEBE9",
|
|
53
|
+
bcdsSurfaceColorBackgroundWhite: "#FFFFFF",
|
|
54
|
+
bcdsSurfaceColorBackgroundLightGray: "#FAF9F8",
|
|
55
|
+
bcdsSurfaceColorBackgroundLightBlue: "#F1F8FE",
|
|
56
|
+
bcdsSurfaceColorBackgroundDarkBlue: "#053662",
|
|
57
|
+
bcdsSurfaceColorBorderDefault: "#D8D8D8",
|
|
58
|
+
bcdsSurfaceColorBorderMedium: "#898785",
|
|
59
|
+
bcdsSurfaceColorBorderDark: "#353433",
|
|
60
|
+
bcdsSurfaceColorBorderActive: "#2E5DD7",
|
|
61
|
+
bcdsSurfaceColorOverlayDefault: "rgba(0,0,0,0.45)",
|
|
62
|
+
bcdsSupportSurfaceColorInfo: "#F7F9FC",
|
|
63
|
+
bcdsSupportSurfaceColorDanger: "#F4E1E2",
|
|
64
|
+
bcdsSupportSurfaceColorSuccess: "#F6FFF8",
|
|
65
|
+
bcdsSupportSurfaceColorWarning: "#FEF1D8",
|
|
66
|
+
bcdsSupportBorderColorInfo: "#053662",
|
|
67
|
+
bcdsSupportBorderColorDanger: "#CE3E39",
|
|
68
|
+
bcdsSupportBorderColorSuccess: "#42814A",
|
|
69
|
+
bcdsSupportBorderColorWarning: "#F8BB47",
|
|
70
|
+
bcdsIconsSizeXsmall: "14px",
|
|
71
|
+
bcdsIconsSizeSmall: "16px",
|
|
72
|
+
bcdsIconsSizeMedium: "20px",
|
|
73
|
+
bcdsIconsSizeLarge: "24px",
|
|
74
|
+
bcdsIconsSizeXlarge: "32px",
|
|
75
|
+
bcdsIconsColorPrimary: "#2D2D2D",
|
|
76
|
+
bcdsIconsColorSecondary: "#474543",
|
|
77
|
+
bcdsIconsColorDisabled: "#9F9D9C",
|
|
78
|
+
bcdsIconsColorLink: "#255A90",
|
|
79
|
+
bcdsIconsColorInfo: "#053662",
|
|
80
|
+
bcdsIconsColorDanger: "#CE3E39",
|
|
81
|
+
bcdsIconsColorSuccess: "#42814A",
|
|
82
|
+
bcdsIconsColorWarning: "#F8BB47",
|
|
83
|
+
bcdsIconsColorPrimaryInvert: "#FFFFFF",
|
|
84
|
+
bcdsLayoutBorderWidthNone: "0",
|
|
85
|
+
bcdsLayoutBorderWidthSmall: "1px",
|
|
86
|
+
bcdsLayoutBorderWidthMedium: "2px",
|
|
87
|
+
bcdsLayoutBorderWidthLarge: "4px",
|
|
88
|
+
bcdsLayoutPaddingNone: "0",
|
|
89
|
+
bcdsLayoutPaddingHair: "0.125rem",
|
|
90
|
+
bcdsLayoutPaddingXsmall: "0.25rem",
|
|
91
|
+
bcdsLayoutPaddingSmall: "0.5rem",
|
|
92
|
+
bcdsLayoutPaddingMedium: "1rem",
|
|
93
|
+
bcdsLayoutPaddingLarge: "1.5rem",
|
|
94
|
+
bcdsLayoutPaddingXlarge: "2rem",
|
|
95
|
+
bcdsLayoutMarginNone: "0rem",
|
|
96
|
+
bcdsLayoutMarginHair: "0.125rem",
|
|
97
|
+
bcdsLayoutMarginXsmall: "0.25rem",
|
|
98
|
+
bcdsLayoutMarginSmall: "0.5rem",
|
|
99
|
+
bcdsLayoutMarginMedium: "1rem",
|
|
100
|
+
bcdsLayoutMarginLarge: "1.5rem",
|
|
101
|
+
bcdsLayoutMarginXlarge: "2rem",
|
|
102
|
+
bcdsLayoutMarginXxlarge: "2.5rem",
|
|
103
|
+
bcdsLayoutMarginXxxlarge: "3rem",
|
|
104
|
+
bcdsLayoutMarginHuge: "3.5rem",
|
|
105
|
+
bcdsLayoutBorderRadiusNone: "0",
|
|
106
|
+
bcdsLayoutBorderRadiusSmall: "2px",
|
|
107
|
+
bcdsLayoutBorderRadiusMedium: "4px",
|
|
108
|
+
bcdsLayoutBorderRadiusLarge: "6px",
|
|
109
|
+
bcdsLayoutBorderRadiusCircular: "9999px",
|
|
110
|
+
bcdsTypographyFontFamiliesBcSans: "'BC Sans'",
|
|
111
|
+
bcdsTypographyLineHeightsXxxdense: "1.125rem",
|
|
112
|
+
bcdsTypographyLineHeightsXxdense: "1.313rem",
|
|
113
|
+
bcdsTypographyLineHeightsXdense: "1.688rem",
|
|
114
|
+
bcdsTypographyLineHeightsDense: "1.913rem",
|
|
115
|
+
bcdsTypographyLineHeightsRegular: "2.125rem",
|
|
116
|
+
bcdsTypographyLineHeightsSparse: "2.25rem",
|
|
117
|
+
bcdsTypographyLineHeightsXsparse: "3rem",
|
|
118
|
+
bcdsTypographyLineHeightsXxsparse: "3.375rem",
|
|
119
|
+
bcdsTypographyLineHeightsAuto: "AUTO",
|
|
120
|
+
bcdsTypographyFontWeightsRegular: 400,
|
|
121
|
+
bcdsTypographyFontWeightsBold: 700,
|
|
122
|
+
bcdsTypographyFontWeightsItalicWeight: 400,
|
|
123
|
+
bcdsTypographyFontWeightsItalicStyle: "italic",
|
|
124
|
+
bcdsTypographyFontSizeLabel: "0.75rem",
|
|
125
|
+
bcdsTypographyFontSizeSmallBody: "0.875rem",
|
|
126
|
+
bcdsTypographyFontSizeBody: "1rem",
|
|
127
|
+
bcdsTypographyFontSizeLargeBody: "1.125rem",
|
|
128
|
+
bcdsTypographyFontSizeH5: "1.25rem",
|
|
129
|
+
bcdsTypographyFontSizeH4: "1.5rem",
|
|
130
|
+
bcdsTypographyFontSizeH3: "1.75rem",
|
|
131
|
+
bcdsTypographyFontSizeH2: "2rem",
|
|
132
|
+
bcdsTypographyFontSizeH1: "2.25rem",
|
|
133
|
+
bcdsTypographyFontSizeDisplay: "3rem",
|
|
134
|
+
bcdsTypographyLetterSpacing0: "0em",
|
|
135
|
+
bcdsTypographyParagraphSpacing0: "0",
|
|
136
|
+
bcdsTypographyRegularLabel: "400 0.75rem/1.125rem 'BC Sans'",
|
|
137
|
+
bcdsTypographyRegularSmallBody: "400 0.875rem/1.313rem 'BC Sans'",
|
|
138
|
+
bcdsTypographyRegularBody: "400 1rem/1.688rem 'BC Sans'",
|
|
139
|
+
bcdsTypographyRegularLargeBody: "400 1.125rem/1.913rem 'BC Sans'",
|
|
140
|
+
bcdsTypographyRegularH6: "400 1.125rem/1.913rem 'BC Sans'",
|
|
141
|
+
bcdsTypographyRegularH5: "400 1.25rem/2.125rem 'BC Sans'",
|
|
142
|
+
bcdsTypographyRegularH4: "400 1.5rem/2.25rem 'BC Sans'",
|
|
143
|
+
bcdsTypographyRegularH3: "400 1.75rem/3rem 'BC Sans'",
|
|
144
|
+
bcdsTypographyRegularH2: "400 2rem/3.375rem 'BC Sans'",
|
|
145
|
+
bcdsTypographyRegularH1: "400 2.25rem/3rem 'BC Sans'",
|
|
146
|
+
bcdsTypographyRegularDisplay: "400 3rem/AUTO 'BC Sans'",
|
|
147
|
+
bcdsTypographyBoldLabel: "700 0.75rem/1.125rem 'BC Sans'",
|
|
148
|
+
bcdsTypographyBoldSmallBody: "700 0.875rem/1.313rem 'BC Sans'",
|
|
149
|
+
bcdsTypographyBoldBody: "700 1rem/1.688rem 'BC Sans'",
|
|
150
|
+
bcdsTypographyBoldLargeBody: "700 1.125rem/1.913rem 'BC Sans'",
|
|
151
|
+
bcdsTypographyBoldH6: "700 1.125rem/1.913rem 'BC Sans'",
|
|
152
|
+
bcdsTypographyBoldH5: "700 1.25rem/2.125rem 'BC Sans'",
|
|
153
|
+
bcdsTypographyBoldH4: "700 1.5rem/2.25rem 'BC Sans'",
|
|
154
|
+
bcdsTypographyBoldH3: "700 1.75rem/3rem 'BC Sans'",
|
|
155
|
+
bcdsTypographyBoldH2: "700 2rem/3rem 'BC Sans'",
|
|
156
|
+
bcdsTypographyBoldH1: "700 2.25rem/3.375rem 'BC Sans'",
|
|
157
|
+
bcdsTypographyBoldDisplay: "700 3rem/AUTO 'BC Sans'",
|
|
158
|
+
bcdsTypographyItalicLabel: "400 italic 0.75rem/1.125rem 'BC Sans'",
|
|
159
|
+
bcdsTypographyItalicSmallBody: "400 italic 0.875rem/1.313rem 'BC Sans'",
|
|
160
|
+
bcdsTypographyItalicBody: "400 italic 1rem/1.688rem 'BC Sans'",
|
|
161
|
+
bcdsTypographyItalicLargeBody: "400 italic 1.125rem/1.913rem 'BC Sans'",
|
|
162
|
+
bcdsTypographyItalicH6: "400 italic 1.125rem/1.913rem 'BC Sans'",
|
|
163
|
+
bcdsTypographyItalicH5: "400 italic 1.25rem/2.125rem 'BC Sans'",
|
|
164
|
+
bcdsTypographyItalicH4: "400 italic 1.5rem/2.25rem 'BC Sans'",
|
|
165
|
+
bcdsTypographyItalicH3: "400 italic 1.75rem/3.375rem 'BC Sans'",
|
|
166
|
+
bcdsTypographyItalicH2: "400 italic 2rem/3rem 'BC Sans'",
|
|
167
|
+
bcdsTypographyItalicH1: "400 italic 2.25rem/3.375rem 'BC Sans'",
|
|
168
|
+
bcdsTypographyItalicDisplay: "400 italic 3rem/AUTO 'BC Sans'",
|
|
169
|
+
bcdsTypographyTextCaseNone: "none",
|
|
170
|
+
bcdsTypographyTextDecorationNone: "none",
|
|
171
|
+
bcdsTypographyParagraphIndent0: "0px",
|
|
172
|
+
bcdsTypographyColorPrimary: "#2D2D2D",
|
|
173
|
+
bcdsTypographyColorSecondary: "#474543",
|
|
174
|
+
bcdsTypographyColorPlaceholder: "#9F9D9C",
|
|
175
|
+
bcdsTypographyColorDisabled: "#9F9D9C",
|
|
176
|
+
bcdsTypographyColorLink: "#255A90",
|
|
177
|
+
bcdsTypographyColorDanger: "#CE3E39",
|
|
178
|
+
bcdsTypographyColorPrimaryInvert: "#FFFFFF",
|
|
179
|
+
bcdsTypographyColorSecondaryInvert: "#ECEAE8",
|
|
180
|
+
bcdsThemeGold10: "#FEF8E8",
|
|
181
|
+
bcdsThemeGold20: "#FEF0D8",
|
|
182
|
+
bcdsThemeGold30: "#FDE9C4",
|
|
183
|
+
bcdsThemeGold40: "#FCE2B0",
|
|
184
|
+
bcdsThemeGold50: "#FBDA9D",
|
|
185
|
+
bcdsThemeGold60: "#FBD389",
|
|
186
|
+
bcdsThemeGold70: "#FACC75",
|
|
187
|
+
bcdsThemeGold80: "#F9C462",
|
|
188
|
+
bcdsThemeGold90: "#F8BA47",
|
|
189
|
+
bcdsThemeGold100: "#FCBA19",
|
|
190
|
+
bcdsThemeBlue10: "#F1F8FE",
|
|
191
|
+
bcdsThemeBlue20: "#D8EAFD",
|
|
192
|
+
bcdsThemeBlue30: "#C1DDFC",
|
|
193
|
+
bcdsThemeBlue40: "#A8D0FB",
|
|
194
|
+
bcdsThemeBlue50: "#91C4FA",
|
|
195
|
+
bcdsThemeBlue60: "#7AB8F9",
|
|
196
|
+
bcdsThemeBlue70: "#5595D9",
|
|
197
|
+
bcdsThemeBlue80: "#3470B1",
|
|
198
|
+
bcdsThemeBlue90: "#1E5189",
|
|
199
|
+
bcdsThemeBlue100: "#013366",
|
|
200
|
+
bcdsThemeGray10: "#FAF9F8",
|
|
201
|
+
bcdsThemeGray20: "#F3F2F1",
|
|
202
|
+
bcdsThemeGray30: "#ECEAE8",
|
|
203
|
+
bcdsThemeGray40: "#E0DEDC",
|
|
204
|
+
bcdsThemeGray50: "#D1CFCD",
|
|
205
|
+
bcdsThemeGray60: "#C6C5C3",
|
|
206
|
+
bcdsThemeGray70: "#9F9D9C",
|
|
207
|
+
bcdsThemeGray80: "#605E5C",
|
|
208
|
+
bcdsThemeGray90: "#3D3C3B",
|
|
209
|
+
bcdsThemeGray100: "#353433",
|
|
210
|
+
bcdsThemeGray110: "#252423",
|
|
211
|
+
bcdsThemeGrayWhite: "#FFFFFF",
|
|
212
|
+
bcdsThemePrimaryBlue: "#013366",
|
|
213
|
+
bcdsThemePrimaryGold: "#FCBA19",
|
|
210
214
|
};
|