Skip to content

Commit

Permalink
♿ [#2625] Add skip-link design tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
“jiromaykin” authored and jiromaykin committed Nov 5, 2024
1 parent 8c2d108 commit 8e90b82
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@open-inwoner/design-tokens",
"version": "0.0.6-alpha.1",
"version": "0.0.7-alpha.2",
"description": "Design tokens for Open Inwoner",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
Expand Down
58 changes: 58 additions & 0 deletions src/community/utrecht/skiplink.tokens.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"utrecht": {
"skip-link": {
"background-color": {
"value": "{oip.color.accent}"
},
"color": {
"value": "#fff"
},
"min-block-size": {
"value": "0"
},
"min-inline-size": {
"value": "0"
},
"padding-block-start": {
"value": "24px"
},
"padding-block-end": {
"value": "24px"
},
"padding-inline-start": {
"value": "16px"
},
"padding-inline-end": {
"value": "16px"
},
"text-decoration": {
"value": "underline"
},
"z-index": {
"value": "5000"
},
"focus": {
"background-color": {
"value": "{oip.color.accent}"
},
"color": {
"value": "#fff"
},
"text-decoration": {
"value": "underline"
}
},
"focus-visible": {
"background-color": {
"value": "{oip.color.accent}"
},
"color": {
"value": "#fff"
},
"text-decoration": {
"value": "underline"
}
}
}
}
}

0 comments on commit 8e90b82

Please sign in to comment.