Commit 09bbb7c
authored
fix(design-system): keep Alert variant text foreground explicit (supabase#46050)
## What kind of change does this PR introduce?
Bug fix. Follow-up to DEPR-551, supabase#45302, supabase#45535, supabase#45618, and stacked on
supabase#46049.
## What is the current behaviour?
Warning and destructive Alert variants do not explicitly own their
foreground text colour. In muted parent contexts, nested Admonition
content can inherit lighter text styling.
## What is the new behaviour?
Warning and destructive Alert variants now include `text-foreground`,
just like the default counterpart.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Style**
* Updated styling for alert components with destructive and warning
variants.
<!-- review_stack_entry_start -->
[](https://app.coderabbit.ai/change-stack/supabase/supabase/pull/46050?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack)
<!-- review_stack_entry_end -->
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent 4c148ea commit 09bbb7c
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
0 commit comments