feat: 블루 테마 작업

This commit is contained in:
2025-06-09 18:02:58 +09:00
parent 33f6ce25f4
commit 0ac5786016
7 changed files with 84 additions and 14 deletions
@@ -0,0 +1,17 @@
@tailwind components;
@layer components {
[data-theme="blue"] {
header {
background: #00afe5;
border: none;
}
header h1 span {
color: #fff;
}
[data-trigger="dropdown"] {
background: transparent !important;
color: #fff;
}
}
}
@@ -1,3 +1,5 @@
import "./header.css";
import { useEffect } from "react";
import { useQuery } from "@tanstack/react-query";
import { images } from "@common/assets";
@@ -102,7 +104,10 @@ export function Header({ viewOnly }: { viewOnly?: boolean }) {
</div>
<DropdownMenu>
<DropdownMenuTrigger asChild>
<Button className="group m-0 flex h-[3rem] items-center !bg-background px-4 py-0 text-label">
<Button
className="group m-0 flex h-[3rem] items-center !bg-background px-4 py-0 text-label"
data-trigger="dropdown"
>
<i className="diveicon di-account-circle static translate-y-0.5 pr-2 text-3xl" />
{userInfo?.userName}
<i className="diveicon di-chevron-down static p-0 transition-transform group-data-[state=open]:rotate-180" />