style(frontend): sync remaining glass UI theme files and cyberpunk theme

This commit is contained in:
sagitchu
2026-04-21 12:40:00 +08:00
parent 29407c90b6
commit ea156c33bc
35 changed files with 2634 additions and 1555 deletions
@@ -19,10 +19,5 @@ export function CardHeader({
}
export function CardBody({ className, ...props }: React.ComponentProps<"div">) {
return (
<CardContent
className={cn("p-4 md:p-6", className)}
{...props}
/>
);
return <CardContent className={cn("p-4 md:p-6", className)} {...props} />;
}
@@ -51,7 +51,11 @@ export interface DropdownMenuProps {
export function DropdownMenu({ children, className }: DropdownMenuProps) {
const { align } = React.useContext(DropdownContext);
return <DropdownMenuContent align={align} className={className}>{children}</DropdownMenuContent>;
return (
<DropdownMenuContent align={align} className={className}>
{children}
</DropdownMenuContent>
);
}
export interface DropdownItemProps {
@@ -414,8 +414,8 @@ export function Select<T>({
<option value="">{placeholder ?? "请选择"}</option>
{options.map((option) => (
<option
className="bg-background text-foreground"
key={option.key}
className="bg-background text-foreground"
disabled={disabled.has(option.key)}
value={option.key}
>