Skip to content

Ability to use className instead of CSS variables #402

@o-alexandrov

Description

@o-alexandrov

Summary

When a project uses PigmentCSS to style emails and web to reuse a single theme (for colors and typography), it currently faces two problems:

  1. Inability to run in a non-browser environment [core] Errors thrown in non-browser environment (unsafe when referenced) #8 Support runtime / "non bundler integration" mode? #59 when running ReactDOM.prerender (needs extra bundling)
  2. Emails don’t support CSS variables

This issue asks to introduce an option to generate class names, instead of CSS variables.

Search keywords: css variables vars emails

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions