Fix: style 'new-york' + CSS exacto del manual shadcn-vue
- components.json: reka-nova → new-york - style.css: reescrito según manual (orden @theme inline después de :root/.dark) - color-destructive-foreground agregado a @theme inline - Colores chart correctos (no grayscale), sidebar-border sólido, destructive tonos - @layer base sin duplicados, font-sans vía CSS variable - 130 componentes reinstalados con new-york variants
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<script setup lang="ts">
|
||||
import type { HTMLAttributes } from 'vue'
|
||||
import { cn } from '@/lib/utils'
|
||||
import type { HTMLAttributes } from "vue"
|
||||
import { cn } from "@/lib/utils"
|
||||
|
||||
const props = defineProps<{
|
||||
class?: HTMLAttributes['class']
|
||||
class?: HTMLAttributes["class"]
|
||||
}>()
|
||||
</script>
|
||||
|
||||
@@ -11,7 +11,7 @@ const props = defineProps<{
|
||||
<div
|
||||
data-slot="sidebar-group"
|
||||
data-sidebar="group"
|
||||
:class="cn('p-2 relative flex w-full min-w-0 flex-col', props.class)"
|
||||
:class="cn('relative flex w-full min-w-0 flex-col p-2', props.class)"
|
||||
>
|
||||
<slot />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user