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() {
|
||||
return {
|
||||
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
|
||||
checksEnabled: true, // Should we check for updates
|
||||
isUpToDate: true, // Is current version === latest version
|
||||
|
|
|
@ -78,7 +78,7 @@ export default {
|
|||
restorePassword: '',
|
||||
restoreCode: '',
|
||||
backupId: localStorage[localStorageKeys.BACKUP_ID] || '',
|
||||
progress: new ProgressBar(),
|
||||
progress: new ProgressBar({ color: 'var(--progress-bar)' }),
|
||||
};
|
||||
},
|
||||
components: {
|
||||
|
|
|
@ -90,7 +90,7 @@ export default {
|
|||
responseText: '',
|
||||
saveSuccess: undefined,
|
||||
allowWriteToDisk: this.shouldAllowWriteToDisk(),
|
||||
progress: new ProgressBar(),
|
||||
progress: new ProgressBar({ color: 'var(--progress-bar)' }),
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
|
|
|
@ -70,7 +70,7 @@ export default {
|
|||
output: '',
|
||||
message: '',
|
||||
allowRebuild: true,
|
||||
progress: new ProgressBar(),
|
||||
progress: new ProgressBar({ color: 'var(--progress-bar)' }),
|
||||
}),
|
||||
methods: {
|
||||
/* Calls to the rebuild endpoint, to kickoff the app build */
|
||||
|
|
|
@ -98,6 +98,7 @@
|
|||
--scroll-bar-background: var(--background-darker);
|
||||
--highlight-color: var(--background);
|
||||
--highlight-background: var(--primary);
|
||||
--progress-bar: var(--primary);
|
||||
// Misc components
|
||||
--loading-screen-color: var(--primary);
|
||||
--loading-screen-background: var(--background);
|
||||
|
|
Loading…
Reference in New Issue