Skip to content

Commit 033179f

Browse files
committed
docs(brutalist theme): make header bottom be wider only for brutalist
1 parent dbab582 commit 033179f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

apps/website/src/components/header/header.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import { useAppState } from '~/_state/use-app-state';
2222
import { LuX } from '@qwikest/icons/lucide';
2323
import { DocsNavigation } from '../navigation-docs/navigation-docs';
2424
import { useKitMenuItems } from '~/routes/layout';
25+
import { cn } from '@qwik-ui/utils';
2526

2627
export interface HeaderProps {
2728
showVersion?: boolean;
@@ -128,7 +129,12 @@ export default component$(({ showVersion = false }: HeaderProps) => {
128129
const { theme, setTheme } = useTheme();
129130

130131
return (
131-
<div class="bg-background sticky top-0 z-10 flex h-16 justify-center border-b">
132+
<div
133+
class={cn(
134+
'bg-background sticky top-0 z-10 flex h-16 justify-center border-b',
135+
theme?.includes('brutalist') && 'border-b-2',
136+
)}
137+
>
132138
<header class="xs:gap-8 flex w-full max-w-screen-2xl items-center gap-6">
133139
<section class="mr-auto flex flex-col gap-1 md:flex-row md:gap-8">
134140
<a href="/" aria-label="Qwik UI Logo" class="lg:ml-8">

0 commit comments

Comments
 (0)