Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use inline SVGs and refresh CSS #8884

Closed
wants to merge 2 commits into from
Closed

Use inline SVGs and refresh CSS #8884

wants to merge 2 commits into from

Commits on Oct 21, 2019

  1. Configuration menu
    Copy the full SHA
    b910971 View commit details
    Browse the repository at this point in the history
  2. Use SVG in the DOM instead of as background image

    We now insert SVG nodes directly into the DOM for displaying all icons and buttons instead of using data URLs in the CSS file. This enables us to restyle them more easily, e.g. for dark mode or high-contrast mode. Also reduces the size of some of the SVG icons significantly and changes the Mapbox logo to a version that is aligned better to the pixel grid on low-res devices.
    kkaefer committed Oct 21, 2019
    Configuration menu
    Copy the full SHA
    4e412ac View commit details
    Browse the repository at this point in the history