Skip to content

Add 27 popular color themes from gogh-themes - #63

Merged
Tkaixiang merged 1 commit into
Tkaixiang:trunkfrom
mdsakalu:feature/gogh-themes
Jan 14, 2026
Merged

Tkaixiang merged 1 commit into
Tkaixiang:trunkfrom
mdsakalu:feature/gogh-themes

Conversation

@mdsakalu

@mdsakalu mdsakalu commented Jan 9, 2026 •

Copy link
Copy Markdown

Summary

This PR adds 27 popular color themes to MarkText, bringing the total from 6 to 33 built-in themes. The themes are sourced from the gogh-themes project and official theme repositories.

New Dark Themes (20)

Ayu Dark, Ayu Mirage, Catppuccin Mocha, Cyberdream, Dracula, Everforest Dark, Gruvbox Dark, Horizon Dark, Kanagawa, Monokai Pro, Nightfox, Nord, Oxocarbon Dark, Palenight, Rosé Pine, Rosé Pine Moon, Solarized Dark, Synthwave 84, Tokyo Night, Tokyo Night Storm

New Light Themes (7)

Ayu Light, Catppuccin Latte, Everforest Light, Gruvbox Light, Rosé Pine Dawn, Solarized Light, Tokyo Night Light

Screenshots

Dracula

Dracula Theme

Nord

Nord Theme

Catppuccin Latte (Light)

Catppuccin Latte Theme

Changes

Each theme includes:

  • Complete CSS variables for editor, sidebar, and UI elements
  • Prism.js syntax highlighting theme for code blocks
  • Menu integration (View → Theme submenu)
  • Preferences panel support with theme preview
  • Translations for all 9 supported languages (en, de, es, fr, ja, ko, pt, zh-CN, zh-TW)

Files Changed

  • src/renderer/src/assets/themes/*.theme.css - 27 new theme files
  • src/renderer/src/assets/themes/prismjs/*.theme.css - 27 new syntax highlighting themes
  • src/renderer/src/util/theme.js - Theme switching logic
  • src/renderer/src/util/themeColor.js - Theme color exports
  • src/renderer/src/config.js - Dark theme list for syntax highlighting
  • src/renderer/src/prefComponents/theme/ - Preferences panel integration
  • src/main/menu/templates/theme.js - Menu items
  • static/locales/*.json - Translations
  • docs/THEMES.md - Updated documentation
  • docs/themeImages/*.png - Theme screenshots

Testing

  • Tested theme switching in development mode
  • Verified all themes apply correctly to editor, sidebar, and UI
  • Confirmed syntax highlighting works for code blocks
  • Checked translations appear in preferences panel
  • Tested theme persistence across app restarts

Attribution

Theme colors are sourced from:

  • gogh-themes (MIT License)
  • Official theme repositories (Catppuccin, Rosé Pine, Tokyo Night, etc.)

License attribution has been added to docs/THEMES.md.


Happy to address any feedback or make adjustments!

Adds the following themes with full UI styling and Prism.js syntax highlighting:

Dark themes:
- Ayu Dark, Ayu Mirage, Catppuccin Mocha, Cyberdream, Dracula
- Everforest Dark, Gruvbox Dark, Horizon Dark, Kanagawa, Monokai Pro
- Nightfox, Nord, Oxocarbon Dark, Palenight, Rosé Pine, Rosé Pine Moon
- Solarized Dark, Synthwave 84, Tokyo Night, Tokyo Night Storm

Light themes:
- Ayu Light, Catppuccin Latte, Everforest Light, Gruvbox Light
- Rosé Pine Dawn, Solarized Light, Tokyo Night Light

Each theme includes:
- Complete CSS variables for editor, sidebar, and UI elements
- Prism.js syntax highlighting theme
- Menu integration and preferences panel support
- Translations for 9 languages

Theme colors sourced from gogh-themes (MIT License) and official theme repositories.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@Tkaixiang
Tkaixiang self-requested a review January 12, 2026 15:49
@Tkaixiang Tkaixiang self-assigned this Jan 12, 2026
@Tkaixiang Tkaixiang added the enhancement New feature or request label Jan 12, 2026

@Tkaixiang Tkaixiang left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, neat theme changes

@Tkaixiang
Tkaixiang merged commit d84e9af into Tkaixiang:trunk Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants