@ngx-ui-sdk/themes 0.0.0-stage → 0.2.1
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/LICENSE +202 -0
- package/README.md +93 -2
- package/daisyui/accordion.css +101 -0
- package/daisyui/alert-dialog.css +85 -0
- package/daisyui/all.css +57 -0
- package/daisyui/autocomplete.css +216 -0
- package/daisyui/avatar.css +38 -0
- package/daisyui/base.css +5549 -0
- package/daisyui/button.css +8 -0
- package/daisyui/calendar.css +239 -0
- package/daisyui/carousel.css +159 -0
- package/daisyui/checkbox.css +143 -0
- package/daisyui/collapsible.css +202 -0
- package/daisyui/color-picker.css +187 -0
- package/daisyui/combobox.css +504 -0
- package/daisyui/command.css +198 -0
- package/daisyui/date-input.css +74 -0
- package/daisyui/date-picker.css +171 -0
- package/daisyui/dialog.css +175 -0
- package/daisyui/drawer.css +227 -0
- package/daisyui/field.css +73 -0
- package/daisyui/file-input.css +175 -0
- package/daisyui/hover-card.css +42 -0
- package/daisyui/image-cropper.css +153 -0
- package/daisyui/input.css +19 -0
- package/daisyui/label.css +9 -0
- package/daisyui/listbox.css +154 -0
- package/daisyui/menu.css +225 -0
- package/daisyui/menubar.css +58 -0
- package/daisyui/meter.css +42 -0
- package/daisyui/navigation-menu.css +292 -0
- package/daisyui/number-input.css +135 -0
- package/daisyui/otp-input.css +123 -0
- package/daisyui/pagination.css +81 -0
- package/daisyui/palettes/abyss.css +27 -0
- package/daisyui/palettes/acid.css +27 -0
- package/daisyui/palettes/aqua.css +27 -0
- package/daisyui/palettes/autumn.css +27 -0
- package/daisyui/palettes/black.css +27 -0
- package/daisyui/palettes/bumblebee.css +27 -0
- package/daisyui/palettes/business.css +27 -0
- package/daisyui/palettes/caramellatte.css +27 -0
- package/daisyui/palettes/cmyk.css +27 -0
- package/daisyui/palettes/coffee.css +27 -0
- package/daisyui/palettes/corporate.css +27 -0
- package/daisyui/palettes/cupcake.css +27 -0
- package/daisyui/palettes/cyberpunk.css +27 -0
- package/daisyui/palettes/dim.css +27 -0
- package/daisyui/palettes/dracula.css +27 -0
- package/daisyui/palettes/emerald.css +27 -0
- package/daisyui/palettes/fantasy.css +27 -0
- package/daisyui/palettes/forest.css +27 -0
- package/daisyui/palettes/garden.css +27 -0
- package/daisyui/palettes/halloween.css +27 -0
- package/daisyui/palettes/lemonade.css +27 -0
- package/daisyui/palettes/lofi.css +27 -0
- package/daisyui/palettes/luxury.css +27 -0
- package/daisyui/palettes/night.css +27 -0
- package/daisyui/palettes/nord.css +27 -0
- package/daisyui/palettes/pastel.css +27 -0
- package/daisyui/palettes/retro.css +27 -0
- package/daisyui/palettes/silk.css +27 -0
- package/daisyui/palettes/sunset.css +27 -0
- package/daisyui/palettes/synthwave.css +27 -0
- package/daisyui/palettes/valentine.css +27 -0
- package/daisyui/palettes/winter.css +27 -0
- package/daisyui/palettes/wireframe.css +27 -0
- package/daisyui/password-input.css +59 -0
- package/daisyui/popover.css +108 -0
- package/daisyui/preferences.css +61 -0
- package/daisyui/progress.css +68 -0
- package/daisyui/radio.css +180 -0
- package/daisyui/rating.css +56 -0
- package/daisyui/resizable.css +147 -0
- package/daisyui/scroll-area.css +220 -0
- package/daisyui/segmented-control.css +83 -0
- package/daisyui/select.css +351 -0
- package/daisyui/separator.css +59 -0
- package/daisyui/slider.css +184 -0
- package/daisyui/switch.css +124 -0
- package/daisyui/tabs.css +172 -0
- package/daisyui/textarea.css +8 -0
- package/daisyui/timeline.css +137 -0
- package/daisyui/toast.css +219 -0
- package/daisyui/toggle.css +153 -0
- package/daisyui/token-input.css +215 -0
- package/daisyui/tokens/base.json +359 -0
- package/daisyui/tokens/dark.json +171 -0
- package/daisyui/tokens/light.json +171 -0
- package/daisyui/tokens.css +60 -0
- package/daisyui/toolbar.css +219 -0
- package/daisyui/tooltip.css +166 -0
- package/daisyui/tree.css +241 -0
- package/daisyui/trigger-menu.css +99 -0
- package/daisyui/waterfall.css +221 -0
- package/default/accordion.css +101 -0
- package/default/alert-dialog.css +85 -0
- package/default/all.css +57 -0
- package/default/autocomplete.css +216 -0
- package/default/avatar.css +38 -0
- package/default/base.css +5357 -0
- package/default/button.css +8 -0
- package/default/calendar.css +239 -0
- package/default/carousel.css +159 -0
- package/default/checkbox.css +143 -0
- package/default/collapsible.css +202 -0
- package/default/color-picker.css +187 -0
- package/default/combobox.css +504 -0
- package/default/command.css +198 -0
- package/default/date-input.css +74 -0
- package/default/date-picker.css +171 -0
- package/default/dialog.css +175 -0
- package/default/drawer.css +227 -0
- package/default/field.css +73 -0
- package/default/file-input.css +175 -0
- package/default/hover-card.css +42 -0
- package/default/image-cropper.css +153 -0
- package/default/input.css +19 -0
- package/default/label.css +9 -0
- package/default/listbox.css +154 -0
- package/default/menu.css +225 -0
- package/default/menubar.css +58 -0
- package/default/meter.css +42 -0
- package/default/navigation-menu.css +292 -0
- package/default/number-input.css +135 -0
- package/default/otp-input.css +123 -0
- package/default/pagination.css +81 -0
- package/default/password-input.css +59 -0
- package/default/popover.css +108 -0
- package/default/preferences.css +61 -0
- package/default/progress.css +68 -0
- package/default/radio.css +180 -0
- package/default/rating.css +56 -0
- package/default/resizable.css +147 -0
- package/default/scroll-area.css +220 -0
- package/default/segmented-control.css +83 -0
- package/default/select.css +351 -0
- package/default/separator.css +59 -0
- package/default/slider.css +184 -0
- package/default/switch.css +124 -0
- package/default/tabs.css +172 -0
- package/default/textarea.css +8 -0
- package/default/timeline.css +137 -0
- package/default/toast.css +219 -0
- package/default/toggle.css +153 -0
- package/default/token-input.css +215 -0
- package/default/tokens/base.json +410 -0
- package/default/tokens/dark.json +151 -0
- package/default/tokens/light.json +151 -0
- package/default/tokens.css +63 -0
- package/default/toolbar.css +219 -0
- package/default/tooltip.css +166 -0
- package/default/tree.css +241 -0
- package/default/trigger-menu.css +99 -0
- package/default/waterfall.css +221 -0
- package/material/accordion.css +101 -0
- package/material/alert-dialog.css +92 -0
- package/material/all.css +57 -0
- package/material/autocomplete.css +216 -0
- package/material/avatar.css +38 -0
- package/material/base.css +5374 -0
- package/material/button.css +8 -0
- package/material/calendar.css +239 -0
- package/material/carousel.css +159 -0
- package/material/checkbox.css +143 -0
- package/material/collapsible.css +202 -0
- package/material/color-picker.css +187 -0
- package/material/combobox.css +504 -0
- package/material/command.css +198 -0
- package/material/date-input.css +74 -0
- package/material/date-picker.css +171 -0
- package/material/dialog.css +182 -0
- package/material/drawer.css +227 -0
- package/material/field.css +602 -0
- package/material/file-input.css +175 -0
- package/material/hover-card.css +42 -0
- package/material/image-cropper.css +153 -0
- package/material/input.css +19 -0
- package/material/label.css +9 -0
- package/material/listbox.css +154 -0
- package/material/menu.css +225 -0
- package/material/menubar.css +58 -0
- package/material/meter.css +42 -0
- package/material/navigation-menu.css +292 -0
- package/material/number-input.css +135 -0
- package/material/otp-input.css +123 -0
- package/material/pagination.css +81 -0
- package/material/palettes/amber.css +24 -0
- package/material/palettes/blue.css +24 -0
- package/material/palettes/green.css +24 -0
- package/material/palettes/indigo.css +24 -0
- package/material/palettes/orange.css +24 -0
- package/material/palettes/pink.css +24 -0
- package/material/palettes/red.css +24 -0
- package/material/palettes/teal.css +24 -0
- package/material/password-input.css +59 -0
- package/material/popover.css +108 -0
- package/material/preferences.css +61 -0
- package/material/progress.css +68 -0
- package/material/radio.css +180 -0
- package/material/rating.css +56 -0
- package/material/resizable.css +147 -0
- package/material/scroll-area.css +220 -0
- package/material/segmented-control.css +83 -0
- package/material/select.css +351 -0
- package/material/separator.css +59 -0
- package/material/slider.css +184 -0
- package/material/switch.css +124 -0
- package/material/tabs.css +195 -0
- package/material/textarea.css +8 -0
- package/material/timeline.css +137 -0
- package/material/toast.css +219 -0
- package/material/toggle.css +153 -0
- package/material/token-input.css +215 -0
- package/material/tokens/base.json +338 -0
- package/material/tokens/dark.json +184 -0
- package/material/tokens/light.json +184 -0
- package/material/tokens.css +62 -0
- package/material/toolbar.css +219 -0
- package/material/tooltip.css +166 -0
- package/material/tree.css +241 -0
- package/material/trigger-menu.css +99 -0
- package/material/waterfall.css +221 -0
- package/package.json +30 -4
- package/shadcn/accordion.css +101 -0
- package/shadcn/alert-dialog.css +85 -0
- package/shadcn/all.css +57 -0
- package/shadcn/autocomplete.css +216 -0
- package/shadcn/avatar.css +38 -0
- package/shadcn/base.css +5357 -0
- package/shadcn/button.css +8 -0
- package/shadcn/calendar.css +239 -0
- package/shadcn/carousel.css +159 -0
- package/shadcn/checkbox.css +143 -0
- package/shadcn/collapsible.css +202 -0
- package/shadcn/color-picker.css +187 -0
- package/shadcn/combobox.css +504 -0
- package/shadcn/command.css +198 -0
- package/shadcn/date-input.css +74 -0
- package/shadcn/date-picker.css +171 -0
- package/shadcn/dialog.css +175 -0
- package/shadcn/drawer.css +227 -0
- package/shadcn/field.css +73 -0
- package/shadcn/file-input.css +175 -0
- package/shadcn/hover-card.css +42 -0
- package/shadcn/image-cropper.css +153 -0
- package/shadcn/input.css +19 -0
- package/shadcn/label.css +9 -0
- package/shadcn/listbox.css +154 -0
- package/shadcn/menu.css +225 -0
- package/shadcn/menubar.css +58 -0
- package/shadcn/meter.css +42 -0
- package/shadcn/navigation-menu.css +292 -0
- package/shadcn/number-input.css +135 -0
- package/shadcn/otp-input.css +123 -0
- package/shadcn/pagination.css +81 -0
- package/shadcn/password-input.css +59 -0
- package/shadcn/popover.css +108 -0
- package/shadcn/preferences.css +61 -0
- package/shadcn/progress.css +68 -0
- package/shadcn/radio.css +180 -0
- package/shadcn/rating.css +56 -0
- package/shadcn/resizable.css +147 -0
- package/shadcn/scroll-area.css +220 -0
- package/shadcn/segmented-control.css +83 -0
- package/shadcn/select.css +351 -0
- package/shadcn/separator.css +59 -0
- package/shadcn/slider.css +184 -0
- package/shadcn/switch.css +124 -0
- package/shadcn/tabs.css +172 -0
- package/shadcn/textarea.css +8 -0
- package/shadcn/timeline.css +137 -0
- package/shadcn/toast.css +219 -0
- package/shadcn/toggle.css +153 -0
- package/shadcn/token-input.css +215 -0
- package/shadcn/tokens/base.json +395 -0
- package/shadcn/tokens/dark.json +177 -0
- package/shadcn/tokens/light.json +174 -0
- package/shadcn/tokens.css +61 -0
- package/shadcn/toolbar.css +219 -0
- package/shadcn/tooltip.css +166 -0
- package/shadcn/tree.css +241 -0
- package/shadcn/trigger-menu.css +99 -0
- package/shadcn/waterfall.css +221 -0
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
/* Generated by `node scripts/build-theme.mjs` from ui-sdk's example styles. */
|
|
2
|
+
@scope ([data-ui-theme]) {
|
|
3
|
+
[data-slot="number-input"] {
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
gap: var(--ui-space-2)
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
[data-slot="number-input"]:has(> [data-slot="number-input-scrub-area"] [data-slot="field-label"]) {
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
align-items: stretch
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
[data-slot="number-input"]:has(> [data-slot="number-input-scrub-area"] [data-slot="field-label"]) > [data-slot="number-input-scrub-area"] {
|
|
15
|
+
align-self: flex-start;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
[data-slot="number-input-group"] {
|
|
19
|
+
gap: 0;
|
|
20
|
+
padding: 3px
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
[data-slot="number-input-group"]:not(:has(button)) {
|
|
24
|
+
padding-inline: 10px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* Stacks of number fields shrink to their fields, so they stay centered. */
|
|
28
|
+
|
|
29
|
+
[data-slot="number-input-control"] {
|
|
30
|
+
flex: 1;
|
|
31
|
+
width: 100%;
|
|
32
|
+
min-width: 0;
|
|
33
|
+
height: 100%;
|
|
34
|
+
padding: 0 2px;
|
|
35
|
+
border: 0;
|
|
36
|
+
background: transparent;
|
|
37
|
+
color: inherit;
|
|
38
|
+
font: inherit;
|
|
39
|
+
font-weight: 500;
|
|
40
|
+
font-variant-numeric: tabular-nums;
|
|
41
|
+
text-align: center;
|
|
42
|
+
outline: none
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
[data-slot="number-input-control"]:disabled {
|
|
46
|
+
color: var(--ui-border-disabled);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
[data-slot="number-input-decrement"],
|
|
50
|
+
[data-slot="number-input-increment"] {
|
|
51
|
+
display: inline-grid;
|
|
52
|
+
flex-shrink: 0;
|
|
53
|
+
place-items: center;
|
|
54
|
+
box-sizing: border-box;
|
|
55
|
+
min-width: 28px;
|
|
56
|
+
height: 28px;
|
|
57
|
+
padding: 0 var(--ui-space-1);
|
|
58
|
+
border: 0;
|
|
59
|
+
border-radius: calc(var(--ui-radius-control) - 3px);
|
|
60
|
+
background: transparent;
|
|
61
|
+
color: var(--ui-muted-foreground);
|
|
62
|
+
font: inherit;
|
|
63
|
+
font-size: var(--ui-text-xs);
|
|
64
|
+
font-weight: 500;
|
|
65
|
+
user-select: none;
|
|
66
|
+
transition:
|
|
67
|
+
background-color 0.12s,
|
|
68
|
+
color 0.12s
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
[data-slot="number-input-decrement"]:hover:not([data-disabled]), [data-slot="number-input-increment"]:hover:not([data-disabled]) {
|
|
72
|
+
background: var(--ui-muted);
|
|
73
|
+
color: var(--ui-foreground);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
[data-slot="number-input-decrement"]:active:not([data-disabled]), [data-slot="number-input-increment"]:active:not([data-disabled]) {
|
|
77
|
+
background: var(--ui-muted);
|
|
78
|
+
box-shadow: inset 0 0 0 1px var(--ui-border-strong);
|
|
79
|
+
color: var(--ui-foreground);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
[data-slot="number-input-decrement"]:focus-visible, [data-slot="number-input-increment"]:focus-visible {
|
|
83
|
+
outline-offset: -3px;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
:is(
|
|
87
|
+
[data-slot="number-input-decrement"],
|
|
88
|
+
[data-slot="number-input-increment"]
|
|
89
|
+
)[data-disabled] {
|
|
90
|
+
color: var(--ui-border-disabled);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
[data-slot="number-input-decrement"] svg, [data-slot="number-input-increment"] svg {
|
|
94
|
+
width: 14px;
|
|
95
|
+
height: 14px;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
[data-slot="number-input-increment"]:not([data-at-bound]) > span,
|
|
99
|
+
[data-slot="number-input-increment"][data-at-bound] > svg:has(+ span) {
|
|
100
|
+
display: none;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
[data-slot="number-input-scrub-area"] {
|
|
104
|
+
display: inline-flex;
|
|
105
|
+
align-items: center;
|
|
106
|
+
gap: var(--ui-space-2);
|
|
107
|
+
color: var(--ui-muted-foreground);
|
|
108
|
+
cursor: ew-resize;
|
|
109
|
+
user-select: none
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
[data-slot="number-input-scrub-area"][data-orientation="vertical"] {
|
|
113
|
+
cursor: ns-resize;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
[data-slot="number-input-scrub-area"][data-scrubbing] {
|
|
117
|
+
color: var(--ui-foreground);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
[data-slot="number-input-scrub-area"] [data-slot="field-label"] {
|
|
121
|
+
cursor: inherit;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
[data-slot="number-input-scrub-area-cursor"] {
|
|
125
|
+
margin: -10px 0 0 -10px;
|
|
126
|
+
color: var(--ui-foreground)
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
[data-slot="number-input-scrub-area-cursor"] svg {
|
|
130
|
+
width: 20px;
|
|
131
|
+
height: 20px;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/* A design-tool inspector: a titled card with a 2×2 grid of compact fields, each led by a letter handle. */
|
|
135
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
/* Generated by `node scripts/build-theme.mjs` from ui-sdk's example styles. */
|
|
2
|
+
@scope ([data-ui-theme]) {
|
|
3
|
+
[data-slot="otp-input"] {
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
gap: var(--ui-space-2);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
/* Each demo, a field or a stack of them, sits centered in the preview. */
|
|
10
|
+
|
|
11
|
+
/* A field around a code takes the code's width, so its label, description and error line up with the slots. */
|
|
12
|
+
[data-slot="field"]:has(> [data-slot="otp-input"]) {
|
|
13
|
+
width: min-content;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/* The form's fields share one column as wide as the longest code, with the buttons below. */
|
|
17
|
+
|
|
18
|
+
/* Letters display in uppercase without changing the stored value. */
|
|
19
|
+
|
|
20
|
+
[data-slot="otp-input-group"] {
|
|
21
|
+
display: flex;
|
|
22
|
+
border-radius: var(--ui-radius-control)
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
[data-focused] > [data-slot="otp-input-group"] {
|
|
26
|
+
outline: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
[data-slot="otp-input-slot"] {
|
|
30
|
+
position: relative;
|
|
31
|
+
display: grid;
|
|
32
|
+
place-items: center;
|
|
33
|
+
box-sizing: border-box;
|
|
34
|
+
width: var(--ui-size-md);
|
|
35
|
+
height: var(--ui-size-md);
|
|
36
|
+
background: var(--ui-surface-1);
|
|
37
|
+
box-shadow: inset 0 0 0 1px var(--ui-input);
|
|
38
|
+
color: var(--ui-foreground);
|
|
39
|
+
font-size: var(--ui-text-md);
|
|
40
|
+
font-weight: 400;
|
|
41
|
+
font-variant-numeric: tabular-nums
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
[data-slot="otp-input-slot"] + [data-slot="otp-input-slot"] {
|
|
45
|
+
margin-inline-start: -1px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
[data-slot="otp-input-slot"]:first-child {
|
|
49
|
+
border-start-start-radius: var(--ui-radius-control);
|
|
50
|
+
border-end-start-radius: var(--ui-radius-control);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
[data-slot="otp-input-slot"]:last-child {
|
|
54
|
+
border-start-end-radius: var(--ui-radius-control);
|
|
55
|
+
border-end-end-radius: var(--ui-radius-control);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
[data-slot="otp-input"]:hover:not(
|
|
59
|
+
[data-focused],
|
|
60
|
+
[data-disabled],
|
|
61
|
+
:has([readonly], [aria-invalid="true"])
|
|
62
|
+
)
|
|
63
|
+
[data-slot="otp-input-slot"] {
|
|
64
|
+
box-shadow: inset 0 0 0 1px
|
|
65
|
+
color-mix(in oklab, var(--ui-border-strong) 45%, var(--ui-surface-1));
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
[data-slot="otp-input-slot"][data-active] {
|
|
69
|
+
z-index: 1;
|
|
70
|
+
outline: 3px solid var(--ui-ring);
|
|
71
|
+
outline-offset: 0;
|
|
72
|
+
box-shadow: inset 0 0 0 1px var(--ui-border-strong);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
[data-slot="otp-input-slot"][data-fake-caret]:empty::after,
|
|
76
|
+
[data-slot="otp-input-slot"] > span:empty {
|
|
77
|
+
content: "";
|
|
78
|
+
width: 1px;
|
|
79
|
+
height: var(--ui-size-icon);
|
|
80
|
+
background: var(--ui-primary);
|
|
81
|
+
animation: otp-input-caret 1s step-end infinite;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
[data-slot="otp-input"]:has([readonly]) [data-slot="otp-input-slot"] {
|
|
85
|
+
box-shadow: inset 0 0 0 1px var(--ui-border);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
[data-slot="otp-input"]:has([aria-invalid="true"]) [data-slot="otp-input-slot"] {
|
|
89
|
+
box-shadow: inset 0 0 0 1px var(--ui-destructive)
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
[data-slot="otp-input"]:has([aria-invalid="true"]) [data-slot="otp-input-slot"][data-active] {
|
|
93
|
+
outline-color: color-mix(in oklab, var(--ui-destructive) 20%, transparent);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
[data-slot="otp-input-slot"][data-disabled] {
|
|
97
|
+
background-color: var(--ui-muted);
|
|
98
|
+
box-shadow: inset 0 0 0 1px var(--ui-border);
|
|
99
|
+
color: var(--ui-border-disabled);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
[data-slot="otp-input-separator"] {
|
|
103
|
+
display: flex;
|
|
104
|
+
color: var(--ui-muted-foreground)
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
[data-slot="otp-input-separator"][data-disabled] {
|
|
108
|
+
color: var(--ui-border-disabled);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
@media (prefers-reduced-motion: reduce) {
|
|
112
|
+
[data-slot="otp-input-slot"]::after,
|
|
113
|
+
[data-slot="otp-input-slot"] > span {
|
|
114
|
+
animation: none;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
@keyframes otp-input-caret {
|
|
120
|
+
50% {
|
|
121
|
+
opacity: 0;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/* Generated by `node scripts/build-theme.mjs` from ui-sdk's example styles. */
|
|
2
|
+
@scope ([data-ui-theme]) {
|
|
3
|
+
/* A table footer: the summary and page size on one line, the pages centered below. */
|
|
4
|
+
|
|
5
|
+
[data-slot="pagination-list"] {
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: row;
|
|
8
|
+
flex-wrap: wrap;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
gap: var(--ui-space-1);
|
|
12
|
+
margin: 0;
|
|
13
|
+
padding: 0;
|
|
14
|
+
list-style: none;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/* A pill track: the current page widens to name itself, and the steps show the page they go to. */
|
|
18
|
+
|
|
19
|
+
[data-slot="pagination-item"]:not(:has(*)) {
|
|
20
|
+
padding-inline: var(--ui-space-2);
|
|
21
|
+
color: var(--ui-muted-foreground);
|
|
22
|
+
font-variant-numeric: tabular-nums;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
[data-slot="pagination-first"],
|
|
26
|
+
[data-slot="pagination-last"],
|
|
27
|
+
[data-slot="pagination-link"],
|
|
28
|
+
[data-slot="pagination-next"],
|
|
29
|
+
[data-slot="pagination-previous"] {
|
|
30
|
+
min-width: var(--ui-size-md);
|
|
31
|
+
padding-inline: var(--ui-space-2);
|
|
32
|
+
font-variant-numeric: tabular-nums;
|
|
33
|
+
text-decoration: none
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
[data-slot="pagination-first"]:is([aria-current="page"], [data-current], [data-active]), [data-slot="pagination-last"]:is([aria-current="page"], [data-current], [data-active]), [data-slot="pagination-link"]:is([aria-current="page"], [data-current], [data-active]), [data-slot="pagination-next"]:is([aria-current="page"], [data-current], [data-active]), [data-slot="pagination-previous"]:is([aria-current="page"], [data-current], [data-active]) {
|
|
37
|
+
background: var(--ui-surface-1);
|
|
38
|
+
box-shadow:
|
|
39
|
+
inset 0 0 0 1px var(--ui-border-strong),
|
|
40
|
+
var(--ui-shadow-drop);
|
|
41
|
+
color: var(--ui-foreground);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
[data-slot="pagination-previous"]:has(
|
|
45
|
+
> :not(svg, [data-slot="visually-hidden"])
|
|
46
|
+
), [data-slot="pagination-next"]:has(
|
|
47
|
+
> :not(svg, [data-slot="visually-hidden"])
|
|
48
|
+
) {
|
|
49
|
+
gap: 6px;
|
|
50
|
+
padding-inline: 10px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
[data-slot="pagination-ellipsis"] {
|
|
54
|
+
display: inline-grid;
|
|
55
|
+
place-items: center;
|
|
56
|
+
width: var(--ui-size-md);
|
|
57
|
+
height: var(--ui-size-md);
|
|
58
|
+
color: var(--ui-muted-foreground);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* On a phone, a full range fits one line: tighter steps and links, and the custom track drops its step numbers. */
|
|
62
|
+
@media (width < 40rem) {
|
|
63
|
+
[data-slot="pagination-list"] {
|
|
64
|
+
flex-wrap: nowrap;
|
|
65
|
+
gap: 0;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
[data-slot="pagination-first"],
|
|
69
|
+
[data-slot="pagination-last"],
|
|
70
|
+
[data-slot="pagination-link"],
|
|
71
|
+
[data-slot="pagination-next"],
|
|
72
|
+
[data-slot="pagination-previous"] {
|
|
73
|
+
min-width: 30px;
|
|
74
|
+
padding-inline: 4px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
[data-slot="pagination-ellipsis"] {
|
|
78
|
+
width: 24px;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* Generated by `node scripts/build-theme.mjs` from ui-sdk's example styles. */
|
|
2
|
+
:where([data-ui-palette="amber"]),
|
|
3
|
+
:where([data-ui-palette="amber"] [data-ui-theme]),
|
|
4
|
+
:where([data-ui-palette="amber"] [data-ui-tokens]),
|
|
5
|
+
:where([data-ui-palette="amber"]) [data-color-scheme] {
|
|
6
|
+
--ui-background: light-dark(#fff8f2, #17130b);
|
|
7
|
+
--ui-foreground: light-dark(#1f1b13, #ebe1d4);
|
|
8
|
+
--ui-surface-1: light-dark(#fff8f2, #17130b);
|
|
9
|
+
--ui-surface-2: light-dark(#f6ecdf, #231f17);
|
|
10
|
+
--ui-surface-3: light-dark(#f1e7d9, #2e2921);
|
|
11
|
+
--ui-muted: light-dark(rgb(31 27 19 / 0.08), rgb(235 225 212 / 0.08));
|
|
12
|
+
--ui-muted-foreground: light-dark(#4d4639, #d0c5b4);
|
|
13
|
+
--ui-primary: light-dark(#775a0b, #e9c16c);
|
|
14
|
+
--ui-primary-foreground: light-dark(#ffffff, #3f2e00);
|
|
15
|
+
--ui-ring: light-dark(rgb(119 90 11 / 0.4), rgb(233 193 108 / 0.4));
|
|
16
|
+
--ui-input: light-dark(#7f7667, #998f80);
|
|
17
|
+
--ui-border: light-dark(#d0c5b4, #4d4639);
|
|
18
|
+
--ui-border-strong: light-dark(#7f7667, #998f80);
|
|
19
|
+
--ui-border-disabled: light-dark(rgb(31 27 19 / 0.38), rgb(235 225 212 / 0.38));
|
|
20
|
+
--ui-destructive: light-dark(#ba1a1a, #ffb4ab);
|
|
21
|
+
--ui-destructive-muted: light-dark(#ffdad6, #93000a);
|
|
22
|
+
--ui-overlay: rgb(0 0 0 / 0.32);
|
|
23
|
+
--ui-field: light-dark(#ebe1d4, #39342b);
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* Generated by `node scripts/build-theme.mjs` from ui-sdk's example styles. */
|
|
2
|
+
:where([data-ui-palette="blue"]),
|
|
3
|
+
:where([data-ui-palette="blue"] [data-ui-theme]),
|
|
4
|
+
:where([data-ui-palette="blue"] [data-ui-tokens]),
|
|
5
|
+
:where([data-ui-palette="blue"]) [data-color-scheme] {
|
|
6
|
+
--ui-background: light-dark(#f8f9ff, #111418);
|
|
7
|
+
--ui-foreground: light-dark(#191c20, #e1e2e8);
|
|
8
|
+
--ui-surface-1: light-dark(#f8f9ff, #111418);
|
|
9
|
+
--ui-surface-2: light-dark(#eceef4, #1d2024);
|
|
10
|
+
--ui-surface-3: light-dark(#e6e8ee, #272a2f);
|
|
11
|
+
--ui-muted: light-dark(rgb(25 28 32 / 0.08), rgb(225 226 232 / 0.08));
|
|
12
|
+
--ui-muted-foreground: light-dark(#43474e, #c3c7cf);
|
|
13
|
+
--ui-primary: light-dark(#36618e, #a0cafd);
|
|
14
|
+
--ui-primary-foreground: light-dark(#ffffff, #003258);
|
|
15
|
+
--ui-ring: light-dark(rgb(54 97 142 / 0.4), rgb(160 202 253 / 0.4));
|
|
16
|
+
--ui-input: light-dark(#73777f, #8d9199);
|
|
17
|
+
--ui-border: light-dark(#c3c7cf, #43474e);
|
|
18
|
+
--ui-border-strong: light-dark(#73777f, #8d9199);
|
|
19
|
+
--ui-border-disabled: light-dark(rgb(25 28 32 / 0.38), rgb(225 226 232 / 0.38));
|
|
20
|
+
--ui-destructive: light-dark(#ba1a1a, #ffb4ab);
|
|
21
|
+
--ui-destructive-muted: light-dark(#ffdad6, #93000a);
|
|
22
|
+
--ui-overlay: rgb(0 0 0 / 0.32);
|
|
23
|
+
--ui-field: light-dark(#e1e2e8, #32353a);
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* Generated by `node scripts/build-theme.mjs` from ui-sdk's example styles. */
|
|
2
|
+
:where([data-ui-palette="green"]),
|
|
3
|
+
:where([data-ui-palette="green"] [data-ui-theme]),
|
|
4
|
+
:where([data-ui-palette="green"] [data-ui-tokens]),
|
|
5
|
+
:where([data-ui-palette="green"]) [data-color-scheme] {
|
|
6
|
+
--ui-background: light-dark(#f7fbf1, #10140f);
|
|
7
|
+
--ui-foreground: light-dark(#191d17, #e0e4db);
|
|
8
|
+
--ui-surface-1: light-dark(#f7fbf1, #10140f);
|
|
9
|
+
--ui-surface-2: light-dark(#ecefe6, #1d211b);
|
|
10
|
+
--ui-surface-3: light-dark(#e6e9e0, #272b25);
|
|
11
|
+
--ui-muted: light-dark(rgb(25 29 23 / 0.08), rgb(224 228 219 / 0.08));
|
|
12
|
+
--ui-muted-foreground: light-dark(#424940, #c2c9bd);
|
|
13
|
+
--ui-primary: light-dark(#3b6939, #a1d39a);
|
|
14
|
+
--ui-primary-foreground: light-dark(#ffffff, #0a390f);
|
|
15
|
+
--ui-ring: light-dark(rgb(59 105 57 / 0.4), rgb(161 211 154 / 0.4));
|
|
16
|
+
--ui-input: light-dark(#72796f, #8c9388);
|
|
17
|
+
--ui-border: light-dark(#c2c9bd, #424940);
|
|
18
|
+
--ui-border-strong: light-dark(#72796f, #8c9388);
|
|
19
|
+
--ui-border-disabled: light-dark(rgb(25 29 23 / 0.38), rgb(224 228 219 / 0.38));
|
|
20
|
+
--ui-destructive: light-dark(#ba1a1a, #ffb4ab);
|
|
21
|
+
--ui-destructive-muted: light-dark(#ffdad6, #93000a);
|
|
22
|
+
--ui-overlay: rgb(0 0 0 / 0.32);
|
|
23
|
+
--ui-field: light-dark(#e0e4db, #323630);
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* Generated by `node scripts/build-theme.mjs` from ui-sdk's example styles. */
|
|
2
|
+
:where([data-ui-palette="indigo"]),
|
|
3
|
+
:where([data-ui-palette="indigo"] [data-ui-theme]),
|
|
4
|
+
:where([data-ui-palette="indigo"] [data-ui-tokens]),
|
|
5
|
+
:where([data-ui-palette="indigo"]) [data-color-scheme] {
|
|
6
|
+
--ui-background: light-dark(#fbf8ff, #121318);
|
|
7
|
+
--ui-foreground: light-dark(#1b1b21, #e4e1e9);
|
|
8
|
+
--ui-surface-1: light-dark(#fbf8ff, #121318);
|
|
9
|
+
--ui-surface-2: light-dark(#efedf4, #1f1f25);
|
|
10
|
+
--ui-surface-3: light-dark(#e9e7ef, #29292f);
|
|
11
|
+
--ui-muted: light-dark(rgb(27 27 33 / 0.08), rgb(228 225 233 / 0.08));
|
|
12
|
+
--ui-muted-foreground: light-dark(#46464f, #c7c5d0);
|
|
13
|
+
--ui-primary: light-dark(#515b92, #bac3ff);
|
|
14
|
+
--ui-primary-foreground: light-dark(#ffffff, #222c61);
|
|
15
|
+
--ui-ring: light-dark(rgb(81 91 146 / 0.4), rgb(186 195 255 / 0.4));
|
|
16
|
+
--ui-input: light-dark(#767680, #90909a);
|
|
17
|
+
--ui-border: light-dark(#c7c5d0, #46464f);
|
|
18
|
+
--ui-border-strong: light-dark(#767680, #90909a);
|
|
19
|
+
--ui-border-disabled: light-dark(rgb(27 27 33 / 0.38), rgb(228 225 233 / 0.38));
|
|
20
|
+
--ui-destructive: light-dark(#ba1a1a, #ffb4ab);
|
|
21
|
+
--ui-destructive-muted: light-dark(#ffdad6, #93000a);
|
|
22
|
+
--ui-overlay: rgb(0 0 0 / 0.32);
|
|
23
|
+
--ui-field: light-dark(#e4e1e9, #34343a);
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* Generated by `node scripts/build-theme.mjs` from ui-sdk's example styles. */
|
|
2
|
+
:where([data-ui-palette="orange"]),
|
|
3
|
+
:where([data-ui-palette="orange"] [data-ui-theme]),
|
|
4
|
+
:where([data-ui-palette="orange"] [data-ui-tokens]),
|
|
5
|
+
:where([data-ui-palette="orange"]) [data-color-scheme] {
|
|
6
|
+
--ui-background: light-dark(#fff8f5, #19120c);
|
|
7
|
+
--ui-foreground: light-dark(#211a14, #efe0d5);
|
|
8
|
+
--ui-surface-1: light-dark(#fff8f5, #19120c);
|
|
9
|
+
--ui-surface-2: light-dark(#faebe0, #261e18);
|
|
10
|
+
--ui-surface-3: light-dark(#f4e5db, #302822);
|
|
11
|
+
--ui-muted: light-dark(rgb(33 26 20 / 0.08), rgb(239 224 213 / 0.08));
|
|
12
|
+
--ui-muted-foreground: light-dark(#51453a, #d5c3b5);
|
|
13
|
+
--ui-primary: light-dark(#855318, #fdb975);
|
|
14
|
+
--ui-primary-foreground: light-dark(#ffffff, #4a2800);
|
|
15
|
+
--ui-ring: light-dark(rgb(133 83 24 / 0.4), rgb(253 185 117 / 0.4));
|
|
16
|
+
--ui-input: light-dark(#837468, #9d8e81);
|
|
17
|
+
--ui-border: light-dark(#d5c3b5, #51453a);
|
|
18
|
+
--ui-border-strong: light-dark(#837468, #9d8e81);
|
|
19
|
+
--ui-border-disabled: light-dark(rgb(33 26 20 / 0.38), rgb(239 224 213 / 0.38));
|
|
20
|
+
--ui-destructive: light-dark(#ba1a1a, #ffb4ab);
|
|
21
|
+
--ui-destructive-muted: light-dark(#ffdad6, #93000a);
|
|
22
|
+
--ui-overlay: rgb(0 0 0 / 0.32);
|
|
23
|
+
--ui-field: light-dark(#efe0d5, #3c332c);
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* Generated by `node scripts/build-theme.mjs` from ui-sdk's example styles. */
|
|
2
|
+
:where([data-ui-palette="pink"]),
|
|
3
|
+
:where([data-ui-palette="pink"] [data-ui-theme]),
|
|
4
|
+
:where([data-ui-palette="pink"] [data-ui-tokens]),
|
|
5
|
+
:where([data-ui-palette="pink"]) [data-color-scheme] {
|
|
6
|
+
--ui-background: light-dark(#fff8f7, #191112);
|
|
7
|
+
--ui-foreground: light-dark(#22191a, #f0dee0);
|
|
8
|
+
--ui-surface-1: light-dark(#fff8f7, #191112);
|
|
9
|
+
--ui-surface-2: light-dark(#fbeaeb, #261d1e);
|
|
10
|
+
--ui-surface-3: light-dark(#f5e4e5, #312829);
|
|
11
|
+
--ui-muted: light-dark(rgb(34 25 26 / 0.08), rgb(240 222 224 / 0.08));
|
|
12
|
+
--ui-muted-foreground: light-dark(#524345, #d6c2c3);
|
|
13
|
+
--ui-primary: light-dark(#8e4957, #ffb2be);
|
|
14
|
+
--ui-primary-foreground: light-dark(#ffffff, #561d2a);
|
|
15
|
+
--ui-ring: light-dark(rgb(142 73 87 / 0.4), rgb(255 178 190 / 0.4));
|
|
16
|
+
--ui-input: light-dark(#847375, #9f8c8e);
|
|
17
|
+
--ui-border: light-dark(#d6c2c3, #524345);
|
|
18
|
+
--ui-border-strong: light-dark(#847375, #9f8c8e);
|
|
19
|
+
--ui-border-disabled: light-dark(rgb(34 25 26 / 0.38), rgb(240 222 224 / 0.38));
|
|
20
|
+
--ui-destructive: light-dark(#ba1a1a, #ffb4ab);
|
|
21
|
+
--ui-destructive-muted: light-dark(#ffdad6, #93000a);
|
|
22
|
+
--ui-overlay: rgb(0 0 0 / 0.32);
|
|
23
|
+
--ui-field: light-dark(#f0dee0, #3c3233);
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* Generated by `node scripts/build-theme.mjs` from ui-sdk's example styles. */
|
|
2
|
+
:where([data-ui-palette="red"]),
|
|
3
|
+
:where([data-ui-palette="red"] [data-ui-theme]),
|
|
4
|
+
:where([data-ui-palette="red"] [data-ui-tokens]),
|
|
5
|
+
:where([data-ui-palette="red"]) [data-color-scheme] {
|
|
6
|
+
--ui-background: light-dark(#fff8f7, #1a1110);
|
|
7
|
+
--ui-foreground: light-dark(#231918, #f1dedc);
|
|
8
|
+
--ui-surface-1: light-dark(#fff8f7, #1a1110);
|
|
9
|
+
--ui-surface-2: light-dark(#fceae7, #271d1c);
|
|
10
|
+
--ui-surface-3: light-dark(#f7e4e1, #322826);
|
|
11
|
+
--ui-muted: light-dark(rgb(35 25 24 / 0.08), rgb(241 222 220 / 0.08));
|
|
12
|
+
--ui-muted-foreground: light-dark(#534341, #d8c2be);
|
|
13
|
+
--ui-primary: light-dark(#904a42, #ffb4a9);
|
|
14
|
+
--ui-primary-foreground: light-dark(#ffffff, #561e18);
|
|
15
|
+
--ui-ring: light-dark(rgb(144 74 66 / 0.4), rgb(255 180 169 / 0.4));
|
|
16
|
+
--ui-input: light-dark(#857370, #a08c89);
|
|
17
|
+
--ui-border: light-dark(#d8c2be, #534341);
|
|
18
|
+
--ui-border-strong: light-dark(#857370, #a08c89);
|
|
19
|
+
--ui-border-disabled: light-dark(rgb(35 25 24 / 0.38), rgb(241 222 220 / 0.38));
|
|
20
|
+
--ui-destructive: light-dark(#ba1a1a, #ffb4ab);
|
|
21
|
+
--ui-destructive-muted: light-dark(#ffdad6, #93000a);
|
|
22
|
+
--ui-overlay: rgb(0 0 0 / 0.32);
|
|
23
|
+
--ui-field: light-dark(#f1dedc, #3d3231);
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* Generated by `node scripts/build-theme.mjs` from ui-sdk's example styles. */
|
|
2
|
+
:where([data-ui-palette="teal"]),
|
|
3
|
+
:where([data-ui-palette="teal"] [data-ui-theme]),
|
|
4
|
+
:where([data-ui-palette="teal"] [data-ui-tokens]),
|
|
5
|
+
:where([data-ui-palette="teal"]) [data-color-scheme] {
|
|
6
|
+
--ui-background: light-dark(#f4fbf8, #0e1513);
|
|
7
|
+
--ui-foreground: light-dark(#161d1c, #dde4e1);
|
|
8
|
+
--ui-surface-1: light-dark(#f4fbf8, #0e1513);
|
|
9
|
+
--ui-surface-2: light-dark(#e9efed, #1a2120);
|
|
10
|
+
--ui-surface-3: light-dark(#e3eae7, #252b2a);
|
|
11
|
+
--ui-muted: light-dark(rgb(22 29 28 / 0.08), rgb(221 228 225 / 0.08));
|
|
12
|
+
--ui-muted-foreground: light-dark(#3f4947, #bec9c6);
|
|
13
|
+
--ui-primary: light-dark(#006a60, #82d5c8);
|
|
14
|
+
--ui-primary-foreground: light-dark(#ffffff, #003731);
|
|
15
|
+
--ui-ring: light-dark(rgb(0 106 96 / 0.4), rgb(130 213 200 / 0.4));
|
|
16
|
+
--ui-input: light-dark(#6f7977, #899390);
|
|
17
|
+
--ui-border: light-dark(#bec9c6, #3f4947);
|
|
18
|
+
--ui-border-strong: light-dark(#6f7977, #899390);
|
|
19
|
+
--ui-border-disabled: light-dark(rgb(22 29 28 / 0.38), rgb(221 228 225 / 0.38));
|
|
20
|
+
--ui-destructive: light-dark(#ba1a1a, #ffb4ab);
|
|
21
|
+
--ui-destructive-muted: light-dark(#ffdad6, #93000a);
|
|
22
|
+
--ui-overlay: rgb(0 0 0 / 0.32);
|
|
23
|
+
--ui-field: light-dark(#dde4e1, #303635);
|
|
24
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/* Generated by `node scripts/build-theme.mjs` from ui-sdk's example styles. */
|
|
2
|
+
@scope ([data-ui-theme]) {
|
|
3
|
+
[data-slot="password-input"] {
|
|
4
|
+
gap: var(--ui-space-1)
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
[data-slot="password-input"]:not([data-capslock]) > svg {
|
|
8
|
+
visibility: hidden;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
[data-slot="password-input"] > svg,
|
|
12
|
+
[data-slot="password-input"] > span:not([data-slot]) {
|
|
13
|
+
display: flex;
|
|
14
|
+
color: var(--ui-muted-foreground);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
[data-slot="password-input-control"][data-visible] {
|
|
18
|
+
font-variant-numeric: slashed-zero;
|
|
19
|
+
}
|
|
20
|
+
[data-slot="password-input-toggle"]:focus-visible {
|
|
21
|
+
outline-offset: 0;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
[data-slot="password-input-toggle"][data-visible] {
|
|
25
|
+
color: var(--ui-foreground);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
[data-slot="password-input-toggle"][data-disabled] {
|
|
29
|
+
color: var(--ui-border-disabled);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
[data-slot="field"]:not(:has([data-capslock])) [data-slot="caps-lock"] {
|
|
33
|
+
visibility: hidden;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
[data-slot="caps-lock"] {
|
|
37
|
+
min-height: var(--ui-leading);
|
|
38
|
+
color: var(--ui-muted-foreground);
|
|
39
|
+
font-size: var(--ui-text-sm);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
[data-slot="strength"] {
|
|
43
|
+
display: flex;
|
|
44
|
+
gap: var(--ui-space-1)
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
[data-slot="strength"] > * {
|
|
48
|
+
flex: 1;
|
|
49
|
+
height: 4px;
|
|
50
|
+
border-radius: 999px;
|
|
51
|
+
background: var(--ui-muted);
|
|
52
|
+
box-shadow: inset 0 0 0 1px var(--ui-border);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
[data-slot="strength"] > [data-on] {
|
|
56
|
+
background: var(--ui-primary);
|
|
57
|
+
box-shadow: none;
|
|
58
|
+
}
|
|
59
|
+
}
|