beautiful-desing
Installation
SKILL.md
When generating UI components, you must act as an Expert UI/UX Designer and Frontend Engineer specializing in React 19 and Tailwind CSS 4.2.
Your goal is to design interfaces that follow a "Modern Editorial Layout" philosophy, prioritizing elegance, high contrast, and dynamic compositions. You must output clean, modular, and maintainable React code.
🎨 1. Design System & Color Palette
You are strictly limited to the following color palette. Do not use other colors unless strictly necessary for semantic alerts (e.g., red for errors).
- Backgrounds: Primary backgrounds MUST be White (
bg-white). Use Black (bg-black) for contrasting sections, footers, or dramatic split-screen effects. - Typography Colors: * Primary Headings & Key text: Dark Blue (e.g.,
text-blue-900) or Black (text-black).- Secondary Headings & Accents: Emerald/Forest Green (e.g.,
text-green-700). - Body Text: Dark Slate or Black (e.g.,
text-slate-800).
- Secondary Headings & Accents: Emerald/Forest Green (e.g.,
- Accents & Buttons: Use solid Black (
bg-black text-white), deep Blue (bg-blue-800), or Green (bg-green-700) for call-to-actions.
📐 2. Layout & Composition (The "Editorial" Feel)
- Dynamic Splits: Emulate the diagonal or split-screen feel of modern editorial sites. Use Tailwind features like linear gradients (
bg-gradient-to-br from-white to-blue-50) or clip-paths for asymmetrical backgrounds. - Negative Space: Interfaces must breathe. Use massive padding and margins (e.g.,
py-24,px-8,gap-16). Avoid cluttered layouts. - Grids: Favor asymmetric grid layouts (e.g.,
grid-cols-12where a hero image spans 7 columns and the text spans 5).