about summary refs log tree commit diff stats
path: root/svg/attributes.go
diff options
context:
space:
mode:
Diffstat (limited to 'svg/attributes.go')
-rw-r--r--svg/attributes.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/svg/attributes.go b/svg/attributes.go
index 10b7c69..52c9c61 100644
--- a/svg/attributes.go
+++ b/svg/attributes.go
@@ -24,6 +24,10 @@ func Stroke(v string) g.Node {
 	return g.Attr("stroke", v)
 }
 
+func StrokeWidth(v string) g.Node {
+	return g.Attr("stroke-width", v)
+}
+
 func ViewBox(v string) g.Node {
 	return g.Attr("viewBox", v)
 }