@sage/design-tokens 1.70.0 → 1.73.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/css/base.css +6 -1
- package/css/no-theme.css +3 -4
- package/css/temporary-rgba-test.css +245 -0
- package/data/all.json +1542 -19
- package/data/base.json +22 -0
- package/data/no-theme.json +8 -19
- package/data/temporary-rgba-test.json +1512 -0
- package/docs/index.html +9529 -3592
- package/js/base/common.d.ts +5 -0
- package/js/base/common.js +6 -1
- package/js/base/es6.d.ts +5 -0
- package/js/base/es6.js +5 -0
- package/js/no-theme/common.d.ts +2 -14
- package/js/no-theme/common.js +3 -4
- package/js/no-theme/es6.d.ts +2 -14
- package/js/no-theme/es6.js +2 -9
- package/js/temporary-rgba-test/common.d.ts +1051 -0
- package/js/temporary-rgba-test/common.js +245 -0
- package/js/temporary-rgba-test/es6.d.ts +1054 -0
- package/js/temporary-rgba-test/es6.js +684 -0
- package/package.json +1 -1
- package/sage-design-tokens-1.73.0.tgz +0 -0
- package/scss/base.scss +6 -1
- package/scss/no-theme.scss +3 -4
- package/scss/temporary-rgba-test.scss +242 -0
- package/sage-design-tokens-1.70.0.tgz +0 -0
package/css/base.css
CHANGED
|
@@ -3,13 +3,17 @@ Copyright © 2021 The Sage Group plc or its licensors. All Rights reserved
|
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* Do not edit directly
|
|
6
|
-
* Generated on Mon,
|
|
6
|
+
* Generated on Mon, 25 Oct 2021 10:04:50 GMT
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
:root {
|
|
10
10
|
--metaName: Base Theme;
|
|
11
11
|
--metaPublic: true;
|
|
12
12
|
--colorsLogo: #00D639;
|
|
13
|
+
--colorsYin030: rgba(0,0,0,0.3);
|
|
14
|
+
--colorsYin055: rgba(0,0,0,0.55);
|
|
15
|
+
--colorsYin065: rgba(0,0,0,0.65);
|
|
16
|
+
--colorsYin090: rgba(0,0,0,0.9);
|
|
13
17
|
--colorsComponentsNavigation500: #008146;
|
|
14
18
|
--colorsComponentsNavigation600: #006738;
|
|
15
19
|
--colorsComponentsNavigation700: #004D2A;
|
|
@@ -162,6 +166,7 @@ Copyright © 2021 The Sage Group plc or its licensors. All Rights reserved
|
|
|
162
166
|
--opacity700: 70%;
|
|
163
167
|
--opacity800: 80%;
|
|
164
168
|
--opacity900: 90%;
|
|
169
|
+
--opacity1000: 100%;
|
|
165
170
|
--fontWeights400: Regular;
|
|
166
171
|
--fontWeights500: Medium;
|
|
167
172
|
--fontWeights700: Bold;
|
package/css/no-theme.css
CHANGED
|
@@ -3,7 +3,7 @@ Copyright © 2021 The Sage Group plc or its licensors. All Rights reserved
|
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* Do not edit directly
|
|
6
|
-
* Generated on Mon,
|
|
6
|
+
* Generated on Mon, 25 Oct 2021 10:04:50 GMT
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
:root {
|
|
@@ -92,7 +92,6 @@ Copyright © 2021 The Sage Group plc or its licensors. All Rights reserved
|
|
|
92
92
|
--colorsSemanticInfo1000: #ff7946;
|
|
93
93
|
--colorsSemanticInfo000: #fff2ed;
|
|
94
94
|
--colorsSemanticInfoTransparent: rgba(0, 131, 204, 0.6);
|
|
95
|
-
--sizing10: 1px;
|
|
96
95
|
--sizing100: 8px;
|
|
97
96
|
--sizing125: 10px;
|
|
98
97
|
--sizing150: 12px;
|
|
@@ -109,6 +108,7 @@ Copyright © 2021 The Sage Group plc or its licensors. All Rights reserved
|
|
|
109
108
|
--sizing800: 64px;
|
|
110
109
|
--sizing900: 72px;
|
|
111
110
|
--sizing1000: 80px;
|
|
111
|
+
--sizing010: 1px;
|
|
112
112
|
--sizing025: 2px;
|
|
113
113
|
--sizing050: 4px;
|
|
114
114
|
--sizing075: 6px;
|
|
@@ -138,7 +138,6 @@ Copyright © 2021 The Sage Group plc or its licensors. All Rights reserved
|
|
|
138
138
|
--boxShadow200: 0 20px 40px 0 rgba(149,219,0,0.5);
|
|
139
139
|
--boxShadow300: 0 30px 60px 0 rgba(0,179,219,0.5);
|
|
140
140
|
--boxShadow400: 0 50px 80px 0 rgba(96,0,219,0.5);
|
|
141
|
-
--boxShadow000: 10px 10px 5px 5px rgba(219,0,197,0.5);
|
|
142
141
|
--fontSizes100: 14px;
|
|
143
142
|
--fontSizes200: 16px;
|
|
144
143
|
--fontSizes300: 18px;
|
|
@@ -163,9 +162,9 @@ Copyright © 2021 The Sage Group plc or its licensors. All Rights reserved
|
|
|
163
162
|
--opacity700: 70%;
|
|
164
163
|
--opacity800: 80%;
|
|
165
164
|
--opacity900: 90%;
|
|
165
|
+
--opacity1000: 100%;
|
|
166
166
|
--fontWeights400: Regular;
|
|
167
167
|
--fontWeights500: Medium;
|
|
168
|
-
--fontWeights600: SemiBold;
|
|
169
168
|
--fontWeights700: Bold;
|
|
170
169
|
--lineHeights400: 125%;
|
|
171
170
|
--lineHeights500: 150%;
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright © 2021 The Sage Group plc or its licensors. All Rights reserved
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Do not edit directly
|
|
6
|
+
* Generated on Mon, 25 Oct 2021 10:04:50 GMT
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
:root {
|
|
10
|
+
--metaName: Base Theme;
|
|
11
|
+
--metaPublic: true;
|
|
12
|
+
--colorsLogo: #00D639;
|
|
13
|
+
--colorsYin030: rgba(0,0,0,0.3);
|
|
14
|
+
--colorsYin065: rgba(0,0,0,0.65);
|
|
15
|
+
--colorsYin090: rgba(0,0,0,0.9);
|
|
16
|
+
--colorsYang030: rgba(255,255,255,0.3);
|
|
17
|
+
--colorsYang065: rgba(255,255,255,0.65);
|
|
18
|
+
--colorsYang090: rgba(255,255,255,0.9);
|
|
19
|
+
--colorsComponentsNavigation500: #008146;
|
|
20
|
+
--colorsComponentsNavigation600: #006738;
|
|
21
|
+
--colorsComponentsNavigation700: #004D2A;
|
|
22
|
+
--colorsComponentsNavigation1000: #000000;
|
|
23
|
+
--colorsComponentsNavigation000: #FFFFFF;
|
|
24
|
+
--colorsComponentsNavigationTransparent: rgba(0,0,0,0);
|
|
25
|
+
--colorsUtilityMajor100: #CCD6DB;
|
|
26
|
+
--colorsUtilityMajor150: #B3C2C9;
|
|
27
|
+
--colorsUtilityMajor200: #99ADB7;
|
|
28
|
+
--colorsUtilityMajor300: #668494;
|
|
29
|
+
--colorsUtilityMajor400: #335B70;
|
|
30
|
+
--colorsUtilityMajor500: #00324C;
|
|
31
|
+
--colorsUtilityMajor800: #00141E;
|
|
32
|
+
--colorsUtilityMajor1000: #000000;
|
|
33
|
+
--colorsUtilityMajor000: #FFFFFF;
|
|
34
|
+
--colorsUtilityMajor025: #F2F5F6;
|
|
35
|
+
--colorsUtilityMajor050: #E6EBED;
|
|
36
|
+
--colorsUtilityMajor075: #D9E0E4;
|
|
37
|
+
--colorsUtilityMajorTransparent: rgba(0,0,0,0);
|
|
38
|
+
--colorsUtilityMajorYin: rgba(0,0,0,0.9);
|
|
39
|
+
--colorsUtilityDisabled400: #F2F5F6;
|
|
40
|
+
--colorsUtilityDisabled500: #E6EBED;
|
|
41
|
+
--colorsUtilityDisabled600: #CCD6DB;
|
|
42
|
+
--colorsUtilityDisabledYin: rgba(0,0,0,0.3);
|
|
43
|
+
--colorsUtilityReadOnly400: #F2F5F6;
|
|
44
|
+
--colorsUtilityReadOnly500: #E6EBED;
|
|
45
|
+
--colorsUtilityReadOnly600: #CCD6DB;
|
|
46
|
+
--colorsUtilityReadOnlyYin: rgba(0,0,0,0.65);
|
|
47
|
+
--colorsActionMajor150: #B3D9C8;
|
|
48
|
+
--colorsActionMajor500: #008146;
|
|
49
|
+
--colorsActionMajor600: #006738;
|
|
50
|
+
--colorsActionMajor700: #004D2A;
|
|
51
|
+
--colorsActionMajor1000: #000000;
|
|
52
|
+
--colorsActionMajor000: #FFFFFF;
|
|
53
|
+
--colorsActionMajorTransparent: rgba(0,0,0,0);
|
|
54
|
+
--colorsActionMinor100: #E6EBED;
|
|
55
|
+
--colorsActionMinor200: #CCD6DB;
|
|
56
|
+
--colorsActionMinor300: #99ADB7;
|
|
57
|
+
--colorsActionMinor400: #668494;
|
|
58
|
+
--colorsActionMinor500: #335B70;
|
|
59
|
+
--colorsActionMinor600: #00324C;
|
|
60
|
+
--colorsActionMinor1000: #000000;
|
|
61
|
+
--colorsActionMinor000: #FFFFFF;
|
|
62
|
+
--colorsActionMinor025: #FAFBFB;
|
|
63
|
+
--colorsActionMinor050: #F2F5F6;
|
|
64
|
+
--colorsActionMinorTransparent: rgba(0,0,0,0);
|
|
65
|
+
--colorsActionDisabled400: #F2F5F6;
|
|
66
|
+
--colorsActionDisabled500: #E6EBED;
|
|
67
|
+
--colorsActionDisabled600: #CCD6DB;
|
|
68
|
+
--colorsActionReadOnly400: #F2F5F6;
|
|
69
|
+
--colorsActionReadOnly500: #E6EBED;
|
|
70
|
+
--colorsActionReadOnly600: #CCD6DB;
|
|
71
|
+
--colorsSemanticNeutral200: #CCD6DB;
|
|
72
|
+
--colorsSemanticNeutral500: #335B70;
|
|
73
|
+
--colorsSemanticNeutral600: #00324C;
|
|
74
|
+
--colorsSemanticNeutral1000: #000000;
|
|
75
|
+
--colorsSemanticNeutral000: #FFFFFF;
|
|
76
|
+
--colorsSemanticNeutralTransparent: rgba(0,0,0,0);
|
|
77
|
+
--colorsSemanticFocus250: #FFDA80;
|
|
78
|
+
--colorsSemanticFocus500: #FFB500;
|
|
79
|
+
--colorsSemanticFocus1000: #000000;
|
|
80
|
+
--colorsSemanticFocus000: #FFFFFF;
|
|
81
|
+
--colorsSemanticFocusTransparent: rgba(0,0,0,0);
|
|
82
|
+
--colorsSemanticPositive500: #008A21;
|
|
83
|
+
--colorsSemanticPositive600: #006e1a;
|
|
84
|
+
--colorsSemanticPositive1000: #000000;
|
|
85
|
+
--colorsSemanticPositive000: #FFFFFF;
|
|
86
|
+
--colorsSemanticPositiveTransparent: rgba(0,0,0,0);
|
|
87
|
+
--colorsSemanticNegative500: #CD384B;
|
|
88
|
+
--colorsSemanticNegative600: #a42d3c;
|
|
89
|
+
--colorsSemanticNegative1000: #000000;
|
|
90
|
+
--colorsSemanticNegative000: #FFFFFF;
|
|
91
|
+
--colorsSemanticNegativeTransparent: rgba(0,0,0,0);
|
|
92
|
+
--colorsSemanticCaution400: #f28533;
|
|
93
|
+
--colorsSemanticCaution500: #EF6700;
|
|
94
|
+
--colorsSemanticCaution600: #bf5200;
|
|
95
|
+
--colorsSemanticCaution1000: #000000;
|
|
96
|
+
--colorsSemanticCaution000: #FFFFFF;
|
|
97
|
+
--colorsSemanticCautionTransparent: rgba(0,0,0,0);
|
|
98
|
+
--colorsSemanticInfo150: #b3cfe5;
|
|
99
|
+
--colorsSemanticInfo500: #0060A7;
|
|
100
|
+
--colorsSemanticInfo600: #004d86;
|
|
101
|
+
--colorsSemanticInfo1000: #000000;
|
|
102
|
+
--colorsSemanticInfo000: #FFFFFF;
|
|
103
|
+
--colorsSemanticInfoTransparent: rgba(0,0,0,0);
|
|
104
|
+
--sizing100: 8px;
|
|
105
|
+
--sizing125: 10px;
|
|
106
|
+
--sizing150: 12px;
|
|
107
|
+
--sizing175: 14px;
|
|
108
|
+
--sizing200: 16px;
|
|
109
|
+
--sizing250: 20px;
|
|
110
|
+
--sizing300: 24px;
|
|
111
|
+
--sizing350: 28px;
|
|
112
|
+
--sizing375: 30px;
|
|
113
|
+
--sizing400: 32px;
|
|
114
|
+
--sizing500: 40px;
|
|
115
|
+
--sizing600: 48px;
|
|
116
|
+
--sizing700: 56px;
|
|
117
|
+
--sizing800: 64px;
|
|
118
|
+
--sizing900: 72px;
|
|
119
|
+
--sizing1000: 80px;
|
|
120
|
+
--sizing025: 2px;
|
|
121
|
+
--sizing050: 4px;
|
|
122
|
+
--sizing075: 6px;
|
|
123
|
+
--sizingLogowidth: 40px;
|
|
124
|
+
--sizing010: 1px;
|
|
125
|
+
--spacing100: 8px;
|
|
126
|
+
--spacing125: 10px;
|
|
127
|
+
--spacing150: 12px;
|
|
128
|
+
--spacing200: 16px;
|
|
129
|
+
--spacing250: 20px;
|
|
130
|
+
--spacing300: 24px;
|
|
131
|
+
--spacing400: 32px;
|
|
132
|
+
--spacing500: 40px;
|
|
133
|
+
--spacing600: 48px;
|
|
134
|
+
--spacing700: 56px;
|
|
135
|
+
--spacing800: 64px;
|
|
136
|
+
--spacing900: 72px;
|
|
137
|
+
--spacing000: 0;
|
|
138
|
+
--spacing025: 2px;
|
|
139
|
+
--spacing050: 4px;
|
|
140
|
+
--spacing075: 6px;
|
|
141
|
+
--borderWidth100: 1px;
|
|
142
|
+
--borderWidth200: 2px;
|
|
143
|
+
--borderWidth300: 3px;
|
|
144
|
+
--borderWidth400: 4px;
|
|
145
|
+
--borderWidth000: 0px;
|
|
146
|
+
--fontSizes100: 14px;
|
|
147
|
+
--fontSizes200: 16px;
|
|
148
|
+
--fontSizes300: 18px;
|
|
149
|
+
--fontSizes400: 20px;
|
|
150
|
+
--fontSizes500: 22px;
|
|
151
|
+
--fontSizes600: 24px;
|
|
152
|
+
--fontSizes700: 32px;
|
|
153
|
+
--fontSizes800: 48px;
|
|
154
|
+
--fontSizes900: 56px;
|
|
155
|
+
--fontSizes1000: 64px;
|
|
156
|
+
--fontSizes010: 10px;
|
|
157
|
+
--fontSizes025: 12px;
|
|
158
|
+
--fontSizes050: 13px;
|
|
159
|
+
--boxShadow100: 0 10px 10px 0 rgba(0,20,29,0.1);
|
|
160
|
+
--boxShadow200: 0 20px 40px 0 rgba(0,20,29,0.1);
|
|
161
|
+
--boxShadow300: 0 30px 60px 0 rgba(0,20,29,0.1);
|
|
162
|
+
--boxShadow400: 0 50px 80px 0 rgba(0,20,29,0.1);
|
|
163
|
+
--opacity100: 10%;
|
|
164
|
+
--opacity200: 20%;
|
|
165
|
+
--opacity300: 30%;
|
|
166
|
+
--opacity400: 40%;
|
|
167
|
+
--opacity500: 50%;
|
|
168
|
+
--opacity550: 55%;
|
|
169
|
+
--opacity600: 60%;
|
|
170
|
+
--opacity650: 65%;
|
|
171
|
+
--opacity700: 70%;
|
|
172
|
+
--opacity800: 80%;
|
|
173
|
+
--opacity900: 90%;
|
|
174
|
+
--opacity1000: 100%;
|
|
175
|
+
--fontWeights400: Regular;
|
|
176
|
+
--fontWeights500: Medium;
|
|
177
|
+
--fontWeights700: Bold;
|
|
178
|
+
--lineHeights400: 125%;
|
|
179
|
+
--lineHeights500: 150%;
|
|
180
|
+
--fontFamiliesDefault: Sage UI;
|
|
181
|
+
--fontFamiliesIos: San Francisco;
|
|
182
|
+
--fontFamiliesAndroid: Roboto;
|
|
183
|
+
--fontFamiliesOther: Open Sans;
|
|
184
|
+
--borderRadiusCircle: 50%;
|
|
185
|
+
--typographyButtonLabelS: [object Object];
|
|
186
|
+
--typographyButtonLabelM: [object Object];
|
|
187
|
+
--typographyButtonLabelL: [object Object];
|
|
188
|
+
--typographyDialogTitleXs: [object Object];
|
|
189
|
+
--typographyDialogTitleS: [object Object];
|
|
190
|
+
--typographyDialogTitleMs: [object Object];
|
|
191
|
+
--typographyDialogTitleM: [object Object];
|
|
192
|
+
--typographyDialogTitleMl: [object Object];
|
|
193
|
+
--typographyDialogTitleL: [object Object];
|
|
194
|
+
--typographyDialogTitleXl: [object Object];
|
|
195
|
+
--typographyFlashTextM: [object Object];
|
|
196
|
+
--typographyFlashTextL: [object Object];
|
|
197
|
+
--typographyFormFieldLabelXs: [object Object];
|
|
198
|
+
--typographyFormFieldLabelS: [object Object];
|
|
199
|
+
--typographyFormFieldLabelM: [object Object];
|
|
200
|
+
--typographyFormFieldLabelL: [object Object];
|
|
201
|
+
--typographyFormFieldHintTextXs: [object Object];
|
|
202
|
+
--typographyFormFieldHintTextS: [object Object];
|
|
203
|
+
--typographyFormFieldHintTextM: [object Object];
|
|
204
|
+
--typographyFormFieldHintTextL: [object Object];
|
|
205
|
+
--typographyFormFieldErrorMessageXs: [object Object];
|
|
206
|
+
--typographyFormFieldErrorMessageS: [object Object];
|
|
207
|
+
--typographyFormFieldErrorMessageM: [object Object];
|
|
208
|
+
--typographyFormFieldErrorMessageL: [object Object];
|
|
209
|
+
--typographyFormFieldCautionMessageXs: [object Object];
|
|
210
|
+
--typographyFormFieldCautionMessageS: [object Object];
|
|
211
|
+
--typographyFormFieldCautionMessageM: [object Object];
|
|
212
|
+
--typographyFormFieldCautionMessageL: [object Object];
|
|
213
|
+
--typographyFormFieldInputTextXs: [object Object];
|
|
214
|
+
--typographyFormFieldInputTextS: [object Object];
|
|
215
|
+
--typographyFormFieldInputTextM: [object Object];
|
|
216
|
+
--typographyFormFieldInputTextL: [object Object];
|
|
217
|
+
--typographyFormFieldDropdownOptionsXs: [object Object];
|
|
218
|
+
--typographyFormFieldDropdownOptionsS: [object Object];
|
|
219
|
+
--typographyFormFieldDropdownOptionsM: [object Object];
|
|
220
|
+
--typographyFormFieldDropdownOptionsL: [object Object];
|
|
221
|
+
--typographyFormFieldSecondLabelXs: [object Object];
|
|
222
|
+
--typographyFormFieldSecondLabelS: [object Object];
|
|
223
|
+
--typographyFormFieldSecondLabelM: [object Object];
|
|
224
|
+
--typographyFormFieldSecondLabelL: [object Object];
|
|
225
|
+
--typographyFormFieldCharacterCountXs: [object Object];
|
|
226
|
+
--typographyFormFieldCharacterCountS: [object Object];
|
|
227
|
+
--typographyFormFieldCharacterCountM: [object Object];
|
|
228
|
+
--typographyFormFieldCharacterCountL: [object Object];
|
|
229
|
+
--typographyLinkTextM: [object Object];
|
|
230
|
+
--typographyLinkTextL: [object Object];
|
|
231
|
+
--typographyMessageHeadingM: [object Object];
|
|
232
|
+
--typographyMessageHeadingL: [object Object];
|
|
233
|
+
--typographyMessageTextM: [object Object];
|
|
234
|
+
--typographyMessageTextL: [object Object];
|
|
235
|
+
--typographyPillLabelS: [object Object];
|
|
236
|
+
--typographyPillLabelM: [object Object];
|
|
237
|
+
--typographyPillLabelL: [object Object];
|
|
238
|
+
--typographyPillLabelXl: [object Object];
|
|
239
|
+
--typographySwitchOptionLabelM: [object Object];
|
|
240
|
+
--typographySwitchOptionLabelL: [object Object];
|
|
241
|
+
--typographyTableHeaderTextM: [object Object];
|
|
242
|
+
--typographyTableCellTextM: [object Object];
|
|
243
|
+
--typographyTooltipTextM: [object Object];
|
|
244
|
+
--typographyTooltipTextL: [object Object];
|
|
245
|
+
}
|