Skip to content

Commit

Permalink
Add card pattern tokens (#857)
Browse files Browse the repository at this point in the history
* add card tokens

* Create cold-glasses-enjoy.md

* github-actions[bot] Regenerated snapshots

---------

Co-authored-by: langermank <langermank@users.noreply.github.com>
  • Loading branch information
langermank and langermank committed Apr 4, 2024
1 parent f2d49f2 commit 8f372b0
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/cold-glasses-enjoy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/primitives": patch
---

Add `card` pattern tokens
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions src/tokens/functional/color/dark/patterns-dark.json5
Original file line number Diff line number Diff line change
Expand Up @@ -2142,4 +2142,18 @@
alpha: 0.7,
},
},
card: {
bgColor: {
$value: '{bgColor.muted}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'dark',
group: 'component',
scopes: ['bgColor'],
},
},
},
},
}
14 changes: 14 additions & 0 deletions src/tokens/functional/color/light/patterns-light.json5
Original file line number Diff line number Diff line change
Expand Up @@ -2139,4 +2139,18 @@
alpha: 0.2,
},
},
card: {
bgColor: {
$value: '{bgColor.default}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'light',
group: 'component',
scopes: ['bgColor'],
},
},
},
},
}

0 comments on commit 8f372b0

Please sign in to comment.