Implement proper dark mode (#800)
* Implement proper dark mode Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Fix footer color in light mode Signed-off-by: hossainemruz <hossainemruz@gmail.com> --------- Signed-off-by: hossainemruz <hossainemruz@gmail.com>
This commit is contained in:
parent
6dc9d1d33d
commit
5f0aebcf68
38 changed files with 1136 additions and 353 deletions
|
@ -17,7 +17,7 @@ img {
|
|||
}
|
||||
|
||||
figure {
|
||||
border: 1px solid $border-color;
|
||||
border: 1px solid rgba(get-light-color('accent-color'), 0.1);
|
||||
height: -moz-fit-content;
|
||||
height: fit-content;
|
||||
width: -moz-fit-content;
|
||||
|
@ -30,5 +30,15 @@ caption,
|
|||
figcaption {
|
||||
caption-side: bottom;
|
||||
text-align: center;
|
||||
color: $muted-text-color;
|
||||
color: get-light-color('muted-text-color');
|
||||
}
|
||||
|
||||
html[data-theme='dark'] {
|
||||
figure {
|
||||
border: 1px solid rgba(get-dark-color('accent-color'), 0.1);
|
||||
}
|
||||
caption,
|
||||
figcaption {
|
||||
color: get-dark-color('muted-text-color');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue