From fe27a32dcb5d0b679f92c3c211c7f57589e41287 Mon Sep 17 00:00:00 2001 From: Pablo Lara Date: Wed, 9 Oct 2024 06:42:38 +0200 Subject: [PATCH] chore: change color action --- app/(prowler)/layout.tsx | 2 +- components/ui/custom/custom-button.tsx | 2 +- components/ui/sidebar/sidebar-wrap.tsx | 43 +++++++++++++------------- components/ui/sidebar/sidebar.tsx | 6 ++-- tailwind.config.js | 2 +- 5 files changed, 27 insertions(+), 28 deletions(-) diff --git a/app/(prowler)/layout.tsx b/app/(prowler)/layout.tsx index ea8d1f13bc..f606db6b1c 100644 --- a/app/(prowler)/layout.tsx +++ b/app/(prowler)/layout.tsx @@ -39,7 +39,7 @@ export default function RootLayout({ diff --git a/components/ui/custom/custom-button.tsx b/components/ui/custom/custom-button.tsx index ca266275b2..a74751801a 100644 --- a/components/ui/custom/custom-button.tsx +++ b/components/ui/custom/custom-button.tsx @@ -8,7 +8,7 @@ export const buttonClasses = { base: "px-4 inline-flex items-center justify-center relative z-0 text-center whitespace-nowrap", primary: "bg-default-100 hover:bg-default-200 text-default-800", secondary: "bg-prowler-grey-light dark:bg-prowler-grey-medium text-white", - action: "text-white bg-prowler-grey-medium dark:bg-prowler-grey-medium", + action: "bg-prowler-theme-green font-bold text-prowler-theme-midnight", dashed: "border border-default border-dashed bg-transparent justify-center whitespace-nowrap font-medium shadow-sm hover:border-solid hover:bg-default-100 active:bg-default-200 active:border-solid", transparent: "border-0 border-transparent bg-transparent", diff --git a/components/ui/sidebar/sidebar-wrap.tsx b/components/ui/sidebar/sidebar-wrap.tsx index 52434a6e1b..37aa94375e 100644 --- a/components/ui/sidebar/sidebar-wrap.tsx +++ b/components/ui/sidebar/sidebar-wrap.tsx @@ -51,28 +51,30 @@ export const SidebarWrap = () => { }, )} > -
+
- -
-
- +
+ +
+
+ +
Loading...

}> @@ -83,7 +85,6 @@ export const SidebarWrap = () => { />
-
( }} title={ item.icon ? ( -
+
( itemClasses={{ ...itemClasses, base: clsx( - "px-3 min-h-11 rounded-large h-[44px] data-[selected=true]:bg-default-100", + "px-3 rounded-large data-[selected=true]:bg-default-100", itemClasses?.base, ), title: clsx( diff --git a/tailwind.config.js b/tailwind.config.js index 31bdbfd39e..eeb0acf48b 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -83,7 +83,7 @@ module.exports = { }, }, danger: "#E11D48", - action: "#353a4d", + action: "#6af400", }, fontFamily: { sans: ["var(--font-sans)"],