Components / ThemeEditor

ThemeEditor

Changes the tokens of the theme on screen, with live contrast and JSON to copy and paste..

Example

The component itself, running in WebAssembly, beside its code in a playground. Try it.

Code

use ravenrs::prelude::*;

fn theme_editor() -> impl View {
    ThemeEditor::new()
}

Open in the playground, with every example →

Full API of ThemeEditor →