Skip to content

Commit b26195f

Browse files
committed
Clean up all mentions of gray from Search styles
1 parent 434bef8 commit b26195f

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

src/app/not-found.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default function NotFoundPage() {
4242
<Button variant="primary" href={url}>
4343
Submit an issue about broken link
4444
</Button>
45-
<Button variant="secondary" href="/">
45+
<Button variant="tertiary" href="/">
4646
Go back home
4747
</Button>
4848
</div>

src/components/search.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,7 @@ export function Search({
140140
className={clsx(
141141
"not-prose", // for blog
142142
"relative flex items-center",
143-
"text-gray-900 dark:text-gray-300",
144-
"contrast-more:text-gray-800 contrast-more:dark:text-gray-300",
143+
"text-neu-900",
145144
className,
146145
)}
147146
>
@@ -155,8 +154,8 @@ export function Search({
155154
"text-base leading-tight md:text-sm",
156155
focus
157156
? "bg-transparent focus-visible:gql-focus-outline focus-visible:outline-offset-1"
158-
: "bg-black/[.05] dark:bg-gray-50/10",
159-
"placeholder:text-gray-500 dark:placeholder:text-gray-400",
157+
: "bg-black/[.05] dark:bg-neu-100/10",
158+
"placeholder:text-neu-500",
160159
"contrast-more:border contrast-more:border-current",
161160
"[&::-webkit-search-cancel-button]:_appearance-none",
162161
)
@@ -179,7 +178,7 @@ export function Search({
179178
"nextra-scrollbar max-md:h-full",
180179
"border border-neu-300 text-neu-700 dark:border-neu-50",
181180
"z-20 py-2.5 shadow-xl",
182-
"contrast-more:border contrast-more:border-gray-900 contrast-more:dark:border-gray-50",
181+
"contrast-more:border contrast-more:border-neu-900 contrast-more:dark:border-neu-100",
183182
"bg-neu-0/70 backdrop-blur-lg",
184183
"transition-opacity motion-reduce:transition-none",
185184
open ? "opacity-100" : "opacity-0",

0 commit comments

Comments
 (0)