mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
feat: guess best values for loadingIndicator by other options
This commit is contained in:
parent
b61698f44c
commit
8b4fbac10b
@ -114,9 +114,9 @@ Options.from = function (_options) {
|
||||
options.loadingIndicator = Object.assign(
|
||||
{
|
||||
name: 'default',
|
||||
color: '#D3D3D3',
|
||||
color: (options.loading && options.loading.color) || '#D3D3D3',
|
||||
color2: '#F5F5F5',
|
||||
background: 'white',
|
||||
background: (options.manifest && options.manifest.theme_color) || 'white',
|
||||
dev: options.dev,
|
||||
loading: options.messages.loading
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user