mirror of
https://github.com/strapi/strapi.git
synced 2025-08-10 09:47:46 +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;
|
display: none;
|
||||||
${({ shown }) => shown && 'display: block;'}
|
${({ shown }) => shown && 'display: block;'}
|
||||||
border: 2px solid ${({ theme, color }) => theme.main.colors[color] || color};
|
border: 2px solid ${({ theme, color }) => theme.main.colors[color] || color};
|
||||||
border-radius: 2px;
|
border-radius: ${({ theme }) => theme.main.sizes.borderRadius};
|
||||||
`;
|
`;
|
||||||
|
|
||||||
CardBorder.defaultProps = {
|
CardBorder.defaultProps = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user