]> git.openstreetmap.org Git - rails.git/commitdiff
Invert routing direction icons in dark mode
authorAnton Khorev <tony29@yandex.ru>
Mon, 8 Apr 2024 15:39:47 +0000 (18:39 +0300)
committerAnton Khorev <tony29@yandex.ru>
Mon, 8 Apr 2024 15:39:47 +0000 (18:39 +0300)
app/assets/stylesheets/common.scss

index ba976ff2b8996e352ae43ca2a8e1fa31a7433b4c..a6b9a32de3a2f416c76ba428e93df262242e3ee3 100644 (file)
@@ -575,6 +575,12 @@ div.direction {
 div.direction.i#{$i} { background-position: #{($i)*-20}px 0px; }
 }
 
+@include color-mode(dark) {
+  div.direction {
+    filter: invert(1);
+  }
+}
+
 td.distance {
     font-size: x-small;
 }