mirror of
https://github.com/Kornstalx/5etools-mirror-2.github.io.git
synced 2025-10-28 20:45:35 -05:00
v1.202.0
This commit is contained in:
@@ -1,26 +1,28 @@
|
||||
@use "vars";
|
||||
|
||||
@mixin mix-source-color ($rgb) {
|
||||
color: $rgb !important;
|
||||
border-color: $rgb !important;
|
||||
text-decoration-color: $rgb !important;
|
||||
}
|
||||
|
||||
.night-mode .source {
|
||||
$rgb-source-PHB: vars.$rgb-subclass--night;
|
||||
$rgb-source-SADS: #4f63f5;
|
||||
$rgb-source-PSA: #eec276;
|
||||
|
||||
&PHB {
|
||||
color: $rgb-source-PHB !important;
|
||||
border-color: $rgb-source-PHB !important;
|
||||
text-decoration-color: $rgb-source-PHB !important;
|
||||
}
|
||||
&__ {
|
||||
&PHB {
|
||||
@include mix-source-color($rgb-source-PHB);
|
||||
}
|
||||
|
||||
&SADS {
|
||||
color: $rgb-source-SADS !important;
|
||||
border-color: $rgb-source-SADS !important;
|
||||
text-decoration-color: $rgb-source-SADS !important;
|
||||
}
|
||||
&SADS {
|
||||
@include mix-source-color($rgb-source-SADS);
|
||||
}
|
||||
|
||||
&PSA {
|
||||
color: $rgb-source-PSA !important;
|
||||
border-color: $rgb-source-PSA !important;
|
||||
text-decoration-color: $rgb-source-PSA !important;
|
||||
&PSA {
|
||||
@include mix-source-color($rgb-source-PSA);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user