domaino/packages/shared/src
agent 91f6705899 Site design → Style: fonts, corners, text size, shadows, page width
A new Style card in Site design (a `style` global) chooses the heading and
body fonts from 15 bundled ones, corners (sharp/soft/round), text size,
shadow strength and page width, with a live sample. The choices become
--site-* CSS variables that the @theme radius, shadow, container and font
tokens scale, so blocks keep using rounded-xl, shadow-sm, max-w-6xl and
follow the setting. Buttons and chips use rounded-button; the defaults
are the site's current look.

Fonts are @fontsource-variable packages (replacing the static DM Sans and
Playfair ones): still served by the site, and a browser downloads only
the fonts a page uses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hy2vMnHJYP7QGsiH21zHxW
2026-10-26 19:00:37 +00:00
..
blocks Site design → Style: fonts, corners, text size, shadows, page width 2026-10-26 19:00:37 +00:00
email Shop and checkout: bundles, gift details, codes, confirm without paying 2026-10-25 21:39:51 +00:00
server Shop: show the bundle's separate price as a saving; hide unsellable bundles 2026-10-26 09:04:35 +00:00
basket.svelte.ts Shop and checkout: bundles, gift details, codes, confirm without paying 2026-10-25 21:39:51 +00:00
calendar.ts Show prices in the shop currency (STRIPE_CURRENCY), not hard-coded EUR 2026-10-25 14:48:12 +00:00
items.ts Shop: show the bundle's separate price as a saving; hide unsellable bundles 2026-10-26 09:04:35 +00:00
pb.ts Public site: the Site design logo is the favicon 2026-10-26 13:14:04 +00:00
richText.ts Visual text editor; Cards, FAQ and HTML blocks; block anchors 2026-10-26 12:58:15 +00:00
scrollReveal.ts moved shared code to the shared package 2026-08-19 19:18:31 +02:00
slots.ts Windows: choose the start-time step (10–60 min, default 30) 2026-10-25 21:03:40 +00:00
stripe-client.ts No third-party requests on page load: bundle the fonts, load Stripe.js at Pay 2026-10-24 10:44:45 +00:00
theme.ts Site design → Style: fonts, corners, text size, shadows, page width 2026-10-26 19:00:37 +00:00
types.ts Site design → Style: fonts, corners, text size, shadows, page width 2026-10-26 19:00:37 +00:00