mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Preferences: Add theme preference to match system theme (#61986)
* user essentials mob! 🔱 lastFile:pkg/api/preferences.go * user essentials mob! 🔱 * user essentials mob! 🔱 lastFile:packages/grafana-data/src/types/config.ts * user essentials mob! 🔱 lastFile:public/app/core/services/echo/utils.test.ts * user essentials mob! 🔱 * user essentials mob! 🔱 lastFile:public/views/index-template.html * user essentials mob! 🔱 * Restore currentUser.lightTheme for backwards compat * fix types * Apply suggestions from code review Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com> * cleanup * cleanup --------- Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com> Co-authored-by: Joao Silva <joao.silva@grafana.com> Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
This commit is contained in:
co-authored by
Christopher Moyer
Ashley Harrison
Joao Silva
parent
be7b90bbd1
commit
d51e7ec7ef
@@ -489,7 +489,8 @@
|
||||
"theme": {
|
||||
"dark-label": "Dunkel",
|
||||
"default-label": "Standard",
|
||||
"light-label": "Hell"
|
||||
"light-label": "Hell",
|
||||
"system-label": ""
|
||||
},
|
||||
"title": "Einstellungen"
|
||||
},
|
||||
|
||||
@@ -489,7 +489,8 @@
|
||||
"theme": {
|
||||
"dark-label": "Dark",
|
||||
"default-label": "Default",
|
||||
"light-label": "Light"
|
||||
"light-label": "Light",
|
||||
"system-label": "System"
|
||||
},
|
||||
"title": "Preferences"
|
||||
},
|
||||
|
||||
@@ -489,7 +489,8 @@
|
||||
"theme": {
|
||||
"dark-label": "Oscuro",
|
||||
"default-label": "Por defecto",
|
||||
"light-label": "Claro"
|
||||
"light-label": "Claro",
|
||||
"system-label": ""
|
||||
},
|
||||
"title": "Preferencias"
|
||||
},
|
||||
|
||||
@@ -489,7 +489,8 @@
|
||||
"theme": {
|
||||
"dark-label": "Sombre",
|
||||
"default-label": "Par défaut",
|
||||
"light-label": "Clair"
|
||||
"light-label": "Clair",
|
||||
"system-label": ""
|
||||
},
|
||||
"title": "Préférences"
|
||||
},
|
||||
|
||||
@@ -489,7 +489,8 @@
|
||||
"theme": {
|
||||
"dark-label": "Đäřĸ",
|
||||
"default-label": "Đęƒäūľŧ",
|
||||
"light-label": "Ŀįģĥŧ"
|
||||
"light-label": "Ŀįģĥŧ",
|
||||
"system-label": "Ŝyşŧęm"
|
||||
},
|
||||
"title": "Přęƒęřęʼnčęş"
|
||||
},
|
||||
@@ -576,4 +577,4 @@
|
||||
"option-tooltip": "Cľęäř şęľęčŧįőʼnş"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -489,7 +489,8 @@
|
||||
"theme": {
|
||||
"dark-label": "深色",
|
||||
"default-label": "默认",
|
||||
"light-label": "浅色"
|
||||
"light-label": "浅色",
|
||||
"system-label": ""
|
||||
},
|
||||
"title": "首选项"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user