+
Skip to content

Conversation

NriotHrreion
Copy link

@NriotHrreion NriotHrreion commented Jun 16, 2025

Before submitting a pull request, please make sure the following is done:

  1. Fork the repository and create your branch from master.
  2. If you've added code that should be tested, add tests!
  3. If you've changed APIs, update the documentation.
  4. Ensure the test suite passes (npm test).
  5. Make sure your code lints (npm run lint).
  6. Commit your changes (git commit) Commit Message Format Reference.

Close #420
Close #503
Close #511
Close #567

This PR added dark theme styles, and allows users to enable dark theme by setting the theme parameter.

const gitalk = new Gitalk({
  // ...
  // options
}, 'dark')
<GitalkComponent options={{
  // ...
  // options
}} theme="dark"/>

@NriotHrreion
Copy link
Author

Pinging for a review @booxood

Users can easily apply dark theme by just setting the theme parameter. This way, users don't need to re-implement dark styles again and again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载