@api-client/ui 0.3.1 → 0.3.2

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.
@@ -1 +1 @@
1
- {"version":3,"file":"common.styles.d.ts","sourceRoot":"","sources":["../../../../../src/md/text-field/internals/common.styles.ts"],"names":[],"mappings":";AAEA,wBA8LC"}
1
+ {"version":3,"file":"common.styles.d.ts","sourceRoot":"","sources":["../../../../../src/md/text-field/internals/common.styles.ts"],"names":[],"mappings":";AAEA,wBA2LC"}
@@ -145,9 +145,6 @@ export default css `
145
145
  }
146
146
 
147
147
  .supporting-text-start {
148
- overflow: hidden;
149
- text-overflow: ellipsis;
150
- white-space: nowrap;
151
148
  flex: 1;
152
149
  margin-right: 16px;
153
150
  }
@@ -1 +1 @@
1
- {"version":3,"file":"common.styles.js","sourceRoot":"","sources":["../../../../../src/md/text-field/internals/common.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAEzB,eAAe,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8LjB,CAAA","sourcesContent":["import { css } from 'lit'\n\nexport default css`\n :host {\n display: inline-flex;\n flex-direction: column;\n vertical-align: top;\n outline: none;\n -webkit-tap-highlight-color: transparent;\n cursor: text;\n\n min-width: 200px;\n }\n\n .surface {\n height: 56px;\n position: relative;\n display: flex;\n align-items: center;\n cursor: inherit;\n }\n\n .container {\n position: absolute;\n inset: 0;\n z-index: 1;\n border-radius: inherit;\n }\n\n .content {\n height: inherit;\n display: flex;\n align-items: center;\n justify-content: start;\n box-sizing: border-box;\n position: relative;\n z-index: 2;\n flex: 1;\n cursor: inherit;\n }\n\n .body {\n flex: 1;\n box-sizing: border-box;\n position: relative;\n cursor: inherit;\n }\n\n .label {\n color: var(--md-sys-color-on-surface-variant);\n\n max-width: 100%;\n pointer-events: none;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n z-index: 3;\n\n font-family: var(--md-sys-typescale-body-large-font);\n font-weight: var(--md-sys-typescale-body-large-weight);\n font-size: var(--md-sys-typescale-body-large-size);\n letter-spacing: var(--md-sys-typescale-body-large-tracking);\n line-height: var(--md-sys-typescale-body-large-height);\n\n transform-origin: left center;\n transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n }\n\n .input {\n caret-color: var(--md-sys-color-primary);\n color: var(--md-sys-color-on-surface);\n height: 24px; /* ??? */\n flex: 1; /* ??? */\n white-space: nowrap;\n overflow: hidden;\n background: transparent;\n border: none;\n outline: none;\n padding: 0;\n margin: 0;\n width: 1px;\n cursor: inherit;\n\n font-family: var(--md-sys-typescale-body-large-font);\n font-weight: var(--md-sys-typescale-body-large-weight);\n font-size: var(--md-sys-typescale-body-large-size);\n letter-spacing: var(--md-sys-typescale-body-large-tracking);\n line-height: var(--md-sys-typescale-body-large-height);\n }\n\n .input:-webkit-autofill,\n .input:autofill {\n background-color: transparent !important;\n }\n\n .start,\n .body,\n .end {\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: start;\n }\n\n .start {\n width: 16px;\n min-width: 16px;\n }\n\n .start.prefixed {\n width: 24px;\n min-width: 24px;\n margin-left: 12px;\n margin-right: 16px;\n }\n\n .end {\n width: 16px;\n min-width: 16px;\n }\n\n .end.suffixed {\n width: 24px;\n min-width: 24px;\n margin-right: 12px;\n padding-right: 12px;\n margin-left: 16px;\n }\n\n .end ::slotted(*),\n .start ::slotted(*) {\n cursor: default;\n }\n\n .supporting-text {\n padding-top: 4px;\n color: var(--md-sys-color-on-surface-variant);\n font-family: var(--md-sys-typescale-body-small-font);\n font-weight: var(--md-sys-typescale-body-small-weight);\n font-size: var(--md-sys-typescale-body-small-size);\n letter-spacing: var(--md-sys-typescale-body-small-tracking);\n line-height: var(--md-sys-typescale-body-small-height);\n display: flex;\n justify-content: space-between;\n padding: 0 16px;\n }\n\n .supporting-text-start {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n flex: 1;\n margin-right: 16px;\n }\n\n .supporting-text-end {\n margin-left: auto;\n flex-shrink: 0;\n }\n\n :host([disabled]) {\n pointer-events: none;\n }\n\n :host([disabled]) .container {\n background-color: var(--md-sys-color-on-surface);\n opacity: 0.04;\n }\n\n :host([disabled]) .label,\n :host([disabled]) .input,\n :host([disabled]) .end ::slotted(*),\n :host([disabled]) .start ::slotted(*) {\n color: var(--md-sys-color-on-surface);\n opacity: 0.38;\n }\n\n :host([invalid]) .label,\n :host([invalid]:focus-within) .label,\n :host([invalid]) .supporting-text,\n :host([invalid]) .end ::slotted(*) {\n color: var(--md-sys-color-error);\n }\n\n :host([invalid]:hover) .label,\n :host([invalid]:hover) .end ::slotted(*) {\n color: var(--md-sys-color-on-error-container);\n }\n\n .labelHidden .label {\n display: none;\n }\n`\n"]}
1
+ {"version":3,"file":"common.styles.js","sourceRoot":"","sources":["../../../../../src/md/text-field/internals/common.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAEzB,eAAe,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2LjB,CAAA","sourcesContent":["import { css } from 'lit'\n\nexport default css`\n :host {\n display: inline-flex;\n flex-direction: column;\n vertical-align: top;\n outline: none;\n -webkit-tap-highlight-color: transparent;\n cursor: text;\n\n min-width: 200px;\n }\n\n .surface {\n height: 56px;\n position: relative;\n display: flex;\n align-items: center;\n cursor: inherit;\n }\n\n .container {\n position: absolute;\n inset: 0;\n z-index: 1;\n border-radius: inherit;\n }\n\n .content {\n height: inherit;\n display: flex;\n align-items: center;\n justify-content: start;\n box-sizing: border-box;\n position: relative;\n z-index: 2;\n flex: 1;\n cursor: inherit;\n }\n\n .body {\n flex: 1;\n box-sizing: border-box;\n position: relative;\n cursor: inherit;\n }\n\n .label {\n color: var(--md-sys-color-on-surface-variant);\n\n max-width: 100%;\n pointer-events: none;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n z-index: 3;\n\n font-family: var(--md-sys-typescale-body-large-font);\n font-weight: var(--md-sys-typescale-body-large-weight);\n font-size: var(--md-sys-typescale-body-large-size);\n letter-spacing: var(--md-sys-typescale-body-large-tracking);\n line-height: var(--md-sys-typescale-body-large-height);\n\n transform-origin: left center;\n transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n }\n\n .input {\n caret-color: var(--md-sys-color-primary);\n color: var(--md-sys-color-on-surface);\n height: 24px; /* ??? */\n flex: 1; /* ??? */\n white-space: nowrap;\n overflow: hidden;\n background: transparent;\n border: none;\n outline: none;\n padding: 0;\n margin: 0;\n width: 1px;\n cursor: inherit;\n\n font-family: var(--md-sys-typescale-body-large-font);\n font-weight: var(--md-sys-typescale-body-large-weight);\n font-size: var(--md-sys-typescale-body-large-size);\n letter-spacing: var(--md-sys-typescale-body-large-tracking);\n line-height: var(--md-sys-typescale-body-large-height);\n }\n\n .input:-webkit-autofill,\n .input:autofill {\n background-color: transparent !important;\n }\n\n .start,\n .body,\n .end {\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: start;\n }\n\n .start {\n width: 16px;\n min-width: 16px;\n }\n\n .start.prefixed {\n width: 24px;\n min-width: 24px;\n margin-left: 12px;\n margin-right: 16px;\n }\n\n .end {\n width: 16px;\n min-width: 16px;\n }\n\n .end.suffixed {\n width: 24px;\n min-width: 24px;\n margin-right: 12px;\n padding-right: 12px;\n margin-left: 16px;\n }\n\n .end ::slotted(*),\n .start ::slotted(*) {\n cursor: default;\n }\n\n .supporting-text {\n padding-top: 4px;\n color: var(--md-sys-color-on-surface-variant);\n font-family: var(--md-sys-typescale-body-small-font);\n font-weight: var(--md-sys-typescale-body-small-weight);\n font-size: var(--md-sys-typescale-body-small-size);\n letter-spacing: var(--md-sys-typescale-body-small-tracking);\n line-height: var(--md-sys-typescale-body-small-height);\n display: flex;\n justify-content: space-between;\n padding: 0 16px;\n }\n\n .supporting-text-start {\n flex: 1;\n margin-right: 16px;\n }\n\n .supporting-text-end {\n margin-left: auto;\n flex-shrink: 0;\n }\n\n :host([disabled]) {\n pointer-events: none;\n }\n\n :host([disabled]) .container {\n background-color: var(--md-sys-color-on-surface);\n opacity: 0.04;\n }\n\n :host([disabled]) .label,\n :host([disabled]) .input,\n :host([disabled]) .end ::slotted(*),\n :host([disabled]) .start ::slotted(*) {\n color: var(--md-sys-color-on-surface);\n opacity: 0.38;\n }\n\n :host([invalid]) .label,\n :host([invalid]:focus-within) .label,\n :host([invalid]) .supporting-text,\n :host([invalid]) .end ::slotted(*) {\n color: var(--md-sys-color-error);\n }\n\n :host([invalid]:hover) .label,\n :host([invalid]:hover) .end ::slotted(*) {\n color: var(--md-sys-color-on-error-container);\n }\n\n .labelHidden .label {\n display: none;\n }\n`\n"]}
@@ -0,0 +1,270 @@
1
+ /* Styling for the native UI controls to look like MD elements */
2
+
3
+ /*
4
+ Material Select
5
+
6
+ Behaves mostly like an outlined input with a label.
7
+ */
8
+
9
+ @keyframes focus-outline-inward {
10
+ 0% {
11
+ outline-width: 0;
12
+ outline-offset: 0;
13
+ }
14
+ 50% {
15
+ outline-width: var(--md-focus-ring-active-width, 8px);
16
+ outline-offset: calc(-1 * var(--md-focus-ring-active-width, 8px));
17
+ }
18
+ 100% {
19
+ outline-width: var(--md-focus-ring-width, 3px);
20
+ outline-offset: calc(-1 * var(--md-focus-ring-width, 3px));
21
+ }
22
+ }
23
+
24
+ .md-select {
25
+ display: inline-block;
26
+ vertical-align: top;
27
+
28
+ --_outline-color: var(--md-focus-ring-color, var(--md-sys-color-secondary));
29
+
30
+ select,
31
+ ::picker(select) {
32
+ appearance: base-select;
33
+ }
34
+
35
+ select {
36
+ height: 56px;
37
+ display: inline-flex;
38
+ align-items: center;
39
+ justify-content: start;
40
+ box-sizing: border-box;
41
+ gap: 0;
42
+ padding: 0 16px 0 16px;
43
+
44
+ .prefix, .suffix {
45
+ min-width: 16px;
46
+ }
47
+
48
+ .prefix {
49
+ margin-left: 12px;
50
+ margin-right: 16px;
51
+ }
52
+
53
+ .suffix {
54
+ margin-left: 12px;
55
+ margin-right: 12px;
56
+ }
57
+
58
+ .prefix, selectedcontent, .suffix {
59
+ display: flex;
60
+ align-items: center;
61
+ justify-content: start;
62
+ }
63
+
64
+ selectedcontent {
65
+ padding-right: 16px;
66
+ }
67
+ }
68
+
69
+ select:has(.suffix) selectedcontent {
70
+ padding-right: 0;
71
+ }
72
+
73
+ select:has(.prefix) {
74
+ padding-left: 0;
75
+ }
76
+
77
+ option {
78
+ display: flex;
79
+ align-items: center;
80
+ overflow: hidden;
81
+ padding: 8px 16px;
82
+ box-sizing: border-box;
83
+ height: 56px;
84
+ cursor: default;
85
+ position: relative;
86
+
87
+ outline: 0 solid var(--_outline-color);
88
+ outline-offset: -3px;
89
+ }
90
+
91
+ option:hover {
92
+ background-color: transparent;
93
+ &::before {
94
+ opacity: var(--md-sys-state-hover-state-layer-opacity);
95
+ background-color: var(--md-sys-color-primary);
96
+ content: '';
97
+ position: absolute;
98
+ inset: 0;
99
+ }
100
+ }
101
+
102
+ option:focus-visible {
103
+ background-color: transparent;
104
+ animation: focus-outline-inward var(--md-focus-ring-duration, 600ms) cubic-bezier(0.2, 0, 0, 1) forwards;
105
+ }
106
+
107
+ @media(prefers-reduced-motion) {
108
+ option:focus-visible {
109
+ animation: none;
110
+ outline-width: var(--md-focus-ring-width, 3px);
111
+ outline-offset: calc(-1 * var(--md-focus-ring-width, 3px));
112
+ }
113
+ }
114
+
115
+ ::picker(select) {
116
+ border: none;
117
+ padding: 10px 0;
118
+ background-color: var(--md-sys-color-surface);
119
+ transform: scaleY(0);
120
+ transition: all 250ms cubic-bezier(0.2, 0, 0, 1) 0s allow-discrete;
121
+ transform-origin: top center;
122
+ width: fit-content;
123
+ box-shadow: var(--md-sys-elevation-1);
124
+ border-radius: var(--md-sys-shape-corner-medium);
125
+ }
126
+
127
+ ::picker(select):popover-open {
128
+ transform: scaleY(1);
129
+ }
130
+
131
+ @starting-style {
132
+ ::picker(select):popover-open {
133
+ transform: scaleY(0);
134
+ }
135
+ }
136
+
137
+ label {
138
+ font-family: var(--md-sys-typescale-label-medium-font);
139
+ font-size: var(--md-sys-typescale-label-medium-size);
140
+ letter-spacing: var(--md-sys-typescale-label-medium-tracking);
141
+ line-height: var(--md-sys-typescale-label-medium-height);
142
+ font-weight: var(--md-ref-typeface-weight-regular);
143
+ position: absolute;
144
+ }
145
+
146
+ label:has( + select:focus-within ) {
147
+ color: var(--md-sys-color-primary);
148
+ }
149
+
150
+ select::picker-icon {
151
+ font-family: var(--md-icon-font, Material Symbols Outlined);
152
+ font-weight: 400;
153
+ font-variation-settings:
154
+ 'FILL' 0,
155
+ 'wght' 700,
156
+ 'GRAD' 200,
157
+ 'opsz' 24;
158
+ content: "\e5c5";
159
+ letter-spacing: 0;
160
+ color: currentColor;
161
+ }
162
+
163
+ option::checkmark {
164
+ font-family: var(--md-icon-font, Material Symbols Outlined);
165
+ font-weight: 400;
166
+ font-variation-settings:
167
+ 'FILL' 0,
168
+ 'wght' 700,
169
+ 'GRAD' 200,
170
+ 'opsz' 24;
171
+ content: "\e5ca";
172
+ letter-spacing: 0;
173
+ color: var(--md-sys-color-primary);
174
+ }
175
+
176
+ &.outlined {
177
+ position: relative;
178
+
179
+ select {
180
+ border: 1px var(--md-sys-color-outline) solid;
181
+ outline: 0 solid var(--md-sys-color-primary);
182
+ outline-offset: 0;
183
+ transition: border-color var(--md-sys-motion-duration-short3) var(--md-sys-motion-easing-standard-accelerate);
184
+ border-radius: var(--md-sys-shape-corner-extra-small);
185
+ background-color: transparent;
186
+
187
+ &:hover:not(:focus-visible) {
188
+ border-color: var(--md-sys-color-on-surface);
189
+ }
190
+
191
+ &:focus-within {
192
+ outline-width: var(--md-focus-ring-width, 3px);
193
+ outline-offset: calc(-1 * var(--md-focus-ring-width, 3px));
194
+ }
195
+
196
+ &:focus-visible {
197
+ animation: focus-outline-inward var(--md-focus-ring-duration, 600ms) cubic-bezier(0.2, 0, 0, 1) forwards;
198
+ }
199
+ }
200
+
201
+ @media(prefers-reduced-motion) {
202
+ select:focus-visible {
203
+ animation: none;
204
+ outline-width: var(--md-focus-ring-width, 3px);
205
+ outline-offset: calc(-1 * var(--md-focus-ring-width, 3px));
206
+ }
207
+ }
208
+
209
+ label {
210
+ background-color: var(--md-sys-color-surface);
211
+ padding: 0 4px;
212
+ color: var(--md-sys-color-on-surface-variant);
213
+ left: 12px;
214
+ top: -7px;
215
+ }
216
+ }
217
+
218
+ &.filled {
219
+ position: relative;
220
+
221
+ select {
222
+ background-color: var(--md-sys-color-surface-variant);
223
+ border: none;
224
+ /* border-bottom: 1px solid var(--md-sys-color-on-surface-variant); */
225
+ border-radius: var(--md-sys-shape-corner-extra-small-top);
226
+ outline: none;
227
+
228
+ selectedcontent {
229
+ padding-top: 1em;
230
+ }
231
+ }
232
+
233
+ select::before {
234
+ content: '';
235
+ border-bottom: 1px solid var(--md-sys-color-on-surface-variant);
236
+ inset: auto 0 0;
237
+ position: absolute;
238
+ }
239
+
240
+ select::after {
241
+ content: '';
242
+ border-bottom-color: var(--md-sys-color-primary);
243
+ border-bottom-width: 2px;
244
+ border-bottom-style: solid;
245
+ opacity: 0;
246
+ transform: scaleX(0);
247
+ transform-origin: center center;
248
+
249
+ transition:
250
+ opacity 150ms cubic-bezier(0.4, 0, 0.2, 1) 0s,
251
+ transform 150ms cubic-bezier(0.4, 0, 0.2, 1) 150ms;
252
+
253
+ position: absolute;
254
+ inset: auto 0 0;
255
+ }
256
+
257
+ select:focus-within::after {
258
+ opacity: 1;
259
+ transform: scaleX(1);
260
+
261
+ }
262
+
263
+ label {
264
+ color: var(--md-sys-color-on-surface-variant);
265
+ transform: translateY(-1.35rem);
266
+ top: 50%;
267
+ left: 16px;
268
+ }
269
+ }
270
+ }
@@ -0,0 +1,155 @@
1
+ html.theme-light {
2
+ --md-sys-color-primary-05a: var(--md-sys-color-primary-light-05a);
3
+ --md-sys-color-primary-08a: var(--md-sys-color-primary-light-08a);
4
+ --md-sys-color-primary-11a: var(--md-sys-color-primary-light-11a);
5
+ --md-sys-color-primary-12a: var(--md-sys-color-primary-light-12a);
6
+ --md-sys-color-primary-13a: var(--md-sys-color-primary-light-13a);
7
+ --md-sys-color-primary: var(--md-sys-color-primary-light);
8
+ --md-sys-color-surface-tint: var(--md-sys-color-surface-tint-light);
9
+ --md-sys-color-on-primary: var(--md-sys-color-on-primary-light);
10
+ --md-sys-color-primary-container: var(--md-sys-color-primary-container-light);
11
+ --md-sys-color-on-primary-container: var(--md-sys-color-on-primary-container-light);
12
+ --md-sys-color-secondary: var(--md-sys-color-secondary-light);
13
+ --md-sys-color-on-secondary: var(--md-sys-color-on-secondary-light);
14
+ --md-sys-color-secondary-container: var(--md-sys-color-secondary-container-light);
15
+ --md-sys-color-on-secondary-container: var(--md-sys-color-on-secondary-container-light);
16
+ --md-sys-color-tertiary: var(--md-sys-color-tertiary-light);
17
+ --md-sys-color-on-tertiary: var(--md-sys-color-on-tertiary-light);
18
+ --md-sys-color-tertiary-container: var(--md-sys-color-tertiary-container-light);
19
+ --md-sys-color-on-tertiary-container: var(--md-sys-color-on-tertiary-container-light);
20
+ --md-sys-color-error: var(--md-sys-color-error-light);
21
+ --md-sys-color-on-error: var(--md-sys-color-on-error-light);
22
+ --md-sys-color-error-container: var(--md-sys-color-error-container-light);
23
+ --md-sys-color-on-error-container: var(--md-sys-color-on-error-container-light);
24
+ --md-sys-color-background: var(--md-sys-color-background-light);
25
+ --md-sys-color-on-background: var(--md-sys-color-on-background-light);
26
+ --md-sys-color-surface: var(--md-sys-color-surface-light);
27
+ --md-sys-color-on-surface: var(--md-sys-color-on-surface-light);
28
+ --md-sys-color-surface-variant: var(--md-sys-color-surface-variant-light);
29
+ --md-sys-color-on-surface-variant: var(--md-sys-color-on-surface-variant-light);
30
+ --md-sys-color-outline: var(--md-sys-color-outline-light);
31
+ --md-sys-color-outline-variant: var(--md-sys-color-outline-variant-light);
32
+ --md-sys-color-shadow: var(--md-sys-color-shadow-light);
33
+ --md-sys-color-scrim: var(--md-sys-color-scrim-light);
34
+ --md-sys-color-inverse-surface: var(--md-sys-color-inverse-surface-light);
35
+ --md-sys-color-inverse-on-surface: var(--md-sys-color-inverse-on-surface-light);
36
+ --md-sys-color-inverse-primary: var(--md-sys-color-inverse-primary-light);
37
+ --md-sys-color-primary-fixed: var(--md-sys-color-primary-fixed-light);
38
+ --md-sys-color-on-primary-fixed: var(--md-sys-color-on-primary-fixed-light);
39
+ --md-sys-color-primary-fixed-dim: var(--md-sys-color-primary-fixed-dim-light);
40
+ --md-sys-color-on-primary-fixed-variant: var(--md-sys-color-on-primary-fixed-variant-light);
41
+ --md-sys-color-secondary-fixed: var(--md-sys-color-secondary-fixed-light);
42
+ --md-sys-color-on-secondary-fixed: var(--md-sys-color-on-secondary-fixed-light);
43
+ --md-sys-color-secondary-fixed-dim: var(--md-sys-color-secondary-fixed-dim-light);
44
+ --md-sys-color-on-secondary-fixed-variant: var(--md-sys-color-on-secondary-fixed-variant-light);
45
+ --md-sys-color-tertiary-fixed: var(--md-sys-color-tertiary-fixed-light);
46
+ --md-sys-color-on-tertiary-fixed: var(--md-sys-color-on-tertiary-fixed-light);
47
+ --md-sys-color-tertiary-fixed-dim: var(--md-sys-color-tertiary-fixed-dim-light);
48
+ --md-sys-color-on-tertiary-fixed-variant: var(--md-sys-color-on-tertiary-fixed-variant-light);
49
+ --md-sys-color-surface-dim: var(--md-sys-color-surface-dim-light);
50
+ --md-sys-color-surface-bright: var(--md-sys-color-surface-bright-light);
51
+ --md-sys-color-surface-container-lowest: var(--md-sys-color-surface-container-lowest-light);
52
+ --md-sys-color-surface-container-low: var(--md-sys-color-surface-container-low-light);
53
+ --md-sys-color-surface-container: var(--md-sys-color-surface-container-light);
54
+ --md-sys-color-surface-container-high: var(--md-sys-color-surface-container-high-light);
55
+ --md-sys-color-surface-container-highest: var(--md-sys-color-surface-container-highest-light);
56
+
57
+ /* CUSTOM */
58
+ --md-sys-elevation-0: none;
59
+ --md-sys-elevation-1: var(--md-sys-elevation-1-light);
60
+ --md-sys-elevation-2: var(--md-sys-elevation-2-light);
61
+ --md-sys-elevation-3: var(--md-sys-elevation-3-light);
62
+ --md-sys-elevation-4: var(--md-sys-elevation-4-light);
63
+ --md-sys-elevation-5: var(--md-sys-elevation-5-light);
64
+
65
+ /* Prism */
66
+ --code-operator-value-color: #a67f59;
67
+ --code-operator-value-background-color: hsla(0, 0%, 100%, 0.5);
68
+ --code-keyword-value-color: #07a;
69
+ --code-function-value-color: #dd4a68;
70
+ --code-variable-value-color: #e90;
71
+ --code-type-text-value-color: #690;
72
+ --code-type-boolean-value-color: #905;
73
+ --code-type-number-value-color: #905;
74
+ --code-property-value-color: #905;
75
+ --code-punctuation-value-color: #999;
76
+ --code-token-comment-value-color: slategray;
77
+ }
78
+
79
+ html.theme-dark {
80
+ --md-sys-color-primary-05a: var(--md-sys-color-primary-dark-05a);
81
+ --md-sys-color-primary-08a: var(--md-sys-color-primary-dark-08a);
82
+ --md-sys-color-primary-11a: var(--md-sys-color-primary-dark-11a);
83
+ --md-sys-color-primary-12a: var(--md-sys-color-primary-dark-12a);
84
+ --md-sys-color-primary-13a: var(--md-sys-color-primary-dark-13a);
85
+ --md-sys-color-primary: var(--md-sys-color-primary-dark);
86
+ --md-sys-color-surface-tint: var(--md-sys-color-surface-tint-dark);
87
+ --md-sys-color-on-primary: var(--md-sys-color-on-primary-dark);
88
+ --md-sys-color-primary-container: var(--md-sys-color-primary-container-dark);
89
+ --md-sys-color-on-primary-container: var(--md-sys-color-on-primary-container-dark);
90
+ --md-sys-color-secondary: var(--md-sys-color-secondary-dark);
91
+ --md-sys-color-on-secondary: var(--md-sys-color-on-secondary-dark);
92
+ --md-sys-color-secondary-container: var(--md-sys-color-secondary-container-dark);
93
+ --md-sys-color-on-secondary-container: var(--md-sys-color-on-secondary-container-dark);
94
+ --md-sys-color-tertiary: var(--md-sys-color-tertiary-dark);
95
+ --md-sys-color-on-tertiary: var(--md-sys-color-on-tertiary-dark);
96
+ --md-sys-color-tertiary-container: var(--md-sys-color-tertiary-container-dark);
97
+ --md-sys-color-on-tertiary-container: var(--md-sys-color-on-tertiary-container-dark);
98
+ --md-sys-color-error: var(--md-sys-color-error-dark);
99
+ --md-sys-color-on-error: var(--md-sys-color-on-error-dark);
100
+ --md-sys-color-error-container: var(--md-sys-color-error-container-dark);
101
+ --md-sys-color-on-error-container: var(--md-sys-color-on-error-container-dark);
102
+ --md-sys-color-background: var(--md-sys-color-background-dark);
103
+ --md-sys-color-on-background: var(--md-sys-color-on-background-dark);
104
+ --md-sys-color-surface: var(--md-sys-color-surface-dark);
105
+ --md-sys-color-on-surface: var(--md-sys-color-on-surface-dark);
106
+ --md-sys-color-surface-variant: var(--md-sys-color-surface-variant-dark);
107
+ --md-sys-color-on-surface-variant: var(--md-sys-color-on-surface-variant-dark);
108
+ --md-sys-color-outline: var(--md-sys-color-outline-dark);
109
+ --md-sys-color-outline-variant: var(--md-sys-color-outline-variant-dark);
110
+ --md-sys-color-shadow: var(--md-sys-color-shadow-dark);
111
+ --md-sys-color-scrim: var(--md-sys-color-scrim-dark);
112
+ --md-sys-color-inverse-surface: var(--md-sys-color-inverse-surface-dark);
113
+ --md-sys-color-inverse-on-surface: var(--md-sys-color-inverse-on-surface-dark);
114
+ --md-sys-color-inverse-primary: var(--md-sys-color-inverse-primary-dark);
115
+ --md-sys-color-primary-fixed: var(--md-sys-color-primary-fixed-dark);
116
+ --md-sys-color-on-primary-fixed: var(--md-sys-color-on-primary-fixed-dark);
117
+ --md-sys-color-primary-fixed-dim: var(--md-sys-color-primary-fixed-dim-dark);
118
+ --md-sys-color-on-primary-fixed-variant: var(--md-sys-color-on-primary-fixed-variant-dark);
119
+ --md-sys-color-secondary-fixed: var(--md-sys-color-secondary-fixed-dark);
120
+ --md-sys-color-on-secondary-fixed: var(--md-sys-color-on-secondary-fixed-dark);
121
+ --md-sys-color-secondary-fixed-dim: var(--md-sys-color-secondary-fixed-dim-dark);
122
+ --md-sys-color-on-secondary-fixed-variant: var(--md-sys-color-on-secondary-fixed-variant-dark);
123
+ --md-sys-color-tertiary-fixed: var(--md-sys-color-tertiary-fixed-dark);
124
+ --md-sys-color-on-tertiary-fixed: var(--md-sys-color-on-tertiary-fixed-dark);
125
+ --md-sys-color-tertiary-fixed-dim: var(--md-sys-color-tertiary-fixed-dim-dark);
126
+ --md-sys-color-on-tertiary-fixed-variant: var(--md-sys-color-on-tertiary-fixed-variant-dark);
127
+ --md-sys-color-surface-dim: var(--md-sys-color-surface-dim-dark);
128
+ --md-sys-color-surface-bright: var(--md-sys-color-surface-bright-dark);
129
+ --md-sys-color-surface-container-lowest: var(--md-sys-color-surface-container-lowest-dark);
130
+ --md-sys-color-surface-container-low: var(--md-sys-color-surface-container-low-dark);
131
+ --md-sys-color-surface-container: var(--md-sys-color-surface-container-dark);
132
+ --md-sys-color-surface-container-high: var(--md-sys-color-surface-container-high-dark);
133
+ --md-sys-color-surface-container-highest: var(--md-sys-color-surface-container-highest-dark);
134
+
135
+ /* CUSTOM */
136
+ --md-sys-elevation-0: none;
137
+ --md-sys-elevation-1: var(--md-sys-elevation-1-dark);
138
+ --md-sys-elevation-2: var(--md-sys-elevation-2-dark);
139
+ --md-sys-elevation-3: var(--md-sys-elevation-3-dark);
140
+ --md-sys-elevation-4: var(--md-sys-elevation-4-dark);
141
+ --md-sys-elevation-5: var(--md-sys-elevation-5-dark);
142
+
143
+ /* Prism */
144
+ --code-operator-value-color: #ffc185;
145
+ --code-operator-value-background-color: transparent;
146
+ --code-keyword-value-color: #00b2ff;
147
+ --code-function-value-color: #ff7d97;
148
+ --code-variable-value-color: #e90;
149
+ --code-type-text-value-color: #aaff00;
150
+ --code-type-boolean-value-color: #f882c4;
151
+ --code-type-number-value-color: #f882c4;
152
+ --code-property-value-color: #ff9bd3;
153
+ --code-punctuation-value-color: #aaa;
154
+ --code-token-comment-value-color: #93a9bf;
155
+ }
@@ -0,0 +1,512 @@
1
+ html {
2
+ /* light */
3
+ /* Custom */
4
+ --md-sys-color-primary-light-05a: rgba(0 104 116, 0.05);
5
+ --md-sys-color-primary-light-08a: rgba(0 104 116, 0.08);
6
+ --md-sys-color-primary-light-11a: rgba(0 104 116, 0.11);
7
+ --md-sys-color-primary-light-12a: rgba(0 104 116, 0.12);
8
+ --md-sys-color-primary-light-13a: rgba(0 104 116, 0.13);
9
+ /* M3 Generated */
10
+ --md-sys-color-primary-light: rgb(0 104 116);
11
+ --md-sys-color-surface-tint-light: rgb(0 104 116);
12
+ --md-sys-color-on-primary-light: rgb(255 255 255);
13
+ --md-sys-color-primary-container-light: rgb(158 239 254);
14
+ --md-sys-color-on-primary-container-light: rgb(0 79 88);
15
+ --md-sys-color-secondary-light: rgb(0 104 116);
16
+ --md-sys-color-on-secondary-light: rgb(255 255 255);
17
+ --md-sys-color-secondary-container-light: rgb(158 239 253);
18
+ --md-sys-color-on-secondary-container-light: rgb(0 79 87);
19
+ --md-sys-color-tertiary-light: rgb(83 94 125);
20
+ --md-sys-color-on-tertiary-light: rgb(255 255 255);
21
+ --md-sys-color-tertiary-container-light: rgb(218 226 255);
22
+ --md-sys-color-on-tertiary-container-light: rgb(59 70 101);
23
+ --md-sys-color-error-light: rgb(186 26 26);
24
+ --md-sys-color-on-error-light: rgb(255 255 255);
25
+ --md-sys-color-error-container-light: rgb(255 218 214);
26
+ --md-sys-color-on-error-container-light: rgb(147 0 10);
27
+ --md-sys-color-background-light: rgb(245 250 251);
28
+ --md-sys-color-on-background-light: rgb(23 29 30);
29
+ --md-sys-color-surface-light: rgb(245 250 251);
30
+ --md-sys-color-on-surface-light: rgb(23 29 30);
31
+ --md-sys-color-surface-variant-light: rgb(219 228 230);
32
+ --md-sys-color-on-surface-variant-light: rgb(63 72 74);
33
+ --md-sys-color-outline-light: rgb(111 121 123);
34
+ --md-sys-color-outline-variant-light: rgb(191 200 202);
35
+ --md-sys-color-shadow-light: rgb(0 0 0);
36
+ --md-sys-color-scrim-light: rgb(0 0 0);
37
+ --md-sys-color-inverse-surface-light: rgb(43 49 51);
38
+ --md-sys-color-inverse-on-surface-light: rgb(236 242 243);
39
+ --md-sys-color-inverse-primary-light: rgb(130 211 225);
40
+ --md-sys-color-primary-fixed-light: rgb(158 239 254);
41
+ --md-sys-color-on-primary-fixed-light: rgb(0 31 36);
42
+ --md-sys-color-primary-fixed-dim-light: rgb(130 211 225);
43
+ --md-sys-color-on-primary-fixed-variant-light: rgb(0 79 88);
44
+ --md-sys-color-secondary-fixed-light: rgb(158 239 253);
45
+ --md-sys-color-on-secondary-fixed-light: rgb(0 31 36);
46
+ --md-sys-color-secondary-fixed-dim-light: rgb(129 211 224);
47
+ --md-sys-color-on-secondary-fixed-variant-light: rgb(0 79 87);
48
+ --md-sys-color-tertiary-fixed-light: rgb(218 226 255);
49
+ --md-sys-color-on-tertiary-fixed-light: rgb(15 26 55);
50
+ --md-sys-color-tertiary-fixed-dim-light: rgb(187 198 234);
51
+ --md-sys-color-on-tertiary-fixed-variant-light: rgb(59 70 101);
52
+ --md-sys-color-surface-dim-light: rgb(213 219 220);
53
+ --md-sys-color-surface-bright-light: rgb(245 250 251);
54
+ --md-sys-color-surface-container-lowest-light: rgb(255 255 255);
55
+ --md-sys-color-surface-container-low-light: rgb(239 245 246);
56
+ --md-sys-color-surface-container-light: rgb(233 239 240);
57
+ --md-sys-color-surface-container-high-light: rgb(227 233 234);
58
+ --md-sys-color-surface-container-highest-light: rgb(222 227 229);
59
+
60
+ /* light high contrast */
61
+ /* Custom */
62
+ --md-sys-color-primary-light-hc-05a: rgba(0 49 56, 0.05);
63
+ --md-sys-color-primary-light-hc-08a: rgba(0 49 56, 0.08);
64
+ --md-sys-color-primary-light-hc-11a: rgba(0 49 56, 0.11);
65
+ --md-sys-color-primary-light-hc-12a: rgba(0 49 56, 0.12);
66
+ --md-sys-color-primary-light-hc-13a: rgba(0 49 56, 0.13);
67
+ /* M3 Generated */
68
+ --md-sys-color-primary-light-hc: rgb(0 49 56);
69
+ --md-sys-color-surface-tint-light-hc: rgb(0 104 116);
70
+ --md-sys-color-on-primary-light-hc: rgb(255 255 255);
71
+ --md-sys-color-primary-container-light-hc: rgb(0 81 91);
72
+ --md-sys-color-on-primary-container-light-hc: rgb(255 255 255);
73
+ --md-sys-color-secondary-light-hc: rgb(0 50 55);
74
+ --md-sys-color-on-secondary-light-hc: rgb(255 255 255);
75
+ --md-sys-color-secondary-container-light-hc: rgb(0 81 90);
76
+ --md-sys-color-on-secondary-container-light-hc: rgb(255 255 255);
77
+ --md-sys-color-tertiary-light-hc: rgb(32 43 72);
78
+ --md-sys-color-on-tertiary-light-hc: rgb(255 255 255);
79
+ --md-sys-color-tertiary-container-light-hc: rgb(61 72 103);
80
+ --md-sys-color-on-tertiary-container-light-hc: rgb(255 255 255);
81
+ --md-sys-color-error-light-hc: rgb(96 0 4);
82
+ --md-sys-color-on-error-light-hc: rgb(255 255 255);
83
+ --md-sys-color-error-container-light-hc: rgb(152 0 10);
84
+ --md-sys-color-on-error-container-light-hc: rgb(255 255 255);
85
+ --md-sys-color-background-light-hc: rgb(245 250 251);
86
+ --md-sys-color-on-background-light-hc: rgb(23 29 30);
87
+ --md-sys-color-surface-light-hc: rgb(245 250 251);
88
+ --md-sys-color-on-surface-light-hc: rgb(0 0 0);
89
+ --md-sys-color-surface-variant-light-hc: rgb(219 228 230);
90
+ --md-sys-color-on-surface-variant-light-hc: rgb(0 0 0);
91
+ --md-sys-color-outline-light-hc: rgb(37 46 47);
92
+ --md-sys-color-outline-variant-light-hc: rgb(66 75 77);
93
+ --md-sys-color-shadow-light-hc: rgb(0 0 0);
94
+ --md-sys-color-scrim-light-hc: rgb(0 0 0);
95
+ --md-sys-color-inverse-surface-light-hc: rgb(43 49 51);
96
+ --md-sys-color-inverse-on-surface-light-hc: rgb(255 255 255);
97
+ --md-sys-color-inverse-primary-light-hc: rgb(130 211 225);
98
+ --md-sys-color-primary-fixed-light-hc: rgb(0 81 91);
99
+ --md-sys-color-on-primary-fixed-light-hc: rgb(255 255 255);
100
+ --md-sys-color-primary-fixed-dim-light-hc: rgb(0 57 64);
101
+ --md-sys-color-on-primary-fixed-variant-light-hc: rgb(255 255 255);
102
+ --md-sys-color-secondary-fixed-light-hc: rgb(0 81 90);
103
+ --md-sys-color-on-secondary-fixed-light-hc: rgb(255 255 255);
104
+ --md-sys-color-secondary-fixed-dim-light-hc: rgb(0 57 63);
105
+ --md-sys-color-on-secondary-fixed-variant-light-hc: rgb(255 255 255);
106
+ --md-sys-color-tertiary-fixed-light-hc: rgb(61 72 103);
107
+ --md-sys-color-on-tertiary-fixed-light-hc: rgb(255 255 255);
108
+ --md-sys-color-tertiary-fixed-dim-light-hc: rgb(39 50 79);
109
+ --md-sys-color-on-tertiary-fixed-variant-light-hc: rgb(255 255 255);
110
+ --md-sys-color-surface-dim-light-hc: rgb(180 186 187);
111
+ --md-sys-color-surface-bright-light-hc: rgb(245 250 251);
112
+ --md-sys-color-surface-container-lowest-light-hc: rgb(255 255 255);
113
+ --md-sys-color-surface-container-low-light-hc: rgb(236 242 243);
114
+ --md-sys-color-surface-container-light-hc: rgb(222 227 229);
115
+ --md-sys-color-surface-container-high-light-hc: rgb(208 213 215);
116
+ --md-sys-color-surface-container-highest-light-hc: rgb(194 199 201);
117
+ /* light medium contrast */
118
+ /* Custom */
119
+ --md-sys-color-primary-light-mc-05a: rgba(0 60 68, 0.05);
120
+ --md-sys-color-primary-light-mc-08a: rgba(0 60 68, 0.08);
121
+ --md-sys-color-primary-light-mc-11a: rgba(0 60 68, 0.11);
122
+ --md-sys-color-primary-light-mc-12a: rgba(0 60 68, 0.12);
123
+ --md-sys-color-primary-light-mc-13a: rgba(0 60 68, 0.13);
124
+ /* M3 Generated */
125
+ --md-sys-color-primary-light-mc: rgb(0 60 68);
126
+ --md-sys-color-surface-tint-light-mc: rgb(0 104 116);
127
+ --md-sys-color-on-primary-light-mc: rgb(255 255 255);
128
+ --md-sys-color-primary-container-light-mc: rgb(25 120 133);
129
+ --md-sys-color-on-primary-container-light-mc: rgb(255 255 255);
130
+ --md-sys-color-secondary-light-mc: rgb(0 61 68);
131
+ --md-sys-color-on-secondary-light-mc: rgb(255 255 255);
132
+ --md-sys-color-secondary-container-light-mc: rgb(24 120 132);
133
+ --md-sys-color-on-secondary-container-light-mc: rgb(255 255 255);
134
+ --md-sys-color-tertiary-light-mc: rgb(42 53 83);
135
+ --md-sys-color-on-tertiary-light-mc: rgb(255 255 255);
136
+ --md-sys-color-tertiary-container-light-mc: rgb(97 108 141);
137
+ --md-sys-color-on-tertiary-container-light-mc: rgb(255 255 255);
138
+ --md-sys-color-error-light-mc: rgb(116 0 6);
139
+ --md-sys-color-on-error-light-mc: rgb(255 255 255);
140
+ --md-sys-color-error-container-light-mc: rgb(207 44 39);
141
+ --md-sys-color-on-error-container-light-mc: rgb(255 255 255);
142
+ --md-sys-color-background-light-mc: rgb(245 250 251);
143
+ --md-sys-color-on-background-light-mc: rgb(23 29 30);
144
+ --md-sys-color-surface-light-mc: rgb(245 250 251);
145
+ --md-sys-color-on-surface-light-mc: rgb(12 18 19);
146
+ --md-sys-color-surface-variant-light-mc: rgb(219 228 230);
147
+ --md-sys-color-on-surface-variant-light-mc: rgb(47 56 57);
148
+ --md-sys-color-outline-light-mc: rgb(75 84 86);
149
+ --md-sys-color-outline-variant-light-mc: rgb(101 111 113);
150
+ --md-sys-color-shadow-light-mc: rgb(0 0 0);
151
+ --md-sys-color-scrim-light-mc: rgb(0 0 0);
152
+ --md-sys-color-inverse-surface-light-mc: rgb(43 49 51);
153
+ --md-sys-color-inverse-on-surface-light-mc: rgb(236 242 243);
154
+ --md-sys-color-inverse-primary-light-mc: rgb(130 211 225);
155
+ --md-sys-color-primary-fixed-light-mc: rgb(25 120 133);
156
+ --md-sys-color-on-primary-fixed-light-mc: rgb(255 255 255);
157
+ --md-sys-color-primary-fixed-dim-light-mc: rgb(0 94 105);
158
+ --md-sys-color-on-primary-fixed-variant-light-mc: rgb(255 255 255);
159
+ --md-sys-color-secondary-fixed-light-mc: rgb(24 120 132);
160
+ --md-sys-color-on-secondary-fixed-light-mc: rgb(255 255 255);
161
+ --md-sys-color-secondary-fixed-dim-light-mc: rgb(0 94 104);
162
+ --md-sys-color-on-secondary-fixed-variant-light-mc: rgb(255 255 255);
163
+ --md-sys-color-tertiary-fixed-light-mc: rgb(97 108 141);
164
+ --md-sys-color-on-tertiary-fixed-light-mc: rgb(255 255 255);
165
+ --md-sys-color-tertiary-fixed-dim-light-mc: rgb(73 84 115);
166
+ --md-sys-color-on-tertiary-fixed-variant-light-mc: rgb(255 255 255);
167
+ --md-sys-color-surface-dim-light-mc: rgb(194 199 201);
168
+ --md-sys-color-surface-bright-light-mc: rgb(245 250 251);
169
+ --md-sys-color-surface-container-lowest-light-mc: rgb(255 255 255);
170
+ --md-sys-color-surface-container-low-light-mc: rgb(239 245 246);
171
+ --md-sys-color-surface-container-light-mc: rgb(227 233 234);
172
+ --md-sys-color-surface-container-high-light-mc: rgb(216 222 223);
173
+ --md-sys-color-surface-container-highest-light-mc: rgb(205 211 212);
174
+
175
+ /* dark */
176
+ /* Custom */
177
+ --md-sys-color-primary-dark-05a: rgba(130 211 225, 0.05);
178
+ --md-sys-color-primary-dark-08a: rgba(130 211 225, 0.08);
179
+ --md-sys-color-primary-dark-11a: rgba(130 211 225, 0.11);
180
+ --md-sys-color-primary-dark-12a: rgba(130 211 225, 0.12);
181
+ --md-sys-color-primary-dark-13a: rgba(130 211 225, 0.13);
182
+
183
+ /* M3 Generated */
184
+ --md-sys-color-primary-dark: rgb(130 211 225);
185
+ --md-sys-color-surface-tint-dark: rgb(130 211 225);
186
+ --md-sys-color-on-primary-dark: rgb(0 54 61);
187
+ --md-sys-color-primary-container-dark: rgb(0 79 88);
188
+ --md-sys-color-on-primary-container-dark: rgb(158 239 254);
189
+ --md-sys-color-secondary-dark: rgb(129 211 224);
190
+ --md-sys-color-on-secondary-dark: rgb(0 54 61);
191
+ --md-sys-color-secondary-container-dark: rgb(0 79 87);
192
+ --md-sys-color-on-secondary-container-dark: rgb(158 239 253);
193
+ --md-sys-color-tertiary-dark: rgb(187 198 234);
194
+ --md-sys-color-on-tertiary-dark: rgb(36 48 77);
195
+ --md-sys-color-tertiary-container-dark: rgb(59 70 101);
196
+ --md-sys-color-on-tertiary-container-dark: rgb(218 226 255);
197
+ --md-sys-color-error-dark: rgb(255 180 171);
198
+ --md-sys-color-on-error-dark: rgb(105 0 5);
199
+ --md-sys-color-error-container-dark: rgb(147 0 10);
200
+ --md-sys-color-on-error-container-dark: rgb(255 218 214);
201
+ --md-sys-color-background-dark: rgb(14 20 21);
202
+ --md-sys-color-on-background-dark: rgb(222 227 229);
203
+ --md-sys-color-surface-dark: rgb(14 20 21);
204
+ --md-sys-color-on-surface-dark: rgb(222 227 229);
205
+ --md-sys-color-surface-variant-dark: rgb(63 72 74);
206
+ --md-sys-color-on-surface-variant-dark: rgb(191 200 202);
207
+ --md-sys-color-outline-dark: rgb(137 146 148);
208
+ --md-sys-color-outline-variant-dark: rgb(63 72 74);
209
+ --md-sys-color-shadow-dark: rgb(0 0 0);
210
+ --md-sys-color-scrim-dark: rgb(0 0 0);
211
+ --md-sys-color-inverse-surface-dark: rgb(222 227 229);
212
+ --md-sys-color-inverse-on-surface-dark: rgb(43 49 51);
213
+ --md-sys-color-inverse-primary-dark: rgb(0 104 116);
214
+ --md-sys-color-primary-fixed-dark: rgb(158 239 254);
215
+ --md-sys-color-on-primary-fixed-dark: rgb(0 31 36);
216
+ --md-sys-color-primary-fixed-dim-dark: rgb(130 211 225);
217
+ --md-sys-color-on-primary-fixed-variant-dark: rgb(0 79 88);
218
+ --md-sys-color-secondary-fixed-dark: rgb(158 239 253);
219
+ --md-sys-color-on-secondary-fixed-dark: rgb(0 31 36);
220
+ --md-sys-color-secondary-fixed-dim-dark: rgb(129 211 224);
221
+ --md-sys-color-on-secondary-fixed-variant-dark: rgb(0 79 87);
222
+ --md-sys-color-tertiary-fixed-dark: rgb(218 226 255);
223
+ --md-sys-color-on-tertiary-fixed-dark: rgb(15 26 55);
224
+ --md-sys-color-tertiary-fixed-dim-dark: rgb(187 198 234);
225
+ --md-sys-color-on-tertiary-fixed-variant-dark: rgb(59 70 101);
226
+ --md-sys-color-surface-dim-dark: rgb(14 20 21);
227
+ --md-sys-color-surface-bright-dark: rgb(52 58 59);
228
+ --md-sys-color-surface-container-lowest-dark: rgb(9 15 16);
229
+ --md-sys-color-surface-container-low-dark: rgb(23 29 30);
230
+ --md-sys-color-surface-container-dark: rgb(27 33 34);
231
+ --md-sys-color-surface-container-high-dark: rgb(37 43 44);
232
+ --md-sys-color-surface-container-highest-dark: rgb(48 54 55);
233
+
234
+ /* dark high contrast */
235
+ /* Custom */
236
+ --md-sys-color-primary-dark-hc-05a: rgba(206 247 255, 0.05);
237
+ --md-sys-color-primary-dark-hc-08a: rgba(206 247 255, 0.08);
238
+ --md-sys-color-primary-dark-hc-11a: rgba(206 247 255, 0.11);
239
+ --md-sys-color-primary-dark-hc-12a: rgba(206 247 255, 0.12);
240
+ --md-sys-color-primary-dark-hc-13a: rgba(206 247 255, 0.13);
241
+ /* M3 Generated */
242
+ --md-sys-color-primary-dark-hc: rgb(206 247 255);
243
+ --md-sys-color-surface-tint-dark-hc: rgb(130 211 225);
244
+ --md-sys-color-on-primary-dark-hc: rgb(0 0 0);
245
+ --md-sys-color-primary-container-dark-hc: rgb(126 207 221);
246
+ --md-sys-color-on-primary-container-dark-hc: rgb(0 14 16);
247
+ --md-sys-color-secondary-dark-hc: rgb(205 248 255);
248
+ --md-sys-color-on-secondary-dark-hc: rgb(0 0 0);
249
+ --md-sys-color-secondary-container-dark-hc: rgb(126 207 220);
250
+ --md-sys-color-on-secondary-container-dark-hc: rgb(0 14 16);
251
+ --md-sys-color-tertiary-dark-hc: rgb(237 239 255);
252
+ --md-sys-color-on-tertiary-dark-hc: rgb(0 0 0);
253
+ --md-sys-color-tertiary-container-dark-hc: rgb(183 194 230);
254
+ --md-sys-color-on-tertiary-container-dark-hc: rgb(0 9 38);
255
+ --md-sys-color-error-dark-hc: rgb(255 236 233);
256
+ --md-sys-color-on-error-dark-hc: rgb(0 0 0);
257
+ --md-sys-color-error-container-dark-hc: rgb(255 174 164);
258
+ --md-sys-color-on-error-container-dark-hc: rgb(34 0 1);
259
+ --md-sys-color-background-dark-hc: rgb(14 20 21);
260
+ --md-sys-color-on-background-dark-hc: rgb(222 227 229);
261
+ --md-sys-color-surface-dark-hc: rgb(14 20 21);
262
+ --md-sys-color-on-surface-dark-hc: rgb(255 255 255);
263
+ --md-sys-color-surface-variant-dark-hc: rgb(63 72 74);
264
+ --md-sys-color-on-surface-variant-dark-hc: rgb(255 255 255);
265
+ --md-sys-color-outline-dark-hc: rgb(232 242 244);
266
+ --md-sys-color-outline-variant-dark-hc: rgb(187 196 198);
267
+ --md-sys-color-shadow-dark-hc: rgb(0 0 0);
268
+ --md-sys-color-scrim-dark-hc: rgb(0 0 0);
269
+ --md-sys-color-inverse-surface-dark-hc: rgb(222 227 229);
270
+ --md-sys-color-inverse-on-surface-dark-hc: rgb(0 0 0);
271
+ --md-sys-color-inverse-primary-dark-hc: rgb(0 80 89);
272
+ --md-sys-color-primary-fixed-dark-hc: rgb(158 239 254);
273
+ --md-sys-color-on-primary-fixed-dark-hc: rgb(0 0 0);
274
+ --md-sys-color-primary-fixed-dim-dark-hc: rgb(130 211 225);
275
+ --md-sys-color-on-primary-fixed-variant-dark-hc: rgb(0 20 23);
276
+ --md-sys-color-secondary-fixed-dark-hc: rgb(158 239 253);
277
+ --md-sys-color-on-secondary-fixed-dark-hc: rgb(0 0 0);
278
+ --md-sys-color-secondary-fixed-dim-dark-hc: rgb(129 211 224);
279
+ --md-sys-color-on-secondary-fixed-variant-dark-hc: rgb(0 20 23);
280
+ --md-sys-color-tertiary-fixed-dark-hc: rgb(218 226 255);
281
+ --md-sys-color-on-tertiary-fixed-dark-hc: rgb(0 0 0);
282
+ --md-sys-color-tertiary-fixed-dim-dark-hc: rgb(187 198 234);
283
+ --md-sys-color-on-tertiary-fixed-variant-dark-hc: rgb(4 16 44);
284
+ --md-sys-color-surface-dim-dark-hc: rgb(14 20 21);
285
+ --md-sys-color-surface-bright-dark-hc: rgb(75 81 82);
286
+ --md-sys-color-surface-container-lowest-dark-hc: rgb(0 0 0);
287
+ --md-sys-color-surface-container-low-dark-hc: rgb(27 33 34);
288
+ --md-sys-color-surface-container-dark-hc: rgb(43 49 51);
289
+ --md-sys-color-surface-container-high-dark-hc: rgb(54 60 62);
290
+ --md-sys-color-surface-container-highest-dark-hc: rgb(66 72 73);
291
+
292
+ /* dark medium contrast */
293
+ /* Custom */
294
+ --md-sys-color-primary-dark-mc-05a: rgba(134 215 229, 0.05);
295
+ --md-sys-color-primary-dark-mc-08a: rgba(134 215 229, 0.08);
296
+ --md-sys-color-primary-dark-mc-11a: rgba(134 215 229, 0.11);
297
+ --md-sys-color-primary-dark-mc-12a: rgba(134 215 229, 0.12);
298
+ --md-sys-color-primary-dark-mc-13a: rgba(134 215 229, 0.13);
299
+ /* M3 Generated */
300
+ --md-sys-color-primary-dark-mc: rgb(152 233 247);
301
+ --md-sys-color-surface-tint-dark-mc: rgb(130 211 225);
302
+ --md-sys-color-on-primary-dark-mc: rgb(0 42 48);
303
+ --md-sys-color-primary-container-dark-mc: rgb(73 156 169);
304
+ --md-sys-color-on-primary-container-dark-mc: rgb(0 0 0);
305
+ --md-sys-color-secondary-dark-mc: rgb(152 233 246);
306
+ --md-sys-color-on-secondary-dark-mc: rgb(0 42 48);
307
+ --md-sys-color-secondary-container-dark-mc: rgb(72 156 169);
308
+ --md-sys-color-on-secondary-container-dark-mc: rgb(0 0 0);
309
+ --md-sys-color-tertiary-dark-mc: rgb(209 219 255);
310
+ --md-sys-color-on-tertiary-dark-mc: rgb(25 37 65);
311
+ --md-sys-color-tertiary-container-dark-mc: rgb(133 144 178);
312
+ --md-sys-color-on-tertiary-container-dark-mc: rgb(0 0 0);
313
+ --md-sys-color-error-dark-mc: rgb(255 210 204);
314
+ --md-sys-color-on-error-dark-mc: rgb(84 0 3);
315
+ --md-sys-color-error-container-dark-mc: rgb(255 84 73);
316
+ --md-sys-color-on-error-container-dark-mc: rgb(0 0 0);
317
+ --md-sys-color-background-dark-mc: rgb(14 20 21);
318
+ --md-sys-color-on-background-dark-mc: rgb(222 227 229);
319
+ --md-sys-color-surface-dark-mc: rgb(14 20 21);
320
+ --md-sys-color-on-surface-dark-mc: rgb(255 255 255);
321
+ --md-sys-color-surface-variant-dark-mc: rgb(63 72 74);
322
+ --md-sys-color-on-surface-variant-dark-mc: rgb(212 222 224);
323
+ --md-sys-color-outline-dark-mc: rgb(170 180 181);
324
+ --md-sys-color-outline-variant-dark-mc: rgb(136 146 148);
325
+ --md-sys-color-shadow-dark-mc: rgb(0 0 0);
326
+ --md-sys-color-scrim-dark-mc: rgb(0 0 0);
327
+ --md-sys-color-inverse-surface-dark-mc: rgb(222 227 229);
328
+ --md-sys-color-inverse-on-surface-dark-mc: rgb(37 43 44);
329
+ --md-sys-color-inverse-primary-dark-mc: rgb(0 80 89);
330
+ --md-sys-color-primary-fixed-dark-mc: rgb(158 239 254);
331
+ --md-sys-color-on-primary-fixed-dark-mc: rgb(0 20 23);
332
+ --md-sys-color-primary-fixed-dim-dark-mc: rgb(130 211 225);
333
+ --md-sys-color-on-primary-fixed-variant-dark-mc: rgb(0 60 68);
334
+ --md-sys-color-secondary-fixed-dark-mc: rgb(158 239 253);
335
+ --md-sys-color-on-secondary-fixed-dark-mc: rgb(0 20 23);
336
+ --md-sys-color-secondary-fixed-dim-dark-mc: rgb(129 211 224);
337
+ --md-sys-color-on-secondary-fixed-variant-dark-mc: rgb(0 61 68);
338
+ --md-sys-color-tertiary-fixed-dark-mc: rgb(218 226 255);
339
+ --md-sys-color-on-tertiary-fixed-dark-mc: rgb(4 16 44);
340
+ --md-sys-color-tertiary-fixed-dim-dark-mc: rgb(187 198 234);
341
+ --md-sys-color-on-tertiary-fixed-variant-dark-mc: rgb(42 53 83);
342
+ --md-sys-color-surface-dim-dark-mc: rgb(14 20 21);
343
+ --md-sys-color-surface-bright-dark-mc: rgb(63 70 71);
344
+ --md-sys-color-surface-container-lowest-dark-mc: rgb(4 8 9);
345
+ --md-sys-color-surface-container-low-dark-mc: rgb(25 31 32);
346
+ --md-sys-color-surface-container-dark-mc: rgb(35 41 42);
347
+ --md-sys-color-surface-container-high-dark-mc: rgb(45 52 53);
348
+ --md-sys-color-surface-container-highest-dark-mc: rgb(57 63 64);
349
+
350
+ /* Typeface */
351
+ --md-ref-typeface-brand: Roboto, system-ui, -apple-system, 'Segoe UI', Ubuntu, Cantarell, 'Noto Sans', sans-serif;
352
+
353
+ --md-ref-typeface-weight-regular: 400;
354
+ --md-ref-typeface-weight-medium: 500;
355
+ --md-ref-typeface-weight-bold: 700;
356
+
357
+ /* display - large */
358
+ --md-sys-typescale-display-large-font: var(--md-ref-typeface-brand);
359
+ --md-sys-typescale-display-large-weight: var(--md-ref-typeface-weight-regular);
360
+ --md-sys-typescale-display-large-size: 3.5625rem; /* 57pt */
361
+ --md-sys-typescale-display-large-height: 4rem; /* 64pt */
362
+ --md-sys-typescale-display-large-tracking: -0.25px;
363
+ /* display - medium */
364
+ --md-sys-typescale-display-medium-font: var(--md-ref-typeface-brand);
365
+ --md-sys-typescale-display-medium-weight: var(--md-ref-typeface-weight-regular);
366
+ --md-sys-typescale-display-medium-size: 2.8125rem; /* 45pt */
367
+ --md-sys-typescale-display-medium-height: 3.25rem; /* 52pt */
368
+ --md-sys-typescale-display-medium-tracking: 0px;
369
+ /* display - small */
370
+ --md-sys-typescale-display-small-font: var(--md-ref-typeface-brand);
371
+ --md-sys-typescale-display-small-weight: var(--md-ref-typeface-weight-regular);
372
+ --md-sys-typescale-display-small-size: 2.25rem; /* 36pt */
373
+ --md-sys-typescale-display-small-height: 2.75rem; /* 44pt */
374
+ --md-sys-typescale-display-small-tracking: 0px;
375
+ /* headline - large */
376
+ --md-sys-typescale-headline-large-font: var(--md-ref-typeface-brand);
377
+ --md-sys-typescale-headline-large-weight: var(--md-ref-typeface-weight-regular);
378
+ --md-sys-typescale-headline-large-size: 2rem; /* 32pt */
379
+ --md-sys-typescale-headline-large-height: 2.5rem; /* 40pt */
380
+ --md-sys-typescale-headline-large-tracking: 0px;
381
+ /* headline - medium */
382
+ --md-sys-typescale-headline-medium-font: var(--md-ref-typeface-brand);
383
+ --md-sys-typescale-headline-medium-weight: var(--md-ref-typeface-weight-regular);
384
+ --md-sys-typescale-headline-medium-size: 1.75rem; /* 28pt */
385
+ --md-sys-typescale-headline-medium-height: 2.25rem; /* 36pt */
386
+ --md-sys-typescale-headline-medium-tracking: 0px;
387
+ /* headline - small */
388
+ --md-sys-typescale-headline-small-font: var(--md-ref-typeface-brand);
389
+ --md-sys-typescale-headline-small-weight: var(--md-ref-typeface-weight-regular);
390
+ --md-sys-typescale-headline-small-size: 1.5rem; /* 24pt */
391
+ --md-sys-typescale-headline-small-height: 2rem; /* 32pt */
392
+ --md-sys-typescale-headline-small-tracking: 0px;
393
+ /* title - large */
394
+ --md-sys-typescale-title-large-font: var(--md-ref-typeface-brand);
395
+ --md-sys-typescale-title-large-weight: var(--md-ref-typeface-weight-regular);
396
+ --md-sys-typescale-title-large-size: 1.375rem; /* 22pt */
397
+ --md-sys-typescale-title-large-height: 1.75rem; /* 28pt */
398
+ --md-sys-typescale-title-large-tracking: 0px;
399
+ /* title - medium */
400
+ --md-sys-typescale-title-medium-font: var(--md-ref-typeface-brand);
401
+ --md-sys-typescale-title-medium-weight: var(--md-ref-typeface-weight-medium);
402
+ --md-sys-typescale-title-medium-size: 1rem; /* 16pt */
403
+ --md-sys-typescale-title-medium-height: 1.5rem; /* 24pt */
404
+ --md-sys-typescale-title-medium-tracking: 0.15px;
405
+ /* title - small */
406
+ --md-sys-typescale-title-small-font: var(--md-ref-typeface-brand);
407
+ --md-sys-typescale-title-small-weight: var(--md-ref-typeface-weight-medium);
408
+ --md-sys-typescale-title-small-size: 0.875rem; /* 14pt */
409
+ --md-sys-typescale-title-small-height: 1.25rem; /* 20pt */
410
+ --md-sys-typescale-title-small-tracking: 0.1px;
411
+ /* body - large */
412
+ --md-sys-typescale-body-large-font: var(--md-ref-typeface-brand);
413
+ --md-sys-typescale-body-large-weight: var(--md-ref-typeface-weight-regular);
414
+ --md-sys-typescale-body-large-size: 1rem; /* 16pt */
415
+ --md-sys-typescale-body-large-height: 1.5rem; /* 24pt */
416
+ --md-sys-typescale-body-large-tracking: 0.5px;
417
+ /* body - medium */
418
+ --md-sys-typescale-body-medium-font: var(--md-ref-typeface-brand);
419
+ --md-sys-typescale-body-medium-weight: var(--md-ref-typeface-weight-regular);
420
+ --md-sys-typescale-body-medium-size: 0.875rem; /* 14pt */
421
+ --md-sys-typescale-body-medium-height: 1.25rem; /* 20pt */
422
+ --md-sys-typescale-body-medium-tracking: 0.25px;
423
+ /* body - small */
424
+ --md-sys-typescale-body-small-font: var(--md-ref-typeface-brand);
425
+ --md-sys-typescale-body-small-weight: var(--md-ref-typeface-weight-regular);
426
+ --md-sys-typescale-body-small-size: 0.75rem; /* 12pt */
427
+ --md-sys-typescale-body-small-height: 1rem; /* 16pt */
428
+ --md-sys-typescale-body-small-tracking: 0.4px;
429
+ /* label - large */
430
+ --md-sys-typescale-label-large-font: var(--md-ref-typeface-brand);
431
+ --md-sys-typescale-label-large-weight: var(--md-ref-typeface-weight-medium);
432
+ --md-sys-typescale-label-large-weight-prominent: var(--md-ref-typeface-weight-bold);
433
+ --md-sys-typescale-label-large-size: 0.875rem; /* 14pt */
434
+ --md-sys-typescale-label-large-height: 1.25rem; /* 20pt */
435
+ --md-sys-typescale-label-large-tracking: 0.1px;
436
+ /* label - medium */
437
+ --md-sys-typescale-label-medium-font: var(--md-ref-typeface-brand);
438
+ --md-sys-typescale-label-medium-weight: var(--md-ref-typeface-weight-medium);
439
+ --md-sys-typescale-label-medium-weight-prominent: var(--md-ref-typeface-weight-bold);
440
+ --md-sys-typescale-label-medium-size: 0.75rem; /* 12pt */
441
+ --md-sys-typescale-label-medium-height: 1rem; /* 16pt */
442
+ --md-sys-typescale-label-medium-tracking: 0.5px;
443
+ /* label - small */
444
+ --md-sys-typescale-label-small-font: var(--md-ref-typeface-brand);
445
+ --md-sys-typescale-label-small-weight: var(--md-ref-typeface-weight-medium);
446
+ --md-sys-typescale-label-small-size: 0.6875rem; /* 11pt */
447
+ --md-sys-typescale-label-small-height: 1rem; /* 16pt */
448
+ --md-sys-typescale-label-small-tracking: 0.5px;
449
+
450
+ /* CUSTOM!!! */
451
+
452
+ /* Elevation light */
453
+ --md-sys-elevation-1-light: 0px 1px 2px rgba(0, 0, 0, 0.3), 0px 1px 3px 1px rgba(0, 0, 0, 0.15);
454
+ --md-sys-elevation-2-light: 0px 1px 2px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);
455
+ --md-sys-elevation-3-light: 0px 4px 8px 3px rgba(0, 0, 0, 0.15), 0px 1px 3px rgba(0, 0, 0, 0.3);
456
+ --md-sys-elevation-4-light: 0px 6px 10px 4px rgba(0, 0, 0, 0.15), 0px 2px 3px rgba(0, 0, 0, 0.3);
457
+ --md-sys-elevation-5-light: 0px 8px 12px 6px rgba(0, 0, 0, 0.15), 0px 4px 4px rgba(0, 0, 0, 0.3);
458
+ /* Elevation dark */
459
+ --md-sys-elevation-1-dark: 0px 1px 3px 1px rgba(0, 0, 0, 0.15), 0px 1px 2px rgba(0, 0, 0, 0.3);
460
+ --md-sys-elevation-2-dark: 0px 2px 6px 2px rgba(0, 0, 0, 0.15), 0px 1px 2px rgba(0, 0, 0, 0.3);
461
+ --md-sys-elevation-3-dark: 0px 4px 8px 3px rgba(0, 0, 0, 0.15), 0px 1px 3px rgba(0, 0, 0, 0.3);
462
+ --md-sys-elevation-4-dark: 0px 6px 10px 4px rgba(0, 0, 0, 0.15), 0px 2px 3px rgba(0, 0, 0, 0.3);
463
+ --md-sys-elevation-5-dark: 0px 8px 12px 6px rgba(0, 0, 0, 0.15), 0px 4px 4px rgba(0, 0, 0, 0.3);
464
+ /* State layer */
465
+ --md-sys-state-hover-state-layer-opacity: 0.08;
466
+ --md-sys-state-focus-state-layer-opacity: 0.1;
467
+ --md-sys-state-pressed-state-layer-opacity: 0.1;
468
+ --md-sys-state-dragged-state-layer-opacity: 0.16;
469
+ /* Rounding */
470
+ --md-sys-shape-corner-none: 0;
471
+ --md-sys-shape-corner-extra-small: 4px;
472
+ --md-sys-shape-corner-extra-small-top: 4px 4px 0px 0px;
473
+ --md-sys-shape-corner-small: 8px;
474
+ --md-sys-shape-corner-small-top: 8px 8px 0 0;
475
+ --md-sys-shape-corner-small-bottom: 0 0 8px 8px;
476
+ --md-sys-shape-corner-medium: 12px;
477
+ --md-sys-shape-corner-medium-top: 12px 12px 0 0;
478
+ --md-sys-shape-corner-large: 16px;
479
+ --md-sys-shape-corner-large-end: 0px 16px 16px 0px;
480
+ --md-sys-shape-corner-large-top: 16px 16px 0px 0px;
481
+ --md-sys-shape-corner-extra-large: 28px;
482
+ --md-sys-shape-corner-extra-large-top: 28px 28px 0 0;
483
+ --md-sys-shape-corner-full: 9999px;
484
+
485
+ --md-sys-animation-easing-standard: cubic-bezier(0.2, 0, 0, 1);
486
+ --md-sys-animation-easing-acceleration: cubic-bezier(0.4, 0, 1, 1);
487
+ --md-sys-animation-easing-deceleration: cubic-bezier(0, 0, 0.2, 1);
488
+ --md-sys-animation-easing-sharp: cubic-bezier(0.4, 0, 0.6, 1);
489
+
490
+ /* Motion */
491
+ --md-sys-motion-easing-emphasized-decelerate: cubic-bezier(0.05, 0.7, 0.1, 1);
492
+ --md-sys-motion-easing-emphasized-accelerate: cubic-bezier(0.3, 0, 0.8, 0.15);
493
+ --md-sys-motion-easing-standard: cubic-bezier(0.2, 0, 0, 1);
494
+ --md-sys-motion-easing-standard-decelerate: cubic-bezier(0, 0, 0, 1);
495
+ --md-sys-motion-easing-standard-accelerate: cubic-bezier(0.3, 0, 1, 1);
496
+ --md-sys-motion-duration-short1: 50ms;
497
+ --md-sys-motion-duration-short2: 100ms;
498
+ --md-sys-motion-duration-short3: 150ms;
499
+ --md-sys-motion-duration-short4: 200ms;
500
+ --md-sys-motion-duration-medium1: 250ms;
501
+ --md-sys-motion-duration-medium2: 300ms;
502
+ --md-sys-motion-duration-medium3: 350ms;
503
+ --md-sys-motion-duration-medium4: 400ms;
504
+ --md-sys-motion-duration-long1: 450ms;
505
+ --md-sys-motion-duration-long2: 500ms;
506
+ --md-sys-motion-duration-long3: 550ms;
507
+ --md-sys-motion-duration-long4: 600ms;
508
+ --md-sys-motion-duration-extra-long1: 700ms;
509
+ --md-sys-motion-duration-extra-long2: 800ms;
510
+ --md-sys-motion-duration-extra-long3: 900ms;
511
+ --md-sys-motion-duration-extra-long4: 1000ms;
512
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@api-client/ui",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Internal UI component library for the API Client ecosystem.",
5
5
  "license": "UNLICENSED",
6
6
  "main": "build/src/index.js",
@@ -57,7 +57,8 @@
57
57
  "./types/*": "./build/src/types/*"
58
58
  },
59
59
  "scripts": {
60
- "build": "npm run tsc && npm run lint",
60
+ "build": "wireit",
61
+ "copy-assets": "wireit",
61
62
  "lint": "npm run lint:prettier && npm run lint:eslint",
62
63
  "lint:eslint": "wireit",
63
64
  "lint:prettier": "wireit",
@@ -73,6 +74,17 @@
73
74
  "tsc:all": "wireit"
74
75
  },
75
76
  "wireit": {
77
+ "build": {
78
+ "command": "npm run copy-assets",
79
+ "dependencies": [
80
+ "tsc",
81
+ "lint:prettier",
82
+ "lint:eslint"
83
+ ]
84
+ },
85
+ "copy-assets": {
86
+ "command": "node scripts/copy-assets.js"
87
+ },
76
88
  "lint:eslint": {
77
89
  "command": "eslint --color --cache --cache-location .eslintcache .",
78
90
  "files": [
@@ -97,11 +109,15 @@
97
109
  },
98
110
  "test": {
99
111
  "command": "wtr --playwright --browsers chromium",
100
- "dependencies": ["tsc:all"]
112
+ "dependencies": [
113
+ "tsc:all"
114
+ ]
101
115
  },
102
116
  "test:coverage": {
103
117
  "command": "wtr --playwright --browsers chromium --coverage",
104
- "dependencies": ["tsc:all"]
118
+ "dependencies": [
119
+ "tsc:all"
120
+ ]
105
121
  },
106
122
  "tsc:all": {
107
123
  "command": "tsc --project tsconfig.all.json",
@@ -0,0 +1,21 @@
1
+ import { copyFile, mkdir } from 'node:fs/promises';
2
+ import { join } from 'node:path';
3
+
4
+ async function copyStyles() {
5
+ const src = join('src', 'styles', 'm3');
6
+ const dest = join('build', 'src', 'styles', 'm3');
7
+ const files = [
8
+ 'native.css',
9
+ 'theme.css',
10
+ 'tokens.css',
11
+ ];
12
+ await mkdir(dest, { recursive: true });
13
+ await Promise.all(
14
+ files.map(async (name) => {
15
+ const destFile = join(dest, name);
16
+ await copyFile(join(src, name), destFile);
17
+ })
18
+ );
19
+ }
20
+
21
+ await copyStyles();
@@ -146,9 +146,6 @@ export default css`
146
146
  }
147
147
 
148
148
  .supporting-text-start {
149
- overflow: hidden;
150
- text-overflow: ellipsis;
151
- white-space: nowrap;
152
149
  flex: 1;
153
150
  margin-right: 16px;
154
151
  }