Skip to content

Commit

Permalink
Deprecated space tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasoppermann committed May 16, 2024
1 parent 0280547 commit 0f6faac
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/lazy-colts-retire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/primitives': minor
---

Deprecated space tokens
6 changes: 6 additions & 0 deletions src/tokens/functional/size/size.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"xxsmall": {
"$value": "2px",
"$type": "dimension",
"deprecated": "Use --base-size-2 instead",
"$extensions": {
"org.primer.figma": {
"collection": "functional/size",
Expand All @@ -13,6 +14,7 @@
"xsmall": {
"$value": "{base.size.4}",
"$type": "dimension",
"deprecated": "Use --base-size-4 instead",
"$extensions": {
"org.primer.figma": {
"collection": "functional/size",
Expand All @@ -23,6 +25,7 @@
"small": {
"$value": "6px",
"$type": "dimension",
"deprecated": "Use --base-size-6 instead",
"$extensions": {
"org.primer.figma": {
"collection": "functional/size",
Expand All @@ -33,6 +36,7 @@
"medium": {
"$value": "{base.size.8}",
"$type": "dimension",
"deprecated": "Use --base-size-8 instead",
"$extensions": {
"org.primer.figma": {
"collection": "functional/size",
Expand All @@ -43,6 +47,7 @@
"large": {
"$value": "{base.size.12}",
"$type": "dimension",
"deprecated": "Use --base-size-12 instead",
"$extensions": {
"org.primer.figma": {
"collection": "functional/size",
Expand All @@ -53,6 +58,7 @@
"xlarge": {
"$value": "{base.size.16}",
"$type": "dimension",
"deprecated": "Use --base-size-16 instead",
"$extensions": {
"org.primer.figma": {
"collection": "functional/size",
Expand Down

0 comments on commit 0f6faac

Please sign in to comment.