@rokkit/themes 1.0.0-next.14 → 1.0.0-next.140

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.
Files changed (125) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +106 -9
  3. package/build.mjs +235 -0
  4. package/dist/base.css +4934 -0
  5. package/dist/glass.css +1400 -0
  6. package/dist/index.css +10991 -0
  7. package/dist/material.css +1435 -0
  8. package/dist/minimal.css +1389 -0
  9. package/dist/rokkit.css +1829 -0
  10. package/package.json +53 -52
  11. package/src/base/breadcrumbs.css +47 -0
  12. package/src/base/button.css +254 -0
  13. package/src/base/card.css +36 -0
  14. package/src/base/carousel.css +128 -0
  15. package/src/base/connector.css +92 -0
  16. package/src/base/display.css +91 -0
  17. package/src/base/floating-action.css +388 -0
  18. package/src/base/floating-navigation.css +405 -0
  19. package/src/base/graph-paper.css +83 -0
  20. package/src/base/grid.css +93 -0
  21. package/src/base/index.css +40 -0
  22. package/src/base/input.css +238 -0
  23. package/src/base/item.css +78 -0
  24. package/src/base/list.css +179 -0
  25. package/src/base/menu.css +274 -0
  26. package/src/base/pill.css +57 -0
  27. package/src/base/progress.css +34 -0
  28. package/src/base/range.css +121 -0
  29. package/src/base/rating.css +42 -0
  30. package/src/base/reveal.css +37 -0
  31. package/src/base/search-filter.css +132 -0
  32. package/src/base/select.css +411 -0
  33. package/src/base/shine.css +14 -0
  34. package/src/base/stepper.css +140 -0
  35. package/src/base/switch.css +152 -0
  36. package/src/base/table.css +159 -0
  37. package/src/base/tabs.css +171 -0
  38. package/src/base/tilt.css +14 -0
  39. package/src/base/timeline.css +84 -0
  40. package/src/base/toggle.css +138 -0
  41. package/src/base/toolbar.css +337 -0
  42. package/src/base/tree.css +235 -0
  43. package/src/base/upload-progress.css +155 -0
  44. package/src/base/upload-target.css +67 -0
  45. package/src/glass/button.css +153 -0
  46. package/src/glass/card.css +66 -0
  47. package/src/glass/floating-action.css +61 -0
  48. package/src/glass/floating-navigation.css +74 -0
  49. package/src/glass/index.css +23 -0
  50. package/src/glass/input.css +126 -0
  51. package/src/glass/list.css +122 -0
  52. package/src/glass/menu.css +92 -0
  53. package/src/glass/range.css +61 -0
  54. package/src/glass/search-filter.css +49 -0
  55. package/src/glass/select.css +178 -0
  56. package/src/glass/switch.css +28 -0
  57. package/src/glass/table.css +87 -0
  58. package/src/glass/tabs.css +58 -0
  59. package/src/glass/timeline.css +46 -0
  60. package/src/glass/toggle.css +48 -0
  61. package/src/glass/toolbar.css +84 -0
  62. package/src/glass/tree.css +110 -0
  63. package/src/index.css +18 -0
  64. package/src/index.js +25 -2
  65. package/src/material/button.css +157 -0
  66. package/src/material/card.css +61 -0
  67. package/src/material/floating-action.css +60 -0
  68. package/src/material/floating-navigation.css +74 -0
  69. package/src/material/index.css +23 -0
  70. package/src/material/input.css +159 -0
  71. package/src/material/list.css +126 -0
  72. package/src/material/menu.css +92 -0
  73. package/src/material/range.css +62 -0
  74. package/src/material/search-filter.css +49 -0
  75. package/src/material/select.css +170 -0
  76. package/src/material/switch.css +28 -0
  77. package/src/material/table.css +91 -0
  78. package/src/material/tabs.css +62 -0
  79. package/src/material/timeline.css +46 -0
  80. package/src/material/toggle.css +48 -0
  81. package/src/material/toolbar.css +85 -0
  82. package/src/material/tree.css +103 -0
  83. package/src/minimal/button.css +155 -0
  84. package/src/minimal/card.css +61 -0
  85. package/src/minimal/floating-action.css +59 -0
  86. package/src/minimal/floating-navigation.css +70 -0
  87. package/src/minimal/index.css +23 -0
  88. package/src/minimal/input.css +119 -0
  89. package/src/minimal/list.css +126 -0
  90. package/src/minimal/menu.css +88 -0
  91. package/src/minimal/range.css +61 -0
  92. package/src/minimal/search-filter.css +49 -0
  93. package/src/minimal/select.css +170 -0
  94. package/src/minimal/switch.css +28 -0
  95. package/src/minimal/table.css +89 -0
  96. package/src/minimal/tabs.css +68 -0
  97. package/src/minimal/timeline.css +45 -0
  98. package/src/minimal/toggle.css +48 -0
  99. package/src/minimal/toolbar.css +85 -0
  100. package/src/minimal/tree.css +106 -0
  101. package/src/palette.css +7 -0
  102. package/src/rokkit/button.css +254 -0
  103. package/src/rokkit/card.css +64 -0
  104. package/src/rokkit/connector.css +11 -0
  105. package/src/rokkit/floating-action.css +65 -0
  106. package/src/rokkit/floating-navigation.css +83 -0
  107. package/src/rokkit/grid.css +46 -0
  108. package/src/rokkit/index.css +27 -0
  109. package/src/rokkit/input.css +134 -0
  110. package/src/rokkit/list.css +132 -0
  111. package/src/rokkit/menu.css +93 -0
  112. package/src/rokkit/range.css +62 -0
  113. package/src/rokkit/search-filter.css +49 -0
  114. package/src/rokkit/select.css +190 -0
  115. package/src/rokkit/switch.css +28 -0
  116. package/src/rokkit/table.css +89 -0
  117. package/src/rokkit/tabs.css +87 -0
  118. package/src/rokkit/timeline.css +46 -0
  119. package/src/rokkit/toggle.css +48 -0
  120. package/src/rokkit/toolbar.css +84 -0
  121. package/src/rokkit/tree.css +149 -0
  122. package/src/rokkit/upload-progress.css +102 -0
  123. package/src/rokkit/upload-target.css +50 -0
  124. package/src/constants.js +0 -4
  125. package/src/utils.js +0 -88
@@ -0,0 +1,92 @@
1
+ /**
2
+ * Menu - Glass Theme Styles
3
+ *
4
+ * Glassmorphism styling with blur and transparency.
5
+ */
6
+
7
+ /* =============================================================================
8
+ Menu Trigger
9
+ ============================================================================= */
10
+
11
+ [data-style='glass'] [data-menu-trigger] {
12
+ @apply text-surface-z8 bg-surface-z1/70 border-surface-z5/20 border backdrop-blur-md;
13
+ }
14
+
15
+ [data-style='glass'] [data-menu-trigger]:hover:not(:disabled) {
16
+ @apply text-surface-z10 bg-surface-z2/80 border-surface-z5/30;
17
+ }
18
+
19
+ [data-style='glass'] [data-menu-trigger]:focus-visible {
20
+ @apply ring-surface-z5/40 ring-1 outline-none;
21
+ }
22
+
23
+ [data-style='glass'] [data-menu][data-open='true'] [data-menu-trigger] {
24
+ @apply bg-primary-z5/30 border-primary-z5/50;
25
+ }
26
+
27
+ /* Trigger elements */
28
+ [data-style='glass'] [data-menu-trigger] [data-menu-icon] {
29
+ @apply text-surface-z5;
30
+ }
31
+
32
+ [data-style='glass'] [data-menu-trigger]:hover:not(:disabled) [data-menu-icon] {
33
+ @apply text-surface-z7;
34
+ }
35
+
36
+ [data-style='glass'] [data-menu-trigger] [data-menu-arrow] {
37
+ @apply text-surface-z5;
38
+ }
39
+
40
+ /* =============================================================================
41
+ Menu Dropdown
42
+ ============================================================================= */
43
+
44
+ [data-style='glass'] [data-menu-dropdown] {
45
+ @apply bg-surface-z2/50 border-surface-z5/20 border shadow-lg backdrop-blur-lg;
46
+ }
47
+
48
+ /* =============================================================================
49
+ Menu Items
50
+ ============================================================================= */
51
+
52
+ [data-style='glass'] [data-menu-item] {
53
+ @apply text-surface-z8;
54
+ }
55
+
56
+ [data-style='glass'] [data-menu-item]:hover:not(:disabled),
57
+ [data-style='glass'] [data-menu-item]:focus:not(:disabled) {
58
+ @apply text-surface-z10 bg-surface-z2/15 outline-none;
59
+ }
60
+
61
+ [data-style='glass'] [data-menu-item]:focus-visible {
62
+ @apply ring-surface-z5/40 ring-1 outline-none ring-inset;
63
+ }
64
+
65
+ /* Item elements */
66
+ [data-style='glass'] [data-menu-item] [data-item-icon] {
67
+ @apply text-surface-z5;
68
+ }
69
+
70
+ [data-style='glass'] [data-menu-item]:hover:not(:disabled) [data-item-icon] {
71
+ @apply text-surface-z7;
72
+ }
73
+
74
+ [data-style='glass'] [data-menu-item] [data-item-description] {
75
+ @apply text-surface-z5;
76
+ }
77
+
78
+ /* =============================================================================
79
+ Groups
80
+ ============================================================================= */
81
+
82
+ [data-style='glass'] [data-menu-group] {
83
+ @apply text-surface-z5;
84
+ }
85
+
86
+ /* =============================================================================
87
+ Divider
88
+ ============================================================================= */
89
+
90
+ [data-style='glass'] [data-menu-separator] {
91
+ @apply bg-surface-z5/20;
92
+ }
@@ -0,0 +1,61 @@
1
+ /**
2
+ * Range - Glass Theme Styles
3
+ *
4
+ * Glassmorphism styling with blur and transparency.
5
+ */
6
+
7
+ /* =============================================================================
8
+ Track
9
+ ============================================================================= */
10
+
11
+ [data-style='glass'] [data-range-bar] {
12
+ @apply bg-surface-z2/50 border-surface-z5/20 border;
13
+ }
14
+
15
+ [data-style='glass'] [data-range-selected] {
16
+ @apply bg-primary/40;
17
+ }
18
+
19
+ /* =============================================================================
20
+ Thumb
21
+ ============================================================================= */
22
+
23
+ [data-style='glass'] [data-range-thumb] {
24
+ @apply bg-primary/80 border-primary/50 backdrop-blur-sm;
25
+ }
26
+
27
+ [data-style='glass'] [data-range-thumb][data-sliding] {
28
+ box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary) 20%, transparent);
29
+ }
30
+
31
+ [data-style='glass'] [data-range-thumb]:focus-visible {
32
+ box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary) 20%, transparent);
33
+ }
34
+
35
+ /* =============================================================================
36
+ Ticks
37
+ ============================================================================= */
38
+
39
+ [data-style='glass'] [data-range-tick] {
40
+ @apply text-surface-z6;
41
+ }
42
+
43
+ [data-style='glass'] [data-tick-bar] {
44
+ @apply border-surface-z5/40;
45
+ }
46
+
47
+ [data-style='glass'] [data-tick-label] {
48
+ @apply text-surface-z6;
49
+ }
50
+
51
+ /* =============================================================================
52
+ Disabled
53
+ ============================================================================= */
54
+
55
+ [data-style='glass'] [data-range][data-disabled] [data-range-thumb] {
56
+ @apply bg-surface-z4/50 border-surface-z4/30;
57
+ }
58
+
59
+ [data-style='glass'] [data-range][data-disabled] [data-range-selected] {
60
+ @apply bg-surface-z4/30;
61
+ }
@@ -0,0 +1,49 @@
1
+ /**
2
+ * SearchFilter - Glass Theme Styles
3
+ *
4
+ * Glassmorphism styling with blur and transparency.
5
+ */
6
+
7
+ /* =============================================================================
8
+ Input
9
+ ============================================================================= */
10
+
11
+ [data-style='glass'] [data-search-input] {
12
+ @apply text-surface-z8 border-surface-z5/20 bg-surface-z1/50 border backdrop-blur-md;
13
+ }
14
+
15
+ [data-style='glass'] [data-search-input]:focus {
16
+ @apply border-primary-z5/50 ring-surface-z5/30 ring-1;
17
+ }
18
+
19
+ [data-style='glass'] [data-search-input]::placeholder {
20
+ @apply text-surface-z5;
21
+ }
22
+
23
+ /* =============================================================================
24
+ Clear Button
25
+ ============================================================================= */
26
+
27
+ [data-style='glass'] [data-search-clear] {
28
+ @apply text-surface-z5;
29
+ }
30
+
31
+ [data-style='glass'] [data-search-clear]:hover {
32
+ @apply text-surface-z9;
33
+ }
34
+
35
+ /* =============================================================================
36
+ Tags
37
+ ============================================================================= */
38
+
39
+ [data-style='glass'] [data-search-tag] {
40
+ @apply text-surface-z8 bg-surface-z2/15;
41
+ }
42
+
43
+ [data-style='glass'] [data-search-tag-remove] {
44
+ @apply text-surface-z6;
45
+ }
46
+
47
+ [data-style='glass'] [data-search-tag-remove]:hover {
48
+ @apply text-surface-z9;
49
+ }
@@ -0,0 +1,178 @@
1
+ /**
2
+ * Select - Glass Theme Styles
3
+ *
4
+ * Glassmorphism styling with blur and transparency.
5
+ */
6
+
7
+ /* =============================================================================
8
+ Select Container — elevate when open so dropdown escapes sibling stacking contexts
9
+ ============================================================================= */
10
+
11
+ [data-style='glass'] [data-select][data-open='true'] {
12
+ z-index: 50;
13
+ }
14
+
15
+ /* =============================================================================
16
+ Trigger Button
17
+ ============================================================================= */
18
+
19
+ [data-style='glass'] [data-select-trigger] {
20
+ @apply text-surface-z8 bg-surface-z1/70 border-surface-z5/20 border backdrop-blur-md;
21
+ }
22
+
23
+ [data-style='glass'] [data-select-trigger]:hover:not(:disabled) {
24
+ @apply text-surface-z10 bg-surface-z2/80 border-surface-z5/30;
25
+ }
26
+
27
+ [data-style='glass'] [data-select-trigger]:focus-visible {
28
+ @apply ring-surface-z5/40 ring-1 outline-none;
29
+ }
30
+
31
+ [data-style='glass'] [data-select][data-open='true'] [data-select-trigger] {
32
+ @apply border-primary-z5/50;
33
+ }
34
+
35
+ /* =============================================================================
36
+ Placeholder
37
+ ============================================================================= */
38
+
39
+ [data-style='glass'] [data-select-placeholder] {
40
+ @apply text-surface-z5;
41
+ }
42
+
43
+ /* =============================================================================
44
+ Arrow
45
+ ============================================================================= */
46
+
47
+ [data-style='glass'] [data-select-arrow] {
48
+ @apply text-surface-z5;
49
+ }
50
+
51
+ [data-style='glass'] [data-select-trigger]:hover:not(:disabled) [data-select-arrow] {
52
+ @apply text-surface-z7;
53
+ }
54
+
55
+ /* =============================================================================
56
+ Tags (MultiSelect)
57
+ ============================================================================= */
58
+
59
+ [data-style='glass'] [data-select-tag] {
60
+ @apply text-surface-z8 bg-surface-z2/15;
61
+ }
62
+
63
+ [data-style='glass'] [data-select-tag-remove] {
64
+ @apply text-surface-z6;
65
+ }
66
+
67
+ [data-style='glass'] [data-select-tag-remove]:hover {
68
+ @apply text-surface-z9;
69
+ }
70
+
71
+ /* =============================================================================
72
+ Dropdown Panel
73
+ ============================================================================= */
74
+
75
+ [data-style='glass'] [data-select-dropdown] {
76
+ @apply bg-surface-z2/50 border-surface-z5/20 border shadow-lg backdrop-blur-lg;
77
+ }
78
+
79
+ /* =============================================================================
80
+ Options
81
+ ============================================================================= */
82
+
83
+ [data-style='glass'] [data-select-option] {
84
+ @apply text-surface-z8;
85
+ }
86
+
87
+ [data-style='glass'] [data-select-option]:hover:not(:disabled),
88
+ [data-style='glass'] [data-select-option]:focus:not(:disabled) {
89
+ @apply text-surface-z10 bg-surface-z2/80;
90
+ }
91
+
92
+ [data-style='glass'] [data-select-option]:focus-visible {
93
+ @apply ring-surface-z5/40 ring-1 outline-none ring-inset;
94
+ }
95
+
96
+ [data-style='glass'] [data-select-option][data-selected='true'] {
97
+ @apply text-primary-z9 bg-primary-z5/40;
98
+ }
99
+
100
+ [data-style='glass'] [data-select-option][data-selected='true']:hover:not(:disabled),
101
+ [data-style='glass'] [data-select-option][data-selected='true']:focus:not(:disabled) {
102
+ @apply bg-primary-z5/60;
103
+ }
104
+
105
+ /* Check mark */
106
+ [data-style='glass'] [data-select-check] {
107
+ @apply text-primary-z6;
108
+ }
109
+
110
+ /* Checkbox */
111
+ [data-style='glass'] [data-select-checkbox] {
112
+ @apply border-surface-z5/40 bg-surface-z1/70;
113
+ }
114
+
115
+ [data-style='glass'] [data-select-checkbox][data-checked='true'] {
116
+ @apply bg-primary-z5 border-primary-z5 text-white;
117
+ }
118
+
119
+ /* Item elements */
120
+ [data-style='glass'] [data-select-option] [data-item-icon] {
121
+ @apply text-surface-z5;
122
+ }
123
+
124
+ [data-style='glass'] [data-select-option]:hover:not(:disabled) [data-item-icon] {
125
+ @apply text-surface-z7;
126
+ }
127
+
128
+ [data-style='glass'] [data-select-option][data-selected='true'] [data-item-icon] {
129
+ @apply text-primary-z6;
130
+ }
131
+
132
+ [data-style='glass'] [data-select-option] [data-item-description] {
133
+ @apply text-surface-z5;
134
+ }
135
+
136
+ [data-style='glass'] [data-select-option][data-selected='true'] [data-item-description] {
137
+ @apply text-primary-z7;
138
+ }
139
+
140
+ /* =============================================================================
141
+ Groups
142
+ ============================================================================= */
143
+
144
+ [data-style='glass'] [data-select-group-label] {
145
+ @apply text-surface-z5;
146
+ }
147
+
148
+ /* =============================================================================
149
+ Divider
150
+ ============================================================================= */
151
+
152
+ [data-style='glass'] [data-select-divider] {
153
+ @apply bg-surface-z5/20;
154
+ }
155
+
156
+ /* =============================================================================
157
+ Filter Input
158
+ ============================================================================= */
159
+
160
+ [data-style='glass'] [data-select-filter] {
161
+ @apply bg-surface-z2/30;
162
+ }
163
+
164
+ [data-style='glass'] [data-select-filter-input] {
165
+ @apply text-surface-z8 border-surface-z5/20 bg-surface-z1/50 border;
166
+ }
167
+
168
+ [data-style='glass'] [data-select-filter-input]:focus {
169
+ @apply border-primary-z5/50 ring-surface-z5/30 ring-1;
170
+ }
171
+
172
+ [data-style='glass'] [data-select-filter-input]::placeholder {
173
+ @apply text-surface-z5;
174
+ }
175
+
176
+ [data-style='glass'] [data-select-empty] {
177
+ @apply text-surface-z5;
178
+ }
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Switch - Glass Theme Styles
3
+ */
4
+
5
+ [data-style='glass'] [data-switch-track] {
6
+ @apply bg-surface-z2/50 border-surface-z5/20 border backdrop-blur-sm;
7
+ }
8
+
9
+ [data-style='glass'] [data-switch-thumb] {
10
+ @apply bg-surface-z7/80 shadow-sm backdrop-blur-sm;
11
+ }
12
+
13
+ [data-style='glass'] [data-switch]:focus-visible [data-switch-track] {
14
+ @apply ring-primary-z5/70 ring-2 ring-offset-1;
15
+ }
16
+
17
+ /* On state */
18
+ [data-style='glass'] [data-switch][aria-checked='true'] [data-switch-track] {
19
+ @apply bg-primary-z5/40 border-primary-z5/50;
20
+ }
21
+
22
+ [data-style='glass'] [data-switch][aria-checked='true'] [data-switch-thumb] {
23
+ @apply bg-white/90 shadow-md;
24
+ }
25
+
26
+ [data-style='glass'] [data-switch-label] {
27
+ @apply text-surface-z7;
28
+ }
@@ -0,0 +1,87 @@
1
+ /**
2
+ * Table - Glass Theme Styles
3
+ *
4
+ * Glassmorphism styling with blur and transparency.
5
+ */
6
+
7
+ /* =============================================================================
8
+ Header
9
+ ============================================================================= */
10
+
11
+ [data-style='glass'] [data-table-header] th {
12
+ @apply text-surface-z6 border-surface-z5/20 border-b;
13
+ }
14
+
15
+ [data-style='glass'] [data-table-header-cell][data-sortable='true']:hover {
16
+ @apply text-surface-z9;
17
+ }
18
+
19
+ [data-style='glass'] [data-table-header-cell][data-sort-order='ascending'],
20
+ [data-style='glass'] [data-table-header-cell][data-sort-order='descending'] {
21
+ @apply text-primary-z8;
22
+ }
23
+
24
+ [data-style='glass'] [data-table-sort-icon] {
25
+ @apply text-surface-z5;
26
+ }
27
+
28
+ [data-style='glass'] [data-table-header-cell][data-sort-order='ascending'] [data-table-sort-icon],
29
+ [data-style='glass'] [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='glass'] [data-table-caption] {
38
+ @apply text-surface-z7;
39
+ }
40
+
41
+ /* =============================================================================
42
+ Rows
43
+ ============================================================================= */
44
+
45
+ [data-style='glass'] [data-table-row] {
46
+ @apply text-surface-z8 border-surface-z5/10 border-b;
47
+ }
48
+
49
+ [data-style='glass'] [data-table-row]:hover {
50
+ @apply bg-surface-z2/80;
51
+ }
52
+
53
+ [data-style='glass'] [data-table-row]:focus {
54
+ @apply bg-surface-z2/80 text-surface-z10 outline-none;
55
+ }
56
+
57
+ [data-style='glass'] [data-table-row][data-selected='true'] {
58
+ @apply text-primary-z9 bg-primary-z5/40;
59
+ }
60
+
61
+ /* =============================================================================
62
+ Striped
63
+ ============================================================================= */
64
+
65
+ [data-style='glass'] [data-striped='true'] [data-table-body] tr:nth-child(even) {
66
+ @apply bg-surface-z2/30;
67
+ }
68
+
69
+ /* =============================================================================
70
+ Empty
71
+ ============================================================================= */
72
+
73
+ [data-style='glass'] [data-table-empty] {
74
+ @apply text-surface-z5;
75
+ }
76
+
77
+ /* =============================================================================
78
+ Cell Icon
79
+ ============================================================================= */
80
+
81
+ [data-style='glass'] [data-table-cell] [data-cell-icon] {
82
+ @apply text-surface-z5;
83
+ }
84
+
85
+ [data-style='glass'] [data-table-row][data-selected='true'] [data-cell-icon] {
86
+ @apply text-primary-z6;
87
+ }
@@ -0,0 +1,58 @@
1
+ /**
2
+ * Tabs - Glass Theme Styles
3
+ *
4
+ * Glassmorphism styling with blur and transparency.
5
+ */
6
+
7
+ /* =============================================================================
8
+ Tab List
9
+ ============================================================================= */
10
+
11
+ [data-style='glass'] [data-tabs-list] {
12
+ @apply bg-surface-z1/70 border-surface-z5/20 rounded-t-lg border-b backdrop-blur-md;
13
+ }
14
+
15
+ [data-style='glass'] [data-tabs][data-position='after'] [data-tabs-list] {
16
+ @apply rounded-t-none rounded-b-lg border-t border-b-0;
17
+ }
18
+
19
+ /* =============================================================================
20
+ Tab Triggers
21
+ ============================================================================= */
22
+
23
+ [data-style='glass'] [data-tabs-trigger] {
24
+ @apply text-surface-z6;
25
+ }
26
+
27
+ [data-style='glass'] [data-tabs-trigger]:hover:not(:disabled):not([data-disabled]) {
28
+ @apply text-surface-z8 bg-surface-z2/15;
29
+ }
30
+
31
+ /* Selected state */
32
+ [data-style='glass'] [data-tabs-trigger][data-selected] {
33
+ @apply bg-primary-z5/40 text-primary-z9 border-primary-z5/50 border backdrop-blur-sm;
34
+ }
35
+
36
+ /* =============================================================================
37
+ Tab Icon
38
+ ============================================================================= */
39
+
40
+ [data-style='glass'] [data-tabs-trigger] [data-tabs-icon] {
41
+ @apply text-surface-z5;
42
+ }
43
+
44
+ [data-style='glass'] [data-tabs-trigger]:hover:not(:disabled) [data-tabs-icon] {
45
+ @apply text-surface-z7;
46
+ }
47
+
48
+ [data-style='glass'] [data-tabs-trigger][data-selected] [data-tabs-icon] {
49
+ @apply text-primary-z7;
50
+ }
51
+
52
+ /* =============================================================================
53
+ Tab Panel
54
+ ============================================================================= */
55
+
56
+ [data-style='glass'] [data-tabs-content] {
57
+ @apply text-surface-z8;
58
+ }
@@ -0,0 +1,46 @@
1
+ /**
2
+ * Timeline - Glass Theme Styles
3
+ *
4
+ * Glassmorphism styling with blur and transparency.
5
+ */
6
+
7
+ /* =============================================================================
8
+ Circle
9
+ ============================================================================= */
10
+
11
+ [data-style='glass'] [data-timeline-circle] {
12
+ @apply border-surface-z5/30 text-surface-z6;
13
+ }
14
+
15
+ [data-style='glass'] [data-timeline-item][data-completed] [data-timeline-circle] {
16
+ @apply bg-primary/80 border-primary/50 text-on-primary backdrop-blur-sm;
17
+ }
18
+
19
+ [data-style='glass'] [data-timeline-item][data-active] [data-timeline-circle] {
20
+ @apply border-primary/60 text-primary;
21
+ box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 15%, transparent);
22
+ }
23
+
24
+ /* =============================================================================
25
+ Connector
26
+ ============================================================================= */
27
+
28
+ [data-style='glass'] [data-timeline-connector] {
29
+ @apply bg-surface-z5/20;
30
+ }
31
+
32
+ [data-style='glass'] [data-timeline-item][data-completed] [data-timeline-connector] {
33
+ @apply bg-primary/40;
34
+ }
35
+
36
+ /* =============================================================================
37
+ Body
38
+ ============================================================================= */
39
+
40
+ [data-style='glass'] [data-timeline-title] {
41
+ @apply text-surface-z8;
42
+ }
43
+
44
+ [data-style='glass'] [data-timeline-description] {
45
+ @apply text-surface-z6;
46
+ }
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Toggle - Glass Theme Styles
3
+ *
4
+ * Glassmorphism styling with blur and transparency.
5
+ */
6
+
7
+ /* =============================================================================
8
+ Toggle Container
9
+ ============================================================================= */
10
+
11
+ [data-style='glass'] [data-toggle] {
12
+ @apply bg-surface-z1/70 border-surface-z5/20 rounded-lg border backdrop-blur-md;
13
+ }
14
+
15
+ /* =============================================================================
16
+ Toggle Options
17
+ ============================================================================= */
18
+
19
+ [data-style='glass'] [data-toggle-option] {
20
+ @apply text-surface-z6;
21
+ }
22
+
23
+ [data-style='glass'] [data-toggle-option]:hover:not(:disabled):not([data-disabled='true']),
24
+ [data-style='glass'] [data-toggle-option]:focus:not(:disabled):not([data-disabled='true']) {
25
+ @apply text-surface-z8 bg-surface-z2/15;
26
+ }
27
+
28
+ /* Selected state */
29
+ [data-style='glass'] [data-toggle-option][data-selected='true'] {
30
+ @apply bg-primary-z5/40 text-primary-z9 border-primary-z5/50 border backdrop-blur-sm;
31
+ }
32
+
33
+ /* =============================================================================
34
+ Toggle Icon
35
+ ============================================================================= */
36
+
37
+ [data-style='glass'] [data-toggle-option] [data-toggle-icon] {
38
+ @apply text-surface-z5;
39
+ }
40
+
41
+ [data-style='glass'] [data-toggle-option]:hover:not(:disabled) [data-toggle-icon],
42
+ [data-style='glass'] [data-toggle-option]:focus:not(:disabled) [data-toggle-icon] {
43
+ @apply text-surface-z7;
44
+ }
45
+
46
+ [data-style='glass'] [data-toggle-option][data-selected='true'] [data-toggle-icon] {
47
+ @apply text-primary-z7;
48
+ }