@rokkit/themes 1.0.0-next.83 → 1.0.0-next.84

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rokkit/themes",
3
- "version": "1.0.0-next.83",
3
+ "version": "1.0.0-next.84",
4
4
  "description": "Themes for use with rokkit components.",
5
5
  "author": "Jerry Thomas <me@jerrythomas.name>",
6
6
  "license": "MIT",
@@ -19,7 +19,7 @@
19
19
  "typescript": "^5.3.3",
20
20
  "vite": "^5.1.4",
21
21
  "vitest": "~1.3.1",
22
- "shared-config": "1.0.0-next.83"
22
+ "shared-config": "1.0.0-next.84"
23
23
  },
24
24
  "files": [
25
25
  "src"
@@ -38,7 +38,7 @@
38
38
  }
39
39
  },
40
40
  "dependencies": {
41
- "@rokkit/core": "1.0.0-next.83"
41
+ "@rokkit/core": "1.0.0-next.84"
42
42
  },
43
43
  "scripts": {
44
44
  "format": "prettier --write .",
@@ -26,25 +26,25 @@
26
26
  @apply border-b-0 border-t-3;
27
27
  }
28
28
 
29
- .material .node {
29
+ .material node {
30
30
  @apply h-7 px-2;
31
31
  }
32
- .material .node > item {
32
+ .material node > item {
33
33
  @apply px-1 gap-1 bg-transparent;
34
34
  }
35
- .material .node > span {
35
+ .material node > span {
36
36
  @apply w-3;
37
37
  }
38
38
 
39
- .material .node > span > icon {
39
+ .material node > span > icon {
40
40
  @apply text-sm;
41
41
  }
42
42
 
43
- .material .nested-list:focus-within {
43
+ .material nested-list:focus-within {
44
44
  @apply outline-none;
45
45
  }
46
46
 
47
- .material .node > span > i {
47
+ .material node > span > i {
48
48
  @apply border-transparent;
49
49
  }
50
50
 
@@ -59,7 +59,7 @@
59
59
  /* .material list item[aria-selected='true'] {
60
60
  @apply bg-primary text-primary-800;
61
61
  } */
62
- .material .node[aria-selected='true'],
62
+ .material node[aria-selected='true'],
63
63
  .material list item[aria-selected='true'] {
64
64
  @apply bg-primary text-neutral-base;
65
65
  }
@@ -30,7 +30,7 @@
30
30
  .minimal accordion summary:hover {
31
31
  @apply border-l-neutral-subtle;
32
32
  }
33
- .minimal list item.is-selected {
33
+ .minimal list item[aria-selected='true'] {
34
34
  @apply -m-l-2px border-l-2px border-l-secondary-600 text-secondary-600 bg-neutral-subtle;
35
35
  }
36
36
  .minimal accordion .is-selected summary {
@@ -50,29 +50,29 @@
50
50
 
51
51
  .minimal accordion .is-selected summary,
52
52
  .minimal accordion .is-selected summary > a,
53
- .minimal accordion item.is-selected,
54
- .minimal accordion item.is-selected > a {
53
+ .minimal accordion item[aria-selected='true'],
54
+ .minimal accordion item[aria-selected='true'] > a {
55
55
  @apply text-secondary-600;
56
56
  /* @apply hover:text-secondary; */
57
57
  }
58
58
 
59
- .minimal .node {
59
+ .minimal node {
60
60
  @apply h-7 px-2;
61
61
  }
62
- .minimal .node > item {
62
+ .minimal node > item {
63
63
  @apply px-1 gap-1;
64
64
  }
65
- .minimal .node > span {
65
+ .minimal node > span {
66
66
  @apply w-3;
67
67
  }
68
- .minimal .node > span > icon {
69
- /* .minimal .node > icon { */
68
+ .minimal node > span > icon {
69
+ /* .minimal node > icon { */
70
70
  @apply text-sm;
71
71
  }
72
- .minimal .node[aria-selected='true'] > item > p {
72
+ .minimal node[aria-selected='true'] > item > p {
73
73
  @apply text-secondary-600;
74
74
  }
75
- .minimal .node.is-selected icon {
75
+ .minimal node.is-selected icon {
76
76
  @apply text-secondary-600;
77
77
  @apply hover:text-secondary-600;
78
78
  }
@@ -82,10 +82,10 @@
82
82
  @apply text-sm;
83
83
  }
84
84
 
85
- .minimal .small .node {
85
+ .minimal .small node {
86
86
  @apply text-sm gap-1 h-5;
87
87
  }
88
- .minimal .small .node > span > icon {
88
+ .minimal .small node > span > icon {
89
89
  @apply text-sm;
90
90
  }
91
91
  .minimal .small item > img,
@@ -103,7 +103,7 @@
103
103
  @apply h-full bg-neutral-inset min-w-40;
104
104
  }
105
105
 
106
- .minimal .node > span > i {
106
+ .minimal node > span > i {
107
107
  @apply border-neutral-muted;
108
108
  }
109
109
 
@@ -145,7 +145,7 @@
145
145
  .rokkit item > a {
146
146
  @apply gap-2;
147
147
  }
148
- .rokkit .node item {
148
+ .rokkit node item {
149
149
  @apply px-1 gap-2;
150
150
  }
151
151
  /* Crumbs styles */
@@ -171,10 +171,10 @@
171
171
  }
172
172
 
173
173
  /* Nested List and Node styles */
174
- .rokkit .nested-list {
174
+ .rokkit nested-list {
175
175
  @apply text-neutral-800;
176
176
  }
177
- .rokkit .nested-list .node {
177
+ .rokkit nested-list node {
178
178
  @apply px-2 h-8;
179
179
  }
180
180
 
@@ -184,8 +184,8 @@
184
184
  }
185
185
 
186
186
  /* Focus styles for Nested List, Tree, and Accordion */
187
- .rokkit .nested-list,
188
- .rokkit .nested-list:focus-within,
187
+ .rokkit nested-list,
188
+ .rokkit nested-list:focus-within,
189
189
  .rokkit tree:focus-within {
190
190
  @apply outline-none rounded;
191
191
  }
@@ -212,7 +212,7 @@
212
212
  /* .rokkit virtual-list item.is-hovering, */
213
213
  .rokkit list item:hover,
214
214
  .rokkit virtual-list-contents virtual-list-item:hover,
215
- .rokkit .node:hover {
215
+ .rokkit node:hover {
216
216
  @apply bg-neutral-inset;
217
217
  }
218
218
 
@@ -245,19 +245,19 @@
245
245
  .rokkit .folder-tree {
246
246
  @apply bg-neutral-inset h-full;
247
247
  }
248
- .rokkit .folder-tree .nested-list{
248
+ .rokkit .folder-tree nested-list {
249
249
  @apply bg-neutral-inset h-full;
250
250
  }
251
- .rokkit .node > item {
251
+ .rokkit node > item {
252
252
  @apply px-1;
253
253
  }
254
- .rokkit .node > span {
254
+ .rokkit node > span {
255
255
  @apply flex-shrink-0;
256
256
  }
257
- .rokkit .node > span > i {
257
+ .rokkit node > span > i {
258
258
  @apply border-neutral-muted;
259
259
  }
260
- .rokkit .node > icon {
260
+ .rokkit node > icon {
261
261
  @apply text-neutral-muted;
262
262
  }
263
263
 
@@ -300,15 +300,15 @@
300
300
 
301
301
  .rokkit list item[aria-selected='true'],
302
302
  .rokkit virtual-list-contents virtual-list-item[aria-selected='true'],
303
- .rokkit .node[aria-selected='true'] {
303
+ .rokkit node[aria-selected='true'] {
304
304
  @apply bg-gradient-to-r from-neutral-subtle to-neutral-subtle text-neutral-800;
305
305
  }
306
306
  /* Focus and Hover styles for Toggle Switch, List, Tree, and Nested List */
307
307
  .rokkit toggle-switch:focus-within item[aria-selected='true'],
308
308
  .rokkit list:focus-within item[aria-selected='true'],
309
309
  .rokkit virtual-list-viewport:focus-within virtual-list-item[aria-selected='true'],
310
- .rokkit tree:focus-within .node[aria-selected='true'],
311
- .rokkit .nested-list:focus-within .node[aria-selected='true'] {
310
+ .rokkit tree:focus-within node[aria-selected='true'],
311
+ .rokkit nested-list:focus-within node[aria-selected='true'] {
312
312
  @apply bg-gradient-to-r from-primary to-secondary text-white;
313
313
  @apply hover:from-secondary hover:to-primary;
314
314
  }