colors prop.

The Colors Prop
The Three Roles
If you set only
accent, the controls stay yellow. Set controls too to recolor them.
How Colors Apply
- Each base color becomes the 500 step of a full 50 to 950 scale the editor builds.
- Save’s text turns dark or light to stay readable on the accent.
- Accepted values: hex,
rgb(),hsl()and CSS color names.
colors is the only way to theme the editor. Your page’s CSS, its variables included, never recolors it, so a scale and the text on it always match. Custom properties such as --ee-accent-500 set on your page, on a wrapper or on the editor’s host element have no effect.Invalid Colors
Any other value is anINVALID_PROPS error that names the role, for example colors.accent. See Errors.
To set the color new annotations start with, use annotationColor.
Your Logo
logo and logoText show your brand left of the toolbar. They work in every edition: Free, Lite and Full.
Editor.tsx
If the logo image fails to load, the name shows alone.