mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
Adjust component styles
This commit is contained in:
@@ -19,6 +19,10 @@ const StyledSegmentedControl = styled(
|
||||
& .mantine-SegmentedControl-label {
|
||||
font-family: var(--label-font-family);
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
cursor: default;
|
||||
}
|
||||
`;
|
||||
|
||||
export const SegmentedControl = forwardRef<
|
||||
|
||||
@@ -7,6 +7,8 @@ import styled from 'styled-components';
|
||||
type SwitchProps = MantineSwitchProps;
|
||||
|
||||
const StyledSwitch = styled(MantineSwitch)`
|
||||
display: flex;
|
||||
|
||||
& .mantine-Switch-track {
|
||||
background-color: var(--switch-track-bg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user