[openstreetmap/openstreetmap-website] Replace custom role icon helpers with inline_svg_tag (PR #6215)

Tom Hughes notifications at github.com
Mon Jul 21 16:22:57 UTC 2025


@tomhughes commented on this pull request.



> @@ -20,3 +20,13 @@ $table-border-factor: .1;
 $list-group-hover-bg: rgba(var(--bs-emphasis-color-rgb), .075);
 
 $enable-negative-margins: true;
+
+.role-icon-administrator {
+  color: #f69e42;
+}
+.role-icon-moderator {
+  color: #447eff;
+}
+.role-icon-importer {
+  color: #38e13a;
+}

These aren't really parameters. are they?

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

Message ID: <openstreetmap/openstreetmap-website/pull/6215/review/3038828697 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250721/f92bedf7/attachment-0001.htm>


More information about the rails-dev mailing list