mirror of
https://github.com/imputnet/cobalt.git
synced 2026-03-09 07:17:16 -05:00
[PR #783] [CLOSED] web/Sidebar: Optimize sidebar for light mode, add "Dark Sidebar" setting #1262
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/imputnet/cobalt/pull/783
Author: @alectrocute
Created: 9/27/2024
Status: ❌ Closed
Base:
main← Head:AA/sidebar-actual-light-mode📝 Commits (9)
e43c9f6ensure sidebar is actually light in light mode694aecfadd settings toggle for this featureee0c755use existing SettingsCategory, ensure setting shows up per device setting and not state6bd695cformattinga05e38fensure sidebar mobile gradient is correct, remove comments in favor of more descriptive class name5d75242remove description (not needed lol) and optimize naming convention for new setting281aa80Merge branch 'main' into AA/sidebar-actual-light-mode5d585d8fix rounded cornersde9dc31Merge branch 'AA/sidebar-actual-light-mode' of https://github.com/alectrocute/cobalt into AA/sidebar-actual-light-mode📊 Changes
8 files changed (+80 additions, -43 deletions)
View changed files
📝
web/i18n/en/settings.json(+1 -0)📝
web/src/components/icons/Cobalt.svelte(+2 -2)📝
web/src/components/sidebar/Sidebar.svelte(+10 -4)📝
web/src/components/sidebar/SidebarTab.svelte(+2 -2)📝
web/src/lib/settings/defaults.ts(+3 -2)📝
web/src/lib/types/settings.ts(+3 -2)📝
web/src/routes/+layout.svelte(+49 -31)📝
web/src/routes/settings/appearance/+page.svelte(+10 -0)📄 Description
In this PR:
CobaltLogo'sfillset tocurrentColorby default🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.