Minimize themes
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 3k
- Forks
- 249
- PR merge metrics
- No merged PRs in 30d
Description
Hi!
Would you consider minimizing the html/css themes?
For example we could:
- use https://github.com/tdewolff/minify when creating hermes.Hermes
- Create hermes.Hermes in a dedicated function like
```go
config := hermes.Config{
// Optional Theme
// Theme: new(Default)
Product: hermes.Product{
// Appears in header & footer of e-mails
Name: "Hermes",
Link: "https://example-hermes.com/",
// Optional product logo
Logo: "http://www.duchess-france.org/wp-content/uploads/2016/01/gopher.png",
},
}
h := hermes.New(config)
...
```
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the hermes.Hermes creation path and the hermes.New(config) entry point, then inspect how the optional themes are rendered. Review whether the proposed tdewolff/minify integration fits there; done means generated HTML and CSS themes are minimized without changing the email output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100