diff options
| author | Lex Neva <github.com@lexneva.name> | 2020-08-19 22:50:14 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2020-08-19 22:50:14 -0400 |
| commit | d528000863352d2905a4b91cd1213465cd76becf (patch) | |
| tree | e0b6f33f7693472bbcf585f6fdb96b4cab6c7721 | |
| parent | 433b2c401c33baf8a32d5c790d24bd49086fdd05 (diff) | |
set inkstitch color in vuetify theme
| -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, |
