mirror of
https://github.com/lingble/twenty.git
synced 2025-11-02 05:37:56 +00:00
refactor: use theme spacings
This commit is contained in:
@@ -10,12 +10,12 @@ type OwnProps = {
|
|||||||
|
|
||||||
const StyledContainer = styled.span`
|
const StyledContainer = styled.span`
|
||||||
background-color: ${(props) => props.theme.tertiaryBackground};
|
background-color: ${(props) => props.theme.tertiaryBackground};
|
||||||
border-radius: 4px;
|
border-radius: ${(props) => props.theme.spacing(1)};
|
||||||
color: ${(props) => props.theme.text80};
|
color: ${(props) => props.theme.text80};
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 4px;
|
padding: ${(props) => props.theme.spacing(1)};
|
||||||
gap: 4px;
|
gap: ${(props) => props.theme.spacing(1)};
|
||||||
|
|
||||||
:hover {
|
:hover {
|
||||||
filter: brightness(95%);
|
filter: brightness(95%);
|
||||||
|
|||||||
Reference in New Issue
Block a user