mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-24 20:42:05 +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 {
|
||||
background: ${({ theme, accent }) =>
|
||||
accent === 'danger'
|
||||
? theme.tag.background.red
|
||||
? theme.background.danger
|
||||
: theme.background.tertiary};
|
||||
}
|
||||
`;
|
||||
|
||||
const StyledButtonLabel = styled.div`
|
||||
font-weight: ${({ theme }) => theme.font.weight.medium};
|
||||
margin-left: ${({ theme }) => theme.spacing(2)};
|
||||
margin-left: ${({ theme }) => theme.spacing(1)};
|
||||
`;
|
||||
|
||||
export const ActionBarItem = ({
|
||||
|
Loading…
Reference in New Issue
Block a user