Skip to content

Commit

Permalink
fix(alert): remove rem values from icon height, width (#748)
Browse files Browse the repository at this point in the history
fix: removing rem values from css, moving to icon size tokens
  • Loading branch information
brianferry authored Mar 2, 2023
1 parent 414553a commit 6f29b7c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/rude-carpets-switch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rhds/elements": patch
---

`<rh-alert>`: used design tokens for icon dimensions
4 changes: 2 additions & 2 deletions elements/rh-alert/rh-alert.css
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ header ::slotted(:is(h1,h2,h3,h4,h5,h6)) {
display: flex;
align-items: center;
justify-content: center;
width: var(--rh-font-size-body-text-2xl, 1.5rem);
height: var(--rh-font-size-body-text-2xl, 1.5rem);
width: var(--rh-size-icon-02, 24px);
height: var(--rh-size-icon-02, 24px);
color: var(--_icon-color);
}

Expand Down

0 comments on commit 6f29b7c

Please sign in to comment.