Add dark/light mode toggle. Add chart toggle

Change dark/light mode detection
Add saving uiShowCharts to local storage
Add saving uiTheme to local storage
Add ui buttons
This commit is contained in:
Sergei Birukov
2024-03-17 11:26:38 +03:00
parent 4d5a5c9e0d
commit f3a8ff6490
5 changed files with 355 additions and 252 deletions

View File

@@ -28,6 +28,8 @@ const messages = { // eslint-disable-line no-unused-vars
downloadConfig: 'Download Configuration',
madeBy: 'Made by',
donate: 'Donate',
toggleCharts: 'Show/hide Charts',
theme: { dark: 'Dark theme', light: 'Light theme', auto: 'Auto theme' }
},
ua: {
name: 'Ім`я',