Skip to content

Commit 31823ef

Browse files
committed
♿ [open-formulieren/open-forms#4718] Better color contrast for danger buttons
1 parent cab0b53 commit 31823ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/community/utrecht/button.tokens.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484

8585
"danger": {
8686
"background-color": {"value": "{of.color.danger}"},
87-
"color": {"value": "#fce9e8"},
87+
"color": {"value": "{of.button.danger.fg}"},
8888

8989
"focus": {
9090
"border-color": {"value": "transparent"}

src/components/buttons/button.tokens.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
},
1919

2020
"danger": {
21-
"fg": {"value": "#fce9e8"},
21+
"fg": {"value": "#ffffff"},
2222
"bg": {"value": "{of.color.danger}"},
2323
"color-border": {"value": "#aa2218"}
2424
}

0 commit comments

Comments
 (0)