<p dir="auto">Uses <code class="notranslate">text-secondary</code> or <code class="notranslate">text-secondary-emphasis</code> if it's a current page.<br>
Replaces:</p>
<ul dir="auto">
<li><code class="notranslate">$darkgrey</code>: <code class="notranslate">text-secondary</code> matches it</li>
<li><code class="notranslate">darken($darkgrey, 25%)</code>: in dark mode it shouldn't be darkened</li>
</ul>
<p dir="auto">Before:<br>
<a href="https://github.com/openstreetmap/openstreetmap-website/assets/4158490/b02c5688-f069-4137-b6fd-b1932aaba7d4">image.png (view on web)</a></p>
<p dir="auto">After:<br>
<a href="https://github.com/openstreetmap/openstreetmap-website/assets/4158490/4d3825c6-a62c-4d8b-85e5-719748ec8d96">image.png (view on web)</a></p>
<p dir="auto">I also removed the current page color change in more/user dropdowns because it worked in the opposite direction, making the text lighter.</p>
<p dir="auto">Before, with "Communities" as the current page:<br>
<a href="https://github.com/openstreetmap/openstreetmap-website/assets/4158490/802f9d86-57e1-4a91-bbde-6b81ca4f55e5">image.png (view on web)</a></p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/openstreetmap/openstreetmap-website/pull/4661'>https://github.com/openstreetmap/openstreetmap-website/pull/4661</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4661/commits/5cb04d5ee04f843d9cacc8033b160cae1dd78215" class="commit-link">5cb04d5</a> Use secondary text color in header menu</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4661/files">4 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4661/files#diff-e86a39e6d0b163f152db8843fc7d647a3f5d648de4a74f1732bef4474b6e5bc8">app/assets/stylesheets/common.scss</a>
(5)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4661/files#diff-5f3fc5e3977d242572aa1d08551f5eb557de0ccaff30370838ee9df5386ea0da">app/helpers/application_helper.rb</a>
(4)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4661/files#diff-6d2ef58207c92d1533287af551a075122ba98240a861819047a2ae77b7674f0b">app/views/layouts/_header.html.erb</a>
(42)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4661/files#diff-59e3c27d200847ec53b2bbfa85d7d93e45d2f4b0d40237eaf81a84085e29989c">test/helpers/application_helper_test.rb</a>
(2)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4661.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/4661.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4661.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/4661.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4661">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLMT3HRM5MTMCDHNJITY4KVZ5AVCNFSM6AAAAABF44CY3OVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIZTCNBUGU4TCMA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLJVYIHKSPUQFIXDXPDY4KVZ5A5CNFSM6AAAAABF44CY3OWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHIKAJJSY.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/4661</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/4661",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4661",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>