Increase contrasts

This commit is contained in:
SonMooSans
2023-09-24 20:06:20 +08:00
parent ae47827bc5
commit 8b8cbb3a7e
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ export default function Layout({
nav={{ enabled: false }}
sidebar={{
banner: (
<div className="relative flex flex-row gap-2 items-center p-2 rounded-lg border bg-card text-card-foreground transition-colors hover:bg-muted/50">
<div className="relative flex flex-row gap-2 items-center p-2 rounded-lg border bg-card text-card-foreground transition-colors hover:bg-muted/80">
<p className="absolute right-2 top-2 text-muted-foreground text-xs">
{version}
</p>
+1 -1
View File
@@ -48,7 +48,7 @@ export default function Showcase() {
href="https://github.com/fuma-nama/next-docs/discussions/30"
target="_blank"
rel="noreferrer noopener"
className="p-8 flex flex-col items-center text-center justify-center border rounded-lg bg-card text-muted-foreground transition-colors hover:bg-muted/50 hover:text-accent-foreground"
className="p-8 flex flex-col items-center text-center justify-center border rounded-lg bg-card text-muted-foreground transition-colors hover:bg-muted/80 hover:text-accent-foreground"
>
<PlusIcon className="w-7 h-7 mb-2" />
<p className="text-sm">Add Your Own</p>
@@ -23,7 +23,7 @@ export function Card({
return (
<SafeLink
href={href}
className="nd-text-sm nd-rounded-lg nd-p-4 nd-border nd-bg-card nd-text-card-foreground nd-transition-colors hover:nd-bg-muted/50"
className="nd-text-sm nd-rounded-lg nd-p-4 nd-border nd-bg-card nd-text-card-foreground nd-transition-colors hover:nd-bg-muted/80"
>
{icon && (
<div className="nd-w-fit nd-border nd-p-1 nd-rounded-md nd-bg-background nd-mb-3">