tide-design-system 2.1.11 → 2.1.13

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 (58) hide show
  1. package/.storybook/main.ts +1 -1
  2. package/dist/IconVerified-000f615f.js +20 -0
  3. package/dist/IconVerified-b71255f2.cjs +2 -0
  4. package/dist/css/dynamic-buttons.css +279 -0
  5. package/dist/css/dynamic-utilities.css +123 -0
  6. package/dist/css/main.css +4 -0
  7. package/dist/css/utilities-lg.css +402 -0
  8. package/dist/css/utilities-md.css +404 -0
  9. package/dist/css/utilities-sm.css +402 -0
  10. package/dist/css/utilities-xl.css +402 -0
  11. package/dist/css/utilities.css +4 -1520
  12. package/dist/css/variables.css +7 -15
  13. package/dist/style.css +1 -1
  14. package/dist/tide-design-system.cjs +2 -2
  15. package/dist/tide-design-system.esm.d.ts +112 -127
  16. package/dist/tide-design-system.esm.js +853 -866
  17. package/index.ts +2 -8
  18. package/package.json +1 -1
  19. package/src/assets/css/dynamic-buttons.css +279 -0
  20. package/src/assets/css/dynamic-utilities.css +123 -0
  21. package/src/assets/css/main.css +4 -0
  22. package/src/assets/css/utilities-lg.css +402 -0
  23. package/src/assets/css/utilities-md.css +404 -0
  24. package/src/assets/css/utilities-sm.css +402 -0
  25. package/src/assets/css/utilities-xl.css +402 -0
  26. package/src/assets/css/utilities.css +4 -1520
  27. package/src/assets/css/variables.css +7 -15
  28. package/src/assets/svg/icons/IconVerified.svg +1 -0
  29. package/src/components/TideAccordionItem.vue +8 -6
  30. package/src/components/TideAlert.vue +2 -2
  31. package/src/components/TideBadge.vue +17 -6
  32. package/src/components/TideBadgeTrustedPartner.vue +2 -2
  33. package/src/components/TideBadgeVerifiedVehicle.vue +32 -0
  34. package/src/components/TideBreadCrumbs.vue +3 -3
  35. package/src/components/TideButton.vue +1 -1
  36. package/src/components/TideButtonPagination.vue +1 -1
  37. package/src/components/TideButtonSegmented.vue +4 -3
  38. package/src/components/TideChipAction.vue +1 -2
  39. package/src/components/TideChipFilter.vue +2 -3
  40. package/src/components/TideChipInput.vue +1 -2
  41. package/src/components/TideColumns.vue +1 -1
  42. package/src/components/TideIndicator.vue +14 -18
  43. package/src/components/TideInputCheckbox.vue +6 -1
  44. package/src/components/TideInputRadio.vue +14 -2
  45. package/src/components/TideInputSelect.vue +3 -4
  46. package/src/components/TideInputText.vue +17 -6
  47. package/src/components/TideInputTextarea.vue +3 -15
  48. package/src/components/TideLink.vue +1 -3
  49. package/src/components/TideSeoLinks.vue +2 -2
  50. package/src/stories/FoundationsShadow.stories.ts +27 -8
  51. package/src/stories/TideBadge.stories.ts +13 -2
  52. package/src/stories/TideBadgeVerifiedVehicle.stories.ts +20 -0
  53. package/src/types/Badge.ts +0 -14
  54. package/src/types/Styles.ts +1 -0
  55. package/dist/IconVerified-04c12500.cjs +0 -2
  56. package/dist/IconVerified-a78449ea.js +0 -16
  57. package/src/components/TideBadgePremium.vue +0 -31
  58. package/src/stories/TideBadgePremium.stories.ts +0 -31
@@ -23,8 +23,8 @@ const config: StorybookConfig = {
23
23
  '../src/stories/TideAlert.stories.ts',
24
24
  '../src/stories/TideBackgroundImage.stories.ts',
25
25
  '../src/stories/TideBadge.stories.ts',
26
- '../src/stories/TideBadgePremium.stories.ts',
27
26
  '../src/stories/TideBadgeTrustedPartner.stories.ts',
27
+ '../src/stories/TideBadgeVerifiedVehicle.stories.ts',
28
28
  '../src/stories/TideBreadCrumbs.stories.ts',
29
29
  '../src/stories/TideButton.stories.ts',
30
30
  '../src/stories/TideButtonIcon.stories.ts',
@@ -0,0 +1,20 @@
1
+ import { openBlock as t, createElementBlock as o, createElementVNode as e } from "vue";
2
+ const l = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ viewBox: "0 0 24 24"
5
+ }, n = /* @__PURE__ */ e("path", {
6
+ d: "M7 8H17V16H7V8Z",
7
+ fill: "white"
8
+ }, null, -1), c = /* @__PURE__ */ e("path", { d: "m8.6 22.5-1.9-3.2-3.6-.8.35-3.7L1 12l2.45-2.8-.35-3.7 3.6-.8 1.9-3.2L12 2.95l3.4-1.45 1.9 3.2 3.6.8-.35 3.7L23 12l-2.45 2.8.35 3.7-3.6.8-1.9 3.2-3.4-1.45-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45-4.25 4.25-2.15-2.1L7.4 12l3.55 3.55Z" }, null, -1), r = [
9
+ n,
10
+ c
11
+ ];
12
+ function s(d, i) {
13
+ return t(), o("svg", l, r);
14
+ }
15
+ const h = { render: s };
16
+ export {
17
+ h as default,
18
+ s as render
19
+ };
20
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSWNvblZlcmlmaWVkLTAwMGY2MTVmLmpzIiwic291cmNlcyI6WyIuLi9zcmMvYXNzZXRzL3N2Zy9pY29ucy9JY29uVmVyaWZpZWQuc3ZnIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNyZWF0ZUVsZW1lbnRWTm9kZSBhcyBfY3JlYXRlRWxlbWVudFZOb2RlLCBvcGVuQmxvY2sgYXMgX29wZW5CbG9jaywgY3JlYXRlRWxlbWVudEJsb2NrIGFzIF9jcmVhdGVFbGVtZW50QmxvY2sgfSBmcm9tIFwidnVlXCJcblxuY29uc3QgX2hvaXN0ZWRfMSA9IHtcbiAgeG1sbnM6IFwiaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmdcIixcbiAgdmlld0JveDogXCIwIDAgMjQgMjRcIlxufVxuY29uc3QgX2hvaXN0ZWRfMiA9IC8qI19fUFVSRV9fKi9fY3JlYXRlRWxlbWVudFZOb2RlKFwicGF0aFwiLCB7XG4gIGQ6IFwiTTcgOEgxN1YxNkg3VjhaXCIsXG4gIGZpbGw6IFwid2hpdGVcIlxufSwgbnVsbCwgLTEpXG5jb25zdCBfaG9pc3RlZF8zID0gLyojX19QVVJFX18qL19jcmVhdGVFbGVtZW50Vk5vZGUoXCJwYXRoXCIsIHsgZDogXCJtOC42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VBQUUsR0FBRywyT0FBMk8sTUFBTSxFQUFFLEdBQzlTRSxJQUFhO0FBQUEsRUFDakJIO0FBQUEsRUFDQUU7QUFDRjtBQUVPLFNBQVNFLEVBQU9DLEdBQU1DLEdBQVE7QUFDbkMsU0FBUUMsRUFBWSxHQUFFQyxFQUFvQixPQUFPVCxHQUFZSSxDQUFVO0FBQ3pFO0FBQ0EsTUFBZU0sSUFBQSxFQUFFLFFBQVFMLEVBQU07In0=
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},n=e.createElementVNode("path",{d:"M7 8H17V16H7V8Z",fill:"white"},null,-1),l=e.createElementVNode("path",{d:"m8.6 22.5-1.9-3.2-3.6-.8.35-3.7L1 12l2.45-2.8-.35-3.7 3.6-.8 1.9-3.2L12 2.95l3.4-1.45 1.9 3.2 3.6.8-.35 3.7L23 12l-2.45 2.8.35 3.7-3.6.8-1.9 3.2-3.4-1.45-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45-4.25 4.25-2.15-2.1L7.4 12l3.55 3.55Z"},null,-1),r=[n,l];function t(d,s){return e.openBlock(),e.createElementBlock("svg",o,r)}const c={render:t};exports.default=c;exports.render=t;
2
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSWNvblZlcmlmaWVkLWI3MTI1NWYyLmNqcyIsInNvdXJjZXMiOlsiLi4vc3JjL2Fzc2V0cy9zdmcvaWNvbnMvSWNvblZlcmlmaWVkLnN2ZyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjcmVhdGVFbGVtZW50Vk5vZGUgYXMgX2NyZWF0ZUVsZW1lbnRWTm9kZSwgb3BlbkJsb2NrIGFzIF9vcGVuQmxvY2ssIGNyZWF0ZUVsZW1lbnRCbG9jayBhcyBfY3JlYXRlRWxlbWVudEJ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xIiwiX2hvaXN0ZWRfMiIsIl9jcmVhdGVFbGVtZW50Vk5vZGUiLCJfaG9pc3RlZF8zIiwiX2hvaXN0ZWRfNCIsInJlbmRlciIsIl9jdHgiLCJfY2FjaGUiLCJfb3BlbkJsb2NrIiwiX2NyZWF0ZUVsZW1lbnRCbG9jayIsIkljb25WZXJpZmllZCJdLCJtYXBwaW5ncyI6InVHQUVNQSxFQUFhLENBQ2pCLE1BQU8sNkJBQ1AsUUFBUyxXQUNYLEVBQ01DLEVBQTBCQyxFQUFtQixtQkFBQyxPQUFRLENBQzFELEVBQUcsa0JBQ0gsS0FBTSxPQUNSLEVBQUcsS0FBTSxFQUFFLEVBQ0xDLEVBQTBCRCxFQUFBQSxtQkFBb0IsT0FBUSxDQUFFLEVBQUcseU9BQTJPLEtBQU0sRUFBRSxFQUM5U0UsRUFBYSxDQUNqQkgsRUFDQUUsQ0FDRixFQUVPLFNBQVNFLEVBQU9DLEVBQU1DLEVBQVEsQ0FDbkMsT0FBUUMsRUFBQUEsVUFBWSxFQUFFQyxFQUFtQixtQkFBQyxNQUFPVCxFQUFZSSxDQUFVLENBQ3pFLENBQ0EsTUFBZU0sRUFBQSxDQUFFLE9BQVFMLENBQU0ifQ==
@@ -65,3 +65,282 @@ button.tide-button-quaternary:disabled,
65
65
  button.tide-button-floating:disabled {
66
66
  opacity: 0.32;
67
67
  }
68
+ @media (min-width: 768px) {
69
+ /* Rest State */
70
+ .sm-tide-button-primary {
71
+ background: var(--tide-primary);
72
+ border: 2px solid var(--tide-primary);
73
+ color: var(--tide-on-primary);
74
+ }
75
+
76
+ .sm-tide-button-secondary {
77
+ background: var(--tide-surface);
78
+ border: 2px solid var(--tide-primary);
79
+ color: var(--tide-primary);
80
+ }
81
+
82
+ .sm-tide-button-tertiary {
83
+ background: var(--tide-white);
84
+ border: 1px solid var(--tide-border);
85
+ color: var(--tide-secondary);
86
+ }
87
+
88
+ .sm-tide-button-quaternary {
89
+ background: var(--tide-white);
90
+ color: var(--tide-secondary);
91
+ }
92
+
93
+ .sm-tide-button-floating {
94
+ background-color: var(--tide-transparent-100);
95
+ color: var(--tide-secondary);
96
+ box-shadow: var(--tide-shadow-bottom);
97
+ }
98
+
99
+ /* Hover State */
100
+ a.sm-tide-button-primary:hover,
101
+ button.sm-tide-button-primary:enabled:hover {
102
+ border: 2px solid var(--tide-primary);
103
+ background: var(--tide-white);
104
+ color: var(--tide-primary);
105
+ }
106
+
107
+ a.sm-tide-button-secondary:hover,
108
+ button.sm-tide-button-secondary:enabled:hover {
109
+ background: var(--tide-primary);
110
+ color: var(--tide-on-primary);
111
+ }
112
+
113
+ a.sm-tide-button-tertiary:hover,
114
+ button.sm-tide-button-tertiary:enabled:hover {
115
+ border: 1px solid var(--tide-border-high);
116
+ }
117
+
118
+ a.sm-tide-button-quaternary:hover,
119
+ button.sm-tide-button-quaternary:enabled:hover {
120
+ background: var(--tide-surface-variant);
121
+ }
122
+
123
+ .sm-tide-button-floating:hover,
124
+ button.sm-tide-button-floating:enabled:hover {
125
+ background-color: var(--tide-white);
126
+ }
127
+
128
+ /* Disabled State */
129
+ button.sm-tide-button-primary:disabled,
130
+ button.sm-tide-button-secondary:disabled,
131
+ button.sm-tide-button-tertiary:disabled,
132
+ button.sm-tide-button-quaternary:disabled,
133
+ button.sm-tide-button-floating:disabled {
134
+ opacity: 0.32;
135
+ }
136
+ }
137
+
138
+ @media (min-width: 992px) {
139
+ /* Rest State */
140
+ .md-tide-button-primary {
141
+ background: var(--tide-primary);
142
+ border: 2px solid var(--tide-primary);
143
+ color: var(--tide-on-primary);
144
+ }
145
+
146
+ .md-tide-button-secondary {
147
+ background: var(--tide-surface);
148
+ border: 2px solid var(--tide-primary);
149
+ color: var(--tide-primary);
150
+ }
151
+
152
+ .md-tide-button-tertiary {
153
+ background: var(--tide-white);
154
+ border: 1px solid var(--tide-border);
155
+ color: var(--tide-secondary);
156
+ }
157
+
158
+ .md-tide-button-quaternary {
159
+ background: var(--tide-white);
160
+ color: var(--tide-secondary);
161
+ }
162
+
163
+ .md-tide-button-floating {
164
+ background-color: var(--tide-transparent-100);
165
+ color: var(--tide-secondary);
166
+ box-shadow: var(--tide-shadow-bottom);
167
+ }
168
+
169
+ /* Hover State */
170
+ a.md-tide-button-primary:hover,
171
+ button.md-tide-button-primary:enabled:hover {
172
+ border: 2px solid var(--tide-primary);
173
+ background: var(--tide-white);
174
+ color: var(--tide-primary);
175
+ }
176
+
177
+ a.md-tide-button-secondary:hover,
178
+ button.md-tide-button-secondary:enabled:hover {
179
+ background: var(--tide-primary);
180
+ color: var(--tide-on-primary);
181
+ }
182
+
183
+ a.md-tide-button-tertiary:hover,
184
+ button.md-tide-button-tertiary:enabled:hover {
185
+ border: 1px solid var(--tide-border-high);
186
+ }
187
+
188
+ a.md-tide-button-quaternary:hover,
189
+ button.md-tide-button-quaternary:enabled:hover {
190
+ background: var(--tide-surface-variant);
191
+ }
192
+
193
+ .md-tide-button-floating:hover,
194
+ button.md-tide-button-floating:enabled:hover {
195
+ background-color: var(--tide-white);
196
+ }
197
+
198
+ /* Disabled State */
199
+ button.md-tide-button-primary:disabled,
200
+ button.md-tide-button-secondary:disabled,
201
+ button.md-tide-button-tertiary:disabled,
202
+ button.md-tide-button-quaternary:disabled,
203
+ button.md-tide-button-floating:disabled {
204
+ opacity: 0.32;
205
+ }
206
+ }
207
+
208
+ @media (min-width: 1232px) {
209
+ /* Rest State */
210
+ .lg-tide-button-primary {
211
+ background: var(--tide-primary);
212
+ border: 2px solid var(--tide-primary);
213
+ color: var(--tide-on-primary);
214
+ }
215
+
216
+ .lg-tide-button-secondary {
217
+ background: var(--tide-surface);
218
+ border: 2px solid var(--tide-primary);
219
+ color: var(--tide-primary);
220
+ }
221
+
222
+ .lg-tide-button-tertiary {
223
+ background: var(--tide-white);
224
+ border: 1px solid var(--tide-border);
225
+ color: var(--tide-secondary);
226
+ }
227
+
228
+ .lg-tide-button-quaternary {
229
+ background: var(--tide-white);
230
+ color: var(--tide-secondary);
231
+ }
232
+
233
+ .lg-tide-button-floating {
234
+ background-color: var(--tide-transparent-100);
235
+ color: var(--tide-secondary);
236
+ box-shadow: var(--tide-shadow-bottom);
237
+ }
238
+
239
+ /* Hover State */
240
+ a.lg-tide-button-primary:hover,
241
+ button.lg-tide-button-primary:enabled:hover {
242
+ border: 2px solid var(--tide-primary);
243
+ background: var(--tide-white);
244
+ color: var(--tide-primary);
245
+ }
246
+
247
+ a.lg-tide-button-secondary:hover,
248
+ button.lg-tide-button-secondary:enabled:hover {
249
+ background: var(--tide-primary);
250
+ color: var(--tide-on-primary);
251
+ }
252
+
253
+ a.lg-tide-button-tertiary:hover,
254
+ button.lg-tide-button-tertiary:enabled:hover {
255
+ border: 1px solid var(--tide-border-high);
256
+ }
257
+
258
+ a.lg-tide-button-quaternary:hover,
259
+ button.lg-tide-button-quaternary:enabled:hover {
260
+ background: var(--tide-surface-variant);
261
+ }
262
+
263
+ .lg-tide-button-floating:hover,
264
+ button.lg-tide-button-floating:enabled:hover {
265
+ background-color: var(--tide-white);
266
+ }
267
+
268
+ /* Disabled State */
269
+ button.lg-tide-button-primary:disabled,
270
+ button.lg-tide-button-secondary:disabled,
271
+ button.lg-tide-button-tertiary:disabled,
272
+ button.lg-tide-button-quaternary:disabled,
273
+ button.lg-tide-button-floating:disabled {
274
+ opacity: 0.32;
275
+ }
276
+ }
277
+
278
+ @media (min-width: 1920px) {
279
+ /* Rest State */
280
+ .xl-tide-button-primary {
281
+ background: var(--tide-primary);
282
+ border: 2px solid var(--tide-primary);
283
+ color: var(--tide-on-primary);
284
+ }
285
+
286
+ .xl-tide-button-secondary {
287
+ background: var(--tide-surface);
288
+ border: 2px solid var(--tide-primary);
289
+ color: var(--tide-primary);
290
+ }
291
+
292
+ .xl-tide-button-tertiary {
293
+ background: var(--tide-white);
294
+ border: 1px solid var(--tide-border);
295
+ color: var(--tide-secondary);
296
+ }
297
+
298
+ .xl-tide-button-quaternary {
299
+ background: var(--tide-white);
300
+ color: var(--tide-secondary);
301
+ }
302
+
303
+ .xl-tide-button-floating {
304
+ background-color: var(--tide-transparent-100);
305
+ color: var(--tide-secondary);
306
+ box-shadow: var(--tide-shadow-bottom);
307
+ }
308
+
309
+ /* Hover State */
310
+ a.xl-tide-button-primary:hover,
311
+ button.xl-tide-button-primary:enabled:hover {
312
+ border: 2px solid var(--tide-primary);
313
+ background: var(--tide-white);
314
+ color: var(--tide-primary);
315
+ }
316
+
317
+ a.xl-tide-button-secondary:hover,
318
+ button.xl-tide-button-secondary:enabled:hover {
319
+ background: var(--tide-primary);
320
+ color: var(--tide-on-primary);
321
+ }
322
+
323
+ a.xl-tide-button-tertiary:hover,
324
+ button.xl-tide-button-tertiary:enabled:hover {
325
+ border: 1px solid var(--tide-border-high);
326
+ }
327
+
328
+ a.xl-tide-button-quaternary:hover,
329
+ button.xl-tide-button-quaternary:enabled:hover {
330
+ background: var(--tide-surface-variant);
331
+ }
332
+
333
+ .xl-tide-button-floating:hover,
334
+ button.xl-tide-button-floating:enabled:hover {
335
+ background-color: var(--tide-white);
336
+ }
337
+
338
+ /* Disabled State */
339
+ button.xl-tide-button-primary:disabled,
340
+ button.xl-tide-button-secondary:disabled,
341
+ button.xl-tide-button-tertiary:disabled,
342
+ button.xl-tide-button-quaternary:disabled,
343
+ button.xl-tide-button-floating:disabled {
344
+ opacity: 0.32;
345
+ }
346
+ }
@@ -26,3 +26,126 @@
26
26
  .tide-font-on-surface-brand {color: var(--tide-on-surface-brand);}
27
27
  .tide-font-on-surface-inverse {color: var(--tide-on-surface-inverse);}
28
28
  .tide-font-on-surface-variant-inverse {color: var(--tide-on-surface-inverse-variant);}
29
+ @media (min-width: 768px) {
30
+ /* Background */
31
+ .sm-tide-bg-primary {background: var(--tide-primary);}
32
+ .sm-tide-bg-secondary {background: var(--tide-secondary);}
33
+
34
+ .sm-tide-bg-surface {background: var(--tide-surface);}
35
+ .sm-tide-bg-surface-variant {background: var(--tide-surface-variant);}
36
+ .sm-tide-bg-surface-brand {background: var(--tide-surface-brand);}
37
+ .sm-tide-bg-surface-accent {background: var(--tide-surface-accent);}
38
+ .sm-tide-bg-surface-gradient {background: var(--tide-surface-gradient);}
39
+ .sm-tide-bg-surface-floating {background: var(--tide-surface-floating);}
40
+
41
+ /* Border */
42
+ .sm-tide-border-primary {border-color: var(--tide-primary);}
43
+
44
+ .sm-tide-border {border-color: var(--tide-border);}
45
+ .sm-tide-border-low {border-color: var(--tide-border-low);}
46
+ .sm-tide-border-high {border-color: var(--tide-border-high);}
47
+ .sm-tide-border-floating {border-color: var(--tide-border-floating);}
48
+
49
+ /* Foreground */
50
+ .sm-tide-font-on-primary {color: var(--tide-on-primary);}
51
+ .sm-tide-font-on-secondary {color: var(--tide-on-secondary);}
52
+
53
+ .sm-tide-font-on-surface {color: var(--tide-on-surface);}
54
+ .sm-tide-font-on-surface-variant {color: var(--tide-on-surface-variant);}
55
+ .sm-tide-font-on-surface-brand {color: var(--tide-on-surface-brand);}
56
+ .sm-tide-font-on-surface-inverse {color: var(--tide-on-surface-inverse);}
57
+ .sm-tide-font-on-surface-variant-inverse {color: var(--tide-on-surface-inverse-variant);}
58
+ }
59
+
60
+ @media (min-width: 992px) {
61
+ /* Background */
62
+ .md-tide-bg-primary {background: var(--tide-primary);}
63
+ .md-tide-bg-secondary {background: var(--tide-secondary);}
64
+
65
+ .md-tide-bg-surface {background: var(--tide-surface);}
66
+ .md-tide-bg-surface-variant {background: var(--tide-surface-variant);}
67
+ .md-tide-bg-surface-brand {background: var(--tide-surface-brand);}
68
+ .md-tide-bg-surface-accent {background: var(--tide-surface-accent);}
69
+ .md-tide-bg-surface-gradient {background: var(--tide-surface-gradient);}
70
+ .md-tide-bg-surface-floating {background: var(--tide-surface-floating);}
71
+
72
+ /* Border */
73
+ .md-tide-border-primary {border-color: var(--tide-primary);}
74
+
75
+ .md-tide-border {border-color: var(--tide-border);}
76
+ .md-tide-border-low {border-color: var(--tide-border-low);}
77
+ .md-tide-border-high {border-color: var(--tide-border-high);}
78
+ .md-tide-border-floating {border-color: var(--tide-border-floating);}
79
+
80
+ /* Foreground */
81
+ .md-tide-font-on-primary {color: var(--tide-on-primary);}
82
+ .md-tide-font-on-secondary {color: var(--tide-on-secondary);}
83
+
84
+ .md-tide-font-on-surface {color: var(--tide-on-surface);}
85
+ .md-tide-font-on-surface-variant {color: var(--tide-on-surface-variant);}
86
+ .md-tide-font-on-surface-brand {color: var(--tide-on-surface-brand);}
87
+ .md-tide-font-on-surface-inverse {color: var(--tide-on-surface-inverse);}
88
+ .md-tide-font-on-surface-variant-inverse {color: var(--tide-on-surface-inverse-variant);}
89
+ }
90
+
91
+ @media (min-width: 1232px) {
92
+ /* Background */
93
+ .lg-tide-bg-primary {background: var(--tide-primary);}
94
+ .lg-tide-bg-secondary {background: var(--tide-secondary);}
95
+
96
+ .lg-tide-bg-surface {background: var(--tide-surface);}
97
+ .lg-tide-bg-surface-variant {background: var(--tide-surface-variant);}
98
+ .lg-tide-bg-surface-brand {background: var(--tide-surface-brand);}
99
+ .lg-tide-bg-surface-accent {background: var(--tide-surface-accent);}
100
+ .lg-tide-bg-surface-gradient {background: var(--tide-surface-gradient);}
101
+ .lg-tide-bg-surface-floating {background: var(--tide-surface-floating);}
102
+
103
+ /* Border */
104
+ .lg-tide-border-primary {border-color: var(--tide-primary);}
105
+
106
+ .lg-tide-border {border-color: var(--tide-border);}
107
+ .lg-tide-border-low {border-color: var(--tide-border-low);}
108
+ .lg-tide-border-high {border-color: var(--tide-border-high);}
109
+ .lg-tide-border-floating {border-color: var(--tide-border-floating);}
110
+
111
+ /* Foreground */
112
+ .lg-tide-font-on-primary {color: var(--tide-on-primary);}
113
+ .lg-tide-font-on-secondary {color: var(--tide-on-secondary);}
114
+
115
+ .lg-tide-font-on-surface {color: var(--tide-on-surface);}
116
+ .lg-tide-font-on-surface-variant {color: var(--tide-on-surface-variant);}
117
+ .lg-tide-font-on-surface-brand {color: var(--tide-on-surface-brand);}
118
+ .lg-tide-font-on-surface-inverse {color: var(--tide-on-surface-inverse);}
119
+ .lg-tide-font-on-surface-variant-inverse {color: var(--tide-on-surface-inverse-variant);}
120
+ }
121
+
122
+ @media (min-width: 1920px) {
123
+ /* Background */
124
+ .xl-tide-bg-primary {background: var(--tide-primary);}
125
+ .xl-tide-bg-secondary {background: var(--tide-secondary);}
126
+
127
+ .xl-tide-bg-surface {background: var(--tide-surface);}
128
+ .xl-tide-bg-surface-variant {background: var(--tide-surface-variant);}
129
+ .xl-tide-bg-surface-brand {background: var(--tide-surface-brand);}
130
+ .xl-tide-bg-surface-accent {background: var(--tide-surface-accent);}
131
+ .xl-tide-bg-surface-gradient {background: var(--tide-surface-gradient);}
132
+ .xl-tide-bg-surface-floating {background: var(--tide-surface-floating);}
133
+
134
+ /* Border */
135
+ .xl-tide-border-primary {border-color: var(--tide-primary);}
136
+
137
+ .xl-tide-border {border-color: var(--tide-border);}
138
+ .xl-tide-border-low {border-color: var(--tide-border-low);}
139
+ .xl-tide-border-high {border-color: var(--tide-border-high);}
140
+ .xl-tide-border-floating {border-color: var(--tide-border-floating);}
141
+
142
+ /* Foreground */
143
+ .xl-tide-font-on-primary {color: var(--tide-on-primary);}
144
+ .xl-tide-font-on-secondary {color: var(--tide-on-secondary);}
145
+
146
+ .xl-tide-font-on-surface {color: var(--tide-on-surface);}
147
+ .xl-tide-font-on-surface-variant {color: var(--tide-on-surface-variant);}
148
+ .xl-tide-font-on-surface-brand {color: var(--tide-on-surface-brand);}
149
+ .xl-tide-font-on-surface-inverse {color: var(--tide-on-surface-inverse);}
150
+ .xl-tide-font-on-surface-variant-inverse {color: var(--tide-on-surface-inverse-variant);}
151
+ }
package/dist/css/main.css CHANGED
@@ -2,6 +2,10 @@
2
2
  @import './reset.css';
3
3
  @import './variables.css';
4
4
  @import './utilities.css';
5
+ @import './utilities-sm.css';
6
+ @import './utilities-md.css';
7
+ @import './utilities-lg.css';
8
+ @import './utilities-xl.css';
5
9
  @import './dynamic-buttons.css';
6
10
  @import './dynamic-utilities.css';
7
11
  @import './grid-layout.css';