Every colour, type style and component on the PETALS marketing site, with copy-paste markup. Use this (and docs/design-system.md) before inventing new styles.
All colours are CSS variables defined in :root at the top of styles.css. Use the variable, never the raw hex. Teal is the brand; yellow and orange are the petal accents.
Goldenrod on yellow--petals-goldenrod-on-yellow-light#8A6408
Text
Text dark (headings)--petals-text-dark#1a2534
Text body--petals-text-body#4a5568
Text muted--petals-text-muted#5C6879
Muted on dark--petals-text-muted-on-dark#8F9BAD
Surfaces and borders
Page background--petals-bg#edf2f7
Background alt--petals-bg-alt#f7fafc
White / card--petals-white#ffffff
Dark background--petals-background-dark#1a2534
Border--petals-border-gray#e2e8f0
Heatmap (scores 1 to 5)
1 redscore shortcode#F0524F
2 orangescore shortcode#FFA629
3 yellowscore shortcode#FFCD2A
4 limescore shortcode#BBCC00
5 greenscore shortcode#15AD5D
Shadows
--petals-shadow-sm
--petals-shadow-md
--petals-shadow-lg
Radii in use: 8px buttons, 12px cards and banners, 16px swipeable cards and quote bubbles, 100px pills and tags.
Typography
Lilita One for h1, h2, .petals-heading, big quotes, card numbers and card headings. It is never bold. Plus Jakarta Sans (400 to 700) for everything else, including h3 to h6. Body is 16px, line height 1.7.
Page title (h1, uk-heading-medium)
Section heading (h2, uk-heading-small)
Sub heading (h3, Plus Jakarta Sans bold)
Lead paragraph, used under a section heading.
Body copy in Plus Jakarta Sans. Keep it plain, warm and short. Links use the UIkit default; inside blog posts they turn green and underlined.
Muted small text for meta lines and captions.
<h1 class="uk-heading-medium petals-heading">Page title (h1, uk-heading-medium)</h1>
<h2 class="uk-heading-small petals-heading">Section heading (h2, uk-heading-small)</h2>
<h3>Sub heading (h3, Plus Jakarta Sans bold)</h3>
<p class="uk-text-lead">Lead paragraph, used under a section heading.</p>
<p>Body copy in Plus Jakarta Sans. Keep it plain, warm and short. <a href="#type">Links</a> use the UIkit default; inside blog posts they turn green and underlined.</p>
<p class="uk-text-muted uk-text-small">Muted small text for meta lines and captions.</p>
Section headings usually sit in a centred block: <div class="uk-text-center uk-margin-large-bottom"> with the h2, then <p class="uk-text-lead petals-section-lead">.
Buttons
Always pair the UIkit class with the PETALS class. One primary action per section; the secondary sits beside it.
Category tag classes are generated from the post's category front matter (lowercased, spaces to hyphens), so a new category needs a new .petals-category-* rule in styles.css.
7-day free trial on all plansAll prices shown exclude VATArticlesChangelogDev Time
Every page is a stack of <section class="uk-section ..."> blocks with a uk-container inside. Alternate backgrounds so sections read as separate bands.
Section backgrounds
uk-section uk-section-default (white)uk-section uk-section-muted (UIkit muted grey)uk-section on the page background (--petals-bg, used by the hero and flower sections)petals-video-section style: dark background for contrast
Factor list
Coloured left border per item (--yellow, --orange, --teal). Used for the five feeling factors.
🚀Productivity: are we getting things done?
📚Learning: are we growing as we go?
⚖️Average: a balanced view overall.
<ul class="petals-factors-list">
<li class="petals-factor-item petals-factor-item--yellow">
<span class="petals-factor-emoji">🚀</span>
<span class="petals-factor-text"><strong>Productivity:</strong> are we getting things done?</span>
</li>
<li class="petals-factor-item petals-factor-item--orange">
<span class="petals-factor-emoji">📚</span>
<span class="petals-factor-text"><strong>Learning:</strong> are we growing as we go?</span>
</li>
<li class="petals-factor-item petals-factor-item--teal">
<span class="petals-factor-emoji">⚖️</span>
<span class="petals-factor-text"><strong>Average:</strong> a balanced view overall.</span>
</li>
</ul>
Cards
Benefit card (three-up)
Used for benefits and the "how it works" steps (the step cards put a numbered circle in the SVG instead). Always uk-grid-match so heights line up.
Yellow card
Coloured top border and a matching icon circle. Keep copy to one or two sentences.
Orange card
Icons are 32x32 line drawings, stroked in the card colour.
Teal card
Cycle yellow, orange, teal when there are three in a row.
Plain UIkit card, blog card, trust card, pricing card
Blog cards are in the Blog section. The trust card (petals-trust-card) and plan cards (petals-pricing-card, --featured) are data driven from _data/pricing.json; copy the markup from src/content/pricing.njk rather than rebuilding it.
Banners
Try it free. Teal banner for reassurance and calm information.
Flash sale. Orange banner for time-limited promotions only (gate with the isSaleActive filter).
<div class="petals-trial-banner">
<span uk-icon="icon: clock; ratio: 1.2" class="petals-trial-icon"></span>
<span><strong>Try it free.</strong> Teal banner for reassurance and calm information.</span>
</div>
<div class="petals-sale-banner" style="margin-top: 1rem;">
<span uk-icon="icon: tag; ratio: 1.2" class="petals-sale-banner-icon"></span>
<span><strong>Flash sale.</strong> Orange banner for time-limited promotions only (gate with the <code>isSaleActive</code> filter).</span>
</div>
FAQ accordion
Native <details>, no JavaScript. On the real pages it loops over the faq data file.
How long does a snapshot take?
About two minutes per person.
Is it anonymous?
Answers go into the team heatmap without names attached.
<div class="petals-faq-list">
<details class="petals-faq-item">
<summary class="petals-faq-question">How long does a snapshot take?</summary>
<div class="petals-faq-answer"><p>About two minutes per person.</p></div>
</details>
<details class="petals-faq-item" open>
<summary class="petals-faq-question">Is it anonymous?</summary>
<div class="petals-faq-answer"><p>Answers go into the team heatmap without names attached.</p></div>
</details>
</div>
Video and images
Video embed
Sits in a dark petals-video-section on the homepage. 16:9 responsive wrapper, caption underneath.
Put images in src/assets/images/ (blog images in blog/), prefer .webp, always write real alt text, and set width, height and loading="lazy". Brand logos live in images/brands/ as PNGs. Mascot: petals-bee-*.webp.
Blog
Blog index card
Image (optional), category tag, title, description, date and author, "Read more" footer. Generated by blog/index.njk.
Everything below renders inside .petals-post-body, which layouts/post.njk adds automatically. In Markdown just write h2, h3, paragraphs, lists, tables, bold, italics and links. Blog components (cards, quotes, scores, sources) only look right inside it.
Second-level heading
Body paragraph with bold, italic and a link. Posts are written in British English, in a casual, human voice.
Third-level heading
Bullet lists work, though use cards for lists of points or steps.
Second item.
Team size
Connections
5 people
10
8 people
28
After a horizontal rule.
Blog components
Shortcodes live in src/_11ty/shortcodes.js and are registered in .eleventy.js. Use them in Markdown posts.
Score: {% score 3.5 %}
Whenever a post mentions a specific PETALS score, use this instead of plain text. Colour follows the whole number reached (1 red, 2 orange, 3 yellow, 4 lime, 5 green). Whole numbers show without a decimal; pass a string to keep one ({% score "5.0" %}).
Serenity dropped to 1.9, then 2 and 3.5, then 4.2 and finally 5.
Serenity dropped to {% score 1.9 %}, then {% score 2 %} and {% score 3.5 %}, then {% score 4.2 %} and finally {% score 5 %}.
Numbered cards: {% cards "Label" %}
Use instead of ordered lists for steps. Each card starts with ### . Put <span class="petals-card-num">1</span> before the heading text and drop any "1." prefix. The label is for screen readers.
1Ask one real question
Pick something you can't get from a dashboard, like "what's felt hardest this sprint?".
2Do it together
Use the whole team, not just the lead. Bold works inside cards.
3Act on one thing
Choose a single change and make it visible. Add a 3 baseline to measure against.
4Repeat next month
Habits beat one-off workshops.
Swipe or scroll for more
{% cards "Four steps to try this month" %}
### <span class="petals-card-num">1</span>Ask one real question
Pick something you can't get from a dashboard.
### <span class="petals-card-num">2</span>Do it together
Use **the whole team**, not just the lead.
{% endcards %}
Icon cards (unordered lists)
Use instead of bullet lists. One Feather-style 24x24 stroke icon per card, placed before the heading text, so icons share the same position and height. Feather icons: feathericons.com.
It is quick
Two minutes per person, so it survives busy weeks.
It is shared
Everyone sees the same flower, so the conversation starts level.
It starts talking
Scores are a prompt, not a verdict.
Swipe or scroll for more
{% cards "Why this works" %}
### <svg class="petals-card-icon" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"/></svg>It is quick
Two minutes per person, so it survives busy weeks.
{% endcards %}
Speech bubble with the speaker's avatar and name underneath. Omit the last argument for a normal quote; pass "big" for a pull quote in Lilita One. Blank lines split paragraphs. Content is HTML-escaped, so no markup inside.
PETALS gives us a shared language for how the team is feeling.
Ollie StevensonHead of Frontend Engineering, Huel
A normal-sized quote suits longer remarks.
A second paragraph is fine too.
Ollie StevensonHead of Frontend Engineering, Huel
{% quote "Ollie Stevenson", "Head of Frontend Engineering, Huel", "/assets/images/blog/ollie-stevenson.webp", "big" %}
PETALS gives us a shared language for how the team is feeling.
{% endquote %}
Sources block
Cite sources at the end of a post, before the newsletter signup. Author headshots (80x80 webp) sit on the right and are shown greyscale automatically. Write it as a single line of HTML in Markdown so it isn't re-parsed. The italic note is optional.
Quotes and figures are from the write-ups of each piece, and the views on PETALS are our own.
<div class="petals-sources"><p class="petals-sources-title">Sources</p><div class="petals-source"><p><a href="https://leaddev.com/management/long-live-the-engineering-manager">Long live the engineering manager</a><br>Liz de Moll, LeadDev</p><span class="petals-source-people"><img class="petals-author" src="/assets/images/blog/liz-de-moll.webp" alt="Liz de Moll" width="80" height="80" loading="lazy"></span></div><div class="petals-source"><p><a href="https://newsletter.pragmaticengineer.com/p/the-revised-rules-of-engineering">The revised rules of engineering management</a><br>Gergely Orosz with Will Larson, The Pragmatic Engineer</p><span class="petals-source-people"><img class="petals-author" src="/assets/images/blog/gergely-orosz.webp" alt="Gergely Orosz" width="80" height="80" loading="lazy"><img class="petals-author" src="/assets/images/blog/will-larson.webp" alt="Will Larson" width="80" height="80" loading="lazy"></span></div><p class="petals-sources-note">Quotes and figures are from the write-ups of each piece, and the views on PETALS are our own.</p></div>
Post images and the newsletter form
Inline screenshots are plain <img> tags with style="display: block; margin: 0 auto; max-width: 100%;" and descriptive alt text. Posts end with a short nudge and the Brevo signup <iframe>; copy it verbatim from the most recent post rather than retyping the URL. YouTube embeds go in a <div> with an iframe and a title.
Blog post front matter
Files are named YYYY-MM-DD-slug.md in src/content/blog/. Layout, tags and permalink come from blog.11tydata.js.
Key
Required
Notes
title
Yes
Sentence case.
date
Yes
YYYY-MM-DD.
category
Yes
Articles, Changelog or Dev Time. A new category needs a CSS rule.
description
Yes
One or two sentences. Shown on the blog card, under the title, and in meta tags.
author
No
Defaults to "PETALS Team".
featuredImage
No
Path like /assets/images/blog/x.webp. Also the card image and social share image. Adds a full-width hero with the title overlaid.
featuredImageAlt
With image
Describe what is in the picture.
featuredImageMobile
No
Taller, phone-shaped hero used under 640px.
heroPosition
No
CSS background-position, for example 95% 85%.
heroOverlay
No
light for photos already dark at the bottom.
status
No
draft skips the post entirely (no page, blog index, RSS or sitemap).
Not shown here
These are bespoke, script driven or data driven, so copy from the source rather than from this page.
We use cookies to understand how PETALS is used and improve it. Accept to allow analytics cookies, or decline and we'll only use what's needed to run the site. See our privacy policy.