From 547b75a55eceb1b05f3c9b3c3630a5c6a081bad1 Mon Sep 17 00:00:00 2001 From: Pujit Mehrotra Date: Mon, 25 Nov 2024 12:12:26 -0500 Subject: [PATCH] fix(web): notification styles & alignment (#968) * fix(web): notification icon & indicator colors * fix(web): notification item text size & weights * fix(web): notification button styles * fix(web): notification filter styles * fix(web): Tab List styles * fix(web): link button styles * fix(web): vertical spacing in notifications sidebar * fix(web): notification sidebar link styles * refactor(web): change default button border radius to rounded instead of rounded-md * fix(web): Notification Item alignment with other elements * refactor(web): add tw color palettes for unraid-green & unraid-red --- web/components/Notifications/Indicator.vue | 8 +-- web/components/Notifications/Item.vue | 53 ++++++++----------- web/components/Notifications/List.vue | 2 +- web/components/Notifications/Sidebar.vue | 27 +++++----- web/components/shadcn/button/index.ts | 25 ++++----- .../shadcn/select/SelectTrigger.vue | 2 +- web/components/shadcn/tabs/TabsList.vue | 2 +- web/components/shadcn/tabs/TabsTrigger.vue | 2 +- web/tailwind.config.ts | 35 +++++++++++- 9 files changed, 88 insertions(+), 68 deletions(-) diff --git a/web/components/Notifications/Indicator.vue b/web/components/Notifications/Indicator.vue index a78e2456e..dc5cbce37 100644 --- a/web/components/Notifications/Indicator.vue +++ b/web/components/Notifications/Indicator.vue @@ -43,7 +43,7 @@ const icon = computed<{ component: Component; color: string } | null>(() => { case Importance.Alert: return { component: ShieldExclamationIcon, - color: 'text-red-500', + color: 'text-unraid-red', }; } return null; @@ -73,10 +73,10 @@ watch(overview, (newVal, oldVal) => {
diff --git a/web/components/Notifications/Item.vue b/web/components/Notifications/Item.vue index 36fda5150..05f42c631 100644 --- a/web/components/Notifications/Item.vue +++ b/web/components/Notifications/Item.vue @@ -1,4 +1,5 @@