-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #220 - organization of the themes, was placed in their appropr…
…iate folders.
- Loading branch information
Showing
3 changed files
with
18 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { createTheme } from '@mui/material/styles' | ||
|
||
const darkTheme = createTheme({ | ||
palette: { | ||
mode: 'dark', | ||
}, | ||
}) | ||
|
||
export default darkTheme |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,12 @@ | ||
import { createTheme } from '@mui/material/styles' | ||
|
||
const light = createTheme({ | ||
const lightTheme = createTheme({ | ||
palette: { | ||
primary: { | ||
light: '#4f5964', | ||
main: '#283663', | ||
dark: '#24292e' | ||
}, | ||
secondary: { | ||
main: '#ffdd00' | ||
}, | ||
success: { | ||
main: '#4caf50' | ||
}, | ||
error: { | ||
main: '#ca2c0c' | ||
}, | ||
mode: 'light', | ||
background: { | ||
default: '#f5f5f5' | ||
default: '#f1f1f1', | ||
}, | ||
text: { | ||
primary: 'rgba(18,48,78,0.87)', | ||
secondary: 'rgba(18,48,78,0.6)', | ||
disabled: 'rgba(18,48,78,0.38)' | ||
} | ||
} | ||
}, | ||
}) | ||
|
||
export default light | ||
export default lightTheme |