@ui0/theme 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/README.md +113 -2
  2. package/dist/backdrop.module.css +1 -0
  3. package/dist/backdrop.scss +7 -0
  4. package/dist/color.inject.module.css +7 -0
  5. package/dist/color.module.css +3 -0
  6. package/dist/color.scss +84 -0
  7. package/dist/components/index.d.ts +4 -0
  8. package/dist/components/index.d.ts.map +1 -0
  9. package/dist/components/index.js +53 -0
  10. package/dist/components/style.css +1 -0
  11. package/dist/components/theme-provider.keys.d.ts +4 -0
  12. package/dist/components/theme-provider.keys.d.ts.map +1 -0
  13. package/dist/components/theme-provider.module.css +1 -0
  14. package/dist/components/theme-provider.types.d.ts +18 -0
  15. package/dist/components/theme-provider.types.d.ts.map +1 -0
  16. package/dist/components/theme-provider.vue.d.ts +19 -0
  17. package/dist/config.default.d.mts +4 -0
  18. package/dist/config.default.d.mts.map +1 -0
  19. package/dist/config.default.mjs +73 -0
  20. package/dist/config.default.mjs.map +1 -0
  21. package/dist/disabled.inject.module.css +5 -0
  22. package/dist/disabled.module.css +1 -0
  23. package/dist/disabled.scss +3 -0
  24. package/dist/display.module.css +2 -0
  25. package/dist/display.scss +63 -0
  26. package/dist/duration.scss +17 -0
  27. package/dist/elevation.module.css +33 -0
  28. package/dist/elevation.scss +46 -0
  29. package/dist/generate-BPYE5ALG.mjs +1037 -0
  30. package/dist/generate-BPYE5ALG.mjs.map +1 -0
  31. package/dist/generator/cli.d.mts +1 -0
  32. package/dist/generator/cli.mjs +103 -0
  33. package/dist/generator/cli.mjs.map +1 -0
  34. package/dist/generator/vite.d.mts +18 -0
  35. package/dist/generator/vite.d.mts.map +1 -0
  36. package/dist/generator/vite.mjs +117 -0
  37. package/dist/generator/vite.mjs.map +1 -0
  38. package/dist/index.d.mts +339 -0
  39. package/dist/index.d.mts.map +1 -0
  40. package/dist/index.mjs +909 -0
  41. package/dist/index.mjs.map +1 -0
  42. package/dist/is.scss +185 -0
  43. package/dist/load-config-64q6nzFy.mjs +48 -0
  44. package/dist/load-config-64q6nzFy.mjs.map +1 -0
  45. package/dist/ripple.scss +57 -0
  46. package/dist/round.inject.module.css +92 -0
  47. package/dist/round.module.css +14 -0
  48. package/dist/round.scss +90 -0
  49. package/dist/size.inject.module.css +50 -0
  50. package/dist/size.module.css +13 -0
  51. package/dist/size.scss +28 -0
  52. package/dist/theme.scss +16 -0
  53. package/dist/typography.inject.module.css +81 -0
  54. package/dist/typography.module.css +32 -0
  55. package/dist/typography.scss +21 -0
  56. package/dist/util.scss +78 -0
  57. package/dist/vars.scss +0 -0
  58. package/package.json +96 -4
  59. package/src/contracts/backdrop/backdrop.contract.ts +44 -0
  60. package/src/contracts/backdrop/backdrop.generator.ts +82 -0
  61. package/src/contracts/backdrop/backdrop.keys.ts +7 -0
  62. package/src/contracts/backdrop/backdrop.module.css +3 -0
  63. package/src/contracts/backdrop/backdrop.scss +7 -0
  64. package/src/contracts/backdrop/backdrop.types.ts +45 -0
  65. package/src/contracts/backdrop/index.ts +21 -0
  66. package/src/contracts/color/color.contract.spec.ts +75 -0
  67. package/src/contracts/color/color.contract.ts +97 -0
  68. package/src/contracts/color/color.generator.spec.ts +73 -0
  69. package/src/contracts/color/color.generator.ts +122 -0
  70. package/src/contracts/color/color.gradient.spec.ts +32 -0
  71. package/src/contracts/color/color.gradient.ts +52 -0
  72. package/src/contracts/color/color.inject.module.css +5 -0
  73. package/src/contracts/color/color.keys.ts +7 -0
  74. package/src/contracts/color/color.module.css +5 -0
  75. package/src/contracts/color/color.scss +84 -0
  76. package/src/contracts/color/color.serialize.spec.ts +57 -0
  77. package/src/contracts/color/color.serialize.ts +35 -0
  78. package/src/contracts/color/color.token.spec.ts +57 -0
  79. package/src/contracts/color/color.token.ts +89 -0
  80. package/src/contracts/color/color.types.ts +82 -0
  81. package/src/contracts/color/index.md +87 -0
  82. package/src/contracts/color/index.ts +25 -0
  83. package/src/contracts/contract.ts +115 -0
  84. package/src/contracts/disabled/disabled.contract.ts +32 -0
  85. package/src/contracts/disabled/disabled.generator.ts +32 -0
  86. package/src/contracts/disabled/disabled.inject.module.css +5 -0
  87. package/src/contracts/disabled/disabled.keys.ts +6 -0
  88. package/src/contracts/disabled/disabled.module.css +3 -0
  89. package/src/contracts/disabled/disabled.scss +3 -0
  90. package/src/contracts/disabled/disabled.types.ts +19 -0
  91. package/src/contracts/disabled/index.ts +21 -0
  92. package/src/contracts/display/display.contract.ts +41 -0
  93. package/src/contracts/display/display.generator.ts +57 -0
  94. package/src/contracts/display/display.instance.ts +173 -0
  95. package/src/contracts/display/display.keys.ts +9 -0
  96. package/src/contracts/display/display.module.css +4 -0
  97. package/src/contracts/display/display.scss +63 -0
  98. package/src/contracts/display/display.types.ts +75 -0
  99. package/src/contracts/display/index.ts +27 -0
  100. package/src/contracts/elevation/elevation.contract.ts +37 -0
  101. package/src/contracts/elevation/elevation.generator.ts +71 -0
  102. package/src/contracts/elevation/elevation.keys.ts +6 -0
  103. package/src/contracts/elevation/elevation.module.css +35 -0
  104. package/src/contracts/elevation/elevation.scss +46 -0
  105. package/src/contracts/elevation/elevation.types.ts +21 -0
  106. package/src/contracts/elevation/index.ts +20 -0
  107. package/src/contracts/generator.ts +38 -0
  108. package/src/contracts/index.md +48 -0
  109. package/src/contracts/index.ts +37 -0
  110. package/src/contracts/round/index.ts +21 -0
  111. package/src/contracts/round/round.contract.ts +75 -0
  112. package/src/contracts/round/round.generator.ts +33 -0
  113. package/src/contracts/round/round.inject.module.scss +36 -0
  114. package/src/contracts/round/round.keys.ts +7 -0
  115. package/src/contracts/round/round.module.css +16 -0
  116. package/src/contracts/round/round.scss +90 -0
  117. package/src/contracts/round/round.types.ts +44 -0
  118. package/src/contracts/size/index.ts +22 -0
  119. package/src/contracts/size/size.contract.ts +98 -0
  120. package/src/contracts/size/size.generator.spec.ts +101 -0
  121. package/src/contracts/size/size.generator.ts +51 -0
  122. package/src/contracts/size/size.inject.module.scss +12 -0
  123. package/src/contracts/size/size.keys.ts +8 -0
  124. package/src/contracts/size/size.module.css +15 -0
  125. package/src/contracts/size/size.scss +28 -0
  126. package/src/contracts/size/size.types.ts +63 -0
  127. package/src/contracts/size/units.scss +17 -0
  128. package/src/contracts/style/index.ts +11 -0
  129. package/src/contracts/style/style.generator.ts +36 -0
  130. package/src/contracts/style/style.key.ts +4 -0
  131. package/src/contracts/style/style.types.ts +16 -0
  132. package/src/contracts/typography/index.ts +26 -0
  133. package/src/contracts/typography/typography.contract.ts +52 -0
  134. package/src/contracts/typography/typography.generator.spec.ts +48 -0
  135. package/src/contracts/typography/typography.generator.ts +44 -0
  136. package/src/contracts/typography/typography.inject.module.css +54 -0
  137. package/src/contracts/typography/typography.keys.ts +12 -0
  138. package/src/contracts/typography/typography.module.css +36 -0
  139. package/src/contracts/typography/typography.scss +21 -0
  140. package/src/contracts/typography/typography.types.ts +90 -0
  141. package/src/generator/theme.default.css +657 -0
  142. package/src/styles/duration.scss +17 -0
  143. package/src/styles/index.md +18 -0
  144. package/src/styles/is.scss +185 -0
  145. package/src/styles/ripple.scss +57 -0
  146. package/src/styles/theme.scss +16 -0
  147. package/src/styles/util.scss +78 -0
  148. package/src/styles/vars.scss +0 -0
@@ -0,0 +1,657 @@
1
+ /* generated by ui0-theme from src/config.default.ts - do not edit by hand */
2
+ @layer theme, ui0;
3
+ @layer theme {
4
+ body {
5
+ margin: 0;
6
+ font-size: 1rem;
7
+ }
8
+ .theme-default {
9
+ /* size */
10
+ --0-s-xxxs: 15px;
11
+ --0-s-xxs: 19px;
12
+ --0-s-xs: 22px;
13
+ --0-s-s: 27px;
14
+ --0-s-m: 32px;
15
+ --0-s-l: 38px;
16
+ --0-s-xl: 46px;
17
+ --0-s-xxl: 55px;
18
+ --0-s-xxxl: 66px;
19
+ --0-s-density: 1;
20
+ --0-uc1: calc(var(--0-s-m) * var(--0-s-density, 1) / 14);
21
+ --0-uc2: calc(var(--0-uc1) * 2);
22
+ --0-uc3: calc(var(--0-uc1) * 3);
23
+ --0-uc4: calc(var(--0-uc1) * 4);
24
+ --0-uc5: calc(var(--0-uc1) * 5);
25
+ --0-uc6: calc(var(--0-uc1) * 6);
26
+ --0-uc7: calc(var(--0-uc1) * 7);
27
+ --0-uc8: calc(var(--0-uc1) * 8);
28
+ --0-sc-xxxs: 13px;
29
+ --0-sc-xxs: 15px;
30
+ --0-sc-xs: 18px;
31
+ --0-sc-s: 22px;
32
+ --0-sc-m: 26px;
33
+ --0-sc-l: 31px;
34
+ --0-sc-xl: 37px;
35
+ --0-sc-xxl: 45px;
36
+ --0-sc-xxxl: 54px;
37
+ --0-ucc1: calc(var(--0-sc-m) * var(--0-s-density, 1) / 10);
38
+ --0-ucc2: calc(var(--0-ucc1) * 2);
39
+ --0-ucc3: calc(var(--0-ucc1) * 3);
40
+ --0-ucc4: calc(var(--0-ucc1) * 4);
41
+ }
42
+ .theme-default {
43
+ /* color */
44
+ --0-c-foreground-v: 0 0 0;
45
+ --0-c-background-v: 255 255 255;
46
+ --0-c-success-v: 56 136 34;
47
+ --0-c-error-v: 136 70 34;
48
+ --0-c-warning-v: 255 185 33;
49
+ --0-c-highlight-v: 22 227 197;
50
+ --0-c-white-v: 255 255 255;
51
+ --0-c-black-v: 0 0 0;
52
+ --0-c-cur-v: var(--0-c-foreground-v);
53
+ --0-c-cur: rgb(var(--0-c-cur-v, var(--0-c-foreground-v)) / var(--0-c-o, 1));
54
+ --0-f-cur-v: var(--0-c-background-v);
55
+ --0-f-cur: rgb(var(--0-f-cur-v, var(--0-c-background-v)) / var(--0-f-o, 1));
56
+ }
57
+ .theme-default {
58
+ /* round */
59
+ --0-r-base: 4px;
60
+ --0-r-tl: 0px;
61
+ --0-r-tr: 0px;
62
+ --0-r-bl: 0px;
63
+ --0-r-basic: calc(var(--0-s-m, 42px) * var(--0-s-density, 1));
64
+ --0-r-br: 0px;
65
+ }
66
+ .theme-default {
67
+ /* backdrop */
68
+ --0-backdrop-blur: 4px;
69
+ --0-backdrop-brightness: 0.5;
70
+ --0-backdrop-contrast: 0.5;
71
+ --0-backdrop-drop-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
72
+ --0-backdrop-grayscale: 1;
73
+ --0-backdrop-hue-rotate: 90deg;
74
+ --0-backdrop-invert: 1;
75
+ --0-backdrop-opacity: 0.5;
76
+ --0-backdrop-saturate: 0.5;
77
+ --0-backdrop-sepia: 1;
78
+ }
79
+ .theme-default {
80
+ /* elevation */
81
+ --0-elv-x1: 1px;
82
+ --0-elv-y1: calc(var(--0-elv-x1) * 3);
83
+ --0-elv-x2: calc(var(--0-elv-x1) * 1.5);
84
+ --0-elv-y2: calc(var(--0-elv-x1) * 1.5);
85
+ }
86
+ .theme-default {
87
+ /* display */
88
+ --0-display-xxs: 320px;
89
+ --0-display-xs: 480px;
90
+ --0-display-sm: 640px;
91
+ --0-display-md: 832px;
92
+ --0-display-lg: 1024px;
93
+ --0-display-hd: 1280px;
94
+ --0-display-xl: 1440px;
95
+ --0-display-xxl: 1680px;
96
+ --0-display-fhd: 1920px;
97
+ --0-display-qhd: 2560px;
98
+ --0-display-uhd: 3840px;
99
+ }
100
+ .theme-default {
101
+ /* typography */
102
+ --0-typo-fs: 20px;
103
+ --0-typo-h-ratio: 1.2;
104
+ --0-typo-h-fs: 22px;
105
+ }
106
+ .theme-default {
107
+ /* style */
108
+ --0-style-version: 1.0.0;
109
+ framework: ui0;
110
+ }
111
+ .theme-default.theme_dark {
112
+ color-scheme: dark;
113
+ }
114
+ .theme-default.theme_dark {
115
+ /* color */
116
+ --0-c-foreground-v: 255 255 255;
117
+ --0-c-background-v: 0 0 0;
118
+ }
119
+ .theme-default.theme_dark {
120
+ /* dark additions */
121
+ --0-elv-x1: 1px;
122
+ --0-elv-y1: calc(var(--0-elv-x1) * 3);
123
+ --0-elv-x2: calc(var(--0-elv-x1) * 1.5);
124
+ --0-elv-y2: calc(var(--0-elv-x1) * 1.5);
125
+ --0-r-base: 4px;
126
+ --0-r-tl: 0px;
127
+ --0-r-tr: 0px;
128
+ --0-r-bl: 0px;
129
+ --0-r-basic: calc(var(--0-s-m, 42px) * var(--0-s-density, 1));
130
+ --0-r-br: 0px;
131
+ --0-display-xxs: 320px;
132
+ --0-display-xs: 480px;
133
+ --0-display-sm: 640px;
134
+ --0-display-md: 832px;
135
+ --0-display-lg: 1024px;
136
+ --0-display-hd: 1280px;
137
+ --0-display-xl: 1440px;
138
+ --0-display-xxl: 1680px;
139
+ --0-display-fhd: 1920px;
140
+ --0-display-qhd: 2560px;
141
+ --0-display-uhd: 3840px;
142
+ }
143
+ .theme-default.theme_light {
144
+ color-scheme: light;
145
+ }
146
+ .theme-default.theme_light {
147
+ /* light additions */
148
+ --0-elv-x1: 1px;
149
+ --0-elv-y1: calc(var(--0-elv-x1) * 3);
150
+ --0-elv-x2: calc(var(--0-elv-x1) * 1.5);
151
+ --0-elv-y2: calc(var(--0-elv-x1) * 1.5);
152
+ --0-r-base: 4px;
153
+ --0-r-tl: 0px;
154
+ --0-r-tr: 0px;
155
+ --0-r-bl: 0px;
156
+ --0-r-basic: calc(var(--0-s-m, 42px) * var(--0-s-density, 1));
157
+ --0-r-br: 0px;
158
+ --0-display-xxs: 320px;
159
+ --0-display-xs: 480px;
160
+ --0-display-sm: 640px;
161
+ --0-display-md: 832px;
162
+ --0-display-lg: 1024px;
163
+ --0-display-hd: 1280px;
164
+ --0-display-xl: 1440px;
165
+ --0-display-xxl: 1680px;
166
+ --0-display-fhd: 1920px;
167
+ --0-display-qhd: 2560px;
168
+ --0-display-uhd: 3840px;
169
+ }
170
+ .si_bce5 {
171
+ --0-s: var(--0-s-xxxs);
172
+ }
173
+
174
+ .si_87d4 {
175
+ --0-s: var(--0-s-xxs);
176
+ }
177
+
178
+ .si_0820 {
179
+ --0-s: var(--0-s-xs);
180
+ }
181
+
182
+ .si_9329 {
183
+ --0-s: var(--0-s-s);
184
+ }
185
+
186
+ .si_96e7 {
187
+ --0-s: var(--0-s-m);
188
+ }
189
+
190
+ .si_05f9 {
191
+ --0-s: var(--0-s-l);
192
+ }
193
+
194
+ .si_81de {
195
+ --0-s: var(--0-s-xl);
196
+ }
197
+
198
+ .si_d16b {
199
+ --0-s: var(--0-s-xxl);
200
+ }
201
+
202
+ .si_5136 {
203
+ --0-s: var(--0-s-xxxl);
204
+ }
205
+
206
+ .si_e681 {
207
+ --0-s: var(--0-s-custom);
208
+ }
209
+ .co_ca8c { /* slot marker */ }
210
+ .fi_8a2f { /* slot marker */ }
211
+ .gr_9658 { /* slot marker */ }
212
+ .c-_de6a { --0-c-cur-v: var(--0-c-foreground-v); }
213
+ .f-_5fa1 { --0-f-cur-v: var(--0-c-foreground-v); }
214
+ .c-_ce07 { --0-c-cur-v: var(--0-c-background-v); }
215
+ .f-_e81f { --0-f-cur-v: var(--0-c-background-v); }
216
+ .c-_a658 { --0-c-cur-v: var(--0-c-success-v); }
217
+ .f-_dff2 { --0-f-cur-v: var(--0-c-success-v); }
218
+ .c-_fc30 { --0-c-cur-v: var(--0-c-error-v); }
219
+ .f-_3225 { --0-f-cur-v: var(--0-c-error-v); }
220
+ .c-_8df9 { --0-c-cur-v: var(--0-c-warning-v); }
221
+ .f-_a3e0 { --0-f-cur-v: var(--0-c-warning-v); }
222
+ .c-_aee2 { --0-c-cur-v: var(--0-c-highlight-v); }
223
+ .f-_2eee { --0-f-cur-v: var(--0-c-highlight-v); }
224
+ .c-_5fb9 { --0-c-cur-v: var(--0-c-white-v); }
225
+ .f-_cdea { --0-f-cur-v: var(--0-c-white-v); }
226
+ .c-_7152 { --0-c-cur-v: var(--0-c-black-v); }
227
+ .f-_79ae { --0-f-cur-v: var(--0-c-black-v); }
228
+ .ho_6d01:hover { --0-c-cur-v: var(--0-c-foreground-v); }
229
+ .ho_0cd4:hover { --0-f-cur-v: var(--0-c-foreground-v); }
230
+ .ho_79ab:hover { --0-c-cur-v: var(--0-c-background-v); }
231
+ .ho_4f78:hover { --0-f-cur-v: var(--0-c-background-v); }
232
+ .ho_76f1:hover { --0-c-cur-v: var(--0-c-success-v); }
233
+ .ho_efc6:hover { --0-f-cur-v: var(--0-c-success-v); }
234
+ .ho_e222:hover { --0-c-cur-v: var(--0-c-error-v); }
235
+ .ho_97b9:hover { --0-f-cur-v: var(--0-c-error-v); }
236
+ .ho_dfc9:hover { --0-c-cur-v: var(--0-c-warning-v); }
237
+ .ho_26ec:hover { --0-f-cur-v: var(--0-c-warning-v); }
238
+ .ho_4d77:hover { --0-c-cur-v: var(--0-c-highlight-v); }
239
+ .ho_a549:hover { --0-f-cur-v: var(--0-c-highlight-v); }
240
+ .ho_dc37:hover { --0-c-cur-v: var(--0-c-white-v); }
241
+ .ho_5d42:hover { --0-f-cur-v: var(--0-c-white-v); }
242
+ .ho_a083:hover { --0-c-cur-v: var(--0-c-black-v); }
243
+ .ho_3d85:hover { --0-f-cur-v: var(--0-c-black-v); }
244
+ .ac_5e55:active { --0-c-cur-v: var(--0-c-foreground-v); }
245
+ .ac_1048:active { --0-f-cur-v: var(--0-c-foreground-v); }
246
+ .ac_388f:active { --0-c-cur-v: var(--0-c-background-v); }
247
+ .ac_09ef:active { --0-f-cur-v: var(--0-c-background-v); }
248
+ .ac_102d:active { --0-c-cur-v: var(--0-c-success-v); }
249
+ .ac_56a2:active { --0-f-cur-v: var(--0-c-success-v); }
250
+ .ac_5dd0:active { --0-c-cur-v: var(--0-c-error-v); }
251
+ .ac_c12d:active { --0-f-cur-v: var(--0-c-error-v); }
252
+ .ac_577f:active { --0-c-cur-v: var(--0-c-warning-v); }
253
+ .ac_6fcd:active { --0-f-cur-v: var(--0-c-warning-v); }
254
+ .ac_1c74:active { --0-c-cur-v: var(--0-c-highlight-v); }
255
+ .ac_af14:active { --0-f-cur-v: var(--0-c-highlight-v); }
256
+ .ac_c7bb:active { --0-c-cur-v: var(--0-c-white-v); }
257
+ .ac_c65d:active { --0-f-cur-v: var(--0-c-white-v); }
258
+ .ac_e06b:active { --0-c-cur-v: var(--0-c-black-v); }
259
+ .ac_0306:active { --0-f-cur-v: var(--0-c-black-v); }
260
+ .fo_5308:focus { --0-c-cur-v: var(--0-c-foreground-v); }
261
+ .fo_00f9:focus { --0-f-cur-v: var(--0-c-foreground-v); }
262
+ .fo_9050:focus { --0-c-cur-v: var(--0-c-background-v); }
263
+ .fo_c056:focus { --0-f-cur-v: var(--0-c-background-v); }
264
+ .fo_ccf3:focus { --0-c-cur-v: var(--0-c-success-v); }
265
+ .fo_3238:focus { --0-f-cur-v: var(--0-c-success-v); }
266
+ .fo_f4a6:focus { --0-c-cur-v: var(--0-c-error-v); }
267
+ .fo_e4ca:focus { --0-f-cur-v: var(--0-c-error-v); }
268
+ .fo_6061:focus { --0-c-cur-v: var(--0-c-warning-v); }
269
+ .fo_9e7b:focus { --0-f-cur-v: var(--0-c-warning-v); }
270
+ .fo_6516:focus { --0-c-cur-v: var(--0-c-highlight-v); }
271
+ .fo_8a7c:focus { --0-f-cur-v: var(--0-c-highlight-v); }
272
+ .fo_5106:focus { --0-c-cur-v: var(--0-c-white-v); }
273
+ .fo_273e:focus { --0-f-cur-v: var(--0-c-white-v); }
274
+ .fo_0137:focus { --0-c-cur-v: var(--0-c-black-v); }
275
+ .fo_ffe7:focus { --0-f-cur-v: var(--0-c-black-v); }
276
+ .theme_light .li_18d2 { --0-c-cur-v: var(--0-c-foreground-v); }
277
+ .theme_light .li_2227 { --0-f-cur-v: var(--0-c-foreground-v); }
278
+ .theme_light .li_2f22 { --0-c-cur-v: var(--0-c-background-v); }
279
+ .theme_light .li_2a6e { --0-f-cur-v: var(--0-c-background-v); }
280
+ .theme_light .li_2dd0 { --0-c-cur-v: var(--0-c-success-v); }
281
+ .theme_light .li_8612 { --0-f-cur-v: var(--0-c-success-v); }
282
+ .theme_light .li_ba19 { --0-c-cur-v: var(--0-c-error-v); }
283
+ .theme_light .li_ef16 { --0-f-cur-v: var(--0-c-error-v); }
284
+ .theme_light .li_27d4 { --0-c-cur-v: var(--0-c-warning-v); }
285
+ .theme_light .li_416c { --0-f-cur-v: var(--0-c-warning-v); }
286
+ .theme_light .li_2803 { --0-c-cur-v: var(--0-c-highlight-v); }
287
+ .theme_light .li_2c0d { --0-f-cur-v: var(--0-c-highlight-v); }
288
+ .theme_light .li_ad56 { --0-c-cur-v: var(--0-c-white-v); }
289
+ .theme_light .li_c017 { --0-f-cur-v: var(--0-c-white-v); }
290
+ .theme_light .li_cda9 { --0-c-cur-v: var(--0-c-black-v); }
291
+ .theme_light .li_97f7 { --0-f-cur-v: var(--0-c-black-v); }
292
+ .theme_light .li_d8b3:hover { --0-c-cur-v: var(--0-c-foreground-v); }
293
+ .theme_light .li_3e44:hover { --0-f-cur-v: var(--0-c-foreground-v); }
294
+ .theme_light .li_de88:hover { --0-c-cur-v: var(--0-c-background-v); }
295
+ .theme_light .li_726a:hover { --0-f-cur-v: var(--0-c-background-v); }
296
+ .theme_light .li_e679:hover { --0-c-cur-v: var(--0-c-success-v); }
297
+ .theme_light .li_0435:hover { --0-f-cur-v: var(--0-c-success-v); }
298
+ .theme_light .li_82ba:hover { --0-c-cur-v: var(--0-c-error-v); }
299
+ .theme_light .li_3a1e:hover { --0-f-cur-v: var(--0-c-error-v); }
300
+ .theme_light .li_60da:hover { --0-c-cur-v: var(--0-c-warning-v); }
301
+ .theme_light .li_4256:hover { --0-f-cur-v: var(--0-c-warning-v); }
302
+ .theme_light .li_38b1:hover { --0-c-cur-v: var(--0-c-highlight-v); }
303
+ .theme_light .li_22f2:hover { --0-f-cur-v: var(--0-c-highlight-v); }
304
+ .theme_light .li_dd04:hover { --0-c-cur-v: var(--0-c-white-v); }
305
+ .theme_light .li_1494:hover { --0-f-cur-v: var(--0-c-white-v); }
306
+ .theme_light .li_3cbb:hover { --0-c-cur-v: var(--0-c-black-v); }
307
+ .theme_light .li_fe43:hover { --0-f-cur-v: var(--0-c-black-v); }
308
+ .theme_light .li_a56a:active { --0-c-cur-v: var(--0-c-foreground-v); }
309
+ .theme_light .li_e7c9:active { --0-f-cur-v: var(--0-c-foreground-v); }
310
+ .theme_light .li_0234:active { --0-c-cur-v: var(--0-c-background-v); }
311
+ .theme_light .li_d0a3:active { --0-f-cur-v: var(--0-c-background-v); }
312
+ .theme_light .li_671c:active { --0-c-cur-v: var(--0-c-success-v); }
313
+ .theme_light .li_7738:active { --0-f-cur-v: var(--0-c-success-v); }
314
+ .theme_light .li_2720:active { --0-c-cur-v: var(--0-c-error-v); }
315
+ .theme_light .li_92c6:active { --0-f-cur-v: var(--0-c-error-v); }
316
+ .theme_light .li_16f9:active { --0-c-cur-v: var(--0-c-warning-v); }
317
+ .theme_light .li_4a2c:active { --0-f-cur-v: var(--0-c-warning-v); }
318
+ .theme_light .li_131c:active { --0-c-cur-v: var(--0-c-highlight-v); }
319
+ .theme_light .li_c03a:active { --0-f-cur-v: var(--0-c-highlight-v); }
320
+ .theme_light .li_7231:active { --0-c-cur-v: var(--0-c-white-v); }
321
+ .theme_light .li_4aa0:active { --0-f-cur-v: var(--0-c-white-v); }
322
+ .theme_light .li_3be4:active { --0-c-cur-v: var(--0-c-black-v); }
323
+ .theme_light .li_9bdf:active { --0-f-cur-v: var(--0-c-black-v); }
324
+ .theme_light .li_c4fa:focus { --0-c-cur-v: var(--0-c-foreground-v); }
325
+ .theme_light .li_6583:focus { --0-f-cur-v: var(--0-c-foreground-v); }
326
+ .theme_light .li_ccac:focus { --0-c-cur-v: var(--0-c-background-v); }
327
+ .theme_light .li_fd67:focus { --0-f-cur-v: var(--0-c-background-v); }
328
+ .theme_light .li_fd2c:focus { --0-c-cur-v: var(--0-c-success-v); }
329
+ .theme_light .li_a33d:focus { --0-f-cur-v: var(--0-c-success-v); }
330
+ .theme_light .li_3f18:focus { --0-c-cur-v: var(--0-c-error-v); }
331
+ .theme_light .li_0df7:focus { --0-f-cur-v: var(--0-c-error-v); }
332
+ .theme_light .li_bade:focus { --0-c-cur-v: var(--0-c-warning-v); }
333
+ .theme_light .li_0b63:focus { --0-f-cur-v: var(--0-c-warning-v); }
334
+ .theme_light .li_8766:focus { --0-c-cur-v: var(--0-c-highlight-v); }
335
+ .theme_light .li_d07d:focus { --0-f-cur-v: var(--0-c-highlight-v); }
336
+ .theme_light .li_a261:focus { --0-c-cur-v: var(--0-c-white-v); }
337
+ .theme_light .li_6e50:focus { --0-f-cur-v: var(--0-c-white-v); }
338
+ .theme_light .li_6c2c:focus { --0-c-cur-v: var(--0-c-black-v); }
339
+ .theme_light .li_f0a8:focus { --0-f-cur-v: var(--0-c-black-v); }
340
+ .theme_dark .da_9fba { --0-c-cur-v: var(--0-c-foreground-v); }
341
+ .theme_dark .da_d095 { --0-f-cur-v: var(--0-c-foreground-v); }
342
+ .theme_dark .da_5eb6 { --0-c-cur-v: var(--0-c-background-v); }
343
+ .theme_dark .da_0e5b { --0-f-cur-v: var(--0-c-background-v); }
344
+ .theme_dark .da_9df8 { --0-c-cur-v: var(--0-c-success-v); }
345
+ .theme_dark .da_98a5 { --0-f-cur-v: var(--0-c-success-v); }
346
+ .theme_dark .da_3dd0 { --0-c-cur-v: var(--0-c-error-v); }
347
+ .theme_dark .da_53f8 { --0-f-cur-v: var(--0-c-error-v); }
348
+ .theme_dark .da_f047 { --0-c-cur-v: var(--0-c-warning-v); }
349
+ .theme_dark .da_d022 { --0-f-cur-v: var(--0-c-warning-v); }
350
+ .theme_dark .da_f389 { --0-c-cur-v: var(--0-c-highlight-v); }
351
+ .theme_dark .da_d116 { --0-f-cur-v: var(--0-c-highlight-v); }
352
+ .theme_dark .da_8a89 { --0-c-cur-v: var(--0-c-white-v); }
353
+ .theme_dark .da_948e { --0-f-cur-v: var(--0-c-white-v); }
354
+ .theme_dark .da_06e5 { --0-c-cur-v: var(--0-c-black-v); }
355
+ .theme_dark .da_8723 { --0-f-cur-v: var(--0-c-black-v); }
356
+ .theme_dark .da_77d6:hover { --0-c-cur-v: var(--0-c-foreground-v); }
357
+ .theme_dark .da_f6af:hover { --0-f-cur-v: var(--0-c-foreground-v); }
358
+ .theme_dark .da_9f13:hover { --0-c-cur-v: var(--0-c-background-v); }
359
+ .theme_dark .da_ada2:hover { --0-f-cur-v: var(--0-c-background-v); }
360
+ .theme_dark .da_54c0:hover { --0-c-cur-v: var(--0-c-success-v); }
361
+ .theme_dark .da_e571:hover { --0-f-cur-v: var(--0-c-success-v); }
362
+ .theme_dark .da_077e:hover { --0-c-cur-v: var(--0-c-error-v); }
363
+ .theme_dark .da_da6f:hover { --0-f-cur-v: var(--0-c-error-v); }
364
+ .theme_dark .da_0783:hover { --0-c-cur-v: var(--0-c-warning-v); }
365
+ .theme_dark .da_42be:hover { --0-f-cur-v: var(--0-c-warning-v); }
366
+ .theme_dark .da_a8f1:hover { --0-c-cur-v: var(--0-c-highlight-v); }
367
+ .theme_dark .da_b996:hover { --0-f-cur-v: var(--0-c-highlight-v); }
368
+ .theme_dark .da_75a0:hover { --0-c-cur-v: var(--0-c-white-v); }
369
+ .theme_dark .da_6351:hover { --0-f-cur-v: var(--0-c-white-v); }
370
+ .theme_dark .da_5558:hover { --0-c-cur-v: var(--0-c-black-v); }
371
+ .theme_dark .da_0126:hover { --0-f-cur-v: var(--0-c-black-v); }
372
+ .theme_dark .da_29a7:active { --0-c-cur-v: var(--0-c-foreground-v); }
373
+ .theme_dark .da_afcf:active { --0-f-cur-v: var(--0-c-foreground-v); }
374
+ .theme_dark .da_65a6:active { --0-c-cur-v: var(--0-c-background-v); }
375
+ .theme_dark .da_73b2:active { --0-f-cur-v: var(--0-c-background-v); }
376
+ .theme_dark .da_b148:active { --0-c-cur-v: var(--0-c-success-v); }
377
+ .theme_dark .da_ba0d:active { --0-f-cur-v: var(--0-c-success-v); }
378
+ .theme_dark .da_7eb3:active { --0-c-cur-v: var(--0-c-error-v); }
379
+ .theme_dark .da_eb46:active { --0-f-cur-v: var(--0-c-error-v); }
380
+ .theme_dark .da_4bec:active { --0-c-cur-v: var(--0-c-warning-v); }
381
+ .theme_dark .da_53e3:active { --0-f-cur-v: var(--0-c-warning-v); }
382
+ .theme_dark .da_8430:active { --0-c-cur-v: var(--0-c-highlight-v); }
383
+ .theme_dark .da_f509:active { --0-f-cur-v: var(--0-c-highlight-v); }
384
+ .theme_dark .da_9d88:active { --0-c-cur-v: var(--0-c-white-v); }
385
+ .theme_dark .da_b0a0:active { --0-f-cur-v: var(--0-c-white-v); }
386
+ .theme_dark .da_6916:active { --0-c-cur-v: var(--0-c-black-v); }
387
+ .theme_dark .da_d4e2:active { --0-f-cur-v: var(--0-c-black-v); }
388
+ .theme_dark .da_512b:focus { --0-c-cur-v: var(--0-c-foreground-v); }
389
+ .theme_dark .da_c398:focus { --0-f-cur-v: var(--0-c-foreground-v); }
390
+ .theme_dark .da_3c97:focus { --0-c-cur-v: var(--0-c-background-v); }
391
+ .theme_dark .da_cb01:focus { --0-f-cur-v: var(--0-c-background-v); }
392
+ .theme_dark .da_8f58:focus { --0-c-cur-v: var(--0-c-success-v); }
393
+ .theme_dark .da_4144:focus { --0-f-cur-v: var(--0-c-success-v); }
394
+ .theme_dark .da_aa03:focus { --0-c-cur-v: var(--0-c-error-v); }
395
+ .theme_dark .da_b020:focus { --0-f-cur-v: var(--0-c-error-v); }
396
+ .theme_dark .da_62fa:focus { --0-c-cur-v: var(--0-c-warning-v); }
397
+ .theme_dark .da_6ee4:focus { --0-f-cur-v: var(--0-c-warning-v); }
398
+ .theme_dark .da_3896:focus { --0-c-cur-v: var(--0-c-highlight-v); }
399
+ .theme_dark .da_82c3:focus { --0-f-cur-v: var(--0-c-highlight-v); }
400
+ .theme_dark .da_5cf1:focus { --0-c-cur-v: var(--0-c-white-v); }
401
+ .theme_dark .da_39b9:focus { --0-f-cur-v: var(--0-c-white-v); }
402
+ .theme_dark .da_99e7:focus { --0-c-cur-v: var(--0-c-black-v); }
403
+ .theme_dark .da_07f1:focus { --0-f-cur-v: var(--0-c-black-v); }
404
+ .rF_7ee9 {
405
+ --0-r-tl: var(--0c-r-full, var(--0-r-full));
406
+ --0-r-tr: var(--0c-r-full, var(--0-r-full));
407
+ --0-r-bl: var(--0c-r-full, var(--0-r-full));
408
+ --0-r-br: var(--0c-r-full, var(--0-r-full));
409
+ }
410
+
411
+ .rS_e0da {
412
+ --0-r-tl: var(--0c-r-smooth, var(--0-r-smooth));
413
+ --0-r-tr: var(--0c-r-smooth, var(--0-r-smooth));
414
+ --0-r-bl: var(--0c-r-smooth, var(--0-r-smooth));
415
+ --0-r-br: var(--0c-r-smooth, var(--0-r-smooth));
416
+ }
417
+
418
+ .rB_2f08 {
419
+ --0-r-tl: var(--0c-r-basic, var(--0-r-basic));
420
+ --0-r-tr: var(--0c-r-basic, var(--0-r-basic));
421
+ --0-r-bl: var(--0c-r-basic, var(--0-r-basic));
422
+ --0-r-br: var(--0c-r-basic, var(--0-r-basic));
423
+ }
424
+
425
+ .rH_7415 {
426
+ --0-r-tl: var(--0c-r-hard, var(--0-r-hard));
427
+ --0-r-tr: var(--0c-r-hard, var(--0-r-hard));
428
+ --0-r-bl: var(--0c-r-hard, var(--0-r-hard));
429
+ --0-r-br: var(--0c-r-hard, var(--0-r-hard));
430
+ }
431
+
432
+ .rN_2296 {
433
+ --0-r-tl: var(--0c-r-none, var(--0-r-none));
434
+ --0-r-tr: var(--0c-r-none, var(--0-r-none));
435
+ --0-r-bl: var(--0c-r-none, var(--0-r-none));
436
+ --0-r-br: var(--0c-r-none, var(--0-r-none));
437
+ }
438
+
439
+ .ro_0102 {
440
+ --0-r-tl: var(--0c-r-basic, var(--0-r-basic));
441
+ --0-r-tr: var(--0c-r-basic, var(--0-r-basic));
442
+ --0-r-bl: var(--0c-r-basic, var(--0-r-basic));
443
+ --0-r-br: var(--0c-r-basic, var(--0-r-basic));
444
+ }
445
+
446
+ .rl_52df {
447
+ --0-r-tl: var(--0c-r-basic, var(--0-r-basic));
448
+ --0-r-bl: var(--0c-r-basic, var(--0-r-basic));
449
+ }
450
+
451
+ .rr_597c {
452
+ --0-r-tr: var(--0c-r-basic, var(--0-r-basic));
453
+ --0-r-br: var(--0c-r-basic, var(--0-r-basic));
454
+ }
455
+
456
+ .rt_cdff {
457
+ --0-r-tl: var(--0c-r-basic, var(--0-r-basic));
458
+ --0-r-tr: var(--0c-r-basic, var(--0-r-basic));
459
+ }
460
+
461
+ .rb_64f2 {
462
+ --0-r-bl: var(--0c-r-basic, var(--0-r-basic));
463
+ --0-r-br: var(--0c-r-basic, var(--0-r-basic));
464
+ }
465
+
466
+ .tl_e660 {
467
+ --0-r-tl: var(--0c-r-basic, var(--0-r-basic));
468
+ }
469
+
470
+ .tr_7817 {
471
+ --0-r-tr: var(--0c-r-basic, var(--0-r-basic));
472
+ }
473
+
474
+ .bl_29d9 {
475
+ --0-r-bl: var(--0c-r-basic, var(--0-r-basic));
476
+ }
477
+
478
+ .br_8850 {
479
+ --0-r-br: var(--0c-r-basic, var(--0-r-basic));
480
+ }
481
+ .ba_d486 {
482
+ backdrop-filter: var(--0-backdrop);
483
+ -webkit-backdrop-filter: var(--0-backdrop);
484
+ will-change: backdrop-filter;
485
+ }
486
+ .el_b4e0 {
487
+ box-shadow:
488
+ 0 0 0 1px rgba(255 255 255 / .1),
489
+ var(--0-elv-i, ) 0px 1px 1px rgba(var(--0-elv-c, 0 0 0) / 0.1),
490
+ var(--0-elv-i, ) var(--0-elv-x1, 0px) var(--0-elv-y1, 0px) rgba(var(--0-elv-c, 0 0 0) / 0.095),
491
+ var(--0-elv-i, ) var(--0-elv-x2, 0px) var(--0-elv-y2, 0px) rgba(var(--0-elv-c, 0 0 0) / 0.13);
492
+ }
493
+ .el_5e0f {
494
+ --0-elv-x1: 1px;
495
+ }
496
+ .el_5995 {
497
+ --0-elv-x1: 1px;
498
+ --0-elv-i: inset;
499
+ }
500
+ .el_fb8f {
501
+ --0-elv-x1: 2px;
502
+ }
503
+ .el_af23 {
504
+ --0-elv-x1: 2px;
505
+ --0-elv-i: inset;
506
+ }
507
+ .el_8867 {
508
+ --0-elv-x1: 3px;
509
+ }
510
+ .el_6c3d {
511
+ --0-elv-x1: 3px;
512
+ --0-elv-i: inset;
513
+ }
514
+ .el_4d5e {
515
+ --0-elv-x1: 4px;
516
+ }
517
+ .el_a211 {
518
+ --0-elv-x1: 4px;
519
+ --0-elv-i: inset;
520
+ }
521
+ .el_1ab1 {
522
+ --0-elv-x1: 5px;
523
+ }
524
+ .el_2df9 {
525
+ --0-elv-x1: 5px;
526
+ --0-elv-i: inset;
527
+ }
528
+ .el_56bd {
529
+ --0-elv-x1: 6px;
530
+ }
531
+ .el_b036 {
532
+ --0-elv-x1: 6px;
533
+ --0-elv-i: inset;
534
+ }
535
+ .el_61ea {
536
+ --0-elv-x1: 7px;
537
+ }
538
+ .el_8003 {
539
+ --0-elv-x1: 7px;
540
+ --0-elv-i: inset;
541
+ }
542
+ .el_8924 {
543
+ --0-elv-x1: 8px;
544
+ }
545
+ .el_7bc0 {
546
+ --0-elv-x1: 8px;
547
+ --0-elv-i: inset;
548
+ }
549
+ .el_1bb1 {
550
+ --0-elv-x1: 9px;
551
+ }
552
+ .el_734f {
553
+ --0-elv-x1: 9px;
554
+ --0-elv-i: inset;
555
+ }
556
+ .el_40d4 {
557
+ --0-elv-x1: 10px;
558
+ }
559
+ .el_ef94 {
560
+ --0-elv-x1: 10px;
561
+ --0-elv-i: inset;
562
+ }
563
+ .el_a016 {
564
+ --0-elv-x1: 11px;
565
+ }
566
+ .el_fcd8 {
567
+ --0-elv-x1: 11px;
568
+ --0-elv-i: inset;
569
+ }
570
+ .el_1c39 {
571
+ --0-elv-x1: 12px;
572
+ }
573
+ .el_ba0c {
574
+ --0-elv-x1: 12px;
575
+ --0-elv-i: inset;
576
+ }
577
+ .el_5602 {
578
+ --0-elv-x1: 13px;
579
+ }
580
+ .el_d306 {
581
+ --0-elv-x1: 13px;
582
+ --0-elv-i: inset;
583
+ }
584
+ .el_3f15 {
585
+ --0-elv-x1: 14px;
586
+ }
587
+ .el_ece8 {
588
+ --0-elv-x1: 14px;
589
+ --0-elv-i: inset;
590
+ }
591
+ .el_3130 {
592
+ --0-elv-x1: 15px;
593
+ }
594
+ .el_5599 {
595
+ --0-elv-x1: 15px;
596
+ --0-elv-i: inset;
597
+ }
598
+ .el_c651 {
599
+ --0-elv-x1: 16px;
600
+ }
601
+ .el_f2d2 {
602
+ --0-elv-x1: 16px;
603
+ --0-elv-i: inset;
604
+ }
605
+ .di_17eb {
606
+ opacity: var(--0-dis-o, 0.5);
607
+ }
608
+ .di_e228 { /* point the component slot at the theme var */ }
609
+ .fw_f5d2 { font-weight: 100 }
610
+ .fw_25c0 { font-weight: 200 }
611
+ .fw_de2b { font-weight: 300 }
612
+ .fw_a02f { font-weight: 400 }
613
+ .fw_c057 { font-weight: 500 }
614
+ .fw_aee5 { font-weight: 600 }
615
+ .fw_3207 { font-weight: 700 }
616
+ .fw_d808 { font-weight: 800 }
617
+ .fw_bb66 { font-weight: 900 }
618
+
619
+ .tt_c60d { text-transform: uppercase }
620
+ .tt_56d5 { text-transform: lowercase }
621
+ .tt_ce2a { text-transform: capitalize }
622
+ .tt_1ff4 { text-transform: none }
623
+ .tt_59a5 { text-transform: full-width }
624
+ .tt_50f0 { text-transform: full-size-kana }
625
+
626
+ .ta_c49e { text-align: start }
627
+ .ta_e1d2 { text-align: end }
628
+ .ta_d725 { text-align: center }
629
+ .ta_3342 { text-align: left }
630
+ .ta_e5b8 { text-align: right }
631
+ .ta_010c { text-align: justify }
632
+ .ta_0241 { text-align: match-parent }
633
+
634
+ .to_a88e { text-orientation: mixed }
635
+ .to_4919 { text-orientation: sideways }
636
+ .to_2640 { text-orientation: sideways-right }
637
+ .to_de51 { text-orientation: use-glyph-orientation }
638
+ .to_35e5 { text-orientation: upright }
639
+
640
+ .tw_83bf { text-wrap: nowrap }
641
+ .tw_d03a { text-wrap: wrap }
642
+ .tw_4fdb { text-wrap: balance }
643
+ .tw_f5a3 { text-wrap: pretty }
644
+ .tw_698e { text-wrap: stable }
645
+ h1, h2, h3, h4, h5, h6 {
646
+ --0-typo-step: 0.25rem; /* шаг (длина) */
647
+ font-size: calc(var(--0-typo-h-fs, var(--0-typo-fs, 1rem)) + var(--0-typo-step) * var(--0-typo-x));
648
+ line-height: calc(1 + 1 / var(--0-typo-x));
649
+
650
+ }
651
+ h1 { --0-typo-x: 6; }
652
+ h2 { --0-typo-x: 5; }
653
+ h3 { --0-typo-x: 4; }
654
+ h4 { --0-typo-x: 3; }
655
+ h5 { --0-typo-x: 2; }
656
+ h6 { --0-typo-x: 1; }
657
+ }
@@ -0,0 +1,17 @@
1
+ @mixin use {
2
+ --0-d-superfast: 40ms;
3
+ --0-d-faster: 75ms;
4
+ --0-d-fast: 90ms;
5
+ --0-d-gently: 144ms;
6
+ --0-d-basic: 200ms;
7
+ --0-d-slow: 400ms;
8
+ --0-d-superslow: 1000ms;
9
+ }
10
+
11
+ $duration-superfast: var(--0-d-superfast);
12
+ $duration-faster: var(--0-d-faster);
13
+ $duration-fast: var(--0-d-fast);
14
+ $duration-gently: var(--0-d-gently);
15
+ $duration-basic: var(--0-d-basic);
16
+ $duration-slow: var(--0-d-slow);
17
+ $duration-superslow: var(--0-d-superslow);
@@ -0,0 +1,18 @@
1
+ duration.scss
2
+ is.scss
3
+ theme.scss
4
+
5
+ Internal SCSS utilities shared by components and contracts - not prop
6
+ contracts themselves. The contracts (size/color/round/backdrop scss + marker
7
+ classes + prop typings) live in ../contracts.
8
+
9
+ Distilled into dist/ at build (same pipeline as the contract scss), so
10
+ consumers import them exactly like a contract:
11
+ @use '@ui0/theme/is' as is;
12
+ @use '@ui0/theme/theme'; // aggregator: color + isDark/isLight
13
+
14
+ Inside this package the same paths resolve against src/ via the aliases in
15
+ vite.config.ts (themeScssAliases).
16
+
17
+ --0- - global namespace
18
+ --0c- private namespace