Skip to content

Commit

Permalink
Update skeleton pattern to work on muted bg (#1053)
Browse files Browse the repository at this point in the history
* add skeleton color

* name update

* Create olive-rabbits-clean.md

* github-actions[bot] Regenerated snapshots

---------

Co-authored-by: langermank <langermank@users.noreply.github.com>
  • Loading branch information
langermank and langermank authored Sep 12, 2024
1 parent 6c3f68f commit 8892a4c
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/olive-rabbits-clean.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/primitives": patch
---

Update `skeleton` pattern color
Binary file modified blob-report/report.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -932,4 +932,11 @@
$type: 'color',
},
},
skeletonLoader: {
bgColor: {
$value: '{base.color.neutral.5}',
$type: 'color',
alpha: 1,
},
}
}
11 changes: 10 additions & 1 deletion src/tokens/functional/color/dark/patterns-dark.json5
Original file line number Diff line number Diff line change
Expand Up @@ -2047,8 +2047,17 @@
},
skeletonLoader: {
bgColor: {
$value: '{bgColor.muted}',
$value: '{base.color.neutral.8}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'dark',
group: 'component',
scopes: ['bgColor'],
},
},
alpha: 0.2,
},
},
timelineBadge: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -816,4 +816,11 @@
},
},
},
skeletonLoader: {
bgColor: {
$value: '{base.color.neutral.5}',
$type: 'color',
alpha: 1,
},
}
}
11 changes: 10 additions & 1 deletion src/tokens/functional/color/light/patterns-light.json5
Original file line number Diff line number Diff line change
Expand Up @@ -2041,8 +2041,17 @@
},
skeletonLoader: {
bgColor: {
$value: '{bgColor.muted}',
$value: '{base.color.neutral.8}',
$type: 'color',
$extensions: {
'org.primer.figma': {
collection: 'mode',
mode: 'light',
group: 'component',
scopes: ['bgColor'],
},
},
alpha: 0.1,
},
},
timelineBadge: {
Expand Down

0 comments on commit 8892a4c

Please sign in to comment.