Reads the editor state, failing clearly when a part is rendered outside ThemeEditor.Root. Parts of the caller's own
use it to read the theme (rules, css, tokens, themeName) and change it (setProperty, addRule, loadTheme
and the rest), through the same validation the built-in parts use.
Reads the editor state, failing clearly when a part is rendered outside
ThemeEditor.Root. Parts of the caller's own use it to read the theme (rules,css,tokens,themeName) and change it (setProperty,addRule,loadThemeand the rest), through the same validation the built-in parts use.