Add element theme

This commit is contained in:
Bruno Windels 2020-06-29 15:30:06 +02:00
parent bb9ae7b55b
commit baebab7b16
6 changed files with 479 additions and 0 deletions

View file

@ -300,6 +300,7 @@
"%(senderName)s updated a ban rule that was matching %(oldGlob)s to matching %(newGlob)s for %(reason)s": "%(senderName)s updated a ban rule that was matching %(oldGlob)s to matching %(newGlob)s for %(reason)s",
"Light": "Light",
"Dark": "Dark",
"Element Light": "Element Light",
"You signed in to a new session without verifying it:": "You signed in to a new session without verifying it:",
"Verify your other session using one of the options below.": "Verify your other session using one of the options below.",
"%(name)s (%(userId)s) signed in to a new session without verifying it:": "%(name)s (%(userId)s) signed in to a new session without verifying it:",

View file

@ -26,6 +26,7 @@ export function enumerateThemes() {
const BUILTIN_THEMES = {
"light": _t("Light"),
"dark": _t("Dark"),
"element": _t("Element Light"),
};
const customThemes = SettingsStore.getValue("custom_themes");
const customThemeNames = {};