File tree Expand file tree Collapse file tree 6 files changed +12
-13
lines changed Expand file tree Collapse file tree 6 files changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ $tocBreakpoint: 1024px;
3737
3838 .anchor :hover {
3939 @include theme () {
40- color : theme-get (' light-text ' );
40+ color : theme-get (' high-neutral ' );
4141 }
4242 }
4343 }
@@ -49,7 +49,7 @@ $tocBreakpoint: 1024px;
4949
5050 a {
5151 @include theme () {
52- color : theme-get (' light-text ' );
52+ color : theme-get (' high-neutral ' );
5353 }
5454 text-decoration : underline ;
5555 }
@@ -237,7 +237,7 @@ footer {
237237 & ::before {
238238 content : " -" ;
239239 @include theme () {
240- color : theme-get (' light-text ' );
240+ color : theme-get (' high-neutral ' );
241241 }
242242 position : absolute ;
243243 margin-left : -15px ;
@@ -266,7 +266,7 @@ table {
266266
267267 thead {
268268 @include theme () {
269- background : theme-get (' dark-bg ' );
269+ background : theme-get (' low-neutral ' );
270270 }
271271 }
272272
Original file line number Diff line number Diff line change 4747 @include theme () {
4848 color : theme-get (' neutral' );
4949 & :hover {
50- color : theme-get (' light-text ' );
50+ color : theme-get (' high-neutral ' );
5151 }
5252 }
5353}
Original file line number Diff line number Diff line change 1111 }
1212 visibility : hidden ;
1313 z-index : 1 ;
14-
1514 @media screen and (min-width : $medium ) {
1615 display : block ;
1716 visibility : visible ;
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ blockquote {
106106 font-style : italic ;
107107 font-size : 0.95em ;
108108 @include theme () {
109- color : theme-get (' light-text ' );
109+ color : theme-get (' high-neutral ' );
110110 }
111111 }
112112}
Original file line number Diff line number Diff line change @@ -25,21 +25,21 @@ $large: 1400px;
2525$themes : (
2626 lightTheme : (
2727 text : #111 ,
28- dark-bg : #f7f7f7 ,
28+ low-neutral : #f7f7f7 ,
2929 neutral-table-border : #eeeeee ,
3030 neutral : #9b9b9b ,
31- light-text : #717171 ,
31+ high-neutral : #717171 ,
3232 bg : #fff ,
3333 accent : #9013FE ,
3434 accent-text : #580E99 ,
3535 accent-bg : #A56AD9 ,
3636 ),
3737 darkTheme : (
3838 text : #fff ,
39- dark-bg : #717171 ,
39+ low-neutral : #717171 ,
4040 neutral-table-border : #eeeeee ,
4141 neutral : #9b9b9b ,
42- light-text : #f7f7f7 ,
42+ high-neutral : #f7f7f7 ,
4343 bg : #111 ,
4444 accent : #9013FE ,
4545 accent-text : #A56AD9 ,
Original file line number Diff line number Diff line change 11<!DOCTYPE html>
2- < html lang ="{{ .Site.LanguageCode }} " class ="lightTheme " id ="theme ">
2+ < script src ="/js/dark-mode.js "> </ script >
3+ < html lang ="{{ .Site.LanguageCode }} " id ="theme ">
34
45< head >
56 < title > {{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }} | {{ .Site.Title }}{{ end }}</ title >
6061
6162 {{ $script := resources.Get "js/index.js" | minify | fingerprint }}
6263 < script src ="{{ $script.RelPermalink }} " integrity ="{{ $script.Data.Integrity | safeHTMLAttr }} " crossorigin ="anonymous "> </ script >
63- < script src ="/js/dark-mode.js "> </ script >
6464 {{ block "scripts" . }} {{ end }}
6565</ body >
6666
You can’t perform that action at this time.
0 commit comments