remove all "fallback variables"

This commit is contained in:
Henry Jameson 2024-03-04 19:45:42 +02:00
commit 075f2cb903
80 changed files with 99 additions and 382 deletions

View file

@ -1,5 +1,3 @@
@import "../../variables";
/* stylelint-disable no-descending-specificity */
.tab-switcher {
display: flex;
@ -78,8 +76,7 @@
flex-basis: 0.5em;
content: "";
border-right: 1px solid;
border-right-color: $fallback--border;
border-right-color: var(--border, $fallback--border);
border-right-color: var(--border);
}
&::after {
@ -104,16 +101,14 @@
right: 0;
bottom: 0;
border-right: 1px solid;
border-right-color: $fallback--border;
border-right-color: var(--border, $fallback--border);
border-right-color: var(--border);
}
&::before {
flex: 0 0 6px;
content: "";
border-right: 1px solid;
border-right-color: $fallback--border;
border-right-color: var(--border, $fallback--border);
border-right-color: var(--border);
}
&:last-child .tab {
@ -194,8 +189,6 @@
&.active {
background: transparent;
z-index: 5;
color: $fallback--text;
color: var(--tabActiveText, $fallback--text);
}
img {
@ -237,7 +230,7 @@
margin-top: 0.5em;
margin-left: 0.2em;
margin-bottom: 0.25em;
border-bottom: 1px solid var(--border, $fallback--border);
border-bottom: 1px solid var(--border);
@media all and (min-width: 800px) {
display: none;