mirror of
https://github.com/andrewgioia/mana.git
synced 2024-10-31 23:44:47 +00:00
92 lines
2.3 KiB
SCSS
92 lines
2.3 KiB
SCSS
@use "variables";
|
|
|
|
.#{variables.$ms-prefix}-duo {
|
|
|
|
// base border styles
|
|
&::after {
|
|
color: #000;
|
|
content: '';
|
|
display: block;
|
|
font-size: 1em;
|
|
height: 100%;
|
|
left: 0;
|
|
position: absolute;
|
|
top: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
// set default inner to black unless we're adding color to the background
|
|
color: #fff;
|
|
|
|
// multicolor symbol
|
|
&.#{variables.$ms-prefix}-multicolor::after {
|
|
content: "\e986";
|
|
}
|
|
|
|
// strixhaven schools
|
|
&.#{variables.$ms-prefix}-school {
|
|
&-lorehold::after {
|
|
content: "\e99b";
|
|
}
|
|
&-prismari::after {
|
|
content: "\e99d";
|
|
}
|
|
&-quandrix::after {
|
|
content: "\e99f";
|
|
}
|
|
&-silverquill::after {
|
|
content: "\e9a1";
|
|
}
|
|
&-witherbloom {
|
|
&::before {
|
|
content: "\e9a3";
|
|
}
|
|
&::after {
|
|
content: "\e9a4";
|
|
}
|
|
}
|
|
}
|
|
|
|
// colorized versions
|
|
&-color {
|
|
// default outer color
|
|
&::before {
|
|
color: variables.$ms-border-black;
|
|
}
|
|
// multicolor
|
|
&.#{variables.$ms-prefix}-multicolor {
|
|
&::after {
|
|
color: variables.$ms-multicolor-flat;
|
|
}
|
|
&.#{variables.$ms-prefix}-grad::after {
|
|
background: variables.$ms-multicolor-grad;
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
}
|
|
// strixhaven schools
|
|
&.#{variables.$ms-prefix}-school {
|
|
&-lorehold {
|
|
&::before { color: #a03731; }
|
|
&::after { color: #e4e8c7; }
|
|
}
|
|
&-prismari {
|
|
&::before { color: #a23431; }
|
|
&::after { color: #322f5c; }
|
|
}
|
|
&-quandrix {
|
|
&::before { color: #352e5f; }
|
|
&::after { color: #519e52; }
|
|
}
|
|
&-silverquill {
|
|
&::before { color: #181616; }
|
|
&::after { color: #e5e9ca; }
|
|
}
|
|
&-witherbloom {
|
|
&::before { color: #2f312d; }
|
|
&::after { color: #4f9b4f; }
|
|
}
|
|
}
|
|
}
|
|
|
|
} |