Skip to content

Commit

Permalink
[#2584] Removed flex-display from headings, bumped version
Browse files Browse the repository at this point in the history
  • Loading branch information
jiromaykin committed Jul 8, 2024
1 parent 5cf1ec6 commit 21c61a0
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 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.5-alpha.5",
"version": "0.0.6-alpha.1",
"description": "Design tokens for Open Inwoner",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
Expand Down
4 changes: 1 addition & 3 deletions src/brand/openinwoner/typography.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@
"font-family": {"value": "Body"}
},
"heading": {
"font-family": {"value": "Heading"},
"display": {"value": "flex"},
"justify-content": {"value": "space-between"}
"font-family": {"value": "Heading"}
}
}
}
Expand Down
11 changes: 7 additions & 4 deletions src/components/headings/heading.tokens.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
{
"oip": {
"heading-2": {
"header-grouo": {
"align": {
"value": "flex-start"
},
"display": {
"value": "{oip.typography.heading.display}",
"comment": "The flexbox style for headings that contain a button or indicator."
"value": "flex",
"comment": "The flexbox style for headings that are grouped with a button or indicator."
},
"justify-content": {"value": "{oip.typography.heading.justify-content}"}
"justify-content": {"value": "space-between"}
}
}
}

0 comments on commit 21c61a0

Please sign in to comment.