Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix(ui): darken light warning fill for readable white text (#50834)

Danny Whiteddd6711b0da9
diff --git a/packages/ui/build/css/themes/light.css b/packages/ui/build/css/themes/light.css
index 40cae7a0efc..492040b6607 100644
--- a/packages/ui/build/css/themes/light.css
+++ b/packages/ui/build/css/themes/light.css
@@ -30,7 +30,8 @@
* is mode-aware; chroma is the shared --expressive-chroma from semantic.css.
*/
--warning-hue: 58;
- --warning-lightness: 0.68;
+ /* Below on-fill flip (~0.62) so ink is light and clears ~4.5:1 */
+ --warning-lightness: 0.55;
--destructive-lightness: 0.52;
--info-lightness: 0.54;