mirror of
https://github.com/kmc7468/arkvault.git
synced 2025-12-16 06:58:46 +00:00
디렉터리 페이지 레이아웃 구현 및 디렉터리 생성 구현
This commit is contained in:
@@ -9,13 +9,13 @@
|
||||
|
||||
let { children, color = "primary", onclick }: Props = $props();
|
||||
|
||||
let bgColorStyle = $derived(
|
||||
const bgColorStyle = $derived(
|
||||
{
|
||||
primary: "bg-primary-600 active:bg-primary-500",
|
||||
gray: "bg-gray-300 active:bg-gray-400",
|
||||
}[color],
|
||||
);
|
||||
let fontColorStyle = $derived(
|
||||
const fontColorStyle = $derived(
|
||||
{
|
||||
primary: "text-white",
|
||||
gray: "text-gray-800",
|
||||
|
||||
Reference in New Issue
Block a user