Add support for customizable accent content color

This commit is contained in:
Jon Staab
2025-05-19 16:55:52 -07:00
parent b2dc41f25b
commit 573d4e3cfb
2 changed files with 8 additions and 4 deletions

View File

@@ -1,5 +1,9 @@
# Changelog # Changelog
# 1.0.5
* Add better theming support
# 1.0.4 # 1.0.4
* Fix thunk status click handler * Fix thunk status click handler

View File

@@ -29,16 +29,16 @@ export default {
dark: { dark: {
...themes["dark"], ...themes["dark"],
primary: process.env.VITE_PLATFORM_ACCENT, primary: process.env.VITE_PLATFORM_ACCENT,
"primary-content": "#EAE7FF", "primary-content": process.env.VITE_PLATFORM_ACCENT_CONTENT || "#EAE7FF",
secondary: process.env.VITE_PLATFORM_SECONDARY, secondary: process.env.VITE_PLATFORM_SECONDARY,
"secondary-content": "#EAE7FF", "secondary-content": process.env.VITE_PLATFORM_SECONDARY_CONTENT || "#EAE7FF",
}, },
light: { light: {
...themes["winter"], ...themes["winter"],
primary: process.env.VITE_PLATFORM_ACCENT, primary: process.env.VITE_PLATFORM_ACCENT,
"primary-content": "#EAE7FF", "primary-content": process.env.VITE_PLATFORM_ACCENT_CONTENT || "#EAE7FF",
secondary: process.env.VITE_PLATFORM_SECONDARY, secondary: process.env.VITE_PLATFORM_SECONDARY,
"secondary-content": "#EAE7FF", "secondary-content": process.env.VITE_PLATFORM_SECONDARY_CONTENT || "#EAE7FF",
}, },
}, },
], ],