Optional accentAccent color used for the primary CTA, active tool tile, and focus
ring. Maps to --rp-ie-accent. Falls back to
toolbarActiveBackground when unset for back-compat.
Optional accentContrast color painted on top of accent. Maps to --rp-ie-accent-contrast.
Optional applyOptional applyOptional applyOptional applyOptional borderHairline border color. Maps to --rp-ie-border.
Optional buttonOptional cancelOptional cancelOptional cancelOptional cancelOptional editorOptional footerOptional headerOptional headerSize in CSS pixels of the header badge square (the container
around the logo/icon). Defaults to 40. Ignored when the badge
is hidden via showHeaderBadge: false.
Optional headerOptional image URL (or data URI) rendered inside the header badge,
to the left of headerTitle. Use this to show your product/brand
logo. Any square image works best; it is rendered at ~24×24 CSS px
inside the badge with object-fit: contain, so a 16×16, 24×24 or
larger source image will all look correct.
When unset, the built-in editor icon is used.
Optional headerSize in CSS pixels of the logo / built-in icon rendered inside
the header badge. Defaults to 24 (custom logo image) or 22
(built-in icon). When set, both variants use this value.
Optional headerOptional subtitle text rendered under headerTitle.
Defaults to 'Edit your image with ease'. Pass an empty string
('') to hide the subtitle row entirely.
Optional headerOptional headerOptional modalOptional modalHeight of the modal frame. Any valid CSS length is accepted
(e.g. '720px', '85vh', 'min(92vh, 900px)'). Defaults to
'min(92vh, 820px)'. Only applies when the editor is launched
via openEditorModal.
Optional modalMaximum width of the modal frame. Any valid CSS length is
accepted (e.g. '1400px', '80vw', 'min(90vw, 1400px)').
Defaults to '1200px'. Only applies when the editor is
launched via openEditorModal.
Optional showWhether to show the square badge (logo/icon) to the left of the
header title. Defaults to true. Set to false to hide the
badge and reclaim horizontal space in the top bar.
Optional surface0App-level background (behind panels). Maps to --rp-ie-surface-0.
Optional surface1Panel background. Maps to --rp-ie-surface-1.
Optional surface2Elevated / active surface. Maps to --rp-ie-surface-2.
Optional textMuted / secondary text color. Maps to --rp-ie-text-muted.
Optional textPrimary text color. Maps to --rp-ie-text.
Optional toolbarBackground color of the selected/active toolbar button.
Defaults to #1976d2. Choose a color with strong contrast against
toolbarBackground so users can clearly see the current selection.
Optional toolbarUse toolbarActiveBackground instead. Retained for
backward compatibility — when set, it is used as the active
button background if toolbarActiveBackground is not provided.
Optional toolbarIcon/text color used inside the active toolbar button.
Defaults to #ffffff. If left unset while toolbarActiveBackground
is customized, a readable foreground is auto-derived from the
background luminance.
Optional toolbarOptional toolbarOptional variantOverall variant. When 'light', the shell swaps to the light palette.
Theme customization for the editor modal