Adjust component styles

This commit is contained in:
jeffvli
2022-11-08 03:58:23 -08:00
parent 49eb78b03c
commit 1df07dd12a
2 changed files with 6 additions and 0 deletions
@@ -19,6 +19,10 @@ const StyledSegmentedControl = styled(
& .mantine-SegmentedControl-label {
font-family: var(--label-font-family);
}
&:disabled {
cursor: default;
}
`;
export const SegmentedControl = forwardRef<
+2
View File
@@ -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);
}