From eed9223b7751c4368a0e902d07fb913b5e87e1f9 Mon Sep 17 00:00:00 2001 From: Anatoly Date: Sun, 8 Aug 2021 21:41:09 +0300 Subject: [PATCH] New font --- src/assets/trash.svg | 2 +- src/components/TheCategoryBar.vue | 3 ++- src/scss/_variables.scss | 4 ++-- src/scss/style.scss | 8 +++++++- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/assets/trash.svg b/src/assets/trash.svg index c408094..d341336 100644 --- a/src/assets/trash.svg +++ b/src/assets/trash.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/components/TheCategoryBar.vue b/src/components/TheCategoryBar.vue index 1420e1b..52cda3d 100644 --- a/src/components/TheCategoryBar.vue +++ b/src/components/TheCategoryBar.vue @@ -36,9 +36,10 @@ export default { }; }, methods: { - addCategory() { + addCategory(event) { this.$store.commit('addCategory', this.newCategory); this.newCategory = ''; + this.blurInput(event); }, removeCategory(category) { this.$store.commit('removeCategory', category); diff --git a/src/scss/_variables.scss b/src/scss/_variables.scss index 9be2836..94f481b 100644 --- a/src/scss/_variables.scss +++ b/src/scss/_variables.scss @@ -1,6 +1,6 @@ -$dark: #1f1f1f; +$dark: #252525; $darker: #121212; -$light: rgb(219, 219, 219); +$light: #f7f7f7; $lighter: white; diff --git a/src/scss/style.scss b/src/scss/style.scss index 650032a..d59b892 100644 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -1,7 +1,9 @@ @import 'reset-css'; +@import url('https://fonts.googleapis.com/css2?family=Scada:wght@400;700&display=swap'); + #app { - font-family: Avenir, Helvetica, Arial, sans-serif; + font-family: 'Scada', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-size: 16px; @@ -20,6 +22,10 @@ color: $dark; opacity: 1; } + + &:focus-visible { + outline: none; + } } .category {