Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CaiJimmy/hugo-theme-stack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimmy Cai <jimmehcai@gmail.com>2020-12-23 21:03:40 +0300
committerGitHub <noreply@github.com>2020-12-23 21:03:40 +0300
commit358e63e799d35e4338d6f1461ec61127f24675b2 (patch)
tree479e85324105979b979fb773670473bc5ebc64f7 /assets/icons/toggle-right.svg
parentdf74fe5f19ff0e59a4ca24bb7b33a78b15eff5f1 (diff)
feat(darkmode): dark mode toggle (#82)
* feat(darkmode): initial support for dark mode toggle * fix(darkmode): add svg icons * feat(darkmode): dispatch onColorSchemeChange event * add head/darkmode * feat(darkmode); add colorScheme config * style: remove empty line * refactor(darkmode): simplify code * style: add comment for darkmode config * i18n support for dark mode toggle * Some renaming
Diffstat (limited to 'assets/icons/toggle-right.svg')
-rw-r--r--assets/icons/toggle-right.svg7
1 files changed, 7 insertions, 0 deletions
diff --git a/assets/icons/toggle-right.svg b/assets/icons/toggle-right.svg
new file mode 100644
index 0000000..d3edd63
--- /dev/null
+++ b/assets/icons/toggle-right.svg
@@ -0,0 +1,7 @@
+<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-toggle-right" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
+ <path stroke="none" d="M0 0h24v24H0z"/>
+ <circle cx="16" cy="12" r="2" />
+ <rect x="2" y="6" width="20" height="12" rx="6" />
+</svg>
+
+