@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/material/input.css
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
/* Form background */
|
|
6
6
|
[data-style='material'] [data-form-root] {
|
|
7
|
-
@apply bg-
|
|
7
|
+
@apply bg-paper-soft;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
/* Field root: relative positioning for floating label */
|
|
@@ -16,17 +16,17 @@
|
|
|
16
16
|
* (prevents body[data-mode="dark"][data-style="rokkit"] bleed on comparison pages) */
|
|
17
17
|
[data-style='material'] [data-input-root],
|
|
18
18
|
[data-mode='dark'] [data-style='material'] [data-input-root] {
|
|
19
|
-
@apply border-
|
|
19
|
+
@apply border-paper-edge flex items-center rounded border bg-transparent p-0 transition-all;
|
|
20
20
|
background-color: transparent;
|
|
21
21
|
background-image: none;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
[data-style='material'] [data-input-root]:hover {
|
|
25
|
-
@apply border-
|
|
25
|
+
@apply border-ink-soft;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
[data-style='material'] [data-input-root]:focus-within {
|
|
29
|
-
@apply border-primary
|
|
29
|
+
@apply border-primary bg-transparent;
|
|
30
30
|
background-image: none;
|
|
31
31
|
}
|
|
32
32
|
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
[data-mode='dark'] [data-style='material'] [data-input-root] textarea,
|
|
43
43
|
[data-style='material'] [data-input-root] select,
|
|
44
44
|
[data-mode='dark'] [data-style='material'] [data-input-root] select {
|
|
45
|
-
@apply text-
|
|
45
|
+
@apply text-ink w-full border-none bg-transparent px-3 py-2.5 transition-all outline-none;
|
|
46
46
|
background-color: transparent;
|
|
47
47
|
border-radius: 4px;
|
|
48
48
|
font-size: 0.875rem;
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
|
|
56
56
|
/* Select inside input-root */
|
|
57
57
|
[data-style='material'] [data-input-root] [data-select-trigger] {
|
|
58
|
-
@apply text-
|
|
58
|
+
@apply text-ink rounded border-none bg-transparent px-3 shadow-none ring-0 focus:outline-none;
|
|
59
59
|
font-size: 0.875rem;
|
|
60
60
|
}
|
|
61
61
|
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
|
|
67
67
|
/* Labels: floating label effect (exclude checkbox — uses inline label) */
|
|
68
68
|
[data-style='material'] [data-field-root]:not([data-field-type='checkbox']) [data-field] > label {
|
|
69
|
-
@apply text-
|
|
69
|
+
@apply text-ink-soft pointer-events-none absolute left-3 px-1 text-sm transition-all;
|
|
70
70
|
top: 50%;
|
|
71
71
|
transform: translateY(-50%);
|
|
72
72
|
z-index: 1;
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
[data-field-root]:not([data-field-type='checkbox']):not([data-field-empty='true'])
|
|
82
82
|
[data-field]
|
|
83
83
|
> label {
|
|
84
|
-
@apply bg-
|
|
84
|
+
@apply bg-paper-soft text-xs;
|
|
85
85
|
top: 0;
|
|
86
86
|
transform: translateY(-50%);
|
|
87
87
|
padding-inline: 0.25rem;
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
[data-field-root]:not([data-field-type='checkbox'])
|
|
93
93
|
[data-field]:has([data-input-root]:focus-within)
|
|
94
94
|
> label {
|
|
95
|
-
@apply text-primary
|
|
95
|
+
@apply text-primary;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
/* Checkbox fields: inline label, centered with icon */
|
|
@@ -101,64 +101,64 @@
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
[data-style='material'] [data-field-type='checkbox'] [data-field] > label {
|
|
104
|
-
@apply text-
|
|
104
|
+
@apply text-ink-mute text-sm;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
/* Form-level labels (FormRenderer) */
|
|
108
108
|
[data-style='material'] [data-form-root] label {
|
|
109
|
-
@apply text-
|
|
109
|
+
@apply text-ink-soft text-sm;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
/* Info field value */
|
|
113
113
|
[data-style='material'] [data-field-info] {
|
|
114
|
-
@apply text-primary
|
|
114
|
+
@apply text-primary;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
/* Separator */
|
|
118
118
|
[data-style='material'] [data-form-separator] {
|
|
119
|
-
@apply border-
|
|
119
|
+
@apply border-paper-mute;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
/* Disabled state */
|
|
123
123
|
[data-style='material'] [data-field-disabled] [data-input-root] {
|
|
124
|
-
@apply border-
|
|
124
|
+
@apply border-paper-mute bg-paper-soft cursor-not-allowed opacity-60;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
/* Error state */
|
|
128
128
|
[data-style='material'] [data-field-state='fail'] [data-input-root] {
|
|
129
|
-
@apply border-danger
|
|
129
|
+
@apply border-danger;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
[data-style='material']
|
|
133
133
|
[data-field-root]:not([data-field-type='checkbox'])[data-field-state='fail']
|
|
134
134
|
[data-field]
|
|
135
135
|
> label {
|
|
136
|
-
@apply text-danger
|
|
136
|
+
@apply text-danger;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
/* Description */
|
|
140
140
|
[data-style='material'] [data-description] {
|
|
141
|
-
@apply text-
|
|
141
|
+
@apply text-ink-soft mt-1 px-3 text-xs;
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
/* Message */
|
|
145
145
|
[data-style='material'] [data-message] {
|
|
146
|
-
@apply text-danger
|
|
146
|
+
@apply text-danger mt-1 px-3 text-xs;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
/* Checkbox */
|
|
150
150
|
[data-style='material'] [data-checkbox-icon] {
|
|
151
|
-
@apply text-
|
|
151
|
+
@apply text-ink-soft text-lg;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
[data-style='material']
|
|
155
155
|
[data-checkbox-root][data-variant='custom']:has(input:checked)
|
|
156
156
|
[data-checkbox-icon] {
|
|
157
|
-
@apply text-primary
|
|
157
|
+
@apply text-primary;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
/* Placeholders */
|
|
161
161
|
[data-style='material'] [data-input-root] input::placeholder,
|
|
162
162
|
[data-style='material'] [data-input-root] textarea::placeholder {
|
|
163
|
-
@apply text-
|
|
163
|
+
@apply text-paper-edge;
|
|
164
164
|
}
|
package/src/material/list.css
CHANGED
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
============================================================================= */
|
|
18
18
|
|
|
19
19
|
[data-style='material'] [data-list] [data-list-item] {
|
|
20
|
-
@apply text-
|
|
20
|
+
@apply text-ink-mute;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[data-style='material'] [data-list] a[data-list-item],
|
|
24
24
|
[data-style='material'] [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) */
|
|
@@ -32,23 +32,23 @@
|
|
|
32
32
|
[data-style='material']
|
|
33
33
|
[data-list]
|
|
34
34
|
[data-list-item]:focus:not(:disabled):not([data-disabled='true']) {
|
|
35
|
-
@apply bg-
|
|
35
|
+
@apply bg-paper-mute text-ink bg-none outline-none;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
/* Active state — muted when list not focused */
|
|
39
39
|
[data-style='material'] [data-list] [data-list-item][data-active='true'] {
|
|
40
|
-
@apply bg-
|
|
40
|
+
@apply bg-paper-mute text-primary bg-none;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
/* Active state — full highlight when list has focus */
|
|
44
44
|
[data-style='material'] [data-list]:focus-within [data-list-item][data-active='true'] {
|
|
45
|
-
@apply bg-primary
|
|
45
|
+
@apply bg-primary text-primary bg-none;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/* Active + hover/focus */
|
|
49
49
|
[data-style='material'] [data-list] [data-list-item][data-active='true']:hover:not(:disabled),
|
|
50
50
|
[data-style='material'] [data-list] [data-list-item][data-active='true']:focus:not(:disabled) {
|
|
51
|
-
@apply bg-primary
|
|
51
|
+
@apply bg-primary bg-none;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
/* =============================================================================
|
|
@@ -56,46 +56,46 @@
|
|
|
56
56
|
============================================================================= */
|
|
57
57
|
|
|
58
58
|
[data-style='material'] [data-list] [data-list-item] [data-item-icon] {
|
|
59
|
-
@apply text-
|
|
59
|
+
@apply text-ink-soft;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
[data-style='material'] [data-list] [data-list-item]:hover:not(:disabled) [data-item-icon],
|
|
63
63
|
[data-style='material'] [data-list] [data-list-item]:focus:not(:disabled) [data-item-icon] {
|
|
64
|
-
@apply text-
|
|
64
|
+
@apply text-ink-mute;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
[data-style='material'] [data-list] [data-list-item][data-active='true'] [data-item-icon] {
|
|
68
|
-
@apply text-primary
|
|
68
|
+
@apply text-primary;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
/* Literal / kanji icons */
|
|
72
72
|
[data-style='material'] [data-list] [data-list-item] [data-item-icon-literal] {
|
|
73
|
-
@apply text-
|
|
73
|
+
@apply text-ink-soft;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
[data-style='material'] [data-list] [data-list-item]:hover:not(:disabled) [data-item-icon-literal],
|
|
77
77
|
[data-style='material'] [data-list] [data-list-item]:focus:not(:disabled) [data-item-icon-literal] {
|
|
78
|
-
@apply text-
|
|
78
|
+
@apply text-ink-mute;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
[data-style='material'] [data-list] [data-list-item][data-active='true'] [data-item-icon-literal] {
|
|
82
|
-
@apply text-primary
|
|
82
|
+
@apply text-primary;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
[data-style='material'] [data-list] [data-list-item] [data-item-description] {
|
|
86
|
-
@apply text-
|
|
86
|
+
@apply text-ink-soft;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
[data-style='material'] [data-list] [data-list-item][data-active='true'] [data-item-description] {
|
|
90
|
-
@apply text-primary
|
|
90
|
+
@apply text-primary;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
[data-style='material'] [data-list] [data-list-item] [data-item-badge] {
|
|
94
|
-
@apply bg-
|
|
94
|
+
@apply bg-paper-mute text-ink-soft rounded-full bg-none;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
[data-style='material'] [data-list] [data-list-item][data-active='true'] [data-item-badge] {
|
|
98
|
-
@apply bg-primary
|
|
98
|
+
@apply bg-primary text-primary bg-none;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
/* =============================================================================
|
|
@@ -103,12 +103,12 @@
|
|
|
103
103
|
============================================================================= */
|
|
104
104
|
|
|
105
105
|
[data-style='material'] [data-list] [data-list-group] {
|
|
106
|
-
@apply text-
|
|
106
|
+
@apply text-ink-soft font-medium;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
[data-style='material'] [data-list] [data-list-group]:hover:not(:disabled),
|
|
110
110
|
[data-style='material'] [data-list] [data-list-group]:focus:not(:disabled) {
|
|
111
|
-
@apply bg-
|
|
111
|
+
@apply bg-paper-mute text-ink-mute bg-none;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
/* =============================================================================
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
============================================================================= */
|
|
117
117
|
|
|
118
118
|
[data-style='material'] [data-list] [data-list-separator] {
|
|
119
|
-
@apply bg-
|
|
119
|
+
@apply bg-paper-mute bg-none;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
/* =============================================================================
|
|
@@ -124,17 +124,17 @@
|
|
|
124
124
|
============================================================================= */
|
|
125
125
|
|
|
126
126
|
[data-style='material'] [data-list] [data-list-item][data-selected='true'] {
|
|
127
|
-
@apply bg-primary
|
|
127
|
+
@apply bg-primary text-primary bg-none;
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
[data-style='material'] [data-list]:focus-within [data-list-item][data-selected='true'] {
|
|
131
|
-
@apply bg-primary
|
|
131
|
+
@apply bg-primary bg-none;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
[data-style='material'] [data-list] [data-list-item][data-selected='true']:hover:not(:disabled) {
|
|
135
|
-
@apply bg-primary
|
|
135
|
+
@apply bg-primary bg-none;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
[data-style='material'] [data-list] [data-list-item][data-selected='true'] [data-item-icon] {
|
|
139
|
-
@apply text-primary
|
|
139
|
+
@apply text-primary;
|
|
140
140
|
}
|
package/src/material/menu.css
CHANGED
|
@@ -9,32 +9,32 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='material'] [data-menu-trigger] {
|
|
12
|
-
@apply bg-
|
|
12
|
+
@apply bg-paper-soft border-paper-edge text-ink-mute border bg-none shadow-sm;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='material'] [data-menu-trigger]:hover:not(:disabled) {
|
|
16
|
-
@apply bg-
|
|
16
|
+
@apply bg-paper-mute text-ink border-ink-soft bg-none shadow-md;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
[data-style='material'] [data-menu-trigger]:focus-visible {
|
|
20
|
-
@apply ring-primary
|
|
20
|
+
@apply ring-primary ring-2 outline-none;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[data-style='material'] [data-menu][data-open='true'] [data-menu-trigger] {
|
|
24
|
-
@apply bg-primary
|
|
24
|
+
@apply bg-primary border-primary bg-none shadow-md;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
/* Trigger elements */
|
|
28
28
|
[data-style='material'] [data-menu-trigger] [data-menu-icon] {
|
|
29
|
-
@apply text-
|
|
29
|
+
@apply text-ink-soft;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
[data-style='material'] [data-menu-trigger]:hover:not(:disabled) [data-menu-icon] {
|
|
33
|
-
@apply text-
|
|
33
|
+
@apply text-ink-mute;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
[data-style='material'] [data-menu-trigger] [data-menu-arrow] {
|
|
37
|
-
@apply text-
|
|
37
|
+
@apply text-ink-soft;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/* =============================================================================
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
============================================================================= */
|
|
43
43
|
|
|
44
44
|
[data-style='material'] [data-menu-dropdown] {
|
|
45
|
-
@apply bg-
|
|
45
|
+
@apply bg-paper-soft border-paper-mute border bg-none shadow-lg;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/* =============================================================================
|
|
@@ -50,29 +50,29 @@
|
|
|
50
50
|
============================================================================= */
|
|
51
51
|
|
|
52
52
|
[data-style='material'] [data-menu-item] {
|
|
53
|
-
@apply text-
|
|
53
|
+
@apply text-ink-mute;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
[data-style='material'] [data-menu-item]:hover:not(:disabled),
|
|
57
57
|
[data-style='material'] [data-menu-item]:focus:not(:disabled) {
|
|
58
|
-
@apply bg-
|
|
58
|
+
@apply bg-paper-mute text-ink bg-none outline-none;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
[data-style='material'] [data-menu-item]:focus-visible {
|
|
62
|
-
@apply ring-primary
|
|
62
|
+
@apply ring-primary ring-2 outline-none ring-inset;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
/* Item elements */
|
|
66
66
|
[data-style='material'] [data-menu-item] [data-item-icon] {
|
|
67
|
-
@apply text-
|
|
67
|
+
@apply text-ink-soft;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
[data-style='material'] [data-menu-item]:hover:not(:disabled) [data-item-icon] {
|
|
71
|
-
@apply text-
|
|
71
|
+
@apply text-ink-mute;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
[data-style='material'] [data-menu-item] [data-item-description] {
|
|
75
|
-
@apply text-
|
|
75
|
+
@apply text-ink-soft;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
/* =============================================================================
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
============================================================================= */
|
|
81
81
|
|
|
82
82
|
[data-style='material'] [data-menu-group] {
|
|
83
|
-
@apply text-
|
|
83
|
+
@apply text-ink-soft font-medium;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
/* =============================================================================
|
|
@@ -88,5 +88,5 @@
|
|
|
88
88
|
============================================================================= */
|
|
89
89
|
|
|
90
90
|
[data-style='material'] [data-menu-separator] {
|
|
91
|
-
@apply bg-
|
|
91
|
+
@apply bg-paper-mute bg-none;
|
|
92
92
|
}
|
package/src/material/message.css
CHANGED
|
@@ -3,33 +3,33 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
[data-style='material'] [data-message-root][data-type='error'] {
|
|
6
|
-
@apply bg-error-
|
|
6
|
+
@apply bg-error-soft border-error text-error shadow-sm;
|
|
7
7
|
}
|
|
8
8
|
[data-style='material'] [data-message-root][data-type='error'] [data-message-icon],
|
|
9
9
|
[data-style='material'] [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='material'] [data-message-root][data-type='warning'] {
|
|
14
|
-
@apply bg-warning-
|
|
14
|
+
@apply bg-warning-soft border-warning text-warning shadow-sm;
|
|
15
15
|
}
|
|
16
16
|
[data-style='material'] [data-message-root][data-type='warning'] [data-message-icon],
|
|
17
17
|
[data-style='material'] [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='material'] [data-message-root][data-type='info'] {
|
|
22
|
-
@apply bg-info-
|
|
22
|
+
@apply bg-info-soft border-info text-info shadow-sm;
|
|
23
23
|
}
|
|
24
24
|
[data-style='material'] [data-message-root][data-type='info'] [data-message-icon],
|
|
25
25
|
[data-style='material'] [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='material'] [data-message-root][data-type='success'] {
|
|
30
|
-
@apply bg-success-
|
|
30
|
+
@apply bg-success-soft border-success text-success shadow-sm;
|
|
31
31
|
}
|
|
32
32
|
[data-style='material'] [data-message-root][data-type='success'] [data-message-icon],
|
|
33
33
|
[data-style='material'] [data-message-root][data-type='success'] [data-message-dismiss] {
|
|
34
|
-
@apply text-success
|
|
34
|
+
@apply text-success;
|
|
35
35
|
}
|
package/src/material/range.css
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='material'] [data-range-bar] {
|
|
12
|
-
@apply bg-
|
|
12
|
+
@apply bg-paper-mute;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='material'] [data-range-selected] {
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
|
|
27
27
|
[data-style='material'] [data-range-thumb][data-sliding] {
|
|
28
28
|
@apply shadow-lg;
|
|
29
|
-
@apply ring-4 ring-primary
|
|
29
|
+
@apply ring-4 ring-primary/25;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
[data-style='material'] [data-range-thumb]:focus-visible {
|
|
33
|
-
@apply ring-4 ring-primary
|
|
33
|
+
@apply ring-4 ring-primary/25;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/* =============================================================================
|
|
@@ -38,15 +38,15 @@
|
|
|
38
38
|
============================================================================= */
|
|
39
39
|
|
|
40
40
|
[data-style='material'] [data-range-tick] {
|
|
41
|
-
@apply text-
|
|
41
|
+
@apply text-ink-soft;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
[data-style='material'] [data-tick-bar] {
|
|
45
|
-
@apply border-
|
|
45
|
+
@apply border-ink-soft;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
[data-style='material'] [data-tick-label] {
|
|
49
|
-
@apply text-
|
|
49
|
+
@apply text-ink-soft;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
/* =============================================================================
|
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
============================================================================= */
|
|
55
55
|
|
|
56
56
|
[data-style='material'] [data-range][data-disabled] [data-range-thumb] {
|
|
57
|
-
@apply bg-
|
|
57
|
+
@apply bg-paper-edge border-paper-edge shadow-none;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
[data-style='material'] [data-range][data-disabled] [data-range-selected] {
|
|
61
|
-
@apply bg-
|
|
61
|
+
@apply bg-paper-edge;
|
|
62
62
|
}
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='material'] [data-search-input] {
|
|
12
|
-
@apply text-
|
|
12
|
+
@apply text-ink-mute border-paper-edge bg-paper-soft border shadow-sm;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='material'] [data-search-input]:focus {
|
|
16
|
-
@apply border-primary
|
|
16
|
+
@apply border-primary ring-primary ring-1;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
[data-style='material'] [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='material'] [data-search-clear] {
|
|
28
|
-
@apply text-
|
|
28
|
+
@apply text-ink-soft;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
[data-style='material'] [data-search-clear]:hover {
|
|
32
|
-
@apply text-
|
|
32
|
+
@apply text-ink-mute bg-paper-mute rounded;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/* =============================================================================
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
============================================================================= */
|
|
38
38
|
|
|
39
39
|
[data-style='material'] [data-search-tag] {
|
|
40
|
-
@apply text-
|
|
40
|
+
@apply text-ink-mute bg-paper-mute rounded-full bg-none shadow-sm;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
[data-style='material'] [data-search-tag-remove] {
|
|
44
|
-
@apply text-
|
|
44
|
+
@apply text-ink-soft rounded-full;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
[data-style='material'] [data-search-tag-remove]:hover {
|
|
48
|
-
@apply text-
|
|
48
|
+
@apply text-ink bg-paper-mute;
|
|
49
49
|
}
|