mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-25 09:43:49 +02:00
refactor: change theme handling to support element-ui scss variables
This commit is contained in:
39
src/shared/constants/themes.js
Normal file
39
src/shared/constants/themes.js
Normal file
@@ -0,0 +1,39 @@
|
||||
export const THEME_CONFIG = {
|
||||
system: {
|
||||
cssFile: '',
|
||||
requiresDarkBase: false,
|
||||
isDark: 'system',
|
||||
name: 'System'
|
||||
},
|
||||
light: {
|
||||
cssFile: '',
|
||||
requiresDarkBase: false,
|
||||
isDark: false,
|
||||
name: 'Light'
|
||||
},
|
||||
dark: { cssFile: '', requiresDarkBase: true, isDark: true, name: 'Dark' },
|
||||
darkvanillaold: {
|
||||
cssFile: 'theme.darkvanillaold.css',
|
||||
requiresDarkBase: true,
|
||||
isDark: true,
|
||||
name: 'Dark Vanilla Old'
|
||||
},
|
||||
darkvanilla: {
|
||||
cssFile: 'theme.darkvanilla.css',
|
||||
requiresDarkBase: true,
|
||||
isDark: true,
|
||||
name: 'Dark Vanilla'
|
||||
},
|
||||
pink: {
|
||||
cssFile: 'theme.pink.css',
|
||||
requiresDarkBase: true,
|
||||
isDark: true,
|
||||
name: 'Pink'
|
||||
},
|
||||
material3: {
|
||||
cssFile: 'theme.material3.css',
|
||||
requiresDarkBase: true,
|
||||
isDark: true,
|
||||
name: 'Material 3'
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user