@eluan/theme-generator 0.3.0 → 0.3.1
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.
|
@@ -10,6 +10,9 @@ export function buildSemanticMap() {
|
|
|
10
10
|
'container-fg': { light: 'neutral.950', dark: 'neutral.50', role: 'fg', contrastAgainst: 'container-bg', minContrast: 4.5 },
|
|
11
11
|
'container-fg-alt': { light: 'neutral.800', dark: 'neutral.100', role: 'fg', contrastAgainst: 'container-bg', minContrast: 4.5 },
|
|
12
12
|
'container-fg-inverse': { light: 'neutral.50', dark: 'neutral.950', role: 'fg', contrastAgainst: 'container-bg-inverse', minContrast: 4.5 },
|
|
13
|
+
// Tooltip surface — matches container-bg in light and container-border in
|
|
14
|
+
// dark, so the tooltip's border disappears against its own background.
|
|
15
|
+
'tooltip-bg': { light: 'neutral.50', dark: 'neutral.700', role: 'bg' },
|
|
13
16
|
// ── Interactive ────────────────────────────────────────────
|
|
14
17
|
'interactive-bg': { light: 'neutral.50', dark: 'neutral.800', role: 'bg' },
|
|
15
18
|
'interactive-bg-alt': { light: 'neutral.100', dark: 'neutral.900', role: 'bg' },
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eluan/theme-generator",
|
|
3
3
|
"description": "CLI and browser-safe library that generates accessible, light + dark mode Eluan theme token sets from accent colors",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Frolda",
|
|
7
7
|
"homepage": "https://github.com/vasfio/eluan#readme",
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@types/prompts": "^2.4.9",
|
|
56
|
-
"esbuild": "^0.
|
|
56
|
+
"esbuild": "^0.28.1",
|
|
57
57
|
"typescript": "^5.4.5",
|
|
58
|
-
"vitest": "^2.
|
|
58
|
+
"vitest": "^3.2.6"
|
|
59
59
|
},
|
|
60
60
|
"scripts": {
|
|
61
61
|
"build": "rm -rf dist && tsc -p tsconfig.build.json",
|