Skip to content

Commit

Permalink
Add canvasDefaultTransparent (#235)
Browse files Browse the repository at this point in the history
* Add canvasDefaultTransparent

* Create two-ears-yawn.md

* Update .changeset/two-ears-yawn.md

Co-authored-by: Cole Bemis <colebemis@github.com>

Co-authored-by: Cole Bemis <colebemis@github.com>
  • Loading branch information
simurai and colebemis committed Sep 16, 2021
1 parent ec5eb62 commit ac4edb8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/two-ears-yawn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/primitives": patch
---

Add `canvasDefaultTransparent` app color variable
1 change: 1 addition & 0 deletions data/colors/vars/app_dark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {get, alpha} from '../../../src/utils'
// Variables to be moved to github/github

export default {
canvasDefaultTransparent: alpha(get('canvas.default'), 0),
marketingIcon: {
primary: get('scale.blue.2'),
secondary: get('scale.blue.5')
Expand Down
1 change: 1 addition & 0 deletions data/colors/vars/app_light.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {alpha, get} from '../../../src/utils'
// Variables to be moved to github/github

export default {
canvasDefaultTransparent: alpha(get('canvas.default'), 0),
marketingIcon: {
primary: get('scale.blue.4'),
secondary: get('scale.blue.3')
Expand Down

1 comment on commit ac4edb8

@vercel
Copy link

@vercel vercel bot commented on ac4edb8 Sep 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.