pheralb / slug

🌱 An open-source URL shortener built with T3 Stack.
https://slug.vercel.app
GNU General Public License v3.0
595 stars 59 forks source link

Fix toaster component styles #20

Closed Hyuuh closed 6 months ago

Hyuuh commented 6 months ago

When you select the 'System' theme, that is, the system theme, the Toast did not understand the colors it should modify (77da8c4c6477581e983dedb10d7d5d06b84ed3b9) and displayed in the light theme, even if your system is in dark mode. This is solved by modifying the Toast design with TailwindCSS

[!NOTE] The error is practically visible when you have dark mode enabled on your system and choose the 'system' theme.

Currently it looks like this System theme when you have dark mode enabled msedge_PM94Ajzwop

As it appears in the light theme, there is no error in this theme msedge_OoULFGF3sB

Now you can see how it's fixed in both themes. msedge_BZzhvQoPv8 msedge_sC8AuEVhqe

vercel[bot] commented 6 months ago

Someone is attempting to deploy a commit to a Personal Account owned by @pheralb on Vercel.

@pheralb first needs to authorize it.

pheralb commented 6 months ago

Thanks 🥹🚀