ParkingReformNetwork / parking-lot-map

Interactive map showing how much of downtowns are dominated by parking
https://parkingreform.org/parking-lot-map/
MIT License
1 stars 5 forks source link

Use `calc()` in Sass #201

Closed Eric-Arellano closed 2 months ago

Eric-Arellano commented 2 months ago

One issue with our styling is that it's pretty haphazard. It's never clear why certain values are chosen, and we often repeat values too.

By using calc(), we can make the code more self-documenting and flexible. When you change a variable, it should correctly update all the other styling code automatically.

--

This also recalibrates the icon sizes & removes the icon mixin, which didn't end up working well with the project.

--

This PR should have no impact on the end user. It is only a refactor.