Added new "white" theme

• Added:
- new "white" theme which makes navigation bar white and sets appropriate styles for children
This commit is contained in:
mgabdev
2020-11-03 15:12:24 -06:00
parent 20f9e82959
commit e40f7e6765
8 changed files with 52 additions and 12 deletions

View File

@@ -14,9 +14,10 @@ class PlaceholderLayout extends React.PureComponent {
viewBox,
} = this.props
const isLight = ['light', 'white'].indexOf(theme) > -1
const title = intl.formatMessage(messages.loading)
const backgroundColor = theme !== 'light' ? '#555' : '#f3f3f3'
const foregroundColor = theme !== 'light' ? '#888' : '#ecebeb'
const backgroundColor = !isLight ? '#555' : '#f3f3f3'
const foregroundColor = !isLight ? '#888' : '#ecebeb'
return (
<ContentLoader