From e72f00a731d7378405e4a04f019db06aa68aa4d5 Mon Sep 17 00:00:00 2001 From: atrincas Date: Thu, 19 Dec 2024 13:58:23 +0100 Subject: [PATCH] refactor tailwind config --- client/src/containers/overview/table/toolbar/index.tsx | 6 +++--- client/tailwind.config.ts | 8 +++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/client/src/containers/overview/table/toolbar/index.tsx b/client/src/containers/overview/table/toolbar/index.tsx index e8b930ca..9ab8bbf9 100644 --- a/client/src/containers/overview/table/toolbar/index.tsx +++ b/client/src/containers/overview/table/toolbar/index.tsx @@ -218,15 +218,15 @@ export default function ToolbarProjectsTable() { Each metric can go from a scale from low to high:

-
+
Low
Description of low
-
+
Medium
Description
-
+
High
Description
diff --git a/client/tailwind.config.ts b/client/tailwind.config.ts index 48ebbdf4..64b9dd1d 100644 --- a/client/tailwind.config.ts +++ b/client/tailwind.config.ts @@ -96,9 +96,11 @@ const config: Config = { 500: "#EACD3F", }, green: "#90BA36", - "ramps-green": "#A4B591", - "ramps-yellow": "#F5EBB8", - "ramps-red": "#F7BA93", + ramps: { + green: "#A4B591", + yellow: "#F5EBB8", + red: "#F7BA93", + }, "deep-ocean": "#132A47", }, borderRadius: {