Skip to content

Commit

Permalink
fix(ConfirmationDialog): use correct border radius and font weight (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
dgreif committed May 21, 2021
1 parent 8368a83 commit aa7d80f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/thirty-lies-try.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/components": patch
---

Fix border radius on buttons and title `font-weight` in ConfirmationDialog
3 changes: 2 additions & 1 deletion src/Dialog/ConfirmationDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const StyledConfirmationHeader = styled.header`
`
const StyledTitle = styled(Box)`
font-size: ${get('fontSizes.3')};
font-weight: 700;
font-weight: ${get('fontWeights.bold')};
padding: 6px ${get('space.2')};
flex-grow: 1;
`
Expand Down Expand Up @@ -80,6 +80,7 @@ const StyledConfirmationFooter = styled(Box)`
border-bottom: 0;
margin: 0;
border-right: 0;
border-radius: 12px;
&:first-child {
border-left: 0;
}
Expand Down

1 comment on commit aa7d80f

@vercel
Copy link

@vercel vercel bot commented on aa7d80f May 21, 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.