From 29dd34e86476cf412ddfd3c84f9df3f7b1f53945 Mon Sep 17 00:00:00 2001 From: mbehzad Date: Wed, 10 Apr 2024 19:31:11 +0200 Subject: [PATCH] feat(pv-stylemark): add theme classes from the old stylemark to the new one this allows any existing theming to mostly also work in the new one --- .../tasks/templates/lsg-component.hbs | 6 +++--- .../pv-stylemark/tasks/templates/lsg-nav.hbs | 16 ++++++++-------- packages/pv-stylemark/tasks/templates/lsg.hbs | 6 ++++-- 3 files changed, 15 insertions(+), 13 deletions(-) diff --git a/packages/pv-stylemark/tasks/templates/lsg-component.hbs b/packages/pv-stylemark/tasks/templates/lsg-component.hbs index 9f82ad4..5f51845 100644 --- a/packages/pv-stylemark/tasks/templates/lsg-component.hbs +++ b/packages/pv-stylemark/tasks/templates/lsg-component.hbs @@ -1,6 +1,6 @@ -
-

{{options.name}}

-
+
+

{{options.name}}

+
{{{description}}}
diff --git a/packages/pv-stylemark/tasks/templates/lsg-nav.hbs b/packages/pv-stylemark/tasks/templates/lsg-nav.hbs index af34ed8..e68b552 100644 --- a/packages/pv-stylemark/tasks/templates/lsg-nav.hbs +++ b/packages/pv-stylemark/tasks/templates/lsg-nav.hbs @@ -1,7 +1,7 @@ - -
+ +
{{#if lsgConfig.theme.logo}} - + {{else}}

{{lsgConfig.name}}

{{/if}} @@ -9,17 +9,17 @@
-
+ -
+
{{#each lsgData}} -
-

{{categoryName}}

+
+

{{categoryName}}

diff --git a/packages/pv-stylemark/tasks/templates/lsg.hbs b/packages/pv-stylemark/tasks/templates/lsg.hbs index 6cc82b8..f4963eb 100644 --- a/packages/pv-stylemark/tasks/templates/lsg.hbs +++ b/packages/pv-stylemark/tasks/templates/lsg.hbs @@ -20,13 +20,15 @@ {{/if}} - + {{> lsg-nav}} -
+
{{#each lsgData}} + {{/each}}