Skip to content

Commit d24b001

Browse files
fix: adjustments to tailwind config (#33)
1 parent 5c07084 commit d24b001

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.changeset/pretty-spoons-bow.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@zenml-io/react-component-library": patch
3+
---
4+
5+
minor adjustments to tailwind config

src/components/Sidebar/Sidebar.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,11 @@ export const SidebarHeaderTitle = forwardRef<
5353
SidebarHeaderTitle.displayName = "SidebarHeaderTitle";
5454

5555
export type SidebarHeaderProps = HTMLAttributes<HTMLDivElement> & {
56-
title: string;
5756
icon?: ReactNode;
5857
};
5958

6059
export const SidebarHeader = forwardRef<HTMLDivElement, SidebarHeaderProps>(
61-
({ title, icon, children, className, ...rest }, ref) => {
60+
({ icon, children, className, ...rest }, ref) => {
6261
const existingIconClasses = isValidElement(icon) ? icon.props.className || "" : "";
6362

6463
const iconClasses = cn(

src/tailwind/index.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,8 @@ export const zenmlPlugin = plugin(
240240
},
241241
backgroundImage: {
242242
"gradient-dark":
243-
"linear-gradient(to bottom right, hsl(var(--color-primary-500)), hsl(var(--color-primary-400)))"
243+
"linear-gradient(to bottom right, hsl(var(--color-primary-500)), hsl(var(--color-primary-400)))",
244+
"gradient-light": "linear-gradient(to bottom, hsl(258, 100%, 97%), hsl(0, 100%, 100%))"
244245
},
245246
animation: {
246247
"spin-slow": "spin 2s linear infinite"

0 commit comments

Comments
 (0)