diff options
-rw-r--r-- | packages/svgbob/Cargo.toml | 2 | ||||
-rw-r--r-- | packages/svgbob/src/buffer/cell_buffer.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/svgbob/Cargo.toml b/packages/svgbob/Cargo.toml index 7eebfdb..0b91aa0 100644 --- a/packages/svgbob/Cargo.toml +++ b/packages/svgbob/Cargo.toml @@ -14,7 +14,7 @@ nalgebra = "0.32.1" parry2d = "0.13.5" once_cell = "1.18.0" #sauron = { version = "0.59.0", default-features = false} -sauron = { path = "../../../sauron", default-features = false} +sauron = { path = "../../../sauron", default-features = false, features = ["with-jss"]} unicode-width = "0.1.9" itertools = "0.11.0" pom = { version = "3.2.0" } diff --git a/packages/svgbob/src/buffer/cell_buffer.rs b/packages/svgbob/src/buffer/cell_buffer.rs index c949c51..e64a6d1 100644 --- a/packages/svgbob/src/buffer/cell_buffer.rs +++ b/packages/svgbob/src/buffer/cell_buffer.rs @@ -282,7 +282,7 @@ impl CellBuffer { // we put a .svgbob class in order to avoid clashing with other svg in the document // since the style element in this svg also affects the other svg element in the whole // document - let element_styles = sauron::jss_pretty! { + let element_styles = sauron::jss! { ".svgbob line, .svgbob path, .svgbob circle, .svgbob rect, .svgbob polygon": { stroke: stroke_color.clone(), stroke_width: stroke_width, |