Skip to content

Commit ec788fd

Browse files
omachalaOndrej Machala
andauthored
docs: update branding, docs content, and color palette (#6)
- Updated logo colors (lighter circle, lighter bolt outline) - Added CSS palette with light/dark mode support - Updated landing page content to match IDEA.md vision - Fixed navigation and footer --------- Co-authored-by: Ondrej Machala <[email protected]>
1 parent 1f13b70 commit ec788fd

File tree

18 files changed

+718
-172
lines changed

18 files changed

+718
-172
lines changed

.changeset/branding-update.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'heroshot': patch
3+
---
4+
5+
Update branding colors, documentation content, and add CSS palette with light/dark mode support.

assets/base.svg

Lines changed: 11 additions & 6 deletions
Loading

assets/icon-128.svg

Lines changed: 3 additions & 22 deletions
Loading

assets/logo.svg

Lines changed: 9 additions & 8 deletions
Loading

assets/logo_square.svg

Lines changed: 5 additions & 5 deletions
Loading

docs/.vitepress/config.ts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,11 @@ export default defineConfig({
1818
logo: '/nav-logo.svg',
1919

2020
nav: [
21-
{ text: 'Guide', link: '/guide/' },
22-
{ text: 'API', link: '/api/cli' },
21+
{ text: 'Docs', link: '/guide/' },
22+
{ text: 'Guides', link: '/guide/automated-updates' },
23+
{ text: 'CLI', link: '/api/cli' },
24+
{ text: 'GitHub', link: 'https://github.com/omachala/heroshot', target: '_blank' },
25+
{ text: 'NPM', link: 'https://www.npmjs.com/package/heroshot', target: '_blank' },
2326
],
2427

2528
sidebar: {
@@ -44,11 +47,10 @@ export default defineConfig({
4447
],
4548
},
4649

47-
socialLinks: [{ icon: 'github', link: 'https://github.com/omachala/heroshot' }],
50+
socialLinks: [],
4851

4952
footer: {
50-
message: 'Released under the MIT License.',
51-
copyright: 'Copyright © 2024-present',
53+
copyright: '© 2026 Heroshot',
5254
},
5355
},
5456
});

docs/.vitepress/theme/custom.css

Lines changed: 61 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,88 @@
11
/* ===========================================
2-
Heroshot Theme - Violet & Orange
2+
Heroshot Theme - Navy & Orange
3+
Palette defined in /public/palette.css
34
=========================================== */
45

6+
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');
7+
58
:root {
6-
--vp-c-brand-1: #7c3aed;
7-
--vp-c-brand-2: #8b5cf6;
8-
--vp-c-brand-3: #a78bfa;
9-
--vp-c-brand-soft: rgba(124, 58, 237, 0.14);
9+
/* Brand palette - must match /public/palette.css */
10+
--brand-dark: #c2410c;
11+
--brand-main: #ea580c;
12+
--brand-light: #fb923c;
13+
--navy-darkest: #0f1d2f;
14+
--navy-dark: #162d4a;
15+
--navy-base: #2a5580;
16+
--navy-light: #3d6a99;
17+
18+
/* VitePress brand colors - using palette */
19+
--vp-c-brand-1: var(--brand-dark);
20+
--vp-c-brand-2: #9a3412;
21+
--vp-c-brand-3: var(--brand-main);
22+
--vp-c-brand-soft: rgba(194, 65, 12, 0.14);
1023

11-
/* Hero image glow */
12-
--vp-home-hero-image-background-image: linear-gradient(
13-
135deg,
14-
rgba(124, 58, 237, 0.5) 0%,
15-
rgba(249, 115, 22, 0.4) 100%
16-
);
17-
--vp-home-hero-image-filter: blur(72px);
24+
/* VitePress text colors - using palette */
25+
--vp-c-text-1: var(--navy-darkest);
26+
--vp-c-text-2: var(--navy-base);
27+
--vp-c-text-3: var(--navy-light);
1828
}
1929

2030
.dark {
21-
--vp-c-brand-1: #a78bfa;
22-
--vp-c-brand-2: #8b5cf6;
23-
--vp-c-brand-3: #7c3aed;
24-
--vp-c-brand-soft: rgba(167, 139, 250, 0.16);
31+
/* Brand colors - lighter orange for dark mode */
32+
--vp-c-brand-1: #fb923c;
33+
--vp-c-brand-2: #ea580c;
34+
--vp-c-brand-3: #c2410c;
35+
--vp-c-brand-soft: rgba(251, 146, 60, 0.16);
2536

26-
--vp-home-hero-image-background-image: linear-gradient(
27-
135deg,
28-
rgba(124, 58, 237, 0.6) 0%,
29-
rgba(249, 115, 22, 0.5) 100%
30-
);
31-
--vp-home-hero-image-filter: blur(72px);
37+
/* Text colors - light navy for dark mode */
38+
--vp-c-text-1: #e2e8f0; /* very light */
39+
--vp-c-text-2: #94a3b8; /* muted light navy */
40+
--vp-c-text-3: #64748b; /* darker muted */
3241
}
3342

34-
/* Hero name gradient - no transition */
43+
/* Hero name - solid orange from logo */
3544
.VPHero .name,
3645
.VPHero .text,
3746
.VPHero .tagline {
3847
transition: none;
3948
}
4049

50+
.VPHero .name,
51+
.VPHero .text {
52+
font-family: 'Nunito Sans', sans-serif;
53+
font-weight: 700;
54+
font-style: italic;
55+
}
56+
57+
.VPHero .text {
58+
color: var(--navy-base);
59+
}
60+
61+
.VPHero .tagline {
62+
font-family: 'Nunito Sans', sans-serif;
63+
font-weight: 400;
64+
font-style: normal;
65+
}
66+
4167
.VPHero .name {
42-
color: #ea580c;
68+
font-size: 3.5rem;
69+
background: linear-gradient(135deg, var(--brand-main) 0%, var(--brand-light) 100%);
70+
-webkit-background-clip: text;
71+
-webkit-text-fill-color: transparent;
72+
background-clip: text;
4373
}
4474

45-
/* Make the glow bigger */
75+
/* Hide glow */
4676
.VPHero .image-bg {
47-
transform: scale(1.8);
77+
display: none;
78+
}
79+
80+
/* Hide nav title on home page (redundant with hero) */
81+
:has(.VPContent.is-home) .VPNavBarTitle {
82+
display: none;
4883
}
4984

5085
.VPHero .image-src {
5186
max-width: 320px;
5287
max-height: 320px;
5388
}
54-
55-
/* Brand button */
56-
.VPButton.brand {
57-
background: #7c3aed;
58-
border-color: #7c3aed;
59-
}
60-
61-
.VPButton.brand:hover {
62-
background: #8b5cf6;
63-
border-color: #8b5cf6;
64-
}

0 commit comments

Comments
 (0)