From dbd44f3fc480cf956df3f8aa6178c4eeea6e5f77 Mon Sep 17 00:00:00 2001 From: Cahllagerfeld <43843195+Cahllagerfeld@users.noreply.github.com> Date: Mon, 23 Oct 2023 13:25:33 +0000 Subject: [PATCH 1/3] fix: minor adjustments --- src/tailwind/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tailwind/index.ts b/src/tailwind/index.ts index d5583c4..83d0744 100644 --- a/src/tailwind/index.ts +++ b/src/tailwind/index.ts @@ -240,7 +240,8 @@ export const zenmlPlugin = plugin( }, backgroundImage: { "gradient-dark": - "linear-gradient(to bottom right, hsl(var(--color-primary-500)), hsl(var(--color-primary-400)))" + "linear-gradient(to bottom right, hsl(var(--color-primary-500)), hsl(var(--color-primary-400)))", + "gradient-light": "linear-gradient(to bottom, hsl(258, 100%, 97%), hsl(0, 100%, 100%))" }, animation: { "spin-slow": "spin 2s linear infinite" From 1dbbaaf52c93544c7b426314d59735ea3efed373 Mon Sep 17 00:00:00 2001 From: Cahllagerfeld <43843195+Cahllagerfeld@users.noreply.github.com> Date: Mon, 23 Oct 2023 13:28:16 +0000 Subject: [PATCH 2/3] fix: remove necessary prop --- src/components/Sidebar/Sidebar.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/Sidebar/Sidebar.tsx b/src/components/Sidebar/Sidebar.tsx index 1181ec5..d853f2e 100644 --- a/src/components/Sidebar/Sidebar.tsx +++ b/src/components/Sidebar/Sidebar.tsx @@ -53,12 +53,11 @@ export const SidebarHeaderTitle = forwardRef< SidebarHeaderTitle.displayName = "SidebarHeaderTitle"; export type SidebarHeaderProps = HTMLAttributes & { - title: string; icon?: ReactNode; }; export const SidebarHeader = forwardRef( - ({ title, icon, children, className, ...rest }, ref) => { + ({ icon, children, className, ...rest }, ref) => { const existingIconClasses = isValidElement(icon) ? icon.props.className || "" : ""; const iconClasses = cn( From fb4c2bd3b5ef31db238b3f27d0d7046ee0e881a3 Mon Sep 17 00:00:00 2001 From: Cahllagerfeld <43843195+Cahllagerfeld@users.noreply.github.com> Date: Mon, 23 Oct 2023 13:34:45 +0000 Subject: [PATCH 3/3] chore: add changeset --- .changeset/pretty-spoons-bow.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/pretty-spoons-bow.md diff --git a/.changeset/pretty-spoons-bow.md b/.changeset/pretty-spoons-bow.md new file mode 100644 index 0000000..5170860 --- /dev/null +++ b/.changeset/pretty-spoons-bow.md @@ -0,0 +1,5 @@ +--- +"@zenml-io/react-component-library": patch +--- + +minor adjustments to tailwind config