adapt to dark theme : layout, grid