feat: implement dark/light theme switching

- Add ui-settings resolution for v3.16.9
- Add CSS variables for dark/light themes in GlobalStyle
- Set default data-theme attribute on html element
- Simplify theme creation in Root.tsx
- Disable webpack error overlay for cleaner dev experience
This commit is contained in:
2026-01-07 19:22:38 +03:00
parent fe0e014c4e
commit 67d71e128d
6 changed files with 39 additions and 26 deletions
+3
View File
@@ -11,6 +11,9 @@ module.exports = merge(
baseConfig(__dirname, 'development'),
{
devServer: {
client: {
overlay: false // Disable error overlay
},
headers: {
'Content-Security-Policy': "frame-ancestors 'none'",
'X-Frame-Options': 'DENY'