From da5b78c2fc62d83963aa81d2ca9f4c8879b34271 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Wed, 20 Dec 2023 09:12:11 +0100 Subject: [PATCH 1/5] refs #6363: style: fix darkMode for LoginMain --- src/css/app.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/css/app.scss b/src/css/app.scss index 02d4f8946..5b5f53314 100644 --- a/src/css/app.scss +++ b/src/css/app.scss @@ -17,9 +17,9 @@ a { // Removes chrome autofill background input:-webkit-autofill, select:-webkit-autofill { - color: $input-text-color !important; + color: var(--vn-text) !important; font-family: $typography-font-family; - -webkit-text-fill-color: $input-text-color !important; + -webkit-text-fill-color: var(--vn-text) !important; -webkit-background-clip: text !important; background-clip: text !important; } From bce4551847df3080d6f2c190ee6ef9157d3ac781 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Wed, 20 Dec 2023 09:51:57 +0100 Subject: [PATCH 2/5] refs #6098 feat: copy userToken to clipboard --- src/components/UserPanel.vue | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/components/UserPanel.vue b/src/components/UserPanel.vue index a7504705a..aee12d105 100644 --- a/src/components/UserPanel.vue +++ b/src/components/UserPanel.vue @@ -81,6 +81,10 @@ function logout() { session.destroy(); router.push('/login'); } + +function copyUserToken(){ + navigator.clipboard.writeText(session.getToken()); +}