Refactor ui

I think the stroke weight should be moved to CSS