diff --git a/apps/www/.vitepress/theme/components/CustomizerCode.vue b/apps/www/.vitepress/theme/components/CustomizerCode.vue new file mode 100644 index 00000000..62ed8ecd --- /dev/null +++ b/apps/www/.vitepress/theme/components/CustomizerCode.vue @@ -0,0 +1,60 @@ + + + diff --git a/apps/www/.vitepress/theme/layout/ThemingLayout.vue b/apps/www/.vitepress/theme/layout/ThemingLayout.vue index e7172aaf..56398853 100644 --- a/apps/www/.vitepress/theme/layout/ThemingLayout.vue +++ b/apps/www/.vitepress/theme/layout/ThemingLayout.vue @@ -5,6 +5,7 @@ import { useData } from 'vitepress' import PageHeader from '../components/PageHeader.vue' import PageHeaderHeading from '../components/PageHeaderHeading.vue' import PageHeaderDescription from '../components/PageHeaderDescription.vue' +import CustomizerCode from '../components/CustomizerCode.vue' import { RADII, useConfigStore } from '@/stores/config' import { colors } from '@/lib/registry' import { Button } from '@/lib/registry/new-york/ui/button' @@ -231,6 +232,7 @@ watch(radius, (radius) => { Copy and paste the following code into your CSS file. +