meteorlxy / vssue

:mailbox: A Vue-powered Issue-based Comment Plugin
https://vssue.js.org
MIT License
775 stars 105 forks source link

[Question] Change styles at run time #78

Closed changtimwu closed 4 years ago

changtimwu commented 4 years ago

Environment

N/A -- not a platform-specific question.

What's your question?

I did read the official doc about custom styles. However, these are all done at the source level. For a site supporting dynamic light/dark theme toggling, ex https://minimal-blog.lekoarts.de/, is there any way to make `vssue capable of changing styles at run-time?

meteorlxy commented 4 years ago

Custom styles for sure. You can toggle a class name like .vssue-theme-dark, and add some styles under this class.

69 may be an alternative solution. Contribution welcome!

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.