diff --git a/packages/webawesome/docs/docs/color-palettes.njk b/packages/webawesome/docs/docs/color-palettes.njk index 4fe7648ad..0525f8380 100644 --- a/packages/webawesome/docs/docs/color-palettes.njk +++ b/packages/webawesome/docs/docs/color-palettes.njk @@ -66,14 +66,50 @@ layout: page
- To import this palette, set <html class="wa-palette-{{ palette.name | lower }}"> and import the following stylesheet:
-
<link rel="stylesheet" href="/dist/styles/color/palettes/{{ palette.filename }}" />
-
+ In your project's
+ In your project's
Save your palette and watch it come to life anywhere you're using your project.
++ To use this theme, import the theme's stylesheet: +
+import '@awesome.me/webawesome/dist/styles/themes/{{ palette.filename }}';
+
+ Then apply the following class to the <html> element:
+
<html class="wa-palette-{{ palette.name | lower }}">
+ + To use this theme, import the theme's stylesheet: +
+<link rel="stylesheet" href="/dist/styles/themes/{{ palette.filename }}" />
+
+ Then apply the following class to the <html> element:
+
<html class="wa-palette-{{ palette.name | lower }}">
+
- In your project's
- In your project's
Save your theme and watch it come to life anywhere you're using your project.
-
+ In your project's
+ In your project's
Save your theme and watch it come to life anywhere you're using your project.
+- To use this theme, import the theme's stylesheet: -
-import '@awesome.me/webawesome/dist/styles/themes/{{ theme.filename }}';
-
- Then apply the following classes to the <html> element:
-
<html class="wa-theme-{{ theme.filename | stripExtension }} wa-palette-{{ theme.palette.filename | stripExtension }} wa-brand-{{ theme.colorBrand.color}}">
- + To use this theme, import the theme's stylesheet: +
+import '@awesome.me/webawesome/dist/styles/themes/{{ theme.filename }}';
+
+ Then apply the following classes to the <html> element:
+
<html class="wa-theme-{{ theme.filename | stripExtension }} wa-palette-{{ theme.palette.filename | stripExtension }} wa-brand-{{ theme.colorBrand.color}}">
+ - To use this theme, import the theme's stylesheet: -
-<link rel="stylesheet" href="/dist/styles/themes/{{ theme.filename }}" />
-
- Then apply the following classes to the <html> element:
-
<html class="wa-theme-{{ theme.filename | stripExtension }} wa-palette-{{ theme.palette.filename | stripExtension }} wa-brand-{{ theme.colorBrand.color}}">
- + To use this theme, import the theme's stylesheet: +
+<link rel="stylesheet" href="/dist/styles/themes/{{ theme.filename }}" />
+
+ Then apply the following classes to the <html> element:
+
<html class="wa-theme-{{ theme.filename | stripExtension }} wa-palette-{{ theme.palette.filename | stripExtension }} wa-brand-{{ theme.colorBrand.color}}">
+