@dedesfr/prompter 0.8.15 → 0.8.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,167 +0,0 @@
1
- # Design Principles — Anti-AI Aesthetic & Authentic Design Craft
2
-
3
- Reference for producing designs that feel human-crafted, intentional, and unique. Load this when implementing designs or reviewing design quality.
4
-
5
- ---
6
-
7
- ## Anti-AI-Look Patterns
8
-
9
- AI-generated designs share recognizable traits. Avoid these to produce authentic work.
10
-
11
- ### Layout Anti-Patterns
12
-
13
- | AI Trap | Why It Feels Generic | Do Instead |
14
- |---|---|---|
15
- | Perfect 3-column symmetry for everything | Real content isn't symmetric | Vary column widths, use 2-col or asymmetric grids |
16
- | Every section is full-width hero + centered text | Repetitive rhythm, no visual variety | Mix layout types: sidebar, offset, editorial, split |
17
- | Giant hero with headline + subtitle + CTA on every page | Cookie-cutter template feel | Match the hero to content importance — some pages don't need one |
18
- | Everything centered on the page | Monotonous visual flow | Use left-aligned text with intentional center/right accents |
19
- | Equal spacing everywhere | Flat, robotic rhythm | Vary spacing to create grouping and breathing room |
20
- | Card grids with identical card sizes | Catalog/stock feel | Vary card sizes, feature one, use masonry or editorial layouts |
21
-
22
- ### Color Anti-Patterns
23
-
24
- | AI Trap | Why It Feels Generic | Do Instead |
25
- |---|---|---|
26
- | Blue-to-purple gradient as primary | Overused AI default | Choose a palette rooted in the brand or project's personality |
27
- | Neon accent on dark background | "Tech startup template" look | Use muted, sophisticated accents — or bold ones with restraint |
28
- | Using 6+ colors with equal prominence | Visual noise, no hierarchy | 1-2 primary colors, 1 accent, rest neutrals |
29
- | Gradient backgrounds on every section | Decorative without purpose | Use solid colors; reserve gradients for specific emphasis |
30
- | Pure black (#000) text on pure white (#fff) | Harsh contrast, screen glare | Use near-black (#1a1a1a–#2d2d2d) on off-white (#f8f8f8–#fafafa) |
31
- | Colored shadows (purple/blue box-shadows) | Trendy but rarely appropriate | Neutral shadows unless the brand specifically calls for it |
32
-
33
- ### Typography Anti-Patterns
34
-
35
- | AI Trap | Why It Feels Generic | Do Instead |
36
- |---|---|---|
37
- | Using Inter/Poppins/Montserrat for everything | Ubiquitous AI defaults | Consider the project's personality — serif for editorial, geometric sans for tech, humanist for approachable |
38
- | Only 2 sizes: heading and body | Flat hierarchy | Use a proper type scale (e.g., 12/14/16/20/24/32/48) |
39
- | All text in the same weight | No emphasis, everything competes | Use 2-3 weights (regular, medium, bold) with clear purpose |
40
- | ALL CAPS EVERYWHERE | Aggressive, hard to read | Reserve caps for small labels, buttons, or overlines |
41
- | Giant display text with no supporting content | Empty visual calories | Size should match content importance |
42
-
43
- ### Component Anti-Patterns
44
-
45
- | AI Trap | Why It Feels Generic | Do Instead |
46
- |---|---|---|
47
- | border-radius: 9999px on everything | Bubbly, toy-like | Choose 1-2 radius values that match the design's tone (4-8px for sharp, 12-16px for soft) |
48
- | Glassmorphism / frosted glass everywhere | Trend over function | Use glass effects sparingly where depth communication is needed |
49
- | Drop shadows on everything | Visual heaviness, everything "floats" | Shadow only elements that conceptually need elevation (modals, dropdowns, cards on hover) |
50
- | Outlined icon + outlined button + outlined card | Everything is a border, nothing has weight | Mix filled and outlined treatments for hierarchy |
51
- | Decorative blob SVGs or wave dividers | Instant AI template identifier | Use geometric shapes with purpose, or no decoration at all |
52
- | Stock illustration people with purple skin | Unmistakable AI/startup template | Use photography, custom illustration, or no illustration |
53
-
54
- ### Interaction Anti-Patterns
55
-
56
- | AI Trap | Why It Feels Generic | Do Instead |
57
- |---|---|---|
58
- | Everything has a hover scale(1.05) | Bouncy, distracting | Reserve scale for interactive cards; use color/shadow changes for most hover states |
59
- | 0.3s ease on everything | Sluggish, indiscriminate | Use faster transitions (150-200ms) for small elements, slower (300-400ms) for layout changes |
60
- | Fade-in-up on scroll for every element | Scroll-jacking, animation fatigue | Animate only key content on first appearance; let secondary content be static |
61
- | Loading spinners as the only loading state | No context about what's loading | Use skeleton screens, progressive content reveal, or inline loading indicators |
62
-
63
- ---
64
-
65
- ## Authentic Design Principles
66
-
67
- ### 1. Content-First Hierarchy
68
-
69
- Design serves content, not the other way around.
70
-
71
- - Read the actual content before choosing layout
72
- - Size elements proportional to their importance
73
- - Use whitespace to group related content and separate sections
74
- - Ask: "What should the user see first, second, third?"
75
-
76
- ### 2. Intentional Contrast
77
-
78
- Every visual difference should communicate something.
79
-
80
- - **Size contrast** — Headings vs. body, featured vs. standard items
81
- - **Weight contrast** — Bold labels vs. regular values, strong CTAs vs. subtle links
82
- - **Color contrast** — Primary actions vs. secondary, active states vs. default
83
- - **Space contrast** — Tight groups of related items, generous gaps between sections
84
- - **Density contrast** — Dense data areas vs. breathing hero/summary areas
85
-
86
- ### 3. Systematic but Not Robotic
87
-
88
- Use systems (type scale, spacing scale, color tokens) but break them intentionally.
89
-
90
- - Establish a base grid (4px or 8px) but don't snap everything mechanically
91
- - Use your type scale but occasionally break it for display/hero moments
92
- - Maintain consistent component patterns but allow contextual variations
93
-
94
- ### 4. Typography Does the Heavy Lifting
95
-
96
- Most visual hierarchy comes from type, not decoration.
97
-
98
- - Establish a clear scale: body → subhead → section head → page title → display
99
- - Use weight and size together: a 14px bold label and a 16px regular body text create clear hierarchy without needing different colors
100
- - Line-height matters: tighter for headings (1.1-1.3), looser for body (1.5-1.7)
101
- - Letter-spacing: slightly positive for small caps/labels, zero or negative for large display text
102
-
103
- ### 5. Color as Communication
104
-
105
- Color should mean something, not just decorate.
106
-
107
- - **Brand color** — Primary actions, key elements, brand identity
108
- - **Semantic color** — Success (green), warning (amber), error (red), info (blue)
109
- - **Neutral palette** — Background, text, borders, dividers (this is 80% of your palette)
110
- - **Accent** — Sparingly, to draw attention to one thing
111
-
112
- ### 6. Space Creates Meaning
113
-
114
- Proximity and spacing communicate relationships.
115
-
116
- - Items close together = related
117
- - Items far apart = separate concepts
118
- - Consistent internal padding = belonging to the same container
119
- - Asymmetric margins = visual rhythm and movement
120
-
121
- ---
122
-
123
- ## Design Quality Checklist
124
-
125
- Use this to evaluate designs before presenting to the user:
126
-
127
- ### Visual Hierarchy
128
- - [ ] The most important element is visually dominant
129
- - [ ] There is a clear reading order (F-pattern or Z-pattern where appropriate)
130
- - [ ] Headings form a logical scale (not random sizes)
131
- - [ ] CTAs are visually distinct from surrounding content
132
-
133
- ### Typography
134
- - [ ] Body text is 16px+ for readability
135
- - [ ] Line length is 45-75 characters for body text
136
- - [ ] Heading/body font pairing is intentional
137
- - [ ] No more than 3 font weights in active use
138
-
139
- ### Color
140
- - [ ] Palette has 2 or fewer primary/accent colors
141
- - [ ] Text:background contrast meets WCAG AA (4.5:1 for body, 3:1 for large text)
142
- - [ ] Color is not the only indicator of state (icons, text, or shape also signal)
143
- - [ ] Neutral palette has enough range (light bg, medium borders, dark text)
144
-
145
- ### Spacing & Layout
146
- - [ ] Spacing follows a consistent scale (4px, 8px, 12px, 16px, 24px, 32px, 48px, 64px)
147
- - [ ] Related elements are grouped with tighter spacing
148
- - [ ] Sections have comfortable breathing room
149
- - [ ] Layout works at mobile, tablet, and desktop widths
150
-
151
- ### Components
152
- - [ ] Interactive elements have visible hover/focus states
153
- - [ ] Buttons have clear hierarchy (primary, secondary, tertiary/ghost)
154
- - [ ] Form inputs have labels, placeholders are not used as labels
155
- - [ ] Empty states, loading states, and error states are designed
156
-
157
- ### Interaction
158
- - [ ] Transitions are fast (150-200ms) and purposeful
159
- - [ ] Hover states indicate interactivity without being distracting
160
- - [ ] Focus indicators are visible for keyboard navigation
161
- - [ ] Animations don't block user interaction
162
-
163
- ### Authenticity
164
- - [ ] Design doesn't match common template/AI patterns listed above
165
- - [ ] Layout has visual variety (not repeating the same section format)
166
- - [ ] Decoration (if any) serves a purpose
167
- - [ ] The design reflects the project's unique personality