adding a preview that shows line width and color in svg