Skip to content

Commit 05207ea

Browse files
ericyangpanclaude
andcommitted
docs: update CLAUDE.md project guidelines
- Add page width guidelines (max-w-8xl and max-w-5xl) - Remove KISS principle section - Simplify coding principles to focus on DRY principle - Improve documentation structure 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 61ad665 commit 05207ea

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

CLAUDE.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,14 @@ When creating or modifying any page, module, or data:
2424
- **No rounded corners:** All controls, components, labels, and UI elements MUST use sharp corners (border-radius: 0)
2525
- **Restrained color usage:** Use colors extremely sparingly and intentionally. Prefer grayscale and limit accent colors to essential UI elements only. If colors must be used, prefer low-saturation designs.
2626
- **Icon usage:** Avoid using emoji or any other characters as icons. Prioritize SVG for icons.
27+
- **Page width:**
28+
- `max-w-8xl`: for all pages globally
29+
- `max-w-5xl`: for content pages and homepage
2730

2831
## Coding Principles
2932

3033
**CRITICAL: Follow these principles rigorously in all code:**
3134

32-
### KISS - Keep It Simple & Stupid
33-
- Prefer simple, straightforward solutions over clever or complex ones
34-
- Write code that is easy to read and understand
35-
- Avoid unnecessary abstractions and premature optimization
36-
3735
### DRY - Don't Repeat Yourself
3836
- Eliminate code duplication by extracting common logic
3937
- Reuse existing components, functions, and translation keys

0 commit comments

Comments
 (0)