@trishchuk/coolors-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/.claude/settings.local.json +39 -0
- package/.env +2 -0
- package/.github/ISSUE_TEMPLATE/bug_report.md +73 -0
- package/.github/ISSUE_TEMPLATE/feature_request.md +71 -0
- package/.github/pull_request_template.md +97 -0
- package/.github/workflows/ci.yml +127 -0
- package/.github/workflows/deploy-docs.yml +56 -0
- package/.github/workflows/release.yml +99 -0
- package/.mcp.json +12 -0
- package/.prettierignore +1 -0
- package/CLAUDE.md +201 -0
- package/DOCUMENTATION.md +274 -0
- package/GEMINI.md +54 -0
- package/LICENSE +21 -0
- package/README.md +401 -0
- package/demo/content_based_color.png +0 -0
- package/demo/music-player.html +621 -0
- package/demo/podcast-player.html +903 -0
- package/dist/bin/coolors-mcp.d.ts +1 -0
- package/dist/bin/coolors-mcp.js +154 -0
- package/dist/bin/coolors-mcp.js.map +1 -0
- package/dist/bin/server.d.ts +1 -0
- package/dist/bin/server.js +3292 -0
- package/dist/bin/server.js.map +1 -0
- package/dist/chunk-IQ7NN26V.js +114 -0
- package/dist/chunk-IQ7NN26V.js.map +1 -0
- package/dist/chunk-P3ARRKLS.js +1214 -0
- package/dist/chunk-P3ARRKLS.js.map +1 -0
- package/dist/color/index.d.ts +716 -0
- package/dist/color/index.js +153 -0
- package/dist/color/index.js.map +1 -0
- package/dist/coolors-mcp.d.ts +136 -0
- package/dist/coolors-mcp.js +7 -0
- package/dist/coolors-mcp.js.map +1 -0
- package/docs/.vitepress/cache/deps/@braintree_sanitize-url.js +93 -0
- package/docs/.vitepress/cache/deps/@braintree_sanitize-url.js.map +7 -0
- package/docs/.vitepress/cache/deps/_metadata.json +127 -0
- package/docs/.vitepress/cache/deps/chunk-BUSYA2B4.js +9 -0
- package/docs/.vitepress/cache/deps/chunk-BUSYA2B4.js.map +7 -0
- package/docs/.vitepress/cache/deps/chunk-JD3CXNQ6.js +12683 -0
- package/docs/.vitepress/cache/deps/chunk-JD3CXNQ6.js.map +7 -0
- package/docs/.vitepress/cache/deps/chunk-SYPOPCWC.js +9719 -0
- package/docs/.vitepress/cache/deps/chunk-SYPOPCWC.js.map +7 -0
- package/docs/.vitepress/cache/deps/cytoscape-cose-bilkent.js +4710 -0
- package/docs/.vitepress/cache/deps/cytoscape-cose-bilkent.js.map +7 -0
- package/docs/.vitepress/cache/deps/cytoscape.js +30278 -0
- package/docs/.vitepress/cache/deps/cytoscape.js.map +7 -0
- package/docs/.vitepress/cache/deps/dayjs.js +285 -0
- package/docs/.vitepress/cache/deps/dayjs.js.map +7 -0
- package/docs/.vitepress/cache/deps/debug.js +468 -0
- package/docs/.vitepress/cache/deps/debug.js.map +7 -0
- package/docs/.vitepress/cache/deps/package.json +3 -0
- package/docs/.vitepress/cache/deps/prismjs.js +1466 -0
- package/docs/.vitepress/cache/deps/prismjs.js.map +7 -0
- package/docs/.vitepress/cache/deps/prismjs_components_prism-bash.js +228 -0
- package/docs/.vitepress/cache/deps/prismjs_components_prism-bash.js.map +7 -0
- package/docs/.vitepress/cache/deps/prismjs_components_prism-javascript.js +142 -0
- package/docs/.vitepress/cache/deps/prismjs_components_prism-javascript.js.map +7 -0
- package/docs/.vitepress/cache/deps/prismjs_components_prism-json.js +27 -0
- package/docs/.vitepress/cache/deps/prismjs_components_prism-json.js.map +7 -0
- package/docs/.vitepress/cache/deps/prismjs_components_prism-python.js +65 -0
- package/docs/.vitepress/cache/deps/prismjs_components_prism-python.js.map +7 -0
- package/docs/.vitepress/cache/deps/prismjs_components_prism-typescript.js +53 -0
- package/docs/.vitepress/cache/deps/prismjs_components_prism-typescript.js.map +7 -0
- package/docs/.vitepress/cache/deps/prismjs_components_prism-yaml.js +73 -0
- package/docs/.vitepress/cache/deps/prismjs_components_prism-yaml.js.map +7 -0
- package/docs/.vitepress/cache/deps/vitepress___@vue_devtools-api.js +4507 -0
- package/docs/.vitepress/cache/deps/vitepress___@vue_devtools-api.js.map +7 -0
- package/docs/.vitepress/cache/deps/vitepress___@vueuse_core.js +584 -0
- package/docs/.vitepress/cache/deps/vitepress___@vueuse_core.js.map +7 -0
- package/docs/.vitepress/cache/deps/vitepress___@vueuse_integrations_useFocusTrap.js +1146 -0
- package/docs/.vitepress/cache/deps/vitepress___@vueuse_integrations_useFocusTrap.js.map +7 -0
- package/docs/.vitepress/cache/deps/vitepress___mark__js_src_vanilla__js.js +1667 -0
- package/docs/.vitepress/cache/deps/vitepress___mark__js_src_vanilla__js.js.map +7 -0
- package/docs/.vitepress/cache/deps/vitepress___minisearch.js +1814 -0
- package/docs/.vitepress/cache/deps/vitepress___minisearch.js.map +7 -0
- package/docs/.vitepress/cache/deps/vue.js +344 -0
- package/docs/.vitepress/cache/deps/vue.js.map +7 -0
- package/docs/.vitepress/components/ClientGrid.vue +125 -0
- package/docs/.vitepress/components/CodeBlock.vue +231 -0
- package/docs/.vitepress/components/ConfigModal.vue +477 -0
- package/docs/.vitepress/components/DiagramModal.vue +528 -0
- package/docs/.vitepress/components/TroubleshootingModal.vue +472 -0
- package/docs/.vitepress/config.js +162 -0
- package/docs/.vitepress/theme/FundingLayout.vue +251 -0
- package/docs/.vitepress/theme/Layout.vue +134 -0
- package/docs/.vitepress/theme/components/AdBanner.vue +317 -0
- package/docs/.vitepress/theme/components/AdPlaceholder.vue +78 -0
- package/docs/.vitepress/theme/components/FundingEffects.vue +322 -0
- package/docs/.vitepress/theme/components/FundingHero.vue +345 -0
- package/docs/.vitepress/theme/components/SupportSection.vue +511 -0
- package/docs/.vitepress/theme/custom-app.css +339 -0
- package/docs/.vitepress/theme/custom.css +699 -0
- package/docs/.vitepress/theme/index.js +25 -0
- package/docs/README.md +198 -0
- package/docs/concepts/accessibility.md +473 -0
- package/docs/concepts/color-spaces.md +222 -0
- package/docs/concepts/distance-metrics.md +384 -0
- package/docs/concepts/hct.md +261 -0
- package/docs/concepts/image-analysis.md +396 -0
- package/docs/concepts/material-design.md +306 -0
- package/docs/concepts/theme-matching.md +399 -0
- package/docs/examples/basic-colors.md +490 -0
- package/docs/examples/creating-themes.md +898 -0
- package/docs/examples/css-refactoring.md +824 -0
- package/docs/examples/image-extraction.md +882 -0
- package/docs/getting-started.md +366 -0
- package/docs/index.md +190 -0
- package/docs/installation.md +157 -0
- package/docs/tools/README.md +234 -0
- package/docs/tools/accessibility.md +614 -0
- package/docs/tools/color-operations.md +374 -0
- package/docs/tools/image-extraction.md +624 -0
- package/docs/tools/material-design.md +347 -0
- package/docs/tools/theme-matching.md +552 -0
- package/eslint.config.ts +14 -0
- package/examples/theme-matching.md +113 -0
- package/jsr.json +7 -0
- package/mcp-config.json +8 -0
- package/note.md +35 -0
- package/package.json +122 -0
- package/research_results.md +53 -0
- package/src/bin/coolors-mcp.ts +194 -0
- package/src/bin/server.ts +61 -0
- package/src/color/__tests__/conversions-argb.test.ts +198 -0
- package/src/color/__tests__/extract-colors.test.ts +360 -0
- package/src/color/__tests__/image-utils.test.ts +242 -0
- package/src/color/__tests__/reference-colors.test.ts +278 -0
- package/src/color/__tests__/round-trip.test.ts +197 -0
- package/src/color/conversions.test.ts +402 -0
- package/src/color/conversions.ts +393 -0
- package/src/color/dislike/__tests__/dislike-analyzer.test.ts +248 -0
- package/src/color/dislike/dislike-analyzer.ts +114 -0
- package/src/color/extract-colors.ts +228 -0
- package/src/color/hct/__tests__/hct-class.test.ts +232 -0
- package/src/color/hct/harmonization.ts +204 -0
- package/src/color/hct/hct-class.ts +109 -0
- package/src/color/hct/hct-solver.ts +168 -0
- package/src/color/hct/index.ts +39 -0
- package/src/color/hct/tonal-palette.ts +211 -0
- package/src/color/hct/types.ts +88 -0
- package/src/color/image-utils.ts +79 -0
- package/src/color/index.ts +87 -0
- package/src/color/material-theme.ts +157 -0
- package/src/color/metrics.test.ts +276 -0
- package/src/color/metrics.ts +281 -0
- package/src/color/quantize/__tests__/quantizer_celebi.test.ts +195 -0
- package/src/color/quantize/lab_point_provider.ts +55 -0
- package/src/color/quantize/point_provider.ts +27 -0
- package/src/color/quantize/quantizer_celebi.ts +51 -0
- package/src/color/quantize/quantizer_celebi_test.ts +71 -0
- package/src/color/quantize/quantizer_map.ts +47 -0
- package/src/color/quantize/quantizer_wsmeans.ts +232 -0
- package/src/color/quantize/quantizer_wu.ts +472 -0
- package/src/color/score/__tests__/score.test.ts +224 -0
- package/src/color/score/score.ts +175 -0
- package/src/color/types.ts +151 -0
- package/src/color/utils/color_utils.ts +292 -0
- package/src/color/utils/math_utils.ts +145 -0
- package/src/color/utils.test.ts +403 -0
- package/src/color/utils.ts +315 -0
- package/src/constants.ts +5 -0
- package/src/coolors-mcp.ts +37 -0
- package/src/examples/addition.ts +333 -0
- package/src/examples/color-demo.ts +125 -0
- package/src/examples/custom-logger.ts +201 -0
- package/src/examples/oauth-server.ts +113 -0
- package/src/examples/session-context.ts +269 -0
- package/src/session.ts +116 -0
- package/src/theme/__tests__/matcher.test.ts +180 -0
- package/src/theme/__tests__/parser.test.ts +148 -0
- package/src/theme/__tests__/refactor.test.ts +224 -0
- package/src/theme/index.ts +34 -0
- package/src/theme/matcher.ts +395 -0
- package/src/theme/parser.ts +392 -0
- package/src/theme/refactor.ts +360 -0
- package/src/theme/types.ts +152 -0
- package/src/tools/__tests__/gradient-generator.test.ts +206 -0
- package/src/tools/__tests__/palette-with-locks.test.ts +109 -0
- package/src/tools/color-conversion.tool.ts +54 -0
- package/src/tools/color-distance.tool.ts +41 -0
- package/src/tools/colors.ts +31 -0
- package/src/tools/contrast-checker.tool.ts +37 -0
- package/src/tools/dislike-analyzer.tool.ts +247 -0
- package/src/tools/gradient-generator.tool.ts +250 -0
- package/src/tools/image-extraction.tools.ts +289 -0
- package/src/tools/index.ts +39 -0
- package/src/tools/material-theme.tools.ts +250 -0
- package/src/tools/palette-generator.tool.ts +135 -0
- package/src/tools/palette-with-locks.tool.ts +221 -0
- package/src/tools/registry.ts +142 -0
- package/src/tools/simple-tools.ts +37 -0
- package/src/tools/theme-matching.tools.ts +334 -0
- package/src/types.ts +182 -0
- package/src/utils.ts +22 -0
- package/tsconfig.json +8 -0
- package/vitest.config.js +15 -0
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
class="funding-hero"
|
|
4
|
+
@mouseenter="handleMouseEnter"
|
|
5
|
+
@mousemove="handleMouseMove"
|
|
6
|
+
@mouseleave="handleMouseLeave"
|
|
7
|
+
ref="heroRef"
|
|
8
|
+
>
|
|
9
|
+
<div class="hero-background">
|
|
10
|
+
<div class="hero-glow"></div>
|
|
11
|
+
<div class="hero-particles"></div>
|
|
12
|
+
</div>
|
|
13
|
+
|
|
14
|
+
<div class="hero-content">
|
|
15
|
+
<h1 class="hero-title">
|
|
16
|
+
<span class="title-main">Support Development</span>
|
|
17
|
+
<span class="title-sub">of Coolors MCP</span>
|
|
18
|
+
</h1>
|
|
19
|
+
|
|
20
|
+
<p class="hero-description">
|
|
21
|
+
Every contribution helps maintain, improve and expand this project
|
|
22
|
+
</p>
|
|
23
|
+
|
|
24
|
+
<div class="hero-actions">
|
|
25
|
+
<a
|
|
26
|
+
href="https://github.com/sponsors/x51xxx"
|
|
27
|
+
target="_blank"
|
|
28
|
+
rel="noopener"
|
|
29
|
+
class="action-button action-primary"
|
|
30
|
+
>
|
|
31
|
+
<svg class="button-icon" viewBox="0 0 16 16" fill="currentColor">
|
|
32
|
+
<path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"/>
|
|
33
|
+
</svg>
|
|
34
|
+
Sponsor on GitHub
|
|
35
|
+
</a>
|
|
36
|
+
|
|
37
|
+
<a
|
|
38
|
+
href="https://github.com/x51xxx/coolors-mcp"
|
|
39
|
+
target="_blank"
|
|
40
|
+
rel="noopener"
|
|
41
|
+
class="action-button action-primary"
|
|
42
|
+
>
|
|
43
|
+
<svg class="button-icon" viewBox="0 0 22 22" fill="currentColor">
|
|
44
|
+
<path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/>
|
|
45
|
+
</svg>
|
|
46
|
+
Star on GitHub
|
|
47
|
+
</a>
|
|
48
|
+
|
|
49
|
+
<a
|
|
50
|
+
href="https://ko-fi.com/jamubc"
|
|
51
|
+
target="_blank"
|
|
52
|
+
rel="noopener"
|
|
53
|
+
class="action-button action-secondary"
|
|
54
|
+
>
|
|
55
|
+
<span class="button-icon">☕</span>
|
|
56
|
+
Buy me a coffee
|
|
57
|
+
</a>
|
|
58
|
+
</div>
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
</template>
|
|
62
|
+
|
|
63
|
+
<script setup>
|
|
64
|
+
import { ref, onMounted, onUnmounted } from 'vue'
|
|
65
|
+
|
|
66
|
+
const heroRef = ref(null)
|
|
67
|
+
|
|
68
|
+
const handleMouseEnter = (e) => {
|
|
69
|
+
if (!heroRef.value) return
|
|
70
|
+
|
|
71
|
+
const rect = heroRef.value.getBoundingClientRect()
|
|
72
|
+
const x = e.clientX - rect.left
|
|
73
|
+
const y = e.clientY - rect.top
|
|
74
|
+
|
|
75
|
+
heroRef.value.style.setProperty('--mouse-x', `${x}px`)
|
|
76
|
+
heroRef.value.style.setProperty('--mouse-y', `${y}px`)
|
|
77
|
+
heroRef.value.classList.add('mouse-over')
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
const handleMouseMove = (e) => {
|
|
81
|
+
if (!heroRef.value) return
|
|
82
|
+
|
|
83
|
+
const rect = heroRef.value.getBoundingClientRect()
|
|
84
|
+
const x = e.clientX - rect.left
|
|
85
|
+
const y = e.clientY - rect.top
|
|
86
|
+
|
|
87
|
+
heroRef.value.style.setProperty('--mouse-x', `${x}px`)
|
|
88
|
+
heroRef.value.style.setProperty('--mouse-y', `${y}px`)
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
const handleMouseLeave = () => {
|
|
92
|
+
if (!heroRef.value) return
|
|
93
|
+
heroRef.value.classList.remove('mouse-over')
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
// Create floating particles
|
|
97
|
+
onMounted(() => {
|
|
98
|
+
if (!heroRef.value) return
|
|
99
|
+
|
|
100
|
+
const particlesContainer = heroRef.value.querySelector('.hero-particles')
|
|
101
|
+
const particleCount = 20
|
|
102
|
+
|
|
103
|
+
for (let i = 0; i < particleCount; i++) {
|
|
104
|
+
const particle = document.createElement('div')
|
|
105
|
+
particle.className = 'particle'
|
|
106
|
+
particle.style.setProperty('--delay', `${Math.random() * 10}s`)
|
|
107
|
+
particle.style.setProperty('--duration', `${15 + Math.random() * 20}s`)
|
|
108
|
+
particle.style.left = `${Math.random() * 100}%`
|
|
109
|
+
particle.style.animationDelay = `${Math.random() * 10}s`
|
|
110
|
+
particlesContainer.appendChild(particle)
|
|
111
|
+
}
|
|
112
|
+
})
|
|
113
|
+
</script>
|
|
114
|
+
|
|
115
|
+
<style scoped>
|
|
116
|
+
.funding-hero {
|
|
117
|
+
--mouse-x: 50%;
|
|
118
|
+
--mouse-y: 50%;
|
|
119
|
+
position: relative;
|
|
120
|
+
overflow: hidden;
|
|
121
|
+
padding: 80px 24px;
|
|
122
|
+
margin: -32px -24px 48px;
|
|
123
|
+
background: var(--vp-c-bg);
|
|
124
|
+
border-bottom: 1px solid var(--vp-c-divider);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.hero-background {
|
|
128
|
+
position: absolute;
|
|
129
|
+
top: 0;
|
|
130
|
+
left: 0;
|
|
131
|
+
right: 0;
|
|
132
|
+
bottom: 0;
|
|
133
|
+
pointer-events: none;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.hero-glow {
|
|
137
|
+
position: absolute;
|
|
138
|
+
top: 0;
|
|
139
|
+
left: 0;
|
|
140
|
+
right: 0;
|
|
141
|
+
bottom: 0;
|
|
142
|
+
background: radial-gradient(
|
|
143
|
+
800px circle at var(--mouse-x) var(--mouse-y),
|
|
144
|
+
rgba(255, 140, 0, 0.08),
|
|
145
|
+
rgba(255, 107, 53, 0.04) 40%,
|
|
146
|
+
transparent 65%
|
|
147
|
+
);
|
|
148
|
+
opacity: 0;
|
|
149
|
+
transition: opacity 0.3s ease;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.funding-hero.mouse-over .hero-glow {
|
|
153
|
+
opacity: 1;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.hero-particles {
|
|
157
|
+
position: absolute;
|
|
158
|
+
top: 0;
|
|
159
|
+
left: 0;
|
|
160
|
+
right: 0;
|
|
161
|
+
bottom: 0;
|
|
162
|
+
overflow: hidden;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.particle {
|
|
166
|
+
position: absolute;
|
|
167
|
+
width: 4px;
|
|
168
|
+
height: 4px;
|
|
169
|
+
background: rgba(255, 140, 0, 0.6);
|
|
170
|
+
border-radius: 50%;
|
|
171
|
+
pointer-events: none;
|
|
172
|
+
animation: float var(--duration) ease-in-out infinite;
|
|
173
|
+
animation-delay: var(--delay);
|
|
174
|
+
opacity: 0;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
@keyframes float {
|
|
178
|
+
0% {
|
|
179
|
+
transform: translateY(100vh) translateX(0);
|
|
180
|
+
opacity: 0;
|
|
181
|
+
}
|
|
182
|
+
10% {
|
|
183
|
+
opacity: 0.6;
|
|
184
|
+
}
|
|
185
|
+
90% {
|
|
186
|
+
opacity: 0.6;
|
|
187
|
+
}
|
|
188
|
+
100% {
|
|
189
|
+
transform: translateY(-100vh) translateX(100px);
|
|
190
|
+
opacity: 0;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.hero-content {
|
|
195
|
+
position: relative;
|
|
196
|
+
z-index: 1;
|
|
197
|
+
max-width: 800px;
|
|
198
|
+
margin: 0 auto;
|
|
199
|
+
text-align: center;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.hero-title {
|
|
203
|
+
margin: 0 0 24px;
|
|
204
|
+
line-height: 1.2;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.title-main {
|
|
208
|
+
display: block;
|
|
209
|
+
font-size: 48px;
|
|
210
|
+
font-weight: 800;
|
|
211
|
+
background: linear-gradient(135deg, var(--vp-c-brand) 0%, #ff6b35 50%, #ff8c00 100%);
|
|
212
|
+
-webkit-background-clip: text;
|
|
213
|
+
background-clip: text;
|
|
214
|
+
-webkit-text-fill-color: transparent;
|
|
215
|
+
animation: shimmer 3s ease-in-out infinite;
|
|
216
|
+
background-size: 200% auto;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
@keyframes shimmer {
|
|
220
|
+
0% { background-position: 0% 50%; }
|
|
221
|
+
50% { background-position: 100% 50%; }
|
|
222
|
+
100% { background-position: 0% 50%; }
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.title-sub {
|
|
226
|
+
display: block;
|
|
227
|
+
font-size: 24px;
|
|
228
|
+
font-weight: 600;
|
|
229
|
+
color: var(--vp-c-text-2);
|
|
230
|
+
margin-top: 8px;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.hero-description {
|
|
234
|
+
font-size: 18px;
|
|
235
|
+
color: var(--vp-c-text-2);
|
|
236
|
+
margin: 0 0 32px;
|
|
237
|
+
max-width: 600px;
|
|
238
|
+
margin-left: auto;
|
|
239
|
+
margin-right: auto;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.hero-actions {
|
|
243
|
+
display: flex;
|
|
244
|
+
gap: 16px;
|
|
245
|
+
justify-content: center;
|
|
246
|
+
flex-wrap: wrap;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.action-button {
|
|
250
|
+
display: inline-flex;
|
|
251
|
+
align-items: center;
|
|
252
|
+
gap: 12px;
|
|
253
|
+
padding: 12px 24px;
|
|
254
|
+
border-radius: 8px;
|
|
255
|
+
font-weight: 600;
|
|
256
|
+
text-decoration: none;
|
|
257
|
+
transition: all 0.3s ease;
|
|
258
|
+
position: relative;
|
|
259
|
+
overflow: hidden;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.action-primary {
|
|
263
|
+
background: var(--vp-c-brand);
|
|
264
|
+
color: white;
|
|
265
|
+
border: 1px solid var(--vp-c-brand);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.action-primary:hover {
|
|
269
|
+
transform: translateY(-2px);
|
|
270
|
+
box-shadow:
|
|
271
|
+
0 8px 24px rgba(66, 184, 131, 0.3),
|
|
272
|
+
0 0 40px rgba(255, 140, 0, 0.2);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.action-secondary {
|
|
276
|
+
background: var(--vp-c-bg-soft);
|
|
277
|
+
color: var(--vp-c-text-1);
|
|
278
|
+
border: 1px solid var(--vp-c-divider);
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.action-secondary:hover {
|
|
282
|
+
border-color: rgba(255, 140, 0, 0.6);
|
|
283
|
+
transform: translateY(-2px);
|
|
284
|
+
box-shadow:
|
|
285
|
+
0 0 30px rgba(255, 140, 0, 0.15),
|
|
286
|
+
inset 0 0 20px rgba(255, 140, 0, 0.05);
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.button-icon {
|
|
290
|
+
width: 20px;
|
|
291
|
+
height: 20px;
|
|
292
|
+
font-size: 20px;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
/* Light mode adjustments */
|
|
296
|
+
html:not(.dark) .hero-glow {
|
|
297
|
+
background: radial-gradient(
|
|
298
|
+
800px circle at var(--mouse-x) var(--mouse-y),
|
|
299
|
+
rgba(66, 139, 202, 0.06),
|
|
300
|
+
rgba(71, 150, 227, 0.03) 40%,
|
|
301
|
+
transparent 65%
|
|
302
|
+
);
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
html:not(.dark) .particle {
|
|
306
|
+
background: rgba(66, 139, 202, 0.4);
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
html:not(.dark) .action-secondary:hover {
|
|
310
|
+
border-color: rgba(66, 139, 202, 0.6);
|
|
311
|
+
box-shadow:
|
|
312
|
+
0 0 30px rgba(66, 139, 202, 0.1),
|
|
313
|
+
inset 0 0 20px rgba(66, 139, 202, 0.03);
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
/* Mobile responsive */
|
|
317
|
+
@media (max-width: 768px) {
|
|
318
|
+
.funding-hero {
|
|
319
|
+
padding: 60px 20px;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.title-main {
|
|
323
|
+
font-size: 36px;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.title-sub {
|
|
327
|
+
font-size: 20px;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.hero-description {
|
|
331
|
+
font-size: 16px;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.hero-actions {
|
|
335
|
+
flex-direction: column;
|
|
336
|
+
align-items: center;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.action-button {
|
|
340
|
+
width: 100%;
|
|
341
|
+
max-width: 300px;
|
|
342
|
+
justify-content: center;
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
</style>
|