Skip to content

Commit

Permalink
feat(gradient): add new gradient token for white backgrounds #135
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanjones243 authored and blackfalcon committed Nov 7, 2023
1 parent b5a11d6 commit f6e99a4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions src/color/background.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,16 @@
"usage": "Used for creating dark backgrounds @ 20% darker",
"wcag": "n/a",
"deprecated": false
},
"gradient": {
"default": {
"value": "linear-gradient(180deg, {color.base.white-opacity-0}, {color.base.white-opacity-50})",
"public": true,
"neutral": true,
"usage": "Used for creating a gradient against all backgrounds",
"wcag": "n/a",
"deprecated": false
}
}
}
}
Expand Down

0 comments on commit f6e99a4

Please sign in to comment.