@mathstack/app-kit 2.1.0 → 2.2.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/LICENSE +21 -21
- package/README.md +36 -36
- package/{src/lib/baseline-styles → baseline-styles}/_css-reset.scss +118 -118
- package/{src/lib/baseline-styles → baseline-styles}/_grid.scss +4 -4
- package/{src/lib/baseline-styles → baseline-styles}/_index.scss +6 -6
- package/{src/lib/baseline-styles → baseline-styles}/_sass-utils.scss +23 -23
- package/{src/lib/baseline-styles → baseline-styles}/_themes.scss +19 -19
- package/{src/lib/baseline-styles → baseline-styles}/_typography.scss +232 -232
- package/{src/lib/baseline-styles → baseline-styles}/_webkit-scrollbar.scss +22 -22
- package/{src/lib/baseline-styles → baseline-styles}/theming/_colors.scss +46 -46
- package/{src/lib/baseline-styles → baseline-styles}/theming/_index.scss +2 -2
- package/{src/lib/baseline-styles → baseline-styles}/theming/_typography.scss +32 -32
- package/fesm2022/mathstack-app-kit.mjs +843 -0
- package/fesm2022/mathstack-app-kit.mjs.map +1 -0
- package/package.json +14 -7
- package/types/mathstack-app-kit.d.ts +394 -0
- package/.eslintrc.json +0 -34
- package/ng-package.json +0 -15
- package/project.json +0 -76
- package/src/lib/assets/assets-resource.ts +0 -18
- package/src/lib/assets/assets-service.spec.ts +0 -54
- package/src/lib/assets/assets-service.ts +0 -73
- package/src/lib/assets/index.ts +0 -2
- package/src/lib/content-parsing/index.ts +0 -2
- package/src/lib/content-parsing/markdown-parser.ts +0 -197
- package/src/lib/content-parsing/shiki-highlighter.ts +0 -219
- package/src/lib/core/scss/_colors.scss +0 -37
- package/src/lib/core/scss/_functions.scss +0 -4
- package/src/lib/core/scss/_placeholders.scss +0 -1
- package/src/lib/core/scss/_vars.scss +0 -15
- package/src/lib/core/testing/stubs/services/assets.resource.stub.ts +0 -3
- package/src/lib/core/testing/stubs/services/main.service.stub.ts +0 -5
- package/src/lib/core/utilities/deep-merge.spec.ts +0 -29
- package/src/lib/core/utilities/deep-merge.ts +0 -21
- package/src/lib/core/utilities/index.ts +0 -2
- package/src/lib/core/utilities/safe-assign.spec.ts +0 -41
- package/src/lib/core/utilities/safe-assign.ts +0 -42
- package/src/lib/documentation-display/active-heading-tracker.ts +0 -61
- package/src/lib/documentation-display/document-index/document-index.component.html +0 -34
- package/src/lib/documentation-display/document-index/document-index.component.scss +0 -56
- package/src/lib/documentation-display/document-index/document-index.component.spec.ts +0 -0
- package/src/lib/documentation-display/document-index/document-index.component.ts +0 -39
- package/src/lib/documentation-display/documentation-config-parser.ts +0 -92
- package/src/lib/documentation-display/documentation-content-service.ts +0 -118
- package/src/lib/documentation-display/documentation-display.component.html +0 -33
- package/src/lib/documentation-display/documentation-display.component.scss +0 -142
- package/src/lib/documentation-display/documentation-display.component.spec.ts +0 -0
- package/src/lib/documentation-display/documentation-display.component.ts +0 -129
- package/src/lib/documentation-display/index.ts +0 -6
- package/src/lib/documentation-display/navigation-siblings/navigation-siblings.component.html +0 -31
- package/src/lib/documentation-display/navigation-siblings/navigation-siblings.component.scss +0 -68
- package/src/lib/documentation-display/navigation-siblings/navigation-siblings.component.spec.ts +0 -0
- package/src/lib/documentation-display/navigation-siblings/navigation-siblings.component.ts +0 -52
- package/src/lib/ng-utilities/index.ts +0 -2
- package/src/lib/ng-utilities/ng-on-changes.spec.ts +0 -117
- package/src/lib/ng-utilities/ng-on-changes.ts +0 -50
- package/src/lib/ng-utilities/run-ng-change-detection-then.ts +0 -40
- package/src/public-api.ts +0 -6
- package/tsconfig.lib.json +0 -16
- package/tsconfig.lib.prod.json +0 -11
- package/tsconfig.spec.json +0 -10
|
@@ -1,232 +1,232 @@
|
|
|
1
|
-
@mixin display-large {
|
|
2
|
-
font-family: var(--hsi-adk-font-sans);
|
|
3
|
-
font-weight: var(--hsi-adk-font-weight-regular);
|
|
4
|
-
font-size: 57pt;
|
|
5
|
-
letter-spacing: -0.25pt;
|
|
6
|
-
line-height: 64pt;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
@mixin display-medium {
|
|
10
|
-
font-family: var(--hsi-adk-font-sans);
|
|
11
|
-
font-weight: var(--hsi-adk-font-weight-regular);
|
|
12
|
-
font-size: 45pt;
|
|
13
|
-
letter-spacing: 0;
|
|
14
|
-
line-height: 52pt;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
@mixin display-small {
|
|
18
|
-
font-family: var(--hsi-adk-font-sans);
|
|
19
|
-
font-weight: var(--hsi-adk-font-weight-regular);
|
|
20
|
-
font-size: 36pt;
|
|
21
|
-
letter-spacing: 0;
|
|
22
|
-
line-height: 44pt;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@mixin headline-large {
|
|
26
|
-
font-family: var(--hsi-adk-font-sans);
|
|
27
|
-
font-weight: var(--hsi-adk-font-weight-regular);
|
|
28
|
-
font-size: 32pt;
|
|
29
|
-
letter-spacing: 0;
|
|
30
|
-
line-height: 40pt;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
@mixin headline-medium {
|
|
34
|
-
font-family: var(--hsi-adk-font-sans);
|
|
35
|
-
font-weight: var(--hsi-adk-font-weight-regular);
|
|
36
|
-
font-size: 28pt;
|
|
37
|
-
letter-spacing: 0;
|
|
38
|
-
line-height: 36pt;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
@mixin headline-small {
|
|
42
|
-
font-family: var(--hsi-adk-font-sans);
|
|
43
|
-
font-weight: var(--hsi-adk-font-weight-regular);
|
|
44
|
-
font-size: 24pt;
|
|
45
|
-
letter-spacing: 0;
|
|
46
|
-
line-height: 32pt;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
@mixin title-large {
|
|
50
|
-
font-family: var(--hsi-adk-font-sans);
|
|
51
|
-
font-weight: var(--hsi-adk-font-weight-regular);
|
|
52
|
-
font-size: 22pt;
|
|
53
|
-
letter-spacing: 0;
|
|
54
|
-
line-height: 28pt;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
@mixin title-medium {
|
|
58
|
-
font-family: var(--hsi-adk-font-sans);
|
|
59
|
-
font-weight: var(--hsi-adk-font-weight-medium);
|
|
60
|
-
font-size: 16pt;
|
|
61
|
-
letter-spacing: 0.15pt;
|
|
62
|
-
line-height: 24pt;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
@mixin title-small {
|
|
66
|
-
font-family: var(--hsi-adk-font-sans);
|
|
67
|
-
font-weight: var(--hsi-adk-font-weight-medium);
|
|
68
|
-
font-size: 14pt;
|
|
69
|
-
letter-spacing: 0.1pt;
|
|
70
|
-
line-height: 20pt;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
@mixin body-large {
|
|
74
|
-
font-family: var(--hsi-adk-font-sans);
|
|
75
|
-
font-weight: var(--hsi-adk-font-weight-regular);
|
|
76
|
-
font-size: 16pt;
|
|
77
|
-
letter-spacing: 0.5pt;
|
|
78
|
-
line-height: 24pt;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
@mixin body-medium {
|
|
82
|
-
font-family: var(--hsi-adk-font-sans);
|
|
83
|
-
font-weight: var(--hsi-adk-font-weight-regular);
|
|
84
|
-
font-size: 14pt;
|
|
85
|
-
letter-spacing: 0.25pt;
|
|
86
|
-
line-height: 20pt;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
@mixin body-small {
|
|
90
|
-
font-family: var(--hsi-adk-font-sans);
|
|
91
|
-
font-weight: var(--hsi-adk-font-weight-regular);
|
|
92
|
-
font-size: 12pt;
|
|
93
|
-
letter-spacing: 0.4pt;
|
|
94
|
-
line-height: 16pt;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Not from Material 3 - serve HSI need to communication higher density of information
|
|
98
|
-
@mixin body-xs {
|
|
99
|
-
font-family: var(--hsi-adk-font-sans);
|
|
100
|
-
font-weight: var(--hsi-adk-font-weight-regular);
|
|
101
|
-
font-size: 11pt;
|
|
102
|
-
letter-spacing: 0;
|
|
103
|
-
line-height: 16pt;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
// Not from Material 3 - serve HSI need to communication higher density of information
|
|
107
|
-
@mixin body-2xs {
|
|
108
|
-
font-family: var(--hsi-adk-font-sans);
|
|
109
|
-
font-weight: var(--hsi-adk-font-weight-regular);
|
|
110
|
-
font-size: 10pt;
|
|
111
|
-
letter-spacing: 0;
|
|
112
|
-
line-height: 16pt;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
@mixin label-large {
|
|
116
|
-
font-family: var(--hsi-adk-font-sans);
|
|
117
|
-
font-weight: var(--hsi-adk-font-weight-medium);
|
|
118
|
-
font-size: 14pt;
|
|
119
|
-
letter-spacing: 0.25pt;
|
|
120
|
-
line-height: 20pt;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
@mixin label-large-prominent {
|
|
124
|
-
@include label-large;
|
|
125
|
-
font-weight: var(--hsi-adk-font-weight-bold);
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
@mixin label-large-caps {
|
|
129
|
-
@include label-large;
|
|
130
|
-
text-transform: uppercase;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
@mixin label-large-caps-prominent {
|
|
134
|
-
@include label-large-caps;
|
|
135
|
-
font-weight: var(--hsi-adk-font-weight-bold);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
@mixin label-medium {
|
|
139
|
-
font-family: var(--hsi-adk-font-sans);
|
|
140
|
-
font-weight: var(--hsi-adk-font-weight-medium);
|
|
141
|
-
font-size: 12pt;
|
|
142
|
-
letter-spacing: 0.5pt;
|
|
143
|
-
line-height: 16pt;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
@mixin label-medium-prominent {
|
|
147
|
-
@include label-medium;
|
|
148
|
-
font-weight: var(--hsi-adk-font-weight-bold);
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
@mixin label-medium-caps {
|
|
152
|
-
@include label-medium;
|
|
153
|
-
text-transform: uppercase;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
@mixin label-medium-caps-prominent {
|
|
157
|
-
@include label-medium-caps;
|
|
158
|
-
font-weight: var(--hsi-adk-font-weight-bold);
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
@mixin label-small {
|
|
162
|
-
font-family: var(--hsi-adk-font-sans);
|
|
163
|
-
font-weight: var(--hsi-adk-font-weight-medium);
|
|
164
|
-
font-size: 11pt;
|
|
165
|
-
letter-spacing: 0.5pt;
|
|
166
|
-
line-height: 16pt;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
@mixin label-small-prominent {
|
|
170
|
-
@include label-small;
|
|
171
|
-
font-weight: var(--hsi-adk-font-weight-bold);
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
@mixin label-small-caps {
|
|
175
|
-
@include label-small;
|
|
176
|
-
text-transform: uppercase;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
@mixin label-small-caps-prominent {
|
|
180
|
-
@include label-small-caps;
|
|
181
|
-
font-weight: var(--hsi-adk-font-weight-bold);
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
// Not from Material 3 - serves HSI need to communication higher density of information
|
|
185
|
-
@mixin label-xs {
|
|
186
|
-
font-family: var(--hsi-adk-font-sans);
|
|
187
|
-
font-weight: var(--hsi-adk-font-weight-medium);
|
|
188
|
-
font-size: 10pt;
|
|
189
|
-
letter-spacing: 0.25pt;
|
|
190
|
-
line-height: 14pt;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
@mixin label-xs-prominent {
|
|
194
|
-
@include label-xs;
|
|
195
|
-
font-weight: var(--hsi-adk-font-weight-bold);
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
@mixin label-xs-caps {
|
|
199
|
-
@include label-xs;
|
|
200
|
-
letter-spacing: 0.8pt;
|
|
201
|
-
text-transform: uppercase;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
@mixin label-xs-caps-prominent {
|
|
205
|
-
@include label-xs-caps;
|
|
206
|
-
font-weight: var(--hsi-adk-font-weight-bold);
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
// Not from Material 3 - serves HSI need to communication higher density of information
|
|
210
|
-
@mixin label-2xs {
|
|
211
|
-
font-family: var(--hsi-adk-font-sans);
|
|
212
|
-
font-weight: var(--hsi-adk-font-weight-medium);
|
|
213
|
-
font-size: 9pt;
|
|
214
|
-
letter-spacing: 0.25pt;
|
|
215
|
-
line-height: 12pt;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
@mixin label-2xs-prominent {
|
|
219
|
-
@include label-2xs;
|
|
220
|
-
font-weight: var(--hsi-adk-font-weight-bold);
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
@mixin label-2xs-caps {
|
|
224
|
-
@include label-2xs;
|
|
225
|
-
letter-spacing: 0.8pt;
|
|
226
|
-
text-transform: uppercase;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
@mixin label-2xs-caps-prominent {
|
|
230
|
-
@include label-2xs-caps;
|
|
231
|
-
font-weight: var(--hsi-adk-font-weight-bold);
|
|
232
|
-
}
|
|
1
|
+
@mixin display-large {
|
|
2
|
+
font-family: var(--hsi-adk-font-sans);
|
|
3
|
+
font-weight: var(--hsi-adk-font-weight-regular);
|
|
4
|
+
font-size: 57pt;
|
|
5
|
+
letter-spacing: -0.25pt;
|
|
6
|
+
line-height: 64pt;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@mixin display-medium {
|
|
10
|
+
font-family: var(--hsi-adk-font-sans);
|
|
11
|
+
font-weight: var(--hsi-adk-font-weight-regular);
|
|
12
|
+
font-size: 45pt;
|
|
13
|
+
letter-spacing: 0;
|
|
14
|
+
line-height: 52pt;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@mixin display-small {
|
|
18
|
+
font-family: var(--hsi-adk-font-sans);
|
|
19
|
+
font-weight: var(--hsi-adk-font-weight-regular);
|
|
20
|
+
font-size: 36pt;
|
|
21
|
+
letter-spacing: 0;
|
|
22
|
+
line-height: 44pt;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@mixin headline-large {
|
|
26
|
+
font-family: var(--hsi-adk-font-sans);
|
|
27
|
+
font-weight: var(--hsi-adk-font-weight-regular);
|
|
28
|
+
font-size: 32pt;
|
|
29
|
+
letter-spacing: 0;
|
|
30
|
+
line-height: 40pt;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@mixin headline-medium {
|
|
34
|
+
font-family: var(--hsi-adk-font-sans);
|
|
35
|
+
font-weight: var(--hsi-adk-font-weight-regular);
|
|
36
|
+
font-size: 28pt;
|
|
37
|
+
letter-spacing: 0;
|
|
38
|
+
line-height: 36pt;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@mixin headline-small {
|
|
42
|
+
font-family: var(--hsi-adk-font-sans);
|
|
43
|
+
font-weight: var(--hsi-adk-font-weight-regular);
|
|
44
|
+
font-size: 24pt;
|
|
45
|
+
letter-spacing: 0;
|
|
46
|
+
line-height: 32pt;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@mixin title-large {
|
|
50
|
+
font-family: var(--hsi-adk-font-sans);
|
|
51
|
+
font-weight: var(--hsi-adk-font-weight-regular);
|
|
52
|
+
font-size: 22pt;
|
|
53
|
+
letter-spacing: 0;
|
|
54
|
+
line-height: 28pt;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@mixin title-medium {
|
|
58
|
+
font-family: var(--hsi-adk-font-sans);
|
|
59
|
+
font-weight: var(--hsi-adk-font-weight-medium);
|
|
60
|
+
font-size: 16pt;
|
|
61
|
+
letter-spacing: 0.15pt;
|
|
62
|
+
line-height: 24pt;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@mixin title-small {
|
|
66
|
+
font-family: var(--hsi-adk-font-sans);
|
|
67
|
+
font-weight: var(--hsi-adk-font-weight-medium);
|
|
68
|
+
font-size: 14pt;
|
|
69
|
+
letter-spacing: 0.1pt;
|
|
70
|
+
line-height: 20pt;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
@mixin body-large {
|
|
74
|
+
font-family: var(--hsi-adk-font-sans);
|
|
75
|
+
font-weight: var(--hsi-adk-font-weight-regular);
|
|
76
|
+
font-size: 16pt;
|
|
77
|
+
letter-spacing: 0.5pt;
|
|
78
|
+
line-height: 24pt;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
@mixin body-medium {
|
|
82
|
+
font-family: var(--hsi-adk-font-sans);
|
|
83
|
+
font-weight: var(--hsi-adk-font-weight-regular);
|
|
84
|
+
font-size: 14pt;
|
|
85
|
+
letter-spacing: 0.25pt;
|
|
86
|
+
line-height: 20pt;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@mixin body-small {
|
|
90
|
+
font-family: var(--hsi-adk-font-sans);
|
|
91
|
+
font-weight: var(--hsi-adk-font-weight-regular);
|
|
92
|
+
font-size: 12pt;
|
|
93
|
+
letter-spacing: 0.4pt;
|
|
94
|
+
line-height: 16pt;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
// Not from Material 3 - serve HSI need to communication higher density of information
|
|
98
|
+
@mixin body-xs {
|
|
99
|
+
font-family: var(--hsi-adk-font-sans);
|
|
100
|
+
font-weight: var(--hsi-adk-font-weight-regular);
|
|
101
|
+
font-size: 11pt;
|
|
102
|
+
letter-spacing: 0;
|
|
103
|
+
line-height: 16pt;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
// Not from Material 3 - serve HSI need to communication higher density of information
|
|
107
|
+
@mixin body-2xs {
|
|
108
|
+
font-family: var(--hsi-adk-font-sans);
|
|
109
|
+
font-weight: var(--hsi-adk-font-weight-regular);
|
|
110
|
+
font-size: 10pt;
|
|
111
|
+
letter-spacing: 0;
|
|
112
|
+
line-height: 16pt;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
@mixin label-large {
|
|
116
|
+
font-family: var(--hsi-adk-font-sans);
|
|
117
|
+
font-weight: var(--hsi-adk-font-weight-medium);
|
|
118
|
+
font-size: 14pt;
|
|
119
|
+
letter-spacing: 0.25pt;
|
|
120
|
+
line-height: 20pt;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
@mixin label-large-prominent {
|
|
124
|
+
@include label-large;
|
|
125
|
+
font-weight: var(--hsi-adk-font-weight-bold);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
@mixin label-large-caps {
|
|
129
|
+
@include label-large;
|
|
130
|
+
text-transform: uppercase;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
@mixin label-large-caps-prominent {
|
|
134
|
+
@include label-large-caps;
|
|
135
|
+
font-weight: var(--hsi-adk-font-weight-bold);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
@mixin label-medium {
|
|
139
|
+
font-family: var(--hsi-adk-font-sans);
|
|
140
|
+
font-weight: var(--hsi-adk-font-weight-medium);
|
|
141
|
+
font-size: 12pt;
|
|
142
|
+
letter-spacing: 0.5pt;
|
|
143
|
+
line-height: 16pt;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
@mixin label-medium-prominent {
|
|
147
|
+
@include label-medium;
|
|
148
|
+
font-weight: var(--hsi-adk-font-weight-bold);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
@mixin label-medium-caps {
|
|
152
|
+
@include label-medium;
|
|
153
|
+
text-transform: uppercase;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
@mixin label-medium-caps-prominent {
|
|
157
|
+
@include label-medium-caps;
|
|
158
|
+
font-weight: var(--hsi-adk-font-weight-bold);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
@mixin label-small {
|
|
162
|
+
font-family: var(--hsi-adk-font-sans);
|
|
163
|
+
font-weight: var(--hsi-adk-font-weight-medium);
|
|
164
|
+
font-size: 11pt;
|
|
165
|
+
letter-spacing: 0.5pt;
|
|
166
|
+
line-height: 16pt;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
@mixin label-small-prominent {
|
|
170
|
+
@include label-small;
|
|
171
|
+
font-weight: var(--hsi-adk-font-weight-bold);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
@mixin label-small-caps {
|
|
175
|
+
@include label-small;
|
|
176
|
+
text-transform: uppercase;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
@mixin label-small-caps-prominent {
|
|
180
|
+
@include label-small-caps;
|
|
181
|
+
font-weight: var(--hsi-adk-font-weight-bold);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
// Not from Material 3 - serves HSI need to communication higher density of information
|
|
185
|
+
@mixin label-xs {
|
|
186
|
+
font-family: var(--hsi-adk-font-sans);
|
|
187
|
+
font-weight: var(--hsi-adk-font-weight-medium);
|
|
188
|
+
font-size: 10pt;
|
|
189
|
+
letter-spacing: 0.25pt;
|
|
190
|
+
line-height: 14pt;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
@mixin label-xs-prominent {
|
|
194
|
+
@include label-xs;
|
|
195
|
+
font-weight: var(--hsi-adk-font-weight-bold);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
@mixin label-xs-caps {
|
|
199
|
+
@include label-xs;
|
|
200
|
+
letter-spacing: 0.8pt;
|
|
201
|
+
text-transform: uppercase;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
@mixin label-xs-caps-prominent {
|
|
205
|
+
@include label-xs-caps;
|
|
206
|
+
font-weight: var(--hsi-adk-font-weight-bold);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
// Not from Material 3 - serves HSI need to communication higher density of information
|
|
210
|
+
@mixin label-2xs {
|
|
211
|
+
font-family: var(--hsi-adk-font-sans);
|
|
212
|
+
font-weight: var(--hsi-adk-font-weight-medium);
|
|
213
|
+
font-size: 9pt;
|
|
214
|
+
letter-spacing: 0.25pt;
|
|
215
|
+
line-height: 12pt;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
@mixin label-2xs-prominent {
|
|
219
|
+
@include label-2xs;
|
|
220
|
+
font-weight: var(--hsi-adk-font-weight-bold);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
@mixin label-2xs-caps {
|
|
224
|
+
@include label-2xs;
|
|
225
|
+
letter-spacing: 0.8pt;
|
|
226
|
+
text-transform: uppercase;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
@mixin label-2xs-caps-prominent {
|
|
230
|
+
@include label-2xs-caps;
|
|
231
|
+
font-weight: var(--hsi-adk-font-weight-bold);
|
|
232
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
@mixin custom-webkit-scrollbar(
|
|
2
|
-
$vertical-scrollbar-thickness: 8px,
|
|
3
|
-
$horizontal-scrollbar-thickness: 12px,
|
|
4
|
-
$color: lightgray,
|
|
5
|
-
$background: white,
|
|
6
|
-
$border-radius: 50%
|
|
7
|
-
) {
|
|
8
|
-
::-webkit-scrollbar {
|
|
9
|
-
width: $vertical-scrollbar-thickness;
|
|
10
|
-
height: $horizontal-scrollbar-thickness;
|
|
11
|
-
border-radius: $border-radius;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
::-webkit-scrollbar-track {
|
|
15
|
-
background: $background;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
::-webkit-scrollbar-thumb {
|
|
19
|
-
background: $color;
|
|
20
|
-
border-radius: $vertical-scrollbar-thickness;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
1
|
+
@mixin custom-webkit-scrollbar(
|
|
2
|
+
$vertical-scrollbar-thickness: 8px,
|
|
3
|
+
$horizontal-scrollbar-thickness: 12px,
|
|
4
|
+
$color: lightgray,
|
|
5
|
+
$background: white,
|
|
6
|
+
$border-radius: 50%
|
|
7
|
+
) {
|
|
8
|
+
::-webkit-scrollbar {
|
|
9
|
+
width: $vertical-scrollbar-thickness;
|
|
10
|
+
height: $horizontal-scrollbar-thickness;
|
|
11
|
+
border-radius: $border-radius;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
::-webkit-scrollbar-track {
|
|
15
|
+
background: $background;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
::-webkit-scrollbar-thumb {
|
|
19
|
+
background: $color;
|
|
20
|
+
border-radius: $vertical-scrollbar-thickness;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
$primary: (
|
|
2
|
-
0: #000000,
|
|
3
|
-
5: #000c38,
|
|
4
|
-
10: #001550,
|
|
5
|
-
15: #001e68,
|
|
6
|
-
20: #002780,
|
|
7
|
-
25: #003099,
|
|
8
|
-
30: #003ab3,
|
|
9
|
-
35: #0043ce,
|
|
10
|
-
40: #1550e1,
|
|
11
|
-
50: #3d6bfb,
|
|
12
|
-
60: #6889ff,
|
|
13
|
-
70: #90a7ff,
|
|
14
|
-
80: #b6c4ff,
|
|
15
|
-
90: #dce1ff,
|
|
16
|
-
95: #eff0ff,
|
|
17
|
-
98: #faf8ff,
|
|
18
|
-
99: #fefbff,
|
|
19
|
-
100: #ffffff,
|
|
20
|
-
);
|
|
21
|
-
|
|
22
|
-
$muted-primary: (
|
|
23
|
-
0: #000000,
|
|
24
|
-
5: #141821,
|
|
25
|
-
10: #20283c,
|
|
26
|
-
15: #2b3246,
|
|
27
|
-
20: #353c4f,
|
|
28
|
-
25: #404759,
|
|
29
|
-
30: #4c5263,
|
|
30
|
-
35: #575d6e,
|
|
31
|
-
40: #636878,
|
|
32
|
-
50: #7b7f8e,
|
|
33
|
-
60: #9397a4,
|
|
34
|
-
70: #adb0ba,
|
|
35
|
-
80: #c7cad1,
|
|
36
|
-
90: #e1e4e9,
|
|
37
|
-
95: #eff1f5,
|
|
38
|
-
98: #f9f9fb,
|
|
39
|
-
99: #fcfcfd,
|
|
40
|
-
100: #ffffff,
|
|
41
|
-
);
|
|
42
|
-
|
|
43
|
-
$colors: (
|
|
44
|
-
'primary': $primary,
|
|
45
|
-
'muted-primary': $muted-primary,
|
|
46
|
-
);
|
|
1
|
+
$primary: (
|
|
2
|
+
0: #000000,
|
|
3
|
+
5: #000c38,
|
|
4
|
+
10: #001550,
|
|
5
|
+
15: #001e68,
|
|
6
|
+
20: #002780,
|
|
7
|
+
25: #003099,
|
|
8
|
+
30: #003ab3,
|
|
9
|
+
35: #0043ce,
|
|
10
|
+
40: #1550e1,
|
|
11
|
+
50: #3d6bfb,
|
|
12
|
+
60: #6889ff,
|
|
13
|
+
70: #90a7ff,
|
|
14
|
+
80: #b6c4ff,
|
|
15
|
+
90: #dce1ff,
|
|
16
|
+
95: #eff0ff,
|
|
17
|
+
98: #faf8ff,
|
|
18
|
+
99: #fefbff,
|
|
19
|
+
100: #ffffff,
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
$muted-primary: (
|
|
23
|
+
0: #000000,
|
|
24
|
+
5: #141821,
|
|
25
|
+
10: #20283c,
|
|
26
|
+
15: #2b3246,
|
|
27
|
+
20: #353c4f,
|
|
28
|
+
25: #404759,
|
|
29
|
+
30: #4c5263,
|
|
30
|
+
35: #575d6e,
|
|
31
|
+
40: #636878,
|
|
32
|
+
50: #7b7f8e,
|
|
33
|
+
60: #9397a4,
|
|
34
|
+
70: #adb0ba,
|
|
35
|
+
80: #c7cad1,
|
|
36
|
+
90: #e1e4e9,
|
|
37
|
+
95: #eff1f5,
|
|
38
|
+
98: #f9f9fb,
|
|
39
|
+
99: #fcfcfd,
|
|
40
|
+
100: #ffffff,
|
|
41
|
+
);
|
|
42
|
+
|
|
43
|
+
$colors: (
|
|
44
|
+
'primary': $primary,
|
|
45
|
+
'muted-primary': $muted-primary,
|
|
46
|
+
);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@forward 'colors';
|
|
2
|
-
@forward 'typography';
|
|
1
|
+
@forward 'colors';
|
|
2
|
+
@forward 'typography';
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Mono:wght@100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');
|
|
2
|
-
|
|
3
|
-
// Fonts
|
|
4
|
-
$font: (
|
|
5
|
-
'sans': (
|
|
6
|
-
'Noto Sans',
|
|
7
|
-
sans-serif,
|
|
8
|
-
),
|
|
9
|
-
'serif': (
|
|
10
|
-
'Noto Serif',
|
|
11
|
-
serif,
|
|
12
|
-
),
|
|
13
|
-
'mono': (
|
|
14
|
-
'Noto Sans Mono',
|
|
15
|
-
monospace,
|
|
16
|
-
),
|
|
17
|
-
'weight': (
|
|
18
|
-
'light': 100,
|
|
19
|
-
'regular': 400,
|
|
20
|
-
'medium': 500,
|
|
21
|
-
'semibold': 600,
|
|
22
|
-
'bold': 700,
|
|
23
|
-
),
|
|
24
|
-
'line-height': (
|
|
25
|
-
0: 1,
|
|
26
|
-
1: 1.125,
|
|
27
|
-
2: 1.25,
|
|
28
|
-
3: 1.5,
|
|
29
|
-
4: 1.75,
|
|
30
|
-
5: 2,
|
|
31
|
-
),
|
|
32
|
-
);
|
|
1
|
+
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Mono:wght@100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');
|
|
2
|
+
|
|
3
|
+
// Fonts
|
|
4
|
+
$font: (
|
|
5
|
+
'sans': (
|
|
6
|
+
'Noto Sans',
|
|
7
|
+
sans-serif,
|
|
8
|
+
),
|
|
9
|
+
'serif': (
|
|
10
|
+
'Noto Serif',
|
|
11
|
+
serif,
|
|
12
|
+
),
|
|
13
|
+
'mono': (
|
|
14
|
+
'Noto Sans Mono',
|
|
15
|
+
monospace,
|
|
16
|
+
),
|
|
17
|
+
'weight': (
|
|
18
|
+
'light': 100,
|
|
19
|
+
'regular': 400,
|
|
20
|
+
'medium': 500,
|
|
21
|
+
'semibold': 600,
|
|
22
|
+
'bold': 700,
|
|
23
|
+
),
|
|
24
|
+
'line-height': (
|
|
25
|
+
0: 1,
|
|
26
|
+
1: 1.125,
|
|
27
|
+
2: 1.25,
|
|
28
|
+
3: 1.5,
|
|
29
|
+
4: 1.75,
|
|
30
|
+
5: 2,
|
|
31
|
+
),
|
|
32
|
+
);
|