]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
refactor(ui-web): derive color-scheme from CSS instead of duplicated map
authorJérôme Benoit <jerome.benoit@sap.com>
Thu, 30 Apr 2026 13:59:03 +0000 (15:59 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Thu, 30 Apr 2026 13:59:03 +0000 (15:59 +0200)
commite56f5c504477eccd53a82c59aef762d34b6fd5f0
treeca982db615b2e95617cba0b2c5895e313d93ed67
parentec16ef6c7c226193ab9090a7cd6f5edd60dd88d1
refactor(ui-web): derive color-scheme from CSS instead of duplicated map

Read the color-scheme property from the resolved theme CSS rather than
maintaining a manual THEME_COLOR_SCHEME record. New themes only need to
declare color-scheme in their CSS file without updating TypeScript code.
ui/web/src/shared/composables/useTheme.ts