Skip to content

Commit

Permalink
Merge pull request #49 from open-formulieren/feature/4718-color-contr…
Browse files Browse the repository at this point in the history
…ast-accessibility-improvements

♿ [open-formulieren/open-forms#4718] Better color contrast for danger buttons
  • Loading branch information
sergei-maertens authored Oct 29, 2024
2 parents cab0b53 + 31823ef commit a347f43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/community/utrecht/button.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@

"danger": {
"background-color": {"value": "{of.color.danger}"},
"color": {"value": "#fce9e8"},
"color": {"value": "{of.button.danger.fg}"},

"focus": {
"border-color": {"value": "transparent"}
Expand Down
2 changes: 1 addition & 1 deletion src/components/buttons/button.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},

"danger": {
"fg": {"value": "#fce9e8"},
"fg": {"value": "#ffffff"},
"bg": {"value": "{of.color.danger}"},
"color-border": {"value": "#aa2218"}
}
Expand Down

0 comments on commit a347f43

Please sign in to comment.