Danny White
805aee289e
fix(studio): color regressions after theme update ( #47794 )
...
## What kind of change does this PR introduce?
Bug fix + small shared component
## What is the current behavior?
After the recent colour system changes, several UI elements lost
contrast in light mode:
- `InfoIcon` with a background appeared as a flat grey circle (glyph
fill matched the background)
- Several buttons forced `text-white`, which no longer contrasts
correctly against the updated brand fills
- Selected / completed check badges were inconsistent between call sites
## What is the new behavior?
- `InfoIcon` uses `text-background` for the glyph fill so the "i" is
visible against the grey circle
- www primary buttons drop hardcoded `text-white` and use standard
`Button` colours
- New shared `SuccessCheck` in `ui` for selected state and completion
progress (green circle; white check in light mode, black check in dark
mode)
- Documented in the design system with selected + progress examples
Note on `InfoIcon`:
[#47933 ](https://github.com/supabase/supabase/pull/47933 ) landed a
related fix using `text-background-200` (`--card`). This PR keeps
`text-background` instead, to match `CheckIcon` / `EyeOffIcon` in the
same file and avoid the legacy alias.
| Before | After |
| --- | --- |
| <img width="688" height="268" alt="CleanShot 2026-07-10 at 11 30
25@2x"
src="https://github.com/user-attachments/assets/c0276b0c-1023-46c8-805c-35a22def1353 "
/> | <img width="664" height="278" alt="CleanShot 2026-07-10 at 11 29
43@2x"
src="https://github.com/user-attachments/assets/3508cf37-1b48-4fb7-a939-83522feb44f1 "
/> |
| <img width="468" height="550" alt="CleanShot 2026-07-10 at 11 31
04@2x"
src="https://github.com/user-attachments/assets/acd42273-15ce-4fb2-9d0c-5a43ac23073c "
/> | <img width="460" height="540" alt="CleanShot 2026-07-10 at 11 32
50@2x"
src="https://github.com/user-attachments/assets/f66fb4bc-81f7-4df1-95f5-63980c4e8537 "
/> |
## To test
Use the staging preview link from this PR and check the following in
**light mode** (and spot-check dark mode):
**www**
- Visit `/404` — "Head back" button should have readable text (not
white-on-green)
- Visit `/company` — "Join the team" button in the Team section
- Visit a product page with a hero CTA (e.g. `/database`, `/realtime`) —
primary "Start for free" button
**studio**
- Database → Replication → deploy a read replica — footer `InfoIcon`
next to the pricing line should show a visible "i" inside the grey
circle
- `/redeem` — select an org; green `SuccessCheck` should match
light/dark contrast (white check / black check)
- Settings → API → service role key row — red "secret" tag text should
be readable
**design system**
- `/docs/components/success-check` — demo, selected-state, and progress
examples
2026-07-15 14:09:08 +00:00
..
2026-05-19 17:04:00 +02:00
2026-07-03 10:14:12 +10:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-05-08 07:59:35 +00:00
2024-05-24 09:21:41 +00:00
2026-06-16 23:59:58 +02:00
2026-02-27 16:23:08 +11:00
2026-05-08 07:59:35 +00:00
2024-05-24 09:21:41 +00:00
2026-05-15 14:55:37 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-02-05 13:54:10 +01:00
2026-04-30 10:53:24 +00:00
2024-09-30 21:41:26 +02:00
2024-05-23 17:39:56 +08:00
2025-12-02 11:15:50 +11:00
2024-05-23 17:39:56 +08:00
2025-12-02 11:15:50 +11:00
2026-06-30 16:13:50 +00:00
2026-06-30 16:13:50 +00:00
2026-06-30 16:13:50 +00:00
2026-06-30 16:13:50 +00:00
2026-06-30 16:13:50 +00:00
2026-06-30 16:13:50 +00:00
2026-02-05 13:54:10 +01:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2024-05-23 17:39:56 +08:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-07-03 10:14:12 +10:00
2026-06-16 23:59:58 +02:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-07-10 11:40:33 +01:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2024-08-30 16:51:05 +08:00
2024-08-30 16:51:05 +08:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-04-30 10:53:24 +00:00
2026-04-27 11:07:06 +02:00
2026-04-27 11:07:06 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-04-27 11:07:06 +02:00
2026-05-15 15:29:16 +10:00
2026-05-22 18:24:17 +10:00
2026-06-16 23:59:58 +02:00
2026-04-30 10:53:24 +00:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-05-20 15:45:32 +02:00
2026-05-20 15:45:32 +02:00
2026-05-20 14:05:59 +02:00
2026-05-20 14:05:59 +02:00
2026-05-20 14:05:59 +02:00
2026-05-20 14:05:59 +02:00
2026-05-20 14:05:59 +02:00
2026-05-20 14:05:59 +02:00
2026-05-20 14:05:59 +02:00
2026-05-20 14:05:59 +02:00
2026-06-16 23:59:58 +02:00
2026-05-15 15:09:25 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-30 09:23:17 +02:00
2025-12-15 10:44:08 +00:00
2026-05-15 15:55:33 +02:00
2026-06-16 23:59:58 +02:00
2025-12-15 10:44:08 +00:00
2026-06-16 23:59:58 +02:00
2026-04-30 10:53:24 +00:00
2026-04-30 10:53:24 +00:00
2025-10-16 13:44:40 +11:00
2025-10-16 13:44:40 +11:00
2025-10-16 13:44:40 +11:00
2026-03-31 09:14:56 +02:00
2026-03-31 09:14:56 +02:00
2025-10-16 13:44:40 +11:00
2026-06-16 23:59:58 +02:00
2026-06-17 12:24:42 +02:00
2026-06-17 12:24:42 +02:00
2026-06-17 12:24:42 +02:00
2026-06-17 12:24:42 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-07-03 15:00:43 +10:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-30 09:23:17 +02:00
2026-06-30 09:23:17 +02:00
2026-06-30 09:23:17 +02:00
2025-12-11 13:38:26 +11:00
2026-03-26 15:27:35 +01:00
2026-03-26 15:27:35 +01:00
2024-07-12 11:32:20 +02:00
2026-04-27 11:07:06 +02:00
2026-02-05 13:54:10 +01:00
2026-06-16 23:59:58 +02:00
2026-05-15 14:55:37 +02:00
2026-04-27 11:07:06 +02:00
2026-04-30 10:53:24 +00:00
2026-05-15 14:55:37 +02:00
2026-02-05 13:54:10 +01:00
2026-06-16 23:59:58 +02:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-06-30 09:23:17 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-17 16:00:34 +02:00
2026-06-17 16:00:34 +02:00
2026-06-16 23:59:58 +02:00
2024-05-24 09:40:15 +00:00
2026-02-05 13:54:10 +01:00
2026-06-16 23:59:58 +02:00
2024-10-31 00:55:08 +08:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-05-15 14:55:37 +02:00
2026-05-15 14:55:37 +02:00
2026-05-15 15:55:33 +02:00
2026-06-16 23:59:58 +02:00
2026-02-05 13:54:10 +01:00
2024-05-23 17:39:56 +08:00
2026-06-16 23:59:58 +02:00
2024-10-01 11:29:37 +02:00
2026-02-05 13:54:10 +01:00
2026-06-16 23:59:58 +02:00
2026-05-15 15:55:33 +02:00
2026-05-15 15:55:33 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-04-08 09:42:55 -06:00
2026-05-15 15:55:33 +02:00
2025-12-10 13:10:18 +00:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2026-05-26 17:19:18 +02:00
2024-05-23 17:39:56 +08:00
2026-03-30 10:58:37 +02:00
2026-03-30 10:58:37 +02:00
2026-03-30 10:58:37 +02:00
2026-03-30 10:58:37 +02:00
2026-03-30 10:58:37 +02:00
2026-03-30 10:58:37 +02:00
2026-03-30 10:58:37 +02:00
2026-03-30 10:58:37 +02:00
2026-03-30 10:58:37 +02:00
2026-03-30 10:58:37 +02:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-06-16 23:59:58 +02:00
2024-10-25 15:43:15 +02:00
2026-06-16 23:59:58 +02:00
2025-02-11 10:40:51 +08:00
2024-10-25 15:43:15 +02:00
2024-10-25 15:43:15 +02:00
2024-10-25 15:43:15 +02:00
2024-10-25 15:43:15 +02:00
2026-05-15 15:55:33 +02:00
2024-10-25 15:43:15 +02:00
2025-10-08 10:18:43 +11:00
2025-10-08 10:18:43 +11:00
2026-02-05 13:54:10 +01:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2025-11-11 04:02:30 +00:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-07-03 15:00:43 +10:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-30 09:23:17 +02:00
2026-06-16 23:59:58 +02:00
2026-05-21 09:16:14 +10:00
2026-06-16 23:59:58 +02:00
2026-02-05 13:54:10 +01:00
2026-01-21 10:18:15 +08:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-02-05 13:54:10 +01:00
2024-05-23 17:44:45 +02:00
2026-06-16 23:59:58 +02:00
2026-02-05 13:54:10 +01:00
2026-05-15 15:55:33 +02:00
2026-06-16 23:59:58 +02:00
2024-05-23 17:44:45 +02:00
2026-06-16 23:59:58 +02:00
2026-02-23 19:48:19 +01:00
2026-02-23 19:48:19 +01:00
2026-02-23 19:48:19 +01:00
2026-02-23 19:48:19 +01:00
2026-02-05 13:54:10 +01:00
2026-04-30 10:53:24 +00:00
2026-05-15 16:39:57 +02:00
2026-06-16 23:59:58 +02:00
2026-05-15 16:39:57 +02:00
2024-05-23 17:39:56 +08:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2024-05-23 17:39:56 +08:00
2024-05-23 17:39:56 +08:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-30 09:23:17 +02:00
2026-07-15 14:09:08 +00:00
2026-07-15 14:09:08 +00:00
2026-07-15 14:09:08 +00:00
2026-05-15 15:55:33 +02:00
2026-06-24 14:14:47 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2025-12-11 13:38:26 +11:00
2025-12-11 13:38:26 +11:00
2026-06-16 23:59:58 +02:00
2026-01-20 03:24:10 +00:00
2026-02-05 13:54:10 +01:00
2026-07-06 15:29:16 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2026-06-16 23:59:58 +02:00
2024-05-23 17:39:56 +08:00
2024-05-23 17:39:56 +08:00
2026-06-24 14:14:47 +02:00
2026-02-05 13:54:10 +01:00
2026-05-15 15:55:33 +02:00
2026-05-15 15:55:33 +02:00
2026-06-30 09:23:17 +02:00
2026-06-30 09:23:17 +02:00
2026-05-15 12:14:31 +02:00
2026-05-15 12:14:31 +02:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-05-15 12:14:31 +02:00
2026-05-15 12:14:31 +02:00
2026-05-15 12:14:31 +02:00
2026-05-15 12:14:31 +02:00
2026-06-16 23:59:58 +02:00
2026-02-05 13:54:10 +01:00
2026-02-05 13:54:10 +01:00
2026-05-15 15:09:25 +02:00
2026-05-15 15:09:25 +02:00
2025-12-02 14:18:21 +00:00
2026-04-30 10:53:24 +00:00
2024-05-23 17:39:56 +08:00
2024-05-23 17:39:56 +08:00
2024-05-23 17:39:56 +08:00
2024-05-23 17:39:56 +08:00
2026-04-30 10:53:24 +00:00
2024-05-23 17:39:56 +08:00
2024-05-23 17:39:56 +08:00
2024-05-23 17:39:56 +08:00
2024-05-23 17:39:56 +08:00
2026-04-30 10:53:24 +00:00
2024-05-23 17:39:56 +08:00
2026-04-30 10:53:24 +00:00