This commit is contained in:
Alex Holliday committed 2025-04-17 15:25:10 -07:00
1 parent fee258a8f2
commit 59f0f2f50d
2 files changed
+94 -94

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ jobs:
run: | run: |
docker build \ docker build \
-t ghcr.io/bluewave-labs/checkmate-frontend:staging \ -t ghcr.io/bluewave-labs/checkmate-frontend:staging \
-f ./docker/staging/server.Dockerfile \ -f ./docker/staging/client.Dockerfile \
--label org.opencontainers.image.source=https://github.com/bluewave-labs/checkmate \ --label org.opencontainers.image.source=https://github.com/bluewave-labs/checkmate \
. .
+93 -93
View File
@@ -119,32 +119,32 @@ const baseTheme = (palette) => ({
}, },
{ {
props: { variant: 'text', color: 'info' }, props: { variant: "text", color: "info" },
style: { style: {
textDecoration: 'underline', textDecoration: "underline",
color: theme.palette.primary.contrastText, color: theme.palette.primary.contrastText,
padding: 0, padding: 0,
margin: 0, margin: 0,
fontSize: typographyLevels.m, fontSize: typographyLevels.m,
fontWeight: theme.typography.body2.fontWeight, fontWeight: theme.typography.body2.fontWeight,
backgroundColor: 'transparent', backgroundColor: "transparent",
'&:hover': { "&:hover": {
backgroundColor: 'transparent', backgroundColor: "transparent",
textDecoration: 'underline' textDecoration: "underline",
}, },
"&.Mui-disabled": { "&.Mui-disabled": {
backgroundColor: 'transparent', backgroundColor: "transparent",
color: theme.palette.text.primary, color: theme.palette.text.primary,
opacity: 0.5, opacity: 0.5,
"&.MuiButton-text": { "&.MuiButton-text": {
backgroundColor: 'transparent' backgroundColor: "transparent",
} },
}, },
minWidth: 0, minWidth: 0,
boxShadow: 'none', boxShadow: "none",
border: 'none' border: "none",
}, },
}, },
], ],
height: 34, height: 34,
fontWeight: 400, fontWeight: 400,
@@ -348,7 +348,7 @@ const baseTheme = (palette) => ({
opacity: 0.8, opacity: 0.8,
fontSize: "var(--env-var-font-size-medium)", fontSize: "var(--env-var-font-size-medium)",
color: palette.error.main, color: palette.error.main,
whiteSpace: 'nowrap', whiteSpace: "nowrap",
}, },
}), }),
}, },
@@ -365,63 +365,63 @@ const baseTheme = (palette) => ({
}, },
MuiTab: { MuiTab: {
styleOverrides: { styleOverrides: {
root: ({ theme }) => ({ root: ({ theme }) => ({
fontSize: theme.typography.fontSize - 1, fontSize: theme.typography.fontSize - 1,
color: theme.palette.tertiary.contrastText, color: theme.palette.tertiary.contrastText,
height: '34px', height: "34px",
minHeight: '34px', minHeight: "34px",
borderRadius: 0, borderRadius: 0,
textTransform: "none", textTransform: "none",
minWidth: "fit-content", minWidth: "fit-content",
padding: `${theme.spacing(6)}px ${theme.spacing(4)}px`, padding: `${theme.spacing(6)}px ${theme.spacing(4)}px`,
fontWeight: 400, fontWeight: 400,
"&:focus-visible": { "&:focus-visible": {
color: theme.palette.primary.contrastText, color: theme.palette.primary.contrastText,
borderColor: theme.palette.tertiary.contrastText, borderColor: theme.palette.tertiary.contrastText,
borderRightColor: theme.palette.primary.lowContrast, borderRightColor: theme.palette.primary.lowContrast,
}, },
"&.Mui-selected": { "&.Mui-selected": {
color: theme.palette.secondary.contrastText, color: theme.palette.secondary.contrastText,
}, },
"&:hover": { "&:hover": {
borderColor: theme.palette.primary.lowContrast, borderColor: theme.palette.primary.lowContrast,
}, },
}), }),
}, },
variants: [ variants: [
{ {
props: { orientation: 'vertical' }, props: { orientation: "vertical" },
style: ({ theme }) => ({ style: ({ theme }) => ({
alignItems: 'flex-start', alignItems: "flex-start",
padding: `${theme.spacing(1)}px ${theme.spacing(2)}px ${theme.spacing(1)}px ${theme.spacing(6)}px`, padding: `${theme.spacing(1)}px ${theme.spacing(2)}px ${theme.spacing(1)}px ${theme.spacing(6)}px`,
minHeight: theme.spacing(12), minHeight: theme.spacing(12),
color: theme.palette.primary.contrastText, color: theme.palette.primary.contrastText,
backgroundColor: theme.palette.primary.main, backgroundColor: theme.palette.primary.main,
border: 'none', border: "none",
borderBottom: 'none', borderBottom: "none",
borderRight: 'none', borderRight: "none",
borderRadius: theme.shape.borderRadius * 3, borderRadius: theme.shape.borderRadius * 3,
margin: `${theme.spacing(1)}px ${theme.spacing(2)}px`, margin: `${theme.spacing(1)}px ${theme.spacing(2)}px`,
'&.Mui-selected': { "&.Mui-selected": {
color: theme.palette.primary.contrastText, color: theme.palette.primary.contrastText,
backgroundColor: theme.palette.tertiary.main, backgroundColor: theme.palette.tertiary.main,
opacity: 1, opacity: 1,
border: 'none', border: "none",
borderBottom: 'none', borderBottom: "none",
borderRight: 'none', borderRight: "none",
borderRadius: theme.shape.borderRadius * 3, borderRadius: theme.shape.borderRadius * 3,
minHeight: theme.spacing(14) minHeight: theme.spacing(14),
}, },
'&:hover': { "&:hover": {
backgroundColor: theme.palette.tertiary.main, backgroundColor: theme.palette.tertiary.main,
border: 'none', border: "none",
borderRadius: theme.shape.borderRadius * 3, borderRadius: theme.shape.borderRadius * 3,
minHeight: theme.spacing(14) minHeight: theme.spacing(14),
} },
}), }),
}, },
], ],
}, },
MuiSvgIcon: { MuiSvgIcon: {
styleOverrides: { styleOverrides: {
root: ({ theme }) => ({ root: ({ theme }) => ({
@@ -431,25 +431,25 @@ const baseTheme = (palette) => ({
}, },
MuiTabs: { MuiTabs: {
styleOverrides: { styleOverrides: {
root: ({ theme }) => ({ root: ({ theme }) => ({
display: 'inline-flex', display: "inline-flex",
borderRadius: 0, borderRadius: 0,
"& .MuiTabs-indicator": { "& .MuiTabs-indicator": {
backgroundColor: theme.palette.tertiary.contrastText, backgroundColor: theme.palette.tertiary.contrastText,
}, },
}), }),
}, },
variants: [ variants: [
{ {
props: { orientation: 'vertical' }, props: { orientation: "vertical" },
style: { style: {
"& .MuiTabs-indicator": { "& .MuiTabs-indicator": {
display: 'none', display: "none",
} },
},
}, },
},
], ],
}, },
MuiSwitch: { MuiSwitch: {
styleOverrides: { styleOverrides: {
root: ({ theme }) => ({ root: ({ theme }) => ({