From e7fe2dc9f9e52771c2ffe8d0ee1c4e8b2e38ab2f Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 14 Nov 2018 19:39:17 +0300 Subject: collateral fixes, removed alpha control for alerts, added contrast text generation for alerts, updated getTextColor to also have fallback to black/white if resulting contrast isn't passable (only when inverting lightness!), updated UI to use tabs. --- src/components/contrast_ratio/contrast_ratio.vue | 4 +- src/components/delete_button/delete_button.vue | 2 +- src/components/notifications/notifications.scss | 10 +- src/components/style_switcher/style_switcher.js | 40 ++-- src/components/style_switcher/style_switcher.vue | 257 ++++++++++++----------- src/components/timeline/timeline.vue | 5 - 6 files changed, 158 insertions(+), 160 deletions(-) (limited to 'src/components') diff --git a/src/components/contrast_ratio/contrast_ratio.vue b/src/components/contrast_ratio/contrast_ratio.vue index a428e75f..cb65c371 100644 --- a/src/components/contrast_ratio/contrast_ratio.vue +++ b/src/components/contrast_ratio/contrast_ratio.vue @@ -1,5 +1,5 @@