@rokkit/themes 1.0.0-next.13 → 1.0.0-next.130
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 +118 -9
- package/build.mjs +237 -0
- package/package.json +45 -52
- package/src/base/breadcrumbs.css +47 -0
- package/src/base/button.css +247 -0
- package/src/base/card.css +36 -0
- package/src/base/carousel.css +128 -0
- package/src/base/connector.css +92 -0
- package/src/base/display.css +91 -0
- package/src/base/floating-action.css +388 -0
- package/src/base/floating-navigation.css +381 -0
- package/src/base/graph-paper.css +83 -0
- package/src/base/grid.css +93 -0
- package/src/base/index.css +40 -0
- package/src/base/input.css +238 -0
- package/src/base/item.css +78 -0
- package/src/base/list.css +179 -0
- package/src/base/menu.css +274 -0
- package/src/base/pill.css +57 -0
- package/src/base/progress.css +34 -0
- package/src/base/range.css +121 -0
- package/src/base/rating.css +40 -0
- package/src/base/reveal.css +37 -0
- package/src/base/search-filter.css +132 -0
- package/src/base/select.css +411 -0
- package/src/base/shine.css +14 -0
- package/src/base/stepper.css +140 -0
- package/src/base/switch.css +152 -0
- package/src/base/table.css +159 -0
- package/src/base/tabs.css +171 -0
- package/src/base/tilt.css +14 -0
- package/src/base/timeline.css +84 -0
- package/src/base/toggle.css +138 -0
- package/src/base/toolbar.css +337 -0
- package/src/base/tree.css +202 -0
- package/src/base/upload-progress.css +155 -0
- package/src/base/upload-target.css +67 -0
- package/src/glass/button.css +152 -0
- package/src/glass/card.css +63 -0
- package/src/glass/floating-action.css +61 -0
- package/src/glass/floating-navigation.css +74 -0
- package/src/glass/index.css +23 -0
- package/src/glass/input.css +124 -0
- package/src/glass/list.css +122 -0
- package/src/glass/menu.css +92 -0
- package/src/glass/range.css +61 -0
- package/src/glass/search-filter.css +49 -0
- package/src/glass/select.css +178 -0
- package/src/glass/switch.css +28 -0
- package/src/glass/table.css +87 -0
- package/src/glass/tabs.css +58 -0
- package/src/glass/timeline.css +46 -0
- package/src/glass/toggle.css +48 -0
- package/src/glass/toolbar.css +84 -0
- package/src/glass/tree.css +104 -0
- package/src/index.css +18 -0
- package/src/index.js +25 -2
- package/src/material/button.css +153 -0
- package/src/material/card.css +61 -0
- package/src/material/floating-action.css +60 -0
- package/src/material/floating-navigation.css +74 -0
- package/src/material/index.css +23 -0
- package/src/material/input.css +143 -0
- package/src/material/list.css +122 -0
- package/src/material/menu.css +92 -0
- package/src/material/range.css +62 -0
- package/src/material/search-filter.css +49 -0
- package/src/material/select.css +170 -0
- package/src/material/switch.css +28 -0
- package/src/material/table.css +87 -0
- package/src/material/tabs.css +62 -0
- package/src/material/timeline.css +46 -0
- package/src/material/toggle.css +48 -0
- package/src/material/toolbar.css +84 -0
- package/src/material/tree.css +100 -0
- package/src/minimal/button.css +152 -0
- package/src/minimal/card.css +59 -0
- package/src/minimal/floating-action.css +59 -0
- package/src/minimal/floating-navigation.css +70 -0
- package/src/minimal/index.css +23 -0
- package/src/minimal/input.css +115 -0
- package/src/minimal/list.css +122 -0
- package/src/minimal/menu.css +88 -0
- package/src/minimal/range.css +61 -0
- package/src/minimal/search-filter.css +49 -0
- package/src/minimal/select.css +168 -0
- package/src/minimal/switch.css +28 -0
- package/src/minimal/table.css +87 -0
- package/src/minimal/tabs.css +66 -0
- package/src/minimal/timeline.css +45 -0
- package/src/minimal/toggle.css +48 -0
- package/src/minimal/toolbar.css +84 -0
- package/src/minimal/tree.css +100 -0
- package/src/palette.css +7 -0
- package/src/rokkit/button.css +225 -0
- package/src/rokkit/card.css +62 -0
- package/src/rokkit/connector.css +11 -0
- package/src/rokkit/floating-action.css +65 -0
- package/src/rokkit/floating-navigation.css +83 -0
- package/src/rokkit/grid.css +46 -0
- package/src/rokkit/index.css +27 -0
- package/src/rokkit/input.css +130 -0
- package/src/rokkit/list.css +127 -0
- package/src/rokkit/menu.css +93 -0
- package/src/rokkit/range.css +62 -0
- package/src/rokkit/search-filter.css +49 -0
- package/src/rokkit/select.css +185 -0
- package/src/rokkit/switch.css +28 -0
- package/src/rokkit/table.css +87 -0
- package/src/rokkit/tabs.css +82 -0
- package/src/rokkit/timeline.css +46 -0
- package/src/rokkit/toggle.css +48 -0
- package/src/rokkit/toolbar.css +84 -0
- package/src/rokkit/tree.css +123 -0
- package/src/rokkit/upload-progress.css +102 -0
- package/src/rokkit/upload-target.css +50 -0
- package/LICENSE +0 -21
- package/src/constants.js +0 -4
- package/src/utils.js +0 -88
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Table - Material Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Material Design inspired with elevation and shadows.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* =============================================================================
|
|
8
|
+
Header
|
|
9
|
+
============================================================================= */
|
|
10
|
+
|
|
11
|
+
[data-style='material'] [data-table-header] th {
|
|
12
|
+
@apply text-surface-z6 bg-surface-z2 border-b border-surface-z4 font-medium;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
[data-style='material'] [data-table-header-cell][data-sortable='true']:hover {
|
|
16
|
+
@apply text-surface-z9 bg-surface-z3;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
[data-style='material'] [data-table-header-cell][data-sort-order='ascending'],
|
|
20
|
+
[data-style='material'] [data-table-header-cell][data-sort-order='descending'] {
|
|
21
|
+
@apply text-primary-z8;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
[data-style='material'] [data-table-sort-icon] {
|
|
25
|
+
@apply text-surface-z5;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
[data-style='material'] [data-table-header-cell][data-sort-order='ascending'] [data-table-sort-icon],
|
|
29
|
+
[data-style='material'] [data-table-header-cell][data-sort-order='descending'] [data-table-sort-icon] {
|
|
30
|
+
@apply text-primary-z6;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* =============================================================================
|
|
34
|
+
Caption
|
|
35
|
+
============================================================================= */
|
|
36
|
+
|
|
37
|
+
[data-style='material'] [data-table-caption] {
|
|
38
|
+
@apply text-surface-z7;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/* =============================================================================
|
|
42
|
+
Rows
|
|
43
|
+
============================================================================= */
|
|
44
|
+
|
|
45
|
+
[data-style='material'] [data-table-row] {
|
|
46
|
+
@apply text-surface-z8 border-b border-surface-z3;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
[data-style='material'] [data-table-row]:hover {
|
|
50
|
+
@apply bg-surface-z2;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
[data-style='material'] [data-table-row]:focus {
|
|
54
|
+
@apply bg-surface-z2 text-surface-z10 outline-none ring-2 ring-primary-z4 ring-inset;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
[data-style='material'] [data-table-row][data-selected='true'] {
|
|
58
|
+
@apply bg-primary-z2 text-primary-z9;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* =============================================================================
|
|
62
|
+
Striped
|
|
63
|
+
============================================================================= */
|
|
64
|
+
|
|
65
|
+
[data-style='material'] [data-striped='true'] [data-table-body] tr:nth-child(even) {
|
|
66
|
+
@apply bg-surface-z1;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/* =============================================================================
|
|
70
|
+
Empty
|
|
71
|
+
============================================================================= */
|
|
72
|
+
|
|
73
|
+
[data-style='material'] [data-table-empty] {
|
|
74
|
+
@apply text-surface-z5;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/* =============================================================================
|
|
78
|
+
Cell Icon
|
|
79
|
+
============================================================================= */
|
|
80
|
+
|
|
81
|
+
[data-style='material'] [data-table-cell] [data-cell-icon] {
|
|
82
|
+
@apply text-surface-z5;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
[data-style='material'] [data-table-row][data-selected='true'] [data-cell-icon] {
|
|
86
|
+
@apply text-primary-z6;
|
|
87
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tabs - Material Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Material Design inspired with elevation and rounded corners.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* =============================================================================
|
|
8
|
+
Tab List
|
|
9
|
+
============================================================================= */
|
|
10
|
+
|
|
11
|
+
[data-style='material'] [data-tabs-list] {
|
|
12
|
+
@apply bg-surface-z2 gap-0.5 rounded-t-lg shadow-sm;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
[data-style='material'] [data-tabs][data-position='after'] [data-tabs-list] {
|
|
16
|
+
@apply rounded-t-none rounded-b-lg;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/* =============================================================================
|
|
20
|
+
Tab Triggers
|
|
21
|
+
============================================================================= */
|
|
22
|
+
|
|
23
|
+
[data-style='material'] [data-tabs-trigger] {
|
|
24
|
+
@apply text-surface-z6 rounded-t-lg;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
[data-style='material'] [data-tabs][data-position='after'] [data-tabs-trigger] {
|
|
28
|
+
@apply rounded-t-none rounded-b-lg;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
[data-style='material'] [data-tabs-trigger]:hover:not(:disabled):not([data-disabled]) {
|
|
32
|
+
@apply bg-surface-z3 text-surface-z8;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/* Selected state */
|
|
36
|
+
[data-style='material'] [data-tabs-trigger][data-selected] {
|
|
37
|
+
@apply bg-primary-z5 text-white shadow-md;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* =============================================================================
|
|
41
|
+
Tab Icon
|
|
42
|
+
============================================================================= */
|
|
43
|
+
|
|
44
|
+
[data-style='material'] [data-tabs-trigger] [data-tabs-icon] {
|
|
45
|
+
@apply text-surface-z5;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
[data-style='material'] [data-tabs-trigger]:hover:not(:disabled) [data-tabs-icon] {
|
|
49
|
+
@apply text-surface-z7;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
[data-style='material'] [data-tabs-trigger][data-selected] [data-tabs-icon] {
|
|
53
|
+
@apply text-white;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/* =============================================================================
|
|
57
|
+
Tab Panel
|
|
58
|
+
============================================================================= */
|
|
59
|
+
|
|
60
|
+
[data-style='material'] [data-tabs-content] {
|
|
61
|
+
@apply text-surface-z8;
|
|
62
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Timeline - Material Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Flat design with subtle elevation.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* =============================================================================
|
|
8
|
+
Circle
|
|
9
|
+
============================================================================= */
|
|
10
|
+
|
|
11
|
+
[data-style='material'] [data-timeline-circle] {
|
|
12
|
+
@apply border-surface-z4 text-surface-z6;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
[data-style='material'] [data-timeline-item][data-completed] [data-timeline-circle] {
|
|
16
|
+
@apply bg-primary border-primary text-on-primary shadow-sm;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
[data-style='material'] [data-timeline-item][data-active] [data-timeline-circle] {
|
|
20
|
+
@apply border-primary text-primary;
|
|
21
|
+
box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 25%, transparent);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* =============================================================================
|
|
25
|
+
Connector
|
|
26
|
+
============================================================================= */
|
|
27
|
+
|
|
28
|
+
[data-style='material'] [data-timeline-connector] {
|
|
29
|
+
@apply bg-surface-z3;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
[data-style='material'] [data-timeline-item][data-completed] [data-timeline-connector] {
|
|
33
|
+
@apply bg-primary;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/* =============================================================================
|
|
37
|
+
Body
|
|
38
|
+
============================================================================= */
|
|
39
|
+
|
|
40
|
+
[data-style='material'] [data-timeline-title] {
|
|
41
|
+
@apply text-surface-z8;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
[data-style='material'] [data-timeline-description] {
|
|
45
|
+
@apply text-surface-z6;
|
|
46
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Toggle - Material Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Material Design inspired with elevation and rounded corners.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* =============================================================================
|
|
8
|
+
Toggle Container
|
|
9
|
+
============================================================================= */
|
|
10
|
+
|
|
11
|
+
[data-style='material'] [data-toggle] {
|
|
12
|
+
@apply bg-surface-z2 rounded-full shadow-sm;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* =============================================================================
|
|
16
|
+
Toggle Options
|
|
17
|
+
============================================================================= */
|
|
18
|
+
|
|
19
|
+
[data-style='material'] [data-toggle-option] {
|
|
20
|
+
@apply text-surface-z6 rounded-full;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
[data-style='material'] [data-toggle-option]:hover:not(:disabled):not([data-disabled='true']),
|
|
24
|
+
[data-style='material'] [data-toggle-option]:focus:not(:disabled):not([data-disabled='true']) {
|
|
25
|
+
@apply bg-surface-z3 text-surface-z8;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* Selected state */
|
|
29
|
+
[data-style='material'] [data-toggle-option][data-selected='true'] {
|
|
30
|
+
@apply bg-primary-z5 text-white shadow-md;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* =============================================================================
|
|
34
|
+
Toggle Icon
|
|
35
|
+
============================================================================= */
|
|
36
|
+
|
|
37
|
+
[data-style='material'] [data-toggle-option] [data-toggle-icon] {
|
|
38
|
+
@apply text-surface-z5;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
[data-style='material'] [data-toggle-option]:hover:not(:disabled) [data-toggle-icon],
|
|
42
|
+
[data-style='material'] [data-toggle-option]:focus:not(:disabled) [data-toggle-icon] {
|
|
43
|
+
@apply text-surface-z7;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
[data-style='material'] [data-toggle-option][data-selected='true'] [data-toggle-icon] {
|
|
47
|
+
@apply text-white;
|
|
48
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Toolbar - Material Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Material Design inspired with elevation and shadows.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* =============================================================================
|
|
8
|
+
Toolbar Container
|
|
9
|
+
============================================================================= */
|
|
10
|
+
|
|
11
|
+
[data-style='material'] [data-toolbar] {
|
|
12
|
+
@apply bg-surface-z1 shadow-sm;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* Position-based borders removed - using shadows instead */
|
|
16
|
+
[data-style='material'] [data-toolbar][data-toolbar-position='top'],
|
|
17
|
+
[data-style='material'] [data-toolbar]:not([data-toolbar-position]) {
|
|
18
|
+
@apply shadow-md;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
[data-style='material'] [data-toolbar][data-toolbar-position='bottom'] {
|
|
22
|
+
@apply shadow-md;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
[data-style='material'] [data-toolbar][data-toolbar-position='left'] {
|
|
26
|
+
@apply shadow-md;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
[data-style='material'] [data-toolbar][data-toolbar-position='right'] {
|
|
30
|
+
@apply shadow-md;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* =============================================================================
|
|
34
|
+
Toolbar Items
|
|
35
|
+
============================================================================= */
|
|
36
|
+
|
|
37
|
+
[data-style='material'] [data-toolbar-item] {
|
|
38
|
+
@apply text-surface-z7 rounded-full;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
[data-style='material'] [data-toolbar-item]:hover:not(:disabled):not([data-disabled='true']) {
|
|
42
|
+
@apply bg-surface-z2 text-surface-z9;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
[data-style='material'] [data-toolbar-item]:focus-visible:not(:disabled):not([data-disabled='true']) {
|
|
46
|
+
@apply bg-surface-z2 text-surface-z9 outline-none ring-2 ring-primary-z4;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/* Active/pressed state */
|
|
50
|
+
[data-style='material'] [data-toolbar-item][data-active='true'] {
|
|
51
|
+
@apply bg-primary-z2 text-primary-z8;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
[data-style='material'] [data-toolbar-item][data-active='true']:hover:not(:disabled) {
|
|
55
|
+
@apply bg-primary-z3 text-primary-z9;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/* =============================================================================
|
|
59
|
+
Toolbar Icon
|
|
60
|
+
============================================================================= */
|
|
61
|
+
|
|
62
|
+
[data-style='material'] [data-toolbar-item] [data-toolbar-icon] {
|
|
63
|
+
@apply text-surface-z6;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
[data-style='material'] [data-toolbar-item]:hover:not(:disabled) [data-toolbar-icon] {
|
|
67
|
+
@apply text-surface-z8;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
[data-style='material'] [data-toolbar-item][data-active='true'] [data-toolbar-icon] {
|
|
71
|
+
@apply text-primary-z7;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* =============================================================================
|
|
75
|
+
Separator & Divider
|
|
76
|
+
============================================================================= */
|
|
77
|
+
|
|
78
|
+
[data-style='material'] [data-toolbar-separator] {
|
|
79
|
+
@apply bg-surface-z3;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
[data-style='material'] [data-toolbar-divider] {
|
|
83
|
+
@apply bg-surface-z3;
|
|
84
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tree - Material Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Material Design inspired with subtle elevation.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* =============================================================================
|
|
8
|
+
Tree Container
|
|
9
|
+
============================================================================= */
|
|
10
|
+
|
|
11
|
+
[data-style='material'] [data-tree]:focus-within {
|
|
12
|
+
@apply outline-none;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* =============================================================================
|
|
16
|
+
Tree Toggle Button
|
|
17
|
+
============================================================================= */
|
|
18
|
+
|
|
19
|
+
[data-style='material'] [data-tree-toggle-btn] {
|
|
20
|
+
@apply text-surface-z5 rounded-full;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
[data-style='material'] [data-tree-toggle-btn]:hover {
|
|
24
|
+
@apply bg-surface-z2 text-surface-z7;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* =============================================================================
|
|
28
|
+
Tree Item Content
|
|
29
|
+
============================================================================= */
|
|
30
|
+
|
|
31
|
+
[data-style='material'] [data-tree-item-content] {
|
|
32
|
+
@apply text-surface-z8;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
[data-style='material'] [data-tree-item-content]:hover:not(:disabled),
|
|
36
|
+
[data-style='material'] [data-tree-item-content]:focus:not(:disabled) {
|
|
37
|
+
@apply bg-surface-z2 text-surface-z10 outline-none;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* Focus visible for keyboard navigation */
|
|
41
|
+
[data-style='material'] [data-tree-item-content]:focus-visible {
|
|
42
|
+
@apply outline-none ring-2 ring-primary-z4 ring-inset;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/* Active/selected state */
|
|
46
|
+
[data-style='material'] [data-tree-item-content][data-active='true'] {
|
|
47
|
+
@apply bg-primary-z2 text-primary-z9;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
[data-style='material'] [data-tree-item-content][data-active='true']:hover:not(:disabled) {
|
|
51
|
+
@apply bg-primary-z3;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/* =============================================================================
|
|
55
|
+
Item Elements
|
|
56
|
+
============================================================================= */
|
|
57
|
+
|
|
58
|
+
[data-style='material'] [data-tree-item-content] [data-item-icon] {
|
|
59
|
+
@apply text-surface-z5;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
[data-style='material'] [data-tree-item-content]:hover:not(:disabled) [data-item-icon] {
|
|
63
|
+
@apply text-surface-z7;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
[data-style='material'] [data-tree-item-content][data-active='true'] [data-item-icon] {
|
|
67
|
+
@apply text-primary-z6;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
[data-style='material'] [data-tree-item-content] [data-item-description] {
|
|
71
|
+
@apply text-surface-z5;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
[data-style='material'] [data-tree-item-content][data-active='true'] [data-item-description] {
|
|
75
|
+
@apply text-primary-z7;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
[data-style='material'] [data-tree-item-content] [data-item-badge] {
|
|
79
|
+
@apply text-surface-z6 bg-surface-z2 rounded-full;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
[data-style='material'] [data-tree-item-content][data-active='true'] [data-item-badge] {
|
|
83
|
+
@apply text-primary-z8 bg-primary-z2;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/* =============================================================================
|
|
87
|
+
Multi-Selection
|
|
88
|
+
============================================================================= */
|
|
89
|
+
|
|
90
|
+
[data-style='material'] [data-tree-node][data-selected='true'] [data-tree-node-row] {
|
|
91
|
+
@apply bg-primary-z2;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
[data-style='material'] [data-tree-node][data-selected='true'] [data-tree-item-content] {
|
|
95
|
+
@apply text-primary-z9;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
[data-style='material'] [data-tree-node][data-selected='true'] [data-tree-item-content] [data-item-icon] {
|
|
99
|
+
@apply text-primary-z6;
|
|
100
|
+
}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Button - Minimal Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Clean, understated styling with subtle borders.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* =============================================================================
|
|
8
|
+
Default Style (filled)
|
|
9
|
+
============================================================================= */
|
|
10
|
+
|
|
11
|
+
[data-style='minimal'] [data-button][data-style='default'][data-variant='default'],
|
|
12
|
+
[data-style='minimal'] [data-button]:not([data-style])[data-variant='default'],
|
|
13
|
+
[data-style='minimal'] [data-button][data-style='default']:not([data-variant]),
|
|
14
|
+
[data-style='minimal'] [data-button]:not([data-style]):not([data-variant]) {
|
|
15
|
+
@apply bg-surface-z2 border-surface-z4 text-surface-z8 border;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
[data-style='minimal'] [data-button][data-style='default'][data-variant='primary'],
|
|
19
|
+
[data-style='minimal'] [data-button]:not([data-style])[data-variant='primary'] {
|
|
20
|
+
@apply bg-primary-z5 text-on-primary border-transparent;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
[data-style='minimal'] [data-button][data-style='default'][data-variant='secondary'],
|
|
24
|
+
[data-style='minimal'] [data-button]:not([data-style])[data-variant='secondary'] {
|
|
25
|
+
@apply bg-secondary-z4 text-on-secondary border-transparent;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
[data-style='minimal'] [data-button][data-style='default'][data-variant='danger'],
|
|
29
|
+
[data-style='minimal'] [data-button]:not([data-style])[data-variant='danger'] {
|
|
30
|
+
@apply bg-danger-z4 text-on-danger border-transparent;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* =============================================================================
|
|
34
|
+
Outline Style
|
|
35
|
+
============================================================================= */
|
|
36
|
+
|
|
37
|
+
[data-style='minimal'] [data-button][data-style='outline'][data-variant='default'],
|
|
38
|
+
[data-style='minimal'] [data-button][data-style='outline']:not([data-variant]) {
|
|
39
|
+
@apply border-surface-z4 text-surface-z7 border bg-transparent;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
[data-style='minimal'] [data-button][data-style='outline'][data-variant='primary'] {
|
|
43
|
+
@apply border-primary-z4 text-primary-z6 border bg-transparent;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
[data-style='minimal'] [data-button][data-style='outline'][data-variant='secondary'] {
|
|
47
|
+
@apply border-secondary-z4 text-secondary-z6 border bg-transparent;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
[data-style='minimal'] [data-button][data-style='outline'][data-variant='danger'] {
|
|
51
|
+
@apply border-danger-z4 text-danger-z4 border bg-transparent;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/* =============================================================================
|
|
55
|
+
Ghost Style
|
|
56
|
+
============================================================================= */
|
|
57
|
+
|
|
58
|
+
[data-style='minimal'] [data-button][data-style='ghost'] {
|
|
59
|
+
@apply border-transparent bg-transparent;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
[data-style='minimal'] [data-button][data-style='ghost'][data-variant='default'],
|
|
63
|
+
[data-style='minimal'] [data-button][data-style='ghost']:not([data-variant]) {
|
|
64
|
+
@apply text-surface-z7;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
[data-style='minimal'] [data-button][data-style='ghost'][data-variant='primary'] {
|
|
68
|
+
@apply text-primary-z6;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
[data-style='minimal'] [data-button][data-style='ghost'][data-variant='secondary'] {
|
|
72
|
+
@apply text-secondary-z6;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
[data-style='minimal'] [data-button][data-style='ghost'][data-variant='danger'] {
|
|
76
|
+
@apply text-danger-z4;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* =============================================================================
|
|
80
|
+
Gradient Style
|
|
81
|
+
============================================================================= */
|
|
82
|
+
|
|
83
|
+
[data-style='minimal'] [data-button][data-style='gradient'][data-variant='default'],
|
|
84
|
+
[data-style='minimal'] [data-button][data-style='gradient']:not([data-variant]) {
|
|
85
|
+
@apply from-surface-z3 to-surface-z1 text-surface-z10 bg-gradient-to-br;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
[data-style='minimal'] [data-button][data-style='gradient'][data-variant='primary'] {
|
|
89
|
+
@apply from-primary-z5 to-primary-z3 text-on-primary bg-gradient-to-br;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
[data-style='minimal'] [data-button][data-style='gradient'][data-variant='secondary'] {
|
|
93
|
+
@apply from-secondary-z5 to-secondary-z3 text-on-secondary bg-gradient-to-br;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
[data-style='minimal'] [data-button][data-style='gradient'][data-variant='danger'] {
|
|
97
|
+
@apply from-danger-z5 to-danger-z3 text-on-danger bg-gradient-to-br;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
[data-style='minimal'] [data-button][data-style='gradient']:hover:not(:disabled):not([data-disabled]) {
|
|
101
|
+
filter: brightness(1.05);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/* =============================================================================
|
|
105
|
+
Link Style
|
|
106
|
+
============================================================================= */
|
|
107
|
+
|
|
108
|
+
[data-style='minimal'] [data-button][data-style='link'][data-variant='default'],
|
|
109
|
+
[data-style='minimal'] [data-button][data-style='link']:not([data-variant]) {
|
|
110
|
+
@apply text-surface-z7;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
[data-style='minimal'] [data-button][data-style='link'][data-variant='primary'] {
|
|
114
|
+
@apply text-primary-z6;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
[data-style='minimal'] [data-button][data-style='link'][data-variant='secondary'] {
|
|
118
|
+
@apply text-secondary-z6;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
[data-style='minimal'] [data-button][data-style='link'][data-variant='danger'] {
|
|
122
|
+
@apply text-danger-z4;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
[data-style='minimal'] [data-button][data-style='link']:hover:not(:disabled):not([data-disabled]) {
|
|
126
|
+
@apply text-surface-z9;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/* =============================================================================
|
|
130
|
+
Hover States
|
|
131
|
+
============================================================================= */
|
|
132
|
+
|
|
133
|
+
[data-style='minimal'] [data-button][data-style='default']:hover:not(:disabled):not([data-disabled]),
|
|
134
|
+
[data-style='minimal'] [data-button]:not([data-style]):hover:not(:disabled):not([data-disabled]) {
|
|
135
|
+
@apply bg-surface-z3 border-surface-z5;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
[data-style='minimal'] [data-button][data-style='outline']:hover:not(:disabled):not([data-disabled]) {
|
|
139
|
+
@apply bg-surface-z1 border-surface-z5;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
[data-style='minimal'] [data-button][data-style='ghost']:hover:not(:disabled):not([data-disabled]) {
|
|
143
|
+
@apply bg-surface-z2;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/* =============================================================================
|
|
147
|
+
Focus
|
|
148
|
+
============================================================================= */
|
|
149
|
+
|
|
150
|
+
[data-style='minimal'] [data-button]:focus-visible {
|
|
151
|
+
@apply outline-none ring-1 ring-surface-z5;
|
|
152
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
* Card - Minimal Theme Styles
|
|
2
|
+
*
|
|
3
|
+
* Clean, flat styling with subtle borders.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/* =============================================================================
|
|
7
|
+
Base Card Styles
|
|
8
|
+
============================================================================= */
|
|
9
|
+
|
|
10
|
+
[data-style='minimal'] [data-card] {
|
|
11
|
+
@apply bg-surface-z1 border-surface-z4 text-surface-z9 border shadow-sm;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* Interactive cards (buttons) */
|
|
15
|
+
[data-style='minimal'] [data-card][data-card-interactive] {
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
[data-style='minimal'] [data-card][data-card-interactive]:hover {
|
|
21
|
+
@apply border-surface-z6 shadow;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
[data-style='minimal'] [data-card][data-card-interactive]:active {
|
|
25
|
+
@apply bg-surface-z2;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* =============================================================================
|
|
29
|
+
Card Sections
|
|
30
|
+
============================================================================= */
|
|
31
|
+
|
|
32
|
+
[data-style='minimal'] [data-card-header] {
|
|
33
|
+
@apply border-surface-z3 border-b;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
[data-style='minimal'] [data-card-body] {
|
|
37
|
+
@apply text-surface-z8;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
[data-style='minimal'] [data-card-footer] {
|
|
41
|
+
@apply border-surface-z3 border-t text-surface-z7;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/* =============================================================================
|
|
45
|
+
Focus States
|
|
46
|
+
============================================================================= */
|
|
47
|
+
|
|
48
|
+
[data-style='minimal'] [data-card][data-card-interactive]:focus-visible {
|
|
49
|
+
@apply outline-none ring-1 ring-surface-z5;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* =============================================================================
|
|
53
|
+
Disabled State
|
|
54
|
+
============================================================================= */
|
|
55
|
+
|
|
56
|
+
[data-style='minimal'] [data-card][data-card-interactive][data-disabled],
|
|
57
|
+
[data-style='minimal'] [data-card][data-card-interactive]:disabled {
|
|
58
|
+
@apply opacity-50 cursor-not-allowed;
|
|
59
|
+
}
|