@timmo001/groundwork-tokens 0.9.39 → 0.10.0
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 +11 -0
- package/generated/Themes.qml +1 -1
- package/generated/opentui.ts +96 -4
- package/generated/themes.css +261 -196
- package/generated/themes.json +97 -82
- package/generated/themes.ts +97 -82
- package/package.json +2 -1
- package/src/choices.ts +180 -0
- package/src/generate.ts +8 -8
- package/src/page.ts +195 -315
- package/src/schema.ts +3 -2
- package/themes/tokyo-night-moon.json +14 -0
- package/themes/tokyo-night-storm.json +14 -0
- package/themes/tokyo-night.json +14 -0
- package/themes/tokyo-night-day.json +0 -21
package/src/schema.ts
CHANGED
|
@@ -108,8 +108,9 @@ export interface Palette extends Schema.Schema.Type<typeof Palette> {}
|
|
|
108
108
|
|
|
109
109
|
/**
|
|
110
110
|
* An optional theme mapped from an existing palette, such as Catppuccin, so it
|
|
111
|
-
* stays faithful. It takes Base's style.
|
|
112
|
-
* comes in both, such as GitHub's
|
|
111
|
+
* stays faithful. It takes Base's style. Some flavors are one mode, such as
|
|
112
|
+
* Catppuccin's; one that comes in both, such as GitHub's or Tokyo Night's,
|
|
113
|
+
* also gives the other mode's palette.
|
|
113
114
|
*/
|
|
114
115
|
export const MappedTheme = Schema.Struct({
|
|
115
116
|
kind: Schema.tag("mapped"),
|
|
@@ -17,5 +17,19 @@
|
|
|
17
17
|
"important": "#c099ff",
|
|
18
18
|
"warning": "#ffc777",
|
|
19
19
|
"danger": "#ff757f"
|
|
20
|
+
},
|
|
21
|
+
"otherPalette": {
|
|
22
|
+
"lower": "#d0d5e3",
|
|
23
|
+
"background": "#e1e2e7",
|
|
24
|
+
"raised": "#e9e9ed",
|
|
25
|
+
"border": "#c4c8da",
|
|
26
|
+
"text": "#3760bf",
|
|
27
|
+
"muted": "#6172b0",
|
|
28
|
+
"accent": "#2e7de9",
|
|
29
|
+
"info": "#2e7de9",
|
|
30
|
+
"success": "#587539",
|
|
31
|
+
"important": "#9854f1",
|
|
32
|
+
"warning": "#8c6c3e",
|
|
33
|
+
"danger": "#f52a65"
|
|
20
34
|
}
|
|
21
35
|
}
|
|
@@ -17,5 +17,19 @@
|
|
|
17
17
|
"important": "#bb9af7",
|
|
18
18
|
"warning": "#e0af68",
|
|
19
19
|
"danger": "#f7768e"
|
|
20
|
+
},
|
|
21
|
+
"otherPalette": {
|
|
22
|
+
"lower": "#d0d5e3",
|
|
23
|
+
"background": "#e1e2e7",
|
|
24
|
+
"raised": "#e9e9ed",
|
|
25
|
+
"border": "#c4c8da",
|
|
26
|
+
"text": "#3760bf",
|
|
27
|
+
"muted": "#6172b0",
|
|
28
|
+
"accent": "#2e7de9",
|
|
29
|
+
"info": "#2e7de9",
|
|
30
|
+
"success": "#587539",
|
|
31
|
+
"important": "#9854f1",
|
|
32
|
+
"warning": "#8c6c3e",
|
|
33
|
+
"danger": "#f52a65"
|
|
20
34
|
}
|
|
21
35
|
}
|
package/themes/tokyo-night.json
CHANGED
|
@@ -17,5 +17,19 @@
|
|
|
17
17
|
"important": "#bb9af7",
|
|
18
18
|
"warning": "#e0af68",
|
|
19
19
|
"danger": "#f7768e"
|
|
20
|
+
},
|
|
21
|
+
"otherPalette": {
|
|
22
|
+
"lower": "#d0d5e3",
|
|
23
|
+
"background": "#e1e2e7",
|
|
24
|
+
"raised": "#e9e9ed",
|
|
25
|
+
"border": "#c4c8da",
|
|
26
|
+
"text": "#3760bf",
|
|
27
|
+
"muted": "#6172b0",
|
|
28
|
+
"accent": "#2e7de9",
|
|
29
|
+
"info": "#2e7de9",
|
|
30
|
+
"success": "#587539",
|
|
31
|
+
"important": "#9854f1",
|
|
32
|
+
"warning": "#8c6c3e",
|
|
33
|
+
"danger": "#f52a65"
|
|
20
34
|
}
|
|
21
35
|
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"kind": "mapped",
|
|
3
|
-
"id": "tokyo-night-day",
|
|
4
|
-
"name": "Tokyo Night Day",
|
|
5
|
-
"family": "Tokyo Night",
|
|
6
|
-
"mode": "light",
|
|
7
|
-
"palette": {
|
|
8
|
-
"lower": "#d0d5e3",
|
|
9
|
-
"background": "#e1e2e7",
|
|
10
|
-
"raised": "#e9e9ed",
|
|
11
|
-
"border": "#c4c8da",
|
|
12
|
-
"text": "#3760bf",
|
|
13
|
-
"muted": "#6172b0",
|
|
14
|
-
"accent": "#2e7de9",
|
|
15
|
-
"info": "#2e7de9",
|
|
16
|
-
"success": "#587539",
|
|
17
|
-
"important": "#9854f1",
|
|
18
|
-
"warning": "#8c6c3e",
|
|
19
|
-
"danger": "#f52a65"
|
|
20
|
-
}
|
|
21
|
-
}
|