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 have searched the issues of this repository and believe that this is not a duplicate.
What problem does this feature solve?
The library provide multiple official theme css files, but no convinent way to switch between them during runtime. Switching between light and dark themes by user is a common need.
What does the proposed API look like?
const theme = useTheme()
theme.value = 'dark'
The text was updated successfully, but these errors were encountered:
Hello @zhibuba, we use GitHub issues to trace bugs or discuss plans of Ant Design Vue. So, please don't ask usage questions here. You can try to open a new discussion in antdv discussions, select Q&A to ask questions, also can ask questions on Stack Overflow or Segment Fault.
What problem does this feature solve?
The library provide multiple official theme css files, but no convinent way to switch between them during runtime. Switching between light and dark themes by user is a common need.
What does the proposed API look like?
const theme = useTheme()
theme.value = 'dark'
The text was updated successfully, but these errors were encountered: