diff --git a/packages/webawesome/docs/docs/color-palettes.njk b/packages/webawesome/docs/docs/color-palettes.njk index 6b4484750..7405e924f 100644 --- a/packages/webawesome/docs/docs/color-palettes.njk +++ b/packages/webawesome/docs/docs/color-palettes.njk @@ -2,7 +2,6 @@ title: Color Palettes description: 'Color palettes give you a full spectrum of colors to add life to your project.' layout: page -isPro: true ---

Color palettes give you a full spectrum of colors to add life to your project.

@@ -13,10 +12,24 @@ isPro: true {% endfor %} +{% raw %}
+ {% if not currentUser.hasPro %} +

+ Additional palettes are available to pro users. Please login to view pro palettes. +

+ {% endif %} + {% for palette in themer.palettes %} - {{ palette.name }} + {% if not palette.isPro or currentUser.hasPro %} + + {{ palette.name }} + + {% endif %} {% endfor %} @@ -38,6 +51,7 @@ isPro: true
{% endfor %} +{% endraw %}

Using This Palette

@@ -124,13 +138,16 @@ isPro: true border: 1px solid var(--wa-color-surface-border); border-radius: var(--border-radius); box-shadow: var(--wa-shadow-s); - cursor: pointer; transition: all 0.2s ease; text-align: center; font-weight: var(--wa-font-weight-action); text-transform: capitalize; } + .palette-card:not(:state(disabled)) { + cursor: pointer; + } + .palette-card:state(checked) { border-color: var(--wa-color-brand-border-loud); background-color: var(--wa-color-brand-fill-quiet); diff --git a/packages/webawesome/docs/docs/themes.njk b/packages/webawesome/docs/docs/themes.njk index bbc53d05b..436803f6d 100644 --- a/packages/webawesome/docs/docs/themes.njk +++ b/packages/webawesome/docs/docs/themes.njk @@ -2,7 +2,6 @@ title: Themes description: Themes galore layout: page -isPro: true ---
@@ -15,21 +14,31 @@ isPro: true
+ {% raw %}
+ {% if not currentUser.hasPro %} +

+ Additional themes are available to pro users. Please login to view pro themes. +

+ {% endif %} + {% for theme in themer.themes %} - - {{ theme.name }} - + {% if not theme.isPro or currentUser.hasPro %} + + {{ theme.name }} + + {% endif %} {% endfor %}
+ {% endraw %}