Skip to content

Commit 67684b7

Browse files
Modal: Add default elevation (#681)
* feat(modal): add elevation token Adds elevation token level 5 to the modal component. * chore: add changeset * feat(modal-elevation): remove border and move elevation to modal__content class --------- Co-authored-by: Markell Torres <markell.torres@ithaka.org>
1 parent 551c5e9 commit 67684b7

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/calm-weeks-own.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@ithaka/pharos': minor
3+
---
4+
5+
Add elevation style to modal component

packages/pharos/src/components/modal/pharos-modal.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@
9494
overflow-y: scroll;
9595
background-color: var(--pharos-modal-color-background-content);
9696
background-clip: padding-box;
97-
border: 1px solid var(--pharos-modal-color-border-content);
9897
border-radius: var(--pharos-radius-base-standard);
9998
outline: 0;
99+
box-shadow: var(--pharos-elevation-level-5);
100100
}
101101

102102
.modal__body {

0 commit comments

Comments
 (0)