Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/branding-update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'heroshot': patch
---

Update branding colors, documentation content, and add CSS palette with light/dark mode support.
17 changes: 11 additions & 6 deletions assets/base.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 3 additions & 22 deletions assets/icon-128.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 9 additions & 8 deletions assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions assets/logo_square.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 7 additions & 5 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ export default defineConfig({
logo: '/nav-logo.svg',

nav: [
{ text: 'Guide', link: '/guide/' },
{ text: 'API', link: '/api/cli' },
{ text: 'Docs', link: '/guide/' },
{ text: 'Guides', link: '/guide/automated-updates' },
{ text: 'CLI', link: '/api/cli' },
{ text: 'GitHub', link: 'https://github.com/omachala/heroshot', target: '_blank' },
{ text: 'NPM', link: 'https://www.npmjs.com/package/heroshot', target: '_blank' },
],

sidebar: {
Expand All @@ -44,11 +47,10 @@ export default defineConfig({
],
},

socialLinks: [{ icon: 'github', link: 'https://github.com/omachala/heroshot' }],
socialLinks: [],

footer: {
message: 'Released under the MIT License.',
copyright: 'Copyright © 2024-present',
copyright: '© 2026 Heroshot',
},
},
});
98 changes: 61 additions & 37 deletions docs/.vitepress/theme/custom.css
Original file line number Diff line number Diff line change
@@ -1,64 +1,88 @@
/* ===========================================
Heroshot Theme - Violet & Orange
Heroshot Theme - Navy & Orange
Palette defined in /public/palette.css
=========================================== */

@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');

:root {
--vp-c-brand-1: #7c3aed;
--vp-c-brand-2: #8b5cf6;
--vp-c-brand-3: #a78bfa;
--vp-c-brand-soft: rgba(124, 58, 237, 0.14);
/* Brand palette - must match /public/palette.css */
--brand-dark: #c2410c;
--brand-main: #ea580c;
--brand-light: #fb923c;
--navy-darkest: #0f1d2f;
--navy-dark: #162d4a;
--navy-base: #2a5580;
--navy-light: #3d6a99;

/* VitePress brand colors - using palette */
--vp-c-brand-1: var(--brand-dark);
--vp-c-brand-2: #9a3412;
--vp-c-brand-3: var(--brand-main);
--vp-c-brand-soft: rgba(194, 65, 12, 0.14);

/* Hero image glow */
--vp-home-hero-image-background-image: linear-gradient(
135deg,
rgba(124, 58, 237, 0.5) 0%,
rgba(249, 115, 22, 0.4) 100%
);
--vp-home-hero-image-filter: blur(72px);
/* VitePress text colors - using palette */
--vp-c-text-1: var(--navy-darkest);
--vp-c-text-2: var(--navy-base);
--vp-c-text-3: var(--navy-light);
}

.dark {
--vp-c-brand-1: #a78bfa;
--vp-c-brand-2: #8b5cf6;
--vp-c-brand-3: #7c3aed;
--vp-c-brand-soft: rgba(167, 139, 250, 0.16);
/* Brand colors - lighter orange for dark mode */
--vp-c-brand-1: #fb923c;
--vp-c-brand-2: #ea580c;
--vp-c-brand-3: #c2410c;
--vp-c-brand-soft: rgba(251, 146, 60, 0.16);

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

/* Hero name gradient - no transition */
/* Hero name - solid orange from logo */
.VPHero .name,
.VPHero .text,
.VPHero .tagline {
transition: none;
}

.VPHero .name,
.VPHero .text {
font-family: 'Nunito Sans', sans-serif;
font-weight: 700;
font-style: italic;
}

.VPHero .text {
color: var(--navy-base);
}

.VPHero .tagline {
font-family: 'Nunito Sans', sans-serif;
font-weight: 400;
font-style: normal;
}

.VPHero .name {
color: #ea580c;
font-size: 3.5rem;
background: linear-gradient(135deg, var(--brand-main) 0%, var(--brand-light) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

/* Make the glow bigger */
/* Hide glow */
.VPHero .image-bg {
transform: scale(1.8);
display: none;
}

/* Hide nav title on home page (redundant with hero) */
:has(.VPContent.is-home) .VPNavBarTitle {
display: none;
}

.VPHero .image-src {
max-width: 320px;
max-height: 320px;
}

/* Brand button */
.VPButton.brand {
background: #7c3aed;
border-color: #7c3aed;
}

.VPButton.brand:hover {
background: #8b5cf6;
border-color: #8b5cf6;
}
Loading
Loading