From 524688bc99cc703574a8fc91f7c72b4c01e999a9 Mon Sep 17 00:00:00 2001 From: Evan You Date: Thu, 16 Sep 2021 14:23:09 -0400 Subject: [PATCH] chore(sfc-playground): add dark mode toggle --- packages/sfc-playground/index.html | 6 +- packages/sfc-playground/src/Header.vue | 82 +++++++++---------- .../sfc-playground/src/icons/Download.vue | 29 +++++++ packages/sfc-playground/src/icons/Moon.vue | 5 ++ packages/sfc-playground/src/icons/Share.vue | 17 ++++ packages/sfc-playground/src/icons/Sun.vue | 13 +++ 6 files changed, 108 insertions(+), 44 deletions(-) create mode 100644 packages/sfc-playground/src/icons/Download.vue create mode 100644 packages/sfc-playground/src/icons/Moon.vue create mode 100644 packages/sfc-playground/src/icons/Share.vue create mode 100644 packages/sfc-playground/src/icons/Sun.vue diff --git a/packages/sfc-playground/index.html b/packages/sfc-playground/index.html index 5966004b..77e3d363 100644 --- a/packages/sfc-playground/index.html +++ b/packages/sfc-playground/index.html @@ -9,7 +9,11 @@ diff --git a/packages/sfc-playground/src/Header.vue b/packages/sfc-playground/src/Header.vue index 912f3437..88ebe28d 100644 --- a/packages/sfc-playground/src/Header.vue +++ b/packages/sfc-playground/src/Header.vue @@ -1,6 +1,10 @@