From 7cedb0e5856cdc9cc34be5244c24b3706be7f4b7 Mon Sep 17 00:00:00 2001 From: Carl Kittelberger Date: Tue, 19 Nov 2019 04:47:15 +0100 Subject: [PATCH] Use definite body class rules. This will allow the theme to only be applied where appropriate, specifically when Icedream goes live or when an archive track by Icedream is played. --- src/icedream.scss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/icedream.scss b/src/icedream.scss index a575b58..335fd4b 100644 --- a/src/icedream.scss +++ b/src/icedream.scss @@ -12,8 +12,7 @@ $gradient-stop-0: #46c; $gradient-stop-1: #013; $gradient-radial: rgba(64, 128, 255, 0.05); -// wrap all rules in body{} to increase css rule specificity, relatively safe overriding without !important -body.icedream { +body.rekt.icedream, body.archives.icedream { --gradient-stop-0: #{$gradient-stop-0}; --gradient-stop-1: #{$gradient-stop-1}; --gradient-radial: #{$gradient-radial};