Skip to content

Commit 66e820b

Browse files
authored
Adjust SVG icons' stroke color for the dark theme (tailwindlabs#1380)
1 parent 91af343 commit 66e820b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/layouts/ShowcaseLayout.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ export function ShowcaseLayout({ children, slug, meta }) {
154154
</div>
155155
<div className="absolute -inset-1 md:hidden" />
156156
<svg
157-
className="md:hidden w-6 h-6 stroke-slate-900"
157+
className="md:hidden w-6 h-6 stroke-slate-900 dark:stroke-white"
158158
fill="none"
159159
aria-hidden="true"
160160
>
@@ -182,7 +182,7 @@ export function ShowcaseLayout({ children, slug, meta }) {
182182
</div>
183183
<div className="absolute -inset-1 md:hidden" />
184184
<svg
185-
className="md:hidden w-6 h-6 stroke-slate-900"
185+
className="md:hidden w-6 h-6 stroke-slate-900 dark:stroke-white"
186186
fill="none"
187187
aria-hidden="true"
188188
>

0 commit comments

Comments
 (0)