@skeletonlabs/skeleton 5.0.1 → 5.0.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.
@@ -20,8 +20,11 @@
20
20
  border-width: 0;
21
21
  --tw-ring-inset: inset;
22
22
  --tw-ring-color: var(--color-surface-300-700);
23
- --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 var(--default-ring-width) var(--tw-ring-color, currentColor);
24
- box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
23
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 var(--default-ring-width)
24
+ var(--tw-ring-color, currentColor);
25
+ box-shadow:
26
+ var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow),
27
+ var(--tw-ring-shadow), var(--tw-shadow);
25
28
 
26
29
  /* Placeholder */
27
30
  &::placeholder {
@@ -40,7 +43,7 @@
40
43
 
41
44
  /* File Input --- */
42
45
 
43
- &[type='file']::file-selector-button {
46
+ &[type="file"]::file-selector-button {
44
47
  border-radius: var(--radius-base);
45
48
  background-color: var(--color-surface-950-50);
46
49
  color: var(--color-surface-50-950);
@@ -58,7 +61,7 @@
58
61
  /* Range Input --- */
59
62
  /* https://developer.mozilla.org/en-US/docs/Web/CSS/accent-color */
60
63
 
61
- &[type='range'] {
64
+ &[type="range"] {
62
65
  accent-color: var(--color-surface-950-50);
63
66
  box-shadow: none;
64
67
  padding-inline: initial;
@@ -67,7 +70,7 @@
67
70
  /* Color Picker Input --- */
68
71
  /* https://stackoverflow.com/questions/11167281/webkit-css-to-control-the-box-around-the-color-in-an-inputtype-color */
69
72
 
70
- &[type='color'] {
73
+ &[type="color"] {
71
74
  border-radius: var(--radius-base);
72
75
  width: --spacing(10);
73
76
  height: --spacing(10);
@@ -77,17 +80,17 @@
77
80
  -webkit-appearance: none;
78
81
  appearance: none;
79
82
  }
80
- &[type='color']::-webkit-color-swatch-wrapper {
83
+ &[type="color"]::-webkit-color-swatch-wrapper {
81
84
  padding: 0;
82
85
  }
83
- &[type='color']::-webkit-color-swatch {
86
+ &[type="color"]::-webkit-color-swatch {
84
87
  border: none;
85
88
  border-radius: var(--radius-base);
86
89
  }
87
- &[type='color']::-moz-color-swatch {
90
+ &[type="color"]::-moz-color-swatch {
88
91
  border: none;
89
92
  }
90
- &[type='color']::-moz-color-swatch {
93
+ &[type="color"]::-moz-color-swatch {
91
94
  border: none;
92
95
  }
93
96
  }
@@ -25,8 +25,11 @@
25
25
  border-width: 0;
26
26
  --tw-ring-inset: inset;
27
27
  --tw-ring-color: var(--color-surface-300-700);
28
- --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 var(--default-ring-width) var(--tw-ring-color, currentColor);
29
- box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
28
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 var(--default-ring-width)
29
+ var(--tw-ring-color, currentColor);
30
+ box-shadow:
31
+ var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow),
32
+ var(--tw-ring-shadow), var(--tw-shadow);
30
33
 
31
34
  @variant active {
32
35
  --tw-ring-color: var(--color-primary-500);
@@ -20,8 +20,11 @@
20
20
  border-width: 0;
21
21
  --tw-ring-inset: inset;
22
22
  --tw-ring-color: var(--color-surface-300-700);
23
- --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 var(--default-ring-width) var(--tw-ring-color, currentColor);
24
- box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
23
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 var(--default-ring-width)
24
+ var(--tw-ring-color, currentColor);
25
+ box-shadow:
26
+ var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow),
27
+ var(--tw-ring-shadow), var(--tw-shadow);
25
28
 
26
29
  /* Placeholder */
27
30
  &::placeholder {
@@ -336,12 +336,20 @@
336
336
  /* Tonal --- */
337
337
 
338
338
  @utility preset-tonal {
339
- background-color: color-mix(in oklab, light-dark(var(--color-surface-950), var(--color-surface-50)) 10%, transparent);
339
+ background-color: color-mix(
340
+ in oklab,
341
+ light-dark(var(--color-surface-950), var(--color-surface-50)) 10%,
342
+ transparent
343
+ );
340
344
  color: var(--color-surface-950-50);
341
345
  }
342
346
 
343
347
  @utility preset-tonal-brand {
344
- background-color: color-mix(in oklab, light-dark(var(--color-brand-light), var(--color-brand-dark)) 25%, transparent);
348
+ background-color: color-mix(
349
+ in oklab,
350
+ light-dark(var(--color-brand-light), var(--color-brand-dark)) 25%,
351
+ transparent
352
+ );
345
353
  color: var(--color-surface-950-50);
346
354
  }
347
355
 
@@ -262,7 +262,11 @@
262
262
  /* This enables the use of presets-* styling for standalone <code> */
263
263
  @layer base {
264
264
  code {
265
- background-color: color-mix(in oklab, light-dark(var(--color-brand-light), var(--color-brand-dark)) 25%, transparent);
265
+ background-color: color-mix(
266
+ in oklab,
267
+ light-dark(var(--color-brand-light), var(--color-brand-dark)) 25%,
268
+ transparent
269
+ );
266
270
  color: var(--color-surface-950-50);
267
271
  border-radius: var(--radius-base);
268
272
  font-family: var(--font-mono);
@@ -307,7 +311,7 @@
307
311
  font-family: var(--font-mono);
308
312
  }
309
313
  &::before {
310
- content: '+';
314
+ content: "+";
311
315
  }
312
316
  }
313
317
 
@@ -327,7 +331,7 @@
327
331
  font-family: var(--font-mono);
328
332
  }
329
333
  &::before {
330
- content: '−';
334
+ content: "−";
331
335
  }
332
336
  }
333
337