Skip to content

Commit

Permalink
fix: buttons contrast
Browse files Browse the repository at this point in the history
  • Loading branch information
jacovinus committed Dec 15, 2023
1 parent f4d17c9 commit 5b5f740
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const ConfigContainerStyles = (theme: any) => css`
height: 30px;
transition: 0.35s all;
background: ${theme.primaryAccent};
color: ${theme.contrast};
color: ${theme.maxContrast};
padding: 4px 6px;
border-radius: 3px;
border: 1px solid ${theme.primary};
Expand Down
10 changes: 5 additions & 5 deletions packages/main/plugins/Cardinality/DayPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,20 +61,20 @@ export const MenuStyles = (theme: any) => ({
"& .icon": {
fontSize: "16px",
marginRight: "4px",
color: `${theme.contrast}`,
color: `${theme.maxContrast}`,
},
"& .item": {
fontSize: "12px",
color: `${theme.contrast}`,
color: `${theme.maxContrast}`,
},
".rdp-day_selected, .rdp-day_selected:focus-visible, .rdp-day_selected:hover":
{
background: `${theme.primary}`,
color: `${theme.contrast}`,
color: `${theme.maxContrast}`,
},
"& .rdp-day_selected : hover": {
background: `${theme.primary}`,
color: `${theme.contrast}`,
color: `${theme.maxContrast}`,
},
});

Expand Down Expand Up @@ -139,7 +139,7 @@ export default function PickerMenu() {
size="small"
sx={{
ml: 2,
color: `${theme.contrast}`,
color: `${theme.maxContrast}`,
background: `${theme.primaryAccent}`,
"&.MuiIconButton-root": {
border: `1px solid ${theme.primary}`,
Expand Down

0 comments on commit 5b5f740

Please sign in to comment.