Fix css date picker in dark mode

pull/2741/head
Jérémy Rialland 2023-06-20 13:43:36 +02:00 committed by Jérémy Rialland
parent 932ba18afc
commit 897b37795f
1 changed files with 7 additions and 0 deletions

View File

@ -273,6 +273,11 @@ const StyledBody = styled(Body)`
background-color: ${({ theme }) =>
theme.darkMode && theme.colors.extended.grey[600]};
}
.rdp-button:hover:not([disabled]):not(.rdp-day_selected) {
background-color: ${({ theme }) =>
theme.darkMode && theme.colors.extended.grey[600]};
}
`
const Wrapper = styled.div`
@ -289,6 +294,8 @@ const StyledButton = styled(Button)`
right: 0;
top: 0;
margin: 0.7rem;
background-color: ${({ theme }) =>
theme.darkMode && theme.colors.bases.primary[700]};
`
type OnlyAriaType<T> = {