mirror of
https://github.com/zadam/trilium.git
synced 2025-11-15 17:55:52 +01:00
Merge pull request #800 from TriliumNext/feat/themes/color-scheme-preference
Color scheme selection
This commit is contained in:
@@ -69,8 +69,11 @@ export default class ThemeOptions extends OptionsWidget {
|
||||
async optionsLoaded(options) {
|
||||
const themes = [
|
||||
{ val: 'next', title: t("theme.triliumnext") },
|
||||
{ val: 'next-light', title: t("theme.triliumnext-light") },
|
||||
{ val: 'next-dark', title: t("theme.triliumnext-dark") },
|
||||
{ val: 'auto', title: t('theme.auto_theme') },
|
||||
{ val: 'light', title: t('theme.light_theme') },
|
||||
{ val: 'dark', title: t('theme.dark_theme') }
|
||||
{ val: 'dark', title: t('theme.dark_theme') }
|
||||
].concat(await server.get('options/user-themes'));
|
||||
|
||||
this.$themeSelect.empty();
|
||||
|
||||
Reference in New Issue
Block a user