Skip to content

Commit 24d587b

Browse files
committed
support gh-light-mode-only/gh-dark-mode-only tags in doxygen
1 parent 2036441 commit 24d587b

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

docs/Manual/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
<div align="center">
44

5-
<img width="400px" src="nuke.cola.full.onDark.svg" />
5+
<img width="400px" src="nuke.cola.full.onLight.svg#gh-light-mode-only" />
6+
<img width="400px" src="nuke.cola.full.onDark.svg#gh-dark-mode-only" />
67

78
Utilities and extensions useful for any [Nuke](https://nuke.build) builds originally separated from Nuke.Unreal.
89

docs/custom.css

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
11
#projectalign {
22
display: none;
3-
}
3+
}
4+
5+
html.dark-mode img[src*="gh-light-mode-only"]
6+
{
7+
display: none !important;
8+
}
9+
10+
html.light-mode img[src*="gh-dark-mode-only"]
11+
{
12+
display: none !important;
13+
}

0 commit comments

Comments
 (0)