Skip to content

Commit

Permalink
Merge pull request #39 from open-formulieren/fix/467-refactor-alert
Browse files Browse the repository at this point in the history
Add design tokens for Alert
  • Loading branch information
sergei-maertens authored Nov 6, 2023
2 parents 69ac09d + a8067b3 commit ea8581d
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 18 deletions.
56 changes: 56 additions & 0 deletions src/community/utrecht/alert.tokens.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"utrecht": {
"alert": {
"icon": {
"gap": {
"value": "16px"
},
"error": {
"color": {
"value": "{of.color.danger}"
}
},
"info": {
"color": {
"value": "{of.color.info}"
}
},
"warning": {
"color": {
"value": "{of.color.warning}"
}
},
"ok": {
"color": {
"value": "{of.color.success}"
}
}
},
"padding-block-end": {"value": "20px"},
"padding-block-start": {"value": "20px"},
"padding-inline-start": {"value": "20px"},
"padding-inline-end": {"value": "20px"},
"error": {
"background-color": {
"value": "#f8d7da",
"comment": "from formio.form.css .formio-error"
}
},
"info": {
"background-color": {
"value": "#d9ebf7"
}
},
"warning": {
"background-color": {
"value": "#fff3cd"
}
},
"ok": {
"background-color": {
"value": "#ddffdd"
}
}
}
}
}
18 changes: 0 additions & 18 deletions src/components/alert.tokens.json

This file was deleted.

0 comments on commit ea8581d

Please sign in to comment.