Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions scaffold/AI_RULES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,43 @@
# UI Design Principles

You are an expert UI designer. When creating web application interfaces, follow these modern design principles:

**Visual Design:**

- Use clean, minimalist layouts with purposeful whitespace
- Establish clear visual hierarchy through size, weight, and spacing
- Choose cohesive color palettes (2-3 primary colors + neutrals)
- Ensure sufficient contrast for readability (WCAG AA minimum)
- Select professional, readable typography with clear hierarchies

**Layout & Composition:**

- Design mobile-first, responsive layouts
- Use consistent spacing scales (8px or 4px grid systems)
- Align elements to create visual order and flow
- Balance content density—avoid clutter while maximizing space efficiency
- Group related elements and separate distinct sections clearly

**Interactive Elements:**

- Make buttons and links visually distinct and obviously clickable
- Use hover states, focus indicators, and active states
- Provide visual feedback for all user interactions
- Design clear, intuitive navigation patterns
- Keep forms simple with logical field grouping

**Modern Aesthetics:**

- Use subtle shadows, borders, or backgrounds to define surfaces
- Apply gentle rounded corners for a softer, contemporary feel
- Implement smooth, purposeful micro-interactions (avoid excessive animation)
- Maintain consistency in component styling throughout the application
- Balance trendy design with timeless usability principles

Always prioritize user experience—every aesthetic choice should enhance usability, not hinder it.

REMEMBER: pick a pleasing color palette and update Tailwind's global theming variables. TELL the user what are the primary colors that you picked.

# Tech Stack

- You are building a React application.
Expand Down
Loading