mirror of
https://github.com/Kornstalx/5etools-mirror-2.github.io.git
synced 2026-01-14 05:47:50 -06:00
v1.206.1
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
@use "vars";
|
||||
@use "../vars/vars";
|
||||
@use "../vars/vars-night";
|
||||
|
||||
@mixin mix-source-color ($rgb) {
|
||||
color: $rgb !important;
|
||||
@@ -6,16 +7,58 @@
|
||||
text-decoration-color: $rgb !important;
|
||||
}
|
||||
|
||||
.night-mode .source {
|
||||
$rgb-source-PHB: vars.$rgb-subclass--night;
|
||||
.ve-night-mode .source {
|
||||
$rgb-source-category-site: #de000a;
|
||||
$rgb-source-category-extras: #bb6468;
|
||||
$rgb-source-category-prerelease: vars-night.$rgb-subclass-ua--night;
|
||||
$rgb-source-category-prerelease--local: #60c52f;
|
||||
$rgb-source-category-homebrew: vars-night.$rgb-class-brew--night;
|
||||
$rgb-source-category-homebrew--local: #514bff;
|
||||
|
||||
$rgb-source-PHB: vars-night.$rgb-subclass--night;
|
||||
$rgb-source-DMG: #ba1eba;
|
||||
$rgb-source-SADS: #4f63f5;
|
||||
$rgb-source-PSA: #eec276;
|
||||
|
||||
// region Categories
|
||||
|
||||
&-category- {
|
||||
&site {
|
||||
@include mix-source-color($rgb-source-category-site);
|
||||
}
|
||||
|
||||
&extras {
|
||||
@include mix-source-color($rgb-source-category-extras);
|
||||
}
|
||||
|
||||
&homebrew {
|
||||
@include mix-source-color($rgb-source-category-homebrew);
|
||||
|
||||
&--local {
|
||||
@include mix-source-color($rgb-source-category-homebrew--local);
|
||||
}
|
||||
}
|
||||
|
||||
&spicy {
|
||||
@include mix-source-color($rgb-source-category-prerelease);
|
||||
|
||||
&--local {
|
||||
@include mix-source-color($rgb-source-category-prerelease--local);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// endregion
|
||||
|
||||
&__ {
|
||||
&PHB {
|
||||
@include mix-source-color($rgb-source-PHB);
|
||||
}
|
||||
|
||||
&DMG {
|
||||
@include mix-source-color($rgb-source-DMG);
|
||||
}
|
||||
|
||||
&SADS {
|
||||
@include mix-source-color($rgb-source-SADS);
|
||||
}
|
||||
@@ -26,7 +69,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
.night-mode .ve-source-marker {
|
||||
.ve-night-mode .ve-source-marker {
|
||||
&--partnered {
|
||||
color: #27ac8c;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user