ds4/scss/components/dice/_dice_total.scss
Johannes Loher 7670d7f808
All checks were successful
ci/woodpecker/pr/checks Pipeline was successful
ci/woodpecker/push/checks Pipeline was successful
chore: reformat with 2 spaces
2023-07-10 22:33:01 +02:00

26 lines
578 B
SCSS

/*
* SPDX-FileCopyrightText: 2021 Johannes Loher
*
* SPDX-License-Identifier: MIT
*/
@use "../../utils/colors";
// Needs to be nested in .dice-roll to win against foundry's style.css with respect to specificity
.dice-roll .ds4-dice-total {
@mixin color-filter($rotation) {
filter: sepia(0.5) hue-rotate($rotation);
}
&--coup {
@include color-filter(60deg);
background-color: colors.$c-coup-bg;
color: colors.$c-coup;
}
&--fumble {
@include color-filter(-60deg);
background-color: colors.$c-fumble-bg;
color: colors.$c-fumble;
}
}