mirror of
https://github.com/supabase/supabase.git
synced 2026-10-15 22:29:11 +03:00
* Replace all methods of MetaStore with react queries. * Remove unneeded usages of MetaStore. * Remove RootStore completely. The only thing left from these stores is uiStore. * Remove unnecessary comments. * Delete MetaStore. * Fix the usage of the wrong toaster. * Remove unused variables * Remove onSqlQuery * Convert some ui setNotification calls to direct toast calls --------- Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Styles
When to write custom styles
Tailwind should be sufficient to cover the majority of styling needs. We typically only write custom styles here in the event where we're working with an external library and we need to override some styles (e.g Monaco, or even our own UI library).
Ideally, keep custom styling here to a minimum, use tailwind directly in the pages and components where possible, so that we have less code to maintain.
If you're writing custom styles
Group custom styles into separate stylesheets based on their context. For styles which are generic and global, we can write them in main.scss.