mirror of
https://github.com/strapi/strapi.git
synced 2025-08-09 09:14:49 +00:00
theme borderRadius
Signed-off-by: Ky <virginie.ky@gmail.com>
This commit is contained in:
parent
3a5f44bb02
commit
1de70d9292
@ -11,7 +11,7 @@ const CardBorder = styled.div`
|
||||
display: none;
|
||||
${({ shown }) => shown && 'display: block;'}
|
||||
border: 2px solid ${({ theme, color }) => theme.main.colors[color] || color};
|
||||
border-radius: 2px;
|
||||
border-radius: ${({ theme }) => theme.main.sizes.borderRadius};
|
||||
`;
|
||||
|
||||
CardBorder.defaultProps = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user