Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Softorage/HugoTheme-VibrantShadows.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanmayJoshi <sanmaycjoshi@gmail.com>2020-10-17 18:22:08 +0300
committerSanmayJoshi <sanmaycjoshi@gmail.com>2020-10-17 18:22:08 +0300
commita3118851df338a587d68b7b549b3ddddeef1b478 (patch)
treecc33620101dce962afb57f2629ccb9f2c88d9a38
parentffb79af17e173554c85fa623d1d97c1a2d1bed35 (diff)
Added PurgeCSS ignore rule to .brand-color class (since it's JS only)
-rw-r--r--assets/sass/main.scss2
1 files changed, 2 insertions, 0 deletions
diff --git a/assets/sass/main.scss b/assets/sass/main.scss
index 816fba0..7767981 100644
--- a/assets/sass/main.scss
+++ b/assets/sass/main.scss
@@ -36,7 +36,9 @@ color: $antinav !important;
font-family: '{{ default "Lato" site.Params.font.brand.family }}', sans-serif !important;
}
+// since .brand-color class is used only custom JS
{{ if site.Params.brand.color }}
+/* purgecss ignore */
.brand-color {
color: {{ site.Params.brand.color }} !important;
}