Skip to content

Commit bb8c36b

Browse files
committed
use transparency for alert background colors
1 parent a9b3e47 commit bb8c36b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/alert/styles.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,12 @@
4141

4242
.alert-info {
4343
background: var(--desatPurple15);
44+
background: color-mix(in srgb, var(--desatPurple15), transparent 10%);
4445
}
4546

4647
.alert-warning {
4748
background: var(--desatFlame8);
49+
background: color-mix(in srgb, var(--desatFlame8), transparent 10%);
4850

4951
> .alert-icon {
5052
color: var(--flame5);

0 commit comments

Comments
 (0)