From ce551d4a5bf75820dd6500fff38d242ee73727c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20Ku=C4=87mierz?= Date: Thu, 17 Nov 2022 11:19:48 +0100 Subject: [PATCH] add settings template; turn off save shortcut --- src/App.vue | 9 +++++-- src/assets/main.scss | 50 ++++++++++++++++++++++++++++++++++++-- src/views/SettingsView.vue | 32 ++++++++++++++++++++---- 3 files changed, 82 insertions(+), 9 deletions(-) diff --git a/src/App.vue b/src/App.vue index df89507..cb89015 100644 --- a/src/App.vue +++ b/src/App.vue @@ -15,6 +15,11 @@ export default defineComponent({ const cmdCtrl = e.ctrlKey || e.metaKey; + // console.log(e.keyCode); + if (cmdCtrl && e.keyCode === 83) { + console.log('share'); + e.preventDefault(); + } if (cmdCtrl && e.keyCode === COMMA_CODE) { this.$router.push({ name: 'settings' }); e.preventDefault(); @@ -35,10 +40,10 @@ export default defineComponent({ }); - diff --git a/src/assets/main.scss b/src/assets/main.scss index d4f768b..1028c17 100644 --- a/src/assets/main.scss +++ b/src/assets/main.scss @@ -1,7 +1,53 @@ @import 'normalize.css'; -/*@import 'primevue/resources/primevue.min.css';*/ -/*@import 'primevue/resources/themes/saga-blue/theme.css';*/ +// @import 'primeicons/primeicons.css'; +@import 'primevue/resources/primevue.min.css'; + @import 'primevue/resources/themes/bootstrap4-dark-blue/theme.css'; +// @import 'primevue/resources/themes/bootstrap4-light-blue/theme.css'; +// @import 'primevue/resources/themes/bootstrap4-light-purple/theme.css'; +// @import 'primevue/resources/themes/bootstrap4-dark-blue/theme.css'; +// @import 'primevue/resources/themes/bootstrap4-dark-purple/theme.css'; +// @import 'primevue/resources/themes/md-light-indigo/theme.css'; +// @import 'primevue/resources/themes/md-light-deeppurple/theme.css'; +// @import 'primevue/resources/themes/md-dark-indigo/theme.css'; +// @import 'primevue/resources/themes/md-dark-deeppurple/theme.css'; +// @import 'primevue/resources/themes/mdc-light-indigo/theme.css'; +// @import 'primevue/resources/themes/mdc-light-deeppurple/theme.css'; +// @import 'primevue/resources/themes/mdc-dark-indigo/theme.css'; +// @import 'primevue/resources/themes/mdc-dark-deeppurple/theme.css'; +// @import 'primevue/resources/themes/tailwind-light/theme.css'; +// @import 'primevue/resources/themes/fluent-light/theme.css'; +// @import 'primevue/resources/themes/lara-light-indigo/theme.css'; +// @import 'primevue/resources/themes/lara-dark-indigo/theme.css'; +// @import 'primevue/resources/themes/lara-light-purple/theme.css'; +// @import 'primevue/resources/themes/lara-dark-purple/theme.css'; +// @import 'primevue/resources/themes/lara-light-blue/theme.css'; +// @import 'primevue/resources/themes/lara-dark-blue/theme.css'; +// @import 'primevue/resources/themes/lara-light-teal/theme.css'; +// @import 'primevue/resources/themes/lara-dark-teal/theme.css'; +// @import 'primevue/resources/themes/saga-blue/theme.css'; +// @import 'primevue/resources/themes/saga-green/theme.css'; +// @import 'primevue/resources/themes/saga-orange/theme.css'; +// @import 'primevue/resources/themes/saga-purple/theme.css'; +// @import 'primevue/resources/themes/vela-blue/theme.css'; +// @import 'primevue/resources/themes/vela-green/theme.css'; +// @import 'primevue/resources/themes/vela-orange/theme.css'; +// @import 'primevue/resources/themes/vela-purple/theme.css'; +// @import 'primevue/resources/themes/arya-blue/theme.css'; +// @import 'primevue/resources/themes/arya-green/theme.css'; +// @import 'primevue/resources/themes/arya-orange/theme.css'; +// @import 'primevue/resources/themes/arya-purple/theme.css'; +// @import 'primevue/resources/themes/nova/theme.css'; +// @import 'primevue/resources/themes/nova-alt/theme.css'; +// @import 'primevue/resources/themes/nova-accent/theme.css'; +// @import 'primevue/resources/themes/nova-vue/theme.css'; +// @import 'primevue/resources/themes/luna-amber/theme.css'; +// @import 'primevue/resources/themes/luna-blue/theme.css'; +// @import 'primevue/resources/themes/luna-green/theme.css'; +// @import 'primevue/resources/themes/luna-pink/theme.css'; +// @import 'primevue/resources/themes/rhea/theme.css'; + +// @import 'primevue/resources/themes/saga-blue/theme.css'; html, body { height: 100%; diff --git a/src/views/SettingsView.vue b/src/views/SettingsView.vue index d8183de..9080625 100644 --- a/src/views/SettingsView.vue +++ b/src/views/SettingsView.vue @@ -1,8 +1,11 @@ + + - -