1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2025-05-29 22:37:44 +02:00

refactor: usage of Tailwind CSS (WIP)

This commit is contained in:
divlo
2021-04-27 17:35:19 +02:00
parent ac31afaded
commit 7d5d745a1f
14 changed files with 1331 additions and 3271 deletions

View File

@ -1,4 +1,8 @@
import { useTheme } from 'next-themes'
export const Arrow: React.FC = () => {
const { theme } = useTheme()
return (
<svg
width='12'
@ -9,7 +13,7 @@ export const Arrow: React.FC = () => {
>
<path
d='M9.8024 0.292969L5.61855 4.58597L1.43469 0.292969L0.0566406 1.70697L5.61855 7.41397L11.1805 1.70697L9.8024 0.292969Z'
fill='#fff'
fill={theme === 'dark' ? '#fff' : '#181818'}
/>
</svg>
)