This commit is contained in:
Jordan
2026-03-28 22:54:31 +00:00
parent 2f694d5ebc
commit 7195eeec08
2 changed files with 5 additions and 3 deletions

View File

@@ -15,16 +15,16 @@ When creating new modules, you MUST match the visual style of the existing proje
### Step 3: Explore and GENERATE the style guide (MANDATORY)
- Read `index-base.tpl` and `style.css` of 3-4 representative modules (only those with `builder.json`, skip `custom-*`)
- **You MUST then create the file `docs/project-styles.md`** with:
- **You MUST then call `save_project_styles`** with a markdown summary including:
- Primary/secondary/accent colors (hex values)
- Font families and sizes used
- Spacing scale (padding/margin patterns)
- Common Tailwind classes and custom CSS patterns
- Button styles, card styles, section layouts
- Any recurring design patterns (gradients, shadows, borders, etc.)
- This file will be used by future module creation tasks to avoid re-exploring every time.
- This saves `docs/project-styles.md` which will be read by future module creation tasks — no re-exploration needed.
**After creating a module:** if `docs/project-styles.md` does not exist yet and there are now 3+ modules, generate it.
**After creating a module:** if `docs/project-styles.md` does not exist yet and there are now 3+ modules, call `save_project_styles`.
## Module Structure