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
What version of TypeScript are you using (if any)?
No response
What browser are you using?
Chrome
Describe the Bug
I want to switch the theme from Light to Dark and modify the primary color. However, I am encountering an issue where only the primary color changes, and the overall theme switch is not working. I am using React with Vite and Less. custom-theme.less: @enable-dark-mode: true; @primary-color: #7d1e28;
What version of rsuite are you using?
5.46.1
What version of React are you using?
18.2
What version of TypeScript are you using (if any)?
No response
What browser are you using?
Chrome
Describe the Bug
I want to switch the theme from Light to Dark and modify the primary color. However, I am encountering an issue where only the primary color changes, and the overall theme switch is not working. I am using React with Vite and Less.
custom-theme.less:
@enable-dark-mode: true; @primary-color: #7d1e28;
main.less
@import 'rsuite/styles/index.less'; @import 'custom-theme.less';
Expected Behavior
No response
To Reproduce
React, Vite & Less:
follow this tutorial: https://rsuitejs.com/guide/official-themes/
The text was updated successfully, but these errors were encountered: