nit: fix indentation.

Also this can be written as:

    let (style_select, color_select) = match direction {
        Top => (style.top, color.top),
        Left => (style.left, color.left),
        ...
    };

(i.e. without the `{}`)