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
{{ message }}
Repository navigation
Support customize theme(css styles) in Mark Text #174
Basic override custom.css loaded from the same location as preference.md (getPath('userData')) would be probably easy to implement and enough for most use cases.
changed the title [-]Support customize theme(css styles) in Mark Text (post version 1.0.0)[/-][+]Support customize theme(css styles) in Mark Text [/+]on Sep 29, 2019
Can someone clarify the status of custom themes? For example, when is it expected that a user will be able to customize paragraph spacing, etc.
I see confusing bits of information, and I can't get a handle on where it's at. Not criticizing, mind you. Just asking for someone to make it a little less muddy for me. :-)
It sounds like maybe this will be possible when an plug-ins become a thing. Yet, I see the following in marktext/docs/THEMES.md:
MarkText currently doesn't support user-defined application themes. This feature is planned for v0.17.0.
As of this writing, the current release is 0.17.1.
Reacted by Carl Chang, Clément Barbaza, activivan, dolt131943, Husam Alshehadat and Simon Dingley
Thank you for the original request! Both features asked for here have been implemented in current versions of MarkText:
Built-in themes: Preferences → Theme now offers 35 selectable themes (Dracula, Nord, Tokyo Night, Catppuccin Mocha/Latte, Solarized, Gruvbox, One Dark, Rose Pine, and many more), with automatic light/dark mode switching.
Custom CSS: The same Preferences → Theme panel has a "Custom CSS" textarea where you can paste any CSS rules; they are injected live into the editor without requiring a restart or a source build.
Closing this as implemented. If you need something beyond what these two mechanisms provide, please open a new issue with a specific description.
Activity
Jocs commentedon Apr 17, 2018
目前自定义风格需要自己修改 assets 中theme 文件夹内的样式代码,在1.0 版本以后,考虑支持自定义主题。
[-]可以添加一个自定义CSS风格的选项吗?[/-][+]Support customize theme(css styles) in Mark Text (post version 1.0.0)[/+]shvchk commentedon Mar 1, 2019
Basic override
custom.cssloaded from the same location aspreference.md(getPath('userData')) would be probably easy to implement and enough for most use cases.Jocs commentedon Mar 1, 2019
@shvchk Yes, you can rewrite (override) the css file (or .vue file) in project to custom style, and build Mark Text by yourself.
[-]Support customize theme(css styles) in Mark Text (post version 1.0.0)[/-][+]Support customize theme(css styles) in Mark Text [/+]ejm554 commentedon May 8, 2022
Can someone clarify the status of custom themes? For example, when is it expected that a user will be able to customize paragraph spacing, etc.
I see confusing bits of information, and I can't get a handle on where it's at. Not criticizing, mind you. Just asking for someone to make it a little less muddy for me. :-)
It sounds like maybe this will be possible when an plug-ins become a thing. Yet, I see the following in marktext/docs/THEMES.md:
As of this writing, the current release is 0.17.1.
hunyun commentedon Jul 18, 2022
How to make a custom theme ???
viocha commentedon Jul 25, 2022
+1
DYH-Hong commentedon Aug 13, 2024
A fork with actual maintenance has been created with this issue fixed.
If you can, please subscribe it and help test this feature there.
Jocs commentedon Jun 26, 2026
Thank you for the original request! Both features asked for here have been implemented in current versions of MarkText:
Built-in themes: Preferences → Theme now offers 35 selectable themes (Dracula, Nord, Tokyo Night, Catppuccin Mocha/Latte, Solarized, Gruvbox, One Dark, Rose Pine, and many more), with automatic light/dark mode switching.
Custom CSS: The same Preferences → Theme panel has a "Custom CSS" textarea where you can paste any CSS rules; they are injected live into the editor without requiring a restart or a source build.
Closing this as implemented. If you need something beyond what these two mechanisms provide, please open a new issue with a specific description.
feat(theme): import custom editor themes from a folder