mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-25 04:55:30 +03:00
Fix action bar button danger background and gap (#2711)
fix action bar button danger background and gap Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
parent
18d30c45c4
commit
fd969de311
@ -29,14 +29,14 @@ const StyledButton = styled.div<{ accent: ActionBarItemAccent }>`
|
|||||||
&:hover {
|
&:hover {
|
||||||
background: ${({ theme, accent }) =>
|
background: ${({ theme, accent }) =>
|
||||||
accent === 'danger'
|
accent === 'danger'
|
||||||
? theme.tag.background.red
|
? theme.background.danger
|
||||||
: theme.background.tertiary};
|
: theme.background.tertiary};
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const StyledButtonLabel = styled.div`
|
const StyledButtonLabel = styled.div`
|
||||||
font-weight: ${({ theme }) => theme.font.weight.medium};
|
font-weight: ${({ theme }) => theme.font.weight.medium};
|
||||||
margin-left: ${({ theme }) => theme.spacing(2)};
|
margin-left: ${({ theme }) => theme.spacing(1)};
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export const ActionBarItem = ({
|
export const ActionBarItem = ({
|
||||||
|
Loading…
Reference in New Issue
Block a user