danix
's git repository
home
/
my projects
/
theme-danix.xyz.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added dark theme option. It ìs selected automagically based on system choiche of...
[theme-danix.xyz.git]
/
assets
/
sass
/
components
/
_section.scss
diff --git
a/assets/sass/components/_section.scss
b/assets/sass/components/_section.scss
index
2bdad69
..
b12e1e1
100644
(file)
--- a/
assets/sass/components/_section.scss
+++ b/
assets/sass/components/_section.scss
@@
-26,11
+26,14
@@
\r
&:after {
\r
content: '';
\r
\r
&:after {
\r
content: '';
\r
- background-color: _palette(fg-bold);
\r
+ background-color: _palette
_light
(fg-bold);
\r
display: block;
\r
height: 2px;
\r
margin: 0.325em 0 0.5em 0;
\r
width: 100%;
\r
display: block;
\r
height: 2px;
\r
margin: 0.325em 0 0.5em 0;
\r
width: 100%;
\r
+ @media screen and (prefers-color-scheme: dark) {
\r
+ background-color: _palette_dark(fg-bold);
\r
+ }
\r
}
\r
}
\r
\r
}
\r
}
\r
\r