Skip to content

Commit

Permalink
Dark mode: drop bottom-right theme selector for Download page and For…
Browse files Browse the repository at this point in the history
…m examples
  • Loading branch information
julien-deramond committed Dec 27, 2023
1 parent 9f2b51c commit 106d869
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions site/content/docs/5.3/examples/download-app/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
layout: examples
title: Download app
theme_selector: false
extra_css:
- "download-app.css"
extra_js:
Expand Down
1 change: 1 addition & 0 deletions site/content/docs/5.3/examples/form/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
layout: examples
title: Form example
theme_selector: false
extra_js:
- src: "form.js"
aliases:
Expand Down
2 changes: 2 additions & 0 deletions site/layouts/_default/examples.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
{{- end }}
</head>
<body{{ with .Page.Params.body_class }} class="{{ . }}"{{ end }}>
{{ if ne .Page.Params.theme_selector false }}
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
<symbol id="check2" viewBox="0 0 1000 1000">
<path d="M729.667 250 396.333 583.333l-125-125L188 541.667l125 125L396.333 750l83.334-83.333L813 333.333z"/>
Expand Down Expand Up @@ -144,6 +145,7 @@
</li>
</ul>
</div>
{{- end -}}

{{ .Content }}

Expand Down

0 comments on commit 106d869

Please sign in to comment.