@rokkit/themes 1.0.0-next.150 → 1.0.0-next.152
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/build.mjs +14 -5
- package/dist/ant-design.css +89 -25
- package/dist/base.css +488 -40
- package/dist/bits-ui.css +69 -16
- package/dist/carbon.css +82 -31
- package/dist/daisy-ui.css +73 -16
- package/dist/frosted.css +1953 -0
- package/dist/grada-ui.css +186 -37
- package/dist/index.css +2433 -1065
- package/dist/material.css +95 -18
- package/dist/minimal.css +120 -47
- package/dist/rokkit.css +174 -17
- package/dist/shadcn.css +70 -24
- package/package.json +5 -5
- package/src/ant-design/button.css +31 -24
- package/src/ant-design/card.css +4 -4
- package/src/ant-design/chart.css +5 -5
- package/src/ant-design/dropdown.css +7 -7
- package/src/ant-design/floating-action.css +5 -5
- package/src/ant-design/floating-navigation.css +4 -4
- package/src/ant-design/grid.css +1 -1
- package/src/ant-design/index.css +1 -0
- package/src/ant-design/input.css +4 -2
- package/src/ant-design/list.css +11 -11
- package/src/ant-design/menu.css +6 -6
- package/src/ant-design/range.css +1 -1
- package/src/ant-design/search-filter.css +2 -2
- package/src/ant-design/select.css +12 -12
- package/src/ant-design/status-list.css +1 -1
- package/src/ant-design/step-indicator.css +38 -0
- package/src/ant-design/switch.css +2 -2
- package/src/ant-design/table.css +8 -6
- package/src/ant-design/tabs.css +13 -9
- package/src/ant-design/toggle.css +3 -3
- package/src/ant-design/toolbar.css +7 -7
- package/src/ant-design/tree.css +21 -11
- package/src/ant-design/upload-progress.css +1 -1
- package/src/ant-design/upload-target.css +1 -1
- package/src/base/avatar.css +82 -0
- package/src/base/badge.css +41 -0
- package/src/base/button.css +6 -6
- package/src/base/card.css +7 -4
- package/src/base/chart.css +5 -5
- package/src/base/density.css +51 -0
- package/src/base/divider.css +49 -0
- package/src/base/dropdown.css +5 -4
- package/src/base/index.css +6 -0
- package/src/base/input.css +3 -1
- package/src/base/list.css +12 -7
- package/src/base/menu.css +7 -5
- package/src/base/stack.css +76 -0
- package/src/base/step-indicator.css +74 -0
- package/src/base/swatch.css +12 -6
- package/src/base/table.css +52 -2
- package/src/bits-ui/button.css +18 -18
- package/src/bits-ui/card.css +4 -4
- package/src/bits-ui/chart.css +5 -5
- package/src/bits-ui/dropdown.css +5 -5
- package/src/bits-ui/floating-action.css +5 -5
- package/src/bits-ui/floating-navigation.css +2 -2
- package/src/bits-ui/index.css +1 -0
- package/src/bits-ui/input.css +8 -4
- package/src/bits-ui/list.css +4 -4
- package/src/bits-ui/menu.css +5 -5
- package/src/bits-ui/range.css +2 -2
- package/src/bits-ui/search-filter.css +2 -2
- package/src/bits-ui/select.css +9 -9
- package/src/bits-ui/status-list.css +1 -1
- package/src/bits-ui/step-indicator.css +40 -0
- package/src/bits-ui/switch.css +2 -2
- package/src/bits-ui/table.css +1 -1
- package/src/bits-ui/tabs.css +5 -5
- package/src/bits-ui/toggle.css +2 -2
- package/src/bits-ui/toolbar.css +7 -7
- package/src/bits-ui/tree.css +12 -4
- package/src/bits-ui/upload-progress.css +1 -1
- package/src/carbon/button.css +23 -20
- package/src/carbon/card.css +5 -5
- package/src/carbon/chart.css +5 -5
- package/src/carbon/dropdown.css +8 -8
- package/src/carbon/floating-action.css +8 -8
- package/src/carbon/floating-navigation.css +5 -5
- package/src/carbon/index.css +1 -0
- package/src/carbon/input.css +2 -2
- package/src/carbon/list.css +12 -14
- package/src/carbon/menu.css +8 -8
- package/src/carbon/range.css +2 -2
- package/src/carbon/search-filter.css +2 -2
- package/src/carbon/select.css +13 -13
- package/src/carbon/status-list.css +1 -1
- package/src/carbon/step-indicator.css +40 -0
- package/src/carbon/switch.css +3 -3
- package/src/carbon/table.css +6 -6
- package/src/carbon/tabs.css +10 -8
- package/src/carbon/toc.css +2 -2
- package/src/carbon/toggle.css +3 -3
- package/src/carbon/toolbar.css +8 -9
- package/src/carbon/tree.css +22 -14
- package/src/carbon/upload-progress.css +2 -2
- package/src/carbon/upload-target.css +2 -2
- package/src/daisy-ui/button.css +20 -19
- package/src/daisy-ui/card.css +5 -5
- package/src/daisy-ui/chart.css +5 -5
- package/src/daisy-ui/dropdown.css +8 -8
- package/src/daisy-ui/floating-action.css +6 -6
- package/src/daisy-ui/floating-navigation.css +5 -5
- package/src/daisy-ui/grid.css +1 -1
- package/src/daisy-ui/index.css +1 -0
- package/src/daisy-ui/input.css +5 -3
- package/src/daisy-ui/list.css +9 -9
- package/src/daisy-ui/menu.css +7 -7
- package/src/daisy-ui/range.css +3 -3
- package/src/daisy-ui/search-filter.css +3 -3
- package/src/daisy-ui/select.css +14 -14
- package/src/daisy-ui/status-list.css +1 -1
- package/src/daisy-ui/step-indicator.css +37 -0
- package/src/daisy-ui/switch.css +3 -3
- package/src/daisy-ui/table.css +7 -5
- package/src/daisy-ui/tabs.css +10 -6
- package/src/daisy-ui/toggle.css +3 -3
- package/src/daisy-ui/toolbar.css +6 -6
- package/src/daisy-ui/tree.css +20 -10
- package/src/daisy-ui/upload-target.css +1 -1
- package/src/frosted/button.css +224 -0
- package/src/frosted/card.css +130 -0
- package/src/frosted/chart.css +38 -0
- package/src/frosted/dropdown.css +66 -0
- package/src/{glass → frosted}/floating-action.css +10 -10
- package/src/{glass → frosted}/floating-navigation.css +13 -13
- package/src/{glass → frosted}/index.css +1 -0
- package/src/frosted/input.css +135 -0
- package/src/frosted/list.css +122 -0
- package/src/frosted/menu.css +108 -0
- package/src/frosted/message.css +35 -0
- package/src/{glass → frosted}/range.css +10 -10
- package/src/{glass → frosted}/search-filter.css +8 -8
- package/src/{glass → frosted}/select.css +34 -34
- package/src/frosted/status-list.css +66 -0
- package/src/frosted/step-indicator.css +41 -0
- package/src/frosted/swatch.css +21 -0
- package/src/frosted/switch.css +43 -0
- package/src/frosted/table.css +106 -0
- package/src/{glass → frosted}/tabs.css +10 -10
- package/src/{glass → frosted}/timeline.css +7 -7
- package/src/frosted/toc.css +18 -0
- package/src/{glass → frosted}/toggle.css +9 -9
- package/src/{glass → frosted}/toolbar.css +16 -16
- package/src/{glass → frosted}/tree.css +20 -20
- package/src/grada-ui/button.css +20 -6
- package/src/grada-ui/card.css +12 -6
- package/src/grada-ui/chart.css +5 -5
- package/src/grada-ui/dropdown.css +7 -3
- package/src/grada-ui/floating-action.css +11 -4
- package/src/grada-ui/floating-navigation.css +5 -1
- package/src/grada-ui/index.css +1 -0
- package/src/grada-ui/input.css +2 -2
- package/src/grada-ui/list.css +15 -3
- package/src/grada-ui/menu.css +2 -2
- package/src/grada-ui/range.css +5 -1
- package/src/grada-ui/search-filter.css +6 -2
- package/src/grada-ui/select.css +27 -9
- package/src/grada-ui/status-list.css +5 -1
- package/src/grada-ui/step-indicator.css +37 -0
- package/src/grada-ui/switch.css +7 -3
- package/src/grada-ui/table.css +2 -2
- package/src/grada-ui/tabs.css +5 -1
- package/src/grada-ui/timeline.css +10 -2
- package/src/grada-ui/toggle.css +7 -3
- package/src/grada-ui/toolbar.css +10 -2
- package/src/grada-ui/tree.css +8 -2
- package/src/index.css +2 -2
- package/src/material/button.css +5 -5
- package/src/material/card.css +4 -4
- package/src/material/chart.css +5 -5
- package/src/material/dropdown.css +7 -7
- package/src/material/floating-action.css +5 -5
- package/src/material/floating-navigation.css +4 -4
- package/src/material/index.css +1 -0
- package/src/material/input.css +1 -1
- package/src/material/list.css +11 -11
- package/src/material/menu.css +6 -6
- package/src/material/message.css +0 -1
- package/src/material/range.css +1 -1
- package/src/material/search-filter.css +1 -1
- package/src/material/select.css +14 -12
- package/src/material/status-list.css +1 -1
- package/src/material/step-indicator.css +41 -0
- package/src/material/swatch.css +4 -2
- package/src/material/switch.css +2 -2
- package/src/material/table.css +24 -5
- package/src/material/tabs.css +6 -3
- package/src/material/toggle.css +3 -3
- package/src/material/toolbar.css +7 -7
- package/src/material/tree.css +17 -7
- package/src/minimal/button.css +7 -7
- package/src/minimal/card.css +4 -4
- package/src/minimal/chart.css +5 -5
- package/src/minimal/dropdown.css +7 -7
- package/src/minimal/floating-action.css +5 -5
- package/src/minimal/floating-navigation.css +4 -4
- package/src/minimal/index.css +1 -0
- package/src/minimal/list.css +18 -16
- package/src/minimal/menu.css +6 -6
- package/src/minimal/message.css +0 -1
- package/src/minimal/range.css +1 -1
- package/src/minimal/search-filter.css +1 -1
- package/src/minimal/select.css +11 -11
- package/src/minimal/status-list.css +1 -1
- package/src/minimal/step-indicator.css +40 -0
- package/src/minimal/swatch.css +4 -2
- package/src/minimal/table.css +24 -5
- package/src/minimal/tabs.css +10 -8
- package/src/minimal/toggle.css +1 -1
- package/src/minimal/toolbar.css +7 -7
- package/src/minimal/tree.css +14 -6
- package/src/rokkit/avatar.css +29 -0
- package/src/rokkit/badge.css +29 -0
- package/src/rokkit/button.css +1 -1
- package/src/rokkit/chart.css +5 -5
- package/src/rokkit/divider.css +26 -0
- package/src/rokkit/index.css +5 -0
- package/src/rokkit/stack.css +6 -0
- package/src/rokkit/step-indicator.css +41 -0
- package/src/rokkit/swatch.css +4 -2
- package/src/rokkit/table.css +25 -6
- package/src/shadcn/button.css +20 -21
- package/src/shadcn/card.css +4 -4
- package/src/shadcn/chart.css +5 -5
- package/src/shadcn/dropdown.css +7 -7
- package/src/shadcn/floating-action.css +5 -5
- package/src/shadcn/floating-navigation.css +4 -4
- package/src/shadcn/index.css +1 -0
- package/src/shadcn/input.css +4 -2
- package/src/shadcn/list.css +13 -15
- package/src/shadcn/menu.css +7 -7
- package/src/shadcn/range.css +2 -2
- package/src/shadcn/search-filter.css +2 -2
- package/src/shadcn/select.css +13 -13
- package/src/shadcn/status-list.css +1 -1
- package/src/shadcn/step-indicator.css +37 -0
- package/src/shadcn/switch.css +2 -2
- package/src/shadcn/table.css +4 -4
- package/src/shadcn/tabs.css +10 -8
- package/src/shadcn/toc.css +2 -2
- package/src/shadcn/toggle.css +4 -4
- package/src/shadcn/toolbar.css +8 -9
- package/src/shadcn/tree.css +21 -13
- package/src/shadcn/upload-progress.css +1 -1
- package/dist/glass.css +0 -1760
- package/src/glass/button.css +0 -174
- package/src/glass/card.css +0 -103
- package/src/glass/chart.css +0 -38
- package/src/glass/dropdown.css +0 -50
- package/src/glass/input.css +0 -128
- package/src/glass/list.css +0 -122
- package/src/glass/menu.css +0 -92
- package/src/glass/message.css +0 -36
- package/src/glass/status-list.css +0 -66
- package/src/glass/swatch.css +0 -19
- package/src/glass/switch.css +0 -28
- package/src/glass/table.css +0 -87
- package/src/glass/toc.css +0 -18
package/src/shadcn/input.css
CHANGED
|
@@ -7,9 +7,11 @@
|
|
|
7
7
|
|
|
8
8
|
/* Input root: full border, rounded-md */
|
|
9
9
|
[data-style='shadcn'] [data-input-root] {
|
|
10
|
-
@apply border-surface-z3 relative flex items-center border bg-transparent
|
|
10
|
+
@apply border-surface-z3 relative flex items-center rounded-md border bg-transparent;
|
|
11
11
|
background-image: none;
|
|
12
|
-
transition:
|
|
12
|
+
transition:
|
|
13
|
+
border-color 150ms ease,
|
|
14
|
+
box-shadow 150ms ease;
|
|
13
15
|
}
|
|
14
16
|
|
|
15
17
|
/* Hover */
|
package/src/shadcn/list.css
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
============================================================================= */
|
|
18
18
|
|
|
19
19
|
[data-style='shadcn'] [data-list] [data-list-item] {
|
|
20
|
-
@apply text-surface-z7 border-0 border-solid border-transparent
|
|
20
|
+
@apply text-surface-z7 rounded-md border-0 border-solid border-transparent;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[data-style='shadcn'] [data-list] a[data-list-item],
|
|
@@ -26,29 +26,27 @@
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
/* Hover and focus (keyboard navigation) */
|
|
29
|
-
[data-style='shadcn']
|
|
30
|
-
[data-list]
|
|
31
|
-
[data-list-item]:hover:not(:disabled):not([data-disabled='true']),
|
|
29
|
+
[data-style='shadcn'] [data-list] [data-list-item]:hover:not(:disabled):not([data-disabled='true']),
|
|
32
30
|
[data-style='shadcn']
|
|
33
31
|
[data-list]
|
|
34
32
|
[data-list-item]:focus:not(:disabled):not([data-disabled='true']) {
|
|
35
|
-
@apply bg-
|
|
33
|
+
@apply bg-surface-z3 text-surface-z9 bg-none outline-none;
|
|
36
34
|
}
|
|
37
35
|
|
|
38
36
|
/* Active state — muted when list not focused */
|
|
39
37
|
[data-style='shadcn'] [data-list] [data-list-item][data-active='true'] {
|
|
40
|
-
@apply bg-
|
|
38
|
+
@apply bg-surface-z2 text-surface-z8 bg-none;
|
|
41
39
|
}
|
|
42
40
|
|
|
43
41
|
/* Active state — full highlight when list has focus */
|
|
44
42
|
[data-style='shadcn'] [data-list]:focus-within [data-list-item][data-active='true'] {
|
|
45
|
-
@apply bg-
|
|
43
|
+
@apply bg-primary-z2 text-primary-z7 bg-none;
|
|
46
44
|
}
|
|
47
45
|
|
|
48
46
|
/* Active + hover/focus */
|
|
49
47
|
[data-style='shadcn'] [data-list] [data-list-item][data-active='true']:hover:not(:disabled),
|
|
50
48
|
[data-style='shadcn'] [data-list] [data-list-item][data-active='true']:focus:not(:disabled) {
|
|
51
|
-
@apply bg-
|
|
49
|
+
@apply bg-primary-z3 text-primary-z8 bg-none;
|
|
52
50
|
}
|
|
53
51
|
|
|
54
52
|
/* =============================================================================
|
|
@@ -77,11 +75,11 @@
|
|
|
77
75
|
}
|
|
78
76
|
|
|
79
77
|
[data-style='shadcn'] [data-list] [data-list-item] [data-item-badge] {
|
|
80
|
-
@apply
|
|
78
|
+
@apply text-surface-z6 border-surface-z3 rounded-md border bg-transparent bg-none;
|
|
81
79
|
}
|
|
82
80
|
|
|
83
81
|
[data-style='shadcn'] [data-list] [data-list-item][data-active='true'] [data-item-badge] {
|
|
84
|
-
@apply
|
|
82
|
+
@apply text-primary-z7 border-primary-z3 bg-none;
|
|
85
83
|
}
|
|
86
84
|
|
|
87
85
|
/* =============================================================================
|
|
@@ -94,7 +92,7 @@
|
|
|
94
92
|
|
|
95
93
|
[data-style='shadcn'] [data-list] [data-list-group]:hover:not(:disabled),
|
|
96
94
|
[data-style='shadcn'] [data-list] [data-list-group]:focus:not(:disabled) {
|
|
97
|
-
@apply bg-
|
|
95
|
+
@apply bg-surface-z3 text-surface-z7 bg-none;
|
|
98
96
|
}
|
|
99
97
|
|
|
100
98
|
/* =============================================================================
|
|
@@ -102,7 +100,7 @@
|
|
|
102
100
|
============================================================================= */
|
|
103
101
|
|
|
104
102
|
[data-style='shadcn'] [data-list] [data-list-separator] {
|
|
105
|
-
@apply bg-
|
|
103
|
+
@apply bg-surface-z3 bg-none;
|
|
106
104
|
}
|
|
107
105
|
|
|
108
106
|
/* =============================================================================
|
|
@@ -110,15 +108,15 @@
|
|
|
110
108
|
============================================================================= */
|
|
111
109
|
|
|
112
110
|
[data-style='shadcn'] [data-list] [data-list-item][data-selected='true'] {
|
|
113
|
-
@apply bg-
|
|
111
|
+
@apply bg-primary-z2 text-primary-z7 bg-none;
|
|
114
112
|
}
|
|
115
113
|
|
|
116
114
|
[data-style='shadcn'] [data-list]:focus-within [data-list-item][data-selected='true'] {
|
|
117
|
-
@apply bg-
|
|
115
|
+
@apply bg-primary-z2 text-primary-z7 bg-none;
|
|
118
116
|
}
|
|
119
117
|
|
|
120
118
|
[data-style='shadcn'] [data-list] [data-list-item][data-selected='true']:hover:not(:disabled) {
|
|
121
|
-
@apply bg-
|
|
119
|
+
@apply bg-primary-z3 text-primary-z8 bg-none;
|
|
122
120
|
}
|
|
123
121
|
|
|
124
122
|
[data-style='shadcn'] [data-list] [data-list-item][data-selected='true'] [data-item-icon] {
|
package/src/shadcn/menu.css
CHANGED
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='shadcn'] [data-menu-trigger] {
|
|
12
|
-
@apply
|
|
12
|
+
@apply border-surface-z3 text-surface-z7 rounded-md border bg-transparent bg-none;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='shadcn'] [data-menu-trigger]:hover:not(:disabled) {
|
|
16
|
-
@apply bg-
|
|
16
|
+
@apply bg-surface-z2 text-surface-z9 border-surface-z4 bg-none;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
[data-style='shadcn'] [data-menu-trigger]:focus-visible {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[data-style='shadcn'] [data-menu][data-open='true'] [data-menu-trigger] {
|
|
24
|
-
@apply
|
|
24
|
+
@apply border-surface-z5 bg-none;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
/* Trigger elements */
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
============================================================================= */
|
|
43
43
|
|
|
44
44
|
[data-style='shadcn'] [data-menu-dropdown] {
|
|
45
|
-
@apply bg-
|
|
45
|
+
@apply bg-surface-z0 border-surface-z3 rounded-md border bg-none shadow-md;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/* =============================================================================
|
|
@@ -50,12 +50,12 @@
|
|
|
50
50
|
============================================================================= */
|
|
51
51
|
|
|
52
52
|
[data-style='shadcn'] [data-menu-item] {
|
|
53
|
-
@apply text-surface-z7 border-0 border-solid border-transparent
|
|
53
|
+
@apply text-surface-z7 rounded-md border-0 border-solid border-transparent;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
[data-style='shadcn'] [data-menu-item]:hover:not(:disabled),
|
|
57
57
|
[data-style='shadcn'] [data-menu-item]:focus:not(:disabled) {
|
|
58
|
-
@apply bg-
|
|
58
|
+
@apply bg-surface-z3 text-surface-z9 bg-none outline-none;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
/* Item elements */
|
|
@@ -84,5 +84,5 @@
|
|
|
84
84
|
============================================================================= */
|
|
85
85
|
|
|
86
86
|
[data-style='shadcn'] [data-menu-separator] {
|
|
87
|
-
@apply bg-
|
|
87
|
+
@apply bg-surface-z3 bg-none;
|
|
88
88
|
}
|
package/src/shadcn/range.css
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='shadcn'] [data-range-selected] {
|
|
16
|
-
@apply bg-
|
|
16
|
+
@apply bg-primary rounded-full bg-none;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
/* =============================================================================
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
============================================================================= */
|
|
22
22
|
|
|
23
23
|
[data-style='shadcn'] [data-range-thumb] {
|
|
24
|
-
@apply bg-surface-z0 border-primary-z5 border-2
|
|
24
|
+
@apply bg-surface-z0 border-primary-z5 rounded-full border-2;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
[data-style='shadcn'] [data-range-thumb][data-sliding] {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='shadcn'] [data-search-input] {
|
|
12
|
-
@apply text-surface-z7 border-surface-z3 border bg-transparent
|
|
12
|
+
@apply text-surface-z7 border-surface-z3 rounded-md border bg-transparent;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='shadcn'] [data-search-input]:focus {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
============================================================================= */
|
|
38
38
|
|
|
39
39
|
[data-style='shadcn'] [data-search-tag] {
|
|
40
|
-
@apply
|
|
40
|
+
@apply text-surface-z7 border-surface-z3 rounded-md border bg-transparent bg-none;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
[data-style='shadcn'] [data-search-tag-remove] {
|
package/src/shadcn/select.css
CHANGED
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='shadcn'] [data-select-trigger] {
|
|
12
|
-
@apply
|
|
12
|
+
@apply text-surface-z7 border-surface-z3 rounded-md border bg-transparent bg-none;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='shadcn'] [data-select-trigger]:hover:not(:disabled) {
|
|
16
|
-
@apply bg-
|
|
16
|
+
@apply bg-surface-z2 border-surface-z4 text-surface-z8 bg-none;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
[data-style='shadcn'] [data-select-trigger]:focus-visible {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[data-style='shadcn'] [data-select][data-open='true'] [data-select-trigger] {
|
|
24
|
-
@apply
|
|
24
|
+
@apply border-surface-z5 ring-primary-z4 bg-none ring-2 ring-offset-2;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
/* =============================================================================
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
============================================================================= */
|
|
50
50
|
|
|
51
51
|
[data-style='shadcn'] [data-select-tag] {
|
|
52
|
-
@apply
|
|
52
|
+
@apply text-surface-z7 border-surface-z3 rounded-md border bg-transparent bg-none;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
[data-style='shadcn'] [data-select-tag-remove] {
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
============================================================================= */
|
|
66
66
|
|
|
67
67
|
[data-style='shadcn'] [data-select-dropdown] {
|
|
68
|
-
@apply bg-
|
|
68
|
+
@apply bg-surface-z0 border-surface-z3 rounded-md border bg-none shadow-md;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
/* =============================================================================
|
|
@@ -73,25 +73,25 @@
|
|
|
73
73
|
============================================================================= */
|
|
74
74
|
|
|
75
75
|
[data-style='shadcn'] [data-select-option] {
|
|
76
|
-
@apply text-surface-z7 border-0 border-solid border-transparent
|
|
76
|
+
@apply text-surface-z7 rounded-md border-0 border-solid border-transparent;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
/* Hover and focus */
|
|
80
80
|
[data-style='shadcn'] [data-select-option]:hover:not(:disabled),
|
|
81
81
|
[data-style='shadcn'] [data-select-option]:focus:not(:disabled) {
|
|
82
|
-
@apply bg-
|
|
82
|
+
@apply bg-surface-z3 text-surface-z9 bg-none outline-none;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
/* Selected state */
|
|
86
86
|
[data-style='shadcn'] [data-select-option][data-selected='true'] {
|
|
87
|
-
@apply bg-
|
|
87
|
+
@apply bg-surface-z2 text-surface-z8 bg-none;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
/* Selected state — full highlight when dropdown has focus */
|
|
91
91
|
[data-style='shadcn']
|
|
92
92
|
[data-select-dropdown]:focus-within
|
|
93
93
|
[data-select-option][data-selected='true'] {
|
|
94
|
-
@apply bg-
|
|
94
|
+
@apply bg-primary-z2 text-primary-z7 bg-none;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
/* Check mark */
|
|
@@ -101,11 +101,11 @@
|
|
|
101
101
|
|
|
102
102
|
/* Checkbox */
|
|
103
103
|
[data-style='shadcn'] [data-select-checkbox] {
|
|
104
|
-
@apply
|
|
104
|
+
@apply border-surface-z4 rounded-md bg-transparent bg-none;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
[data-style='shadcn'] [data-select-checkbox][data-checked='true'] {
|
|
108
|
-
@apply bg-
|
|
108
|
+
@apply bg-primary-z5 border-primary-z5 bg-none text-white;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
/* Item description */
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
============================================================================= */
|
|
131
131
|
|
|
132
132
|
[data-style='shadcn'] [data-select-divider] {
|
|
133
|
-
@apply bg-
|
|
133
|
+
@apply bg-surface-z3 bg-none;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
/* =============================================================================
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
[data-style='shadcn'] [data-select-filter-input] {
|
|
145
|
-
@apply text-surface-z7 border-surface-z3 border bg-transparent
|
|
145
|
+
@apply text-surface-z7 border-surface-z3 rounded-md border bg-transparent;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
[data-style='shadcn'] [data-select-filter-input]:focus {
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* StepIndicator — shadcn theme (flat rounded-md, ring focus) */
|
|
2
|
+
|
|
3
|
+
[data-style='shadcn'] [data-step-item][data-step-state='complete'] [data-step-number] {
|
|
4
|
+
@apply bg-primary-z5 border-primary-z5 text-on-primary bg-none rounded-md;
|
|
5
|
+
border-radius: 0.375rem;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
[data-style='shadcn'] [data-step-item][data-step-state='current'] [data-step-number] {
|
|
9
|
+
@apply bg-surface-z1 border-primary-z5 text-primary-z7 bg-none rounded-md;
|
|
10
|
+
border-radius: 0.375rem;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
[data-style='shadcn'] [data-step-item][data-step-state='upcoming'] [data-step-number] {
|
|
14
|
+
@apply bg-transparent border-surface-z3 text-surface-z5 bg-none rounded-md;
|
|
15
|
+
border-radius: 0.375rem;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
[data-style='shadcn'] [data-step-item][data-step-state='complete'] [data-step-label] {
|
|
19
|
+
@apply text-primary-z7 bg-none;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
[data-style='shadcn'] [data-step-item][data-step-state='current'] [data-step-label] {
|
|
23
|
+
@apply text-surface-z9 font-semibold bg-none;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
[data-style='shadcn'] [data-step-item][data-step-state='upcoming'] [data-step-label] {
|
|
27
|
+
@apply text-surface-z5 bg-none;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
[data-style='shadcn'] [data-step-item][data-step-state='complete']::after {
|
|
31
|
+
@apply bg-primary-z5;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
[data-style='shadcn'] [data-step-item][data-step-state='current']::after,
|
|
35
|
+
[data-style='shadcn'] [data-step-item][data-step-state='upcoming']::after {
|
|
36
|
+
@apply bg-surface-z3;
|
|
37
|
+
}
|
package/src/shadcn/switch.css
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
[data-style='shadcn'] [data-switch-track] {
|
|
8
|
-
@apply
|
|
8
|
+
@apply border-surface-z4 rounded-full border-2 bg-transparent bg-none;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
[data-style='shadcn'] [data-switch] [data-switch-thumb] {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
/* On state */
|
|
21
21
|
[data-style='shadcn'] [data-switch][aria-checked='true'] [data-switch-track] {
|
|
22
|
-
@apply bg-
|
|
22
|
+
@apply bg-primary-z5 border-primary-z5 bg-none;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
[data-style='shadcn'] [data-switch][aria-checked='true'] [data-switch-thumb] {
|
package/src/shadcn/table.css
CHANGED
|
@@ -49,22 +49,22 @@
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
[data-style='shadcn'] [data-table-row]:hover {
|
|
52
|
-
@apply bg-
|
|
52
|
+
@apply bg-surface-z2 text-surface-z9 bg-none;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
[data-style='shadcn'] [data-table-row]:focus {
|
|
56
|
-
@apply bg-
|
|
56
|
+
@apply bg-surface-z2 text-surface-z9 ring-primary-z4 bg-none ring-2 outline-none;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
[data-style='shadcn'] [data-table-row][data-selected='true'] {
|
|
60
|
-
@apply bg-
|
|
60
|
+
@apply bg-primary-z2 text-primary-z8 bg-none;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
/* =============================================================================
|
|
64
64
|
Striped
|
|
65
65
|
============================================================================= */
|
|
66
66
|
|
|
67
|
-
[data-style='shadcn'] [data-striped
|
|
67
|
+
[data-style='shadcn'] [data-table-striped] [data-table-body] tr:nth-child(even) {
|
|
68
68
|
@apply bg-surface-z1;
|
|
69
69
|
}
|
|
70
70
|
|
package/src/shadcn/tabs.css
CHANGED
|
@@ -32,9 +32,11 @@
|
|
|
32
32
|
============================================================================= */
|
|
33
33
|
|
|
34
34
|
[data-style='shadcn'] [data-tabs-trigger] {
|
|
35
|
-
@apply
|
|
35
|
+
@apply text-surface-z5 rounded-none border-b-2 border-b-transparent bg-transparent;
|
|
36
36
|
font-weight: 400;
|
|
37
|
-
transition:
|
|
37
|
+
transition:
|
|
38
|
+
color 150ms ease,
|
|
39
|
+
border-color 150ms ease;
|
|
38
40
|
}
|
|
39
41
|
|
|
40
42
|
[data-style='shadcn'] [data-tabs-trigger]:hover:not(:disabled):not([data-disabled]) {
|
|
@@ -42,7 +44,7 @@
|
|
|
42
44
|
}
|
|
43
45
|
|
|
44
46
|
[data-style='shadcn'] [data-tabs-trigger][data-selected] {
|
|
45
|
-
@apply
|
|
47
|
+
@apply text-surface-z9 border-b-primary-z5 bg-none;
|
|
46
48
|
font-weight: 600;
|
|
47
49
|
}
|
|
48
50
|
|
|
@@ -67,7 +69,7 @@
|
|
|
67
69
|
|
|
68
70
|
/* Horizontal after (tabs below content): top border */
|
|
69
71
|
[data-style='shadcn'] [data-tabs][data-position='after'] [data-tabs-trigger] {
|
|
70
|
-
@apply border-
|
|
72
|
+
@apply border-t-2 border-b-0 border-t-transparent;
|
|
71
73
|
}
|
|
72
74
|
|
|
73
75
|
[data-style='shadcn']
|
|
@@ -90,7 +92,7 @@
|
|
|
90
92
|
|
|
91
93
|
/* Vertical before (tabs on left): right border */
|
|
92
94
|
[data-style='shadcn'] [data-tabs][data-orientation='vertical'] [data-tabs-trigger] {
|
|
93
|
-
@apply
|
|
95
|
+
@apply rounded-none rounded-l border-r-2 border-b-0 border-r-transparent;
|
|
94
96
|
}
|
|
95
97
|
|
|
96
98
|
[data-style='shadcn']
|
|
@@ -108,19 +110,19 @@
|
|
|
108
110
|
[data-style='shadcn']
|
|
109
111
|
[data-tabs][data-orientation='vertical'][data-position='after']
|
|
110
112
|
[data-tabs-trigger] {
|
|
111
|
-
@apply border-t-0 border-
|
|
113
|
+
@apply rounded-none rounded-r border-t-0 border-r-0 border-b-0 border-l-2 border-l-transparent;
|
|
112
114
|
}
|
|
113
115
|
|
|
114
116
|
[data-style='shadcn']
|
|
115
117
|
[data-tabs][data-orientation='vertical'][data-position='after']
|
|
116
118
|
[data-tabs-trigger]:hover:not(:disabled):not([data-disabled]) {
|
|
117
|
-
@apply border-
|
|
119
|
+
@apply border-l-surface-z4 border-t-0 border-r-0 border-b-0;
|
|
118
120
|
}
|
|
119
121
|
|
|
120
122
|
[data-style='shadcn']
|
|
121
123
|
[data-tabs][data-orientation='vertical'][data-position='after']
|
|
122
124
|
[data-tabs-trigger][data-selected] {
|
|
123
|
-
@apply border-
|
|
125
|
+
@apply border-l-primary-z5 border-t-0 border-r-0 border-b-0;
|
|
124
126
|
font-weight: 600;
|
|
125
127
|
}
|
|
126
128
|
|
package/src/shadcn/toc.css
CHANGED
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
|
|
13
13
|
[data-style='shadcn'] [data-toc] [data-toc-item]:hover,
|
|
14
14
|
[data-style='shadcn'] [data-toc] [data-toc-item][data-toc-focused] {
|
|
15
|
-
@apply bg-
|
|
15
|
+
@apply bg-surface-z3 text-surface-z9 bg-none outline-none;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
[data-style='shadcn'] [data-toc] [data-toc-item][data-toc-active] {
|
|
19
|
-
@apply bg-
|
|
19
|
+
@apply bg-primary-z2 text-primary-z7 bg-none;
|
|
20
20
|
}
|
package/src/shadcn/toggle.css
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='shadcn'] [data-toggle] {
|
|
12
|
-
@apply
|
|
12
|
+
@apply border-surface-z3 rounded-md border bg-transparent bg-none;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/* =============================================================================
|
|
@@ -17,17 +17,17 @@
|
|
|
17
17
|
============================================================================= */
|
|
18
18
|
|
|
19
19
|
[data-style='shadcn'] [data-toggle-option] {
|
|
20
|
-
@apply text-surface-z6 border-0 border-solid border-transparent
|
|
20
|
+
@apply text-surface-z6 rounded-md border-0 border-solid border-transparent;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[data-style='shadcn'] [data-toggle-option]:hover:not(:disabled):not([data-disabled='true']),
|
|
24
24
|
[data-style='shadcn'] [data-toggle-option]:focus:not(:disabled):not([data-disabled='true']) {
|
|
25
|
-
@apply bg-
|
|
25
|
+
@apply bg-surface-z3 text-surface-z8 bg-none;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
/* Selected state */
|
|
29
29
|
[data-style='shadcn'] [data-toggle-option][data-selected='true'] {
|
|
30
|
-
@apply bg-
|
|
30
|
+
@apply bg-surface-z2 text-surface-z9 border-b-primary-z5 border-b-2 bg-none;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
/* =============================================================================
|
package/src/shadcn/toolbar.css
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='shadcn'] [data-toolbar] {
|
|
12
|
-
@apply bg-
|
|
12
|
+
@apply bg-transparent bg-none;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/* Position-based borders */
|
|
@@ -39,21 +39,20 @@
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
[data-style='shadcn'] [data-toolbar-item]:hover:not(:disabled):not([data-disabled='true']) {
|
|
42
|
-
@apply bg-
|
|
42
|
+
@apply bg-surface-z3 text-surface-z9 bg-none;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
[data-style='shadcn']
|
|
46
|
-
|
|
47
|
-
@apply bg-none text-surface-z9 ring-primary-z4 ring-2 ring-offset-2 outline-none;
|
|
45
|
+
[data-style='shadcn'] [data-toolbar-item]:focus-visible:not(:disabled):not([data-disabled='true']) {
|
|
46
|
+
@apply text-surface-z9 ring-primary-z4 bg-none ring-2 ring-offset-2 outline-none;
|
|
48
47
|
}
|
|
49
48
|
|
|
50
49
|
/* Active/pressed state */
|
|
51
50
|
[data-style='shadcn'] [data-toolbar-item][data-active='true'] {
|
|
52
|
-
@apply bg-
|
|
51
|
+
@apply bg-surface-z3 text-primary-z7 bg-none;
|
|
53
52
|
}
|
|
54
53
|
|
|
55
54
|
[data-style='shadcn'] [data-toolbar-item][data-active='true']:hover:not(:disabled) {
|
|
56
|
-
@apply bg-
|
|
55
|
+
@apply bg-surface-z4 text-primary-z8 bg-none;
|
|
57
56
|
}
|
|
58
57
|
|
|
59
58
|
/* =============================================================================
|
|
@@ -77,9 +76,9 @@
|
|
|
77
76
|
============================================================================= */
|
|
78
77
|
|
|
79
78
|
[data-style='shadcn'] [data-toolbar-separator] {
|
|
80
|
-
@apply bg-
|
|
79
|
+
@apply bg-surface-z3 bg-none;
|
|
81
80
|
}
|
|
82
81
|
|
|
83
82
|
[data-style='shadcn'] [data-toolbar-divider] {
|
|
84
|
-
@apply bg-
|
|
83
|
+
@apply bg-surface-z3 bg-none;
|
|
85
84
|
}
|
package/src/shadcn/tree.css
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[data-style='shadcn'] [data-tree-toggle-btn]:hover {
|
|
24
|
-
@apply bg-
|
|
24
|
+
@apply bg-surface-z3 text-surface-z6 bg-none;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
/* =============================================================================
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
|
|
35
35
|
[data-style='shadcn'] [data-tree-item-content]:hover:not(:disabled),
|
|
36
36
|
[data-style='shadcn'] [data-tree-item-content]:focus:not(:disabled) {
|
|
37
|
-
@apply bg-
|
|
37
|
+
@apply bg-surface-z3 text-surface-z9 bg-none outline-none;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/* Focus visible for keyboard navigation */
|
|
@@ -44,24 +44,26 @@
|
|
|
44
44
|
|
|
45
45
|
/* Active/selected state */
|
|
46
46
|
[data-style='shadcn'] [data-tree-item-content][data-active='true'] {
|
|
47
|
-
@apply bg-
|
|
47
|
+
@apply bg-primary-z2 text-primary-z7 bg-none;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
[data-style='shadcn'] [data-tree-item-content][data-active='true']:hover:not(:disabled) {
|
|
51
|
-
@apply bg-
|
|
51
|
+
@apply bg-primary-z3 text-primary-z8 bg-none;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
/* Reset gradients */
|
|
55
55
|
[data-style='shadcn'] [data-tree]:focus-within [data-tree-item-content][data-active='true'] {
|
|
56
|
-
@apply bg-
|
|
56
|
+
@apply bg-primary-z2 bg-none;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
[data-style='shadcn']
|
|
60
|
-
|
|
59
|
+
[data-style='shadcn']
|
|
60
|
+
[data-tree]:focus-within
|
|
61
|
+
[data-tree-item-content][data-active='true']:hover:not(:disabled) {
|
|
62
|
+
@apply bg-primary-z3 bg-none;
|
|
61
63
|
}
|
|
62
64
|
|
|
63
65
|
[data-style='shadcn'] [data-tree]:not(:focus-within) [data-tree-item-content][data-active='true'] {
|
|
64
|
-
@apply bg-
|
|
66
|
+
@apply bg-surface-z2 bg-none;
|
|
65
67
|
}
|
|
66
68
|
|
|
67
69
|
/* =============================================================================
|
|
@@ -89,18 +91,24 @@
|
|
|
89
91
|
}
|
|
90
92
|
|
|
91
93
|
[data-style='shadcn'] [data-tree-item-content] [data-item-badge] {
|
|
92
|
-
@apply
|
|
94
|
+
@apply text-surface-z6 border-surface-z3 rounded-md border bg-transparent bg-none;
|
|
93
95
|
}
|
|
94
96
|
|
|
95
97
|
[data-style='shadcn'] [data-tree-item-content][data-active='true'] [data-item-badge] {
|
|
96
98
|
@apply text-primary-z7 border-primary-z3;
|
|
97
99
|
}
|
|
98
100
|
|
|
99
|
-
[data-style='shadcn']
|
|
101
|
+
[data-style='shadcn']
|
|
102
|
+
[data-tree]:focus-within
|
|
103
|
+
[data-tree-item-content][data-active='true']
|
|
104
|
+
[data-item-badge] {
|
|
100
105
|
@apply bg-none;
|
|
101
106
|
}
|
|
102
107
|
|
|
103
|
-
[data-style='shadcn']
|
|
108
|
+
[data-style='shadcn']
|
|
109
|
+
[data-tree]:not(:focus-within)
|
|
110
|
+
[data-tree-item-content][data-active='true']
|
|
111
|
+
[data-item-badge] {
|
|
104
112
|
@apply bg-none;
|
|
105
113
|
}
|
|
106
114
|
|
|
@@ -109,14 +117,14 @@
|
|
|
109
117
|
============================================================================= */
|
|
110
118
|
|
|
111
119
|
[data-style='shadcn'] [data-tree-node][data-selected='true'] [data-tree-item-content] {
|
|
112
|
-
@apply bg-
|
|
120
|
+
@apply bg-primary-z2 text-primary-z7 bg-none;
|
|
113
121
|
}
|
|
114
122
|
|
|
115
123
|
[data-style='shadcn']
|
|
116
124
|
[data-tree]:focus-within
|
|
117
125
|
[data-tree-node][data-selected='true']
|
|
118
126
|
[data-tree-item-content] {
|
|
119
|
-
@apply bg-
|
|
127
|
+
@apply bg-primary-z2 text-primary-z7 bg-none;
|
|
120
128
|
}
|
|
121
129
|
|
|
122
130
|
[data-style='shadcn']
|