feat: add support to rename flow step

This commit is contained in:
Ali BARIN
2025-01-07 13:46:07 +00:00
parent 583c09ce40
commit e29e71bdf1
9 changed files with 140 additions and 30 deletions

View File

@@ -158,6 +158,10 @@ export const defaultTheme = createTheme({
fontSize: referenceTheme.typography.pxToRem(16),
},
},
stepApp: {
fontSize: referenceTheme.typography.pxToRem(12),
color: '#5C5C5C',
},
},
components: {
MuiAppBar: {
@@ -211,6 +215,23 @@ export const defaultTheme = createTheme({
}),
},
},
MuiChip: {
variants: [
{
props: { variant: 'stepType' },
style: ({ theme }) => ({
color: '#001F52',
fontSize: theme.typography.pxToRem(12),
border: '1px solid',
borderColor: alpha(theme.palette.primary.main, 0.3),
bgcolor: alpha(
theme.palette.primary.main,
theme.palette.action.selectedOpacity,
),
}),
},
],
},
MuiContainer: {
defaultProps: {
maxWidth: 'xl',
@@ -294,6 +315,7 @@ export const defaultTheme = createTheme({
},
},
});
export const mationTheme = createTheme(
deepmerge(defaultTheme, {
palette: {
@@ -315,4 +337,5 @@ export const mationTheme = createTheme(
},
}),
);
export default defaultTheme;