|
1 | 1 | /* =========================================== |
2 | | - Heroshot Theme - Violet & Orange |
| 2 | + Heroshot Theme - Navy & Orange |
| 3 | + Palette defined in /public/palette.css |
3 | 4 | =========================================== */ |
4 | 5 |
|
| 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 | + |
5 | 8 | :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); |
10 | 23 |
|
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); |
18 | 28 | } |
19 | 29 |
|
20 | 30 | .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); |
25 | 36 |
|
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 */ |
32 | 41 | } |
33 | 42 |
|
34 | | -/* Hero name gradient - no transition */ |
| 43 | +/* Hero name - solid orange from logo */ |
35 | 44 | .VPHero .name, |
36 | 45 | .VPHero .text, |
37 | 46 | .VPHero .tagline { |
38 | 47 | transition: none; |
39 | 48 | } |
40 | 49 |
|
| 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 | + |
41 | 67 | .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; |
43 | 73 | } |
44 | 74 |
|
45 | | -/* Make the glow bigger */ |
| 75 | +/* Hide glow */ |
46 | 76 | .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; |
48 | 83 | } |
49 | 84 |
|
50 | 85 | .VPHero .image-src { |
51 | 86 | max-width: 320px; |
52 | 87 | max-height: 320px; |
53 | 88 | } |
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