diff --git a/apps/www/src/lib/registry/default/ui/calendar/Calendar.vue b/apps/www/src/lib/registry/default/ui/calendar/Calendar.vue index f3c11d83..c4dfa33b 100644 --- a/apps/www/src/lib/registry/default/ui/calendar/Calendar.vue +++ b/apps/www/src/lib/registry/default/ui/calendar/Calendar.vue @@ -125,16 +125,22 @@ const vCalendarSlots = computed(() => { @apply flex; } .calendar .vc-weekday { - @apply text-muted-foreground rounded-md w-9 font-normal text-[0.8rem]; + @apply text-muted-foreground rounded-md w-full font-normal text-[0.8rem]; +} +.calendar .vc-weekday-1 { + @apply pr-3; +} +.calendar .vc-weekday-7 { + @apply pl-3; } .calendar .vc-weeks { @apply w-full space-y-2 flex flex-col [&>_div]:grid [&>_div]:grid-cols-7; } .calendar .vc-day:has(.vc-highlights) { - @apply bg-accent first:rounded-l-md last:rounded-r-md overflow-hidden; + @apply first:rounded-l-md last:rounded-r-md; } -.calendar .vc-day.is-today:not(:has(.vc-day-layer)) { - @apply bg-secondary rounded-md; +.calendar .vc-day.is-today:not(:has(.vc-day-layer)) .vc-day-content { + @apply bg-secondary text-primary rounded-md; } .calendar .vc-day:has(.vc-highlight-base-start) { @apply rounded-l-md; diff --git a/apps/www/src/lib/registry/new-york/ui/calendar/Calendar.vue b/apps/www/src/lib/registry/new-york/ui/calendar/Calendar.vue index f5241ea2..33cc911b 100644 --- a/apps/www/src/lib/registry/new-york/ui/calendar/Calendar.vue +++ b/apps/www/src/lib/registry/new-york/ui/calendar/Calendar.vue @@ -124,16 +124,22 @@ const vCalendarSlots = computed(() => { @apply flex; } .calendar .vc-weekday { - @apply text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]; -} + @apply text-muted-foreground rounded-md w-full font-normal text-[0.8rem]; + } + .calendar .vc-weekday-1 { + @apply pr-3; + } + .calendar .vc-weekday-7 { + @apply pl-3; + } .calendar .vc-weeks { @apply w-full space-y-2 flex flex-col [&>_div]:grid [&>_div]:grid-cols-7; } .calendar .vc-day:has(.vc-highlights) { - @apply bg-accent first:rounded-l-md last:rounded-r-md overflow-hidden; + @apply first:rounded-l-md last:rounded-r-md; } -.calendar .vc-day.is-today:not(:has(.vc-day-layer)) { - @apply bg-secondary rounded-md; +.calendar .vc-day.is-today:not(:has(.vc-day-layer)) .vc-day-content { + @apply bg-secondary text-primary rounded-md; } .calendar .vc-day:has(.vc-highlight-base-start) { @apply rounded-l-md; diff --git a/apps/www/src/public/registry/styles/default/calendar.json b/apps/www/src/public/registry/styles/default/calendar.json index a538ad69..72fc5187 100644 --- a/apps/www/src/public/registry/styles/default/calendar.json +++ b/apps/www/src/public/registry/styles/default/calendar.json @@ -11,7 +11,7 @@ "files": [ { "name": "Calendar.vue", - "content": "\n\n\n\n\n" + "content": "\n\n\n\n\n" }, { "name": "index.ts", diff --git a/apps/www/src/public/registry/styles/new-york/calendar.json b/apps/www/src/public/registry/styles/new-york/calendar.json index 07a8dec2..d17ed279 100644 --- a/apps/www/src/public/registry/styles/new-york/calendar.json +++ b/apps/www/src/public/registry/styles/new-york/calendar.json @@ -11,7 +11,7 @@ "files": [ { "name": "Calendar.vue", - "content": "\n\n\n\n\n" + "content": "\n\n\n\n\n" }, { "name": "index.ts",