--- name: minimalist-ui-design description: This skill provides guidance for implementing the Thor Electric minimalist UI design system. Use this skill when styling Django templates with Tailwind CSS to maintain consistency across the application with clean, professional aesthetics featuring black buttons, light typography, white cards, and Heroicons. context: fork --- # Minimalist UI Design System This skill documents the minimalist design pattern used throughout the Thor Electric application. Apply these patterns when creating or updating Django templates to ensure visual consistency and professional aesthetics. ## When to Use This Skill Use this skill when: - Creating new Django templates for Thor Electric - Updating existing pages to match the minimalist design system - Implementing forms, lists, cards, or navigation elements - Adding search bars, buttons, or interactive components - Converting designs from gradients/shadows to clean minimalist style ## Core Design Principles ### 1. Typography - **Headers**: Use `font-light` (not font-bold or font-black) with `tracking-tight` for clean, modern appearance - **Body text**: Use `text-sm text-gray-500` for secondary information - **Primary text**: Use `text-gray-900` for main content - **Examples**: ```html
Subtitle or description
``` ### 2. Buttons #### Primary Action Buttons (Black) Use for main actions like "Add", "Create", "Save", "Submit": ```html ``` #### Secondary Action Buttons (White with Gray Border) Use for secondary actions like "View", "Cancel": ```html ``` #### Icon-Only Buttons For actions in tight spaces: ```html ``` ### 3. Cards Replace gradient backgrounds and heavy shadows with clean white cards and gray borders: ```html{{ item.description }}
Description of the page content
Get started by adding your first item.