update: style

This commit is contained in:
tao.chen
2026-08-28 12:00:14 +08:00
parent e2fd7eba63
commit 9badd3597f
34 changed files with 207 additions and 237 deletions
@@ -1,5 +1,5 @@
import { type FormEvent } from "react";
import { Folder } from "lucide-react";
import { Folder, Loader2Icon } from "lucide-react";
import {
AppFormDialog,
dialogPrimaryButtonClass,
@@ -57,7 +57,7 @@ export function CreateFolderModal({
onChange={(event) => onNameChange(event.target.value)}
/>
</label>
<div className="mt-[3px] flex shrink-0 justify-end gap-2 border-t border-[#e8edf2] bg-white -mx-[22px] px-[22px] py-3.5">
<div className="mt-[3px] flex shrink-0 justify-end gap-2 border-t border-line bg-white -mx-[22px] px-[22px] py-3.5">
<Button
variant="outline"
size="sm"
@@ -75,7 +75,7 @@ export function CreateFolderModal({
className={dialogPrimaryButtonClass}
>
{busy
? <span className="button-spinner" />
? <Loader2Icon className="size-4 animate-spin" />
: <Folder size={16} />}
{busy ? "正在创建…" : "创建文件夹"}
</Button>