@rokkit/themes 1.0.0-next.133 → 1.0.0-next.136
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/README.md +68 -80
- package/build.mjs +148 -150
- package/dist/base.css +689 -623
- package/dist/glass.css +212 -203
- package/dist/index.css +1464 -1257
- package/dist/material.css +203 -171
- package/dist/minimal.css +171 -147
- package/dist/rokkit.css +189 -113
- package/package.json +8 -2
- package/src/base/breadcrumbs.css +28 -28
- package/src/base/button.css +10 -3
- package/src/base/card.css +17 -17
- package/src/base/carousel.css +67 -67
- package/src/base/display.css +8 -8
- package/src/base/floating-navigation.css +32 -8
- package/src/base/graph-paper.css +49 -49
- package/src/base/pill.css +35 -35
- package/src/base/progress.css +21 -21
- package/src/base/range.css +57 -57
- package/src/base/rating.css +20 -18
- package/src/base/reveal.css +16 -16
- package/src/base/search-filter.css +61 -61
- package/src/base/shine.css +7 -7
- package/src/base/stepper.css +75 -75
- package/src/base/switch.css +55 -55
- package/src/base/table.css +49 -49
- package/src/base/tilt.css +4 -4
- package/src/base/timeline.css +38 -38
- package/src/base/tree.css +48 -15
- package/src/glass/button.css +11 -10
- package/src/glass/card.css +16 -13
- package/src/glass/floating-action.css +13 -13
- package/src/glass/floating-navigation.css +2 -2
- package/src/glass/input.css +32 -30
- package/src/glass/list.css +21 -21
- package/src/glass/menu.css +16 -16
- package/src/glass/range.css +10 -10
- package/src/glass/search-filter.css +8 -8
- package/src/glass/select.css +32 -32
- package/src/glass/switch.css +6 -6
- package/src/glass/table.css +14 -14
- package/src/glass/tabs.css +3 -3
- package/src/glass/timeline.css +8 -8
- package/src/glass/toggle.css +7 -7
- package/src/glass/toolbar.css +15 -15
- package/src/glass/tree.css +27 -21
- package/src/material/button.css +12 -8
- package/src/material/card.css +1 -1
- package/src/material/input.css +30 -14
- package/src/material/list.css +27 -23
- package/src/material/menu.css +16 -16
- package/src/material/range.css +11 -11
- package/src/material/search-filter.css +8 -8
- package/src/material/select.css +31 -31
- package/src/material/switch.css +6 -6
- package/src/material/table.css +20 -16
- package/src/material/timeline.css +8 -8
- package/src/material/toggle.css +7 -7
- package/src/material/toolbar.css +17 -16
- package/src/material/tree.css +22 -19
- package/src/minimal/button.css +7 -4
- package/src/minimal/card.css +13 -11
- package/src/minimal/floating-action.css +11 -11
- package/src/minimal/floating-navigation.css +1 -1
- package/src/minimal/input.css +14 -10
- package/src/minimal/list.css +27 -23
- package/src/minimal/menu.css +15 -15
- package/src/minimal/range.css +10 -10
- package/src/minimal/search-filter.css +8 -8
- package/src/minimal/select.css +4 -2
- package/src/minimal/switch.css +6 -6
- package/src/minimal/table.css +17 -15
- package/src/minimal/tabs.css +5 -3
- package/src/minimal/timeline.css +7 -7
- package/src/minimal/toggle.css +7 -7
- package/src/minimal/toolbar.css +17 -16
- package/src/minimal/tree.css +26 -20
- package/src/rokkit/button.css +40 -11
- package/src/rokkit/card.css +16 -14
- package/src/rokkit/floating-navigation.css +2 -2
- package/src/rokkit/input.css +10 -6
- package/src/rokkit/list.css +7 -2
- package/src/rokkit/range.css +11 -11
- package/src/rokkit/search-filter.css +8 -8
- package/src/rokkit/select.css +41 -36
- package/src/rokkit/switch.css +6 -6
- package/src/rokkit/table.css +17 -15
- package/src/rokkit/tabs.css +11 -6
- package/src/rokkit/timeline.css +8 -8
- package/src/rokkit/tree.css +35 -9
package/src/material/menu.css
CHANGED
|
@@ -9,32 +9,32 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='material'] [data-menu-trigger] {
|
|
12
|
-
|
|
12
|
+
@apply border-surface-z4 bg-surface-z1 text-surface-z8 border shadow-sm;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='material'] [data-menu-trigger]:hover:not(:disabled) {
|
|
16
|
-
|
|
16
|
+
@apply bg-surface-z2 text-surface-z10 border-surface-z5 shadow-md;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
[data-style='material'] [data-menu-trigger]:focus-visible {
|
|
20
|
-
|
|
20
|
+
@apply ring-primary-z4 ring-2 outline-none;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[data-style='material'] [data-menu][data-open='true'] [data-menu-trigger] {
|
|
24
|
-
|
|
24
|
+
@apply bg-primary-z2 border-primary-z5 shadow-md;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
/* Trigger elements */
|
|
28
28
|
[data-style='material'] [data-menu-trigger] [data-menu-icon] {
|
|
29
|
-
|
|
29
|
+
@apply text-surface-z5;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
[data-style='material'] [data-menu-trigger]:hover:not(:disabled) [data-menu-icon] {
|
|
33
|
-
|
|
33
|
+
@apply text-surface-z7;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
[data-style='material'] [data-menu-trigger] [data-menu-arrow] {
|
|
37
|
-
|
|
37
|
+
@apply text-surface-z5;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/* =============================================================================
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
============================================================================= */
|
|
43
43
|
|
|
44
44
|
[data-style='material'] [data-menu-dropdown] {
|
|
45
|
-
|
|
45
|
+
@apply bg-surface-z1 border-surface-z3 border 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
|
-
|
|
53
|
+
@apply text-surface-z8;
|
|
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
|
-
|
|
58
|
+
@apply bg-surface-z2 text-surface-z10 outline-none;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
[data-style='material'] [data-menu-item]:focus-visible {
|
|
62
|
-
|
|
62
|
+
@apply ring-primary-z4 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
|
-
|
|
67
|
+
@apply text-surface-z5;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
[data-style='material'] [data-menu-item]:hover:not(:disabled) [data-item-icon] {
|
|
71
|
-
|
|
71
|
+
@apply text-surface-z7;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
[data-style='material'] [data-menu-item] [data-item-description] {
|
|
75
|
-
|
|
75
|
+
@apply text-surface-z5;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
/* =============================================================================
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
============================================================================= */
|
|
81
81
|
|
|
82
82
|
[data-style='material'] [data-menu-group] {
|
|
83
|
-
|
|
83
|
+
@apply text-surface-z5 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
|
-
|
|
91
|
+
@apply bg-surface-z3;
|
|
92
92
|
}
|
package/src/material/range.css
CHANGED
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='material'] [data-range-bar] {
|
|
12
|
-
|
|
12
|
+
@apply bg-surface-z3;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='material'] [data-range-selected] {
|
|
16
|
-
|
|
16
|
+
@apply bg-primary;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
/* =============================================================================
|
|
@@ -21,16 +21,16 @@
|
|
|
21
21
|
============================================================================= */
|
|
22
22
|
|
|
23
23
|
[data-style='material'] [data-range-thumb] {
|
|
24
|
-
|
|
24
|
+
@apply bg-primary border-primary shadow-md;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
[data-style='material'] [data-range-thumb][data-sliding] {
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
@apply shadow-lg;
|
|
29
|
+
box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary) 25%, transparent);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
[data-style='material'] [data-range-thumb]:focus-visible {
|
|
33
|
-
|
|
33
|
+
box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary) 25%, transparent);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/* =============================================================================
|
|
@@ -38,15 +38,15 @@
|
|
|
38
38
|
============================================================================= */
|
|
39
39
|
|
|
40
40
|
[data-style='material'] [data-range-tick] {
|
|
41
|
-
|
|
41
|
+
@apply text-surface-z6;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
[data-style='material'] [data-tick-bar] {
|
|
45
|
-
|
|
45
|
+
@apply border-surface-z5;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
[data-style='material'] [data-tick-label] {
|
|
49
|
-
|
|
49
|
+
@apply text-surface-z6;
|
|
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
|
-
|
|
57
|
+
@apply bg-surface-z4 border-surface-z4 shadow-none;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
[data-style='material'] [data-range][data-disabled] [data-range-selected] {
|
|
61
|
-
|
|
61
|
+
@apply bg-surface-z4;
|
|
62
62
|
}
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='material'] [data-search-input] {
|
|
12
|
-
|
|
12
|
+
@apply text-surface-z8 border-surface-z4 bg-surface-z1 border shadow-sm;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='material'] [data-search-input]:focus {
|
|
16
|
-
|
|
16
|
+
@apply border-primary-z5 ring-primary-z4 ring-1;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
[data-style='material'] [data-search-input]::placeholder {
|
|
20
|
-
|
|
20
|
+
@apply text-surface-z5;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
/* =============================================================================
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
============================================================================= */
|
|
26
26
|
|
|
27
27
|
[data-style='material'] [data-search-clear] {
|
|
28
|
-
|
|
28
|
+
@apply text-surface-z5;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
[data-style='material'] [data-search-clear]:hover {
|
|
32
|
-
|
|
32
|
+
@apply text-surface-z8 bg-surface-z2 rounded;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/* =============================================================================
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
============================================================================= */
|
|
38
38
|
|
|
39
39
|
[data-style='material'] [data-search-tag] {
|
|
40
|
-
|
|
40
|
+
@apply text-surface-z8 bg-surface-z2 rounded-full shadow-sm;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
[data-style='material'] [data-search-tag-remove] {
|
|
44
|
-
|
|
44
|
+
@apply text-surface-z6 rounded-full;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
[data-style='material'] [data-search-tag-remove]:hover {
|
|
48
|
-
|
|
48
|
+
@apply text-surface-z9 bg-surface-z3;
|
|
49
49
|
}
|
package/src/material/select.css
CHANGED
|
@@ -9,19 +9,19 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='material'] [data-select-trigger] {
|
|
12
|
-
|
|
12
|
+
@apply bg-surface-z1 text-surface-z8 border-surface-z4 border shadow-sm;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='material'] [data-select-trigger]:hover:not(:disabled) {
|
|
16
|
-
|
|
16
|
+
@apply bg-surface-z2 border-surface-z5 shadow-md;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
[data-style='material'] [data-select-trigger]:focus-visible {
|
|
20
|
-
|
|
20
|
+
@apply ring-primary-z4 ring-1 outline-none;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[data-style='material'] [data-select][data-open='true'] [data-select-trigger] {
|
|
24
|
-
|
|
24
|
+
@apply border-primary-z5 shadow-md;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
/* =============================================================================
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
============================================================================= */
|
|
30
30
|
|
|
31
31
|
[data-style='material'] [data-select-placeholder] {
|
|
32
|
-
|
|
32
|
+
@apply text-surface-z5;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/* =============================================================================
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
============================================================================= */
|
|
38
38
|
|
|
39
39
|
[data-style='material'] [data-select-arrow] {
|
|
40
|
-
|
|
40
|
+
@apply text-surface-z5;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
[data-style='material'] [data-select-trigger]:hover:not(:disabled) [data-select-arrow] {
|
|
44
|
-
|
|
44
|
+
@apply text-surface-z7;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/* =============================================================================
|
|
@@ -49,15 +49,15 @@
|
|
|
49
49
|
============================================================================= */
|
|
50
50
|
|
|
51
51
|
[data-style='material'] [data-select-tag] {
|
|
52
|
-
|
|
52
|
+
@apply bg-surface-z2 text-surface-z8 rounded-full shadow-sm;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
[data-style='material'] [data-select-tag-remove] {
|
|
56
|
-
|
|
56
|
+
@apply text-surface-z6 rounded-full;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
[data-style='material'] [data-select-tag-remove]:hover {
|
|
60
|
-
|
|
60
|
+
@apply text-surface-z9 bg-surface-z3;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
/* =============================================================================
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
============================================================================= */
|
|
66
66
|
|
|
67
67
|
[data-style='material'] [data-select-dropdown] {
|
|
68
|
-
|
|
68
|
+
@apply bg-surface-z1 border-surface-z3 border shadow-lg;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
/* =============================================================================
|
|
@@ -73,60 +73,60 @@
|
|
|
73
73
|
============================================================================= */
|
|
74
74
|
|
|
75
75
|
[data-style='material'] [data-select-option] {
|
|
76
|
-
|
|
76
|
+
@apply text-surface-z8;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
[data-style='material'] [data-select-option]:hover:not(:disabled),
|
|
80
80
|
[data-style='material'] [data-select-option]:focus:not(:disabled) {
|
|
81
|
-
|
|
81
|
+
@apply bg-surface-z2 text-surface-z10;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
[data-style='material'] [data-select-option]:focus-visible {
|
|
85
|
-
|
|
85
|
+
@apply ring-primary-z4 ring-2 outline-none ring-inset;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
[data-style='material'] [data-select-option][data-selected='true'] {
|
|
89
|
-
|
|
89
|
+
@apply bg-primary-z2 text-primary-z9;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
[data-style='material'] [data-select-option][data-selected='true']:hover:not(:disabled),
|
|
93
93
|
[data-style='material'] [data-select-option][data-selected='true']:focus:not(:disabled) {
|
|
94
|
-
|
|
94
|
+
@apply bg-primary-z3;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
/* Check mark */
|
|
98
98
|
[data-style='material'] [data-select-check] {
|
|
99
|
-
|
|
99
|
+
@apply text-primary-z6;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
/* Checkbox */
|
|
103
103
|
[data-style='material'] [data-select-checkbox] {
|
|
104
|
-
|
|
104
|
+
@apply border-surface-z5 bg-surface-z1 rounded;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
[data-style='material'] [data-select-checkbox][data-checked='true'] {
|
|
108
|
-
|
|
108
|
+
@apply bg-primary-z5 border-primary-z5 text-white;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
/* Item elements */
|
|
112
112
|
[data-style='material'] [data-select-option] [data-item-icon] {
|
|
113
|
-
|
|
113
|
+
@apply text-surface-z5;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
[data-style='material'] [data-select-option]:hover:not(:disabled) [data-item-icon] {
|
|
117
|
-
|
|
117
|
+
@apply text-surface-z7;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
[data-style='material'] [data-select-option][data-selected='true'] [data-item-icon] {
|
|
121
|
-
|
|
121
|
+
@apply text-primary-z6;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
[data-style='material'] [data-select-option] [data-item-description] {
|
|
125
|
-
|
|
125
|
+
@apply text-surface-z5;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
[data-style='material'] [data-select-option][data-selected='true'] [data-item-description] {
|
|
129
|
-
|
|
129
|
+
@apply text-primary-z7;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
/* =============================================================================
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
============================================================================= */
|
|
135
135
|
|
|
136
136
|
[data-style='material'] [data-select-group-label] {
|
|
137
|
-
|
|
137
|
+
@apply text-surface-z5 font-medium;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
/* =============================================================================
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
============================================================================= */
|
|
143
143
|
|
|
144
144
|
[data-style='material'] [data-select-divider] {
|
|
145
|
-
|
|
145
|
+
@apply bg-surface-z3;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
/* =============================================================================
|
|
@@ -150,21 +150,21 @@
|
|
|
150
150
|
============================================================================= */
|
|
151
151
|
|
|
152
152
|
[data-style='material'] [data-select-filter] {
|
|
153
|
-
|
|
153
|
+
@apply bg-surface-z1;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
[data-style='material'] [data-select-filter-input] {
|
|
157
|
-
|
|
157
|
+
@apply text-surface-z8 border-surface-z4 bg-surface-z1 border shadow-sm;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
[data-style='material'] [data-select-filter-input]:focus {
|
|
161
|
-
|
|
161
|
+
@apply border-primary-z5 ring-primary-z4 ring-1;
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
[data-style='material'] [data-select-filter-input]::placeholder {
|
|
165
|
-
|
|
165
|
+
@apply text-surface-z5;
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
[data-style='material'] [data-select-empty] {
|
|
169
|
-
|
|
169
|
+
@apply text-surface-z5;
|
|
170
170
|
}
|
package/src/material/switch.css
CHANGED
|
@@ -3,26 +3,26 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
[data-style='material'] [data-switch-track] {
|
|
6
|
-
|
|
6
|
+
@apply bg-surface-z3;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
[data-style='material'] [data-switch-thumb] {
|
|
10
|
-
|
|
10
|
+
@apply bg-surface-z6 shadow-md;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
[data-style='material'] [data-switch]:focus-visible [data-switch-track] {
|
|
14
|
-
|
|
14
|
+
@apply ring-primary-z5 ring-2 ring-offset-1;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
/* On state */
|
|
18
18
|
[data-style='material'] [data-switch][aria-checked='true'] [data-switch-track] {
|
|
19
|
-
|
|
19
|
+
@apply bg-primary-z5;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
[data-style='material'] [data-switch][aria-checked='true'] [data-switch-thumb] {
|
|
23
|
-
|
|
23
|
+
@apply bg-white shadow-lg;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
[data-style='material'] [data-switch-label] {
|
|
27
|
-
|
|
27
|
+
@apply text-surface-z7;
|
|
28
28
|
}
|
package/src/material/table.css
CHANGED
|
@@ -9,25 +9,29 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='material'] [data-table-header] th {
|
|
12
|
-
|
|
12
|
+
@apply text-surface-z6 bg-surface-z2 border-surface-z4 border-b font-medium;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='material'] [data-table-header-cell][data-sortable='true']:hover {
|
|
16
|
-
|
|
16
|
+
@apply text-surface-z9 bg-surface-z3;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
[data-style='material'] [data-table-header-cell][data-sort-order='ascending'],
|
|
20
20
|
[data-style='material'] [data-table-header-cell][data-sort-order='descending'] {
|
|
21
|
-
|
|
21
|
+
@apply text-primary-z8;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
[data-style='material'] [data-table-sort-icon] {
|
|
25
|
-
|
|
25
|
+
@apply text-surface-z5;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
[data-style='material']
|
|
29
|
-
[data-
|
|
30
|
-
|
|
28
|
+
[data-style='material']
|
|
29
|
+
[data-table-header-cell][data-sort-order='ascending']
|
|
30
|
+
[data-table-sort-icon],
|
|
31
|
+
[data-style='material']
|
|
32
|
+
[data-table-header-cell][data-sort-order='descending']
|
|
33
|
+
[data-table-sort-icon] {
|
|
34
|
+
@apply text-primary-z6;
|
|
31
35
|
}
|
|
32
36
|
|
|
33
37
|
/* =============================================================================
|
|
@@ -35,7 +39,7 @@
|
|
|
35
39
|
============================================================================= */
|
|
36
40
|
|
|
37
41
|
[data-style='material'] [data-table-caption] {
|
|
38
|
-
|
|
42
|
+
@apply text-surface-z7;
|
|
39
43
|
}
|
|
40
44
|
|
|
41
45
|
/* =============================================================================
|
|
@@ -43,19 +47,19 @@
|
|
|
43
47
|
============================================================================= */
|
|
44
48
|
|
|
45
49
|
[data-style='material'] [data-table-row] {
|
|
46
|
-
|
|
50
|
+
@apply text-surface-z8 border-surface-z3 border-b;
|
|
47
51
|
}
|
|
48
52
|
|
|
49
53
|
[data-style='material'] [data-table-row]:hover {
|
|
50
|
-
|
|
54
|
+
@apply bg-surface-z2;
|
|
51
55
|
}
|
|
52
56
|
|
|
53
57
|
[data-style='material'] [data-table-row]:focus {
|
|
54
|
-
|
|
58
|
+
@apply bg-surface-z2 text-surface-z10 ring-primary-z4 ring-2 outline-none ring-inset;
|
|
55
59
|
}
|
|
56
60
|
|
|
57
61
|
[data-style='material'] [data-table-row][data-selected='true'] {
|
|
58
|
-
|
|
62
|
+
@apply bg-primary-z2 text-primary-z9;
|
|
59
63
|
}
|
|
60
64
|
|
|
61
65
|
/* =============================================================================
|
|
@@ -63,7 +67,7 @@
|
|
|
63
67
|
============================================================================= */
|
|
64
68
|
|
|
65
69
|
[data-style='material'] [data-striped='true'] [data-table-body] tr:nth-child(even) {
|
|
66
|
-
|
|
70
|
+
@apply bg-surface-z1;
|
|
67
71
|
}
|
|
68
72
|
|
|
69
73
|
/* =============================================================================
|
|
@@ -71,7 +75,7 @@
|
|
|
71
75
|
============================================================================= */
|
|
72
76
|
|
|
73
77
|
[data-style='material'] [data-table-empty] {
|
|
74
|
-
|
|
78
|
+
@apply text-surface-z5;
|
|
75
79
|
}
|
|
76
80
|
|
|
77
81
|
/* =============================================================================
|
|
@@ -79,9 +83,9 @@
|
|
|
79
83
|
============================================================================= */
|
|
80
84
|
|
|
81
85
|
[data-style='material'] [data-table-cell] [data-cell-icon] {
|
|
82
|
-
|
|
86
|
+
@apply text-surface-z5;
|
|
83
87
|
}
|
|
84
88
|
|
|
85
89
|
[data-style='material'] [data-table-row][data-selected='true'] [data-cell-icon] {
|
|
86
|
-
|
|
90
|
+
@apply text-primary-z6;
|
|
87
91
|
}
|
|
@@ -9,16 +9,16 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='material'] [data-timeline-circle] {
|
|
12
|
-
|
|
12
|
+
@apply border-surface-z4 text-surface-z6;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='material'] [data-timeline-item][data-completed] [data-timeline-circle] {
|
|
16
|
-
|
|
16
|
+
@apply bg-primary border-primary text-on-primary shadow-sm;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
[data-style='material'] [data-timeline-item][data-active] [data-timeline-circle] {
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
@apply border-primary text-primary;
|
|
21
|
+
box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 25%, transparent);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
/* =============================================================================
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
============================================================================= */
|
|
27
27
|
|
|
28
28
|
[data-style='material'] [data-timeline-connector] {
|
|
29
|
-
|
|
29
|
+
@apply bg-surface-z3;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
[data-style='material'] [data-timeline-item][data-completed] [data-timeline-connector] {
|
|
33
|
-
|
|
33
|
+
@apply bg-primary;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/* =============================================================================
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
============================================================================= */
|
|
39
39
|
|
|
40
40
|
[data-style='material'] [data-timeline-title] {
|
|
41
|
-
|
|
41
|
+
@apply text-surface-z8;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
[data-style='material'] [data-timeline-description] {
|
|
45
|
-
|
|
45
|
+
@apply text-surface-z6;
|
|
46
46
|
}
|
package/src/material/toggle.css
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='material'] [data-toggle] {
|
|
12
|
-
|
|
12
|
+
@apply bg-surface-z2 rounded-full shadow-sm;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/* =============================================================================
|
|
@@ -17,17 +17,17 @@
|
|
|
17
17
|
============================================================================= */
|
|
18
18
|
|
|
19
19
|
[data-style='material'] [data-toggle-option] {
|
|
20
|
-
|
|
20
|
+
@apply text-surface-z6 rounded-full;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[data-style='material'] [data-toggle-option]:hover:not(:disabled):not([data-disabled='true']),
|
|
24
24
|
[data-style='material'] [data-toggle-option]:focus:not(:disabled):not([data-disabled='true']) {
|
|
25
|
-
|
|
25
|
+
@apply bg-surface-z3 text-surface-z8;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
/* Selected state */
|
|
29
29
|
[data-style='material'] [data-toggle-option][data-selected='true'] {
|
|
30
|
-
|
|
30
|
+
@apply bg-primary-z5 text-white shadow-md;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
/* =============================================================================
|
|
@@ -35,14 +35,14 @@
|
|
|
35
35
|
============================================================================= */
|
|
36
36
|
|
|
37
37
|
[data-style='material'] [data-toggle-option] [data-toggle-icon] {
|
|
38
|
-
|
|
38
|
+
@apply text-surface-z5;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
[data-style='material'] [data-toggle-option]:hover:not(:disabled) [data-toggle-icon],
|
|
42
42
|
[data-style='material'] [data-toggle-option]:focus:not(:disabled) [data-toggle-icon] {
|
|
43
|
-
|
|
43
|
+
@apply text-surface-z7;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
[data-style='material'] [data-toggle-option][data-selected='true'] [data-toggle-icon] {
|
|
47
|
-
|
|
47
|
+
@apply text-white;
|
|
48
48
|
}
|