Compare commits
No commits in common. "d991ddc2912e78a9b19b5d987e9f49c21deb44c5" and "baa6dbf28de7dc40726985200559191cf6a341ff" have entirely different histories.
d991ddc291
...
baa6dbf28d
@ -120,34 +120,20 @@ body.pd-paper {
|
|||||||
|
|
||||||
/* --- Scalloped edges (piped-icing / doily trim) ------------------------- */
|
/* --- Scalloped edges (piped-icing / doily trim) ------------------------- */
|
||||||
.pd-torn-top {
|
.pd-torn-top {
|
||||||
-webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 6 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 L120 12 L0 12 Z' fill='black'/%3E%3C/svg%3E"), linear-gradient(#000, #000);
|
-webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 6 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 L120 12 L0 12 Z' fill='black'/%3E%3C/svg%3E");
|
||||||
mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 6 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 L120 12 L0 12 Z' fill='black'/%3E%3C/svg%3E"), linear-gradient(#000, #000);
|
mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 6 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 L120 12 L0 12 Z' fill='black'/%3E%3C/svg%3E");
|
||||||
-webkit-mask-size: 100% 12px, 100% calc(100% - 11px);
|
|
||||||
mask-size: 100% 12px, 100% calc(100% - 11px);
|
|
||||||
-webkit-mask-position: top, bottom;
|
|
||||||
mask-position: top, bottom;
|
|
||||||
-webkit-mask-repeat: no-repeat;
|
-webkit-mask-repeat: no-repeat;
|
||||||
mask-repeat: no-repeat;
|
mask-repeat: no-repeat;
|
||||||
|
-webkit-mask-size: 100% 100%;
|
||||||
|
mask-size: 100% 100%;
|
||||||
}
|
}
|
||||||
.pd-torn-bottom {
|
.pd-torn-bottom {
|
||||||
-webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L120 0 L120 6 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 Z' fill='black'/%3E%3C/svg%3E"), linear-gradient(#000, #000);
|
-webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L120 0 L120 6 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 Z' fill='black'/%3E%3C/svg%3E");
|
||||||
mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L120 0 L120 6 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 Z' fill='black'/%3E%3C/svg%3E"), linear-gradient(#000, #000);
|
mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L120 0 L120 6 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 Z' fill='black'/%3E%3C/svg%3E");
|
||||||
-webkit-mask-size: 100% 12px, 100% calc(100% - 11px);
|
|
||||||
mask-size: 100% 12px, 100% calc(100% - 11px);
|
|
||||||
-webkit-mask-position: bottom, top;
|
|
||||||
mask-position: bottom, top;
|
|
||||||
-webkit-mask-repeat: no-repeat;
|
|
||||||
mask-repeat: no-repeat;
|
|
||||||
}
|
|
||||||
.pd-torn-top.pd-torn-bottom {
|
|
||||||
-webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 6 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 L120 12 L0 12 Z' fill='black'/%3E%3C/svg%3E"), linear-gradient(#000, #000), url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L120 0 L120 6 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 Z' fill='black'/%3E%3C/svg%3E");
|
|
||||||
mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 6 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 L120 12 L0 12 Z' fill='black'/%3E%3C/svg%3E"), linear-gradient(#000, #000), url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L120 0 L120 6 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 Z' fill='black'/%3E%3C/svg%3E");
|
|
||||||
-webkit-mask-size: 100% 12px, 100% calc(100% - 22px), 100% 12px;
|
|
||||||
mask-size: 100% 12px, 100% calc(100% - 22px), 100% 12px;
|
|
||||||
-webkit-mask-position: top, center, bottom;
|
|
||||||
mask-position: top, center, bottom;
|
|
||||||
-webkit-mask-repeat: no-repeat;
|
-webkit-mask-repeat: no-repeat;
|
||||||
mask-repeat: no-repeat;
|
mask-repeat: no-repeat;
|
||||||
|
-webkit-mask-size: 100% 100%;
|
||||||
|
mask-size: 100% 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --- Surfaces (rounded-everything) ------------------------------------- */
|
/* --- Surfaces (rounded-everything) ------------------------------------- */
|
||||||
|
|||||||
@ -1,19 +0,0 @@
|
|||||||
# Compiled sites render whole sections on pastel-dream
|
|
||||||
|
|
||||||
Decided 2026-11-20 for pastel-dream 0.5.2, from the website factory's visual review (orchestrator WO-094, ADR 0078).
|
|
||||||
|
|
||||||
## Context
|
|
||||||
|
|
||||||
The website factory compiles a customer's site onto this theme and renders every page at 1280 and 390 pixels wide. The review found template defects that show on a real site as an empty region, an unreadable hero or a page wider than a phone.
|
|
||||||
|
|
||||||
## Decision
|
|
||||||
|
|
||||||
- rich-section renders one column with the text at a readable width when the section has no image. It used to keep a two-column grid with an empty media cell, so a compiled site whose about or contact section was waiting for a photo showed half the section blank.
|
|
||||||
- The navbar background is opaque and has no backdrop blur. A backdrop filter makes the navbar the containing block of its fixed mobile drawer, so the hidden drawer widened every page at phone width and could be scrolled into view.
|
|
||||||
|
|
||||||
## Consequences
|
|
||||||
|
|
||||||
- pastel-dream 0.5.2 is published to the dev registry; the orchestrator's `internal/factory/themes.yaml` pins it.
|
|
||||||
- No schema field changes. A site that sets the old values renders as before wherever it has an image.
|
|
||||||
|
|
||||||
Keywords: pastel-dream, rich-section, media, mediaPosition, empty column, hero, overlayColor, scrim, contrast, navbar, backdrop-blur, bn-navbar-drawer, team columns, WO-094, website factory, render review
|
|
||||||
@ -1,18 +0,0 @@
|
|||||||
# Second render review of compiled sites on pastel-dream
|
|
||||||
|
|
||||||
Decided 2026-11-20 for pastel-dream 0.5.3, from the website factory's visual review (orchestrator WO-094, ADR 0078), after ADR 0001 shipped.
|
|
||||||
|
|
||||||
## Context
|
|
||||||
|
|
||||||
The website factory compiles a customer's site onto this theme and renders every page at 1280 and 390 pixels wide. The review found template defects that show on a real site as an empty region, an unreadable hero or a page wider than a phone.
|
|
||||||
|
|
||||||
## Decision
|
|
||||||
|
|
||||||
- The scalloped edge (`.pd-torn-top`, `.pd-torn-bottom`) masks only a 12 pixel strip at the edge, with a solid layer for the rest. The single mask was stretched to the element's full height, so the footer showed its arches over the business name and address and cut letters out of them.
|
|
||||||
|
|
||||||
## Consequences
|
|
||||||
|
|
||||||
- pastel-dream 0.5.3 is published to the dev registry; the orchestrator's `internal/factory/themes.yaml` pins it.
|
|
||||||
- No schema field changes. A site that sets the old values renders as before wherever it has an image.
|
|
||||||
|
|
||||||
Keywords: pastel-dream, rich-section, media, mediaPosition, empty column, hero, overlayColor, scrim, contrast, navbar, backdrop-blur, bn-navbar-drawer, team columns, WO-094, website factory, render review
|
|
||||||
@ -1,18 +0,0 @@
|
|||||||
# The light hero scrim meets contrast on pastel-dream
|
|
||||||
|
|
||||||
Decided 2026-11-20 for pastel-dream 0.5.4, from the website factory's visual review (orchestrator WO-094, ADR 0078), after ADRs 0001 and 0002 shipped.
|
|
||||||
|
|
||||||
## Context
|
|
||||||
|
|
||||||
The website factory compiles a customer's site onto this theme and renders every page at 1280 and 390 pixels wide. The review found template defects that show on a real site as an empty region, an unreadable hero or a page wider than a phone.
|
|
||||||
|
|
||||||
## Decision
|
|
||||||
|
|
||||||
- The "light" hero scrim is the theme background at 82% opacity, set with an inline style. At 60% the muted subheadline measured 2.2:1 against a real photo in the render review, under the AA minimum; the inline style also keeps the scrim independent of which opacity classes the generated stylesheet holds.
|
|
||||||
|
|
||||||
## Consequences
|
|
||||||
|
|
||||||
- pastel-dream 0.5.4 is published to the dev registry; the orchestrator's `internal/factory/themes.yaml` pins it.
|
|
||||||
- No schema field changes. A site that sets the old values renders as before wherever it has an image.
|
|
||||||
|
|
||||||
Keywords: pastel-dream, rich-section, media, mediaPosition, empty column, hero, overlayColor, scrim, contrast, navbar, backdrop-blur, bn-navbar-drawer, team columns, WO-094, website factory, render review
|
|
||||||
@ -1,20 +0,0 @@
|
|||||||
# The hero scrim lets the photo show
|
|
||||||
|
|
||||||
Decided 2026-11-20 for pastel-dream 0.5.7, from the website factory's final render pass (orchestrator WO-096, ADR 0084).
|
|
||||||
|
|
||||||
## Context
|
|
||||||
|
|
||||||
The website factory compiles a customer's site onto this theme. The render pass screenshots every page at 1280 and 390 pixels and measures text over images and every button against what is behind it.
|
|
||||||
|
|
||||||
## Decision
|
|
||||||
|
|
||||||
- The light hero scrim is a radial gradient of the theme background centred on the hero text (at 35% across for the left-aligned hero): 84% at the centre, 80% out to 55% of the radius and 40% at the corners. The flat 82% scrim of the last release met contrast but washed the photo out; the text keeps the same backing while the photo reads at the edges. The render harness measures every text element over the photo (orchestrator WO-096).
|
|
||||||
- The berry-cream preset's primary (and ring) is 345 62% 49%, was 52%. Its white button text measured 4.497:1, a hair under AA, and the outline button's pink text over the hero photo 4.36:1.
|
|
||||||
- Every preset's primary, secondary, accent and destructive colour meets AA (4.5:1) with its foreground in both schemes. The render pass measures every button, and these pairs were under it: berry-cream dark destructive; berry-cream light accent; berry-cream light destructive; lavender-honey dark destructive; lavender-honey light destructive; lavender-honey light primary; matcha-cream dark destructive; matcha-cream light primary; morning-haze dark destructive; morning-haze light destructive; morning-haze light primary; peach-blossom dark destructive; peach-blossom light primary. Each colour moved the least lightness (at most ten points) that reaches 4.5 with its own foreground, and a colour that could not switched its foreground to white or near-black; a token that held the same colour (the ring) moved with it. The orchestrator's brand colour step keeps whatever contrast a preset has, so a preset under AA also left a branded site under it.
|
|
||||||
|
|
||||||
## Consequences
|
|
||||||
|
|
||||||
- pastel-dream 0.5.7 is published to the dev registry; the orchestrator's `internal/factory/themes.yaml` pins it.
|
|
||||||
- No schema field changes.
|
|
||||||
|
|
||||||
Keywords: presets, AA, button contrast, primaryForeground, accentForeground, pastel-dream, berry-cream, preset, primary, button contrast, hero, overlayColor, scrim, radial-gradient, contrast, WO-096, website factory, render pass
|
|
||||||
@ -1,19 +0,0 @@
|
|||||||
# The first preset's primary reads as text on the background
|
|
||||||
|
|
||||||
Decided 2026-11-22 for pastel-dream 0.5.8, from the website factory's render pass over all thirty-six blueprint and theme pairs (orchestrator WO-101, ADR 0092).
|
|
||||||
|
|
||||||
## Context
|
|
||||||
|
|
||||||
The website factory compiles a customer's site onto this theme. Its render pass measures every button's text against the button's own fill or, for an outline button, against the page. On the childcare-education and health-wellness home pages the outline hero button ("See our programs", "View treatments") draws its label in the primary colour on the page background, and in the light scheme of morning-haze, the first preset, that pair measured 4.41. ADR 0004 brought every preset colour to AA with its own foreground; it did not measure the primary against the background.
|
|
||||||
|
|
||||||
## Decision
|
|
||||||
|
|
||||||
- morning-haze's light primary (and the ring that follows it) moves from 340 58% 52% to 340 58% 50%: 4.69 against the background and 4.81 with its foreground, the least lightness move that clears AA with room for rendering.
|
|
||||||
|
|
||||||
## Consequences
|
|
||||||
|
|
||||||
- pastel-dream 0.5.8 is published to the dev registry; the orchestrator's `internal/factory/themes.yaml` pins it.
|
|
||||||
- No schema field changes. A site with no stored `theme` setting renders morning-haze live and takes the darker rose with the automatic theme update; a site that applied a preset or saved its colours keeps them. The regression check for sites the factory did not build compared the production release with 0.5.8 (orchestrator `docs/works/evidence/WO-101/theme-regression/`).
|
|
||||||
- Other presets of this and other themes still have a primary under 4.5 against their background (peach-blossom 3.17, matcha-cream 4.47); the render pass checks the first preset of each pair and flagged only this one.
|
|
||||||
|
|
||||||
Keywords: presets, morning-haze, primary, ring, outline button, button text, contrast, AA, background, WO-101, website factory, render pass, pastel-dream
|
|
||||||
@ -241,34 +241,20 @@ css:
|
|||||||
|
|
||||||
/* --- Scalloped edges (piped-icing / doily trim) ------------------------- */
|
/* --- Scalloped edges (piped-icing / doily trim) ------------------------- */
|
||||||
.pd-torn-top {
|
.pd-torn-top {
|
||||||
-webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 6 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 L120 12 L0 12 Z' fill='black'/%3E%3C/svg%3E"), linear-gradient(#000, #000);
|
-webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 6 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 L120 12 L0 12 Z' fill='black'/%3E%3C/svg%3E");
|
||||||
mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 6 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 L120 12 L0 12 Z' fill='black'/%3E%3C/svg%3E"), linear-gradient(#000, #000);
|
mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 6 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 L120 12 L0 12 Z' fill='black'/%3E%3C/svg%3E");
|
||||||
-webkit-mask-size: 100% 12px, 100% calc(100% - 11px);
|
|
||||||
mask-size: 100% 12px, 100% calc(100% - 11px);
|
|
||||||
-webkit-mask-position: top, bottom;
|
|
||||||
mask-position: top, bottom;
|
|
||||||
-webkit-mask-repeat: no-repeat;
|
-webkit-mask-repeat: no-repeat;
|
||||||
mask-repeat: no-repeat;
|
mask-repeat: no-repeat;
|
||||||
|
-webkit-mask-size: 100% 100%;
|
||||||
|
mask-size: 100% 100%;
|
||||||
}
|
}
|
||||||
.pd-torn-bottom {
|
.pd-torn-bottom {
|
||||||
-webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L120 0 L120 6 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 Z' fill='black'/%3E%3C/svg%3E"), linear-gradient(#000, #000);
|
-webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L120 0 L120 6 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 Z' fill='black'/%3E%3C/svg%3E");
|
||||||
mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L120 0 L120 6 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 Z' fill='black'/%3E%3C/svg%3E"), linear-gradient(#000, #000);
|
mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L120 0 L120 6 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 Z' fill='black'/%3E%3C/svg%3E");
|
||||||
-webkit-mask-size: 100% 12px, 100% calc(100% - 11px);
|
|
||||||
mask-size: 100% 12px, 100% calc(100% - 11px);
|
|
||||||
-webkit-mask-position: bottom, top;
|
|
||||||
mask-position: bottom, top;
|
|
||||||
-webkit-mask-repeat: no-repeat;
|
|
||||||
mask-repeat: no-repeat;
|
|
||||||
}
|
|
||||||
.pd-torn-top.pd-torn-bottom {
|
|
||||||
-webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 6 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 L120 12 L0 12 Z' fill='black'/%3E%3C/svg%3E"), linear-gradient(#000, #000), url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L120 0 L120 6 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 Z' fill='black'/%3E%3C/svg%3E");
|
|
||||||
mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 6 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 L120 12 L0 12 Z' fill='black'/%3E%3C/svg%3E"), linear-gradient(#000, #000), url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L120 0 L120 6 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 Z' fill='black'/%3E%3C/svg%3E");
|
|
||||||
-webkit-mask-size: 100% 12px, 100% calc(100% - 22px), 100% 12px;
|
|
||||||
mask-size: 100% 12px, 100% calc(100% - 22px), 100% 12px;
|
|
||||||
-webkit-mask-position: top, center, bottom;
|
|
||||||
mask-position: top, center, bottom;
|
|
||||||
-webkit-mask-repeat: no-repeat;
|
-webkit-mask-repeat: no-repeat;
|
||||||
mask-repeat: no-repeat;
|
mask-repeat: no-repeat;
|
||||||
|
-webkit-mask-size: 100% 100%;
|
||||||
|
mask-size: 100% 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --- Surfaces (rounded-everything) ------------------------------------- */
|
/* --- Surfaces (rounded-everything) ------------------------------------- */
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
name = "pastel-dream"
|
name = "pastel-dream"
|
||||||
display_name = "Pastel Dream"
|
display_name = "Pastel Dream"
|
||||||
scope = "@themes"
|
scope = "@themes"
|
||||||
version = "0.5.8"
|
version = "0.5.1"
|
||||||
description = "Soft bakery and patisserie theme — watercolor washes, scalloped edges, rounded menu cards, and seasonal specials in blush, berry, and lilac."
|
description = "Soft bakery and patisserie theme — watercolor washes, scalloped edges, rounded menu cards, and seasonal specials in blush, berry, and lilac."
|
||||||
kind = "theme"
|
kind = "theme"
|
||||||
categories = ["templates"]
|
categories = ["templates"]
|
||||||
|
|||||||
36
presets.json
36
presets.json
@ -16,7 +16,7 @@
|
|||||||
"cardForeground": "335 25% 22%",
|
"cardForeground": "335 25% 22%",
|
||||||
"popover": "30 42% 99%",
|
"popover": "30 42% 99%",
|
||||||
"popoverForeground": "335 25% 22%",
|
"popoverForeground": "335 25% 22%",
|
||||||
"primary": "340 58% 50%",
|
"primary": "340 58% 60%",
|
||||||
"primaryForeground": "40 50% 98%",
|
"primaryForeground": "40 50% 98%",
|
||||||
"secondary": "18 52% 92%",
|
"secondary": "18 52% 92%",
|
||||||
"secondaryForeground": "335 25% 24%",
|
"secondaryForeground": "335 25% 24%",
|
||||||
@ -24,11 +24,11 @@
|
|||||||
"mutedForeground": "335 12% 42%",
|
"mutedForeground": "335 12% 42%",
|
||||||
"accent": "160 38% 52%",
|
"accent": "160 38% 52%",
|
||||||
"accentForeground": "160 40% 12%",
|
"accentForeground": "160 40% 12%",
|
||||||
"destructive": "0 70% 52%",
|
"destructive": "0 70% 55%",
|
||||||
"destructiveForeground": "40 50% 98%",
|
"destructiveForeground": "40 50% 98%",
|
||||||
"border": "24 30% 87%",
|
"border": "24 30% 87%",
|
||||||
"input": "24 30% 87%",
|
"input": "24 30% 87%",
|
||||||
"ring": "340 58% 50%"
|
"ring": "340 58% 60%"
|
||||||
},
|
},
|
||||||
"darkColors": {
|
"darkColors": {
|
||||||
"background": "290 22% 12%",
|
"background": "290 22% 12%",
|
||||||
@ -46,7 +46,7 @@
|
|||||||
"accent": "160 44% 60%",
|
"accent": "160 44% 60%",
|
||||||
"accentForeground": "290 30% 12%",
|
"accentForeground": "290 30% 12%",
|
||||||
"destructive": "0 60% 60%",
|
"destructive": "0 60% 60%",
|
||||||
"destructiveForeground": "0 0% 9%",
|
"destructiveForeground": "320 22% 92%",
|
||||||
"border": "290 16% 26%",
|
"border": "290 16% 26%",
|
||||||
"input": "290 16% 24%",
|
"input": "290 16% 24%",
|
||||||
"ring": "340 64% 72%"
|
"ring": "340 64% 72%"
|
||||||
@ -70,19 +70,19 @@
|
|||||||
"cardForeground": "345 30% 20%",
|
"cardForeground": "345 30% 20%",
|
||||||
"popover": "350 38% 99%",
|
"popover": "350 38% 99%",
|
||||||
"popoverForeground": "345 30% 20%",
|
"popoverForeground": "345 30% 20%",
|
||||||
"primary": "345 62% 49%",
|
"primary": "345 62% 52%",
|
||||||
"primaryForeground": "350 40% 98%",
|
"primaryForeground": "350 40% 98%",
|
||||||
"secondary": "350 46% 92%",
|
"secondary": "350 46% 92%",
|
||||||
"secondaryForeground": "345 30% 22%",
|
"secondaryForeground": "345 30% 22%",
|
||||||
"muted": "350 28% 93%",
|
"muted": "350 28% 93%",
|
||||||
"mutedForeground": "345 14% 40%",
|
"mutedForeground": "345 14% 40%",
|
||||||
"accent": "285 40% 58%",
|
"accent": "285 40% 55%",
|
||||||
"accentForeground": "285 40% 12%",
|
"accentForeground": "285 40% 12%",
|
||||||
"destructive": "0 72% 51%",
|
"destructive": "0 72% 52%",
|
||||||
"destructiveForeground": "350 40% 98%",
|
"destructiveForeground": "350 40% 98%",
|
||||||
"border": "348 28% 87%",
|
"border": "348 28% 87%",
|
||||||
"input": "348 28% 87%",
|
"input": "348 28% 87%",
|
||||||
"ring": "345 62% 49%"
|
"ring": "345 62% 52%"
|
||||||
},
|
},
|
||||||
"darkColors": {
|
"darkColors": {
|
||||||
"background": "330 24% 11%",
|
"background": "330 24% 11%",
|
||||||
@ -100,7 +100,7 @@
|
|||||||
"accent": "285 46% 66%",
|
"accent": "285 46% 66%",
|
||||||
"accentForeground": "330 30% 11%",
|
"accentForeground": "330 30% 11%",
|
||||||
"destructive": "0 62% 60%",
|
"destructive": "0 62% 60%",
|
||||||
"destructiveForeground": "0 0% 9%",
|
"destructiveForeground": "340 22% 92%",
|
||||||
"border": "330 16% 25%",
|
"border": "330 16% 25%",
|
||||||
"input": "330 16% 23%",
|
"input": "330 16% 23%",
|
||||||
"ring": "345 68% 66%"
|
"ring": "345 68% 66%"
|
||||||
@ -124,7 +124,7 @@
|
|||||||
"cardForeground": "150 22% 18%",
|
"cardForeground": "150 22% 18%",
|
||||||
"popover": "44 34% 99%",
|
"popover": "44 34% 99%",
|
||||||
"popoverForeground": "150 22% 18%",
|
"popoverForeground": "150 22% 18%",
|
||||||
"primary": "148 34% 37%",
|
"primary": "148 34% 42%",
|
||||||
"primaryForeground": "44 40% 98%",
|
"primaryForeground": "44 40% 98%",
|
||||||
"secondary": "150 30% 90%",
|
"secondary": "150 30% 90%",
|
||||||
"secondaryForeground": "150 22% 20%",
|
"secondaryForeground": "150 22% 20%",
|
||||||
@ -136,7 +136,7 @@
|
|||||||
"destructiveForeground": "44 40% 98%",
|
"destructiveForeground": "44 40% 98%",
|
||||||
"border": "90 18% 84%",
|
"border": "90 18% 84%",
|
||||||
"input": "90 18% 84%",
|
"input": "90 18% 84%",
|
||||||
"ring": "148 34% 37%"
|
"ring": "148 34% 42%"
|
||||||
},
|
},
|
||||||
"darkColors": {
|
"darkColors": {
|
||||||
"background": "275 20% 12%",
|
"background": "275 20% 12%",
|
||||||
@ -154,7 +154,7 @@
|
|||||||
"accent": "28 74% 62%",
|
"accent": "28 74% 62%",
|
||||||
"accentForeground": "275 30% 12%",
|
"accentForeground": "275 30% 12%",
|
||||||
"destructive": "0 60% 60%",
|
"destructive": "0 60% 60%",
|
||||||
"destructiveForeground": "0 0% 9%",
|
"destructiveForeground": "44 26% 91%",
|
||||||
"border": "275 14% 26%",
|
"border": "275 14% 26%",
|
||||||
"input": "275 14% 24%",
|
"input": "275 14% 24%",
|
||||||
"ring": "148 40% 58%"
|
"ring": "148 40% 58%"
|
||||||
@ -178,7 +178,7 @@
|
|||||||
"cardForeground": "270 24% 22%",
|
"cardForeground": "270 24% 22%",
|
||||||
"popover": "40 38% 99%",
|
"popover": "40 38% 99%",
|
||||||
"popoverForeground": "270 24% 22%",
|
"popoverForeground": "270 24% 22%",
|
||||||
"primary": "265 44% 56%",
|
"primary": "265 44% 58%",
|
||||||
"primaryForeground": "40 50% 98%",
|
"primaryForeground": "40 50% 98%",
|
||||||
"secondary": "265 38% 92%",
|
"secondary": "265 38% 92%",
|
||||||
"secondaryForeground": "270 24% 24%",
|
"secondaryForeground": "270 24% 24%",
|
||||||
@ -186,11 +186,11 @@
|
|||||||
"mutedForeground": "270 12% 42%",
|
"mutedForeground": "270 12% 42%",
|
||||||
"accent": "42 78% 56%",
|
"accent": "42 78% 56%",
|
||||||
"accentForeground": "42 60% 12%",
|
"accentForeground": "42 60% 12%",
|
||||||
"destructive": "0 70% 52%",
|
"destructive": "0 70% 55%",
|
||||||
"destructiveForeground": "40 50% 98%",
|
"destructiveForeground": "40 50% 98%",
|
||||||
"border": "265 24% 87%",
|
"border": "265 24% 87%",
|
||||||
"input": "265 24% 87%",
|
"input": "265 24% 87%",
|
||||||
"ring": "265 44% 56%"
|
"ring": "265 44% 58%"
|
||||||
},
|
},
|
||||||
"darkColors": {
|
"darkColors": {
|
||||||
"background": "270 26% 12%",
|
"background": "270 26% 12%",
|
||||||
@ -208,7 +208,7 @@
|
|||||||
"accent": "42 80% 62%",
|
"accent": "42 80% 62%",
|
||||||
"accentForeground": "270 30% 12%",
|
"accentForeground": "270 30% 12%",
|
||||||
"destructive": "0 60% 60%",
|
"destructive": "0 60% 60%",
|
||||||
"destructiveForeground": "0 0% 9%",
|
"destructiveForeground": "265 20% 92%",
|
||||||
"border": "270 16% 26%",
|
"border": "270 16% 26%",
|
||||||
"input": "270 16% 24%",
|
"input": "270 16% 24%",
|
||||||
"ring": "265 54% 72%"
|
"ring": "265 54% 72%"
|
||||||
@ -233,7 +233,7 @@
|
|||||||
"popover": "26 46% 99%",
|
"popover": "26 46% 99%",
|
||||||
"popoverForeground": "15 30% 22%",
|
"popoverForeground": "15 30% 22%",
|
||||||
"primary": "16 68% 56%",
|
"primary": "16 68% 56%",
|
||||||
"primaryForeground": "0 0% 9%",
|
"primaryForeground": "26 50% 98%",
|
||||||
"secondary": "14 58% 92%",
|
"secondary": "14 58% 92%",
|
||||||
"secondaryForeground": "15 30% 24%",
|
"secondaryForeground": "15 30% 24%",
|
||||||
"muted": "26 34% 93%",
|
"muted": "26 34% 93%",
|
||||||
@ -262,7 +262,7 @@
|
|||||||
"accent": "340 60% 68%",
|
"accent": "340 60% 68%",
|
||||||
"accentForeground": "300 30% 12%",
|
"accentForeground": "300 30% 12%",
|
||||||
"destructive": "0 60% 60%",
|
"destructive": "0 60% 60%",
|
||||||
"destructiveForeground": "0 0% 9%",
|
"destructiveForeground": "26 26% 91%",
|
||||||
"border": "300 15% 26%",
|
"border": "300 15% 26%",
|
||||||
"input": "300 15% 24%",
|
"input": "300 15% 24%",
|
||||||
"ring": "16 74% 64%"
|
"ring": "16 74% 64%"
|
||||||
|
|||||||
@ -30,7 +30,7 @@
|
|||||||
{% set align = "center" %}
|
{% set align = "center" %}
|
||||||
{% if variant == "left-aligned" %}{% set align = "left" %}{% endif %}
|
{% if variant == "left-aligned" %}{% set align = "left" %}{% endif %}
|
||||||
<section class="hero relative flex flex-col overflow-hidden bg-background text-foreground {% if minHeight == "screen" %}min-h-screen{% elif minHeight == "50vh" %}min-h-[50vh]{% elif minHeight == "auto" %}min-h-[400px]{% else %}min-h-[75vh]{% endif %} {% if verticalAlign == "top" %}justify-start pt-20{% elif verticalAlign == "bottom" %}justify-end pb-20{% else %}justify-center{% endif %}{% if class %} {{ class }}{% endif %}">
|
<section class="hero relative flex flex-col overflow-hidden bg-background text-foreground {% if minHeight == "screen" %}min-h-screen{% elif minHeight == "50vh" %}min-h-[50vh]{% elif minHeight == "auto" %}min-h-[400px]{% else %}min-h-[75vh]{% endif %} {% if verticalAlign == "top" %}justify-start pt-20{% elif verticalAlign == "bottom" %}justify-end pb-20{% else %}justify-center{% endif %}{% if class %} {{ class }}{% endif %}">
|
||||||
{% if hasImage %}<div class="absolute inset-0 z-0">{% img backgroundImage alt=headlineText class="h-full w-full object-cover" layout="hero" %}{% if showOverlay %}<div{% if overlayColor == "light" %} style="background: radial-gradient(ellipse at {% if variant == "left-aligned" %}35%{% else %}50%{% endif %} 50%, hsl(var(--background) / 0.86) 0%, hsl(var(--background) / 0.8) 50%, hsl(var(--background) / 0.2) 100%);"{% endif %} class="absolute inset-0 {% if overlayColor == "light" %}{% elif overlayColor == "primary" %}bg-primary/50{% elif overlayOpacity <= 30 %}bg-black/30{% elif overlayOpacity <= 50 %}bg-black/50{% elif overlayOpacity <= 70 %}bg-black/70{% else %}bg-black/80{% endif %}"></div>{% endif %}</div>{% endif %}
|
{% if hasImage %}<div class="absolute inset-0 z-0">{% img backgroundImage alt=headlineText class="h-full w-full object-cover" layout="hero" %}{% if showOverlay %}<div class="absolute inset-0 {% if overlayColor == "light" %}bg-background/60{% elif overlayColor == "primary" %}bg-primary/50{% elif overlayOpacity <= 30 %}bg-black/30{% elif overlayOpacity <= 50 %}bg-black/50{% elif overlayOpacity <= 70 %}bg-black/70{% else %}bg-black/80{% endif %}"></div>{% endif %}</div>{% endif %}
|
||||||
<div class="relative z-10 mx-auto w-full max-w-4xl px-4 sm:px-6 lg:px-8 {% if variant == "left-aligned" %}text-left{% else %}text-center{% endif %}">{{ herocontent(align) }}</div>
|
<div class="relative z-10 mx-auto w-full max-w-4xl px-4 sm:px-6 lg:px-8 {% if variant == "left-aligned" %}text-left{% else %}text-center{% endif %}">{{ herocontent(align) }}</div>
|
||||||
</section>
|
</section>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@ -9,7 +9,7 @@
|
|||||||
{% macro dropdown(item) %}<div class="relative group"><button type="button" class="pd-body inline-flex items-center gap-1 px-3 py-2 text-sm font-medium text-foreground/80 transition-colors hover:text-accent">{{ item.label }}<svg width="16" height="16" class="h-4 w-4 transition-transform group-hover:rotate-180" aria-hidden="true"><use href="/icons/lucide.svg#chevron-down"></use></svg></button><div class="absolute left-0 z-50 mt-1 w-56 invisible opacity-0 transition-all duration-200 group-hover:visible group-hover:opacity-100"><div class="pd-card py-2 shadow-lg">{% for child in item.children %}{% if child.item_type == "header" %}<div class="pd-hand px-4 py-2 text-base text-accent">{{ child.label }}</div>{% else %}<a href="{{ child.url|default:'#' }}"{% if child.open_in_new_tab %} target="_blank" rel="noopener"{% endif %} class="pd-body block px-4 py-2 text-sm text-foreground transition-colors hover:bg-muted {{ child.css_class }}">{{ child.label }}</a>{% endif %}{% endfor %}</div></div></div>{% endmacro %}
|
{% macro dropdown(item) %}<div class="relative group"><button type="button" class="pd-body inline-flex items-center gap-1 px-3 py-2 text-sm font-medium text-foreground/80 transition-colors hover:text-accent">{{ item.label }}<svg width="16" height="16" class="h-4 w-4 transition-transform group-hover:rotate-180" aria-hidden="true"><use href="/icons/lucide.svg#chevron-down"></use></svg></button><div class="absolute left-0 z-50 mt-1 w-56 invisible opacity-0 transition-all duration-200 group-hover:visible group-hover:opacity-100"><div class="pd-card py-2 shadow-lg">{% for child in item.children %}{% if child.item_type == "header" %}<div class="pd-hand px-4 py-2 text-base text-accent">{{ child.label }}</div>{% else %}<a href="{{ child.url|default:'#' }}"{% if child.open_in_new_tab %} target="_blank" rel="noopener"{% endif %} class="pd-body block px-4 py-2 text-sm text-foreground transition-colors hover:bg-muted {{ child.css_class }}">{{ child.label }}</a>{% endif %}{% endfor %}</div></div></div>{% endmacro %}
|
||||||
{% macro brand(size) %}<a href="/" class="flex flex-shrink-0 items-center gap-2">{% if logoType == "text" and logoText.text %}<span class="pd-display text-2xl text-primary {{ logoText.color }}">{{ logoText.text }}</span>{% elif logo %}<img src="{{ logo }}" alt="{{ alt|default:companyName }}" class="{{ size }} w-auto"{% if logoMaxWidth or logoMaxHeight %} style="{% if logoMaxWidth %}max-width:{{ logoMaxWidth }};{% endif %}{% if logoMaxHeight %}max-height:{{ logoMaxHeight }};{% endif %}"{% endif %}/>{% elif companyName %}<span class="pd-display text-2xl text-primary">{{ companyName }}</span>{% endif %}</a>{% endmacro %}
|
{% macro brand(size) %}<a href="/" class="flex flex-shrink-0 items-center gap-2">{% if logoType == "text" and logoText.text %}<span class="pd-display text-2xl text-primary {{ logoText.color }}">{{ logoText.text }}</span>{% elif logo %}<img src="{{ logo }}" alt="{{ alt|default:companyName }}" class="{{ size }} w-auto"{% if logoMaxWidth or logoMaxHeight %} style="{% if logoMaxWidth %}max-width:{{ logoMaxWidth }};{% endif %}{% if logoMaxHeight %}max-height:{{ logoMaxHeight }};{% endif %}"{% endif %}/>{% elif companyName %}<span class="pd-display text-2xl text-primary">{{ companyName }}</span>{% endif %}</a>{% endmacro %}
|
||||||
{% macro ctabtn(extra) %}{% if cta_text %}<a href="{{ cta_url|default:'#' }}" class="pd-tag text-sm {{ extra }}">{{ cta_text }}</a>{% endif %}{% endmacro %}
|
{% macro ctabtn(extra) %}{% if cta_text %}<a href="{{ cta_url|default:'#' }}" class="pd-tag text-sm {{ extra }}">{{ cta_text }}</a>{% endif %}{% endmacro %}
|
||||||
<nav data-bn-navbar data-bn-sticky="{{ sb }}" class="bn-navbar w-full {% if sb == "sticky" or sb == "shrink-on-scroll" %}sticky top-0 z-40 {% endif %}bg-background border-b border-dashed border-border {{ class }}">
|
<nav data-bn-navbar data-bn-sticky="{{ sb }}" class="bn-navbar w-full {% if sb == "sticky" or sb == "shrink-on-scroll" %}sticky top-0 z-40 {% endif %}bg-background/95 backdrop-blur border-b border-dashed border-border {{ class }}">
|
||||||
{% if showUtilityBar %}<div class="w-full border-b border-border/60 bg-muted/60 text-xs text-muted-foreground {% if not showOnMobile %}hidden sm:block{% endif %}"><div class="mx-auto flex h-8 max-w-7xl items-center justify-between px-4 sm:px-6 lg:px-8"><div class="pd-body">{{ utilityBarText|safe }}</div><div class="flex items-center gap-4">{% if utilityBarPhone %}<a href="tel:{{ utilityBarPhone }}" class="hover:text-foreground">{{ utilityBarPhone }}</a>{% endif %}{% if utilityBarEmail %}<a href="mailto:{{ utilityBarEmail }}" class="hover:text-foreground">{{ utilityBarEmail }}</a>{% endif %}</div></div></div>{% endif %}
|
{% if showUtilityBar %}<div class="w-full border-b border-border/60 bg-muted/60 text-xs text-muted-foreground {% if not showOnMobile %}hidden sm:block{% endif %}"><div class="mx-auto flex h-8 max-w-7xl items-center justify-between px-4 sm:px-6 lg:px-8"><div class="pd-body">{{ utilityBarText|safe }}</div><div class="flex items-center gap-4">{% if utilityBarPhone %}<a href="tel:{{ utilityBarPhone }}" class="hover:text-foreground">{{ utilityBarPhone }}</a>{% endif %}{% if utilityBarEmail %}<a href="mailto:{{ utilityBarEmail }}" class="hover:text-foreground">{{ utilityBarEmail }}</a>{% endif %}</div></div></div>{% endif %}
|
||||||
<div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
|
<div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
|
||||||
<div class="bn-navbar-row flex h-16 items-center justify-between">
|
<div class="bn-navbar-row flex h-16 items-center justify-between">
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
<section class="py-16 md:py-24 {% if background == "muted" %}bg-muted text-foreground{% elif background == "card" %}bg-card text-card-foreground{% else %}bg-background text-foreground{% endif %}{% if class %} {{ class }}{% endif %}">
|
<section class="py-16 md:py-24 {% if background == "muted" %}bg-muted text-foreground{% elif background == "card" %}bg-card text-card-foreground{% else %}bg-background text-foreground{% endif %}{% if class %} {{ class }}{% endif %}">
|
||||||
<div class="mx-auto grid max-w-6xl items-center gap-10 px-4 {% if media %}md:grid-cols-2{% endif %} md:gap-16">
|
<div class="mx-auto grid max-w-6xl items-center gap-10 px-4 md:grid-cols-2 md:gap-16">
|
||||||
<div class="{% if mediaPosition == "left" %}md:order-2{% else %}md:order-1{% endif %} {% if not media %}max-w-3xl{% endif %}">
|
<div class="{% if mediaPosition == "left" %}md:order-2{% else %}md:order-1{% endif %}">
|
||||||
{% if eyebrow %}<p class="pd-hand text-2xl text-accent">{{ eyebrow }}</p>{% endif %}
|
{% if eyebrow %}<p class="pd-hand text-2xl text-accent">{{ eyebrow }}</p>{% endif %}
|
||||||
{% if heading %}<h2 class="pd-display mt-1 text-3xl text-primary md:text-4xl"><span class="pd-doodle-underline">{{ heading }}</span></h2>{% endif %}
|
{% if heading %}<h2 class="pd-display mt-1 text-3xl text-primary md:text-4xl"><span class="pd-doodle-underline">{{ heading }}</span></h2>{% endif %}
|
||||||
{% if body %}<div class="pd-body mt-4 space-y-4 text-lg text-muted-foreground [&_a]:text-accent [&_a]:underline [&_a]:decoration-dashed [&_strong]:text-primary">{{ body|safe }}</div>{% endif %}
|
{% if body %}<div class="pd-body mt-4 space-y-4 text-lg text-muted-foreground [&_a]:text-accent [&_a]:underline [&_a]:decoration-dashed [&_strong]:text-primary">{{ body|safe }}</div>{% endif %}
|
||||||
{% if ctaUrl and ctaLabel %}<a href="{{ ctaUrl }}" class="pd-tag mt-6 text-base px-5 py-3">{{ ctaLabel }}<svg width="16" height="16" class="h-4 w-4" aria-hidden="true"><use href="/icons/lucide.svg#arrow-right"></use></svg></a>{% endif %}
|
{% if ctaUrl and ctaLabel %}<a href="{{ ctaUrl }}" class="pd-tag mt-6 text-base px-5 py-3">{{ ctaLabel }}<svg width="16" height="16" class="h-4 w-4" aria-hidden="true"><use href="/icons/lucide.svg#arrow-right"></use></svg></a>{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% if media %}<div class="{% if mediaPosition == "left" %}md:order-1{% else %}md:order-2{% endif %}">
|
<div class="{% if mediaPosition == "left" %}md:order-1{% else %}md:order-2{% endif %}">
|
||||||
<div class="pd-frame pd-torn-bottom overflow-hidden rounded-sm p-2">{% img media alt=mediaAlt class="h-auto w-full rounded-sm object-cover" %}</div>
|
{% if media %}<div class="pd-frame pd-torn-bottom overflow-hidden rounded-sm p-2">{% img media alt=mediaAlt class="h-auto w-full rounded-sm object-cover" %}</div>{% endif %}
|
||||||
</div>{% endif %}
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user