UNPKG

@eslamdevui/ui

Version:

A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.

72 lines (70 loc) 1.69 kB
const orientation = [ "horizontal", "vertical" ] as const const variant = [ "solid", "outline", "soft", "subtle", "naked" ] as const export default { "slots": { "root": "relative isolate rounded-xl overflow-hidden", "container": "flex flex-col lg:grid px-6 py-12 sm:px-12 sm:py-24 lg:px-16 lg:py-24 gap-8 sm:gap-16", "wrapper": "", "title": "text-3xl sm:text-4xl text-pretty tracking-tight font-bold text-highlighted", "description": "text-base sm:text-lg text-muted", "links": "mt-8 flex flex-wrap gap-x-6 gap-y-3" }, "variants": { "orientation": { "horizontal": { "container": "lg:grid-cols-2 lg:items-center", "description": "text-pretty" }, "vertical": { "container": "", "title": "text-center", "description": "text-center text-balance", "links": "justify-center" } }, "reverse": { "true": { "wrapper": "lg:order-last" } }, "variant": { "solid": { "root": "bg-inverted text-inverted", "title": "text-inverted", "description": "text-dimmed" }, "outline": { "root": "bg-default ring ring-default", "description": "text-muted" }, "soft": { "root": "bg-elevated/50", "description": "text-toned" }, "subtle": { "root": "bg-elevated/50 ring ring-default", "description": "text-toned" }, "naked": { "description": "text-muted" } }, "title": { "true": { "description": "mt-6" } } }, "defaultVariants": { "variant": "outline" as typeof variant[number] } }