Skip to content

feat: port cerberus, neopolitan and salted themes from mailgen - #107

Open
valdemaras-pipiras wants to merge 1 commit into
matcornic:masterfrom
valdemaras-pipiras:feat/mailgen-themes
Open

feat: port cerberus, neopolitan and salted themes from mailgen#107
valdemaras-pipiras wants to merge 1 commit into
matcornic:masterfrom
valdemaras-pipiras:feat/mailgen-themes

Conversation

@valdemaras-pipiras

Copy link
Copy Markdown

Re-implement the visual design (palette, layout, fonts, button styling) of mailgen's cerberus, neopolitan and salted themes on top of Hermes' own Go-template content logic, so each supports the full Hermes feature set (greeting/name/title, dictionary, table, action buttons + invite codes, free markdown, trouble text, RTL).

  • Add Cerberus, Neopolitan and Salted themes, registered in the shared test suite (testedThemes) and the examples generator.
  • Extract the theme-agnostic plain text template into a shared plainTextTemplate constant reused by the ported themes.
  • Exclude the new template-heavy files from the lll linter, matching the existing default.go/flat.go handling.
  • Document the new themes in README.md and CLAUDE.md.

Re-implement the visual design (palette, layout, fonts, button styling)
of mailgen's cerberus, neopolitan and salted themes on top of Hermes'
own Go-template content logic, so each supports the full Hermes feature
set (greeting/name/title, dictionary, table, action buttons + invite
codes, free markdown, trouble text, RTL).

- Add Cerberus, Neopolitan and Salted themes, registered in the shared
  test suite (testedThemes) and the examples generator.
- Extract the theme-agnostic plain text template into a shared
  plainTextTemplate constant reused by the ported themes.
- Exclude the new template-heavy files from the lll linter, matching the
  existing default.go/flat.go handling.
- Document the new themes in README.md and CLAUDE.md.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant