diff options
Diffstat (limited to 'electron/src')
| -rw-r--r-- | electron/src/renderer/components/InstallPalettes.vue | 12 | ||||
| -rw-r--r-- | electron/src/renderer/main.js | 14 |
2 files changed, 19 insertions, 7 deletions
diff --git a/electron/src/renderer/components/InstallPalettes.vue b/electron/src/renderer/components/InstallPalettes.vue index 728088b8..3a3c7c7c 100644 --- a/electron/src/renderer/components/InstallPalettes.vue +++ b/electron/src/renderer/components/InstallPalettes.vue @@ -11,14 +11,14 @@ <translate>Ink/Stitch can install palettes for Inkscape matching the thread colors from popular machine embroidery thread manufacturers. </translate> </v-card-text> - <v-file-input class="mb-3" webkitdirectory hide-details v-model="path" color="rgb(0,51,153)" + <v-file-input class="mb-3" webkitdirectory hide-details v-model="path" :label="$gettext('Choose Inkscape directory')"></v-file-input> <v-card-actions> - <v-btn text color="rgb(0,51,153)" v-on:click="install"> + <v-btn text color="primary" v-on:click="install"> <v-icon>mdi-palette</v-icon> <translate>Install</translate> </v-btn> - <v-btn text color="rgb(0,51,153)" v-on:click="close"> + <v-btn text color="primary" v-on:click="close"> <translate>Cancel</translate> </v-btn> </v-card-actions> @@ -36,7 +36,7 @@ </translate> </v-card-text> <v-card-actions> - <v-btn text color="rgb(0,51,153)" v-on:click="close"> + <v-btn text color="primary" v-on:click="close"> Done </v-btn> </v-card-actions> @@ -54,10 +54,10 @@ {{ error }} </v-card-text> <v-card-actions> - <v-btn text color="rgb(0,51,153)" v-on:click="retry"> + <v-btn text color="primary" v-on:click="retry"> <translate>Try again</translate> </v-btn> - <v-btn text color="rgb(0,51,153)" v-on:click="close"> + <v-btn text color="primary" v-on:click="close"> <translate>Cancel</translate> </v-btn> </v-card-actions> diff --git a/electron/src/renderer/main.js b/electron/src/renderer/main.js index 95d9dbf1..25a3f7f1 100644 --- a/electron/src/renderer/main.js +++ b/electron/src/renderer/main.js @@ -81,7 +81,19 @@ Vue.http = Vue.prototype.$http = axios Vue.config.productionTip = false Vue.use(Vuetify) -let vuetify = new Vuetify({}) +const vuetify = new Vuetify({ + theme: { + themes: { + light: { + primary: '#003399', + secondary: '#000000', + accent: '#8c9eff', + error: '#b71c1c', + }, + }, + }, +}) + /* eslint-disable no-new */ new Vue({ vuetify, |
