winduum 2.0.0-next.1 → 2.0.0-next.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/package.json +12 -12
- package/plugin/index.js +10 -10
- package/plugin/utilities/dot.js +2 -2
- package/src/base/breakpoints.css +10 -10
- package/src/base/keyframes.css +3 -3
- package/src/components/badge/bordered.css +5 -15
- package/src/components/badge/circle.css +4 -4
- package/src/components/badge/default.css +34 -18
- package/src/components/badge/index.css +1 -1
- package/src/components/badge/lg.css +2 -2
- package/src/components/badge/muted.css +3 -3
- package/src/components/badge/props/default.css +9 -0
- package/src/components/badge/readme.md +12 -12
- package/src/components/badge/sm.css +3 -3
- package/src/components/badge/square.css +3 -3
- package/src/components/breadcrumb/default.css +7 -7
- package/src/components/breadcrumb/index.css +1 -1
- package/src/components/breadcrumb/props/default.css +5 -0
- package/src/components/breadcrumb/readme.md +1 -1
- package/src/components/button/bordered.css +18 -18
- package/src/components/button/circle.css +5 -5
- package/src/components/button/default.css +29 -29
- package/src/components/button/fill.css +5 -5
- package/src/components/button/ghosted.css +13 -13
- package/src/components/button/interactive.css +32 -32
- package/src/components/button/lg.css +3 -3
- package/src/components/button/muted.css +13 -13
- package/src/components/button/props/default.css +9 -9
- package/src/components/button/props/interactive.css +7 -7
- package/src/components/button/raised.css +5 -5
- package/src/components/button/readme.md +2 -2
- package/src/components/button/sm.css +3 -3
- package/src/components/button/square.css +4 -4
- package/src/components/card/default.css +4 -6
- package/src/components/card/index.css +1 -1
- package/src/components/card/props/default.css +6 -0
- package/src/components/card/readme.md +1 -1
- package/src/components/carousel/content.css +2 -2
- package/src/components/carousel/default.css +1 -1
- package/src/components/check/default.css +34 -41
- package/src/components/check/index.css +1 -2
- package/src/components/check/interactive.css +31 -25
- package/src/components/check/invalid.css +7 -6
- package/src/components/check/props/default.css +13 -0
- package/src/components/check/readme.md +8 -9
- package/src/components/color/default.css +13 -25
- package/src/components/color/index.css +1 -2
- package/src/components/color/interactive.css +18 -12
- package/src/components/color/props/default.css +7 -0
- package/src/components/color/readme.md +7 -8
- package/src/components/compare/default.css +17 -18
- package/src/components/compare/index.js +2 -2
- package/src/components/control/color.css +8 -8
- package/src/components/control/default.css +36 -39
- package/src/components/control/file.css +14 -12
- package/src/components/control/floating-interactive.css +5 -5
- package/src/components/control/floating.css +7 -7
- package/src/components/control/icon.css +8 -8
- package/src/components/control/index.css +5 -6
- package/src/components/control/interactive.css +9 -9
- package/src/components/control/invalid.css +7 -7
- package/src/components/control/props/color.css +5 -0
- package/src/components/control/props/default.css +16 -0
- package/src/components/control/props/floating.css +4 -0
- package/src/components/control/props/icon.css +4 -0
- package/src/components/control/props/select.css +4 -0
- package/src/components/control/readme.md +19 -20
- package/src/components/control/select-multiple.css +2 -2
- package/src/components/control/select.css +8 -8
- package/src/components/dialog/content.css +6 -6
- package/src/components/dialog/default.css +11 -8
- package/src/components/dialog/index.css +2 -2
- package/src/components/dialog/index.js +3 -3
- package/src/components/dialog/props/content.css +5 -0
- package/src/components/dialog/props/default.css +6 -0
- package/src/components/dialog/readme.md +2 -2
- package/src/components/drawer/content.css +4 -4
- package/src/components/drawer/default.css +8 -5
- package/src/components/drawer/index.css +2 -2
- package/src/components/drawer/index.js +3 -3
- package/src/components/drawer/props/content.css +7 -0
- package/src/components/drawer/props/default.css +3 -0
- package/src/components/drawer/readme.md +2 -2
- package/src/components/field/default.css +6 -6
- package/src/components/form/index.js +5 -5
- package/src/components/group/default.css +11 -11
- package/src/components/group/readme.md +6 -6
- package/src/components/group/vertical.css +2 -2
- package/src/components/heading/default.css +6 -6
- package/src/components/heading/index.css +1 -1
- package/src/components/heading/lg.css +2 -2
- package/src/components/heading/props/default.css +6 -0
- package/src/components/heading/readme.md +8 -8
- package/src/components/heading/sm.css +2 -2
- package/src/components/image/avatar.css +1 -1
- package/src/components/image/default.css +1 -1
- package/src/components/image/readme.md +6 -6
- package/src/components/index.css +0 -2
- package/src/components/info/default.css +6 -6
- package/src/components/info/index.css +1 -1
- package/src/components/info/props/default.css +4 -0
- package/src/components/info/readme.md +6 -6
- package/src/components/label/default.css +6 -6
- package/src/components/label/index.css +1 -1
- package/src/components/label/props/default.css +4 -0
- package/src/components/label/readme.md +6 -6
- package/src/components/link/default.css +6 -6
- package/src/components/link/index.css +1 -2
- package/src/components/link/interactive.css +3 -10
- package/src/components/link/props/default.css +4 -0
- package/src/components/link/readme.md +7 -7
- package/src/components/notice/default.css +16 -20
- package/src/components/notice/index.css +1 -1
- package/src/components/notice/props/default.css +8 -0
- package/src/components/notice/readme.md +6 -6
- package/src/components/pagination/default.css +2 -2
- package/src/components/popover/content.css +14 -15
- package/src/components/popover/default.css +1 -1
- package/src/components/popover/index.css +1 -1
- package/src/components/popover/props/content.css +8 -0
- package/src/components/popover/readme.md +1 -1
- package/src/components/progress/default.css +15 -16
- package/src/components/progress/index.css +1 -1
- package/src/components/progress/lg.css +2 -2
- package/src/components/progress/meter.css +7 -7
- package/src/components/progress/props/default.css +6 -0
- package/src/components/progress/readme.md +9 -9
- package/src/components/progress/sm.css +2 -2
- package/src/components/range/default.css +47 -49
- package/src/components/range/index.css +1 -1
- package/src/components/range/index.js +2 -2
- package/src/components/range/multi.css +6 -6
- package/src/components/range/props/default.css +9 -0
- package/src/components/range/readme.md +8 -8
- package/src/components/range/vertical.css +3 -3
- package/src/components/rating/default.css +11 -11
- package/src/components/rating/index.css +1 -1
- package/src/components/rating/invalid.css +3 -3
- package/src/components/rating/props/default.css +8 -0
- package/src/components/rating/readme.md +7 -7
- package/src/components/switch/default.css +23 -26
- package/src/components/switch/index.css +1 -1
- package/src/components/switch/interactive.css +13 -9
- package/src/components/switch/invalid.css +4 -4
- package/src/components/switch/props/default.css +17 -0
- package/src/components/switch/readme.md +8 -8
- package/src/components/table/default.css +11 -11
- package/src/components/table/index.css +1 -2
- package/src/components/table/interactive.css +14 -14
- package/src/components/table/props/default.css +8 -0
- package/src/components/table/readme.md +1 -2
- package/src/components/tabs/default.css +6 -6
- package/src/components/text/default.css +102 -72
- package/src/components/text/index.css +1 -1
- package/src/components/text/props/default.css +9 -0
- package/src/components/text/readme.md +6 -6
- package/src/components/title/default.css +6 -6
- package/src/components/title/index.css +1 -1
- package/src/components/title/lg.css +2 -2
- package/src/components/title/props/default.css +5 -0
- package/src/components/title/readme.md +8 -8
- package/src/components/title/sm.css +2 -2
- package/src/components/toast/content.css +16 -15
- package/src/components/toast/default.css +8 -8
- package/src/components/toast/index.css +2 -2
- package/src/components/toast/props/content.css +7 -0
- package/src/components/toast/props/default.css +4 -0
- package/src/components/toast/readme.md +2 -2
- package/src/components/toaster/default.css +4 -4
- package/src/components/toaster/index.css +1 -1
- package/src/components/toaster/index.js +8 -8
- package/src/components/toaster/props/default.css +4 -0
- package/src/components/toaster/readme.md +1 -1
- package/src/components/tooltip/default.css +15 -15
- package/src/components/tooltip/index.css +1 -1
- package/src/components/tooltip/props/default.css +12 -0
- package/src/components/tooltip/readme.md +2 -2
- package/src/utilities/divider.css +13 -3
- package/src/utilities/ripple/index.css +9 -4
- package/src/utilities/skeleton/default.css +8 -1
- package/src/utilities/skeleton/props/default.css +3 -3
- package/src/utilities/swap/default.css +3 -3
- package/src/components/badge/default-props.css +0 -8
- package/src/components/breadcrumb/default-props.css +0 -5
- package/src/components/card/default-props.css +0 -4
- package/src/components/check/default-props.css +0 -13
- package/src/components/check/interactive-props.css +0 -3
- package/src/components/color/default-props.css +0 -11
- package/src/components/color/interactive-props.css +0 -3
- package/src/components/control/color-props.css +0 -5
- package/src/components/control/default-props.css +0 -16
- package/src/components/control/floating-props.css +0 -4
- package/src/components/control/icon-props.css +0 -4
- package/src/components/control/interactive-props.css +0 -3
- package/src/components/control/select-props.css +0 -4
- package/src/components/dialog/content-props.css +0 -5
- package/src/components/dialog/default-props.css +0 -6
- package/src/components/drawer/content-props.css +0 -6
- package/src/components/drawer/default-props.css +0 -3
- package/src/components/heading/default-props.css +0 -6
- package/src/components/info/default-props.css +0 -4
- package/src/components/label/default-props.css +0 -4
- package/src/components/link/default-props.css +0 -4
- package/src/components/link/interactive-props.css +0 -5
- package/src/components/notice/default-props.css +0 -8
- package/src/components/popover/content-props.css +0 -8
- package/src/components/progress/default-props.css +0 -4
- package/src/components/range/default-props.css +0 -10
- package/src/components/rating/default-props.css +0 -5
- package/src/components/switch/default-props.css +0 -17
- package/src/components/switch/interactive-props.css +0 -3
- package/src/components/table/default-props.css +0 -8
- package/src/components/table/interactive-props.css +0 -4
- package/src/components/text/default-props.css +0 -9
- package/src/components/title/default-props.css +0 -5
- package/src/components/toast/content-props.css +0 -7
- package/src/components/toast/default-props.css +0 -4
- package/src/components/toaster/default-props.css +0 -4
- package/src/components/tooltip/default-props.css +0 -12
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
.tooltip {
|
|
1
|
+
.x-tooltip {
|
|
2
2
|
position: relative;
|
|
3
3
|
display: inline-block;
|
|
4
4
|
|
|
5
5
|
&::before {
|
|
6
6
|
--tw-content: attr(aria-label);
|
|
7
7
|
|
|
8
|
+
background-color: var(--x-tooltip-background-color);
|
|
9
|
+
color: var(--x-tooltip-color);
|
|
10
|
+
border-radius: var(--x-tooltip-border-radius);
|
|
11
|
+
font-size: var(--x-tooltip-font-size);
|
|
12
|
+
padding: var(--x-tooltip-padding-block) var(--x-tooltip-padding-inline);
|
|
13
|
+
z-index: var(--x-tooltip-z-index, var(--z-index-20));
|
|
14
|
+
transition-property: var(--default-transition-property);
|
|
15
|
+
transition-timing-function: var(--transition-timing-function-in-out);
|
|
16
|
+
transition-duration: var(--default-transition-duration);
|
|
8
17
|
content: var(--tw-content);
|
|
9
18
|
opacity: var(--tw-opacity);
|
|
10
19
|
visibility: var(--tw-visibility);
|
|
11
20
|
transform:
|
|
12
21
|
translate(var(--tw-translate-x), var(--tw-translate-y))
|
|
13
22
|
scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
14
|
-
transition-property: var(--default-transition-property);
|
|
15
|
-
transition-timing-function: var(--transition-timing-function-in-out);
|
|
16
|
-
transition-duration: var(--default-transition-duration);
|
|
17
23
|
will-change: transform;
|
|
18
|
-
|
|
19
|
-
color: var(--tooltip-color);
|
|
20
|
-
border-radius: var(--tooltip-border-radius);
|
|
21
|
-
font-size: var(--tooltip-font-size);
|
|
22
|
-
padding: var(--tooltip-py) var(--tooltip-px);
|
|
23
|
-
z-index: var(--z-index-20);
|
|
24
|
-
width: max-content;
|
|
24
|
+
inline-size: max-content;
|
|
25
25
|
position: absolute;
|
|
26
26
|
pointer-events: none;
|
|
27
27
|
}
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
&::before {
|
|
31
31
|
--tw-translate-x: -50%;
|
|
32
32
|
|
|
33
|
-
margin-block: var(--tooltip-margin-block);
|
|
33
|
+
margin-block: var(--x-tooltip-margin-block);
|
|
34
34
|
inset-inline-start: 50%;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
&::before {
|
|
40
40
|
--tw-translate-y: -50%;
|
|
41
41
|
|
|
42
|
-
margin-inline: var(--tooltip-margin-inline);
|
|
42
|
+
margin-inline: var(--x-tooltip-margin-inline);
|
|
43
43
|
inset-block-start: 50%;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
&:not(:hover, :focus)::before {
|
|
76
|
-
--tw-scale-x: var(--tooltip-scale-x);
|
|
77
|
-
--tw-scale-y: var(--tooltip-scale-y);
|
|
76
|
+
--tw-scale-x: var(--x-tooltip-scale-x);
|
|
77
|
+
--tw-scale-y: var(--x-tooltip-scale-y);
|
|
78
78
|
--tw-opacity: 0;
|
|
79
79
|
--tw-visibility: hidden;
|
|
80
80
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@import "default
|
|
1
|
+
@import "props/default.css";
|
|
2
2
|
@import "default.css";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
:root, :host {
|
|
2
|
+
--x-tooltip-background-color: var(--color-main);
|
|
3
|
+
--x-tooltip-color: var(--color-main-foreground);
|
|
4
|
+
--x-tooltip-border-radius: var(--radius-md);
|
|
5
|
+
--x-tooltip-font-size: var(--font-size-sm);
|
|
6
|
+
--x-tooltip-padding-block: var(--spacing-xs);
|
|
7
|
+
--x-tooltip-padding-inline: var(--spacing-sm);
|
|
8
|
+
--x-tooltip-margin-block: var(--spacing-xs);
|
|
9
|
+
--x-tooltip-margin-inline: var(--spacing-xs);
|
|
10
|
+
--x-tooltip-scale-x: 0.75;
|
|
11
|
+
--x-tooltip-scale-y: 0.75;
|
|
12
|
+
}
|
|
@@ -14,8 +14,8 @@ Include CSS either globally or to your component _([you can't use TailwindCSS la
|
|
|
14
14
|
or modular (you can use your own props or CSS)
|
|
15
15
|
|
|
16
16
|
```css
|
|
17
|
+
@import "winduum/src/components/tooltip/props/default.css" layer(components);
|
|
17
18
|
@import "winduum/src/components/tooltip/default.css" layer(components);
|
|
18
|
-
@import "winduum/src/components/tooltip/default-props.css" layer(components);
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
### Local imports
|
|
@@ -23,7 +23,7 @@ By default, imports are directly from `npm` so you can leverage updates.
|
|
|
23
23
|
You can also copy and paste the code from this directory to your project and remap the imports to local.
|
|
24
24
|
|
|
25
25
|
```css
|
|
26
|
-
@import "@/components/
|
|
26
|
+
@import "@/components/tooltip/assets/index.css" layer(components);
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
### Docs
|
|
@@ -6,19 +6,29 @@
|
|
|
6
6
|
align-self: stretch;
|
|
7
7
|
|
|
8
8
|
&:where(:not(:empty)) {
|
|
9
|
-
gap: var(--spacing-md);
|
|
9
|
+
gap: var(--divider-gap, var(--spacing-md));
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
&::before, &::after {
|
|
13
13
|
content: "";
|
|
14
14
|
flex-grow: 1;
|
|
15
|
-
border-block-start:
|
|
15
|
+
border-block-start:
|
|
16
|
+
1px solid color-mix(
|
|
17
|
+
in var(--divider-border-block-color-space, srgb),
|
|
18
|
+
var(--divider-border-block-color, var(--color-accent)) var(--divider-border-block-color-opacity, 15%),
|
|
19
|
+
var(--divider-border-block-color-mix, transparent)
|
|
20
|
+
);
|
|
16
21
|
}
|
|
17
22
|
|
|
18
23
|
&:where(.flex-col) {
|
|
19
24
|
&::before, &::after {
|
|
20
25
|
border-block-start: 0;
|
|
21
|
-
border-inline-start:
|
|
26
|
+
border-inline-start:
|
|
27
|
+
1px solid color-mix(
|
|
28
|
+
in var(--divider-border-inline-color-space, srgb),
|
|
29
|
+
var(--divider-border-inline-color, var(--color-accent)) var(--divider-border-inline-color-opacity, 15%),
|
|
30
|
+
var(--divider-border-inline-color-mix, transparent)
|
|
31
|
+
);
|
|
22
32
|
}
|
|
23
33
|
}
|
|
24
34
|
}
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
.ripple {
|
|
2
|
-
|
|
2
|
+
inline-size: var(--ripple-size, 2rem);
|
|
3
|
+
block-size: var(--ripple-size, 2rem);
|
|
4
|
+
background-color:
|
|
5
|
+
color-mix(
|
|
6
|
+
in var(--ripple-background-color-space, srgb),
|
|
7
|
+
var(--ripple-background-color, currentColor) var(--ripple-background-color-opacity, 40%),
|
|
8
|
+
var(--ripple-background-color-mix, transparent)
|
|
9
|
+
);
|
|
10
|
+
animation-duration: var(--ripple-animation-duration, 1s);
|
|
3
11
|
position: absolute;
|
|
4
12
|
border-radius: 50%;
|
|
5
13
|
transform: scale(0);
|
|
6
|
-
animation-duration: 1s;
|
|
7
14
|
pointer-events: none;
|
|
8
|
-
width: 2rem;
|
|
9
|
-
height: 2rem;
|
|
10
15
|
}
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
.skeleton {
|
|
2
|
-
background:
|
|
2
|
+
background:
|
|
3
|
+
linear-gradient(
|
|
4
|
+
to right,
|
|
5
|
+
var(--skeleton-gradient-from),
|
|
6
|
+
var(--skeleton-gradient-to),
|
|
7
|
+
var(--skeleton-gradient-to),
|
|
8
|
+
var(--skeleton-gradient-from)
|
|
9
|
+
);
|
|
3
10
|
opacity: var(--skeleton-opacity);
|
|
4
11
|
transition: var(--transition-opacity);
|
|
5
12
|
animation: move-indeterminate 1.5s linear infinite;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
:root, :host {
|
|
2
|
-
--skeleton-opacity:
|
|
3
|
-
--skeleton-from: color-mix(in var(--default-color-space), var(--color-body) 50%, var(--color-main));
|
|
4
|
-
--skeleton-to: color-mix(in var(--default-color-space), var(--color-body) 80%, var(--color-main));
|
|
2
|
+
--skeleton-opacity: 50%;
|
|
3
|
+
--skeleton-gradient-from: color-mix(in var(--default-color-space), var(--color-body) 50%, var(--color-main));
|
|
4
|
+
--skeleton-gradient-to: color-mix(in var(--default-color-space), var(--color-body) 80%, var(--color-main));
|
|
5
5
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
.swap {
|
|
2
|
-
display: inline-grid;
|
|
3
2
|
cursor: var(--cursor-pointer, pointer);
|
|
3
|
+
display: inline-grid;
|
|
4
4
|
|
|
5
5
|
> :where(*) {
|
|
6
6
|
transition-property: var(--default-transition-property);
|
|
7
7
|
transition-timing-function: var(--transition-timing-function-in-out);
|
|
8
8
|
transition-duration: var(--default-transition-duration);
|
|
9
9
|
grid-area: 1/-1;
|
|
10
|
-
opacity: 0
|
|
10
|
+
opacity: 0%;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
> [aria-hidden="false"],
|
|
@@ -15,6 +15,6 @@
|
|
|
15
15
|
input:indeterminate ~ :where(*:nth-last-child(2)),
|
|
16
16
|
input:checked ~ :where(*:last-child) {
|
|
17
17
|
transform: none;
|
|
18
|
-
opacity:
|
|
18
|
+
opacity: 100%;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
:root, :host {
|
|
2
|
-
--check-size: 1.25rem;
|
|
3
|
-
--check-icon-size: 1.125rem;
|
|
4
|
-
--check-icon: var(--mask-check);
|
|
5
|
-
--check-gap: var(--spacing-md);
|
|
6
|
-
--check-font-size: var(--font-size-sm);
|
|
7
|
-
--check-line-height: calc(1em + 0.25rem);
|
|
8
|
-
--check-border-radius: var(--radius-md);
|
|
9
|
-
--check-border-width: 1px;
|
|
10
|
-
--check-bg: currentColor;
|
|
11
|
-
--check-border-color: currentColor;
|
|
12
|
-
--check-outline-width: 3px;
|
|
13
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
:root, :host {
|
|
2
|
-
--color-primary: currentColor;
|
|
3
|
-
--color-secondary: transparent;
|
|
4
|
-
--color-size: 1.75rem;
|
|
5
|
-
--color-p: var(--spacing-xs);
|
|
6
|
-
--color-border-width: 2px;
|
|
7
|
-
--color-border-color: currentColor;
|
|
8
|
-
--color-border-radius: var(--radius-full);
|
|
9
|
-
--color-outline-width: 3px;
|
|
10
|
-
--color-outline-color: var(--color-border-color);
|
|
11
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
:root, :host {
|
|
2
|
-
--control-height: 3rem;
|
|
3
|
-
--control-height-textarea: 8rem;
|
|
4
|
-
--control-px: 0.75rem;
|
|
5
|
-
--control-py: 0.75rem;
|
|
6
|
-
--control-border-width: 1px;
|
|
7
|
-
--control-font-weight: var(--font-weight-medium);
|
|
8
|
-
--control-font-size: var(--font-size-sm);
|
|
9
|
-
--control-bg: transparent;
|
|
10
|
-
--control-color: currentColor;
|
|
11
|
-
--control-border-radius: var(--radius);
|
|
12
|
-
--control-border-color: currentColor;
|
|
13
|
-
--control-outline-width: 3px;
|
|
14
|
-
--control-placeholder-color: currentColor;
|
|
15
|
-
--control-placeholder-opacity: 0.5;
|
|
16
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
:root, :host {
|
|
2
|
-
--popover-content-bg: var(--color-body-primary);
|
|
3
|
-
--popover-content-border-radius: var(--radius);
|
|
4
|
-
--popover-content-py: var(--spacing-sm);
|
|
5
|
-
--popover-content-px: var(--spacing-sm);
|
|
6
|
-
--popover-content-scale-y: 0.75;
|
|
7
|
-
--popover-content-scale-x: 0.75;
|
|
8
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
:root, :host {
|
|
2
|
-
--range-track-height: 0.375rem;
|
|
3
|
-
--range-thumb-size: 1.125rem;
|
|
4
|
-
--range-thumb-border-width: 0;
|
|
5
|
-
--range-thumb-outline-width: 2px;
|
|
6
|
-
--range-thumb-outline-opacity: 0;
|
|
7
|
-
--range-thumb-focus-outline-opacity: 0.5;
|
|
8
|
-
--range-track-start: 0%;
|
|
9
|
-
--range-track-end: 100%;
|
|
10
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
:root, :host {
|
|
2
|
-
--switch-width: 3rem;
|
|
3
|
-
--switch-height: 1.5rem;
|
|
4
|
-
--switch-icon-size: 1.125rem;
|
|
5
|
-
--switch-font-weight: var(--font-weight-normal);
|
|
6
|
-
--switch-font-size: var(--font-size-sm);
|
|
7
|
-
--switch-line-height: calc(1em + 0.25rem);
|
|
8
|
-
--switch-gap: 0.75rem;
|
|
9
|
-
--switch-border-radius: var(--radius-full);
|
|
10
|
-
--switch-bg: currentColor;
|
|
11
|
-
--switch-outline-width: 2px;
|
|
12
|
-
--switch-outline-color: currentColor;
|
|
13
|
-
|
|
14
|
-
&.dark {
|
|
15
|
-
--switch-bg: var(--color-body-tertiary);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
:root, :host {
|
|
2
|
-
--text-content-bold: var(--font-weight-semibold);
|
|
3
|
-
--text-content-my: var(--spacing-xl);
|
|
4
|
-
--text-content-marker-size: 0.375em;
|
|
5
|
-
--text-line-height: calc(1em + 0.75rem);
|
|
6
|
-
--text-hr-my: 3em;
|
|
7
|
-
--text-heading-line-height: calc(1em + 0.375rem);
|
|
8
|
-
--text-heading-my: 1.5em 0.5em;
|
|
9
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
:root, :host {
|
|
2
|
-
--tooltip-bg: var(--color-main);
|
|
3
|
-
--tooltip-color: var(--color-main-foreground);
|
|
4
|
-
--tooltip-border-radius: var(--radius-md);
|
|
5
|
-
--tooltip-font-size: var(--font-size-sm);
|
|
6
|
-
--tooltip-py: var(--spacing-xs);
|
|
7
|
-
--tooltip-px: var(--spacing-sm);
|
|
8
|
-
--tooltip-margin-block: var(--spacing-xs);
|
|
9
|
-
--tooltip-margin-inline: var(--spacing-xs);
|
|
10
|
-
--tooltip-scale-x: 0.75;
|
|
11
|
-
--tooltip-scale-y: 0.75;
|
|
12
|
-
}
|