Styling & themes
Feature origin: Tint
Tint follows the page’s color scheme. Set CSS custom properties on an individual editor or on a shared selector.
tint-editor {
--te-accent: #573cc0;
--te-accent-text: white;
--te-radius: 0.5rem;
}CSS custom properties
Use --te-accent, --te-accent-text, --te-border, --te-surface, --te-toolbar, --te-radius, --te-padding and --te-font.
Shadow parts
Style ::part(frame), ::part(toolbar), ::part(textarea) and ::part(dialog) directly.
See Custom theme for a complete snippet.