chore(docs): add styling customization guide for email editor#3099
Open
joaopcm wants to merge 1 commit intojoaopcm/editor-docs-canaryfrom
Open
chore(docs): add styling customization guide for email editor#3099joaopcm wants to merge 1 commit intojoaopcm/editor-docs-canaryfrom
joaopcm wants to merge 1 commit intojoaopcm/editor-docs-canaryfrom
Conversation
Adds a comprehensive guide covering CSS variables (--re-* properties), data attribute selectors (data-re-*) for all UI components, editor content classes (.tiptap), and practical examples for custom branding. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new Styling page to the editor docs covering how to customize the editor's appearance with CSS.
Stacked on top of #3098.
What's covered
--re-*custom properties (colors, dimensions) with light/dark defaultsprefers-color-schemeand class-based (.dark) approachesdata-re-*attribute across all UI components:[data-re-bubble-menu], items, groups, separator)[data-re-node-selector], trigger, content, items)[data-re-link-selector], form, input, apply, unlink)[data-re-link-bm])[data-re-btn-bm])[data-re-img-bm])[data-re-slash-command], items, categories, empty state).tiptapselectors for typography, layout (.node-columns,.node-section), buttons (.node-button), links (.node-link), alignment attributes, and column data typesAlso adds a "Styling" card to the overview page.
Test plan
🤖 Generated with Claude Code
Summary by cubic
Adds a new Styling guide to the editor docs for customizing the editor with CSS variables, data attributes, and content classes. Also adds a “Styling” card to the editor overview.
--re-*variables with light/dark defaults, plusprefers-color-schemeand.darksupport.data-re-*selector map for bubble menus, node/link selectors, slash command, and image/button menus..tiptapselectors for typography, layout, alignment, and column types.Written for commit 681056f. Summary will update on new commits.