Skip to content

Commit

Permalink
🛠️ [Bug Fix] Setting DialogV2 backdrop to the proper variable (#3411)
Browse files Browse the repository at this point in the history
* setting the DialogV2 backdrop to the proper variable

* Create serious-bats-reply.md

---------

Co-authored-by: Cole Bemis <colebemis@github.com>
  • Loading branch information
dusave and colebemis authored Jun 20, 2023
1 parent bef5fed commit 295c4bc
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 25 deletions.
5 changes: 5 additions & 0 deletions .changeset/serious-bats-reply.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Fix `Dialog2` backdrop color variable
50 changes: 26 additions & 24 deletions examples/nextjs/package-lock.json

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

2 changes: 1 addition & 1 deletion src/Dialog/Dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ const Backdrop = styled('div')`
display: flex;
align-items: center;
justify-content: center;
background-color: rgba(0, 0, 0, 0.4);
background-color: ${get('colors.primer.canvas.backdrop')};
animation: dialog-backdrop-appear ${ANIMATION_DURATION} ${get('animation.easeOutCubic')};
@keyframes dialog-backdrop-appear {
Expand Down

0 comments on commit 295c4bc

Please sign in to comment.