Skip to content

Commit

Permalink
added changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasoppermann committed Aug 28, 2023
1 parent bfaba39 commit aaf4784
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 9 deletions.
5 changes: 5 additions & 0 deletions .changeset/wild-mangos-deny.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/primitives': patch
---

Fixing shadows
22 changes: 15 additions & 7 deletions src/tokens/functional/shadow/dark.json5
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
$value: [
{
color: '{base.color.black}',
alpha: 0.64,
alpha: 0.24,
offsetX: '0px',
offsetY: '1px',
blur: '0px',
Expand All @@ -145,27 +145,35 @@
small: {
$value: [
{
color: '{base.color.transparent}',
alpha: 0,
color: '{base.color.black}',
alpha: 0.16,
offsetX: '0px',
offsetY: '0px',
offsetY: '1px',
blur: '0px',
spread: '0px',
inset: false,
},
{
color: '{base.color.black}',
alpha: 0.16,
offsetX: '0px',
offsetY: '1px',
blur: '3px',
spread: '0px',
inset: false,
},
],
$type: 'shadow',
},
medium: {
$value: [
{
color: '{base.color.black}',
alpha: 1,
color: '{base.color.gray.7}',
alpha: 0.32,
offsetX: '0px',
offsetY: '3px',
blur: '6px',
spread: '0px',
inset: false,
},
],
$type: 'shadow',
Expand Down
4 changes: 2 additions & 2 deletions src/tokens/functional/shadow/light.json5
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@
large: {
$value: [
{
color: '{base.color.gray.4}',
color: '{base.color.gray.7}',
alpha: 0.24,
offsetX: '0px',
offsetY: '40px',
Expand All @@ -250,7 +250,7 @@
xlarge: {
$value: [
{
color: '{base.color.gray.4}',
color: '{base.color.gray.7}',
alpha: 0.24,
offsetX: '0px',
offsetY: '56px',
Expand Down

0 comments on commit aaf4784

Please sign in to comment.