page-design-guide-mcp 1.0.6 → 1.0.8

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.
Files changed (54) hide show
  1. package/README.md +140 -140
  2. package/build/data/accessibilityGuidance.d.ts +17 -0
  3. package/build/data/accessibilityGuidance.d.ts.map +1 -0
  4. package/build/data/accessibilityGuidance.js +22 -0
  5. package/build/data/accessibilityGuidance.js.map +1 -0
  6. package/build/data/animationGuidance.d.ts +22 -0
  7. package/build/data/animationGuidance.d.ts.map +1 -0
  8. package/build/data/animationGuidance.js +27 -0
  9. package/build/data/animationGuidance.js.map +1 -0
  10. package/build/data/colorGuidance.d.ts +53 -0
  11. package/build/data/colorGuidance.d.ts.map +1 -0
  12. package/build/data/colorGuidance.js +84 -0
  13. package/build/data/colorGuidance.js.map +1 -0
  14. package/build/data/componentGuidance.d.ts +69 -0
  15. package/build/data/componentGuidance.d.ts.map +1 -0
  16. package/build/data/componentGuidance.js +74 -0
  17. package/build/data/componentGuidance.js.map +1 -0
  18. package/build/data/designPrinciples.d.ts +7 -0
  19. package/build/data/designPrinciples.d.ts.map +1 -0
  20. package/build/data/designPrinciples.js +98 -0
  21. package/build/data/designPrinciples.js.map +1 -0
  22. package/build/data/inspiration.d.ts +45 -0
  23. package/build/data/inspiration.d.ts.map +1 -0
  24. package/build/data/inspiration.js +68 -0
  25. package/build/data/inspiration.js.map +1 -0
  26. package/build/data/layoutPatterns.d.ts +219 -0
  27. package/build/data/layoutPatterns.d.ts.map +1 -0
  28. package/build/data/layoutPatterns.js +84 -0
  29. package/build/data/layoutPatterns.js.map +1 -0
  30. package/build/data/modernPalettes.d.ts +42 -0
  31. package/build/data/modernPalettes.d.ts.map +1 -0
  32. package/build/data/modernPalettes.js +72 -0
  33. package/build/data/modernPalettes.js.map +1 -0
  34. package/build/data/modernTrends.d.ts +134 -0
  35. package/build/data/modernTrends.d.ts.map +1 -0
  36. package/build/data/modernTrends.js +90 -0
  37. package/build/data/modernTrends.js.map +1 -0
  38. package/build/data/responsiveGuidance.d.ts +23 -0
  39. package/build/data/responsiveGuidance.d.ts.map +1 -0
  40. package/build/data/responsiveGuidance.js +24 -0
  41. package/build/data/responsiveGuidance.js.map +1 -0
  42. package/build/data/sectionGuidance.d.ts +163 -0
  43. package/build/data/sectionGuidance.d.ts.map +1 -0
  44. package/build/data/sectionGuidance.js +232 -0
  45. package/build/data/sectionGuidance.js.map +1 -0
  46. package/build/data/typographyGuidance.d.ts +47 -0
  47. package/build/data/typographyGuidance.d.ts.map +1 -0
  48. package/build/data/typographyGuidance.js +54 -0
  49. package/build/data/typographyGuidance.js.map +1 -0
  50. package/build/index.d.ts +3 -0
  51. package/build/index.d.ts.map +1 -0
  52. package/build/index.js +48 -854
  53. package/build/index.js.map +1 -1
  54. package/package.json +2 -4
package/README.md CHANGED
@@ -1,141 +1,141 @@
1
- # Page Design Guide MCP Server
2
-
3
- An MCP (Model Context Protocol) server that provides design guidance to help LLMs generate better, more modern web pages. This server focuses on teaching design principles and best practices rather than providing code templates.
4
-
5
- ## Features
6
-
7
- - [layout] **Layout Guidance** - When and how to use F-Pattern, Z-Pattern, Bento Grid, etc.
8
- - [palette] **Color Psychology** - Color meanings, scheme types, and palette recommendations
9
- - [type] **Typography** - Hierarchy, font pairings, and readability best practices
10
- - [grid] **Responsive Design** - Mobile-first strategies and breakpoint guidance
11
- - [layers] **Visual Hierarchy** - Principles of contrast, whitespace, alignment
12
- - [component] **Component Guidance** - Design principles for buttons, cards, forms, navigation
13
- - [motion] **Animation Principles** - Timing, purpose, and performance considerations
14
- - [accessibility] **Accessibility** - WCAG compliance, contrast ratios, semantic HTML
15
- - [sparkles] **Modern Trends** - Current design trends and when to use them
16
- - [check] **Design Review** - Analyze design descriptions and get recommendations
17
-
18
- ## Installation
19
-
20
- Install the package globally via npm:
21
-
22
- ```bash
23
- npm install -g page-design-guide-mcp
24
- ```
25
-
26
- Or install it locally in your project:
27
-
28
- ```bash
29
- npm install page-design-guide-mcp
30
- ```
31
-
32
- ## Setup with Claude Desktop
33
-
34
- Add this to your Claude Desktop configuration file:
35
-
36
- **MacOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
37
- **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
38
-
39
- ### Option 1: Global Installation (Recommended)
40
-
41
- ```json
42
- {
43
- "mcpServers": {
44
- "page-design-guide": {
45
- "command": "npx",
46
- "args": ["-y", "page-design-guide-mcp"]
47
- }
48
- }
49
- }
50
- ```
51
-
52
- ### Option 2: Local Installation
53
-
54
- ```json
55
- {
56
- "mcpServers": {
57
- "page-design-guide": {
58
- "command": "node",
59
- "args": ["/absolute/path/to/node_modules/page-design-guide-mcp/build/index.js"]
60
- }
61
- }
62
- }
63
- ```
64
-
65
- Replace `/absolute/path/to` with the actual path to your project's `node_modules` directory.
66
-
67
- ## Usage
68
-
69
- Once connected, you can ask Claude questions like:
70
-
71
- - "What design principles should I follow for this landing page?"
72
- - "Which layout works best for a portfolio site?"
73
- - "What colors convey trust and professionalism?"
74
- - "How should I structure the hero section?"
75
- - "What are common mistakes to avoid with typography?"
76
- - "How do I make this accessible?"
77
- - "Review my design approach for this e-commerce page"
78
-
79
- ## Available Tools
80
-
81
- ### `get_design_principles`
82
- Get foundational design principles (hierarchy, whitespace, contrast, alignment, etc.) with guidelines and common mistakes to avoid.
83
-
84
- ### `get_layout_guidance`
85
- Get layout recommendations based on page type. Explains when and why to use F-Pattern, Z-Pattern, Bento Grid, Split Screen, etc.
86
-
87
- ### `get_color_guidance`
88
- Get color psychology, scheme types (monochromatic, complementary, etc.), and palette recommendations based on mood and industry.
89
-
90
- ### `get_typography_guidance`
91
- Get typography hierarchy, font pairing recommendations for different styles, and best practices for readable text.
92
-
93
- ### `get_section_guidance`
94
- Get guidance for specific page sections: header, hero, features, testimonials, pricing, cta, footer, faq - including purpose, structure, and best practices.
95
-
96
- ### `get_responsive_guidance`
97
- Get responsive design principles, breakpoint strategies, and mobile-first best practices.
98
-
99
- ### `get_component_guidance`
100
- Get design guidance for UI components: buttons, cards, forms, navigation, modals, icons - including sizing, states, and accessibility.
101
-
102
- ### `get_animation_guidance`
103
- Get animation principles, timing guidelines, and performance considerations for different types of motion.
104
-
105
- ### `get_accessibility_guidance`
106
- Get accessibility requirements including contrast ratios, focus states, semantic HTML, and motion preferences.
107
-
108
- ### `get_modern_trends`
109
- Get current web design trends (2024-2026) with guidance on when and how to use them appropriately.
110
-
111
- ### `review_design_approach`
112
- Describe your design and get feedback with scores, identified strengths, concerns, and recommendations.
113
-
114
- ## Project Structure
115
-
116
- ```
117
- page-design-guide-mcp/
118
- ├── src/
119
- │ └── index.ts # Main MCP server code
120
- ├── build/ # Compiled JavaScript (generated)
121
- ├── package.json
122
- ├── tsconfig.json
123
- └── README.md
124
- ```
125
-
126
- ## Development
127
-
128
- For development with auto-rebuild on changes:
129
-
130
- ```bash
131
- npm run watch
132
- ```
133
-
134
- ## Requirements
135
-
136
- - Node.js >= 18.0.0
137
- - Claude Desktop app
138
-
139
- ## License
140
-
1
+ # Page Design Guide MCP Server
2
+
3
+ An MCP (Model Context Protocol) server that provides design guidance to help LLMs generate better, more modern web pages. This server focuses on teaching design principles and best practices rather than providing code templates.
4
+
5
+ ## Features
6
+
7
+ - [layout] **Layout Guidance** - When and how to use F-Pattern, Z-Pattern, Bento Grid, etc.
8
+ - [palette] **Color Psychology** - Color meanings, scheme types, and palette recommendations
9
+ - [type] **Typography** - Hierarchy, font pairings, and readability best practices
10
+ - [grid] **Responsive Design** - Mobile-first strategies and breakpoint guidance
11
+ - [layers] **Visual Hierarchy** - Principles of contrast, whitespace, alignment
12
+ - [component] **Component Guidance** - Design principles for buttons, cards, forms, navigation
13
+ - [motion] **Animation Principles** - Timing, purpose, and performance considerations
14
+ - [accessibility] **Accessibility** - WCAG compliance, contrast ratios, semantic HTML
15
+ - [sparkles] **Modern Trends** - Current design trends and when to use them
16
+ - [check] **Design Review** - Analyze design descriptions and get recommendations
17
+
18
+ ## Installation
19
+
20
+ Install the package globally via npm:
21
+
22
+ ```bash
23
+ npm install -g page-design-guide-mcp
24
+ ```
25
+
26
+ Or install it locally in your project:
27
+
28
+ ```bash
29
+ npm install page-design-guide-mcp
30
+ ```
31
+
32
+ ## Setup with Claude Desktop
33
+
34
+ Add this to your Claude Desktop configuration file:
35
+
36
+ **MacOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
37
+ **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
38
+
39
+ ### Option 1: Global Installation (Recommended)
40
+
41
+ ```json
42
+ {
43
+ "mcpServers": {
44
+ "page-design-guide": {
45
+ "command": "npx",
46
+ "args": ["-y", "page-design-guide-mcp"]
47
+ }
48
+ }
49
+ }
50
+ ```
51
+
52
+ ### Option 2: Local Installation
53
+
54
+ ```json
55
+ {
56
+ "mcpServers": {
57
+ "page-design-guide": {
58
+ "command": "node",
59
+ "args": ["/absolute/path/to/node_modules/page-design-guide-mcp/build/index.js"]
60
+ }
61
+ }
62
+ }
63
+ ```
64
+
65
+ Replace `/absolute/path/to` with the actual path to your project's `node_modules` directory.
66
+
67
+ ## Usage
68
+
69
+ Once connected, you can ask Claude questions like:
70
+
71
+ - "What design principles should I follow for this landing page?"
72
+ - "Which layout works best for a portfolio site?"
73
+ - "What colors convey trust and professionalism?"
74
+ - "How should I structure the hero section?"
75
+ - "What are common mistakes to avoid with typography?"
76
+ - "How do I make this accessible?"
77
+ - "Review my design approach for this e-commerce page"
78
+
79
+ ## Available Tools
80
+
81
+ ### `get_design_principles`
82
+ Get foundational design principles (hierarchy, whitespace, contrast, alignment, etc.) with guidelines and common mistakes to avoid.
83
+
84
+ ### `get_layout_guidance`
85
+ Get layout recommendations based on page type. Explains when and why to use F-Pattern, Z-Pattern, Bento Grid, Split Screen, etc.
86
+
87
+ ### `get_color_guidance`
88
+ Get color psychology, scheme types (monochromatic, complementary, etc.), and palette recommendations based on mood and industry.
89
+
90
+ ### `get_typography_guidance`
91
+ Get typography hierarchy, font pairing recommendations for different styles, and best practices for readable text.
92
+
93
+ ### `get_section_guidance`
94
+ Get guidance for specific page sections: header, hero, features, testimonials, pricing, cta, footer, faq - including purpose, structure, and best practices.
95
+
96
+ ### `get_responsive_guidance`
97
+ Get responsive design principles, breakpoint strategies, and mobile-first best practices.
98
+
99
+ ### `get_component_guidance`
100
+ Get design guidance for UI components: buttons, cards, forms, navigation, modals, icons - including sizing, states, and accessibility.
101
+
102
+ ### `get_animation_guidance`
103
+ Get animation principles, timing guidelines, and performance considerations for different types of motion.
104
+
105
+ ### `get_accessibility_guidance`
106
+ Get accessibility requirements including contrast ratios, focus states, semantic HTML, and motion preferences.
107
+
108
+ ### `get_modern_trends`
109
+ Get current web design trends (2024-2026) with guidance on when and how to use them appropriately.
110
+
111
+ ### `review_design_approach`
112
+ Describe your design and get feedback with scores, identified strengths, concerns, and recommendations.
113
+
114
+ ## Project Structure
115
+
116
+ ```
117
+ page-design-guide-mcp/
118
+ ├── src/
119
+ │ └── index.ts # Main MCP server code
120
+ ├── build/ # Compiled JavaScript (generated)
121
+ ├── package.json
122
+ ├── tsconfig.json
123
+ └── README.md
124
+ ```
125
+
126
+ ## Development
127
+
128
+ For development with auto-rebuild on changes:
129
+
130
+ ```bash
131
+ npm run watch
132
+ ```
133
+
134
+ ## Requirements
135
+
136
+ - Node.js >= 18.0.0
137
+ - Claude Desktop app
138
+
139
+ ## License
140
+
141
141
  MIT
@@ -0,0 +1,17 @@
1
+ export declare const accessibilityGuidance: {
2
+ colorContrast: {
3
+ normalText: string;
4
+ largeText: string;
5
+ uiComponents: string;
6
+ };
7
+ focusStates: {
8
+ requirement: string;
9
+ implementation: string;
10
+ };
11
+ semanticHTML: {
12
+ landmarks: string;
13
+ headings: string;
14
+ };
15
+ bestPractices: string[];
16
+ };
17
+ //# sourceMappingURL=accessibilityGuidance.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accessibilityGuidance.d.ts","sourceRoot":"","sources":["../../src/data/accessibilityGuidance.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;CAmBjC,CAAC"}
@@ -0,0 +1,22 @@
1
+ // Accessibility Guidance
2
+ export const accessibilityGuidance = {
3
+ colorContrast: {
4
+ normalText: "4.5:1 minimum ratio",
5
+ largeText: "3:1 minimum (18px+ or 14px bold)",
6
+ uiComponents: "3:1 for interactive elements"
7
+ },
8
+ focusStates: {
9
+ requirement: "All interactive elements must have visible focus",
10
+ implementation: "Outline or ring, 2-3px, contrasting color"
11
+ },
12
+ semanticHTML: {
13
+ landmarks: "Use header, main, nav, footer, section, article",
14
+ headings: "Proper hierarchy (h1 > h2 > h3), no skipping levels"
15
+ },
16
+ bestPractices: [
17
+ "Test with keyboard navigation",
18
+ "Don't rely on color alone to convey information",
19
+ "Provide alt text for informative images"
20
+ ]
21
+ };
22
+ //# sourceMappingURL=accessibilityGuidance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accessibilityGuidance.js","sourceRoot":"","sources":["../../src/data/accessibilityGuidance.ts"],"names":[],"mappings":"AAAA,yBAAyB;AACzB,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACjC,aAAa,EAAE;QACX,UAAU,EAAE,qBAAqB;QACjC,SAAS,EAAE,kCAAkC;QAC7C,YAAY,EAAE,8BAA8B;KAC/C;IACD,WAAW,EAAE;QACT,WAAW,EAAE,kDAAkD;QAC/D,cAAc,EAAE,2CAA2C;KAC9D;IACD,YAAY,EAAE;QACV,SAAS,EAAE,iDAAiD;QAC5D,QAAQ,EAAE,qDAAqD;KAClE;IACD,aAAa,EAAE;QACX,+BAA+B;QAC/B,iDAAiD;QACjD,yCAAyC;KAC5C;CACJ,CAAC"}
@@ -0,0 +1,22 @@
1
+ export declare const animationGuidance: {
2
+ purposes: {
3
+ feedback: string;
4
+ continuity: string;
5
+ attention: string;
6
+ hierarchy: string;
7
+ delight: string;
8
+ };
9
+ timingPrinciples: {
10
+ microInteractions: string;
11
+ smallTransitions: string;
12
+ mediumTransitions: string;
13
+ largeTransitions: string;
14
+ };
15
+ easings: {
16
+ standard: string;
17
+ enter: string;
18
+ exit: string;
19
+ };
20
+ bestPractices: string[];
21
+ };
22
+ //# sourceMappingURL=animationGuidance.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"animationGuidance.d.ts","sourceRoot":"","sources":["../../src/data/animationGuidance.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;CAwB7B,CAAC"}
@@ -0,0 +1,27 @@
1
+ // Animation Guidance (Repaired and Completed)
2
+ export const animationGuidance = {
3
+ purposes: {
4
+ feedback: "Confirm user actions (button press, form submit)",
5
+ continuity: "Smooth transitions between states/pages",
6
+ attention: "Draw focus to important elements",
7
+ hierarchy: "Show relationships and depth",
8
+ delight: "Add personality and polish (use sparingly)"
9
+ },
10
+ timingPrinciples: {
11
+ microInteractions: "100-200ms (instant feel)",
12
+ smallTransitions: "200-300ms (noticeable but quick)",
13
+ mediumTransitions: "300-500ms (deliberate movement)",
14
+ largeTransitions: "500-800ms (page loads, complex reveals)"
15
+ },
16
+ easings: {
17
+ standard: "ease-in-out (natural acceleration/deceleration)",
18
+ enter: "ease-out (fast in, slow stop)",
19
+ exit: "ease-in (slow start, fast out)"
20
+ },
21
+ bestPractices: [
22
+ "Respect 'prefers-reduced-motion' media query",
23
+ "Don't animate just for the sake of it",
24
+ "Keep animations fast to avoid feeling sluggish"
25
+ ]
26
+ };
27
+ //# sourceMappingURL=animationGuidance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"animationGuidance.js","sourceRoot":"","sources":["../../src/data/animationGuidance.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAC9C,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC7B,QAAQ,EAAE;QACN,QAAQ,EAAE,kDAAkD;QAC5D,UAAU,EAAE,yCAAyC;QACrD,SAAS,EAAE,kCAAkC;QAC7C,SAAS,EAAE,8BAA8B;QACzC,OAAO,EAAE,4CAA4C;KACxD;IACD,gBAAgB,EAAE;QACd,iBAAiB,EAAE,0BAA0B;QAC7C,gBAAgB,EAAE,kCAAkC;QACpD,iBAAiB,EAAE,iCAAiC;QACpD,gBAAgB,EAAE,yCAAyC;KAC9D;IACD,OAAO,EAAE;QACL,QAAQ,EAAE,iDAAiD;QAC3D,KAAK,EAAE,+BAA+B;QACtC,IAAI,EAAE,gCAAgC;KACzC;IACD,aAAa,EAAE;QACX,8CAA8C;QAC9C,uCAAuC;QACvC,gDAAgD;KACnD;CACJ,CAAC"}
@@ -0,0 +1,53 @@
1
+ export declare const colorGuidance: {
2
+ psychology: {
3
+ blue: {
4
+ associations: string[];
5
+ bestFor: string[];
6
+ avoid: string[];
7
+ };
8
+ green: {
9
+ associations: string[];
10
+ bestFor: string[];
11
+ avoid: string[];
12
+ };
13
+ red: {
14
+ associations: string[];
15
+ bestFor: string[];
16
+ avoid: string[];
17
+ };
18
+ orange: {
19
+ associations: string[];
20
+ bestFor: string[];
21
+ avoid: string[];
22
+ };
23
+ purple: {
24
+ associations: string[];
25
+ bestFor: string[];
26
+ avoid: string[];
27
+ };
28
+ black: {
29
+ associations: string[];
30
+ bestFor: string[];
31
+ avoid: string[];
32
+ };
33
+ white: {
34
+ associations: string[];
35
+ bestFor: string[];
36
+ avoid: string[];
37
+ };
38
+ };
39
+ modernPalettes: {
40
+ name: string;
41
+ primary: string;
42
+ accent: string;
43
+ neutrals: string;
44
+ mood: string;
45
+ }[];
46
+ applicationRules: {
47
+ sixtyThirtyTen: string;
48
+ ctaColors: string;
49
+ textColors: string;
50
+ backgrounds: string;
51
+ };
52
+ };
53
+ //# sourceMappingURL=colorGuidance.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"colorGuidance.d.ts","sourceRoot":"","sources":["../../src/data/colorGuidance.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiFzB,CAAC"}
@@ -0,0 +1,84 @@
1
+ // Color Psychology and Schemes
2
+ export const colorGuidance = {
3
+ psychology: {
4
+ blue: {
5
+ associations: ["Trust", "Stability", "Professionalism", "Calm", "Security"],
6
+ bestFor: ["Finance", "Healthcare", "Technology", "Corporate", "SaaS"],
7
+ avoid: ["Food (suppresses appetite)", "Urgency-based messaging"]
8
+ },
9
+ green: {
10
+ associations: ["Growth", "Nature", "Health", "Wealth", "Sustainability"],
11
+ bestFor: ["Environmental", "Health/Wellness", "Finance", "Organic products"],
12
+ avoid: ["Luxury brands", "High-energy products"]
13
+ },
14
+ red: {
15
+ associations: ["Energy", "Urgency", "Passion", "Excitement", "Power"],
16
+ bestFor: ["Sales/Clearance", "Food", "Entertainment", "Sports"],
17
+ avoid: ["Healthcare", "Financial (except warnings)", "Relaxation"]
18
+ },
19
+ orange: {
20
+ associations: ["Creativity", "Enthusiasm", "Fun", "Confidence", "Adventure"],
21
+ bestFor: ["Youth brands", "Creative agencies", "Food", "Fitness"],
22
+ avoid: ["Luxury", "Corporate/formal", "Healthcare"]
23
+ },
24
+ purple: {
25
+ associations: ["Luxury", "Creativity", "Wisdom", "Royalty", "Mystery"],
26
+ bestFor: ["Beauty", "Luxury goods", "Creative services", "Spirituality"],
27
+ avoid: ["Budget brands", "Masculine products", "Agriculture"]
28
+ },
29
+ black: {
30
+ associations: ["Elegance", "Power", "Sophistication", "Luxury", "Mystery"],
31
+ bestFor: ["Luxury brands", "Fashion", "Tech", "Premium products"],
32
+ avoid: ["Children's products", "Healthcare", "Budget brands"]
33
+ },
34
+ white: {
35
+ associations: ["Purity", "Simplicity", "Cleanliness", "Modern", "Minimal"],
36
+ bestFor: ["Healthcare", "Tech", "Minimalist brands", "Weddings"],
37
+ avoid: ["Over-reliance can feel sterile or empty"]
38
+ }
39
+ },
40
+ modernPalettes: [
41
+ {
42
+ name: "Professional Trust",
43
+ primary: "Deep blue (#1E40AF to #2563EB)",
44
+ accent: "Amber or teal for CTAs",
45
+ neutrals: "Slate grays",
46
+ mood: "Trustworthy, established, reliable"
47
+ },
48
+ {
49
+ name: "Modern Minimal",
50
+ primary: "Near-black (#0F172A)",
51
+ accent: "Single vibrant color for emphasis",
52
+ neutrals: "Cool grays on white",
53
+ mood: "Clean, sophisticated, focused"
54
+ },
55
+ {
56
+ name: "Warm & Approachable",
57
+ primary: "Coral or warm orange (#F97316)",
58
+ accent: "Complementary teal",
59
+ neutrals: "Warm grays",
60
+ mood: "Friendly, energetic, inviting"
61
+ },
62
+ {
63
+ name: "Nature & Growth",
64
+ primary: "Forest green (#15803D)",
65
+ accent: "Earth tones or gold",
66
+ neutrals: "Warm off-whites",
67
+ mood: "Organic, sustainable, healthy"
68
+ },
69
+ {
70
+ name: "Dark Mode Elegant",
71
+ primary: "Dark gray (#18181B) background",
72
+ accent: "Vibrant purple, blue, or green",
73
+ neutrals: "Gray scale for hierarchy",
74
+ mood: "Modern, tech-forward, sophisticated"
75
+ }
76
+ ],
77
+ applicationRules: {
78
+ sixtyThirtyTen: "60% dominant color (usually background), 30% secondary, 10% accent",
79
+ ctaColors: "CTAs should be the most visually distinct color on the page",
80
+ textColors: "Dark text on light backgrounds, light text on dark. Never pure black (#000) on pure white (#FFF) - too harsh",
81
+ backgrounds: "Slight tints are softer than pure white. #FAFAFA or #F8FAFC feel more refined"
82
+ }
83
+ };
84
+ //# sourceMappingURL=colorGuidance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"colorGuidance.js","sourceRoot":"","sources":["../../src/data/colorGuidance.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,MAAM,CAAC,MAAM,aAAa,GAAG;IACzB,UAAU,EAAE;QACR,IAAI,EAAE;YACF,YAAY,EAAE,CAAC,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,EAAE,UAAU,CAAC;YAC3E,OAAO,EAAE,CAAC,SAAS,EAAE,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,CAAC;YACrE,KAAK,EAAE,CAAC,4B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+ fontSize: string;
6
+ borderRadius: string;
7
+ fontWeight: string;
8
+ colors: string;
9
+ hoverEffect: string;
10
+ example: string;
11
+ };
12
+ secondary: {
13
+ style: string;
14
+ example: string;
15
+ };
16
+ modernVariants: string[];
17
+ };
18
+ cards: {
19
+ modern: {
20
+ background: string;
21
+ shadow: string;
22
+ borderRadius: string;
23
+ padding: string;
24
+ border: string;
25
+ hover: string;
26
+ };
27
+ layout: {
28
+ image: string;
29
+ spacing: string;
30
+ cta: string;
31
+ };
32
+ };
33
+ forms: {
34
+ inputs: {
35
+ sizing: string;
36
+ padding: string;
37
+ borderRadius: string;
38
+ border: string;
39
+ fontSize: string;
40
+ background: string;
41
+ };
42
+ labels: {
43
+ position: string;
44
+ fontSize: string;
45
+ fontWeight: string;
46
+ color: string;
47
+ };
48
+ validation: {
49
+ success: string;
50
+ error: string;
51
+ };
52
+ };
53
+ navigation: {
54
+ modern: {
55
+ style: string;
56
+ linkSpacing: string;
57
+ fontSize: string;
58
+ fontWeight: string;
59
+ activeState: string;
60
+ hoverState: string;
61
+ };
62
+ mobile: {
63
+ pattern: string;
64
+ animation: string;
65
+ closeButton: string;
66
+ };
67
+ };
68
+ };
69
+ //# sourceMappingURL=componentGuidance.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"componentGuidance.d.ts","sourceRoot":"","sources":["../../src/data/componentGuidance.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuE7B,CAAC"}