[openstreetmap/openstreetmap-website] Use named arguments for button-variant mixins (PR #3668)

Andy Allan notifications at github.com
Wed Aug 31 13:44:06 UTC 2022


This is much clearer than relying on positional arguments, and is also required for future upgrades to bootstrap.

This PR is extracted from #3660 since it can be reviewed in isolation, and the 5.2 upgrade is a lot more complex than expected!
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/3668

-- Commit Summary --

  * Use named arguments for button-variant mixins

-- File Changes --

    M app/assets/stylesheets/common.scss (15)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/3668.patch
https://github.com/openstreetmap/openstreetmap-website/pull/3668.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3668
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/3668 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220831/f80e45c9/attachment.htm>


More information about the rails-dev mailing list