From 69e547ad95dac289771428485ab00277bb4606b7 Mon Sep 17 00:00:00 2001 From: Ahmed Date: Thu, 7 Sep 2023 18:27:57 +0100 Subject: [PATCH] feat: add themes --- .../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 @@ + + +