@mathstack/app-kit 1.1.2 → 2.0.3

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.
Files changed (74) hide show
  1. package/.eslintrc.json +34 -0
  2. package/LICENSE +21 -21
  3. package/README.md +36 -31
  4. package/ng-package.json +15 -0
  5. package/package.json +9 -13
  6. package/project.json +76 -0
  7. package/src/lib/assets/assets-resource.ts +18 -0
  8. package/src/lib/assets/assets-service.spec.ts +54 -0
  9. package/src/lib/assets/assets-service.ts +73 -0
  10. package/src/lib/assets/index.ts +2 -0
  11. package/{baseline-styles → src/lib/baseline-styles}/_css-reset.scss +118 -118
  12. package/{baseline-styles → src/lib/baseline-styles}/_grid.scss +4 -4
  13. package/{baseline-styles → src/lib/baseline-styles}/_index.scss +6 -6
  14. package/{baseline-styles → src/lib/baseline-styles}/_sass-utils.scss +23 -23
  15. package/{baseline-styles → src/lib/baseline-styles}/_themes.scss +19 -19
  16. package/{baseline-styles → src/lib/baseline-styles}/_typography.scss +232 -232
  17. package/{baseline-styles → src/lib/baseline-styles}/_webkit-scrollbar.scss +22 -22
  18. package/{baseline-styles → src/lib/baseline-styles}/theming/_colors.scss +46 -46
  19. package/{baseline-styles → src/lib/baseline-styles}/theming/_index.scss +2 -2
  20. package/{baseline-styles → src/lib/baseline-styles}/theming/_typography.scss +32 -32
  21. package/{lib/content-parsing/index.d.ts → src/lib/content-parsing/index.ts} +2 -2
  22. package/src/lib/content-parsing/markdown-parser.ts +197 -0
  23. package/src/lib/content-parsing/shiki-highlighter.ts +219 -0
  24. package/src/lib/core/scss/_colors.scss +37 -0
  25. package/src/lib/core/scss/_functions.scss +4 -0
  26. package/src/lib/core/scss/_placeholders.scss +1 -0
  27. package/src/lib/core/scss/_vars.scss +15 -0
  28. package/src/lib/core/testing/stubs/services/assets.resource.stub.ts +3 -0
  29. package/src/lib/core/testing/stubs/services/main.service.stub.ts +5 -0
  30. package/src/lib/core/utilities/deep-merge.spec.ts +29 -0
  31. package/src/lib/core/utilities/deep-merge.ts +21 -0
  32. package/{lib/core/utilities/index.d.ts → src/lib/core/utilities/index.ts} +2 -2
  33. package/src/lib/core/utilities/safe-assign.spec.ts +41 -0
  34. package/{lib/core/utilities/safe-assign.d.ts → src/lib/core/utilities/safe-assign.ts} +42 -18
  35. package/src/lib/documentation-display/active-heading-tracker.ts +61 -0
  36. package/src/lib/documentation-display/document-index/document-index.component.html +34 -0
  37. package/src/lib/documentation-display/document-index/document-index.component.scss +56 -0
  38. package/src/lib/documentation-display/document-index/document-index.component.spec.ts +0 -0
  39. package/src/lib/documentation-display/document-index/document-index.component.ts +39 -0
  40. package/src/lib/documentation-display/documentation-config-parser.ts +92 -0
  41. package/src/lib/documentation-display/documentation-content-service.ts +118 -0
  42. package/src/lib/documentation-display/documentation-display.component.html +33 -0
  43. package/src/lib/documentation-display/documentation-display.component.scss +142 -0
  44. package/src/lib/documentation-display/documentation-display.component.spec.ts +0 -0
  45. package/src/lib/documentation-display/documentation-display.component.ts +129 -0
  46. package/{lib/documentation-display/index.d.ts → src/lib/documentation-display/index.ts} +6 -6
  47. package/src/lib/documentation-display/navigation-siblings/navigation-siblings.component.html +31 -0
  48. package/src/lib/documentation-display/navigation-siblings/navigation-siblings.component.scss +68 -0
  49. package/src/lib/documentation-display/navigation-siblings/navigation-siblings.component.spec.ts +0 -0
  50. package/src/lib/documentation-display/navigation-siblings/navigation-siblings.component.ts +52 -0
  51. package/{lib/ng-utilities/index.d.ts → src/lib/ng-utilities/index.ts} +2 -2
  52. package/src/lib/ng-utilities/ng-on-changes.spec.ts +117 -0
  53. package/src/lib/ng-utilities/ng-on-changes.ts +50 -0
  54. package/{lib/ng-utilities/run-ng-change-detection-then.d.ts → src/lib/ng-utilities/run-ng-change-detection-then.ts} +40 -22
  55. package/{public-api.d.ts → src/public-api.ts} +6 -6
  56. package/tsconfig.lib.json +16 -0
  57. package/tsconfig.lib.prod.json +11 -0
  58. package/tsconfig.spec.json +10 -0
  59. package/fesm2022/mathstack-app-kit.mjs +0 -846
  60. package/fesm2022/mathstack-app-kit.mjs.map +0 -1
  61. package/index.d.ts +0 -5
  62. package/lib/assets/assets-resource.d.ts +0 -11
  63. package/lib/assets/assets-service.d.ts +0 -35
  64. package/lib/assets/index.d.ts +0 -1
  65. package/lib/content-parsing/markdown-parser.d.ts +0 -54
  66. package/lib/content-parsing/shiki-highlighter.d.ts +0 -77
  67. package/lib/core/utilities/deep-merge.d.ts +0 -1
  68. package/lib/documentation-display/active-heading-tracker.d.ts +0 -14
  69. package/lib/documentation-display/document-index/document-index.component.d.ts +0 -17
  70. package/lib/documentation-display/documentation-config-parser.d.ts +0 -41
  71. package/lib/documentation-display/documentation-content-service.d.ts +0 -50
  72. package/lib/documentation-display/documentation-display.component.d.ts +0 -39
  73. package/lib/documentation-display/navigation-siblings/navigation-siblings.component.d.ts +0 -18
  74. package/lib/ng-utilities/ng-on-changes.d.ts +0 -22
@@ -1,6 +1,6 @@
1
- @forward 'css-reset';
2
- @forward 'grid';
3
- @forward 'sass-utils';
4
- @forward 'themes';
5
- @forward 'typography';
6
- @forward 'webkit-scrollbar';
1
+ @forward 'css-reset';
2
+ @forward 'grid';
3
+ @forward 'sass-utils';
4
+ @forward 'themes';
5
+ @forward 'typography';
6
+ @forward 'webkit-scrollbar';
@@ -1,23 +1,23 @@
1
- @use 'sass:meta';
2
- // create mixin
3
- @mixin map-scss-vars-into-css-vars($map, $prefix: '', $key: '') {
4
- @each $name, $value in $map {
5
- // copy the map key
6
- $key-copy: $key;
7
- // create name for CSS custom property that contains:
8
- // current key + child key from nested map
9
- @if $name != 'rest' {
10
- $key: #{$key}-#{$name};
11
- }
12
- @if meta.type-of($value) == 'map' {
13
- // if value is a map, invoke it once more
14
- @include map-scss-vars-into-css-vars($value, $prefix, $key);
15
- } @else if $prefix == '' {
16
- -#{$key}: #{$value};
17
- } @else {
18
- --#{$prefix}#{$key}: #{$value};
19
- }
20
- // next iteration of loop should go with unchanged key
21
- $key: $key-copy;
22
- }
23
- }
1
+ @use 'sass:meta';
2
+ // create mixin
3
+ @mixin map-scss-vars-into-css-vars($map, $prefix: '', $key: '') {
4
+ @each $name, $value in $map {
5
+ // copy the map key
6
+ $key-copy: $key;
7
+ // create name for CSS custom property that contains:
8
+ // current key + child key from nested map
9
+ @if $name != 'rest' {
10
+ $key: #{$key}-#{$name};
11
+ }
12
+ @if meta.type-of($value) == 'map' {
13
+ // if value is a map, invoke it once more
14
+ @include map-scss-vars-into-css-vars($value, $prefix, $key);
15
+ } @else if $prefix == '' {
16
+ -#{$key}: #{$value};
17
+ } @else {
18
+ --#{$prefix}#{$key}: #{$value};
19
+ }
20
+ // next iteration of loop should go with unchanged key
21
+ $key: $key-copy;
22
+ }
23
+ }
@@ -1,19 +1,19 @@
1
- @use './sass-utils';
2
- @use './theming';
3
-
4
- /**
5
- * Create CSS color and typography variables for theming.
6
- *
7
- * Intended to be used globally (at html-level) in a consuming application, which will allow for easy overriding at a lower level.
8
- */
9
- @mixin create-theme() {
10
- @include sass-utils.map-scss-vars-into-css-vars(
11
- theming.$colors,
12
- 'hsi-adk-color'
13
- );
14
-
15
- @include sass-utils.map-scss-vars-into-css-vars(
16
- theming.$font,
17
- 'hsi-adk-font'
18
- );
19
- }
1
+ @use './sass-utils';
2
+ @use './theming';
3
+
4
+ /**
5
+ * Create CSS color and typography variables for theming.
6
+ *
7
+ * Intended to be used globally (at html-level) in a consuming application, which will allow for easy overriding at a lower level.
8
+ */
9
+ @mixin create-theme() {
10
+ @include sass-utils.map-scss-vars-into-css-vars(
11
+ theming.$colors,
12
+ 'hsi-adk-color'
13
+ );
14
+
15
+ @include sass-utils.map-scss-vars-into-css-vars(
16
+ theming.$font,
17
+ 'hsi-adk-font'
18
+ );
19
+ }
@@ -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
+ }