Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to styling change year and month buttons ? #2910

Closed
GitM4n opened this issue Dec 15, 2024 · 2 comments · Fixed by #3672
Closed

How to styling change year and month buttons ? #2910

GitM4n opened this issue Dec 15, 2024 · 2 comments · Fixed by #3672
Assignees
Labels
question Further information is requested v3 #1289

Comments

@GitM4n
Copy link

GitM4n commented Dec 15, 2024

For what version of Nuxt UI are you asking this question?

v3.0.0-alpha.x

Description

Image

@GitM4n GitM4n added the question Further information is requested label Dec 15, 2024
@benjamincanac benjamincanac added the v3 #1289 label Dec 16, 2024 — with Volta.net
@HugoRCD
Copy link
Member

HugoRCD commented Dec 20, 2024

@GitM4n If you're talking about the previous and next buttons, they're not stylable at the moment, as they're UButtons, but no slots or :ui props are present for them

<Calendar.Prev v-if="props.yearControls" :prev-page="(date: DateValue) => paginateYear(date, -1)" :aria-label="t('calendar.prevYear')" as-child>
     <UButton :icon="prevYearIcon" :size="props.size" color="neutral" variant="ghost" />
</Calendar.Prev>
<Calendar.Prev v-if="props.monthControls" :aria-label="t('calendar.prevMonth')" as-child>
    <UButton :icon="prevMonthIcon" :size="props.size" color="neutral" variant="ghost" />
</Calendar.Prev>

@DamianGlowala
Copy link
Member

@benjamincanac IMO all elements should be stylable for full flexibility - can we include these prev/next year/month buttons, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested v3 #1289
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants