Files
stepan 2d2ab28fc9 Fix theme toggle bug in footer (#32566)
* fix: fix theme button overlap and hydration issues

* fix: show sun icon when theme is light and moon when theme is dark

* fix: use 'resolvedTheme' isntead of 'theme' to change icon when user has theme 'system'

* refactor: use ternary operator
2025-01-08 17:42:12 +01:00
..
2024-05-07 20:15:06 +00:00
2024-11-25 13:45:21 -04:00
2024-12-06 16:12:55 +00:00
2024-12-16 11:50:20 +01:00
2024-10-09 12:38:34 -04:00
2024-12-07 16:25:46 +00:00

Supabase UI Patterns

This package should be used for components which are built using NPM libraries (react-markdown, reactflow for example), which make no sense to be included in all apps. It should also be used for components which are constructed using various components from the ui package.

This package does not have a barrel file - each component has to be imported from its index (ui-patterns/PrivacySettings, for example). This is intentional so that adding a new component which is used only in 1 or 2 apps doesn't burden the rest of the apps.