make old theme tab truly deprecated

This commit is contained in:
Henry Jameson 2024-11-20 17:03:09 +02:00
parent b32909a9e6
commit 10aa5755a4
3 changed files with 6 additions and 1 deletions

View file

@ -64,6 +64,9 @@ const SettingsModalContent = {
}, },
bodyLock () { bodyLock () {
return this.$store.state.interface.settingsModalState === 'visible' return this.$store.state.interface.settingsModalState === 'visible'
},
expertLevel () {
return this.$store.state.config.expertLevel
} }
}, },
methods: { methods: {

View file

@ -28,7 +28,8 @@
<StyleTab /> <StyleTab />
</div> </div>
<div <div
:label="$t('settings.theme')" v-if="expertLevel > 0"
:label="$t('settings.theme_old')"
icon="paint-brush" icon="paint-brush"
data-tab-name="theme" data-tab-name="theme"
> >

View file

@ -701,6 +701,7 @@
"use_websockets": "Use websockets (Realtime updates)", "use_websockets": "Use websockets (Realtime updates)",
"text": "Text", "text": "Text",
"theme": "Theme", "theme": "Theme",
"theme_old": "Theme (old)",
"theme_help": "Use hex color codes (#rrggbb) to customize your color theme.", "theme_help": "Use hex color codes (#rrggbb) to customize your color theme.",
"theme_help_v2_1": "You can also override certain component's colors and opacity by toggling the checkbox, use \"Clear all\" button to clear all overrides.", "theme_help_v2_1": "You can also override certain component's colors and opacity by toggling the checkbox, use \"Clear all\" button to clear all overrides.",
"theme_help_v2_2": "Icons underneath some entries are background/text contrast indicators, hover over for detailed info. Please keep in mind that when using transparency contrast indicators show the worst possible case.", "theme_help_v2_2": "Icons underneath some entries are background/text contrast indicators, hover over for detailed info. Please keep in mind that when using transparency contrast indicators show the worst possible case.",