diff --git a/packages/webawesome/docs/docs/themes.njk b/packages/webawesome/docs/docs/themes.njk index eed8d21ed..5220de115 100644 --- a/packages/webawesome/docs/docs/themes.njk +++ b/packages/webawesome/docs/docs/themes.njk @@ -86,18 +86,48 @@ to create a project with any one of these themes.
- To import this theme, apply the following classes to the <html> element and import the theme's stylesheet.
+ In your project's
<html class="wa-theme-{{ theme.filename | stripExtension }} wa-palette-{{ theme.palette.filename | stripExtension }} wa-brand-{{ theme.colorBrand.color}}">
-...
-<link rel="stylesheet" href="/dist/styles/themes/{{ theme.filename }}" />
-
+ 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: +
+<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}}">
+