Refactor ui

The weight of the stroke needs to be moved to CSS because we need thicker lines on higher dpi devices