@skeletonlabs/skeleton 3.1.0 → 3.1.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.
- package/dist/index.css +121 -17
- package/dist/themes/catppuccin.css +1 -1
- package/dist/themes/concord.css +1 -1
- package/dist/themes/crimson.css +1 -1
- package/dist/themes/fennec.css +3 -3
- package/dist/themes/hamlindigo.css +1 -1
- package/dist/themes/legacy.css +1 -1
- package/dist/themes/mint.css +1 -1
- package/dist/themes/mona.css +1 -1
- package/dist/themes/reign.css +2 -2
- package/dist/themes/rocket.css +1 -1
- package/dist/themes/vintage.css +1 -1
- package/dist/themes/wintry.css +1 -1
- package/package.json +3 -3
package/dist/index.css
CHANGED
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
/* https://developer.mozilla.org/en-US/docs/Web/CSS/::selection */
|
|
60
60
|
|
|
61
61
|
::selection {
|
|
62
|
-
background-color: var(--color-primary-500);
|
|
62
|
+
background-color: color-mix(in srgb, var(--color-primary-500) 50%, transparent);
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
/* States --- */
|
|
@@ -691,6 +691,96 @@
|
|
|
691
691
|
--text-9xl: calc(8rem * var(--text-scaling));
|
|
692
692
|
--text-9xl--line-height: calc(1 * var(--text-scaling));
|
|
693
693
|
}
|
|
694
|
+
@utility body-background-color {
|
|
695
|
+
background-color: var(--body-background-color);
|
|
696
|
+
}
|
|
697
|
+
@utility body-background-color-dark {
|
|
698
|
+
background-color: var(--body-background-color-dark);
|
|
699
|
+
}
|
|
700
|
+
@utility base-font-color {
|
|
701
|
+
color: var(--base-font-color);
|
|
702
|
+
}
|
|
703
|
+
@utility base-font-color-dark {
|
|
704
|
+
color: var(--base-font-color-dark);
|
|
705
|
+
}
|
|
706
|
+
@utility base-font-family {
|
|
707
|
+
font-family: var(--base-font-family);
|
|
708
|
+
}
|
|
709
|
+
@utility base-font-size {
|
|
710
|
+
font-size: var(--base-font-size);
|
|
711
|
+
}
|
|
712
|
+
@utility base-line-height {
|
|
713
|
+
line-height: var(--base-line-height);
|
|
714
|
+
}
|
|
715
|
+
@utility base-font-weight {
|
|
716
|
+
font-weight: var(--base-font-weight);
|
|
717
|
+
}
|
|
718
|
+
@utility base-font-style {
|
|
719
|
+
font-style: var(--base-font-style);
|
|
720
|
+
}
|
|
721
|
+
@utility base-letter-spacing {
|
|
722
|
+
letter-spacing: var(--base-letter-spacing);
|
|
723
|
+
}
|
|
724
|
+
@utility heading-font-color {
|
|
725
|
+
color: var(--heading-font-color);
|
|
726
|
+
}
|
|
727
|
+
@utility heading-font-color-dark {
|
|
728
|
+
color: var(--heading-font-color-dark);
|
|
729
|
+
}
|
|
730
|
+
@utility heading-font-family {
|
|
731
|
+
font-family: var(--heading-font-family);
|
|
732
|
+
}
|
|
733
|
+
@utility heading-font-size {
|
|
734
|
+
font-size: var(--heading-font-size);
|
|
735
|
+
}
|
|
736
|
+
@utility heading-line-height {
|
|
737
|
+
line-height: var(--heading-line-height);
|
|
738
|
+
}
|
|
739
|
+
@utility heading-font-weight {
|
|
740
|
+
font-weight: var(--heading-font-weight);
|
|
741
|
+
}
|
|
742
|
+
@utility heading-font-style {
|
|
743
|
+
font-style: var(--heading-font-style);
|
|
744
|
+
}
|
|
745
|
+
@utility heading-letter-spacing {
|
|
746
|
+
letter-spacing: var(--heading-letter-spacing);
|
|
747
|
+
}
|
|
748
|
+
@utility anchor-font-color {
|
|
749
|
+
color: var(--anchor-font-color);
|
|
750
|
+
}
|
|
751
|
+
@utility anchor-font-color-dark {
|
|
752
|
+
color: var(--anchor-font-color-dark);
|
|
753
|
+
}
|
|
754
|
+
@utility anchor-font-family {
|
|
755
|
+
font-family: var(--anchor-font-family);
|
|
756
|
+
}
|
|
757
|
+
@utility anchor-font-size {
|
|
758
|
+
font-size: var(--anchor-font-size);
|
|
759
|
+
}
|
|
760
|
+
@utility anchor-line-height {
|
|
761
|
+
line-height: var(--anchor-line-height);
|
|
762
|
+
}
|
|
763
|
+
@utility anchor-font-weight {
|
|
764
|
+
font-weight: var(--anchor-font-weight);
|
|
765
|
+
}
|
|
766
|
+
@utility anchor-font-style {
|
|
767
|
+
font-style: var(--anchor-font-style);
|
|
768
|
+
}
|
|
769
|
+
@utility anchor-letter-spacing {
|
|
770
|
+
letter-spacing: var(--anchor-letter-spacing);
|
|
771
|
+
}
|
|
772
|
+
@utility anchor-text-decoration {
|
|
773
|
+
text-decoration: var(--anchor-text-decoration);
|
|
774
|
+
}
|
|
775
|
+
@utility anchor-text-decoration-active {
|
|
776
|
+
text-decoration: var(--anchor-text-decoration-active);
|
|
777
|
+
}
|
|
778
|
+
@utility anchor-text-decoration-focus {
|
|
779
|
+
text-decoration: var(--anchor-text-decoration-focus);
|
|
780
|
+
}
|
|
781
|
+
@utility anchor-text-decoration-hover {
|
|
782
|
+
text-decoration: var(--anchor-text-decoration-hover);
|
|
783
|
+
}
|
|
694
784
|
/* Components: Badges */
|
|
695
785
|
@utility badge {
|
|
696
786
|
border-radius: var(--radius-base);
|
|
@@ -842,7 +932,7 @@
|
|
|
842
932
|
@utility card {
|
|
843
933
|
border-radius: var(--radius-container);
|
|
844
934
|
|
|
845
|
-
&
|
|
935
|
+
&a {
|
|
846
936
|
/* Transitions (all) */
|
|
847
937
|
transition-property: all;
|
|
848
938
|
transition-timing-function: var(--default-transition-timing-function);
|
|
@@ -1297,9 +1387,20 @@
|
|
|
1297
1387
|
/* We recreate a subset of form element styles here */
|
|
1298
1388
|
/* These are purpose-built to work in the group */
|
|
1299
1389
|
@utility ig-input {
|
|
1300
|
-
--tw-ring-inset: inset;
|
|
1301
1390
|
background-color: transparent;
|
|
1391
|
+
display: block;
|
|
1392
|
+
width: 100%;
|
|
1393
|
+
|
|
1394
|
+
/* Size */
|
|
1395
|
+
font-size: var(--text-base);
|
|
1396
|
+
line-height: var(--text-base--line-height);
|
|
1397
|
+
padding-block: --spacing(1);
|
|
1398
|
+
padding-inline: --spacing(3);
|
|
1399
|
+
|
|
1400
|
+
/* Edges */
|
|
1401
|
+
outline-color: transparent;
|
|
1302
1402
|
border-width: 0;
|
|
1403
|
+
--tw-ring-inset: inset;
|
|
1303
1404
|
|
|
1304
1405
|
@variant active {
|
|
1305
1406
|
--tw-ring-color: var(--color-primary-500);
|
|
@@ -1312,9 +1413,19 @@
|
|
|
1312
1413
|
}
|
|
1313
1414
|
}
|
|
1314
1415
|
@utility ig-select {
|
|
1315
|
-
--tw-ring-inset: inset;
|
|
1316
1416
|
background-color: transparent;
|
|
1417
|
+
display: block;
|
|
1418
|
+
width: 100%;
|
|
1419
|
+
|
|
1420
|
+
/* Size */
|
|
1421
|
+
font-size: var(--text-base);
|
|
1422
|
+
line-height: var(--text-base--line-height);
|
|
1423
|
+
padding-block: --spacing(1);
|
|
1424
|
+
|
|
1425
|
+
/* Edges */
|
|
1426
|
+
outline-color: transparent;
|
|
1317
1427
|
border-width: 0;
|
|
1428
|
+
--tw-ring-inset: inset;
|
|
1318
1429
|
|
|
1319
1430
|
@variant active {
|
|
1320
1431
|
--tw-ring-color: var(--color-primary-500);
|
|
@@ -1337,12 +1448,6 @@
|
|
|
1337
1448
|
height: --spacing(9);
|
|
1338
1449
|
padding: --spacing(2);
|
|
1339
1450
|
}
|
|
1340
|
-
|
|
1341
|
-
& option:checked {
|
|
1342
|
-
/* https://stackoverflow.com/questions/50618602/change-color-of-selected-option-in-select-multiple */
|
|
1343
|
-
background-image: linear-gradient(0deg, var(--color-primary-500) 0%, var(--color-primary-500) 100%);
|
|
1344
|
-
color: var(--color-primary-contrast-950-50);
|
|
1345
|
-
}
|
|
1346
1451
|
}
|
|
1347
1452
|
@utility ig-btn {
|
|
1348
1453
|
/* Icon Spacing */
|
|
@@ -1603,7 +1708,12 @@
|
|
|
1603
1708
|
font-size: var(--text-base);
|
|
1604
1709
|
line-height: var(--text-base--line-height);
|
|
1605
1710
|
padding-block: --spacing(1);
|
|
1606
|
-
|
|
1711
|
+
|
|
1712
|
+
/*
|
|
1713
|
+
WARNING
|
|
1714
|
+
Do not set `padding-inline` or it breaks
|
|
1715
|
+
the native drop-down arrow for selects.
|
|
1716
|
+
*/
|
|
1607
1717
|
|
|
1608
1718
|
/* Edges */
|
|
1609
1719
|
outline-color: transparent;
|
|
@@ -1678,12 +1788,6 @@
|
|
|
1678
1788
|
height: --spacing(9);
|
|
1679
1789
|
padding: --spacing(2);
|
|
1680
1790
|
}
|
|
1681
|
-
|
|
1682
|
-
& option:checked {
|
|
1683
|
-
/* https://stackoverflow.com/questions/50618602/change-color-of-selected-option-in-select-multiple */
|
|
1684
|
-
background-image: linear-gradient(0deg, var(--color-primary-500) 0%, var(--color-primary-500) 100%) !important;
|
|
1685
|
-
color: var(--color-primary-contrast-950-50) !important;
|
|
1686
|
-
}
|
|
1687
1791
|
}
|
|
1688
1792
|
/* Components: Forms > Textarea */
|
|
1689
1793
|
@utility textarea {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
--default-border-width: 1px;
|
|
35
35
|
--default-divide-width: 1px;
|
|
36
36
|
--default-ring-width: 1px;
|
|
37
|
-
--body-background-color:
|
|
37
|
+
--body-background-color: oklch(1 0 0 / 1);
|
|
38
38
|
--body-background-color-dark: var(--color-surface-950);
|
|
39
39
|
--color-primary-50: oklch(97.74% 0.02 214.3deg);
|
|
40
40
|
--color-primary-100: oklch(91.46% 0.04 259.65deg);
|
package/dist/themes/concord.css
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
--default-border-width: 1px;
|
|
33
33
|
--default-divide-width: 1px;
|
|
34
34
|
--default-ring-width: 1px;
|
|
35
|
-
--body-background-color:
|
|
35
|
+
--body-background-color: oklch(1 0 0 / 1);
|
|
36
36
|
--body-background-color-dark: var(--color-surface-900);
|
|
37
37
|
--color-primary-50: oklch(93.95% 0.03 275.18deg);
|
|
38
38
|
--color-primary-100: oklch(86.47% 0.06 279.05deg);
|
package/dist/themes/crimson.css
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
--default-border-width: 1px;
|
|
33
33
|
--default-divide-width: 1px;
|
|
34
34
|
--default-ring-width: 1px;
|
|
35
|
-
--body-background-color:
|
|
35
|
+
--body-background-color: oklch(1 0 0 / 1);
|
|
36
36
|
--body-background-color-dark: var(--color-surface-950);
|
|
37
37
|
--color-primary-50: oklch(88.86% 0.05 4.44deg);
|
|
38
38
|
--color-primary-100: oklch(80.66% 0.09 5.94deg);
|
package/dist/themes/fennec.css
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
[data-theme='fennec'] {
|
|
2
2
|
--text-scaling: 1.067;
|
|
3
|
-
--base-font-color: 0 0 0;
|
|
4
|
-
--base-font-color-dark:
|
|
3
|
+
--base-font-color: oklch(0 0 0 / 1);
|
|
4
|
+
--base-font-color-dark: oklch(1 0 0 / 1);
|
|
5
5
|
--base-font-family: Bahnschrift, 'DIN Alternate', 'Franklin Gothic Medium', 'Nimbus Sans Narrow', sans-serif-condensed, sans-serif;
|
|
6
6
|
--base-font-size: 20px;
|
|
7
7
|
--base-line-height: inherit;
|
|
8
8
|
--base-font-weight: normal;
|
|
9
9
|
--base-font-style: normal;
|
|
10
10
|
--base-letter-spacing: 0em;
|
|
11
|
-
--heading-font-color: 0 0 0;
|
|
11
|
+
--heading-font-color: oklch(0 0 0 / 1);
|
|
12
12
|
--heading-font-color-dark: var(--color-secondary-50);
|
|
13
13
|
--heading-font-family: Bahnschrift, 'DIN Alternate', 'Franklin Gothic Medium', 'Nimbus Sans Narrow', sans-serif-condensed, sans-serif;
|
|
14
14
|
--heading-font-weight: normal;
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
--default-border-width: 1px;
|
|
33
33
|
--default-divide-width: 1px;
|
|
34
34
|
--default-ring-width: 1px;
|
|
35
|
-
--body-background-color:
|
|
35
|
+
--body-background-color: oklch(1 0 0 / 1);
|
|
36
36
|
--body-background-color-dark: var(--color-surface-950);
|
|
37
37
|
--color-primary-50: oklch(95.58% 0.02 271.23deg);
|
|
38
38
|
--color-primary-100: oklch(92.55% 0.03 269.83deg);
|
package/dist/themes/legacy.css
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
--default-border-width: 1px;
|
|
33
33
|
--default-divide-width: 1px;
|
|
34
34
|
--default-ring-width: 1px;
|
|
35
|
-
--body-background-color:
|
|
35
|
+
--body-background-color: oklch(1 0 0 / 1);
|
|
36
36
|
--body-background-color-dark: var(--color-surface-950);
|
|
37
37
|
--color-primary-50: oklch(93.76% 0.05 174.04deg);
|
|
38
38
|
--color-primary-100: oklch(88.31% 0.07 172.12deg);
|
package/dist/themes/mint.css
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
--heading-font-weight: normal;
|
|
15
15
|
--heading-font-style: normal;
|
|
16
16
|
--heading-letter-spacing: inherit;
|
|
17
|
-
--anchor-font-color:
|
|
17
|
+
--anchor-font-color: oklch(1 0 0 / 1);
|
|
18
18
|
--anchor-font-color-dark: var(--color-primary-500);
|
|
19
19
|
--anchor-font-family: inherit;
|
|
20
20
|
--anchor-font-size: inherit;
|
package/dist/themes/mona.css
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
--default-border-width: 1px;
|
|
33
33
|
--default-divide-width: 1px;
|
|
34
34
|
--default-ring-width: 1px;
|
|
35
|
-
--body-background-color:
|
|
35
|
+
--body-background-color: oklch(1 0 0 / 1);
|
|
36
36
|
--body-background-color-dark: var(--color-surface-950);
|
|
37
37
|
--color-primary-50: oklch(95.05% 0.04 325.97deg);
|
|
38
38
|
--color-primary-100: oklch(87.17% 0.08 312.56deg);
|
package/dist/themes/reign.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
[data-theme='reign'] {
|
|
2
2
|
--text-scaling: 1.067;
|
|
3
|
-
--base-font-color: 0 0 0;
|
|
4
|
-
--base-font-color-dark:
|
|
3
|
+
--base-font-color: oklch(0 0 0 / 1);
|
|
4
|
+
--base-font-color-dark: oklch(1 0 0 / 1);
|
|
5
5
|
--base-font-family: Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro, sans-serif;
|
|
6
6
|
--base-font-size: 18px;
|
|
7
7
|
--base-line-height: inherit;
|
package/dist/themes/rocket.css
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
--default-border-width: 1px;
|
|
33
33
|
--default-divide-width: 1px;
|
|
34
34
|
--default-ring-width: 1px;
|
|
35
|
-
--body-background-color:
|
|
35
|
+
--body-background-color: oklch(1 0 0 / 1);
|
|
36
36
|
--body-background-color-dark: var(--color-surface-950);
|
|
37
37
|
--color-primary-50: oklch(95.11% 0.03 211.57deg);
|
|
38
38
|
--color-primary-100: oklch(89.65% 0.06 209.91deg);
|
package/dist/themes/vintage.css
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
--base-font-style: normal;
|
|
10
10
|
--base-letter-spacing: 0em;
|
|
11
11
|
--heading-font-color: var(--color-secondary-950);
|
|
12
|
-
--heading-font-color-dark:
|
|
12
|
+
--heading-font-color-dark: oklch(1 0 0 / 1);
|
|
13
13
|
--heading-font-family: Optima, Candara, 'Noto Sans', source-sans-pro, sans-serif;
|
|
14
14
|
--heading-font-weight: bold;
|
|
15
15
|
--heading-font-style: normal;
|
package/dist/themes/wintry.css
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
--default-border-width: 1px;
|
|
33
33
|
--default-divide-width: 1px;
|
|
34
34
|
--default-ring-width: 1px;
|
|
35
|
-
--body-background-color:
|
|
35
|
+
--body-background-color: oklch(1 0 0 / 1);
|
|
36
36
|
--body-background-color-dark: var(--color-surface-950);
|
|
37
37
|
--color-primary-50: oklch(96.19% 0.04 201.62deg);
|
|
38
38
|
--color-primary-100: oklch(89.29% 0.06 230.4deg);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skeletonlabs/skeleton",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.2",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/skeletonlabs/skeleton.git"
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"tailwindcss": "^4.0.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"sass-embedded": "^1.
|
|
29
|
+
"sass-embedded": "^1.86.0",
|
|
30
30
|
"tinyglobby": "^0.2.12",
|
|
31
|
-
"vite": "^6.2.
|
|
31
|
+
"vite": "^6.2.4"
|
|
32
32
|
},
|
|
33
33
|
"type": "module",
|
|
34
34
|
"license": "MIT",
|