From 00a3254c3f9d7a7beb45e84ddca52129d25b8dbd Mon Sep 17 00:00:00 2001 From: Josias Mekontso Date: Wed, 25 Feb 2026 11:35:18 +0100 Subject: [PATCH] docs: force light mode, real photos in templates, fix feature card titles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Force light mode (appearance: false) — no more dark theme by default - Fix feature card titles: ensure text is always readable (--vp-c-text-1) - Replace all 21 via.placeholder.com URLs with real picsum.photos images - Regenerate all 22 template HTML previews with real photos - Templates now show real stock photography instead of gray placeholders - Tests pass (147+) --- docs/.vitepress/config.ts | 2 +- docs/.vitepress/theme/style.css | 1 + docs/public/templates/abandoned-cart.html | 124 ++++++++-------- docs/public/templates/birthday.html | 72 ++++----- docs/public/templates/blank.html | 12 +- docs/public/templates/event.html | 92 ++++++------ docs/public/templates/newsletter.html | 114 +++++++-------- docs/public/templates/notification.html | 74 +++++----- docs/public/templates/order-confirmation.html | 130 ++++++++--------- docs/public/templates/password-reset.html | 66 ++++----- docs/public/templates/product-launch.html | 114 +++++++-------- docs/public/templates/promotion.html | 136 ++++++++--------- docs/public/templates/re-engagement.html | 112 +++++++------- docs/public/templates/real-estate.html | 112 +++++++------- docs/public/templates/receipt.html | 128 ++++++++-------- docs/public/templates/referral.html | 98 ++++++------- docs/public/templates/restaurant.html | 126 ++++++++-------- docs/public/templates/saas-onboarding.html | 138 +++++++++--------- docs/public/templates/seasonal-sale.html | 112 +++++++------- docs/public/templates/shipping.html | 104 ++++++------- docs/public/templates/survey.html | 74 +++++----- docs/public/templates/testimonials.html | 130 ++++++++--------- docs/public/templates/webinar.html | 110 +++++++------- docs/public/templates/welcome.html | 106 +++++++------- src/blocks/starter-templates.ts | 42 +++--- 25 files changed, 1165 insertions(+), 1164 deletions(-) diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 6d229fa..f7b8155 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -4,7 +4,7 @@ export default defineConfig({ title: '@lab2view/vue-email-editor', description: 'A professional, extensible drag-and-drop email editor for Vue 3, built on MJML.', base: '/vue-email-editor/', - appearance: 'force-auto', + appearance: false, head: [ ['link', { rel: 'icon', href: '/vue-email-editor/logo.png' }], diff --git a/docs/.vitepress/theme/style.css b/docs/.vitepress/theme/style.css index fdf5071..fb5439d 100644 --- a/docs/.vitepress/theme/style.css +++ b/docs/.vitepress/theme/style.css @@ -138,6 +138,7 @@ .VPFeature .title { font-weight: 700; letter-spacing: -0.01em; + color: var(--vp-c-text-1) !important; } /* ---------------------------------------------------------- diff --git a/docs/public/templates/abandoned-cart.html b/docs/public/templates/abandoned-cart.html index 18fecdd..462a17f 100644 --- a/docs/public/templates/abandoned-cart.html +++ b/docs/public/templates/abandoned-cart.html @@ -74,14 +74,14 @@
- + -
+
- +
Logo @@ -140,10 +140,10 @@ - + -
+
- +
- + -
+
- +
Produit @@ -267,10 +267,10 @@ - +
- +
- + -
+
- +

- + -

+
- +
Produit @@ -452,10 +452,10 @@ - +
- +
- + -
+
- +
- + -
+
- +
@@ -642,7 +642,7 @@
@@ -676,7 +676,7 @@
@@ -710,7 +710,7 @@
@@ -744,7 +744,7 @@
@@ -779,7 +779,7 @@
- + -
+
- +
Logo @@ -134,10 +134,10 @@ - + -
+
- +
- + -
+
- +
 
- + -
+
- +
@@ -389,7 +389,7 @@
@@ -423,7 +423,7 @@
@@ -457,7 +457,7 @@
@@ -491,7 +491,7 @@
@@ -526,7 +526,7 @@
- + -
+
- +
- + -
+
- +
Logo @@ -138,7 +138,7 @@
- + -
+
- +
- + -
+
- +
- +
- + -
+
- +
- + -
+
- +
@@ -533,7 +533,7 @@
@@ -567,7 +567,7 @@
@@ -601,7 +601,7 @@
@@ -635,7 +635,7 @@
@@ -670,7 +670,7 @@
- + -
+
- +
Logo @@ -140,10 +140,10 @@ - + -
+
- +
- + -
+
- +
- + -
+
- +
Article @@ -305,10 +305,10 @@ - +
+