Skip to content

Commit 5dae945

Browse files
committed
Add initial dark mode css classes
1 parent 8102d3c commit 5dae945

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

src/ui/css/diff2html.css

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,3 +381,31 @@
381381
.d2h-moved-tag {
382382
border: #3572b0 1px solid;
383383
}
384+
385+
.dark.d2h-files-diff .d2h-code-side-linenumber,
386+
.dark.d2h-files-diff .d2h-info,
387+
.dark.d2h-files-diff .d2h-emptyplaceholder,
388+
.dark.d2h-files-diff .d2h-code-side-emptyplaceholder {
389+
background-color: #272822;
390+
color: #d0d0d0;
391+
}
392+
393+
.dark.d2h-files-diff span {
394+
color: #d0d0d0;
395+
}
396+
397+
.dark.d2h-files-diff .d2h-del {
398+
background-color: #7d4e50;
399+
}
400+
401+
.dark.d2h-files-diff del {
402+
background-color: #a07c7e;
403+
}
404+
405+
.dark.d2h-files-diff .d2h-ins {
406+
background-color: #748a74;
407+
}
408+
409+
.dark.d2h-files-diff ins {
410+
background-color: #177016;
411+
}

0 commit comments

Comments
 (0)