Skip to content

Commit 6ce6420

Browse files
default to other mode of logo
1 parent 833ed71 commit 6ce6420

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
title: No dark logo if no dark mode
3+
format:
4+
dashboard: default
5+
brand:
6+
logo:
7+
images:
8+
light-logo:
9+
path: light-logo.png
10+
alt: light logo
11+
dark-logo:
12+
path: dark-logo.png
13+
alt: dark logo
14+
small:
15+
light: light-logo
16+
logo:
17+
light: legacy-logo.svg
18+
_quarto:
19+
tests:
20+
dashboard:
21+
ensureHtmlElements:
22+
-
23+
- 'img[src="legacy-logo.svg"][alt=""][class="navbar-logo light-content d-inline-block"]'
24+
-
25+
- 'img[class*="dark-content"]'
26+
---
27+
28+
{{< lipsum 4 >}}

0 commit comments

Comments
 (0)