Skip to content

Commit

Permalink
feat(popover): add elevation token (#682)
Browse files Browse the repository at this point in the history
Adds elevation token level 4 to the popover component.
  • Loading branch information
brentswisher committed Feb 13, 2024
1 parent 67684b7 commit 3992876
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/pink-ties-tell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ithaka/pharos': minor
---

Update popover component elevation to use design token
2 changes: 1 addition & 1 deletion packages/pharos/src/components/popover/pharos-popover.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

position: relative;
margin: 0;
box-shadow: 0 1px 2px rgb(18 18 18 / 0.3), 0 4px 8px 3px rgb(18 18 18 / 0.15);
box-shadow: var(--pharos-elevation-level-4);
border-radius: var(--pharos-radius-base-standard);
visibility: hidden;
pointer-events: none;
Expand Down

0 comments on commit 3992876

Please sign in to comment.