hotfix: fix major style issues

This commit is contained in:
Xyphyn committed 2023-08-09 13:41:32 -07:00
1 parent 6868129503
commit 59e60fe4cf
4 files changed
+14 -22

No files matched your search

+2 -1
View File
@@ -14,7 +14,8 @@
const buttonColor = {
primary: `border border-slate-900 bg-slate-900 dark:bg-zinc-100
dark:border-zinc-100 dark:text-black hover:text-inherit text-slate-100 hover:bg-transparent
dark:border-zinc-100 dark:text-black hover:text-inherit hover:dark:text-inherit text-slate-100
hover:bg-transparent hover:dark:bg-transparent
active:bg-black/10 active:dark:bg-white/10`,
secondary:
+9 -12
View File
@@ -17,8 +17,6 @@
import { theme } from '$lib/ui/colors.js'
import {
ArrowLeftOnRectangle,
ArrowRightOnRectangle,
Beaker,
Bookmark,
Cog6Tooth,
CommandLine,
@@ -95,8 +93,8 @@
href="/admin"
aria-label="Admin"
class="max-md:w-9 max-md:h-8 max-md:!p-0
dark:text-zinc-300 text-slate-700 hover:text-inherit
hover:bg-slate-200 hover:dark:bg-zinc-900 relative"
dark:text-zinc-300 text-slate-700 hover:text-inherit hover:dark:text-inherit
hover:bg-slate-200 relative"
>
<Icon src={CommandLine} mini size="16" slot="icon" />
<span class="hidden md:inline">Admin</span>
@@ -106,9 +104,8 @@
<Button
href="/moderation"
aria-label="Moderation"
class="max-md:w-9 max-md:h-8 max-md:!p-0 items-center justify-center
dark:text-zinc-300 text-slate-700 hover:text-inherit
hover:bg-slate-200 hover:dark:bg-zinc-900 relative"
class="max-md:w-9 h-8 max-md:!p-0 dark:text-zinc-300 text-slate-700
hover:text-inherit hover:bg-slate-200 hover:dark:text-inherit relative"
>
{#if $profile?.user?.reports ?? 0 > 0}
<div
@@ -122,8 +119,8 @@
<Button
href="/search"
aria-label="Search"
class="max-md:w-9 max-md:h-8 max-md:!p-0 items-center justify-center
dark:text-zinc-300 text-slate-700 hover:text-inherit hover:bg-slate-200 hover:dark:bg-zinc-900"
class="max-md:w-9 max-md:h-8 max-md:!p-0
dark:text-zinc-300 text-slate-700 hover:text-inherit hover:dark:text-inherit hover:bg-slate-200"
>
<Icon mini src={MagnifyingGlass} width={16} slot="icon" />
<span class="hidden md:inline">Search</span>
@@ -131,8 +128,8 @@
<Button
href="/communities"
aria-label="Communities"
class="max-md:w-9 max-md:h-8 max-md:!p-0 items-center justify-center
dark:text-zinc-300 text-slate-700 hover:text-inherit hover:bg-slate-200 hover:dark:bg-zinc-900"
class="max-md:w-9 max-md:h-8 max-md:!p-0
dark:text-zinc-300 text-slate-700 hover:text-inherit hover:dark:text-inherit hover:bg-slate-200"
>
<Icon mini src={GlobeAlt} size="16" slot="icon" />
<span class="hidden md:inline">Explore</span>
@@ -167,7 +164,7 @@
<Menu
let:toggleOpen
alignment="bottom-right"
itemsClass="!h-8"
itemsClass="h-8 md:h-9"
containerClass="!max-h-[28rem]"
>
<button
+2 -8
View File
@@ -3,16 +3,10 @@
@tailwind utilities;
body {
@apply bg-slate-50 dark:bg-zinc-950 text-slate-900
dark:text-zinc-100 !important;
@apply bg-slate-50 text-slate-900 dark:bg-zinc-950 dark:text-zinc-100 accent-slate-950 dark:accent-zinc-50;
}
html {
accent-color: #000;
}
.dark {
accent-color: #fff;
.dark > body {
color-scheme: dark;
}