We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
dark
而且在初始化只有再修改 theme,就文字颜色也没有变化。
export default function ReactCusdisWrapper({ articleId, title }: Props) { const { themeName, isDarkMode } = useTheme(); return ( <> <div id="react-cusdis-wrapper"> <ReactCusdis attrs={{ host: "https://......", appId: "......", pageId: "/.../" + ..., pageTitle: title, pageUrl: "https://.../" + ..., theme: themeName, }} /> </div> </> ); }
The text was updated successfully, but these errors were encountered:
You can use official api to change it manually like this
window.CUSDIS.setTheme('dark')
Sorry, something went wrong.
No branches or pull requests
而且在初始化只有再修改 theme,就文字颜色也没有变化。
The text was updated successfully, but these errors were encountered: