Add dark mode override for non-native DevExpress themes
Implements a dark mode override system for DevExpress Blazor themes lacking native dark support. Adds a JS function to toggle a dx-dark class on <html>, updates ThemeState to detect native dark themes, and applies targeted CSS variable overrides for consistent dark styling. Disables prerendering to ensure JS interop, and improves theme switching logic and documentation.
This commit is contained in:
@@ -5,5 +5,11 @@
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
},
|
||||
"ApiBaseUrl": "https://localhost:7204/"
|
||||
"ApiBaseUrl": "https://localhost:7204/",
|
||||
"BrowserLink": {
|
||||
"Enabled": false
|
||||
},
|
||||
"DetailedErrors": true
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user