Typography
Quicksand cho cả body và heading — tròn trịa, ấm áp, và thân thiện với trẻ em.
Font Families
Quicksand — The quick brown fox jumps over the lazy dog
Class: font-sans
Quicksand — The Quick Brown Fox
Class: font-heading
Cả font-sans và font-heading đều trỏ đến Quicksand (variable, weights 300–700). Dùng font-sans cho body, font-heading cho headings.
Size Scale
xs12pxQuicksand — xs size
sm14pxQuicksand — sm size
base16pxQuicksand — base size
lg18pxQuicksand — lg size
xl24pxQuicksand — xl size
2xl30pxQuicksand — 2xl size
3xl40pxQuicksand — 3xl size
4xl48pxQuicksand — 4xl size
Heading Hierarchy
h1 — text-4xl font-boldThe Big Heading
h2 — text-3xl font-boldSection Title
h3 — text-2xl font-semiboldSubsection
h4 — text-xl font-semiboldCard Title
h5 — text-lg font-mediumSmall Heading
h6 — text-base font-mediumCaption Heading
Font Weights
Torito Studio
font-light — Light (300)Torito Studio
font-normal — Normal (400)Torito Studio
font-medium — Medium (500)Torito Studio
font-semibold — Semibold (600)Torito Studio
font-bold — Bold (700)Color Palette
Xanh lá rừng làm primary, kem ấm làm muted, hồng pastel làm accent — thiết kế cho sự ấm áp và niềm vui của trẻ em.
Brand Colors
Màu chính có semantic Tailwind token. Dùng token thay vì hardcode hex.
--primary#2F7A3Abg-primary text-primarylight text--ring#75B843bg-ring text-ringlight text--secondary#D7ECF8bg-secondary text-secondary-foregrounddark text--accent#F7B7D4bg-accent text-accent-foregrounddark text--destructive#F24B3Dbg-destructive text-destructivelight textBrand Extras
Màu bổ sung không có semantic token. Dùng arbitrary value bg-[#HEX] khi cần.
—#F48ABDbg-[#F48ABD]dark text—#B9D96Bbg-[#B9D96B]dark text—#A9D7F2bg-[#A9D7F2]dark text—#F7F0E6bg-[#F7F0E6]dark textSurface Colors
--background#FFFFFFbg-backgrounddark text--card#FFFFFFbg-card text-card-foregrounddark text--muted#FFF8EEbg-muted text-muted-foregrounddark text--border#DFECCBborder-border bg-borderdark textText Colors
--foreground#224229text-foreground--muted-foreground#6B7D67text-muted-foreground--primary#2F7A3Atext-primary--destructive#F24B3Dtext-destructiveSpacing Scale
Consistent spacing tokens cho padding, margin, và gaps.
p-14pxp-28pxp-312pxp-416pxp-520pxp-624pxp-832pxp-1040pxp-1248pxp-1664pxBorder Radius
Bo tròn, thân thiện — từ subtle đến pill. Base radius là 12px (lg).
6pxrounded-sm8pxrounded-md12pxrounded-lg16pxrounded-xl24pxrounded-2xl36pxrounded-3xl9999pxrounded-fullShadows
Bóng đổ mềm, ấm với tints xanh lá — tạo chiều sâu thân thiện.
shadow-[0_4px_24px_rgb(47_122_58_/0.10)]shadow-[0_12px_40px_rgb(47_122_58_/0.18)]shadow-lg shadow-primary/8Cards
Product card, Info card, và Action/CTA card — bo tròn, bóng mềm, tone ấm.
Form Elements
Inputs, labels, và field layouts theo Torito brand. Input height: h-10, padding: px-3.5
Input States
Chúng tôi sẽ không bao giờ chia sẻ email của bạn.
Search Input
Form Layout Example
Layout Patterns
Container, hero pattern, và product grid — các pattern layout chuẩn của Torito.
Container
Container chuẩn: max-w-6xl với responsive padding px-4 sm:px-5 lg:px-6
max-w-6xl px-4 sm:px-5 lg:px-6Hero Pattern
<section className="relative overflow-hidden bg-gradient-to-br
from-primary/5 via-background to-accent/10">
<div className="mx-auto max-w-6xl px-4 sm:px-5 lg:px-6 py-16">
{/* Hero content */}
</div>
{/* Decorative blobs */}
<div className="pointer-events-none absolute -right-20 -top-20
h-64 w-64 rounded-full bg-accent/20 blur-3xl" />
</section>Product Grid Pattern
<div className="mx-auto max-w-6xl px-4 sm:px-5 lg:px-6">
<div className="grid gap-6 sm:grid-cols-2 lg:grid-cols-3">
{products.map(product => (
<Card key={product.id}
className="group hover:shadow-[0_12px_40px_rgb(47_122_58_/0.18)]">
{/* Product card content */}
</Card>
))}
</div>
</div>Motion
Duration tokens cho transitions và animations — nhanh, mượt, thân thiện.
150msduration-150Hover, focus, micro-interactions
300msduration-300Page transitions, reveals
500msduration-500Modals, complex animations
Easing & Patterns
ease-out — Default cho hầu hết transitions (hover, focus)
ease-in-out — Cho transforms và layout shifts
transition-all duration-150 — Pattern chuẩn cho hover states
transition-shadow duration-300 — Cho card hover shadows