Skip to content

Commit 2822eba

Browse files
one more test for brand logo shortcode with unified brand
just for completeness
1 parent eec03d4 commit 2822eba

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
title: Test brand light/dark shortcodes
3+
format: html
4+
brand:
5+
logo:
6+
small:
7+
light: sun.png
8+
dark: moon.png
9+
color:
10+
background:
11+
light: '#fff'
12+
dark: '#000'
13+
_quarto:
14+
tests:
15+
html:
16+
ensureHtmlElements:
17+
-
18+
- 'img[src="sun.png"][class*="light-content"]'
19+
- 'img[src="moon.png"][class*="dark-content"]'
20+
- []
21+
---
22+
23+
24+
{{< brand logo small >}}
25+

0 commit comments

Comments
 (0)