From 3a79806c0f024efdd382fb91f0b5333ffa04eb83 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Mon, 23 Aug 2021 10:20:55 +0200 Subject: [PATCH] Accessibility improvements in AccountSettings Signed-off-by: Thomas Citharel --- js/src/variables.scss | 2 +- js/src/views/Settings/AccountSettings.vue | 18 ++++++++++++++---- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/js/src/variables.scss b/js/src/variables.scss index 02942a8c..f402b5bf 100644 --- a/js/src/variables.scss +++ b/js/src/variables.scss @@ -54,7 +54,7 @@ $success-invert: findColorInvert($success); $info: #36bcd4; $info-invert: findColorInvert($info); $danger: #ff2e54; -$danger-invert: findColorInvert($danger); +$danger-invert: #000; $link: $primary; $link-invert: $primary-invert; $text: $violet-1; diff --git a/js/src/views/Settings/AccountSettings.vue b/js/src/views/Settings/AccountSettings.vue index 317b2490..9c5a9e03 100644 --- a/js/src/views/Settings/AccountSettings.vue +++ b/js/src/views/Settings/AccountSettings.vue @@ -51,20 +51,22 @@ class="form" v-if="canChangeEmail" > - +

{{ $t("You'll receive a confirmation email.") }}

- + - + - + @@ -409,6 +413,12 @@ export default class AccountSettings extends Vue {