@rokkit/themes 1.0.5 → 1.1.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/build.mjs +4 -2
- package/package.json +3 -2
- package/src/base/carousel.css +2 -1
- package/src/base/code-block.css +76 -0
- package/src/base/display.css +16 -8
- package/src/base/frame.css +36 -0
- package/src/base/index.css +2 -0
- package/src/base/input.css +49 -10
- package/src/base/nav-content.css +3 -3
- package/src/base/stepper.css +14 -7
- package/src/base/tabs.css +15 -2
- package/src/base/typography.css +32 -13
- package/src/frosted/button.css +27 -27
- package/src/frosted/card.css +8 -8
- package/src/frosted/chart.css +6 -6
- package/src/frosted/code-block.css +33 -0
- package/src/frosted/dropdown.css +9 -9
- package/src/frosted/floating-action.css +10 -10
- package/src/frosted/floating-navigation.css +13 -13
- package/src/frosted/frame.css +17 -0
- package/src/frosted/index.css +2 -0
- package/src/frosted/input.css +16 -16
- package/src/frosted/list.css +25 -25
- package/src/frosted/menu.css +13 -13
- package/src/frosted/message.css +8 -8
- package/src/frosted/range.css +8 -8
- package/src/frosted/search-filter.css +8 -8
- package/src/frosted/select.css +31 -31
- package/src/frosted/status-list.css +17 -17
- package/src/frosted/step-indicator.css +8 -8
- package/src/frosted/swatch.css +3 -3
- package/src/frosted/switch.css +3 -3
- package/src/frosted/table.css +16 -16
- package/src/frosted/tabs.css +8 -8
- package/src/frosted/timeline.css +5 -5
- package/src/frosted/toc.css +4 -4
- package/src/frosted/toggle.css +7 -7
- package/src/frosted/toolbar.css +15 -15
- package/src/frosted/tree.css +19 -19
- package/src/material/button.css +29 -29
- package/src/material/card.css +12 -12
- package/src/material/chart.css +6 -6
- package/src/material/code-block.css +33 -0
- package/src/material/dropdown.css +11 -11
- package/src/material/floating-action.css +10 -10
- package/src/material/floating-navigation.css +13 -13
- package/src/material/frame.css +17 -0
- package/src/material/index.css +2 -0
- package/src/material/input.css +21 -21
- package/src/material/list.css +23 -23
- package/src/material/menu.css +16 -16
- package/src/material/message.css +8 -8
- package/src/material/range.css +8 -8
- package/src/material/search-filter.css +8 -8
- package/src/material/select.css +31 -31
- package/src/material/status-list.css +17 -17
- package/src/material/step-indicator.css +8 -8
- package/src/material/swatch.css +3 -3
- package/src/material/switch.css +6 -6
- package/src/material/table.css +16 -16
- package/src/material/tabs.css +7 -7
- package/src/material/timeline.css +5 -5
- package/src/material/toc.css +4 -4
- package/src/material/toggle.css +6 -6
- package/src/material/toolbar.css +11 -11
- package/src/material/tree.css +17 -17
- package/src/minimal/button.css +30 -30
- package/src/minimal/card.css +13 -13
- package/src/minimal/chart.css +6 -6
- package/src/minimal/code-block.css +33 -0
- package/src/minimal/dropdown.css +11 -11
- package/src/minimal/floating-action.css +10 -10
- package/src/minimal/floating-navigation.css +12 -12
- package/src/minimal/frame.css +17 -0
- package/src/minimal/index.css +2 -0
- package/src/minimal/input.css +24 -24
- package/src/minimal/list.css +52 -26
- package/src/minimal/menu.css +15 -15
- package/src/minimal/message.css +8 -8
- package/src/minimal/range.css +7 -7
- package/src/minimal/search-filter.css +8 -8
- package/src/minimal/select.css +27 -27
- package/src/minimal/status-list.css +17 -17
- package/src/minimal/step-indicator.css +8 -8
- package/src/minimal/swatch.css +3 -3
- package/src/minimal/switch.css +6 -6
- package/src/minimal/table.css +16 -16
- package/src/minimal/tabs.css +14 -14
- package/src/minimal/timeline.css +4 -4
- package/src/minimal/toc.css +4 -4
- package/src/minimal/toggle.css +7 -7
- package/src/minimal/toolbar.css +14 -14
- package/src/minimal/tree.css +24 -18
- package/src/rokkit/avatar.css +6 -6
- package/src/rokkit/badge.css +5 -5
- package/src/rokkit/button.css +55 -37
- package/src/rokkit/card.css +11 -11
- package/src/rokkit/chart.css +6 -6
- package/src/rokkit/code-block.css +33 -0
- package/src/rokkit/connector.css +1 -1
- package/src/rokkit/divider.css +5 -5
- package/src/rokkit/dropdown.css +11 -11
- package/src/rokkit/floating-action.css +11 -11
- package/src/rokkit/floating-navigation.css +15 -15
- package/src/rokkit/frame.css +17 -0
- package/src/rokkit/grid.css +8 -8
- package/src/rokkit/index.css +2 -0
- package/src/rokkit/input.css +17 -17
- package/src/rokkit/list.css +24 -24
- package/src/rokkit/menu.css +14 -14
- package/src/rokkit/message.css +12 -12
- package/src/rokkit/range.css +10 -10
- package/src/rokkit/search-filter.css +8 -8
- package/src/rokkit/select.css +34 -34
- package/src/rokkit/status-list.css +17 -17
- package/src/rokkit/step-indicator.css +8 -8
- package/src/rokkit/swatch.css +3 -3
- package/src/rokkit/switch.css +6 -6
- package/src/rokkit/table.css +16 -16
- package/src/rokkit/tabs.css +31 -28
- package/src/rokkit/timeline.css +5 -5
- package/src/rokkit/toc.css +4 -4
- package/src/rokkit/toggle.css +21 -10
- package/src/rokkit/toolbar.css +15 -15
- package/src/rokkit/tooltip.css +1 -1
- package/src/rokkit/tree.css +23 -23
- package/src/rokkit/upload-progress.css +18 -18
- package/src/rokkit/upload-target.css +8 -8
- package/src/zen-sumi/button.css +29 -29
- package/src/zen-sumi/card.css +12 -12
- package/src/zen-sumi/chart.css +6 -6
- package/src/zen-sumi/code-block.css +35 -0
- package/src/zen-sumi/dropdown.css +10 -10
- package/src/zen-sumi/floating-action.css +7 -7
- package/src/zen-sumi/floating-navigation.css +11 -11
- package/src/zen-sumi/frame.css +20 -0
- package/src/zen-sumi/index.css +2 -0
- package/src/zen-sumi/input.css +49 -23
- package/src/zen-sumi/list.css +20 -20
- package/src/zen-sumi/menu.css +14 -14
- package/src/zen-sumi/message.css +8 -8
- package/src/zen-sumi/range.css +7 -7
- package/src/zen-sumi/search-filter.css +8 -8
- package/src/zen-sumi/select.css +26 -26
- package/src/zen-sumi/status-list.css +17 -17
- package/src/zen-sumi/step-indicator.css +8 -8
- package/src/zen-sumi/swatch.css +3 -3
- package/src/zen-sumi/switch.css +5 -5
- package/src/zen-sumi/table.css +16 -16
- package/src/zen-sumi/tabs.css +8 -8
- package/src/zen-sumi/timeline.css +4 -4
- package/src/zen-sumi/toc.css +4 -4
- package/src/zen-sumi/toggle.css +18 -10
- package/src/zen-sumi/toolbar.css +14 -14
- package/src/zen-sumi/tree.css +16 -16
package/src/frosted/list.css
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='frosted'] [data-list]:focus-within {
|
|
12
|
-
@apply ring-
|
|
12
|
+
@apply ring-ink-soft/40 rounded ring-1;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/* =============================================================================
|
|
@@ -17,34 +17,34 @@
|
|
|
17
17
|
============================================================================= */
|
|
18
18
|
|
|
19
19
|
[data-style='frosted'] [data-list] [data-list-item] {
|
|
20
|
-
@apply text-
|
|
20
|
+
@apply text-ink-mute;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[data-style='frosted'] [data-list] a[data-list-item],
|
|
24
24
|
[data-style='frosted'] [data-list] button[data-list-item] {
|
|
25
|
-
@apply text-
|
|
25
|
+
@apply text-ink-mute;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
/* Hover and focus (keyboard navigation) */
|
|
29
29
|
[data-style='frosted'] [data-list] [data-list-item]:hover:not(:disabled):not([data-disabled='true']),
|
|
30
30
|
[data-style='frosted'] [data-list] [data-list-item]:focus:not(:disabled):not([data-disabled='true']) {
|
|
31
|
-
@apply bg-
|
|
31
|
+
@apply bg-paper-mute/15 text-ink bg-none outline-none;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
/* Active state — muted when list not focused */
|
|
35
35
|
[data-style='frosted'] [data-list] [data-list-item][data-active='true'] {
|
|
36
|
-
@apply bg-
|
|
36
|
+
@apply bg-paper-mute/15 text-primary bg-none;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
/* Active state — full highlight when list has focus */
|
|
40
40
|
[data-style='frosted'] [data-list]:focus-within [data-list-item][data-active='true'] {
|
|
41
|
-
@apply bg-primary
|
|
41
|
+
@apply bg-primary/30 text-primary bg-none;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
/* Active + hover/focus */
|
|
45
45
|
[data-style='frosted'] [data-list] [data-list-item][data-active='true']:hover:not(:disabled),
|
|
46
46
|
[data-style='frosted'] [data-list] [data-list-item][data-active='true']:focus:not(:disabled) {
|
|
47
|
-
@apply bg-primary
|
|
47
|
+
@apply bg-primary/40 bg-none;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
/* =============================================================================
|
|
@@ -52,30 +52,30 @@
|
|
|
52
52
|
============================================================================= */
|
|
53
53
|
|
|
54
54
|
[data-style='frosted'] [data-list] [data-list-item] [data-item-icon] {
|
|
55
|
-
@apply text-
|
|
55
|
+
@apply text-ink-soft;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
[data-style='frosted'] [data-list] [data-list-item]:hover:not(:disabled) [data-item-icon],
|
|
59
59
|
[data-style='frosted'] [data-list] [data-list-item]:focus:not(:disabled) [data-item-icon] {
|
|
60
|
-
@apply text-
|
|
60
|
+
@apply text-ink-mute;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
[data-style='frosted'] [data-list] [data-list-item][data-active='true'] [data-item-icon] {
|
|
64
|
-
@apply text-primary
|
|
64
|
+
@apply text-primary;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
/* Literal / kanji icons */
|
|
68
68
|
[data-style='frosted'] [data-list] [data-list-item] [data-item-icon-literal] {
|
|
69
|
-
@apply text-
|
|
69
|
+
@apply text-ink-soft;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
[data-style='frosted'] [data-list] [data-list-item]:hover:not(:disabled) [data-item-icon-literal],
|
|
73
73
|
[data-style='frosted'] [data-list] [data-list-item]:focus:not(:disabled) [data-item-icon-literal] {
|
|
74
|
-
@apply text-
|
|
74
|
+
@apply text-ink-mute;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
[data-style='frosted'] [data-list] [data-list-item][data-active='true'] [data-item-icon-literal] {
|
|
78
|
-
@apply text-primary
|
|
78
|
+
@apply text-primary;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
[data-style='frosted']
|
|
@@ -86,23 +86,23 @@
|
|
|
86
86
|
[data-list]
|
|
87
87
|
[data-list-item][data-active='true']:hover:not(:disabled)
|
|
88
88
|
[data-item-icon-literal] {
|
|
89
|
-
@apply text-primary
|
|
89
|
+
@apply text-primary;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
[data-style='frosted'] [data-list] [data-list-item] [data-item-description] {
|
|
93
|
-
@apply text-
|
|
93
|
+
@apply text-ink-soft;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
[data-style='frosted'] [data-list] [data-list-item][data-active='true'] [data-item-description] {
|
|
97
|
-
@apply text-primary
|
|
97
|
+
@apply text-primary;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
[data-style='frosted'] [data-list] [data-list-item] [data-item-badge] {
|
|
101
|
-
@apply bg-
|
|
101
|
+
@apply bg-paper-mute/15 text-ink-soft bg-none;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
[data-style='frosted'] [data-list] [data-list-item][data-active='true'] [data-item-badge] {
|
|
105
|
-
@apply bg-primary
|
|
105
|
+
@apply bg-primary/25 text-primary bg-none;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
/* =============================================================================
|
|
@@ -110,12 +110,12 @@
|
|
|
110
110
|
============================================================================= */
|
|
111
111
|
|
|
112
112
|
[data-style='frosted'] [data-list] [data-list-group] {
|
|
113
|
-
@apply text-
|
|
113
|
+
@apply text-ink-soft;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
[data-style='frosted'] [data-list] [data-list-group]:hover:not(:disabled),
|
|
117
117
|
[data-style='frosted'] [data-list] [data-list-group]:focus:not(:disabled) {
|
|
118
|
-
@apply bg-
|
|
118
|
+
@apply bg-paper-mute/25 text-ink-mute bg-none;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
/* =============================================================================
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
============================================================================= */
|
|
124
124
|
|
|
125
125
|
[data-style='frosted'] [data-list] [data-list-separator] {
|
|
126
|
-
@apply bg-
|
|
126
|
+
@apply bg-ink-soft/20 bg-none;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
/* =============================================================================
|
|
@@ -131,17 +131,17 @@
|
|
|
131
131
|
============================================================================= */
|
|
132
132
|
|
|
133
133
|
[data-style='frosted'] [data-list] [data-list-item][data-selected='true'] {
|
|
134
|
-
@apply bg-primary
|
|
134
|
+
@apply bg-primary/20 text-primary bg-none;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
[data-style='frosted'] [data-list]:focus-within [data-list-item][data-selected='true'] {
|
|
138
|
-
@apply bg-primary
|
|
138
|
+
@apply bg-primary/30 bg-none;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
[data-style='frosted'] [data-list] [data-list-item][data-selected='true']:hover:not(:disabled) {
|
|
142
|
-
@apply bg-primary
|
|
142
|
+
@apply bg-primary/40 bg-none;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
[data-style='frosted'] [data-list] [data-list-item][data-selected='true'] [data-item-icon] {
|
|
146
|
-
@apply text-primary
|
|
146
|
+
@apply text-primary;
|
|
147
147
|
}
|
package/src/frosted/menu.css
CHANGED
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='frosted'] [data-menu-trigger] {
|
|
12
|
-
@apply text-
|
|
12
|
+
@apply text-ink-mute border bg-none backdrop-blur-xl bg-paper-mute/25;
|
|
13
13
|
border-color: rgba(255, 255, 255, 0.2);
|
|
14
14
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
[data-style='frosted'] [data-menu-trigger]:hover:not(:disabled) {
|
|
18
|
-
@apply text-
|
|
18
|
+
@apply text-ink bg-none bg-paper-mute/36;
|
|
19
19
|
border-color: rgba(255, 255, 255, 0.28);
|
|
20
20
|
}
|
|
21
21
|
|
|
@@ -25,21 +25,21 @@
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
[data-style='frosted'] [data-menu][data-open='true'] [data-menu-trigger] {
|
|
28
|
-
@apply bg-none bg-primary
|
|
28
|
+
@apply bg-none bg-primary/35;
|
|
29
29
|
border-color: rgba(255, 255, 255, 0.3);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
/* Trigger elements */
|
|
33
33
|
[data-style='frosted'] [data-menu-trigger] [data-menu-icon] {
|
|
34
|
-
@apply text-
|
|
34
|
+
@apply text-ink-soft;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
[data-style='frosted'] [data-menu-trigger]:hover:not(:disabled) [data-menu-icon] {
|
|
38
|
-
@apply text-
|
|
38
|
+
@apply text-ink-mute;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
[data-style='frosted'] [data-menu-trigger] [data-menu-arrow] {
|
|
42
|
-
@apply text-
|
|
42
|
+
@apply text-ink-soft;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
/* =============================================================================
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
============================================================================= */
|
|
48
48
|
|
|
49
49
|
[data-style='frosted'] [data-menu-dropdown] {
|
|
50
|
-
@apply border bg-none shadow-xl backdrop-blur-2xl bg-
|
|
50
|
+
@apply border bg-none shadow-xl backdrop-blur-2xl bg-paper-mute/45;
|
|
51
51
|
border-color: rgba(255, 255, 255, 0.2);
|
|
52
52
|
box-shadow:
|
|
53
53
|
inset 0 1px 0 rgba(255, 255, 255, 0.2),
|
|
@@ -59,12 +59,12 @@
|
|
|
59
59
|
============================================================================= */
|
|
60
60
|
|
|
61
61
|
[data-style='frosted'] [data-menu-item] {
|
|
62
|
-
@apply text-
|
|
62
|
+
@apply text-ink-mute;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
[data-style='frosted'] [data-menu-item]:hover:not(:disabled),
|
|
66
66
|
[data-style='frosted'] [data-menu-item]:focus:not(:disabled) {
|
|
67
|
-
@apply text-
|
|
67
|
+
@apply text-ink bg-none outline-none;
|
|
68
68
|
background: rgba(255, 255, 255, 0.08);
|
|
69
69
|
}
|
|
70
70
|
|
|
@@ -75,15 +75,15 @@
|
|
|
75
75
|
|
|
76
76
|
/* Item elements */
|
|
77
77
|
[data-style='frosted'] [data-menu-item] [data-item-icon] {
|
|
78
|
-
@apply text-
|
|
78
|
+
@apply text-ink-soft;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
[data-style='frosted'] [data-menu-item]:hover:not(:disabled) [data-item-icon] {
|
|
82
|
-
@apply text-
|
|
82
|
+
@apply text-ink-mute;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
[data-style='frosted'] [data-menu-item] [data-item-description] {
|
|
86
|
-
@apply text-
|
|
86
|
+
@apply text-ink-soft;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
/* =============================================================================
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
============================================================================= */
|
|
92
92
|
|
|
93
93
|
[data-style='frosted'] [data-menu-group] {
|
|
94
|
-
@apply text-
|
|
94
|
+
@apply text-ink-soft;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
/* =============================================================================
|
package/src/frosted/message.css
CHANGED
|
@@ -3,33 +3,33 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
[data-style='frosted'] [data-message-root][data-type='error'] {
|
|
6
|
-
@apply bg-error-
|
|
6
|
+
@apply bg-error-soft/50 border-error/40 text-error backdrop-blur-sm;
|
|
7
7
|
}
|
|
8
8
|
[data-style='frosted'] [data-message-root][data-type='error'] [data-message-icon],
|
|
9
9
|
[data-style='frosted'] [data-message-root][data-type='error'] [data-message-dismiss] {
|
|
10
|
-
@apply text-error
|
|
10
|
+
@apply text-error;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
[data-style='frosted'] [data-message-root][data-type='warning'] {
|
|
14
|
-
@apply bg-warning-
|
|
14
|
+
@apply bg-warning-soft/50 border-warning/40 text-warning backdrop-blur-sm;
|
|
15
15
|
}
|
|
16
16
|
[data-style='frosted'] [data-message-root][data-type='warning'] [data-message-icon],
|
|
17
17
|
[data-style='frosted'] [data-message-root][data-type='warning'] [data-message-dismiss] {
|
|
18
|
-
@apply text-warning
|
|
18
|
+
@apply text-warning;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
[data-style='frosted'] [data-message-root][data-type='info'] {
|
|
22
|
-
@apply bg-info-
|
|
22
|
+
@apply bg-info-soft/50 border-info/40 text-info backdrop-blur-sm;
|
|
23
23
|
}
|
|
24
24
|
[data-style='frosted'] [data-message-root][data-type='info'] [data-message-icon],
|
|
25
25
|
[data-style='frosted'] [data-message-root][data-type='info'] [data-message-dismiss] {
|
|
26
|
-
@apply text-info
|
|
26
|
+
@apply text-info;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
[data-style='frosted'] [data-message-root][data-type='success'] {
|
|
30
|
-
@apply bg-success-
|
|
30
|
+
@apply bg-success-soft/50 border-success/40 text-success backdrop-blur-sm;
|
|
31
31
|
}
|
|
32
32
|
[data-style='frosted'] [data-message-root][data-type='success'] [data-message-icon],
|
|
33
33
|
[data-style='frosted'] [data-message-root][data-type='success'] [data-message-dismiss] {
|
|
34
|
-
@apply text-success
|
|
34
|
+
@apply text-success;
|
|
35
35
|
}
|
package/src/frosted/range.css
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='frosted'] [data-range-bar] {
|
|
12
|
-
@apply bg-
|
|
12
|
+
@apply bg-paper-mute/50 border-ink-soft/20 border;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='frosted'] [data-range-selected] {
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
[data-style='frosted'] [data-range-thumb][data-sliding] {
|
|
28
|
-
@apply ring-4 ring-primary
|
|
28
|
+
@apply ring-4 ring-primary/20;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
[data-style='frosted'] [data-range-thumb]:focus-visible {
|
|
32
|
-
@apply ring-4 ring-primary
|
|
32
|
+
@apply ring-4 ring-primary/20;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/* =============================================================================
|
|
@@ -37,15 +37,15 @@
|
|
|
37
37
|
============================================================================= */
|
|
38
38
|
|
|
39
39
|
[data-style='frosted'] [data-range-tick] {
|
|
40
|
-
@apply text-
|
|
40
|
+
@apply text-ink-soft;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
[data-style='frosted'] [data-tick-bar] {
|
|
44
|
-
@apply border-
|
|
44
|
+
@apply border-ink-soft/40;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
[data-style='frosted'] [data-tick-label] {
|
|
48
|
-
@apply text-
|
|
48
|
+
@apply text-ink-soft;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
/* =============================================================================
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
============================================================================= */
|
|
54
54
|
|
|
55
55
|
[data-style='frosted'] [data-range][data-disabled] [data-range-thumb] {
|
|
56
|
-
@apply bg-
|
|
56
|
+
@apply bg-paper-edge/50 border-paper-edge/30;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
[data-style='frosted'] [data-range][data-disabled] [data-range-selected] {
|
|
60
|
-
@apply bg-
|
|
60
|
+
@apply bg-paper-edge/30;
|
|
61
61
|
}
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='frosted'] [data-search-input] {
|
|
12
|
-
@apply text-
|
|
12
|
+
@apply text-ink-mute border-ink-soft/20 bg-paper-soft/50 border backdrop-blur-md;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='frosted'] [data-search-input]:focus {
|
|
16
|
-
@apply border-primary
|
|
16
|
+
@apply border-primary/50 ring-ink-soft/30 ring-1;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
[data-style='frosted'] [data-search-input]::placeholder {
|
|
20
|
-
@apply text-
|
|
20
|
+
@apply text-ink-soft;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
/* =============================================================================
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
============================================================================= */
|
|
26
26
|
|
|
27
27
|
[data-style='frosted'] [data-search-clear] {
|
|
28
|
-
@apply text-
|
|
28
|
+
@apply text-ink-soft;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
[data-style='frosted'] [data-search-clear]:hover {
|
|
32
|
-
@apply text-
|
|
32
|
+
@apply text-ink;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/* =============================================================================
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
============================================================================= */
|
|
38
38
|
|
|
39
39
|
[data-style='frosted'] [data-search-tag] {
|
|
40
|
-
@apply text-
|
|
40
|
+
@apply text-ink-mute bg-paper-mute/15;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
[data-style='frosted'] [data-search-tag-remove] {
|
|
44
|
-
@apply text-
|
|
44
|
+
@apply text-ink-soft;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
[data-style='frosted'] [data-search-tag-remove]:hover {
|
|
48
|
-
@apply text-
|
|
48
|
+
@apply text-ink;
|
|
49
49
|
}
|
package/src/frosted/select.css
CHANGED
|
@@ -17,19 +17,19 @@
|
|
|
17
17
|
============================================================================= */
|
|
18
18
|
|
|
19
19
|
[data-style='frosted'] [data-select-trigger] {
|
|
20
|
-
@apply text-
|
|
20
|
+
@apply text-ink-mute bg-paper-soft/70 border-ink-soft/20 border backdrop-blur-md;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[data-style='frosted'] [data-select-trigger]:hover:not(:disabled) {
|
|
24
|
-
@apply text-
|
|
24
|
+
@apply text-ink bg-paper-mute/80 border-ink-soft/30;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
[data-style='frosted'] [data-select-trigger]:focus-visible {
|
|
28
|
-
@apply ring-
|
|
28
|
+
@apply ring-ink-soft/40 ring-1 outline-none;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
[data-style='frosted'] [data-select][data-open='true'] [data-select-trigger] {
|
|
32
|
-
@apply border-primary
|
|
32
|
+
@apply border-primary/50;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/* =============================================================================
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
============================================================================= */
|
|
38
38
|
|
|
39
39
|
[data-style='frosted'] [data-select-placeholder] {
|
|
40
|
-
@apply text-
|
|
40
|
+
@apply text-ink-soft;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
/* =============================================================================
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
============================================================================= */
|
|
46
46
|
|
|
47
47
|
[data-style='frosted'] [data-select-arrow] {
|
|
48
|
-
@apply text-
|
|
48
|
+
@apply text-ink-soft;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
[data-style='frosted'] [data-select-trigger]:hover:not(:disabled) [data-select-arrow] {
|
|
52
|
-
@apply text-
|
|
52
|
+
@apply text-ink-mute;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
/* =============================================================================
|
|
@@ -57,15 +57,15 @@
|
|
|
57
57
|
============================================================================= */
|
|
58
58
|
|
|
59
59
|
[data-style='frosted'] [data-select-tag] {
|
|
60
|
-
@apply text-
|
|
60
|
+
@apply text-ink-mute bg-paper-mute/15;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
[data-style='frosted'] [data-select-tag-remove] {
|
|
64
|
-
@apply text-
|
|
64
|
+
@apply text-ink-soft;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
[data-style='frosted'] [data-select-tag-remove]:hover {
|
|
68
|
-
@apply text-
|
|
68
|
+
@apply text-ink;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
/* =============================================================================
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
============================================================================= */
|
|
74
74
|
|
|
75
75
|
[data-style='frosted'] [data-select-dropdown] {
|
|
76
|
-
@apply bg-
|
|
76
|
+
@apply bg-paper-mute/50 border-ink-soft/20 border shadow-lg backdrop-blur-lg;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
/* =============================================================================
|
|
@@ -81,60 +81,60 @@
|
|
|
81
81
|
============================================================================= */
|
|
82
82
|
|
|
83
83
|
[data-style='frosted'] [data-select-option] {
|
|
84
|
-
@apply text-
|
|
84
|
+
@apply text-ink-mute;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
[data-style='frosted'] [data-select-option]:hover:not(:disabled),
|
|
88
88
|
[data-style='frosted'] [data-select-option]:focus:not(:disabled) {
|
|
89
|
-
@apply text-
|
|
89
|
+
@apply text-ink bg-paper-mute/80;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
[data-style='frosted'] [data-select-option]:focus-visible {
|
|
93
|
-
@apply ring-
|
|
93
|
+
@apply ring-ink-soft/40 ring-1 outline-none ring-inset;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
[data-style='frosted'] [data-select-option][data-selected='true'] {
|
|
97
|
-
@apply text-primary
|
|
97
|
+
@apply text-primary bg-primary/40;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
[data-style='frosted'] [data-select-option][data-selected='true']:hover:not(:disabled),
|
|
101
101
|
[data-style='frosted'] [data-select-option][data-selected='true']:focus:not(:disabled) {
|
|
102
|
-
@apply bg-primary
|
|
102
|
+
@apply bg-primary/60;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
/* Check mark */
|
|
106
106
|
[data-style='frosted'] [data-select-check] {
|
|
107
|
-
@apply text-primary
|
|
107
|
+
@apply text-primary;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
/* Checkbox */
|
|
111
111
|
[data-style='frosted'] [data-select-checkbox] {
|
|
112
|
-
@apply border-
|
|
112
|
+
@apply border-ink-soft/40 bg-paper-soft/70;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
[data-style='frosted'] [data-select-checkbox][data-checked='true'] {
|
|
116
|
-
@apply bg-primary
|
|
116
|
+
@apply bg-primary border-primary text-on-primary;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
/* Item elements */
|
|
120
120
|
[data-style='frosted'] [data-select-option] [data-item-icon] {
|
|
121
|
-
@apply text-
|
|
121
|
+
@apply text-ink-soft;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
[data-style='frosted'] [data-select-option]:hover:not(:disabled) [data-item-icon] {
|
|
125
|
-
@apply text-
|
|
125
|
+
@apply text-ink-mute;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
[data-style='frosted'] [data-select-option][data-selected='true'] [data-item-icon] {
|
|
129
|
-
@apply text-primary
|
|
129
|
+
@apply text-primary;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
[data-style='frosted'] [data-select-option] [data-item-description] {
|
|
133
|
-
@apply text-
|
|
133
|
+
@apply text-ink-soft;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
[data-style='frosted'] [data-select-option][data-selected='true'] [data-item-description] {
|
|
137
|
-
@apply text-primary
|
|
137
|
+
@apply text-primary;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
/* =============================================================================
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
============================================================================= */
|
|
143
143
|
|
|
144
144
|
[data-style='frosted'] [data-select-group-label] {
|
|
145
|
-
@apply text-
|
|
145
|
+
@apply text-ink-soft;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
/* =============================================================================
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
============================================================================= */
|
|
151
151
|
|
|
152
152
|
[data-style='frosted'] [data-select-divider] {
|
|
153
|
-
@apply bg-
|
|
153
|
+
@apply bg-ink-soft/20;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
/* =============================================================================
|
|
@@ -158,21 +158,21 @@
|
|
|
158
158
|
============================================================================= */
|
|
159
159
|
|
|
160
160
|
[data-style='frosted'] [data-select-filter] {
|
|
161
|
-
@apply bg-
|
|
161
|
+
@apply bg-paper-mute/30;
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
[data-style='frosted'] [data-select-filter-input] {
|
|
165
|
-
@apply text-
|
|
165
|
+
@apply text-ink-mute border-ink-soft/20 bg-paper-soft/50 border;
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
[data-style='frosted'] [data-select-filter-input]:focus {
|
|
169
|
-
@apply border-primary
|
|
169
|
+
@apply border-primary/50 ring-ink-soft/30 ring-1;
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
[data-style='frosted'] [data-select-filter-input]::placeholder {
|
|
173
|
-
@apply text-
|
|
173
|
+
@apply text-ink-soft;
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
[data-style='frosted'] [data-select-empty] {
|
|
177
|
-
@apply text-
|
|
177
|
+
@apply text-ink-soft;
|
|
178
178
|
}
|
|
@@ -5,62 +5,62 @@
|
|
|
5
5
|
/* ── @rokkit/ui StatusList: icon and text colors by status ── */
|
|
6
6
|
|
|
7
7
|
[data-style='frosted'] [data-status-item][data-status='pass'] span {
|
|
8
|
-
@apply text-success
|
|
8
|
+
@apply text-success;
|
|
9
9
|
}
|
|
10
10
|
[data-style='frosted'] [data-status-item][data-status='fail'] span {
|
|
11
|
-
@apply text-error
|
|
11
|
+
@apply text-error;
|
|
12
12
|
}
|
|
13
13
|
[data-style='frosted'] [data-status-item][data-status='warn'] span {
|
|
14
|
-
@apply text-warning
|
|
14
|
+
@apply text-warning;
|
|
15
15
|
}
|
|
16
16
|
[data-style='frosted'] [data-status-item][data-status='unknown'] span {
|
|
17
|
-
@apply text-
|
|
17
|
+
@apply text-paper-edge;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
[data-style='frosted'] [data-status-item][data-status='pass'] {
|
|
21
|
-
@apply text-success
|
|
21
|
+
@apply text-success;
|
|
22
22
|
}
|
|
23
23
|
[data-style='frosted'] [data-status-item][data-status='fail'] {
|
|
24
|
-
@apply text-error
|
|
24
|
+
@apply text-error;
|
|
25
25
|
}
|
|
26
26
|
[data-style='frosted'] [data-status-item][data-status='warn'] {
|
|
27
|
-
@apply text-warning
|
|
27
|
+
@apply text-warning;
|
|
28
28
|
}
|
|
29
29
|
[data-style='frosted'] [data-status-item][data-status='unknown'] {
|
|
30
|
-
@apply text-
|
|
30
|
+
@apply text-ink-soft;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
/* ── @rokkit/forms StatusList: group headers by severity ── */
|
|
34
34
|
|
|
35
35
|
[data-style='frosted'] [data-status-group][data-severity='error'] [data-status-header] {
|
|
36
|
-
@apply text-error
|
|
36
|
+
@apply text-error;
|
|
37
37
|
}
|
|
38
38
|
[data-style='frosted'] [data-status-group][data-severity='warning'] [data-status-header] {
|
|
39
|
-
@apply text-warning
|
|
39
|
+
@apply text-warning;
|
|
40
40
|
}
|
|
41
41
|
[data-style='frosted'] [data-status-group][data-severity='info'] [data-status-header] {
|
|
42
|
-
@apply text-info
|
|
42
|
+
@apply text-info;
|
|
43
43
|
}
|
|
44
44
|
[data-style='frosted'] [data-status-group][data-severity='success'] [data-status-header] {
|
|
45
|
-
@apply text-success
|
|
45
|
+
@apply text-success;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/* ── @rokkit/forms StatusList: item colors ── */
|
|
49
49
|
|
|
50
50
|
[data-style='frosted'] [data-status-item][data-status='error'] {
|
|
51
|
-
@apply text-error
|
|
51
|
+
@apply text-error;
|
|
52
52
|
}
|
|
53
53
|
[data-style='frosted'] [data-status-item][data-status='warning'] {
|
|
54
|
-
@apply text-warning
|
|
54
|
+
@apply text-warning;
|
|
55
55
|
}
|
|
56
56
|
[data-style='frosted'] [data-status-item][data-status='info'] {
|
|
57
|
-
@apply text-info
|
|
57
|
+
@apply text-info;
|
|
58
58
|
}
|
|
59
59
|
[data-style='frosted'] [data-status-item][data-status='success'] {
|
|
60
|
-
@apply text-success
|
|
60
|
+
@apply text-success;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
/* Count badge */
|
|
64
64
|
[data-style='frosted'] [data-status-count] {
|
|
65
|
-
@apply bg-
|
|
65
|
+
@apply bg-paper-mute/60 text-ink-mute font-semibold backdrop-blur-sm;
|
|
66
66
|
}
|