Skip to content

Commit

Permalink
✨ [open-formulieren/open-forms-sdk#462] Add styles for Utrecht buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
SilviaAmAm committed Oct 13, 2023
1 parent 819e421 commit 6f82563
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/community/utrecht/action.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@
"cursor": {"value": "pointer"}
},
"disabled": {
"cursor": {"value": "not-allowed"}
"cursor": {
"value": "not-allowed"
}
},
"submit": {
"cursor": {
"value": "pointer"
}
}
}
}
Expand Down
48 changes: 48 additions & 0 deletions src/community/utrecht/button.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,54 @@
"color": {"value": "{of.button.danger.active.fg}"}
}
}
},

"secondary-action": {
"danger": {
"background": {
"color": {
"value": "{of.color.danger}"
}
},
"color": {
"value": "#fce9e8"
}
}
},

"subtle": {
"danger": {
"background": {
"color": {
"value": "{of.color.danger}"
}
},
"hover": {
"background": {
"color": {
"value": "{of.color.bg}"
}
}
},
"active": {
"background": {
"color": {
"value": "#a02017"
}
}
}
}
},

"disabled": {
"background": {
"color": {
"value": "#b0b0b0"
}
},
"color": {
"value": "#ffffff"
}
}
}
}
Expand Down

0 comments on commit 6f82563

Please sign in to comment.