@rokkit/themes 1.0.0-next.94 → 1.0.0-next.95
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 +3 -3
- package/src/base/alert.css +15 -0
- package/src/base/molecules.css +3 -3
- package/src/base/tree.css +18 -0
- package/src/base.css +2 -0
- package/src/material/list.css +1 -1
- package/src/minimal/list.css +13 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rokkit/themes",
|
|
3
|
-
"version": "1.0.0-next.
|
|
3
|
+
"version": "1.0.0-next.95",
|
|
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.4.4",
|
|
20
20
|
"vite": "^5.2.8",
|
|
21
21
|
"vitest": "~1.4.0",
|
|
22
|
-
"shared-config": "1.0.0-next.
|
|
22
|
+
"shared-config": "1.0.0-next.95"
|
|
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.
|
|
41
|
+
"@rokkit/core": "1.0.0-next.95"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"format": "prettier --write .",
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
alert-list alert {
|
|
2
|
+
@apply bg-neutral border-neutral-muted text-neutral-800;
|
|
3
|
+
}
|
|
4
|
+
alert-list alert.danger {
|
|
5
|
+
@apply bg-danger border-danger-muted text-neutral-800;
|
|
6
|
+
}
|
|
7
|
+
alert-list alert.success {
|
|
8
|
+
@apply bg-success border-success-muted text-neutral-800;
|
|
9
|
+
}
|
|
10
|
+
alert-list alert.info {
|
|
11
|
+
@apply bg-info border-info-muted text-neutral-800;
|
|
12
|
+
}
|
|
13
|
+
alert-list alert.warning {
|
|
14
|
+
@apply bg-warning border-warning-muted text-neutral-800;
|
|
15
|
+
}
|
package/src/base/molecules.css
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
tree,
|
|
2
|
+
nested-list {
|
|
3
|
+
@apply flex flex-col w-full text-sm;
|
|
4
|
+
}
|
|
5
|
+
nested-list node > div {
|
|
6
|
+
@apply px-2 h-8;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
nested-list node {
|
|
10
|
+
@apply flex flex-col;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
node > div > item {
|
|
14
|
+
@apply px-1;
|
|
15
|
+
}
|
|
16
|
+
node > div > span {
|
|
17
|
+
@apply flex-shrink-0;
|
|
18
|
+
}
|
package/src/base.css
CHANGED
package/src/material/list.css
CHANGED
package/src/minimal/list.css
CHANGED
|
@@ -56,18 +56,20 @@
|
|
|
56
56
|
/* @apply hover:text-secondary; */
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
.minimal
|
|
60
|
-
@apply
|
|
59
|
+
/* .minimal nested-list {
|
|
60
|
+
@apply text-sm;
|
|
61
|
+
} */
|
|
62
|
+
.minimal node > div {
|
|
63
|
+
@apply h-7 px-2 py-1;
|
|
61
64
|
}
|
|
62
65
|
.minimal node > item {
|
|
63
66
|
@apply px-1 gap-1;
|
|
64
67
|
}
|
|
65
|
-
.minimal node > span {
|
|
66
|
-
@apply w-3;
|
|
68
|
+
.minimal node > div > span > i {
|
|
69
|
+
@apply border-none w-3;
|
|
67
70
|
}
|
|
68
|
-
.minimal node >
|
|
69
|
-
|
|
70
|
-
@apply text-sm;
|
|
71
|
+
.minimal node > div > icon {
|
|
72
|
+
@apply text-xs text-neutral-400;
|
|
71
73
|
}
|
|
72
74
|
.minimal node[aria-selected='true'] > item > p {
|
|
73
75
|
@apply text-secondary-600;
|
|
@@ -82,10 +84,10 @@
|
|
|
82
84
|
@apply text-sm;
|
|
83
85
|
}
|
|
84
86
|
|
|
85
|
-
.minimal .small node {
|
|
87
|
+
.minimal .small node > div {
|
|
86
88
|
@apply text-sm gap-1 h-5;
|
|
87
89
|
}
|
|
88
|
-
.minimal .small node >
|
|
90
|
+
.minimal .small node > div > icon {
|
|
89
91
|
@apply text-sm;
|
|
90
92
|
}
|
|
91
93
|
.minimal .small item > img,
|
|
@@ -103,9 +105,9 @@
|
|
|
103
105
|
@apply h-full bg-neutral-inset min-w-40;
|
|
104
106
|
}
|
|
105
107
|
|
|
106
|
-
.minimal node >
|
|
108
|
+
/* .minimal node > div > i {
|
|
107
109
|
@apply border-neutral-muted;
|
|
108
|
-
}
|
|
110
|
+
} */
|
|
109
111
|
|
|
110
112
|
.minimal crumbs {
|
|
111
113
|
@apply flex-grow gap-1 text-sm;
|