Add new built-in themes and update theme selection UI
Introduces seven new built-in themes (cyberpunk, midnight-rose, arctic-ice, cherry-blossom, cosmic-purple, emerald-dream, mocha-coffee, lavender-fields) with corresponding JSON files, updates the FEATURES documentation, and enhances the settings UI to display and select these themes. Also updates theme loading logic in theme-manager.js and improves the theme selector layout for better usability.
This commit is contained in:
+14
-1
@@ -39,7 +39,20 @@ class ThemeManager {
|
||||
|
||||
loadDefaultThemes() {
|
||||
const defaultThemes = {};
|
||||
const defaultFiles = ['default.json', 'ocean.json', 'forest.json', 'sunset.json'];
|
||||
const defaultFiles = [
|
||||
'default.json',
|
||||
'ocean.json',
|
||||
'forest.json',
|
||||
'sunset.json',
|
||||
'cyberpunk.json',
|
||||
'midnight-rose.json',
|
||||
'arctic-ice.json',
|
||||
'cherry-blossom.json',
|
||||
'cosmic-purple.json',
|
||||
'emerald-dream.json',
|
||||
'mocha-coffee.json',
|
||||
'lavender-fields.json'
|
||||
];
|
||||
|
||||
defaultFiles.forEach(file => {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user