From 08a08c005cd5428b8ce9cb4d181e1b3bcd8a1083 Mon Sep 17 00:00:00 2001 From: Lukas Oppermann Date: Tue, 25 Jul 2023 11:55:32 +0200 Subject: [PATCH 1/2] add collection and scope to paddingBlock --- src/tokens/functional/size/size.json | 40 ++++++++++++++++++++++++---- 1 file changed, 35 insertions(+), 5 deletions(-) diff --git a/src/tokens/functional/size/size.json b/src/tokens/functional/size/size.json index 1b79334ec..eb8f69313 100644 --- a/src/tokens/functional/size/size.json +++ b/src/tokens/functional/size/size.json @@ -45,7 +45,13 @@ }, "paddingBlock": { "$value": "2px", - "$type": "dimension" + "$type": "dimension", + "$extensions": { + "org.primer.figma": { + "collection": "functional/size", + "scopes": ["gap"] + } + } }, "paddingInline": { "condensed": { @@ -113,7 +119,13 @@ }, "paddingBlock": { "$value": "{base.size.4}", - "$type": "dimension" + "$type": "dimension", + "$extensions": { + "org.primer.figma": { + "collection": "functional/size", + "scopes": ["gap"] + } + } }, "paddingInline": { "condensed": { @@ -171,7 +183,13 @@ }, "paddingBlock": { "$value": "6px", - "$type": "dimension" + "$type": "dimension", + "$extensions": { + "org.primer.figma": { + "collection": "functional/size", + "scopes": ["gap"] + } + } }, "paddingInline": { "condensed": { @@ -239,7 +257,13 @@ }, "paddingBlock": { "$value": "10px", - "$type": "dimension" + "$type": "dimension", + "$extensions": { + "org.primer.figma": { + "collection": "functional/size", + "scopes": ["gap"] + } + } }, "paddingInline": { "normal": { @@ -297,7 +321,13 @@ }, "paddingBlock": { "$value": "14px", - "$type": "dimension" + "$type": "dimension", + "$extensions": { + "org.primer.figma": { + "collection": "functional/size", + "scopes": ["gap"] + } + } }, "paddingInline": { "normal": { From 7cc58a13fd1c5cba5bed8631a0002d5aab525654 Mon Sep 17 00:00:00 2001 From: Lukas Oppermann Date: Tue, 25 Jul 2023 11:57:13 +0200 Subject: [PATCH 2/2] add changeset --- .changeset/fuzzy-peas-fry.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/fuzzy-peas-fry.md diff --git a/.changeset/fuzzy-peas-fry.md b/.changeset/fuzzy-peas-fry.md new file mode 100644 index 000000000..020924060 --- /dev/null +++ b/.changeset/fuzzy-peas-fry.md @@ -0,0 +1,5 @@ +--- +'@primer/primitives': patch +--- + +add paddingBlock to figma