raven-mcp 1.0.0
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.
- package/LICENSE +21 -0
- package/README.md +72 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +629 -0
- package/dist/index.js.map +1 -0
- package/package.json +51 -0
- package/src/data/business/growth.json +48 -0
- package/src/data/business/metrics.json +48 -0
- package/src/data/business/monetization.json +56 -0
- package/src/data/business/onboarding.json +48 -0
- package/src/data/business/retention.json +48 -0
- package/src/data/patterns/cta.json +51 -0
- package/src/data/patterns/dashboard.json +51 -0
- package/src/data/patterns/empty-states.json +42 -0
- package/src/data/patterns/error-states.json +51 -0
- package/src/data/patterns/forms.json +53 -0
- package/src/data/patterns/landing-page.json +51 -0
- package/src/data/patterns/loading-states.json +51 -0
- package/src/data/patterns/mobile-conversion.json +51 -0
- package/src/data/patterns/modals-dialogs.json +51 -0
- package/src/data/patterns/navigation.json +50 -0
- package/src/data/patterns/pricing-page.json +59 -0
- package/src/data/patterns/signup-flow.json +52 -0
- package/src/data/patterns/social-proof.json +49 -0
- package/src/data/principles/accessibility.json +151 -0
- package/src/data/principles/color-theory.json +100 -0
- package/src/data/principles/d4d.json +113 -0
- package/src/data/principles/gestalt.json +129 -0
- package/src/data/principles/laws-of-ux.json +490 -0
- package/src/data/principles/mobile-ux.json +126 -0
- package/src/data/principles/nielsen-heuristics.json +258 -0
- package/src/data/principles/typography.json +117 -0
- package/src/data/tokens/registry.json +67 -0
- package/src/data/tokens/systems/linear.json +134 -0
- package/src/data/tokens/systems/stripe.json +147 -0
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$name": "Stripe",
|
|
3
|
+
"$description": "Stripe design system tokens — clean, professional fintech design.",
|
|
4
|
+
"color": {
|
|
5
|
+
"$type": "color",
|
|
6
|
+
"primary": { "$value": "#635BFF", "$description": "Stripe purple — the signature brand color" },
|
|
7
|
+
"primary-light": { "$value": "#7A73FF", "$description": "Lighter purple for hover states" },
|
|
8
|
+
"primary-dark": { "$value": "#4B45C6", "$description": "Darker purple for active states" },
|
|
9
|
+
"secondary": { "$value": "#0A2540", "$description": "Dark navy — primary text and backgrounds" },
|
|
10
|
+
"accent-cyan": { "$value": "#00D4FF", "$description": "Cyan accent for highlights and gradients" },
|
|
11
|
+
"accent-green": { "$value": "#77E4B1", "$description": "Green accent for success states" },
|
|
12
|
+
"accent-pink": { "$value": "#FF80E5", "$description": "Pink accent for gradients and marketing" },
|
|
13
|
+
"accent-orange": { "$value": "#FF9E2C", "$description": "Orange accent for warnings" },
|
|
14
|
+
"background": { "$value": "#FFFFFF", "$description": "Default page background" },
|
|
15
|
+
"background-offset": { "$value": "#F6F9FC", "$description": "Offset background for sections" },
|
|
16
|
+
"background-dark": { "$value": "#0A2540", "$description": "Dark background for dark sections" },
|
|
17
|
+
"surface": { "$value": "#FFFFFF", "$description": "Card and panel surface" },
|
|
18
|
+
"surface-elevated": { "$value": "#FFFFFF", "$description": "Elevated surface (modals, popovers)" },
|
|
19
|
+
"border": { "$value": "#E3E8EF", "$description": "Default border color" },
|
|
20
|
+
"border-light": { "$value": "#F0F2F5", "$description": "Subtle border" },
|
|
21
|
+
"text-primary": { "$value": "#0A2540", "$description": "Primary text" },
|
|
22
|
+
"text-secondary": { "$value": "#425466", "$description": "Secondary/muted text" },
|
|
23
|
+
"text-tertiary": { "$value": "#8898AA", "$description": "Tertiary/placeholder text" },
|
|
24
|
+
"text-inverse": { "$value": "#FFFFFF", "$description": "Text on dark backgrounds" },
|
|
25
|
+
"success": { "$value": "#34D399", "$description": "Success green" },
|
|
26
|
+
"error": { "$value": "#DF1B41", "$description": "Error red" },
|
|
27
|
+
"warning": { "$value": "#F5A623", "$description": "Warning amber" },
|
|
28
|
+
"info": { "$value": "#635BFF", "$description": "Info — uses primary purple" }
|
|
29
|
+
},
|
|
30
|
+
"color-dark": {
|
|
31
|
+
"$type": "color",
|
|
32
|
+
"background": { "$value": "#0A2540", "$description": "Dark mode background" },
|
|
33
|
+
"background-offset": { "$value": "#0F2D4A", "$description": "Dark mode offset background" },
|
|
34
|
+
"surface": { "$value": "#1A3A5C", "$description": "Dark mode surface" },
|
|
35
|
+
"surface-elevated": { "$value": "#1F4468", "$description": "Dark mode elevated surface" },
|
|
36
|
+
"border": { "$value": "#2D4F6E", "$description": "Dark mode border" },
|
|
37
|
+
"text-primary": { "$value": "#FFFFFF", "$description": "Dark mode primary text" },
|
|
38
|
+
"text-secondary": { "$value": "#ADBDCC", "$description": "Dark mode secondary text" },
|
|
39
|
+
"text-tertiary": { "$value": "#6B7C93", "$description": "Dark mode tertiary text" }
|
|
40
|
+
},
|
|
41
|
+
"typography": {
|
|
42
|
+
"font-family": {
|
|
43
|
+
"$type": "fontFamily",
|
|
44
|
+
"display": { "$value": "\"Stripe Display\", system-ui, -apple-system, sans-serif", "$description": "Display/heading font" },
|
|
45
|
+
"body": { "$value": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", sans-serif", "$description": "Body text font" },
|
|
46
|
+
"mono": { "$value": "\"Menlo\", \"Consolas\", monospace", "$description": "Monospace for code" }
|
|
47
|
+
},
|
|
48
|
+
"font-size": {
|
|
49
|
+
"$type": "dimension",
|
|
50
|
+
"xs": { "$value": "12px", "$description": "Extra small — captions, badges" },
|
|
51
|
+
"sm": { "$value": "14px", "$description": "Small — labels, secondary text" },
|
|
52
|
+
"base": { "$value": "16px", "$description": "Base body text" },
|
|
53
|
+
"lg": { "$value": "18px", "$description": "Large body text" },
|
|
54
|
+
"xl": { "$value": "20px", "$description": "Section headings" },
|
|
55
|
+
"2xl": { "$value": "24px", "$description": "Page headings" },
|
|
56
|
+
"3xl": { "$value": "32px", "$description": "Large headings" },
|
|
57
|
+
"4xl": { "$value": "40px", "$description": "Hero headings" },
|
|
58
|
+
"5xl": { "$value": "48px", "$description": "Display text" },
|
|
59
|
+
"6xl": { "$value": "64px", "$description": "Large display text" }
|
|
60
|
+
},
|
|
61
|
+
"font-weight": {
|
|
62
|
+
"$type": "fontWeight",
|
|
63
|
+
"regular": { "$value": "400" },
|
|
64
|
+
"medium": { "$value": "500" },
|
|
65
|
+
"semibold": { "$value": "600" },
|
|
66
|
+
"bold": { "$value": "700" }
|
|
67
|
+
},
|
|
68
|
+
"line-height": {
|
|
69
|
+
"$type": "number",
|
|
70
|
+
"tight": { "$value": "1.2", "$description": "Headings" },
|
|
71
|
+
"normal": { "$value": "1.5", "$description": "Body text" },
|
|
72
|
+
"relaxed": { "$value": "1.7", "$description": "Long-form content" }
|
|
73
|
+
},
|
|
74
|
+
"letter-spacing": {
|
|
75
|
+
"$type": "dimension",
|
|
76
|
+
"tight": { "$value": "-0.02em", "$description": "Large headings" },
|
|
77
|
+
"normal": { "$value": "0", "$description": "Body text" },
|
|
78
|
+
"wide": { "$value": "0.05em", "$description": "All-caps labels" }
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"spacing": {
|
|
82
|
+
"$type": "dimension",
|
|
83
|
+
"0": { "$value": "0px" },
|
|
84
|
+
"1": { "$value": "4px" },
|
|
85
|
+
"2": { "$value": "8px" },
|
|
86
|
+
"3": { "$value": "12px" },
|
|
87
|
+
"4": { "$value": "16px" },
|
|
88
|
+
"5": { "$value": "20px" },
|
|
89
|
+
"6": { "$value": "24px" },
|
|
90
|
+
"8": { "$value": "32px" },
|
|
91
|
+
"10": { "$value": "40px" },
|
|
92
|
+
"12": { "$value": "48px" },
|
|
93
|
+
"16": { "$value": "64px" },
|
|
94
|
+
"20": { "$value": "80px" },
|
|
95
|
+
"24": { "$value": "96px" },
|
|
96
|
+
"32": { "$value": "128px" }
|
|
97
|
+
},
|
|
98
|
+
"radius": {
|
|
99
|
+
"$type": "dimension",
|
|
100
|
+
"none": { "$value": "0px" },
|
|
101
|
+
"sm": { "$value": "4px" },
|
|
102
|
+
"md": { "$value": "8px" },
|
|
103
|
+
"lg": { "$value": "12px" },
|
|
104
|
+
"xl": { "$value": "16px" },
|
|
105
|
+
"2xl": { "$value": "24px" },
|
|
106
|
+
"full": { "$value": "9999px" }
|
|
107
|
+
},
|
|
108
|
+
"elevation": {
|
|
109
|
+
"sm": {
|
|
110
|
+
"$type": "shadow",
|
|
111
|
+
"$value": "0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06)",
|
|
112
|
+
"$description": "Subtle elevation — cards, inputs"
|
|
113
|
+
},
|
|
114
|
+
"md": {
|
|
115
|
+
"$type": "shadow",
|
|
116
|
+
"$value": "0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06)",
|
|
117
|
+
"$description": "Medium elevation — dropdowns, popovers"
|
|
118
|
+
},
|
|
119
|
+
"lg": {
|
|
120
|
+
"$type": "shadow",
|
|
121
|
+
"$value": "0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05)",
|
|
122
|
+
"$description": "High elevation — modals"
|
|
123
|
+
},
|
|
124
|
+
"xl": {
|
|
125
|
+
"$type": "shadow",
|
|
126
|
+
"$value": "0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04)",
|
|
127
|
+
"$description": "Highest elevation — toasts, notifications"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"motion": {
|
|
131
|
+
"duration": {
|
|
132
|
+
"$type": "duration",
|
|
133
|
+
"instant": { "$value": "50ms" },
|
|
134
|
+
"fast": { "$value": "100ms" },
|
|
135
|
+
"normal": { "$value": "200ms" },
|
|
136
|
+
"slow": { "$value": "300ms" },
|
|
137
|
+
"slower": { "$value": "500ms" }
|
|
138
|
+
},
|
|
139
|
+
"easing": {
|
|
140
|
+
"$type": "cubicBezier",
|
|
141
|
+
"default": { "$value": [0.4, 0, 0.2, 1], "$description": "Standard easing" },
|
|
142
|
+
"in": { "$value": [0.4, 0, 1, 1], "$description": "Ease in — for exits" },
|
|
143
|
+
"out": { "$value": [0, 0, 0.2, 1], "$description": "Ease out — for entrances" },
|
|
144
|
+
"bounce": { "$value": [0.34, 1.56, 0.64, 1], "$description": "Playful bounce" }
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|