@rokkit/themes 1.0.0-next.89 → 1.0.0-next.90
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/core.css +8 -0
- package/src/base/layout.css +37 -10
- package/src/prism.css +0 -1
- package/src/rokkit/molecules.css +1 -1
- package/src/rokkit/organisms.css +7 -3
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.90",
|
|
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.
|
|
22
|
+
"shared-config": "1.0.0-next.90"
|
|
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.90"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"format": "prettier --write .",
|
package/src/base/core.css
CHANGED
|
@@ -49,6 +49,14 @@ pre {
|
|
|
49
49
|
@apply outline-disabled;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
+
/* plots*/
|
|
53
|
+
plot {
|
|
54
|
+
@apply rounded-md bg-neutral-inset p-4;
|
|
55
|
+
}
|
|
56
|
+
g[aria-label='tip'] {
|
|
57
|
+
--plot-background: var(--neutral-200);
|
|
58
|
+
}
|
|
59
|
+
|
|
52
60
|
input-field input,
|
|
53
61
|
input-field toggle-switch,
|
|
54
62
|
drop-down {
|
package/src/base/layout.css
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
container > segment {
|
|
2
|
-
@apply overflow-hidden;
|
|
2
|
+
@apply overflow-hidden h-full;
|
|
3
3
|
}
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
|
|
5
|
+
.three-col,
|
|
6
|
+
.two-col {
|
|
7
|
+
@apply grid w-full min-h-full overflow-hidden;
|
|
6
8
|
}
|
|
7
9
|
|
|
8
10
|
.three-col.md {
|
|
9
|
-
grid-
|
|
10
|
-
grid-template-
|
|
11
|
-
/*
|
|
11
|
+
@apply grid-cols-2 grid-rows-2;
|
|
12
|
+
/* grid-template-columns: repeat(2, 1fr); */
|
|
13
|
+
/* grid-template-rows: repeat(2, 1fr); */
|
|
12
14
|
grid-template-areas:
|
|
13
15
|
'c-1 c-2'
|
|
14
16
|
'c-1 c-3';
|
|
@@ -26,13 +28,38 @@ container > segment {
|
|
|
26
28
|
grid-area: c-3;
|
|
27
29
|
}
|
|
28
30
|
.three-col.lg {
|
|
29
|
-
|
|
30
|
-
grid-template-columns: repeat(5, 1fr);
|
|
31
|
-
grid-template-rows: repeat(2, 1fr);
|
|
31
|
+
@apply grid-cols-5 grid-rows-2;
|
|
32
|
+
/* grid-template-columns: repeat(5, 1fr); */
|
|
33
|
+
/* grid-template-rows: repeat(2, 1fr); */
|
|
32
34
|
grid-template-areas:
|
|
33
35
|
'c-1 c-1 c-2 c-2 c-2'
|
|
34
36
|
'c-1 c-1 c-3 c-3 c-3';
|
|
35
37
|
}
|
|
36
|
-
.three-col.sm
|
|
38
|
+
.three-col.sm,
|
|
39
|
+
.two-col.sm {
|
|
37
40
|
@apply grid-cols-1 grid-rows-1;
|
|
38
41
|
}
|
|
42
|
+
|
|
43
|
+
.two-col.md {
|
|
44
|
+
@apply grid-rows-1 grid-cols-2;
|
|
45
|
+
/* grid-template-columns: repeat(2, 1fr); */
|
|
46
|
+
grid-template-areas: 'c-1 c-2';
|
|
47
|
+
}
|
|
48
|
+
.two-col.lg {
|
|
49
|
+
@apply grid-rows-1 grid-cols-5;
|
|
50
|
+
/* grid-template-columns: repeat(5, 1fr); */
|
|
51
|
+
grid-template-areas: 'c-1 c-1 c-2 c-2 c-2';
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.two-col.md > .col-1,
|
|
55
|
+
.two-col.lg > .col-1 {
|
|
56
|
+
grid-area: c-1;
|
|
57
|
+
}
|
|
58
|
+
.two-col.md > .col-2,
|
|
59
|
+
.two-col.lg > .col-2 {
|
|
60
|
+
grid-area: c-2;
|
|
61
|
+
}
|
|
62
|
+
.two-col.md > .col-3,
|
|
63
|
+
.two-col.lg > .col-3 {
|
|
64
|
+
display: none;
|
|
65
|
+
}
|
package/src/prism.css
CHANGED
package/src/rokkit/molecules.css
CHANGED
package/src/rokkit/organisms.css
CHANGED
|
@@ -212,8 +212,8 @@
|
|
|
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
|
|
216
|
-
@apply bg-neutral-
|
|
215
|
+
.rokkit node > div:hover {
|
|
216
|
+
@apply bg-neutral-subtle;
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
/* Selected and Hover styles for List and Node */
|
|
@@ -263,7 +263,7 @@
|
|
|
263
263
|
|
|
264
264
|
/* Toggle Switch styles */
|
|
265
265
|
.rokkit toggle-switch {
|
|
266
|
-
@apply min-w-12
|
|
266
|
+
@apply min-w-12 rounded-full mx-auto;
|
|
267
267
|
@apply bg-neutral-subtle border border-neutral-muted;
|
|
268
268
|
@apply leading-loose p-2px;
|
|
269
269
|
}
|
|
@@ -357,3 +357,7 @@
|
|
|
357
357
|
.rokkit tree-table tr.even[aria-current='true'] td icon {
|
|
358
358
|
@apply text-secondary-100;
|
|
359
359
|
}
|
|
360
|
+
|
|
361
|
+
.rokkit container:focus-within {
|
|
362
|
+
@apply outline-none;
|
|
363
|
+
}
|