-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
border-radiusをtheme経由で定義できるように #159
Conversation
利用者側が全体で |
@@ -3,7 +3,7 @@ | |||
exports[`ActionButton component testing ActionButton 1`] = ` | |||
<DocumentFragment> | |||
<button | |||
class="sc-AxjAm hEzxlr" | |||
class="sc-AxjAm bfURWn" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
snapshotに変化のあるコンポーネントがちらほらありますが、実際にUIに差があるのかを見ていただけると:bow:
|
||
export const Container = styled.button` | ||
display: flex; | ||
align-items: center; | ||
padding: ${Space * 0.75}px ${Space}px; | ||
border: 0; | ||
cursor: pointer; | ||
border-radius: ${Radius.MEDIUM}; | ||
border-radius: ${({ theme }) => theme.radius}px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
theme.spacing
と同じノリで扱える
@@ -50,15 +50,15 @@ const getContainerColorStyles = ( | |||
background: theme.palette.white, | |||
color: theme.palette.black, | |||
boxShadow: "none", | |||
border: `${Size.Border.Small} solid ${theme.palette.divider}`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
borderは直打ちさせる
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTMです!
close: #117