mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-04 20:00:00 +08:00
style(settings): update border-radius to use CSS variable for consistency
This commit is contained in:
parent
eb3f136997
commit
bdc75f2f4e
@ -86,7 +86,7 @@ export const SettingHelpLink = styled(Link)`
|
|||||||
|
|
||||||
export const SettingGroup = styled.div<{ theme?: ThemeMode; css?: CSSProp }>`
|
export const SettingGroup = styled.div<{ theme?: ThemeMode; css?: CSSProp }>`
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
border-radius: 8px;
|
border-radius: var(--list-item-border-radius);
|
||||||
border: 0.5px solid var(--color-border);
|
border: 0.5px solid var(--color-border);
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
background: ${(props) => (props.theme === 'dark' ? '#00000010' : 'var(--color-background)')};
|
background: ${(props) => (props.theme === 'dark' ? '#00000010' : 'var(--color-background)')};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user