增加导出Swatch Scheme默认设置的功能。

This commit is contained in:
徐涛
2025-02-07 14:44:24 +08:00
parent 8b0e9699c7
commit d98e3a69d9
5 changed files with 272 additions and 248 deletions

View File

@@ -137,3 +137,8 @@ impl SchemeExport for SwatchScheme {
object.join("\n")
}
}
#[wasm_bindgen]
pub fn swatch_scheme_default_settings() -> SwatchSchemeSetting {
SwatchSchemeSetting::default()
}