Skip to content

Commit

Permalink
fix(themeModeTransition): make theme mode transition last longer
Browse files Browse the repository at this point in the history
  • Loading branch information
Clm-Roig committed Apr 11, 2022
1 parent 45b3313 commit 84fda3c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/config/CustomTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,25 @@ const MIDDLE_BLUE = {
main: '#80CBC4'
};

const THEME_MODE_TRANSITION = '0.5s ease';

export const components = {
MuiPaper: {
styleOverrides: {
root: {
transition:
'background-image ' + THEME_MODE_TRANSITION + ', background ' + THEME_MODE_TRANSITION + ''
}
}
},
MuiContainer: {
styleOverrides: {
root: {
transition:
'background-image ' + THEME_MODE_TRANSITION + ', background ' + THEME_MODE_TRANSITION + ''
}
}
},
MuiTabs: {
styleOverrides: {
indicator: {
Expand Down

0 comments on commit 84fda3c

Please sign in to comment.