mirror of
https://github.com/imputnet/cobalt.git
synced 2025-07-18 11:18:28 +00:00
remove description (not needed lol) and optimize naming convention for new setting
This commit is contained in:
parent
a05e38f166
commit
5d7524220d
@ -16,10 +16,7 @@
|
|||||||
"theme.light": "light",
|
"theme.light": "light",
|
||||||
"theme.dark": "dark",
|
"theme.dark": "dark",
|
||||||
"theme.description": "auto theme switches between light and dark themes depending on your device's display mode.",
|
"theme.description": "auto theme switches between light and dark themes depending on your device's display mode.",
|
||||||
|
"theme.darksidebar": "dark sidebar",
|
||||||
"sidebar": "sidebar",
|
|
||||||
"sidebar.dark.title": "dark sidebar",
|
|
||||||
"sidebar.dark.description": "by default, the sidebar will be dark in light theme. if you'd prefer it to match the light theme, enable this option.",
|
|
||||||
|
|
||||||
"video.quality": "video quality",
|
"video.quality": "video quality",
|
||||||
"video.quality.max": "8k+",
|
"video.quality.max": "8k+",
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
<nav
|
<nav
|
||||||
id="sidebar"
|
id="sidebar"
|
||||||
aria-label={$t("a11y.tabs.tab_panel")}
|
aria-label={$t("a11y.tabs.tab_panel")}
|
||||||
class:always-dark={$settings.appearance.darkSidebar}
|
class:dark={$settings.appearance.darkSidebar}
|
||||||
>
|
>
|
||||||
<CobaltLogo />
|
<CobaltLogo />
|
||||||
<div id="sidebar-tabs" role="tablist">
|
<div id="sidebar-tabs" role="tablist">
|
||||||
|
@ -225,7 +225,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
:global([data-theme="dark"]),
|
:global([data-theme="dark"]),
|
||||||
:global(#sidebar.always-dark) {
|
:global(#sidebar.dark) {
|
||||||
--sidebar-bg: #101010;
|
--sidebar-bg: #101010;
|
||||||
--sidebar-text: #f4f4f4;
|
--sidebar-text: #f4f4f4;
|
||||||
--sidebar-highlight: #f4f4f4;
|
--sidebar-highlight: #f4f4f4;
|
||||||
|
@ -29,8 +29,7 @@
|
|||||||
<SettingsToggle
|
<SettingsToggle
|
||||||
settingContext="appearance"
|
settingContext="appearance"
|
||||||
settingId="darkSidebar"
|
settingId="darkSidebar"
|
||||||
title={$t("settings.sidebar.dark.title")}
|
title={$t("settings.theme.darksidebar")}
|
||||||
description={$t("settings.sidebar.dark.description")}
|
|
||||||
/>
|
/>
|
||||||
{/if}
|
{/if}
|
||||||
</SettingsCategory>
|
</SettingsCategory>
|
||||||
|
Loading…
Reference in New Issue
Block a user