You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to change the color of the badge in the DashboardSidebarLinks to be red.
in the config page the ui config for the badge is there with the color key, but when i try to use set the color as red, typescript says Type '"red"' is not assignable to type '"gray"'.
In the component file, color values (and other values) are marked as const; is this intentional?
If so why the config in the docs?
Happy to provide a pr removing the as const if it's just an error.
Thanks
Additional context
No response
Logs
The text was updated successfully, but these errors were encountered:
Environment
Version
v2.19.2 - pro v1.5
Reproduction
https://stackblitz.com/edit/nuxt-ui-qvnuqy?file=app.vue
Description
I'd like to change the color of the badge in the
DashboardSidebarLinks
to bered
.in the config page the ui config for the badge is there with the color key, but when i try to use set the color as red, typescript says
Type '"red"' is not assignable to type '"gray"'
.In the component file, color values (and other values) are marked as const; is this intentional?
If so why the config in the docs?
Happy to provide a pr removing the
as const
if it's just an error.Thanks
Additional context
No response
Logs
The text was updated successfully, but these errors were encountered: