feat: add card skins support
This commit is contained in:
17
apps/web/components/faces/line.tsx
Normal file
17
apps/web/components/faces/line.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import type { CardFaceProps } from "./types";
|
||||
|
||||
/** 卡面:斜线纹理 + 右上角光晕 */
|
||||
export function LineFace(_: CardFaceProps) {
|
||||
return (
|
||||
<>
|
||||
<div
|
||||
className="absolute inset-0 opacity-[0.07]"
|
||||
style={{
|
||||
backgroundImage:
|
||||
"repeating-linear-gradient(135deg, #fff 0px, #fff 1px, transparent 1px, transparent 12px)",
|
||||
}}
|
||||
/>
|
||||
<div className="absolute -right-10 -top-10 size-48 rounded-full bg-white/15 blur-2xl" />
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user