Use definite body class rules.
gitea/icedream/rekt-theme/master Build queued... Details

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.
master
Icedream 2019-11-19 04:47:15 +01:00
parent 686bb33d2e
commit 7cedb0e585
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 1 additions and 2 deletions

View File

@ -12,8 +12,7 @@ $gradient-stop-0: #46c;
$gradient-stop-1: #013; $gradient-stop-1: #013;
$gradient-radial: rgba(64, 128, 255, 0.05); $gradient-radial: rgba(64, 128, 255, 0.05);
// wrap all rules in body{} to increase css rule specificity, relatively safe overriding without !important body.rekt.icedream, body.archives.icedream {
body.icedream {
--gradient-stop-0: #{$gradient-stop-0}; --gradient-stop-0: #{$gradient-stop-0};
--gradient-stop-1: #{$gradient-stop-1}; --gradient-stop-1: #{$gradient-stop-1};
--gradient-radial: #{$gradient-radial}; --gradient-radial: #{$gradient-radial};