From 896d1b784b6fd16692412a254f4f0937132b0ab4 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Wed, 20 May 2026 10:45:36 -0700 Subject: [PATCH] add a colored label --- .../design-elements/StatusLabel.tsx | 20 +++++++++++++++++++ client/src/Components/sidebar/Menu.tsx | 5 +++-- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/client/src/Components/design-elements/StatusLabel.tsx b/client/src/Components/design-elements/StatusLabel.tsx index d50058378..ee9a749c2 100644 --- a/client/src/Components/design-elements/StatusLabel.tsx +++ b/client/src/Components/design-elements/StatusLabel.tsx @@ -93,3 +93,23 @@ export const ValueLabel = ({ value, text }: { value: ValueType; text: string }) ); }; + +export const ColoredLabel = ({ text, color }: { text: string; color: string }) => { + const theme = useTheme(); + + return ( + + {text} + + ); +}; diff --git a/client/src/Components/sidebar/Menu.tsx b/client/src/Components/sidebar/Menu.tsx index dae273575..8064a18ac 100644 --- a/client/src/Components/sidebar/Menu.tsx +++ b/client/src/Components/sidebar/Menu.tsx @@ -17,6 +17,7 @@ import { User, Lock, Users, + Tag, } from "lucide-react"; export const getMenu = (t: Function) => { @@ -42,9 +43,9 @@ export const getMenu = (t: Function) => { icon: , }, { - name: t("components.sidebar.menu.notifications"), + name: t("components.sidebar.menu.tags"), path: "tags", - icon: , + icon: , }, { name: t("components.sidebar.menu.checks"),