mirror of
https://github.com/Unleash/unleash.git
synced 2025-06-09 01:17:06 +02:00
feat: segment chip recoloring (#9742)
This commit is contained in:
parent
5d64d0ff4b
commit
67c0ffa1ab
@ -24,14 +24,15 @@ const StyledChip = styled('span')(({ theme }) => ({
|
|||||||
paddingBlockStart: theme.spacing(0.5),
|
paddingBlockStart: theme.spacing(0.5),
|
||||||
paddingBlockEnd: theme.spacing(0.5),
|
paddingBlockEnd: theme.spacing(0.5),
|
||||||
borderRadius: '100rem',
|
borderRadius: '100rem',
|
||||||
background: theme.palette.primary.main,
|
background: theme.palette.background.elevation1,
|
||||||
color: theme.palette.primary.contrastText,
|
color: theme.palette.text.primary,
|
||||||
}));
|
}));
|
||||||
|
|
||||||
const StyledButton = styled('button')(({ theme }) => ({
|
const StyledButton = styled('button')(({ theme }) => ({
|
||||||
all: 'unset',
|
all: 'unset',
|
||||||
height: theme.spacing(2),
|
height: theme.spacing(2),
|
||||||
cursor: 'pointer',
|
cursor: 'pointer',
|
||||||
|
color: theme.palette.secondary.dark,
|
||||||
}));
|
}));
|
||||||
|
|
||||||
const StyledLink = styled(Link)(({ theme }) => ({
|
const StyledLink = styled(Link)(({ theme }) => ({
|
||||||
|
Loading…
Reference in New Issue
Block a user