forked from DebaucheryLibrarian/traxxx
Added dark and SFW modes.
This commit is contained in:
@@ -110,7 +110,7 @@ export default {
|
||||
@import 'theme';
|
||||
|
||||
.gender-link.selected .gender .icon {
|
||||
fill: $text-contrast;
|
||||
fill: var(--text-contrast);
|
||||
filter: none;
|
||||
}
|
||||
</style>
|
||||
@@ -143,7 +143,7 @@ export default {
|
||||
display: flex;
|
||||
flex-shrink: 0;
|
||||
padding: 0 .5rem 0 0;
|
||||
border-right: solid 1px $shadow-hint;
|
||||
border-right: solid 1px var(--shadow-hint);
|
||||
margin: 0 1rem 0 0;
|
||||
}
|
||||
|
||||
@@ -160,38 +160,42 @@ export default {
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin: .25rem .5rem .25rem 0;
|
||||
color: $shadow;
|
||||
background: $background;
|
||||
color: var(--shadow);
|
||||
background: var(--background);
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
box-shadow: 0 0 3px $shadow-weak;
|
||||
box-shadow: 0 0 3px var(--shadow-weak);
|
||||
|
||||
&:hover {
|
||||
color: $primary;
|
||||
color: var(--primary);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.icon {
|
||||
fill: var(--shadow);
|
||||
}
|
||||
|
||||
&.selected {
|
||||
background: $primary;
|
||||
color: $text-contrast;
|
||||
background: var(--primary);
|
||||
color: var(--text-contrast);
|
||||
|
||||
.icon {
|
||||
fill: $text-contrast;
|
||||
fill: var(--text-contrast);
|
||||
}
|
||||
|
||||
&.male {
|
||||
background: $male;
|
||||
background: var(--male);
|
||||
}
|
||||
|
||||
&.female {
|
||||
background: $female;
|
||||
background: var(--female);
|
||||
}
|
||||
|
||||
&.transsexual {
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
background: $female;
|
||||
border: solid .25rem $male;
|
||||
background: var(--female);
|
||||
border: solid .25rem var(--male);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user