File tree 1 file changed +10
-20
lines changed
1 file changed +10
-20
lines changed Original file line number Diff line number Diff line change @@ -594,29 +594,19 @@ <h2 class="panel-title">
594
594
> </ path >
595
595
</ svg >
596
596
< style >
597
+ : root {
598
+ --theme-background-color : black;
599
+ --theme-foreground-color : white;
600
+ }
597
601
@media (prefers-color-scheme : dark) {
598
- .github-corner svg {
599
- fill : # fff ;
600
- color : # fff ;
601
- }
602
- .octo-arm {
603
- fill : # 151513 ;
604
- }
605
- .octo-body {
606
- fill : # 151513 ;
602
+ : root {
603
+ --theme-background-color : white;
604
+ --theme-foreground-color : black;
607
605
}
608
606
}
609
- @media (prefers-color-scheme : light) {
610
- .github-corner svg {
611
- fill : # 151513 ;
612
- color : # fff ;
613
- }
614
- .octo-arm {
615
- fill : # fff ;
616
- }
617
- .octo-body {
618
- fill : # fff ;
619
- }
607
+ .github-corner svg {
608
+ fill : var (--theme-background-color );
609
+ color : var (--theme-foreground-color );
620
610
}
621
611
.github-corner : hover .octo-arm {
622
612
animation : octocat-wave 560ms ease-in-out;
You can’t perform that action at this time.
0 commit comments