SyntaxUI / syntaxui

Get free access to pre-built, Tailwind CSS-powered components, animations and effects - brought to life using Framer Motion. Just copy, paste and you're ready to go!
https://syntaxui.com
MIT License
573 stars 42 forks source link

fix: dark theme support #209

Closed epoll31 closed 1 month ago

epoll31 commented 1 month ago

Description

I added in dark theme support to the site :)

Related Issue

Fixes #175

Proposed Changes

Checklist

Please check the boxes that apply:

Additional Notes

The typography.ts file has a lot of say over how things are styled when in dark theme (specifically the --tw-prose-invert-... section). We should decide what we would like to use this for.

vercel[bot] commented 1 month ago

@epoll31 is attempting to deploy a commit to the SyntaxUI Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
syntax-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 29, 2024 6:04am
Ansub commented 1 month ago

is this a mirage or toggles appears to be broken in dark mode

https://github.com/SyntaxUI/syntaxui/assets/12985873/9c23ae80-b571-4644-a45f-3f3c4c12023a

epoll31 commented 1 month ago

is this a mirage or toggles appears to be broken in dark mode

To me, the only one the looks broken is the neobrutalism one since the border and backdrop are so dark.

I was refraining from making dramatic styling updates to specific components so i didn't change that.

What do you think we should do?

Ansub commented 1 month ago

is this a mirage or toggles appears to be broken in dark mode

To me, the only one the looks broken is the neobrutalism one since the border and backdrop are so dark.

I was refraining from making dramatic styling updates to specific components so i didn't change that.

What do you think we should do?

makes sense, let's merge it and make fixes otw