feat(ipc): support for injecting additional stylesheets

This commit is contained in:
Jake Stanger
2023-06-24 11:19:57 +01:00
parent ded50cca6f
commit c6319b78fd
3 changed files with 23 additions and 2 deletions

View File

@@ -27,4 +27,11 @@ pub enum Command {
/// Variable key.
key: Box<str>,
},
/// Load an additional CSS stylesheet.
/// The sheet is automatically hot-reloaded.
LoadCss {
/// The path to the sheet.
path: PathBuf,
},
}