web/PageNavTab: add more colors

This commit is contained in:
wukko 2025-02-24 17:12:58 +06:00
parent b2df289894
commit 52528ddee8
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2
2 changed files with 4 additions and 1 deletions

View file

@ -6,7 +6,7 @@
export let path: string;
export let title: string;
export let icon: ConstructorOfATypedSvelteComponent;
export let iconColor: "gray" | "blue" | "green" = "gray";
export let iconColor: "gray" | "blue" | "green" | "magenta" | "purple" | "orange" = "gray";
$: isActive = $page.url.pathname === path;
</script>

View file

@ -113,6 +113,9 @@
--dark-red: #d61c2e;
--green: #30bd1b;
--blue: #2f8af9;
--magenta: #eb445a;
--purple: #5857d4;
--orange: #f19a38;
--focus-ring: 0 0 0 2px var(--blue) inset;