File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ export default function Home() {
161161 < Image width = { 30 } src = { point } alt = " likes" > </ Image >
162162 { data [ index ] . points }
163163 </ div >
164- < h1 className = "" > { data [ index ] . title } </ h1 >
164+ < h1 className = "postTitle " > { data [ index ] . title } </ h1 >
165165 </ div >
166166 { /* new user info */ }
167167 < p className = { index == 0 ? "newUserInfo" : "newUserInfoNo" } >
@@ -183,7 +183,7 @@ export default function Home() {
183183 < Image width = { 30 } src = { point } alt = " likes" > </ Image >
184184 { data [ index + 1 ] . points }
185185 </ div >
186- < h1 className = "" > { data [ index + 1 ] . title } </ h1 >
186+ < h1 className = "postTitle " > { data [ index + 1 ] . title } </ h1 >
187187 </ div >
188188 </ div >
189189 < img className = "no" src = { data [ index + 1 ] . photo_url } alt = "" />
Original file line number Diff line number Diff line change @@ -47,6 +47,24 @@ button:hover {
4747 background : var (--bg );
4848 }
4949}
50+ @media (prefers-color-scheme : light) {
51+ html {
52+ color-scheme : light;
53+ }
54+ body {
55+ color : var (--bg );
56+ background : var (--fr );
57+ }
58+ .smallUser {
59+ color : var (--fr );
60+ }
61+ .postTitle {
62+ color : var (--fr );
63+ }
64+ .searchedModal {
65+ color : var (--fr );
66+ }
67+ }
5068
5169.navText {
5270 font-size : 3rem ;
You can’t perform that action at this time.
0 commit comments