@ox-content/theme-color-high-contrast 3.0.0-alpha.1 → 3.0.0-alpha.11
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/dist/index.cjs +22 -22
- package/dist/index.mjs +22 -22
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -78,17 +78,17 @@ const highContrast = {
|
|
|
78
78
|
"accent-warm-ink": "#664d00",
|
|
79
79
|
"accent-cool-ink": "#0000cc",
|
|
80
80
|
"accent-coral-ink": "#b30000",
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
81
|
+
"syntax-foreground": "#ffffff",
|
|
82
|
+
"syntax-background": "#000000",
|
|
83
|
+
"syntax-token-comment": "color-mix(in srgb, #ffffff 55%, #000000)",
|
|
84
|
+
"syntax-token-punctuation": "color-mix(in srgb, #ffffff 72%, #000000)",
|
|
85
|
+
"syntax-token-keyword": "#ff9fff",
|
|
86
|
+
"syntax-token-string": "#5eff8f",
|
|
87
|
+
"syntax-token-string-expression": "#5eff8f",
|
|
88
|
+
"syntax-token-constant": "#ffe680",
|
|
89
|
+
"syntax-token-function": "#66d9ff",
|
|
90
|
+
"syntax-token-parameter": "#ff8080",
|
|
91
|
+
"syntax-token-link": "#80ffff"
|
|
92
92
|
},
|
|
93
93
|
darkTokens: {
|
|
94
94
|
"color-code-line-highlight": "color-mix(in srgb, #66d9ff 16%, transparent)",
|
|
@@ -130,17 +130,17 @@ const highContrast = {
|
|
|
130
130
|
"accent-warm-ink": "#ffe680",
|
|
131
131
|
"accent-cool-ink": "#66d9ff",
|
|
132
132
|
"accent-coral-ink": "#ff8080",
|
|
133
|
-
"
|
|
134
|
-
"
|
|
135
|
-
"
|
|
136
|
-
"
|
|
137
|
-
"
|
|
138
|
-
"
|
|
139
|
-
"
|
|
140
|
-
"
|
|
141
|
-
"
|
|
142
|
-
"
|
|
143
|
-
"
|
|
133
|
+
"syntax-foreground": "#ffffff",
|
|
134
|
+
"syntax-background": "#000000",
|
|
135
|
+
"syntax-token-comment": "color-mix(in srgb, #ffffff 55%, #000000)",
|
|
136
|
+
"syntax-token-punctuation": "color-mix(in srgb, #ffffff 72%, #000000)",
|
|
137
|
+
"syntax-token-keyword": "#ff9fff",
|
|
138
|
+
"syntax-token-string": "#5eff8f",
|
|
139
|
+
"syntax-token-string-expression": "#5eff8f",
|
|
140
|
+
"syntax-token-constant": "#ffe680",
|
|
141
|
+
"syntax-token-function": "#66d9ff",
|
|
142
|
+
"syntax-token-parameter": "#ff8080",
|
|
143
|
+
"syntax-token-link": "#80ffff"
|
|
144
144
|
}
|
|
145
145
|
};
|
|
146
146
|
//#endregion
|
package/dist/index.mjs
CHANGED
|
@@ -74,17 +74,17 @@ const highContrast = {
|
|
|
74
74
|
"accent-warm-ink": "#664d00",
|
|
75
75
|
"accent-cool-ink": "#0000cc",
|
|
76
76
|
"accent-coral-ink": "#b30000",
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
77
|
+
"syntax-foreground": "#ffffff",
|
|
78
|
+
"syntax-background": "#000000",
|
|
79
|
+
"syntax-token-comment": "color-mix(in srgb, #ffffff 55%, #000000)",
|
|
80
|
+
"syntax-token-punctuation": "color-mix(in srgb, #ffffff 72%, #000000)",
|
|
81
|
+
"syntax-token-keyword": "#ff9fff",
|
|
82
|
+
"syntax-token-string": "#5eff8f",
|
|
83
|
+
"syntax-token-string-expression": "#5eff8f",
|
|
84
|
+
"syntax-token-constant": "#ffe680",
|
|
85
|
+
"syntax-token-function": "#66d9ff",
|
|
86
|
+
"syntax-token-parameter": "#ff8080",
|
|
87
|
+
"syntax-token-link": "#80ffff"
|
|
88
88
|
},
|
|
89
89
|
darkTokens: {
|
|
90
90
|
"color-code-line-highlight": "color-mix(in srgb, #66d9ff 16%, transparent)",
|
|
@@ -126,17 +126,17 @@ const highContrast = {
|
|
|
126
126
|
"accent-warm-ink": "#ffe680",
|
|
127
127
|
"accent-cool-ink": "#66d9ff",
|
|
128
128
|
"accent-coral-ink": "#ff8080",
|
|
129
|
-
"
|
|
130
|
-
"
|
|
131
|
-
"
|
|
132
|
-
"
|
|
133
|
-
"
|
|
134
|
-
"
|
|
135
|
-
"
|
|
136
|
-
"
|
|
137
|
-
"
|
|
138
|
-
"
|
|
139
|
-
"
|
|
129
|
+
"syntax-foreground": "#ffffff",
|
|
130
|
+
"syntax-background": "#000000",
|
|
131
|
+
"syntax-token-comment": "color-mix(in srgb, #ffffff 55%, #000000)",
|
|
132
|
+
"syntax-token-punctuation": "color-mix(in srgb, #ffffff 72%, #000000)",
|
|
133
|
+
"syntax-token-keyword": "#ff9fff",
|
|
134
|
+
"syntax-token-string": "#5eff8f",
|
|
135
|
+
"syntax-token-string-expression": "#5eff8f",
|
|
136
|
+
"syntax-token-constant": "#ffe680",
|
|
137
|
+
"syntax-token-function": "#66d9ff",
|
|
138
|
+
"syntax-token-parameter": "#ff8080",
|
|
139
|
+
"syntax-token-link": "#80ffff"
|
|
140
140
|
}
|
|
141
141
|
};
|
|
142
142
|
//#endregion
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["import type { ThemeConfig } from \"@ox-content/vite-plugin\";\n\n/**\n * High Contrast — Maximum-contrast scheme aimed at WCAG AAA body text.\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 highContrast: ThemeConfig = {\n name: \"high-contrast\",\n colors: {\n primary: \"#0000cc\",\n primaryHover: \"#000099\",\n background: \"#ffffff\",\n backgroundAlt: \"#f0f0f0\",\n text: \"#000000\",\n textMuted: \"#3d3d3d\",\n border: \"#000000\",\n codeBackground: \"#000000\",\n codeBackgroundTop: \"#000000\",\n codeText: \"#ffffff\",\n },\n darkColors: {\n primary: \"#66d9ff\",\n primaryHover: \"#a6e9ff\",\n background: \"#000000\",\n backgroundAlt: \"#0f0f0f\",\n text: \"#ffffff\",\n textMuted: \"#c4c4c4\",\n border: \"#ffffff\",\n codeBackground: \"#000000\",\n codeBackgroundTop: \"#000000\",\n codeText: \"#ffffff\",\n },\n tokens: {\n \"color-code-line-highlight\": \"color-mix(in srgb, #0000cc 16%, transparent)\",\n \"color-code-line-warning\": \"color-mix(in srgb, #664d00 18%, transparent)\",\n \"color-code-line-warning-border\": \"#664d00\",\n \"color-code-line-error\": \"color-mix(in srgb, #b30000 20%, transparent)\",\n \"color-code-line-error-border\": \"#b30000\",\n \"color-code-line-add\": \"color-mix(in srgb, #005c1f 16%, transparent)\",\n \"color-code-line-add-border\": \"#005c1f\",\n \"color-code-line-remove\": \"color-mix(in srgb, #b30000 14%, transparent)\",\n \"color-code-line-remove-border\": \"#b30000\",\n \"color-code-line-focus\": \"color-mix(in srgb, #0000cc 16%, transparent)\",\n \"color-code-line-dim\": \"0.45\",\n \"color-code-title-bg\": \"color-mix(in srgb, #000000 92%, #ffffff)\",\n \"color-code-title-text\": \"color-mix(in srgb, #ffffff 88%, #000000)\",\n \"color-code-title-border\": \"color-mix(in srgb, #ffffff 22%, transparent)\",\n \"color-code-line-number\": \"color-mix(in srgb, #ffffff 48%, transparent)\",\n \"color-code-frame-border\": \"color-mix(in srgb, #000000 92%, transparent)\",\n \"color-backdrop\": \"rgba(89, 89, 89, 0.62)\",\n \"surface-glass\": \"color-mix(in srgb, #f0f0f0 62%, #ffffff)\",\n \"surface-line\": \"color-mix(in srgb, #000000 72%, #ffffff)\",\n \"brand-violet\": \"#7a007a\",\n \"brand-cyan\": \"#00565c\",\n \"brand-lime\": \"#005c1f\",\n \"brand-coral\": \"#b30000\",\n \"brand-navy\": \"color-mix(in srgb, #000000 70%, #ffffff)\",\n \"brand-violet-rgb\": \"122, 0, 122\",\n \"brand-cyan-rgb\": \"0, 86, 92\",\n \"brand-lime-rgb\": \"0, 92, 31\",\n \"brand-coral-rgb\": \"179, 0, 0\",\n \"accent-a\": \"#0000cc\",\n \"accent-b\": \"#7a007a\",\n \"accent-c\": \"#00565c\",\n \"accent-warm\": \"#664d00\",\n \"accent-cool\": \"#0000cc\",\n \"accent-a-ink\": \"#0000cc\",\n \"accent-b-ink\": \"#7a007a\",\n \"accent-c-ink\": \"#00565c\",\n \"accent-warm-ink\": \"#664d00\",\n \"accent-cool-ink\": \"#0000cc\",\n \"accent-coral-ink\": \"#b30000\",\n \"
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["import type { ThemeConfig } from \"@ox-content/vite-plugin\";\n\n/**\n * High Contrast — Maximum-contrast scheme aimed at WCAG AAA body text.\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 highContrast: ThemeConfig = {\n name: \"high-contrast\",\n colors: {\n primary: \"#0000cc\",\n primaryHover: \"#000099\",\n background: \"#ffffff\",\n backgroundAlt: \"#f0f0f0\",\n text: \"#000000\",\n textMuted: \"#3d3d3d\",\n border: \"#000000\",\n codeBackground: \"#000000\",\n codeBackgroundTop: \"#000000\",\n codeText: \"#ffffff\",\n },\n darkColors: {\n primary: \"#66d9ff\",\n primaryHover: \"#a6e9ff\",\n background: \"#000000\",\n backgroundAlt: \"#0f0f0f\",\n text: \"#ffffff\",\n textMuted: \"#c4c4c4\",\n border: \"#ffffff\",\n codeBackground: \"#000000\",\n codeBackgroundTop: \"#000000\",\n codeText: \"#ffffff\",\n },\n tokens: {\n \"color-code-line-highlight\": \"color-mix(in srgb, #0000cc 16%, transparent)\",\n \"color-code-line-warning\": \"color-mix(in srgb, #664d00 18%, transparent)\",\n \"color-code-line-warning-border\": \"#664d00\",\n \"color-code-line-error\": \"color-mix(in srgb, #b30000 20%, transparent)\",\n \"color-code-line-error-border\": \"#b30000\",\n \"color-code-line-add\": \"color-mix(in srgb, #005c1f 16%, transparent)\",\n \"color-code-line-add-border\": \"#005c1f\",\n \"color-code-line-remove\": \"color-mix(in srgb, #b30000 14%, transparent)\",\n \"color-code-line-remove-border\": \"#b30000\",\n \"color-code-line-focus\": \"color-mix(in srgb, #0000cc 16%, transparent)\",\n \"color-code-line-dim\": \"0.45\",\n \"color-code-title-bg\": \"color-mix(in srgb, #000000 92%, #ffffff)\",\n \"color-code-title-text\": \"color-mix(in srgb, #ffffff 88%, #000000)\",\n \"color-code-title-border\": \"color-mix(in srgb, #ffffff 22%, transparent)\",\n \"color-code-line-number\": \"color-mix(in srgb, #ffffff 48%, transparent)\",\n \"color-code-frame-border\": \"color-mix(in srgb, #000000 92%, transparent)\",\n \"color-backdrop\": \"rgba(89, 89, 89, 0.62)\",\n \"surface-glass\": \"color-mix(in srgb, #f0f0f0 62%, #ffffff)\",\n \"surface-line\": \"color-mix(in srgb, #000000 72%, #ffffff)\",\n \"brand-violet\": \"#7a007a\",\n \"brand-cyan\": \"#00565c\",\n \"brand-lime\": \"#005c1f\",\n \"brand-coral\": \"#b30000\",\n \"brand-navy\": \"color-mix(in srgb, #000000 70%, #ffffff)\",\n \"brand-violet-rgb\": \"122, 0, 122\",\n \"brand-cyan-rgb\": \"0, 86, 92\",\n \"brand-lime-rgb\": \"0, 92, 31\",\n \"brand-coral-rgb\": \"179, 0, 0\",\n \"accent-a\": \"#0000cc\",\n \"accent-b\": \"#7a007a\",\n \"accent-c\": \"#00565c\",\n \"accent-warm\": \"#664d00\",\n \"accent-cool\": \"#0000cc\",\n \"accent-a-ink\": \"#0000cc\",\n \"accent-b-ink\": \"#7a007a\",\n \"accent-c-ink\": \"#00565c\",\n \"accent-warm-ink\": \"#664d00\",\n \"accent-cool-ink\": \"#0000cc\",\n \"accent-coral-ink\": \"#b30000\",\n \"syntax-foreground\": \"#ffffff\",\n \"syntax-background\": \"#000000\",\n \"syntax-token-comment\": \"color-mix(in srgb, #ffffff 55%, #000000)\",\n \"syntax-token-punctuation\": \"color-mix(in srgb, #ffffff 72%, #000000)\",\n \"syntax-token-keyword\": \"#ff9fff\",\n \"syntax-token-string\": \"#5eff8f\",\n \"syntax-token-string-expression\": \"#5eff8f\",\n \"syntax-token-constant\": \"#ffe680\",\n \"syntax-token-function\": \"#66d9ff\",\n \"syntax-token-parameter\": \"#ff8080\",\n \"syntax-token-link\": \"#80ffff\",\n },\n darkTokens: {\n \"color-code-line-highlight\": \"color-mix(in srgb, #66d9ff 16%, transparent)\",\n \"color-code-line-warning\": \"color-mix(in srgb, #ffe680 18%, transparent)\",\n \"color-code-line-warning-border\": \"#ffe680\",\n \"color-code-line-error\": \"color-mix(in srgb, #ff8080 20%, transparent)\",\n \"color-code-line-error-border\": \"#ff8080\",\n \"color-code-line-add\": \"color-mix(in srgb, #5eff8f 16%, transparent)\",\n \"color-code-line-add-border\": \"#5eff8f\",\n \"color-code-line-remove\": \"color-mix(in srgb, #ff8080 14%, transparent)\",\n \"color-code-line-remove-border\": \"#ff8080\",\n \"color-code-line-focus\": \"color-mix(in srgb, #66d9ff 16%, transparent)\",\n \"color-code-line-dim\": \"0.35\",\n \"color-code-title-bg\": \"color-mix(in srgb, #000000 92%, #ffffff)\",\n \"color-code-title-text\": \"color-mix(in srgb, #ffffff 88%, #000000)\",\n \"color-code-title-border\": \"color-mix(in srgb, #ffffff 22%, transparent)\",\n \"color-code-line-number\": \"color-mix(in srgb, #ffffff 48%, transparent)\",\n \"color-code-frame-border\": \"color-mix(in srgb, #ffffff 92%, transparent)\",\n \"color-backdrop\": \"rgba(0, 0, 0, 0.62)\",\n \"surface-glass\": \"color-mix(in srgb, #0f0f0f 62%, #000000)\",\n \"surface-line\": \"color-mix(in srgb, #ffffff 72%, #000000)\",\n \"brand-violet\": \"#ff9fff\",\n \"brand-cyan\": \"#80ffff\",\n \"brand-lime\": \"#5eff8f\",\n \"brand-coral\": \"#ff8080\",\n \"brand-navy\": \"color-mix(in srgb, #ffffff 70%, #000000)\",\n \"brand-violet-rgb\": \"255, 159, 255\",\n \"brand-cyan-rgb\": \"128, 255, 255\",\n \"brand-lime-rgb\": \"94, 255, 143\",\n \"brand-coral-rgb\": \"255, 128, 128\",\n \"accent-a\": \"#66d9ff\",\n \"accent-b\": \"#ff9fff\",\n \"accent-c\": \"#80ffff\",\n \"accent-warm\": \"#ffe680\",\n \"accent-cool\": \"#66d9ff\",\n \"accent-a-ink\": \"#66d9ff\",\n \"accent-b-ink\": \"#ff9fff\",\n \"accent-c-ink\": \"#80ffff\",\n \"accent-warm-ink\": \"#ffe680\",\n \"accent-cool-ink\": \"#66d9ff\",\n \"accent-coral-ink\": \"#ff8080\",\n \"syntax-foreground\": \"#ffffff\",\n \"syntax-background\": \"#000000\",\n \"syntax-token-comment\": \"color-mix(in srgb, #ffffff 55%, #000000)\",\n \"syntax-token-punctuation\": \"color-mix(in srgb, #ffffff 72%, #000000)\",\n \"syntax-token-keyword\": \"#ff9fff\",\n \"syntax-token-string\": \"#5eff8f\",\n \"syntax-token-string-expression\": \"#5eff8f\",\n \"syntax-token-constant\": \"#ffe680\",\n \"syntax-token-function\": \"#66d9ff\",\n \"syntax-token-parameter\": \"#ff8080\",\n \"syntax-token-link\": \"#80ffff\",\n },\n};\n\nexport default highContrast;\n"],"mappings":";;;;;;;;;;AAWA,MAAa,eAA4B;CACvC,MAAM;CACN,QAAQ;EACN,SAAS;EACT,cAAc;EACd,YAAY;EACZ,eAAe;EACf,MAAM;EACN,WAAW;EACX,Q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AAc;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,qBAAqB;EACrB,qBAAqB;EACrB,wBAAwB;EACxB,4BAA4B;EAC5B,wBAAwB;EACxB,uBAAuB;EACvB,kCAAkC;EAClC,yBAAyB;EACzB,yBAAyB;EACzB,0BAA0B;EAC1B,qBAAqB;CACvB;AACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ox-content/theme-color-high-contrast",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.11",
|
|
4
4
|
"description": "Maximum-contrast scheme aimed at WCAG AAA body text — an Ox Content color scheme that composes with any @ox-content/theme-* skin",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"color-scheme",
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
"@typescript/native-preview": "^7.0.0-dev.20260707.2",
|
|
43
43
|
"typescript": "^7.0.2",
|
|
44
44
|
"vite-plus": "0.2.9",
|
|
45
|
-
"@ox-content/vite-plugin": "3.0.0-alpha.
|
|
45
|
+
"@ox-content/vite-plugin": "3.0.0-alpha.11"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@ox-content/vite-plugin": ">=
|
|
48
|
+
"@ox-content/vite-plugin": ">=3.0.0-alpha.1"
|
|
49
49
|
},
|
|
50
50
|
"peerDependenciesMeta": {
|
|
51
51
|
"@ox-content/vite-plugin": {
|