Updated PlaceholderLayout style to be default light if theme empty
• Updated: - PlaceholderLayout style to be default light if theme empty
This commit is contained in:
parent
82778ddad0
commit
d2bba43916
@ -14,7 +14,7 @@ class PlaceholderLayout extends React.PureComponent {
|
|||||||
viewBox,
|
viewBox,
|
||||||
} = this.props
|
} = this.props
|
||||||
|
|
||||||
const isLight = ['light', 'white'].indexOf(theme) > -1
|
const isLight = ['light', 'white', ''].indexOf(theme) > -1
|
||||||
const title = intl.formatMessage(messages.loading)
|
const title = intl.formatMessage(messages.loading)
|
||||||
const backgroundColor = !isLight ? '#555' : '#f3f3f3'
|
const backgroundColor = !isLight ? '#555' : '#f3f3f3'
|
||||||
const foregroundColor = !isLight ? '#888' : '#ecebeb'
|
const foregroundColor = !isLight ? '#888' : '#ecebeb'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user