aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-02-09 07:38:06 -0800
committerFuwn <[email protected]>2024-02-09 07:38:06 -0800
commitcc2701689dd24b6a167a67435ea56e285251baa9 (patch)
treed88a05032107e4063b02ac887a8f9b73f197e73a /src
parentfeat(lazy): lazy visibility component (diff)
downloaddue.moe-cc2701689dd24b6a167a67435ea56e285251baa9.tar.xz
due.moe-cc2701689dd24b6a167a67435ea56e285251baa9.zip
feat(layout): use header-item colour for dropdown
Diffstat (limited to 'src')
-rw-r--r--src/routes/+layout.svelte11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index bb612257..9923e78e 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -115,8 +115,10 @@
{ name: $locale().tools.tool.characterBirthdays.short, url: root('/birthdays') },
{ name: $locale().navigation.newReleases, url: root('/updates') }
]}
- title={$locale().navigation.schedule}
- />
+ header={false}
+ >
+ <span slot="title" class="header-item">{$locale().navigation.schedule}</span>
+ </Dropdown>
<a href={root('/tools')} class="header-item">{$locale().navigation.tools}</a>
<a href={root('/settings')} class="header-item">{$locale().navigation.settings}</a>
@@ -194,10 +196,6 @@
z-index: 4;
}
- #header a {
- color: var(--base06);
- }
-
:global(html.light-theme) {
filter: invert(0);
}
@@ -223,6 +221,7 @@
.header-item {
margin: 0 0.5rem;
+ color: var(--base06);
}
.header-item:hover {