Skip to content

Commit

Permalink
✨ [open-formulieren/open-forms#467] Add design tokens for Alert
Browse files Browse the repository at this point in the history
  • Loading branch information
SilviaAmAm committed Nov 3, 2023
1 parent 76231ff commit 6cb20a9
Showing 1 changed file with 77 additions and 0 deletions.
77 changes: 77 additions & 0 deletions src/community/utrecht/alert.tokens.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
{
"utrecht": {
"alert": {
"icon": {
"gap": {
"value": "16px"
},
"error": {
"color": {
"value": "var(--of-color-danger)"
}
},
"info": {
"color": {
"value": "var(--of-color-info)"
}
},
"warning": {
"color": {
"value": "var(--of-color-warning)"
}
},
"ok": {
"color": {
"value": "var(--of-color-success)"
}
}
},
"padding": {
"block": {
"end": {
"value": "20px"
},
"start": {
"value": "20px"
}
},
"inline": {
"start": {
"value": "20px"
},
"end": {
"value": "20px"
}
}
},
"error": {
"background": {
"color": {
"value": "var(--of-alert-error-bg)"
}
}
},
"info": {
"background": {
"color": {
"value": "var(--of-alert-info-bg)"
}
}
},
"warning": {
"background": {
"color": {
"value": "var(--of-alert-warning-bg)"
}
}
},
"ok": {
"background": {
"color": {
"value": "#ddffdd"
}
}
}
}
}
}

0 comments on commit 6cb20a9

Please sign in to comment.