From 1c9fe1a3d97955ebf57a3b11fc978c1a8652a9a8 Mon Sep 17 00:00:00 2001 From: Tobias Frischmann Date: Thu, 8 Oct 2026 09:12:06 +0200 Subject: [PATCH] use darkend color for tag outline --- app/components/Utils/Label/TagLabel.vue | 5 ++ app/utils/color.ts | 68 +++++++++++++++++++++---- 2 files changed, 64 insertions(+), 9 deletions(-) diff --git a/app/components/Utils/Label/TagLabel.vue b/app/components/Utils/Label/TagLabel.vue index 38402e9..39b9386 100644 --- a/app/components/Utils/Label/TagLabel.vue +++ b/app/components/Utils/Label/TagLabel.vue @@ -19,6 +19,10 @@ ? getContrastColor(props.label.color) : props.label.color; }); + + const borderColor = computed(() => { + return props.isSelected ? darkenHex(props.label.color, 25) : undefined; + });