💄 Adds color variable for progress bar

This commit is contained in:
Alicia Sykes 2021-08-28 13:48:02 +01:00
parent 4f3e96c506
commit 84eb2036db
5 changed files with 5 additions and 4 deletions

View File

@ -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

View File

@ -78,7 +78,7 @@ export default {
restorePassword: '',
restoreCode: '',
backupId: localStorage[localStorageKeys.BACKUP_ID] || '',
progress: new ProgressBar(),
progress: new ProgressBar({ color: 'var(--progress-bar)' }),
};
},
components: {

View File

@ -90,7 +90,7 @@ export default {
responseText: '',
saveSuccess: undefined,
allowWriteToDisk: this.shouldAllowWriteToDisk(),
progress: new ProgressBar(),
progress: new ProgressBar({ color: 'var(--progress-bar)' }),
};
},
computed: {

View File

@ -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 */

View File

@ -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);