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