hobo_css/properties/
svg.rs

1crate::macros::easy_enum! {vector-effect none non-scaling-stroke non-scaling-size non-rotation fixed-position}
2crate::macros::easy_enum! {dominant-baseline auto text-bottom alphabetic ideographic middle central mathematical hanging text-top}
3crate::macros::easy_enum! {alignment-baseline auto baseline before-edge text-before-edge middle central after-edge text-after-edge ideographic alphabetic hanging mathematical top center bottom}
4crate::macros::easy_enum! {text-anchor start middle end}
5crate::macros::easy_enum! {stroke-linecap butt round square}
6crate::macros::easy_color! {fill}
7crate::macros::easy_color! {stroke}
8crate::macros::unit_value_macro! {stroke_width StrokeWidth}
9
10#[test]
11fn svg_test() {
12	assert_eq!(vector_effect!(non-scaling-stroke), crate::Property::VectorEffect(crate::VectorEffect::NonScalingStroke));
13}