From bb5acf97c64b735f15cb6cd53d725fdff0abce21 Mon Sep 17 00:00:00 2001 From: liyasthomas Date: Sat, 1 Jan 2022 19:32:34 +0530 Subject: [PATCH] feat: keyboard shortcuts for themes --- .../hoppscotch-app/assets/scss/styles.scss | 1 + .../components/app/PowerSearch.vue | 2 +- packages/hoppscotch-app/helpers/actions.ts | 4 +++ packages/hoppscotch-app/helpers/shortcuts.js | 28 +++++++++++++++++++ packages/hoppscotch-app/layouts/default.vue | 14 +++++++++- packages/hoppscotch-app/locales/af.json | 13 +++++++-- packages/hoppscotch-app/locales/ar.json | 13 +++++++-- packages/hoppscotch-app/locales/ca.json | 13 +++++++-- packages/hoppscotch-app/locales/cn.json | 13 +++++++-- packages/hoppscotch-app/locales/cs.json | 13 +++++++-- packages/hoppscotch-app/locales/da.json | 13 +++++++-- packages/hoppscotch-app/locales/de.json | 13 +++++++-- packages/hoppscotch-app/locales/el.json | 13 +++++++-- packages/hoppscotch-app/locales/en.json | 13 +++++++-- packages/hoppscotch-app/locales/es.json | 13 +++++++-- packages/hoppscotch-app/locales/fi.json | 13 +++++++-- packages/hoppscotch-app/locales/fr.json | 13 +++++++-- packages/hoppscotch-app/locales/he.json | 13 +++++++-- packages/hoppscotch-app/locales/hu.json | 13 +++++++-- packages/hoppscotch-app/locales/it.json | 13 +++++++-- packages/hoppscotch-app/locales/ja.json | 13 +++++++-- packages/hoppscotch-app/locales/ko.json | 13 +++++++-- packages/hoppscotch-app/locales/nl.json | 13 +++++++-- packages/hoppscotch-app/locales/no.json | 13 +++++++-- packages/hoppscotch-app/locales/pl.json | 13 +++++++-- packages/hoppscotch-app/locales/pt-br.json | 13 +++++++-- packages/hoppscotch-app/locales/pt.json | 13 +++++++-- packages/hoppscotch-app/locales/ro.json | 13 +++++++-- packages/hoppscotch-app/locales/ru.json | 13 +++++++-- packages/hoppscotch-app/locales/sr.json | 13 +++++++-- packages/hoppscotch-app/locales/sv.json | 22 +++++++++++---- packages/hoppscotch-app/locales/tr.json | 13 +++++++-- packages/hoppscotch-app/locales/tw.json | 22 +++++++++++---- packages/hoppscotch-app/locales/uk.json | 13 +++++++-- packages/hoppscotch-app/locales/vi.json | 13 +++++++-- 35 files changed, 359 insertions(+), 98 deletions(-) diff --git a/packages/hoppscotch-app/assets/scss/styles.scss b/packages/hoppscotch-app/assets/scss/styles.scss index 05b2456cb..cd495080d 100644 --- a/packages/hoppscotch-app/assets/scss/styles.scss +++ b/packages/hoppscotch-app/assets/scss/styles.scss @@ -452,6 +452,7 @@ pre.ace_editor { @apply rounded; @apply ml-2; @apply px-1; + @apply transition; } .capitalize-first { diff --git a/packages/hoppscotch-app/components/app/PowerSearch.vue b/packages/hoppscotch-app/components/app/PowerSearch.vue index b9ae1ca81..9e7413807 100644 --- a/packages/hoppscotch-app/components/app/PowerSearch.vue +++ b/packages/hoppscotch-app/components/app/PowerSearch.vue @@ -6,7 +6,7 @@ @close="$emit('hide-modal')" >