Skip to content

Commit 0c5c27a

Browse files
committed
refactor: use hardcoded sizes rather than misappropriate rhc.size.*lint tokens
1 parent da59cff commit 0c5c27a

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

.changeset/big-dots-vanish.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@rijkshuisstijl-community/design-tokens': patch
3+
---
4+
5+
Use appropriate `rhc.space` tokens instead of `rhc.size.*lint` tokens

proprietary/design-tokens/figma/figma.tokens.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3206,7 +3206,7 @@
32063206
},
32073207
"max-block-size": {
32083208
"$type": "dimension",
3209-
"$value": "{rhc.size.2-lint}"
3209+
"$value": "6rem"
32103210
},
32113211
"padding-block-end": {
32123212
"$type": "dimension",
@@ -3410,7 +3410,7 @@
34103410
},
34113411
"max-block-size": {
34123412
"$type": "dimension",
3413-
"$value": "{rhc.size.2-lint}"
3413+
"$value": "{rhc.card.horizontal.max-block-size}"
34143414
},
34153415
"padding-block-end": {
34163416
"$type": "dimension",
@@ -4225,7 +4225,7 @@
42254225
},
42264226
"size": {
42274227
"$type": "dimension",
4228-
"$value": "{rhc.size.quarter-lint}"
4228+
"$value": "0.75rem"
42294229
}
42304230
}
42314231
}
@@ -5968,11 +5968,11 @@
59685968
},
59695969
"min-block-size": {
59705970
"$type": "dimension",
5971-
"$value": "{rhc.size.half-lint}"
5971+
"$value": "1.5rem"
59725972
},
59735973
"min-inline-size": {
59745974
"$type": "dimension",
5975-
"$value": "{rhc.size.half-lint}"
5975+
"$value": "1.5rem"
59765976
},
59775977
"padding-block": {
59785978
"$type": "dimension",
@@ -6434,12 +6434,12 @@
64346434
},
64356435
"size": {
64366436
"$type": "dimension",
6437-
"$value": "{rhc.size.half-lint}"
6437+
"$value": "1.5rem"
64386438
},
64396439
"icon": {
64406440
"size": {
64416441
"$type": "dimension",
6442-
"$value": "{rhc.size.quarter-lint}"
6442+
"$value": "0.75rem"
64436443
}
64446444
},
64456445
"invalid": {

0 commit comments

Comments
 (0)