Skip to content
Snippets Groups Projects
Commit 4376a86c authored by Stuffed's avatar Stuffed
Browse files

Add a css class "lightTheme" to the body, so that we can set the css style...

Add a css class "lightTheme" to the body, so that we can set the css style based on the current light theme

e.g. in css you can do:

/* For dark theme */
.hello {
   color: green;
}

/* For light theme */
body.lightTheme .hello {
   color: red;
}
parent 752513e4
No related branches found
No related tags found
No related merge requests found
:: PassageDone
<<if window.savedColorMap>>
<<addclass "body" "lightTheme">>
<</if>>
...@@ -45,7 +45,7 @@ This save was created using FC version $ver build $releaseID. ...@@ -45,7 +45,7 @@ This save was created using FC version $ver build $releaseID.
<br> <br>
''COLOR CONTROL'' ''COLOR CONTROL''
<br> <br>
<<link "flip lighting">><<run flipColors(setup.lightColorMap)>><</link>> <<link "flip lighting">><<run flipColors(setup.lightColorMap)>><<goto "Options">><</link>>
<br> <br>
''IMAGES'' ''IMAGES''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment