1
0
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:
Jaanus Sellin 2025-04-10 12:51:09 +03:00 committed by GitHub
parent 5d64d0ff4b
commit 67c0ffa1ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 }) => ({