From ccf3ce090dab41ed248d856006e63a679fe9682b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Adel=C3=A9?= Date: Wed, 18 Nov 2026 10:44:33 +0100 Subject: [PATCH] feat: add alignment option --- README.md | 1 + components/Playground.tsx | 29 +++++++++++++++++++ lib/loader.test.ts | 49 ++++++++++++++++++++++++++++++++ lib/loader.ts | 29 ++++++++++++------- lib/types.ts | 1 + profiles/manifesto/template.yaml | 6 ++-- 6 files changed, 103 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 9b8b2de..a589bc2 100644 --- a/README.md +++ b/README.md @@ -134,6 +134,7 @@ params: default: "My Title" style: # overrides defaults for this param fg: 2 + align: center # default line alignment: left | center | right ([ALIGN=x] in text wins) font: name: BarlowCondensed size: 96 diff --git a/components/Playground.tsx b/components/Playground.tsx index 868be6e..24f29a6 100644 --- a/components/Playground.tsx +++ b/components/Playground.tsx @@ -15,6 +15,7 @@ function computeStyleDelta(current: StyleDef, original: StyleDef): Partial