@ox-content/theme-color-gruvbox 2.84.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/LICENSE +21 -0
- package/README.md +39 -0
- package/dist/index.cjs +148 -0
- package/dist/index.d.cts +15 -0
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +15 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +145 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +60 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 ubugeeei
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# @ox-content/theme-color-gruvbox
|
|
2
|
+
|
|
3
|
+
Gruvbox — Gruvbox light and dark, medium contrast — for [Ox Content](https://github.com/ubugeeei-prod/ox-content).
|
|
4
|
+
|
|
5
|
+
**Color only.** Light and dark `--octc-*` tokens and nothing else: no layout, no
|
|
6
|
+
texture, no typography. That is what lets it drop under any skin package.
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
npm install @ox-content/theme-color-gruvbox
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
```ts
|
|
13
|
+
// vite.config.ts
|
|
14
|
+
import { defineConfig } from "vite";
|
|
15
|
+
import { oxContent } from "@ox-content/vite-plugin";
|
|
16
|
+
import gruvbox from "@ox-content/theme-color-gruvbox";
|
|
17
|
+
|
|
18
|
+
export default defineConfig({
|
|
19
|
+
plugins: [
|
|
20
|
+
oxContent({
|
|
21
|
+
srcDir: "docs",
|
|
22
|
+
ssg: { siteName: "My Docs", theme: gruvbox },
|
|
23
|
+
}),
|
|
24
|
+
],
|
|
25
|
+
});
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Stack a skin on top to change the form as well — layers compose left to right,
|
|
29
|
+
so anything you append wins:
|
|
30
|
+
|
|
31
|
+
```ts
|
|
32
|
+
import pixel from "@ox-content/theme-pixel";
|
|
33
|
+
|
|
34
|
+
theme: [pixel, gruvbox, { colors: { primary: "#ff5f56" } }];
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## License
|
|
38
|
+
|
|
39
|
+
MIT
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
Object.defineProperties(exports, {
|
|
2
|
+
__esModule: { value: true },
|
|
3
|
+
[Symbol.toStringTag]: { value: "Module" }
|
|
4
|
+
});
|
|
5
|
+
//#region src/index.ts
|
|
6
|
+
/**
|
|
7
|
+
* Gruvbox — Gruvbox light and dark, medium contrast.
|
|
8
|
+
*
|
|
9
|
+
* Color only: no layout, no texture, no typography. Compose it under any
|
|
10
|
+
* `@ox-content/theme-*` skin, or use it on its own over the default theme.
|
|
11
|
+
*
|
|
12
|
+
* Generated from `scripts/theme-colors/palettes.json`; edit that file and run
|
|
13
|
+
* `node scripts/theme-colors/generate.mjs` rather than editing this by hand.
|
|
14
|
+
*/
|
|
15
|
+
const gruvbox = {
|
|
16
|
+
name: "gruvbox",
|
|
17
|
+
colors: {
|
|
18
|
+
primary: "#af3a03",
|
|
19
|
+
primaryHover: "#8f2f02",
|
|
20
|
+
background: "#fbf1c7",
|
|
21
|
+
backgroundAlt: "#f2e5bc",
|
|
22
|
+
text: "#3c3836",
|
|
23
|
+
textMuted: "#665c54",
|
|
24
|
+
border: "#d5c4a1",
|
|
25
|
+
codeBackground: "#f2e5bc",
|
|
26
|
+
codeBackgroundTop: "#f2e5bc",
|
|
27
|
+
codeText: "#3c3836"
|
|
28
|
+
},
|
|
29
|
+
darkColors: {
|
|
30
|
+
primary: "#fe8019",
|
|
31
|
+
primaryHover: "#fea86a",
|
|
32
|
+
background: "#282828",
|
|
33
|
+
backgroundAlt: "#32302f",
|
|
34
|
+
text: "#ebdbb2",
|
|
35
|
+
textMuted: "#a89984",
|
|
36
|
+
border: "#504945",
|
|
37
|
+
codeBackground: "#1d2021",
|
|
38
|
+
codeBackgroundTop: "#1d2021",
|
|
39
|
+
codeText: "#ebdbb2"
|
|
40
|
+
},
|
|
41
|
+
tokens: {
|
|
42
|
+
"color-code-line-highlight": "color-mix(in srgb, #076678 16%, transparent)",
|
|
43
|
+
"color-code-line-warning": "color-mix(in srgb, #b57614 18%, transparent)",
|
|
44
|
+
"color-code-line-warning-border": "#b57614",
|
|
45
|
+
"color-code-line-error": "color-mix(in srgb, #9d0006 20%, transparent)",
|
|
46
|
+
"color-code-line-error-border": "#9d0006",
|
|
47
|
+
"color-code-line-add": "color-mix(in srgb, #79740e 16%, transparent)",
|
|
48
|
+
"color-code-line-add-border": "#79740e",
|
|
49
|
+
"color-code-line-remove": "color-mix(in srgb, #9d0006 14%, transparent)",
|
|
50
|
+
"color-code-line-remove-border": "#9d0006",
|
|
51
|
+
"color-code-line-focus": "color-mix(in srgb, #af3a03 16%, transparent)",
|
|
52
|
+
"color-code-line-dim": "0.45",
|
|
53
|
+
"color-code-title-bg": "color-mix(in srgb, #f2e5bc 92%, #3c3836)",
|
|
54
|
+
"color-code-title-text": "color-mix(in srgb, #3c3836 88%, #f2e5bc)",
|
|
55
|
+
"color-code-title-border": "color-mix(in srgb, #3c3836 22%, transparent)",
|
|
56
|
+
"color-code-line-number": "color-mix(in srgb, #3c3836 48%, transparent)",
|
|
57
|
+
"color-code-frame-border": "color-mix(in srgb, #d5c4a1 92%, transparent)",
|
|
58
|
+
"color-backdrop": "rgba(88, 84, 70, 0.62)",
|
|
59
|
+
"surface-glass": "color-mix(in srgb, #f2e5bc 62%, #fbf1c7)",
|
|
60
|
+
"surface-line": "color-mix(in srgb, #d5c4a1 72%, #fbf1c7)",
|
|
61
|
+
"brand-violet": "#8f3f71",
|
|
62
|
+
"brand-cyan": "#427b58",
|
|
63
|
+
"brand-lime": "#79740e",
|
|
64
|
+
"brand-coral": "#9d0006",
|
|
65
|
+
"brand-navy": "color-mix(in srgb, #3c3836 70%, #fbf1c7)",
|
|
66
|
+
"brand-violet-rgb": "143, 63, 113",
|
|
67
|
+
"brand-cyan-rgb": "66, 123, 88",
|
|
68
|
+
"brand-lime-rgb": "121, 116, 14",
|
|
69
|
+
"brand-coral-rgb": "157, 0, 6",
|
|
70
|
+
"accent-a": "#af3a03",
|
|
71
|
+
"accent-b": "#8f3f71",
|
|
72
|
+
"accent-c": "#427b58",
|
|
73
|
+
"accent-warm": "#b57614",
|
|
74
|
+
"accent-cool": "#076678",
|
|
75
|
+
"accent-a-ink": "#af3a03",
|
|
76
|
+
"accent-b-ink": "#8f3f71",
|
|
77
|
+
"accent-c-ink": "#3f7654",
|
|
78
|
+
"accent-warm-ink": "#915e10",
|
|
79
|
+
"accent-cool-ink": "#076678",
|
|
80
|
+
"accent-coral-ink": "#9d0006",
|
|
81
|
+
"shiki-foreground": "#3c3836",
|
|
82
|
+
"shiki-background": "#f2e5bc",
|
|
83
|
+
"shiki-token-comment": "color-mix(in srgb, #3c3836 55%, #f2e5bc)",
|
|
84
|
+
"shiki-token-punctuation": "color-mix(in srgb, #3c3836 72%, #f2e5bc)",
|
|
85
|
+
"shiki-token-keyword": "#8f3f71",
|
|
86
|
+
"shiki-token-string": "#79740e",
|
|
87
|
+
"shiki-token-string-expression": "#79740e",
|
|
88
|
+
"shiki-token-constant": "#b57614",
|
|
89
|
+
"shiki-token-function": "#076678",
|
|
90
|
+
"shiki-token-parameter": "#9d0006",
|
|
91
|
+
"shiki-token-link": "#427b58"
|
|
92
|
+
},
|
|
93
|
+
darkTokens: {
|
|
94
|
+
"color-code-line-highlight": "color-mix(in srgb, #83a598 16%, transparent)",
|
|
95
|
+
"color-code-line-warning": "color-mix(in srgb, #fabd2f 18%, transparent)",
|
|
96
|
+
"color-code-line-warning-border": "#fabd2f",
|
|
97
|
+
"color-code-line-error": "color-mix(in srgb, #fb4934 20%, transparent)",
|
|
98
|
+
"color-code-line-error-border": "#fb4934",
|
|
99
|
+
"color-code-line-add": "color-mix(in srgb, #b8bb26 16%, transparent)",
|
|
100
|
+
"color-code-line-add-border": "#b8bb26",
|
|
101
|
+
"color-code-line-remove": "color-mix(in srgb, #fb4934 14%, transparent)",
|
|
102
|
+
"color-code-line-remove-border": "#fb4934",
|
|
103
|
+
"color-code-line-focus": "color-mix(in srgb, #fe8019 16%, transparent)",
|
|
104
|
+
"color-code-line-dim": "0.35",
|
|
105
|
+
"color-code-title-bg": "color-mix(in srgb, #1d2021 92%, #ebdbb2)",
|
|
106
|
+
"color-code-title-text": "color-mix(in srgb, #ebdbb2 88%, #1d2021)",
|
|
107
|
+
"color-code-title-border": "color-mix(in srgb, #ebdbb2 22%, transparent)",
|
|
108
|
+
"color-code-line-number": "color-mix(in srgb, #ebdbb2 48%, transparent)",
|
|
109
|
+
"color-code-frame-border": "color-mix(in srgb, #504945 92%, transparent)",
|
|
110
|
+
"color-backdrop": "rgba(14, 14, 14, 0.62)",
|
|
111
|
+
"surface-glass": "color-mix(in srgb, #32302f 62%, #282828)",
|
|
112
|
+
"surface-line": "color-mix(in srgb, #504945 72%, #282828)",
|
|
113
|
+
"brand-violet": "#d3869b",
|
|
114
|
+
"brand-cyan": "#8ec07c",
|
|
115
|
+
"brand-lime": "#b8bb26",
|
|
116
|
+
"brand-coral": "#fb4934",
|
|
117
|
+
"brand-navy": "color-mix(in srgb, #ebdbb2 70%, #282828)",
|
|
118
|
+
"brand-violet-rgb": "211, 134, 155",
|
|
119
|
+
"brand-cyan-rgb": "142, 192, 124",
|
|
120
|
+
"brand-lime-rgb": "184, 187, 38",
|
|
121
|
+
"brand-coral-rgb": "251, 73, 52",
|
|
122
|
+
"accent-a": "#fe8019",
|
|
123
|
+
"accent-b": "#d3869b",
|
|
124
|
+
"accent-c": "#8ec07c",
|
|
125
|
+
"accent-warm": "#fabd2f",
|
|
126
|
+
"accent-cool": "#83a598",
|
|
127
|
+
"accent-a-ink": "#fe8019",
|
|
128
|
+
"accent-b-ink": "#d3869b",
|
|
129
|
+
"accent-c-ink": "#8ec07c",
|
|
130
|
+
"accent-warm-ink": "#fabd2f",
|
|
131
|
+
"accent-cool-ink": "#83a598",
|
|
132
|
+
"accent-coral-ink": "#fb5844",
|
|
133
|
+
"shiki-foreground": "#ebdbb2",
|
|
134
|
+
"shiki-background": "#1d2021",
|
|
135
|
+
"shiki-token-comment": "color-mix(in srgb, #ebdbb2 55%, #1d2021)",
|
|
136
|
+
"shiki-token-punctuation": "color-mix(in srgb, #ebdbb2 72%, #1d2021)",
|
|
137
|
+
"shiki-token-keyword": "#d3869b",
|
|
138
|
+
"shiki-token-string": "#b8bb26",
|
|
139
|
+
"shiki-token-string-expression": "#b8bb26",
|
|
140
|
+
"shiki-token-constant": "#fabd2f",
|
|
141
|
+
"shiki-token-function": "#83a598",
|
|
142
|
+
"shiki-token-parameter": "#fb4934",
|
|
143
|
+
"shiki-token-link": "#8ec07c"
|
|
144
|
+
}
|
|
145
|
+
};
|
|
146
|
+
//#endregion
|
|
147
|
+
exports.default = gruvbox;
|
|
148
|
+
exports.gruvbox = gruvbox;
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ThemeConfig } from "@ox-content/vite-plugin";
|
|
2
|
+
//#region src/index.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* Gruvbox — Gruvbox light and dark, medium contrast.
|
|
5
|
+
*
|
|
6
|
+
* Color only: no layout, no texture, no typography. Compose it under any
|
|
7
|
+
* `@ox-content/theme-*` skin, or use it on its own over the default theme.
|
|
8
|
+
*
|
|
9
|
+
* Generated from `scripts/theme-colors/palettes.json`; edit that file and run
|
|
10
|
+
* `node scripts/theme-colors/generate.mjs` rather than editing this by hand.
|
|
11
|
+
*/
|
|
12
|
+
declare const gruvbox: ThemeConfig;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { gruvbox as default, gruvbox };
|
|
15
|
+
//# sourceMappingURL=index.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;;;;;;cAWa,SAAS"}
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ThemeConfig } from "@ox-content/vite-plugin";
|
|
2
|
+
//#region src/index.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* Gruvbox — Gruvbox light and dark, medium contrast.
|
|
5
|
+
*
|
|
6
|
+
* Color only: no layout, no texture, no typography. Compose it under any
|
|
7
|
+
* `@ox-content/theme-*` skin, or use it on its own over the default theme.
|
|
8
|
+
*
|
|
9
|
+
* Generated from `scripts/theme-colors/palettes.json`; edit that file and run
|
|
10
|
+
* `node scripts/theme-colors/generate.mjs` rather than editing this by hand.
|
|
11
|
+
*/
|
|
12
|
+
declare const gruvbox: ThemeConfig;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { gruvbox as default, gruvbox };
|
|
15
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;;;;;;cAWa,SAAS"}
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
//#region src/index.ts
|
|
2
|
+
/**
|
|
3
|
+
* Gruvbox — Gruvbox light and dark, medium contrast.
|
|
4
|
+
*
|
|
5
|
+
* Color only: no layout, no texture, no typography. Compose it under any
|
|
6
|
+
* `@ox-content/theme-*` skin, or use it on its own over the default theme.
|
|
7
|
+
*
|
|
8
|
+
* Generated from `scripts/theme-colors/palettes.json`; edit that file and run
|
|
9
|
+
* `node scripts/theme-colors/generate.mjs` rather than editing this by hand.
|
|
10
|
+
*/
|
|
11
|
+
const gruvbox = {
|
|
12
|
+
name: "gruvbox",
|
|
13
|
+
colors: {
|
|
14
|
+
primary: "#af3a03",
|
|
15
|
+
primaryHover: "#8f2f02",
|
|
16
|
+
background: "#fbf1c7",
|
|
17
|
+
backgroundAlt: "#f2e5bc",
|
|
18
|
+
text: "#3c3836",
|
|
19
|
+
textMuted: "#665c54",
|
|
20
|
+
border: "#d5c4a1",
|
|
21
|
+
codeBackground: "#f2e5bc",
|
|
22
|
+
codeBackgroundTop: "#f2e5bc",
|
|
23
|
+
codeText: "#3c3836"
|
|
24
|
+
},
|
|
25
|
+
darkColors: {
|
|
26
|
+
primary: "#fe8019",
|
|
27
|
+
primaryHover: "#fea86a",
|
|
28
|
+
background: "#282828",
|
|
29
|
+
backgroundAlt: "#32302f",
|
|
30
|
+
text: "#ebdbb2",
|
|
31
|
+
textMuted: "#a89984",
|
|
32
|
+
border: "#504945",
|
|
33
|
+
codeBackground: "#1d2021",
|
|
34
|
+
codeBackgroundTop: "#1d2021",
|
|
35
|
+
codeText: "#ebdbb2"
|
|
36
|
+
},
|
|
37
|
+
tokens: {
|
|
38
|
+
"color-code-line-highlight": "color-mix(in srgb, #076678 16%, transparent)",
|
|
39
|
+
"color-code-line-warning": "color-mix(in srgb, #b57614 18%, transparent)",
|
|
40
|
+
"color-code-line-warning-border": "#b57614",
|
|
41
|
+
"color-code-line-error": "color-mix(in srgb, #9d0006 20%, transparent)",
|
|
42
|
+
"color-code-line-error-border": "#9d0006",
|
|
43
|
+
"color-code-line-add": "color-mix(in srgb, #79740e 16%, transparent)",
|
|
44
|
+
"color-code-line-add-border": "#79740e",
|
|
45
|
+
"color-code-line-remove": "color-mix(in srgb, #9d0006 14%, transparent)",
|
|
46
|
+
"color-code-line-remove-border": "#9d0006",
|
|
47
|
+
"color-code-line-focus": "color-mix(in srgb, #af3a03 16%, transparent)",
|
|
48
|
+
"color-code-line-dim": "0.45",
|
|
49
|
+
"color-code-title-bg": "color-mix(in srgb, #f2e5bc 92%, #3c3836)",
|
|
50
|
+
"color-code-title-text": "color-mix(in srgb, #3c3836 88%, #f2e5bc)",
|
|
51
|
+
"color-code-title-border": "color-mix(in srgb, #3c3836 22%, transparent)",
|
|
52
|
+
"color-code-line-number": "color-mix(in srgb, #3c3836 48%, transparent)",
|
|
53
|
+
"color-code-frame-border": "color-mix(in srgb, #d5c4a1 92%, transparent)",
|
|
54
|
+
"color-backdrop": "rgba(88, 84, 70, 0.62)",
|
|
55
|
+
"surface-glass": "color-mix(in srgb, #f2e5bc 62%, #fbf1c7)",
|
|
56
|
+
"surface-line": "color-mix(in srgb, #d5c4a1 72%, #fbf1c7)",
|
|
57
|
+
"brand-violet": "#8f3f71",
|
|
58
|
+
"brand-cyan": "#427b58",
|
|
59
|
+
"brand-lime": "#79740e",
|
|
60
|
+
"brand-coral": "#9d0006",
|
|
61
|
+
"brand-navy": "color-mix(in srgb, #3c3836 70%, #fbf1c7)",
|
|
62
|
+
"brand-violet-rgb": "143, 63, 113",
|
|
63
|
+
"brand-cyan-rgb": "66, 123, 88",
|
|
64
|
+
"brand-lime-rgb": "121, 116, 14",
|
|
65
|
+
"brand-coral-rgb": "157, 0, 6",
|
|
66
|
+
"accent-a": "#af3a03",
|
|
67
|
+
"accent-b": "#8f3f71",
|
|
68
|
+
"accent-c": "#427b58",
|
|
69
|
+
"accent-warm": "#b57614",
|
|
70
|
+
"accent-cool": "#076678",
|
|
71
|
+
"accent-a-ink": "#af3a03",
|
|
72
|
+
"accent-b-ink": "#8f3f71",
|
|
73
|
+
"accent-c-ink": "#3f7654",
|
|
74
|
+
"accent-warm-ink": "#915e10",
|
|
75
|
+
"accent-cool-ink": "#076678",
|
|
76
|
+
"accent-coral-ink": "#9d0006",
|
|
77
|
+
"shiki-foreground": "#3c3836",
|
|
78
|
+
"shiki-background": "#f2e5bc",
|
|
79
|
+
"shiki-token-comment": "color-mix(in srgb, #3c3836 55%, #f2e5bc)",
|
|
80
|
+
"shiki-token-punctuation": "color-mix(in srgb, #3c3836 72%, #f2e5bc)",
|
|
81
|
+
"shiki-token-keyword": "#8f3f71",
|
|
82
|
+
"shiki-token-string": "#79740e",
|
|
83
|
+
"shiki-token-string-expression": "#79740e",
|
|
84
|
+
"shiki-token-constant": "#b57614",
|
|
85
|
+
"shiki-token-function": "#076678",
|
|
86
|
+
"shiki-token-parameter": "#9d0006",
|
|
87
|
+
"shiki-token-link": "#427b58"
|
|
88
|
+
},
|
|
89
|
+
darkTokens: {
|
|
90
|
+
"color-code-line-highlight": "color-mix(in srgb, #83a598 16%, transparent)",
|
|
91
|
+
"color-code-line-warning": "color-mix(in srgb, #fabd2f 18%, transparent)",
|
|
92
|
+
"color-code-line-warning-border": "#fabd2f",
|
|
93
|
+
"color-code-line-error": "color-mix(in srgb, #fb4934 20%, transparent)",
|
|
94
|
+
"color-code-line-error-border": "#fb4934",
|
|
95
|
+
"color-code-line-add": "color-mix(in srgb, #b8bb26 16%, transparent)",
|
|
96
|
+
"color-code-line-add-border": "#b8bb26",
|
|
97
|
+
"color-code-line-remove": "color-mix(in srgb, #fb4934 14%, transparent)",
|
|
98
|
+
"color-code-line-remove-border": "#fb4934",
|
|
99
|
+
"color-code-line-focus": "color-mix(in srgb, #fe8019 16%, transparent)",
|
|
100
|
+
"color-code-line-dim": "0.35",
|
|
101
|
+
"color-code-title-bg": "color-mix(in srgb, #1d2021 92%, #ebdbb2)",
|
|
102
|
+
"color-code-title-text": "color-mix(in srgb, #ebdbb2 88%, #1d2021)",
|
|
103
|
+
"color-code-title-border": "color-mix(in srgb, #ebdbb2 22%, transparent)",
|
|
104
|
+
"color-code-line-number": "color-mix(in srgb, #ebdbb2 48%, transparent)",
|
|
105
|
+
"color-code-frame-border": "color-mix(in srgb, #504945 92%, transparent)",
|
|
106
|
+
"color-backdrop": "rgba(14, 14, 14, 0.62)",
|
|
107
|
+
"surface-glass": "color-mix(in srgb, #32302f 62%, #282828)",
|
|
108
|
+
"surface-line": "color-mix(in srgb, #504945 72%, #282828)",
|
|
109
|
+
"brand-violet": "#d3869b",
|
|
110
|
+
"brand-cyan": "#8ec07c",
|
|
111
|
+
"brand-lime": "#b8bb26",
|
|
112
|
+
"brand-coral": "#fb4934",
|
|
113
|
+
"brand-navy": "color-mix(in srgb, #ebdbb2 70%, #282828)",
|
|
114
|
+
"brand-violet-rgb": "211, 134, 155",
|
|
115
|
+
"brand-cyan-rgb": "142, 192, 124",
|
|
116
|
+
"brand-lime-rgb": "184, 187, 38",
|
|
117
|
+
"brand-coral-rgb": "251, 73, 52",
|
|
118
|
+
"accent-a": "#fe8019",
|
|
119
|
+
"accent-b": "#d3869b",
|
|
120
|
+
"accent-c": "#8ec07c",
|
|
121
|
+
"accent-warm": "#fabd2f",
|
|
122
|
+
"accent-cool": "#83a598",
|
|
123
|
+
"accent-a-ink": "#fe8019",
|
|
124
|
+
"accent-b-ink": "#d3869b",
|
|
125
|
+
"accent-c-ink": "#8ec07c",
|
|
126
|
+
"accent-warm-ink": "#fabd2f",
|
|
127
|
+
"accent-cool-ink": "#83a598",
|
|
128
|
+
"accent-coral-ink": "#fb5844",
|
|
129
|
+
"shiki-foreground": "#ebdbb2",
|
|
130
|
+
"shiki-background": "#1d2021",
|
|
131
|
+
"shiki-token-comment": "color-mix(in srgb, #ebdbb2 55%, #1d2021)",
|
|
132
|
+
"shiki-token-punctuation": "color-mix(in srgb, #ebdbb2 72%, #1d2021)",
|
|
133
|
+
"shiki-token-keyword": "#d3869b",
|
|
134
|
+
"shiki-token-string": "#b8bb26",
|
|
135
|
+
"shiki-token-string-expression": "#b8bb26",
|
|
136
|
+
"shiki-token-constant": "#fabd2f",
|
|
137
|
+
"shiki-token-function": "#83a598",
|
|
138
|
+
"shiki-token-parameter": "#fb4934",
|
|
139
|
+
"shiki-token-link": "#8ec07c"
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
//#endregion
|
|
143
|
+
export { gruvbox as default, gruvbox };
|
|
144
|
+
|
|
145
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["import type { ThemeConfig } from \"@ox-content/vite-plugin\";\n\n/**\n * Gruvbox — Gruvbox light and dark, medium contrast.\n *\n * Color only: no layout, no texture, no typography. Compose it under any\n * `@ox-content/theme-*` skin, or use it on its own over the default theme.\n *\n * Generated from `scripts/theme-colors/palettes.json`; edit that file and run\n * `node scripts/theme-colors/generate.mjs` rather than editing this by hand.\n */\nexport const gruvbox: ThemeConfig = {\n name: \"gruvbox\",\n colors: {\n primary: \"#af3a03\",\n primaryHover: \"#8f2f02\",\n background: \"#fbf1c7\",\n backgroundAlt: \"#f2e5bc\",\n text: \"#3c3836\",\n textMuted: \"#665c54\",\n border: \"#d5c4a1\",\n codeBackground: \"#f2e5bc\",\n codeBackgroundTop: \"#f2e5bc\",\n codeText: \"#3c3836\",\n },\n darkColors: {\n primary: \"#fe8019\",\n primaryHover: \"#fea86a\",\n background: \"#282828\",\n backgroundAlt: \"#32302f\",\n text: \"#ebdbb2\",\n textMuted: \"#a89984\",\n border: \"#504945\",\n codeBackground: \"#1d2021\",\n codeBackgroundTop: \"#1d2021\",\n codeText: \"#ebdbb2\",\n },\n tokens: {\n \"color-code-line-highlight\": \"color-mix(in srgb, #076678 16%, transparent)\",\n \"color-code-line-warning\": \"color-mix(in srgb, #b57614 18%, transparent)\",\n \"color-code-line-warning-border\": \"#b57614\",\n \"color-code-line-error\": \"color-mix(in srgb, #9d0006 20%, transparent)\",\n \"color-code-line-error-border\": \"#9d0006\",\n \"color-code-line-add\": \"color-mix(in srgb, #79740e 16%, transparent)\",\n \"color-code-line-add-border\": \"#79740e\",\n \"color-code-line-remove\": \"color-mix(in srgb, #9d0006 14%, transparent)\",\n \"color-code-line-remove-border\": \"#9d0006\",\n \"color-code-line-focus\": \"color-mix(in srgb, #af3a03 16%, transparent)\",\n \"color-code-line-dim\": \"0.45\",\n \"color-code-title-bg\": \"color-mix(in srgb, #f2e5bc 92%, #3c3836)\",\n \"color-code-title-text\": \"color-mix(in srgb, #3c3836 88%, #f2e5bc)\",\n \"color-code-title-border\": \"color-mix(in srgb, #3c3836 22%, transparent)\",\n \"color-code-line-number\": \"color-mix(in srgb, #3c3836 48%, transparent)\",\n \"color-code-frame-border\": \"color-mix(in srgb, #d5c4a1 92%, transparent)\",\n \"color-backdrop\": \"rgba(88, 84, 70, 0.62)\",\n \"surface-glass\": \"color-mix(in srgb, #f2e5bc 62%, #fbf1c7)\",\n \"surface-line\": \"color-mix(in srgb, #d5c4a1 72%, #fbf1c7)\",\n \"brand-violet\": \"#8f3f71\",\n \"brand-cyan\": \"#427b58\",\n \"brand-lime\": \"#79740e\",\n \"brand-coral\": \"#9d0006\",\n \"brand-navy\": \"color-mix(in srgb, #3c3836 70%, #fbf1c7)\",\n \"brand-violet-rgb\": \"143, 63, 113\",\n \"brand-cyan-rgb\": \"66, 123, 88\",\n \"brand-lime-rgb\": \"121, 116, 14\",\n \"brand-coral-rgb\": \"157, 0, 6\",\n \"accent-a\": \"#af3a03\",\n \"accent-b\": \"#8f3f71\",\n \"accent-c\": \"#427b58\",\n \"accent-warm\": \"#b57614\",\n \"accent-cool\": \"#076678\",\n \"accent-a-ink\": \"#af3a03\",\n \"accent-b-ink\": \"#8f3f71\",\n \"accent-c-ink\": \"#3f7654\",\n \"accent-warm-ink\": \"#915e10\",\n \"accent-cool-ink\": \"#076678\",\n \"accent-coral-ink\": \"#9d0006\",\n \"shiki-foreground\": \"#3c3836\",\n \"shiki-background\": \"#f2e5bc\",\n \"shiki-token-comment\": \"color-mix(in srgb, #3c3836 55%, #f2e5bc)\",\n \"shiki-token-punctuation\": \"color-mix(in srgb, #3c3836 72%, #f2e5bc)\",\n \"shiki-token-keyword\": \"#8f3f71\",\n \"shiki-token-string\": \"#79740e\",\n \"shiki-token-string-expression\": \"#79740e\",\n \"shiki-token-constant\": \"#b57614\",\n \"shiki-token-function\": \"#076678\",\n \"shiki-token-parameter\": \"#9d0006\",\n \"shiki-token-link\": \"#427b58\",\n },\n darkTokens: {\n \"color-code-line-highlight\": \"color-mix(in srgb, #83a598 16%, transparent)\",\n \"color-code-line-warning\": \"color-mix(in srgb, #fabd2f 18%, transparent)\",\n \"color-code-line-warning-border\": \"#fabd2f\",\n \"color-code-line-error\": \"color-mix(in srgb, #fb4934 20%, transparent)\",\n \"color-code-line-error-border\": \"#fb4934\",\n \"color-code-line-add\": \"color-mix(in srgb, #b8bb26 16%, transparent)\",\n \"color-code-line-add-border\": \"#b8bb26\",\n \"color-code-line-remove\": \"color-mix(in srgb, #fb4934 14%, transparent)\",\n \"color-code-line-remove-border\": \"#fb4934\",\n \"color-code-line-focus\": \"color-mix(in srgb, #fe8019 16%, transparent)\",\n \"color-code-line-dim\": \"0.35\",\n \"color-code-title-bg\": \"color-mix(in srgb, #1d2021 92%, #ebdbb2)\",\n \"color-code-title-text\": \"color-mix(in srgb, #ebdbb2 88%, #1d2021)\",\n \"color-code-title-border\": \"color-mix(in srgb, #ebdbb2 22%, transparent)\",\n \"color-code-line-number\": \"color-mix(in srgb, #ebdbb2 48%, transparent)\",\n \"color-code-frame-border\": \"color-mix(in srgb, #504945 92%, transparent)\",\n \"color-backdrop\": \"rgba(14, 14, 14, 0.62)\",\n \"surface-glass\": \"color-mix(in srgb, #32302f 62%, #282828)\",\n \"surface-line\": \"color-mix(in srgb, #504945 72%, #282828)\",\n \"brand-violet\": \"#d3869b\",\n \"brand-cyan\": \"#8ec07c\",\n \"brand-lime\": \"#b8bb26\",\n \"brand-coral\": \"#fb4934\",\n \"brand-navy\": \"color-mix(in srgb, #ebdbb2 70%, #282828)\",\n \"brand-violet-rgb\": \"211, 134, 155\",\n \"brand-cyan-rgb\": \"142, 192, 124\",\n \"brand-lime-rgb\": \"184, 187, 38\",\n \"brand-coral-rgb\": \"251, 73, 52\",\n \"accent-a\": \"#fe8019\",\n \"accent-b\": \"#d3869b\",\n \"accent-c\": \"#8ec07c\",\n \"accent-warm\": \"#fabd2f\",\n \"accent-cool\": \"#83a598\",\n \"accent-a-ink\": \"#fe8019\",\n \"accent-b-ink\": \"#d3869b\",\n \"accent-c-ink\": \"#8ec07c\",\n \"accent-warm-ink\": \"#fabd2f\",\n \"accent-cool-ink\": \"#83a598\",\n \"accent-coral-ink\": \"#fb5844\",\n \"shiki-foreground\": \"#ebdbb2\",\n \"shiki-background\": \"#1d2021\",\n \"shiki-token-comment\": \"color-mix(in srgb, #ebdbb2 55%, #1d2021)\",\n \"shiki-token-punctuation\": \"color-mix(in srgb, #ebdbb2 72%, #1d2021)\",\n \"shiki-token-keyword\": \"#d3869b\",\n \"shiki-token-string\": \"#b8bb26\",\n \"shiki-token-string-expression\": \"#b8bb26\",\n \"shiki-token-constant\": \"#fabd2f\",\n \"shiki-token-function\": \"#83a598\",\n \"shiki-token-parameter\": \"#fb4934\",\n \"shiki-token-link\": \"#8ec07c\",\n },\n};\n\nexport default gruvbox;\n"],"mappings":";;;;;;;;;;AAWA,MAAa,UAAuB;CAClC,MAAM;CACN,QAAQ;EACN,SAAS;EACT,cAAc;EACd,YAAY;EACZ,eAAe;EACf,MAAM;EACN,WAAW;EACX,QAAQ;EACR,gBAAgB;EAChB,mBAAmB;EACnB,UAAU;CACZ;CACA,YAAY;EACV,SAAS;EACT,cAAc;EACd,YAAY;EACZ,eAAe;EACf,MAAM;EACN,WAAW;EACX,QAAQ;EACR,gBAAgB;EAChB,mBAAmB;EACnB,UAAU;CACZ;CACA,QAAQ;EACN,6BAA6B;EAC7B,2BAA2B;EAC3B,kCAAkC;EAClC,yBAAyB;EACzB,gCAAgC;EAChC,uBAAuB;EACvB,8BAA8B;EAC9B,0BAA0B;EAC1B,iCAAiC;EACjC,yBAAyB;EACzB,uBAAuB;EACvB,uBAAuB;EACvB,yBAAyB;EACzB,2BAA2B;EAC3B,0BAA0B;EAC1B,2BAA2B;EAC3B,kBAAkB;EAClB,iBAAiB;EACjB,gBAAgB;EAChB,gBAAgB;EAChB,cAAc;EACd,cAAc;EACd,eAAe;EACf,cAAc;EACd,oBAAoB;EACpB,kBAAkB;EAClB,kBAAkB;EAClB,mBAAmB;EACnB,YAAY;EACZ,YAAY;EACZ,YAAY;EACZ,eAAe;EACf,eAAe;EACf,gBAAgB;EAChB,gBAAgB;EAChB,gBAAgB;EAChB,mBAAmB;EACnB,mBAAmB;EACnB,oBAAoB;EACpB,oBAAoB;EACpB,oBAAoB;EACpB,uBAAuB;EACvB,2BAA2B;EAC3B,uBAAuB;EACvB,sBAAsB;EACtB,iCAAiC;EACjC,wBAAwB;EACxB,wBAAwB;EACxB,yBAAyB;EACzB,oBAAoB;CACtB;CACA,YAAY;EACV,6BAA6B;EAC7B,2BAA2B;EAC3B,kCAAkC;EAClC,yBAAyB;EACzB,gCAAgC;EAChC,uBAAuB;EACvB,8BAA8B;EAC9B,0BAA0B;EAC1B,iCAAiC;EACjC,yBAAyB;EACzB,uBAAuB;EACvB,uBAAuB;EACvB,yBAAyB;EACzB,2BAA2B;EAC3B,0BAA0B;EAC1B,2BAA2B;EAC3B,kBAAkB;EAClB,iBAAiB;EACjB,gBAAgB;EAChB,gBAAgB;EAChB,cAAc;EACd,cAAc;EACd,eAAe;EACf,cAAc;EACd,oBAAoB;EACpB,kBAAkB;EAClB,kBAAkB;EAClB,mBAAmB;EACnB,YAAY;EACZ,YAAY;EACZ,YAAY;EACZ,eAAe;EACf,eAAe;EACf,gBAAgB;EAChB,gBAAgB;EAChB,gBAAgB;EAChB,mBAAmB;EACnB,mBAAmB;EACnB,oBAAoB;EACpB,oBAAoB;EACpB,oBAAoB;EACpB,uBAAuB;EACvB,2BAA2B;EAC3B,uBAAuB;EACvB,sBAAsB;EACtB,iCAAiC;EACjC,wBAAwB;EACxB,wBAAwB;EACxB,yBAAyB;EACzB,oBAAoB;CACtB;AACF"}
|
package/package.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ox-content/theme-color-gruvbox",
|
|
3
|
+
"version": "2.84.0",
|
|
4
|
+
"description": "Gruvbox light and dark, medium contrast — an Ox Content color scheme that composes with any @ox-content/theme-* skin",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"color-scheme",
|
|
7
|
+
"documentation",
|
|
8
|
+
"gruvbox",
|
|
9
|
+
"markdown",
|
|
10
|
+
"ox-content",
|
|
11
|
+
"palette",
|
|
12
|
+
"ssg",
|
|
13
|
+
"theme"
|
|
14
|
+
],
|
|
15
|
+
"license": "MIT",
|
|
16
|
+
"author": "ubugeeei",
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "https://github.com/ubugeeei-prod/ox-content.git",
|
|
20
|
+
"directory": "npm/theme-color/gruvbox"
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"dist"
|
|
24
|
+
],
|
|
25
|
+
"type": "module",
|
|
26
|
+
"sideEffects": false,
|
|
27
|
+
"main": "./dist/index.cjs",
|
|
28
|
+
"types": "./dist/index.d.mts",
|
|
29
|
+
"exports": {
|
|
30
|
+
".": {
|
|
31
|
+
"import": "./dist/index.mjs",
|
|
32
|
+
"require": "./dist/index.cjs",
|
|
33
|
+
"types": "./dist/index.d.mts"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"publishConfig": {
|
|
37
|
+
"access": "public",
|
|
38
|
+
"provenance": true
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"@types/node": "^26.1.2",
|
|
42
|
+
"@typescript/native-preview": "^7.0.0-dev.20260707.2",
|
|
43
|
+
"typescript": "^7.0.2",
|
|
44
|
+
"vite-plus": "0.2.8",
|
|
45
|
+
"@ox-content/vite-plugin": "2.84.0"
|
|
46
|
+
},
|
|
47
|
+
"peerDependencies": {
|
|
48
|
+
"@ox-content/vite-plugin": ">=2.84.0"
|
|
49
|
+
},
|
|
50
|
+
"peerDependenciesMeta": {
|
|
51
|
+
"@ox-content/vite-plugin": {
|
|
52
|
+
"optional": true
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"scripts": {
|
|
56
|
+
"build": "vp pack",
|
|
57
|
+
"dev": "vp pack --watch",
|
|
58
|
+
"typecheck": "tsgo --noEmit"
|
|
59
|
+
}
|
|
60
|
+
}
|