@yourdash/uikit 1.0.35 → 1.0.36

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,361 @@
1
+ /*!
2
+ * Copyright ©2024 Ewsgit<https://github.com/ewsgit> and YourDash<https://github.com/yourdash> contributors.
3
+ * YourDash is licensed under the MIT License. (https://ewsgit.mit-license.org)
4
+ */
5
+
6
+ @use "themeValues" as *;
7
+
8
+ .theme {
9
+ overflow-x: hidden;
10
+ overflow-y: auto;
11
+ height: 100%;
12
+
13
+ background: var(#{$theme+$background});
14
+ #{$theme}-author: "Ewsgit";
15
+ #{$theme}-name: "YourDash Classic Dark";
16
+ #{$theme}-version: "0.0.1";
17
+
18
+ ::-webkit-scrollbar {
19
+ width: var(#{$theme+$scrollbar+$width});
20
+ border-radius: 0;
21
+ }
22
+
23
+ ::-webkit-scrollbar-thumb {
24
+ border-radius: var(#{$theme+$scrollbar+$radius});
25
+ }
26
+ }
27
+
28
+ .level0 {
29
+ color: var(#{$theme+$color});
30
+
31
+ #{$theme+$color}: #ffffff;
32
+ #{$theme+$subcolor}: #bbbbbb;
33
+ #{$theme+$background}: #222222;
34
+ #{$theme+$accent}: #768ce7;
35
+ #{$theme+$border}: 1px solid #555555;
36
+ #{$theme+$radius}: 1rem;
37
+ #{$theme+$padding}: 1rem;
38
+ #{$theme+$gap}: 0.5rem;
39
+ #{$theme+$transition}: all 200ms ease-in-out;
40
+ #{$theme+$transition+$transition}: 200ms ease-in-out;
41
+ #{$theme+$separator+$size}: 1px;
42
+ #{$theme+$separator+$color}: #444444;
43
+ #{$theme+$scrollbar+$width}: 0.4rem;
44
+ #{$theme+$scrollbar+$radius}: 0.1rem;
45
+
46
+ // heading
47
+ #{$theme+$heading+$h1+$weight}: 900;
48
+ #{$theme+$heading+$h1+$size}: 3rem;
49
+ #{$theme+$heading+$h2+$weight}: 700;
50
+ #{$theme+$heading+$h2+$size}: 2rem;
51
+ #{$theme+$heading+$h3+$weight}: 600;
52
+ #{$theme+$heading+$h3+$size}: 1.5rem;
53
+ #{$theme+$heading+$h4+$weight}: 500;
54
+ #{$theme+$heading+$h4+$size}: 1.25rem;
55
+ #{$theme+$heading+$h5+$weight}: 500;
56
+ #{$theme+$heading+$h5+$size}: 1rem;
57
+ #{$theme+$heading+$h6+$weight}: 500;
58
+ #{$theme+$heading+$h6+$size}: 0.875rem;
59
+
60
+ // input
61
+ #{$theme+$input+$color}: #ffffff;
62
+ #{$theme+$input+$background}: #222222;
63
+ #{$theme+$input+$border}: 1px solid #444444;
64
+ #{$theme+$input+$radius}: 0.5rem;
65
+ #{$theme+$input+$height}: 2rem;
66
+ #{$theme+$input+$padding+$horizontal}: 0.5rem;
67
+ #{$theme+$input+$transition}: all 0.2s ease-in-out;
68
+ // focus
69
+ #{$theme}#{$input}#{$focus}#{$color}: #ffffff;
70
+ #{$theme}#{$input}#{$focus}#{$background}: #333333;
71
+ #{$theme}#{$input}#{$focus}#{$border}: 1px solid #666666;
72
+
73
+ // button
74
+ #{$theme}#{$button}#{$color}: #ffffff;
75
+ #{$theme}#{$button}#{$background}: #444444;
76
+ #{$theme}#{$button}#{$border}: 1px solid #666666;
77
+ #{$theme}#{$button}#{$font}#{$size}: 0.9rem;
78
+ #{$theme}#{$button}#{$font}#{$weight}: 400;
79
+ #{$theme}#{$button}#{$radius}: 0.5rem;
80
+ #{$theme}#{$button}#{$padding}#{$horizontal}: 0.5rem;
81
+ #{$theme}#{$button}#{$transition}: all 0.2s ease-in-out;
82
+ // hover
83
+ #{$theme}#{$button}#{$hover}#{$color}: #ffffff;
84
+ #{$theme}#{$button}#{$hover}#{$background}: #555555;
85
+ #{$theme}#{$button}#{$hover}#{$border}: 1px solid #666666;
86
+ #{$theme}#{$button}#{$hover}#{$radius}: 0.5rem;
87
+ #{$theme}#{$button}#{$hover}#{$transition}: all 50ms ease-in-out;
88
+ // active
89
+ #{$theme}#{$button}#{$active}#{$color}: #000000;
90
+ #{$theme}#{$button}#{$active}#{$background}: #666666;
91
+ #{$theme}#{$button}#{$active}#{$border}: 1px solid #777777;
92
+ #{$theme}#{$button}#{$active}#{$radius}: 0.5rem;
93
+ #{$theme}#{$button}#{$active}#{$transition}: all 50ms ease-in-out;
94
+
95
+ // text button
96
+ #{$theme+$textbutton+$font+$weight}: 700;
97
+
98
+ // font
99
+ #{$theme}#{$font}#{$family}: Inter;
100
+ #{$theme}#{$font}#{$size}: 0.9rem;
101
+ #{$theme}#{$font}#{$weight}: 400;
102
+
103
+ // header
104
+ #{$theme}#{$header}#{$color}: #ffffff;
105
+ #{$theme}#{$header}#{$font}#{$family}: Inter;
106
+ #{$theme}#{$header}#{$font}#{$size}: 1.2rem;
107
+ #{$theme}#{$header}#{$font}#{$weight}: 700;
108
+ #{$theme}#{$header}#{$padding}#{$vertical}: 1rem;
109
+ #{$theme}#{$header}#{$padding}#{$horizontal}: 0.5rem;
110
+ }
111
+
112
+ .level1 {
113
+ color: var(#{$theme+$color});
114
+
115
+ #{$theme}#{$color}: #ffffff;
116
+ #{$theme}#{$background}: #333333;
117
+ #{$theme}#{$border}: 1px solid #666666;
118
+ #{$theme}#{$accent}: #768ce7;
119
+ #{$theme}#{$radius}: 0.5rem;
120
+ #{$theme}#{$font}#{$family}: Inter;
121
+ #{$theme}#{$font}#{$radius}: 0.9rem;
122
+ #{$theme}#{$font}#{$weight}: 400;
123
+ #{$theme}#{$padding}: 0.75rem;
124
+ #{$theme}#{$gap}: 0.5rem;
125
+ #{$theme}#{$transition}: all 200ms ease-in-out;
126
+ #{$theme}#{$separator}#{$size}: 1px;
127
+ #{$theme}#{$separator}#{$color}: #555555;
128
+
129
+ // heading
130
+ #{$theme}#{$heading}#{$h1}#{$weight}: 800;
131
+ #{$theme}#{$heading}#{$h1}#{$size}: 3rem;
132
+ #{$theme}#{$heading}#{$h2}#{$weight}: 700;
133
+ #{$theme}#{$heading}#{$h2}#{$size}: 2.5rem;
134
+ #{$theme}#{$heading}#{$h3}#{$weight}: 600;
135
+ #{$theme}#{$heading}#{$h3}#{$size}: 2rem;
136
+ #{$theme}#{$heading}#{$h4}#{$weight}: 500;
137
+ #{$theme}#{$heading}#{$h4}#{$size}: 1.5rem;
138
+ #{$theme}#{$heading}#{$h5}#{$weight}: 500;
139
+ #{$theme}#{$heading}#{$h5}#{$size}: 1rem;
140
+ #{$theme}#{$heading}#{$h6}#{$weight}: 500;
141
+ #{$theme}#{$heading}#{$h6}#{$size}: 0.875rem;
142
+
143
+ // input
144
+ #{$theme}#{$input}#{$color}: #ffffff;
145
+ #{$theme}#{$input}#{$background}: #222222;
146
+ #{$theme}#{$input}#{$border}: 1px solid #444444;
147
+ #{$theme}#{$input}#{$radius}: 0.5rem;
148
+ #{$theme}#{$input}#{$height}: 2rem;
149
+ #{$theme}#{$input}#{$padding}#{$horizontal}: 0.5rem;
150
+ #{$theme}#{$input}#{$transition}: all 0.2s ease-in-out;
151
+ // focus
152
+ #{$theme}#{$input}#{$focus}#{$color}: #ffffff;
153
+ #{$theme}#{$input}#{$focus}#{$background}: #333333;
154
+ #{$theme}#{$input}#{$focus}#{$border}: 1px solid #666666;
155
+
156
+ // button
157
+ #{$theme}#{$button}#{$color}: #ffffff;
158
+ #{$theme}#{$button}#{$background}: #444444;
159
+ #{$theme}#{$button}#{$border}: 1px solid #444444;
160
+ #{$theme}#{$button}#{$font}#{$size}: 0.9rem;
161
+ #{$theme}#{$button}#{$font}#{$weight}: 400;
162
+ #{$theme}#{$button}#{$radius}: 0.5rem;
163
+ #{$theme}#{$button}#{$padding}#{$horizontal}: 0.5rem;
164
+ #{$theme}#{$button}#{$transition}: all 0.2s ease-in-out;
165
+ // hover
166
+ #{$theme}#{$button}#{$hover}#{$color}: #ffffff;
167
+ #{$theme}#{$button}#{$hover}#{$background}: #555555;
168
+ #{$theme}#{$button}#{$hover}#{$border}: 1px solid #666666;
169
+ #{$theme}#{$button}#{$hover}#{$radius}: 0.5rem;
170
+ #{$theme}#{$button}#{$hover}#{$transition}: all 50ms ease-in-out;
171
+ // active
172
+ #{$theme}#{$button}#{$active}#{$color}: #000000;
173
+ #{$theme}#{$button}#{$active}#{$background}: #666666;
174
+ #{$theme}#{$button}#{$active}#{$border}: 1px solid #666666;
175
+ #{$theme}#{$button}#{$active}#{$radius}: 0.5rem;
176
+
177
+ // header
178
+ #{$theme}#{$header}#{$color}: #ffffff;
179
+ #{$theme}#{$header}#{$font}#{$family}: Inter;
180
+ #{$theme}#{$header}#{$font}#{$size}: 1.2rem;
181
+ #{$theme}#{$header}#{$font}#{$weight}: 700;
182
+ #{$theme}#{$header}#{$padding}#{$vertical}: 0.5rem;
183
+ #{$theme}#{$header}#{$padding}#{$horizontal}: 0.25rem;
184
+ }
185
+
186
+ .level2 {
187
+ color: var(#{$theme+$color});
188
+
189
+ #{$theme}#{$color}: #ffffff;
190
+ #{$theme}#{$background}: #444444;
191
+ #{$theme}#{$border}: 1px solid #666666;
192
+ #{$theme}#{$accent}: #768ce7;
193
+ #{$theme}#{$radius}: 0.25rem;
194
+ #{$theme}#{$padding}: 0.5rem;
195
+ #{$theme}#{$gap}: 0.75rem;
196
+ #{$theme}#{$transition}: all 200ms ease-in-out;
197
+ #{$theme}#{$separator}#{$size}: 1px;
198
+ #{$theme}#{$separator}#{$color}: #555555;
199
+
200
+ // heading
201
+ #{$theme}#{$heading}#{$h1}#{$weight}: 900;
202
+ #{$theme}#{$heading}#{$h1}#{$size}: 3rem;
203
+ #{$theme}#{$heading}#{$h2}#{$weight}: 700;
204
+ #{$theme}#{$heading}#{$h2}#{$size}: 2rem;
205
+ #{$theme}#{$heading}#{$h3}#{$weight}: 600;
206
+ #{$theme}#{$heading}#{$h3}#{$size}: 1.5rem;
207
+ #{$theme}#{$heading}#{$h4}#{$weight}: 500;
208
+ #{$theme}#{$heading}#{$h4}#{$size}: 1.25rem;
209
+ #{$theme}#{$heading}#{$h5}#{$weight}: 500;
210
+ #{$theme}#{$heading}#{$h5}#{$size}: 1rem;
211
+ #{$theme}#{$heading}#{$h6}#{$weight}: 500;
212
+ #{$theme}#{$heading}#{$h6}#{$size}: 0.875rem;
213
+
214
+ // text button
215
+ #{$theme+$textbutton+$font+$weight}: 700;
216
+
217
+ // font
218
+ #{$theme}#{$font}#{$family}: Inter;
219
+ #{$theme}#{$font}#{$size}: 0.9rem;
220
+ #{$theme}#{$font}#{$weight}: 400;
221
+
222
+ // input
223
+ #{$theme}#{$input}#{$color}: #ffffff;
224
+ #{$theme}#{$input}#{$background}: #222222;
225
+ #{$theme}#{$input}#{$border}: 1px solid #444444;
226
+ #{$theme}#{$input}#{$radius}: 0.5rem;
227
+ #{$theme}#{$input}#{$height}: 2rem;
228
+ #{$theme}#{$input}#{$padding}#{$horizontal}: 0.5rem;
229
+ #{$theme}#{$input}#{$transition}: all 0.2s ease-in-out;
230
+ // focus
231
+ #{$theme}#{$input}#{$focus}#{$color}: #ffffff;
232
+ #{$theme}#{$input}#{$focus}#{$background}: #333333;
233
+ #{$theme}#{$input}#{$focus}#{$border}: 1px solid #666666;
234
+
235
+ // button
236
+ #{$theme}#{$button}#{$color}: #ffffff;
237
+ #{$theme}#{$button}#{$background}: #555555;
238
+ #{$theme}#{$button}#{$border}: 1px solid #666666;
239
+ #{$theme}#{$button}#{$font}#{$family}: Inter;
240
+ #{$theme}#{$button}#{$font}#{$size}: 0.9rem;
241
+ #{$theme}#{$button}#{$font}#{$weight}: 400;
242
+ #{$theme}#{$button}#{$radius}: 0.25rem;
243
+ #{$theme}#{$button}#{$padding}#{$horizontal}: 0.5rem;
244
+ #{$theme}#{$button}#{$transition}: all 0.2s ease-in-out;
245
+ // hover
246
+ #{$theme}#{$button}#{$hover}#{$color}: #ffffff;
247
+ #{$theme}#{$button}#{$hover}#{$background}: #666666;
248
+ #{$theme}#{$button}#{$hover}#{$border}: 1px solid #666666;
249
+ #{$theme}#{$button}#{$hover}#{$radius}: 0.25rem;
250
+ #{$theme}#{$button}#{$hover}#{$transition}: all 50ms ease-in-out;
251
+ // active
252
+ #{$theme}#{$button}#{$active}#{$color}: #000000;
253
+ #{$theme}#{$button}#{$active}#{$background}bg: #666666;
254
+ #{$theme}#{$button}#{$active}#{$border}: 1px solid #666666;
255
+ #{$theme}#{$button}#{$active}#{$radius}: 0.25rem;
256
+
257
+ // header
258
+ #{$theme}#{$header}#{$color}: #ffffff;
259
+ #{$theme}#{$header}#{$font}#{$family}: Inter;
260
+ #{$theme}#{$header}#{$font}#{$size}: 1.2rem;
261
+ #{$theme}#{$header}#{$font}#{$weight}: 700;
262
+ #{$theme}#{$header}#{$padding}#{$vertical}: 0.5rem;
263
+ #{$theme}#{$header}#{$padding}#{$horizontal}: 0.25rem;
264
+ }
265
+
266
+ .level3 {
267
+ color: var(#{$theme+$color});
268
+
269
+ #{$theme}#{$color}: #ffffff;
270
+ #{$theme}#{$background}: #555555;
271
+ #{$theme}#{$border}: 1px solid #666666;
272
+ #{$theme}#{$accent}: #768ce7;
273
+ #{$theme}#{$radius}: 1px;
274
+ #{$theme}#{$padding}: 0.5rem;
275
+ #{$theme}#{$gap}: 1rem;
276
+ #{$theme}#{$transition}: all 200ms ease-in-out;
277
+ #{$theme}#{$separator}#{$size}: 1px;
278
+ #{$theme}#{$separator}#{$color}: #555555;
279
+
280
+ // heading
281
+ #{$theme}#{$heading}#{$h1}#{$weight}: 900;
282
+ #{$theme}#{$heading}#{$h1}#{$size}: 3rem;
283
+ #{$theme}#{$heading}#{$h2}#{$weight}: 700;
284
+ #{$theme}#{$heading}#{$h2}#{$size}: 2rem;
285
+ #{$theme}#{$heading}#{$h3}#{$weight}: 600;
286
+ #{$theme}#{$heading}#{$h3}#{$size}: 1.5rem;
287
+ #{$theme}#{$heading}#{$h4}#{$weight}: 500;
288
+ #{$theme}#{$heading}#{$h4}#{$size}: 1.25rem;
289
+ #{$theme}#{$heading}#{$h5}#{$weight}: 500;
290
+ #{$theme}#{$heading}#{$h5}#{$size}: 1rem;
291
+ #{$theme}#{$heading}#{$h6}#{$weight}: 500;
292
+ #{$theme}#{$heading}#{$h6}#{$size}: 0.875rem;
293
+
294
+ // text button
295
+ #{$theme+$textbutton+$font+$weight}: 700;
296
+
297
+ // font
298
+ #{$theme}#{$family}: Inter;
299
+ #{$theme}#{$size}: 0.9rem;
300
+ #{$theme}#{$weight}: 400;
301
+
302
+ // input
303
+ #{$theme}#{$input}#{$color}: #ffffff;
304
+ #{$theme}#{$input}#{$background}: #222222;
305
+ #{$theme}#{$input}#{$border}: 1px solid #444444;
306
+ #{$theme}#{$input}#{$radius}: 0.5rem;
307
+ #{$theme}#{$input}#{$height}: 2rem;
308
+ #{$theme}#{$input}#{$padding}#{$horizontal}: 0.5rem;
309
+ #{$theme}#{$input}#{$transition}: all 0.2s ease-in-out;
310
+ // focus
311
+ #{$theme}#{$input}#{$focus}#{$color}: #ffffff;
312
+ #{$theme}#{$input}#{$focus}#{$background}: #333333;
313
+ #{$theme}#{$input}#{$focus}#{$border}: 1px solid #666666;
314
+
315
+ // button
316
+ #{$theme}#{$button}#{$color}: #ffffff;
317
+ #{$theme}#{$button}#{$background}: #666666;
318
+ #{$theme}#{$button}#{$border}: 1px solid #666666;
319
+ #{$theme}#{$button}#{$font}#{$family}: Inter;
320
+ #{$theme}#{$button}#{$font}#{$size}: 0.9rem;
321
+ #{$theme}#{$button}#{$font}#{$weight}: 400;
322
+ #{$theme}#{$button}#{$radius}: 0.25rem;
323
+ #{$theme}#{$button}#{$padding}#{$horizontal}: 0.5rem;
324
+ // hover
325
+ #{$theme}#{$button}#{$hover}#{$color}: #ffffff;
326
+ #{$theme}#{$button}#{$hover}#{$background}: #777777;
327
+ #{$theme}#{$button}#{$hover}#{$border}: 1px solid #777777;
328
+ #{$theme}#{$button}#{$hover}#{$radius}: 0.25rem;
329
+ #{$theme}#{$button}#{$hover}#{$transition}: all 50ms ease-in-out;
330
+ // active
331
+ #{$theme}#{$button}#{$active}#{$color}: #000000;
332
+ #{$theme}#{$button}#{$active}#{$background}: #777777;
333
+ #{$theme}#{$button}#{$active}#{$border}: 1px solid #777777;
334
+ #{$theme}#{$button}#{$active}#{$radius}: 0.25rem;
335
+
336
+ // header
337
+ #{$theme}#{$header}#{$color}: #ffffff;
338
+ #{$theme}#{$header}#{$font}#{$family}: Inter;
339
+ #{$theme}#{$header}#{$font}#{$size}: 1.2rem;
340
+ #{$theme}#{$header}#{$font}#{$weight}: 700;
341
+ #{$theme}#{$header}#{$padding}#{$vertical}: 0.5rem;
342
+ #{$theme}#{$header}#{$padding}#{$horizontal}: 0.25rem;
343
+ }
344
+
345
+ .mobile {
346
+ .level0 {
347
+ #{$theme+$input+$height}: 2.5rem;
348
+ }
349
+
350
+ .level1 {
351
+ #{$theme+$input+$height}: 2.5rem;
352
+ }
353
+
354
+ .level2 {
355
+ #{$theme+$input+$height}: 2.5rem;
356
+ }
357
+
358
+ .level3 {
359
+ #{$theme+$input+$height}: 2.5rem;
360
+ }
361
+ }
@@ -0,0 +1,49 @@
1
+ /*!
2
+ * Copyright ©2024 Ewsgit<https://github.com/ewsgit> and YourDash<https://github.com/yourdash> contributors.
3
+ * YourDash is licensed under the MIT License. (https://ewsgit.mit-license.org)
4
+ */
5
+
6
+ $theme: "--ut";
7
+ $button: "btn";
8
+ $hover: "hvr";
9
+ $active: "atv";
10
+ $padding: "pdn";
11
+ $border: "brd";
12
+ $radius: "rad";
13
+ $accent: "acn";
14
+ $subcolor: "scl";
15
+ $color: "col";
16
+ $background: "bgn";
17
+ $gap: "gap";
18
+ $transition: "trans";
19
+ $font: "font";
20
+ $size: "size";
21
+ $weight: "wgt";
22
+ $family: "fam";
23
+ $vertical: "vert";
24
+ $horizontal: "horiz";
25
+ $header: "hed";
26
+ $separator: "sep";
27
+ $height: "hei";
28
+ $width: "wid";
29
+ $heading: "hed";
30
+ $input: "inp";
31
+ $focus: "foc";
32
+ $textbutton: "txb";
33
+ $h1: "he1";
34
+ $h2: "he2";
35
+ $h3: "he3";
36
+ $h4: "he4";
37
+ $h5: "he5";
38
+ $h6: "he6";
39
+ $scrollbar: "scrlbr";
40
+
41
+
42
+ $sizeMobile: 440px;
43
+ $sizeLargeMobile: 560px;
44
+ $sizeTablet: 768px;
45
+ $sizeLargeTablet: 960px;
46
+ $sizeSmallDesktop: 1200px;
47
+ $sizeMediumDesktop: 1440px;
48
+ $sizeLargeDesktop: 1920px;
49
+ $sizeWideDesktop: 2560px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yourdash/uikit",
3
- "version": "1.0.35",
3
+ "version": "1.0.36",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "private": false,