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

Marwin Hochfelsner notifications at github.com
Mon Jul 21 16:31:44 UTC 2025


@hlfan 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;
+}

How about renaming `common.scss` to `screen.scss` and putting these screen + print definitions in a new `common.scss`?

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

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


More information about the rails-dev mailing list