diff --git a/docfx.json b/docfx.json index b4d3de80..abb24822 100644 --- a/docfx.json +++ b/docfx.json @@ -46,6 +46,7 @@ { "files": [ "logo.svg", + "logo-dark.svg", "favicon.ico", "editor/index.html", "installation/index.html", diff --git a/logo-dark.svg b/logo-dark.svg new file mode 100644 index 00000000..10eeaab5 --- /dev/null +++ b/logo-dark.svg @@ -0,0 +1,137 @@ + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + diff --git a/logo.svg b/logo.svg index 079c2c63..3d058b58 100644 --- a/logo.svg +++ b/logo.svg @@ -73,7 +73,6 @@ - diff --git a/template/public/main.css b/template/public/main.css index 4dfbbd27..b9bd03a9 100644 --- a/template/public/main.css +++ b/template/public/main.css @@ -18,4 +18,12 @@ .donot > p::before { content: "❌ DO NOT "; +} + +[data-bs-theme=dark] #logo { + content:url("../logo-dark.svg"); +} + +[data-bs-theme=light] #logo { + content:url("../logo.svg"); } \ No newline at end of file