EvanNotFound / hexo-theme-redefine

Simplicity in Speed, Purity in Design. Redefine Your Hexo Journey.
https://redefine.ohevan.com
GNU General Public License v3.0
1.41k stars 116 forks source link

[Feature Request]: Providing an Interface to Change the Theme of Code Segment Syntax Coloring #380

Closed 1chooo closed 3 weeks ago

1chooo commented 3 months ago

Describe Your Idea

As the title suggests, we would like to offer different themes to change the syntax colors of code segments. This way, everyone can customize their settings according to their preferences. If needed, I can also help figure out how to add this feature. However, I may first need to understand how the current syntax coloring is set up. Thank you.

Visual Aids

The current syntax:

Screenshot 2024-06-17 at 1 24 25 AM

expected:

Maybe we can support the GitHub Theme

Screenshot 2024-06-17 at 1 25 20 AM

Anything Else?

No response

EvanNotFound commented 3 weeks ago

新版本已添加自定义 Highlightjs 代码高亮选项,已支持以下几个主题

Light: github, atom-one-light, default Dark: github-dark, monokai-sublime, vs2015, night-owl, atom-one-dark, nord, tokyo-night-dark, a11y-dark, agate

请等待新版本发布

EvanNotFound commented 3 weeks ago

主题 v2.7.0 已发布,请前往更新 https://github.com/EvanNotFound/hexo-theme-redefine/releases