mirror of https://github.com/Lissy93/dashy.git
💄 Adds color variable for progress bar
This commit is contained in:
parent
4f3e96c506
commit
84eb2036db
|
@ -40,7 +40,7 @@ export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
appVersion: process.env.VUE_APP_VERSION, // Current version, from package.json
|
appVersion: process.env.VUE_APP_VERSION, // Current version, from package.json
|
||||||
progress: new ProgressBar(),
|
progress: new ProgressBar({ color: 'var(--progress-bar)' }),
|
||||||
latestVersion: '', // Will store latest version, when request returns
|
latestVersion: '', // Will store latest version, when request returns
|
||||||
checksEnabled: true, // Should we check for updates
|
checksEnabled: true, // Should we check for updates
|
||||||
isUpToDate: true, // Is current version === latest version
|
isUpToDate: true, // Is current version === latest version
|
||||||
|
|
|
@ -78,7 +78,7 @@ export default {
|
||||||
restorePassword: '',
|
restorePassword: '',
|
||||||
restoreCode: '',
|
restoreCode: '',
|
||||||
backupId: localStorage[localStorageKeys.BACKUP_ID] || '',
|
backupId: localStorage[localStorageKeys.BACKUP_ID] || '',
|
||||||
progress: new ProgressBar(),
|
progress: new ProgressBar({ color: 'var(--progress-bar)' }),
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -90,7 +90,7 @@ export default {
|
||||||
responseText: '',
|
responseText: '',
|
||||||
saveSuccess: undefined,
|
saveSuccess: undefined,
|
||||||
allowWriteToDisk: this.shouldAllowWriteToDisk(),
|
allowWriteToDisk: this.shouldAllowWriteToDisk(),
|
||||||
progress: new ProgressBar(),
|
progress: new ProgressBar({ color: 'var(--progress-bar)' }),
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
|
@ -70,7 +70,7 @@ export default {
|
||||||
output: '',
|
output: '',
|
||||||
message: '',
|
message: '',
|
||||||
allowRebuild: true,
|
allowRebuild: true,
|
||||||
progress: new ProgressBar(),
|
progress: new ProgressBar({ color: 'var(--progress-bar)' }),
|
||||||
}),
|
}),
|
||||||
methods: {
|
methods: {
|
||||||
/* Calls to the rebuild endpoint, to kickoff the app build */
|
/* Calls to the rebuild endpoint, to kickoff the app build */
|
||||||
|
|
|
@ -98,6 +98,7 @@
|
||||||
--scroll-bar-background: var(--background-darker);
|
--scroll-bar-background: var(--background-darker);
|
||||||
--highlight-color: var(--background);
|
--highlight-color: var(--background);
|
||||||
--highlight-background: var(--primary);
|
--highlight-background: var(--primary);
|
||||||
|
--progress-bar: var(--primary);
|
||||||
// Misc components
|
// Misc components
|
||||||
--loading-screen-color: var(--primary);
|
--loading-screen-color: var(--primary);
|
||||||
--loading-screen-background: var(--background);
|
--loading-screen-background: var(--background);
|
||||||
|
|
Loading…
Reference in New Issue