diff --git a/gui/package.json b/gui/package.json index c0014d0e..fbd7c20d 100644 --- a/gui/package.json +++ b/gui/package.json @@ -43,6 +43,7 @@ "prettier": "^1.18.2", "sass": "^1.19.0", "sass-loader": "^8.0.0", + "css-loader": "^5.2.0", "vue-template-compiler": "^2.6.10" } } diff --git a/gui/src/assets/font/Inter-Regular.otf b/gui/src/assets/font/Inter-Regular.otf new file mode 100644 index 00000000..84e6a61c Binary files /dev/null and b/gui/src/assets/font/Inter-Regular.otf differ diff --git a/gui/src/assets/scss/reset.scss b/gui/src/assets/scss/reset.scss index 7fe23f50..61e15ef5 100644 --- a/gui/src/assets/scss/reset.scss +++ b/gui/src/assets/scss/reset.scss @@ -63,4 +63,13 @@ html{ .control:last-of-type:not(:first-of-type) > *:first-child{ border-radius: 0 4px 4px 0 !important; +} + +@font-face { + font-family: sarasa mono sc1; + src: url("~@/assets//font/Inter-Regular.otf") +} + +.code-font { + font-family: sarasa mono sc1, Consolas, monospace, Monaco, Menlo, Courier New; } \ No newline at end of file diff --git a/gui/src/components/modalCustomRoutingA.vue b/gui/src/components/modalCustomRoutingA.vue index ce23b57a..f032359e 100644 --- a/gui/src/components/modalCustomRoutingA.vue +++ b/gui/src/components/modalCustomRoutingA.vue @@ -14,6 +14,10 @@ class="full-min-height" custom-class="full-min-height horizon-scroll code-font" :placeholder="$t('routingA.messages.0')" + autocomplete="off" + autocorrect="off" + autocapitalize="off" + spellcheck="false" />