Commandbar and dark mode UI fixes (#491)

* Improve dark mode

* Improve commandbar style and add interactions
This commit is contained in:
Félix Malfait
2023-07-01 08:38:45 -07:00
committed by GitHub
parent 256bc24a8c
commit c871d1cc10
6 changed files with 42 additions and 12 deletions

View File

@ -35,7 +35,7 @@ const StyledButton = styled.button<Pick<Props, 'fullWidth' | 'variant'>>`
box-shadow: ${({ theme }) => theme.boxShadow.light};
color: ${({ theme, variant, disabled }) => {
if (disabled) {
return theme.font.color.extraLight;
return theme.font.color.light;
}
switch (variant) {

View File

@ -34,7 +34,7 @@ const StyledItem = styled.button<StyledItemProps>`
return props.theme.color.red;
}
if (props.soon) {
return props.theme.font.color.extraLight;
return props.theme.font.color.light;
}
return props.theme.font.color.secondary;
}};
@ -70,7 +70,7 @@ const StyledSoonPill = styled.div`
align-items: center;
border-radius: 50px;
background-color: ${({ theme }) => theme.background.transparent.light};
font-size: ${({ theme }) => theme.font.size.xxs};
font-size: ${({ theme }) => theme.font.size.xs};
height: 16px;
padding-left: ${({ theme }) => theme.spacing(2)};
padding-right: ${({ theme }) => theme.spacing(2)};

Binary file not shown.

Before

Width:  |  Height:  |  Size: 203 KiB

After

Width:  |  Height:  |  Size: 202 KiB