From 15ce72883be628e2e9b4274a15d51d40e41472fd Mon Sep 17 00:00:00 2001 From: Lukas Oppermann Date: Thu, 16 May 2024 09:00:58 +0200 Subject: [PATCH] Added 2px and 6px size to base scale --- .changeset/rich-apes-happen.md | 5 +++++ src/tokens/base/size/size.json | 20 ++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 .changeset/rich-apes-happen.md diff --git a/.changeset/rich-apes-happen.md b/.changeset/rich-apes-happen.md new file mode 100644 index 000000000..f33e08c8d --- /dev/null +++ b/.changeset/rich-apes-happen.md @@ -0,0 +1,5 @@ +--- +'@primer/primitives': patch +--- + +Added 2px and 6px size to base scale diff --git a/src/tokens/base/size/size.json b/src/tokens/base/size/size.json index 0209a4d7e..14616f15e 100644 --- a/src/tokens/base/size/size.json +++ b/src/tokens/base/size/size.json @@ -1,6 +1,16 @@ { "base": { "size": { + "2": { + "$value": "2px", + "$type": "dimension", + "$extensions": { + "org.primer.figma": { + "collection": "base/size", + "scopes": ["size"] + } + } + }, "4": { "$value": "4px", "$type": "dimension", @@ -11,6 +21,16 @@ } } }, + "6": { + "$value": "6px", + "$type": "dimension", + "$extensions": { + "org.primer.figma": { + "collection": "base/size", + "scopes": ["size"] + } + } + }, "8": { "$value": "8px", "$type": "dimension",