From cdfbd51190b3c42b9052db291e967fe8ca7ccdd0 Mon Sep 17 00:00:00 2001 From: yali <121391005+yusufalitangoz@users.noreply.github.com> Date: Thu, 27 Jun 2024 08:21:07 +0300 Subject: [PATCH] fix: remove bg-white in separator in dark mode (#634) --- apps/www/src/lib/registry/default/ui/separator/Separator.vue | 2 +- apps/www/src/lib/registry/new-york/ui/separator/Separator.vue | 2 +- apps/www/src/public/registry/styles/default/separator.json | 2 +- apps/www/src/public/registry/styles/new-york/separator.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/www/src/lib/registry/default/ui/separator/Separator.vue b/apps/www/src/lib/registry/default/ui/separator/Separator.vue index e1c158e3..2316db75 100644 --- a/apps/www/src/lib/registry/default/ui/separator/Separator.vue +++ b/apps/www/src/lib/registry/default/ui/separator/Separator.vue @@ -27,7 +27,7 @@ const delegatedProps = computed(() => { > {{ props.label }} diff --git a/apps/www/src/lib/registry/new-york/ui/separator/Separator.vue b/apps/www/src/lib/registry/new-york/ui/separator/Separator.vue index 14af7bd2..066618ab 100644 --- a/apps/www/src/lib/registry/new-york/ui/separator/Separator.vue +++ b/apps/www/src/lib/registry/new-york/ui/separator/Separator.vue @@ -29,7 +29,7 @@ const delegatedProps = computed(() => { v-if="props.label" :class=" cn( - 'text-xs text-muted-foreground bg-background absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 bg-white flex justify-center items-center', + 'text-xs text-muted-foreground bg-background absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 flex justify-center items-center', props.orientation === 'vertical' ? 'w-[1px] px-1 py-2' : 'h-[1px] py-1 px-2', ) " diff --git a/apps/www/src/public/registry/styles/default/separator.json b/apps/www/src/public/registry/styles/default/separator.json index d7e4127b..c4c8f6e7 100644 --- a/apps/www/src/public/registry/styles/default/separator.json +++ b/apps/www/src/public/registry/styles/default/separator.json @@ -7,7 +7,7 @@ "files": [ { "name": "Separator.vue", - "content": "\n\n\n" + "content": "\n\n\n" }, { "name": "index.ts", diff --git a/apps/www/src/public/registry/styles/new-york/separator.json b/apps/www/src/public/registry/styles/new-york/separator.json index e1a14adc..ae3a482a 100644 --- a/apps/www/src/public/registry/styles/new-york/separator.json +++ b/apps/www/src/public/registry/styles/new-york/separator.json @@ -7,7 +7,7 @@ "files": [ { "name": "Separator.vue", - "content": "\n\n\n" + "content": "\n\n\n" }, { "name": "index.ts",