From 0a05459492eee297936856c419214936f44d34c4 Mon Sep 17 00:00:00 2001 From: Ahmed Mayara <99325011+ahmedmayara@users.noreply.github.com> Date: Fri, 8 Sep 2023 05:11:59 +0100 Subject: [PATCH] feat: add themes (#32) --- .../theme/components/theming/Theming.vue | 688 ++++++++ .../theme/components/theming/utils/charts.ts | 174 ++ .../theme/components/theming/utils/data.ts | 107 ++ apps/www/.vitepress/theme/index.ts | 1 + .../.vitepress/theme/layout/ThemingLayout.vue | 262 +++ apps/www/.vitepress/theme/styles/themes.css | 767 +++++++++ apps/www/package.json | 1 + apps/www/src/content/themes.md | 9 + apps/www/src/public/registry/themes.css | 1511 ++++++++--------- apps/www/src/stores/config.ts | 32 + pnpm-lock.yaml | 69 +- 11 files changed, 2829 insertions(+), 792 deletions(-) create mode 100644 apps/www/.vitepress/theme/components/theming/Theming.vue create mode 100644 apps/www/.vitepress/theme/components/theming/utils/charts.ts create mode 100644 apps/www/.vitepress/theme/components/theming/utils/data.ts create mode 100644 apps/www/.vitepress/theme/layout/ThemingLayout.vue create mode 100644 apps/www/.vitepress/theme/styles/themes.css create mode 100644 apps/www/src/stores/config.ts diff --git a/apps/www/.vitepress/theme/components/theming/Theming.vue b/apps/www/.vitepress/theme/components/theming/Theming.vue new file mode 100644 index 00000000..304b799c --- /dev/null +++ b/apps/www/.vitepress/theme/components/theming/Theming.vue @@ -0,0 +1,688 @@ + + +