mirror of
https://github.com/imputnet/cobalt.git
synced 2025-07-18 03:08:30 +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.dark": "dark",
|
||||
"theme.description": "auto theme switches between light and dark themes depending on your device's display mode.",
|
||||
|
||||
"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.",
|
||||
"theme.darksidebar": "dark sidebar",
|
||||
|
||||
"video.quality": "video quality",
|
||||
"video.quality.max": "8k+",
|
||||
|
@ -29,7 +29,7 @@
|
||||
<nav
|
||||
id="sidebar"
|
||||
aria-label={$t("a11y.tabs.tab_panel")}
|
||||
class:always-dark={$settings.appearance.darkSidebar}
|
||||
class:dark={$settings.appearance.darkSidebar}
|
||||
>
|
||||
<CobaltLogo />
|
||||
<div id="sidebar-tabs" role="tablist">
|
||||
|
@ -225,7 +225,7 @@
|
||||
}
|
||||
|
||||
:global([data-theme="dark"]),
|
||||
:global(#sidebar.always-dark) {
|
||||
:global(#sidebar.dark) {
|
||||
--sidebar-bg: #101010;
|
||||
--sidebar-text: #f4f4f4;
|
||||
--sidebar-highlight: #f4f4f4;
|
||||
|
@ -29,8 +29,7 @@
|
||||
<SettingsToggle
|
||||
settingContext="appearance"
|
||||
settingId="darkSidebar"
|
||||
title={$t("settings.sidebar.dark.title")}
|
||||
description={$t("settings.sidebar.dark.description")}
|
||||
title={$t("settings.theme.darksidebar")}
|
||||
/>
|
||||
{/if}
|
||||
</SettingsCategory>
|
||||
|
Loading…
Reference in New Issue
Block a user