-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create theme file and other small tweaks - Separate out the theme into its own file - Fix typo - Move a button to a more logical place in the code (the css places it correctly regardless so the code placement is just helpful to those reading the code) * Rename CodeMirrorComponent -> CodeEditor and ConsoleComponent -> Console * Move tests folder out of src * Rename FSHOutput -> FSHEditor and JSONOutput -> JSONEditor
- Loading branch information
Showing
28 changed files
with
143 additions
and
144 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
File renamed without changes.
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
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
File renamed without changes.
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,55 @@ | ||
import { createTheme } from '@material-ui/core/styles'; | ||
|
||
const colors = { | ||
lighterBlue: '#D8E2EA', | ||
lightBlue: '#487AA2', | ||
blue: '#30638e', | ||
darkerBlue: '#143E61', | ||
editorGrey: '#263238', | ||
lightestGrey: '#E7ECEE', | ||
lightGrey: '#D0D9DD', | ||
grey: '#575B5C', | ||
darkerGrey: '#3D4345', | ||
darkestGrey: '#121D21', | ||
red: '#FD6668' | ||
}; | ||
|
||
const theme = createTheme({ | ||
palette: { | ||
success: { | ||
main: colors.blue, | ||
dark: colors.darkerBlue, | ||
light: colors.lightBlue | ||
}, | ||
common: colors | ||
}, | ||
typography: { | ||
fontFamily: 'Open Sans' | ||
}, | ||
overrides: { | ||
MuiTooltip: { | ||
tooltip: { | ||
backgroundColor: colors.darkestGrey, | ||
fontSize: '13px' | ||
}, | ||
arrow: { | ||
color: colors.darkestGrey | ||
} | ||
}, | ||
MuiButton: { | ||
text: { | ||
textTransform: 'none', | ||
fontWeight: 600 | ||
} | ||
}, | ||
MuiIconButton: { | ||
root: { | ||
'&:hover': { | ||
backgroundColor: colors.grey | ||
} | ||
} | ||
} | ||
} | ||
}); | ||
|
||
export default theme; |
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
Oops, something went wrong.