@hazae41/labase 1.0.25 → 1.0.26
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/package.json +1 -1
- package/src/index.css +1 -1
- package/src/scrollbar/index.css +43 -75
package/package.json
CHANGED
package/src/index.css
CHANGED
package/src/scrollbar/index.css
CHANGED
|
@@ -1,103 +1,71 @@
|
|
|
1
|
-
@
|
|
2
|
-
@supports (-moz-appearance:none) {
|
|
3
|
-
scrollbar-color: rgba(0 0 0 / 0.1) white;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
&::-webkit-scrollbar {
|
|
7
|
-
@apply bg-white;
|
|
8
|
-
}
|
|
1
|
+
@import "tailwindcss/index";
|
|
9
2
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
3
|
+
@import "./padding/index.css";
|
|
4
|
+
@import "./margin/index.css";
|
|
5
|
+
@import "./animations/index.css";
|
|
6
|
+
@import "./background/index.css";
|
|
7
|
+
@import "./text/index.css";
|
|
8
|
+
@import "./border/index.css";
|
|
9
|
+
@import "./outline/index.css";
|
|
10
|
+
@import "./divide/index.css";
|
|
11
|
+
@import "./scrollbar/index.css";
|
|
18
12
|
|
|
19
|
-
@
|
|
20
|
-
@
|
|
21
|
-
|
|
13
|
+
@custom-variant light {
|
|
14
|
+
@media (prefers-color-scheme: light) {
|
|
15
|
+
&:not([data-theme="dark"], [data-theme="opposite"], [data-theme="dark"] *, [data-theme="opposite"] *) {
|
|
16
|
+
@slot;
|
|
17
|
+
}
|
|
22
18
|
}
|
|
23
19
|
|
|
24
|
-
|
|
25
|
-
|
|
20
|
+
@media (prefers-color-scheme: dark) {
|
|
21
|
+
&:where([data-theme="opposite"], [data-theme="opposite"] *) {
|
|
22
|
+
@slot;
|
|
23
|
+
}
|
|
26
24
|
}
|
|
27
25
|
|
|
28
|
-
|
|
29
|
-
@
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&::-webkit-scrollbar-thumb:hover {
|
|
33
|
-
@apply bg-white/20 rounded-[10px] border-[3px] border-solid border-transparent bg-clip-padding;
|
|
26
|
+
&:where([data-theme="light"], [data-theme="light"] *) {
|
|
27
|
+
@slot;
|
|
34
28
|
}
|
|
35
29
|
}
|
|
36
30
|
|
|
37
|
-
@
|
|
38
|
-
@
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
31
|
+
@custom-variant dark {
|
|
32
|
+
@media (prefers-color-scheme: dark) {
|
|
33
|
+
&:not([data-theme="light"], [data-theme="opposite"], [data-theme="light"] *, [data-theme="opposite"] *) {
|
|
34
|
+
@slot;
|
|
35
|
+
}
|
|
42
36
|
}
|
|
43
|
-
}
|
|
44
37
|
|
|
45
|
-
@
|
|
46
|
-
|
|
38
|
+
@media (prefers-color-scheme: light) {
|
|
39
|
+
&:where([data-theme="opposite"], [data-theme="opposite"] *) {
|
|
40
|
+
@slot;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
47
43
|
|
|
48
|
-
|
|
49
|
-
@
|
|
44
|
+
&:where([data-theme="dark"], [data-theme="dark"] *) {
|
|
45
|
+
@slot;
|
|
50
46
|
}
|
|
51
47
|
}
|
|
52
48
|
|
|
53
|
-
@
|
|
54
|
-
@supports (-moz-appearance:none) {
|
|
55
|
-
scrollbar-color: rgba(0 0 0 / 0.1) transparent;
|
|
56
|
-
}
|
|
49
|
+
@layer base {
|
|
57
50
|
|
|
58
|
-
|
|
59
|
-
@apply
|
|
51
|
+
html {
|
|
52
|
+
@apply h-full w-full text-base;
|
|
60
53
|
}
|
|
61
54
|
|
|
62
|
-
|
|
63
|
-
@apply
|
|
55
|
+
body {
|
|
56
|
+
@apply h-full w-full text-base text-default bg-default **:scrollbar-default-[transparent];
|
|
64
57
|
}
|
|
65
58
|
|
|
66
|
-
|
|
67
|
-
|
|
59
|
+
body {
|
|
60
|
+
font-family: ui-rounded, system-ui, sans-serif;
|
|
68
61
|
}
|
|
69
|
-
}
|
|
70
62
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
scrollbar-color: rgba(255 255 255 / 0.1) transparent;
|
|
63
|
+
::selection {
|
|
64
|
+
@apply bg-default-double-contrast;
|
|
74
65
|
}
|
|
75
66
|
|
|
76
|
-
|
|
67
|
+
::backdrop {
|
|
77
68
|
@apply bg-transparent;
|
|
78
69
|
}
|
|
79
70
|
|
|
80
|
-
&::-webkit-scrollbar-thumb {
|
|
81
|
-
@apply bg-white/10 rounded-[10px] border-[3px] border-solid border-transparent bg-clip-padding;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
&::-webkit-scrollbar-thumb:hover {
|
|
85
|
-
@apply bg-white/20 rounded-[10px] border-[3px] border-solid border-transparent bg-clip-padding;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
@utility scrollbar-default-transparent {
|
|
90
|
-
@apply scrollbar-white-transparent;
|
|
91
|
-
|
|
92
|
-
@variant dark {
|
|
93
|
-
@apply scrollbar-black-transparent;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
@utility scrollbar-opposite-transparent {
|
|
98
|
-
@apply scrollbar-black-transparent;
|
|
99
|
-
|
|
100
|
-
@variant dark {
|
|
101
|
-
@apply scrollbar-white-transparent;
|
|
102
|
-
}
|
|
103
71
|
}
|