refactor: resturcture files so that lincensing info can be bundled properly
This commit is contained in:
parent
699ba74840
commit
1aa284311f
484 changed files with 119 additions and 179 deletions
26
scss/components/dice/_dice_total.scss
Normal file
26
scss/components/dice/_dice_total.scss
Normal file
|
@ -0,0 +1,26 @@
|
|||
/*
|
||||
* 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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue