Skip to content

Commit 5591853

Browse files
committed
feat(skill): match Layer5 reference illustration style more closely
Based on reference artwork from Layer5 Marketing/People (legos.ai, worship.ai, instructions.ai, downhill.ai): Corner Warmth (daytime): - Saffron packed tighter into upper-left corner at opacity 0.98 (reads as a sun) - Bottom edge saturated with wide Keppel + Caribbean Green bands (0.90-0.92 opacity) - White clearing made substantially larger (rx=0.46, ry=0.58) and more central Deep Space (night): - Charcoal pushed to all four extreme corners at high opacity - Vivid Saffron at lower-left (0.72) — horizon glow, not a faint hint - Steel Teal upper sweep made wider (rx=0.62) to dominate the night sky - White clearing enlarged (rx=0.46, ry=0.56) matching the reference luminous zone Blur stdDeviation reduced from 10% to 8% of canvas width (120px → 96px) for slightly crisper color zone edges, closer to the reference artwork. Signed-off-by: Lee Calcote <lee.calcote@layer5.io>
1 parent f458525 commit 5591853

File tree

6 files changed

+85
-82
lines changed

6 files changed

+85
-82
lines changed

.claude/skills/layer5-blog-writer/assets/sample-hero-images/community-sample.svg

Lines changed: 10 additions & 10 deletions
Loading

.claude/skills/layer5-blog-writer/assets/sample-hero-images/kubernetes-sample.svg

Lines changed: 10 additions & 10 deletions
Loading

.claude/skills/layer5-blog-writer/assets/sample-hero-images/observability-sample.svg

Lines changed: 18 additions & 18 deletions
Loading

.claude/skills/layer5-blog-writer/assets/sample-hero-images/platform-engineering-sample.svg

Lines changed: 10 additions & 10 deletions
Loading

.claude/skills/layer5-blog-writer/scripts/generate_hero_image.py

Lines changed: 27 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -81,32 +81,35 @@
8181
CORNER_WARMTH = [
8282
# cx, cy, rx, ry, color, opacity
8383
#
84-
# Daytime: Saffron sun tight in upper-left, Keppel + Caribbean Green
85-
# pooling across the bottom, Steel Teal bridging mid-sky, dark shadow
86-
# anchoring the lower-left corner behind the text area.
87-
(0.06, 0.07, 0.30, 0.26, SAFFRON, 0.95), # deep saffron — upper-left sun
88-
(0.18, 0.14, 0.26, 0.22, BANANA, 0.75), # banana mania — warm halo around sun
89-
(0.08, 0.84, 0.26, 0.22, TEAL, 0.82), # keppel — bottom-left anchor
90-
(0.38, 0.92, 0.40, 0.24, TEAL, 0.88), # keppel — bottom center-left
91-
(0.80, 0.90, 0.36, 0.24, TEAL_LIGHT, 0.82), # caribbean green — bottom right
92-
(0.46, 0.54, 0.38, 0.32, STEEL_TEAL, 0.62), # steel teal — mid-sky bridge
93-
# White subject halo — where Five stands (right portion, center-height)
94-
(0.74, 0.46, 0.30, 0.44, OFF_WHITE, 0.96),
84+
# Daytime: deep Saffron packed tight into the upper-left corner like a sun,
85+
# Keppel + Caribbean Green saturating the entire bottom edge,
86+
# Steel Teal bridging the mid-sky, large luminous white clearing center-right.
87+
# Reference: Layer5 Marketing/People/legos.ai, worship.ai, internships-open.ai
88+
(0.05, 0.06, 0.32, 0.28, SAFFRON, 0.98), # deep saffron — tight upper-left sun
89+
(0.20, 0.16, 0.28, 0.24, BANANA, 0.80), # banana mania — warm glow off the sun
90+
(0.08, 0.86, 0.30, 0.26, TEAL, 0.90), # keppel — bottom-left, strong
91+
(0.45, 0.94, 0.46, 0.22, TEAL, 0.92), # keppel — bottom center, wide band
92+
(0.88, 0.88, 0.38, 0.26, TEAL_LIGHT, 0.90), # caribbean green — bottom-right, strong
93+
(0.44, 0.50, 0.36, 0.30, STEEL_TEAL, 0.60), # steel teal — mid-sky transition
94+
# Large luminous white clearing — center-right, generous size so Five
95+
# reads clearly and the transition from color edges feels spacious
96+
(0.66, 0.44, 0.46, 0.58, WHITE, 0.97),
9597
]
9698

9799
DEEP_SPACE = [
98-
# Night sky: Steel Teal sweeps the upper portion as the dominant blue,
99-
# Charcoal anchors extreme corners for depth, faint Saffron at lower-left
100-
# hints at a distant horizon, luminous clearing where Five stands.
101-
(0.06, 0.08, 0.26, 0.28, CHARCOAL, 0.92), # very dark — upper-left corner
102-
(0.94, 0.10, 0.22, 0.24, CHARCOAL, 0.85), # very dark — upper-right corner
103-
(0.08, 0.88, 0.22, 0.20, SAFFRON, 0.48), # faint gold — lower-left horizon
104-
(0.90, 0.82, 0.22, 0.24, TEAL, 0.58), # keppel — lower-right
105-
(0.48, 0.20, 0.58, 0.42, STEEL_TEAL, 0.82), # steel teal — large upper-sky sweep
106-
(0.22, 0.58, 0.32, 0.36, STEEL_TEAL, 0.65), # steel teal — mid-left depth layer
107-
# Large luminous opening (the "clearing in the nebula")
108-
(0.60, 0.46, 0.36, 0.46, WHITE, 0.90),
109-
(0.68, 0.44, 0.18, 0.22, OFF_WHITE, 0.82), # bright core
100+
# Night sky: deep Charcoal pushed to all four corners, Steel Teal dominates
101+
# the upper canvas as the night-sky blue, vivid Saffron at lower-left for
102+
# a horizon glow, large luminous white clearing where Five stands.
103+
# Reference: Layer5 Marketing/People/instructions.ai, downhill.ai
104+
(0.04, 0.06, 0.28, 0.30, CHARCOAL, 0.95), # very dark — upper-left corner
105+
(0.96, 0.06, 0.24, 0.28, CHARCOAL, 0.90), # very dark — upper-right corner
106+
(0.04, 0.94, 0.24, 0.22, CHARCOAL, 0.88), # very dark — lower-left corner
107+
(0.10, 0.80, 0.28, 0.26, SAFFRON, 0.72), # vivid gold — lower-left horizon glow
108+
(0.50, 0.18, 0.62, 0.44, STEEL_TEAL, 0.85), # steel teal — large upper-sky sweep
109+
(0.18, 0.52, 0.30, 0.38, STEEL_TEAL, 0.68), # steel teal — mid-left depth layer
110+
# Large luminous clearing — generous, center-weighted
111+
(0.60, 0.46, 0.46, 0.56, WHITE, 0.94),
112+
(0.66, 0.42, 0.22, 0.28, OFF_WHITE, 0.88), # bright core
110113
]
111114

112115
# Map category → composition. Corner Warmth is the warmer, more energetic look;
@@ -148,7 +151,7 @@ def bg_blobs_svg(category, W, H):
148151
1200px canvas gives stdDeviation=120, matching the style guide reference.
149152
"""
150153
composition = CATEGORY_COMPOSITION.get(category, CORNER_WARMTH)
151-
blur_std = round(W * 0.10)
154+
blur_std = round(W * 0.08) # 96px at 1200px canvas — slightly crisper zone edges
152155

153156
filter_def = (
154157
f'<filter id="bgBlur" x="-100%" y="-100%" width="300%" height="300%">\n'

src/collections/blog/2026/04-02-open-source-maintenance-ai-contributors/hero-image.svg

Lines changed: 10 additions & 10 deletions
Loading

0 commit comments

Comments
 (0)