💄 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() { 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

View File

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

View File

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

View File

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

View File

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