2021-06-26 22:02:00 +02:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2021 Johannes Loher
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*/
|
|
|
|
|
2022-01-21 03:22:17 +01:00
|
|
|
@use "../../utils/colors";
|
2021-03-14 08:47:03 +01:00
|
|
|
|
2021-03-16 07:42:49 +01:00
|
|
|
// Needs to be nested in .dice-roll to win against foundry's style.css with respect to specificity
|
|
|
|
.dice-roll .ds4-dice-total {
|
2021-03-14 08:47:03 +01:00
|
|
|
@mixin color-filter($rotation) {
|
|
|
|
filter: sepia(0.5) hue-rotate($rotation);
|
|
|
|
}
|
|
|
|
|
|
|
|
&--coup {
|
|
|
|
@include color-filter(60deg);
|
2021-03-16 07:42:49 +01:00
|
|
|
background-color: colors.$c-coup-bg;
|
|
|
|
color: colors.$c-coup;
|
2021-03-14 08:47:03 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&--fumble {
|
|
|
|
@include color-filter(-60deg);
|
2021-03-16 07:42:49 +01:00
|
|
|
background-color: colors.$c-fumble-bg;
|
|
|
|
color: colors.$c-fumble;
|
2021-03-14 08:47:03 +01:00
|
|
|
}
|
|
|
|
}
|