From 030a2127ee6781966eb667b300e5561eeac2ed03 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Tue, 22 Oct 2024 17:06:22 +0300 Subject: [PATCH] proper fallbacks and contrast ratio for component style editor --- src/components/color_input/color_input.vue | 10 +++- .../contrast_ratio/contrast_ratio.vue | 41 +++++++++----- .../tabs/style_tab/style_tab.js | 30 +++++++++- .../tabs/style_tab/style_tab.vue | 55 ++++++++++++------- .../tabs/theme_tab/theme_tab.vue | 4 +- .../shadow_control/shadow_control.vue | 2 +- src/i18n/en.json | 1 + 7 files changed, 101 insertions(+), 42 deletions(-) diff --git a/src/components/color_input/color_input.vue b/src/components/color_input/color_input.vue index a09325a8..418fb18c 100644 --- a/src/components/color_input/color_input.vue +++ b/src/components/color_input/color_input.vue @@ -11,7 +11,7 @@ {{ label }} - + {{ contrast.text }} + + - + - + - + - - + - + - + - + - +