Docs › Toolbar and look
Themes and contentStyle
Dark mode, colors, and matching your view page.
theme: 'auto' follows the OS. If your site has its own toggle, call editor.setTheme('dark').
Colors
The editor uses CSS variables; override them to match your site.
.e82 {
--e82-accent: #0f73e5;
--e82-radius: 6px;
--e82-font: 'Inter', sans-serif;
}Match your view page
createEditor('#editor', {
// goes inside the editing area (.e82-content): plain declarations, nested rules for inner elements
contentStyle: 'font-family: Georgia, serif; font-size: 17px; line-height: 1.7;',
});