diff --git a/packages/lds/src/BackHeader/BackHeader.css.ts b/packages/lds/src/BackHeader/BackHeader.css.ts index c8a88a5f..b92cba3c 100644 --- a/packages/lds/src/BackHeader/BackHeader.css.ts +++ b/packages/lds/src/BackHeader/BackHeader.css.ts @@ -11,7 +11,7 @@ export const header = style({ height: '52px', padding: '10px 20px', boxSizing: 'border-box', - backgroundColor: colors.gray050, + backgroundColor: colors.background, }); export const backButton = style({ diff --git a/packages/lds/src/BackHeader/BackHeader.tsx b/packages/lds/src/BackHeader/BackHeader.tsx index 9e288e35..39bd934d 100644 --- a/packages/lds/src/BackHeader/BackHeader.tsx +++ b/packages/lds/src/BackHeader/BackHeader.tsx @@ -1,5 +1,6 @@ 'use client'; +import clsx from 'clsx'; import { useRouter } from 'next/navigation'; import { Icon, Txt } from '@linker/lds'; @@ -8,13 +9,14 @@ import { header, backButton } from './BackHeader.css'; interface BackHeaderProps { title: string; + className?: string; } -function BackHeader({ title }: BackHeaderProps) { +function BackHeader({ title, className }: BackHeaderProps) { const router = useRouter(); return ( -
+