File tree Expand file tree Collapse file tree 2 files changed +24
-26
lines changed Expand file tree Collapse file tree 2 files changed +24
-26
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11/* Variables */
2- : root {
2+ : root ,
3+ [data-theme = "light" ] {
34 --main-width : 52rem ;
45 --main-width-margin : 54rem ;
56 /* fonts */
2526 --index-ref-color : lightcoral;
2627}
2728
29+ /* Dark theme */
30+ [data-theme = "dark" ] {
31+ /* TODO: style the rest */
32+ --background-color : # 151515 ;
33+ --text-color : # ddd ;
34+ --link-text-color : # ddd ;
35+ --border-color : white;
36+ --border-light-color : # d4d4d4 ;
37+ --note-mark-color : # daa002 ; /* color: #3f88c5; */
38+ --note-highlight-color : midnightblue;
39+ /* TODO: consider dedicated info, warning and fatal colors*/
40+ --error-text-color : # d84148 ;
41+ --index-ref-color : # cd5b45 ;
42+ /* keep images in "light theme", as transparent PNGs
43+ get generated by latexml with a light theme expectation. */
44+ --image-color : black;
45+ --image-background-color : white;
46+ }
47+ [data-theme = "dark" ] img , svg {
48+ filter : brightness (.8 ) contrast (1.2 );
49+ }
50+
2851/* Main content */
2952body {
3053 margin : 0 ;
You can’t perform that action at this time.
0 commit comments