style(frontend): organize imports alphabetically and improve code formatting

This commit is contained in:
MythEclipse
2026-06-03 03:21:20 +07:00
parent 115dacb997
commit 4a1c7925fe
20 changed files with 101 additions and 100 deletions
+1 -2
View File
@@ -11,8 +11,7 @@ type BadgeVariant =
const variants: Record<BadgeVariant, string> = {
default: "border-transparent bg-primary text-primary-foreground",
secondary:
"border-transparent bg-muted text-muted-foreground",
secondary: "border-transparent bg-muted text-muted-foreground",
destructive: "border-transparent bg-[#FCA5A5] text-red-800",
outline: "border-border text-foreground",
success: "border-transparent bg-[#BBF7D0] text-green-800",
+2 -4
View File
@@ -11,12 +11,10 @@ type ButtonVariant =
type ButtonSize = "default" | "sm" | "lg" | "icon";
const variants: Record<ButtonVariant, string> = {
default:
"bg-primary text-primary-foreground shadow hover:bg-primary/90",
default: "bg-primary text-primary-foreground shadow hover:bg-primary/90",
secondary: "bg-[#FFB7C5] text-[#1a1a2e] hover:bg-[#FFB7C5]/80",
destructive: "bg-[#FCA5A5] text-[#1a1a2e] hover:bg-[#FCA5A5]/80",
outline:
"border border-border bg-white hover:bg-primary-soft",
outline: "border border-border bg-white hover:bg-primary-soft",
ghost: "hover:bg-primary-soft",
};
+1 -1
View File
@@ -1,5 +1,6 @@
// ─── Shared UI barrel export ────────────────────────────────────────────────
export { EmptyStateMascot } from "../../widgets/mascot/ChibiMascot";
export { Badge } from "./badge";
export { Button } from "./button";
export {
@@ -16,4 +17,3 @@ export { Select } from "./select";
export { Skeleton } from "./skeleton";
export { Tabs, TabsContent, TabsList, TabsTrigger } from "./tabs";
export { ToastProvider, useToast } from "./toast";
export { EmptyStateMascot } from "../../widgets/mascot/ChibiMascot";
+3 -1
View File
@@ -87,7 +87,9 @@ function ToastContainer() {
)}
onClick={() => removeToast(toast.id)}
>
<span className="text-base leading-none">{typeIcons[toast.type]}</span>
<span className="text-base leading-none">
{typeIcons[toast.type]}
</span>
<span>{toast.message}</span>
</div>
))}