1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2024-12-22 17:23:22 +01:00

fix dark styles

This commit is contained in:
Matthias Kretschmann 2018-06-12 00:04:20 +02:00
parent 50b083a551
commit e884ea79c3
Signed by: m
GPG Key ID: 606EEEF3C479A91F
5 changed files with 10 additions and 10 deletions

View File

@ -31,7 +31,7 @@
font-size: $font-size-h4;
color: $brand-grey;
.dark & {
:global(.dark) & {
color: $brand-grey-light;
}
@ -49,7 +49,7 @@
.logounit__description {
color: $brand-grey-light;
.dark & {
:global(.dark) & {
color: $brand-grey;
}
}

View File

@ -10,7 +10,7 @@
display: block;
transition: opacity .2s ease-out;
.dark & {
:global(.dark) & {
color: $text-color-light--dark;
}
@ -24,7 +24,7 @@
position: fixed;
bottom: $spacer;
.dark & {
:global(.dark) & {
background: rgba($body-background-color--dark, .8);
color: $brand-light;
}

View File

@ -22,7 +22,7 @@
box-shadow: 0 3px 5px rgba($brand-main, .15),
0 5px 16px rgba($brand-main, .15);
.dark & {
:global(.dark) & {
box-shadow: 0 3px 5px rgba(darken($brand-main, 20%), .15),
0 5px 16px rgba(darken($brand-main, 20%), .15);
}

View File

@ -18,7 +18,7 @@
height: .7rem;
}
.dark & {
:global(.dark) & {
fill: $brand-grey;
}
}
@ -55,7 +55,7 @@ $knob-space: 1px;
transform: translate3d(0, 0, 0);
}
.dark & {
:global(.dark) & {
border-color: $brand-grey;
&::after {
@ -69,7 +69,7 @@ $knob-space: 1px;
cursor: pointer;
opacity: .6;
.dark & {
:global(.dark) & {
opacity: .8;
}

View File

@ -16,7 +16,7 @@
margin-bottom: $spacer * 2;
}
.dark & {
:global(.dark) & {
color: $text-color-light--dark;
}
}
@ -29,7 +29,7 @@
margin-left: $spacer;
color: $text-color-light;
.dark & {
:global(.dark) & {
color: $text-color-light--dark;
}