mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-09 23:15:36 +00:00
feat: add theme manager
awesome!
This commit is contained in:
@@ -5,7 +5,8 @@ export const Item = styled.div(({ theme }) => ({
|
||||
userSelect: 'none',
|
||||
height: '40px',
|
||||
width: '280px',
|
||||
backgroundColor: theme.colors.lightGrey,
|
||||
color: theme.colors.font,
|
||||
backgroundColor: theme.colors.background,
|
||||
padding: '8px 12px',
|
||||
borderRadius: theme.border.radius,
|
||||
display: 'flex',
|
||||
@@ -19,7 +20,7 @@ export const Item = styled.div(({ theme }) => ({
|
||||
|
||||
// Disable hover effect for UserCard
|
||||
'&:hover:not(.disable-hover)': {
|
||||
backgroundColor: theme.colors.white,
|
||||
backgroundColor: theme.colors.secondary,
|
||||
outlineWidth: '1px',
|
||||
outlineStyle: 'solid',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user