<p dir="auto">The same as <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2664509450" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/5337" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/5337/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/5337">#5337</a> but stores the preferred color scheme value in user preferences db table instead of cookies.</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/5339'>https://github.com/openstreetmap/openstreetmap-website/pull/5339</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5339/commits/2ba10cda43f8c6eb6b20224c224605695e40050a" class="commit-link">2ba10cd</a> Add auto/light color scheme stylesheets depending on user preferences</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5339/commits/fb40f16e475143efdc99436bed3e531332f26408" class="commit-link">fb40f16</a> Show color scheme on user preferences page</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5339/commits/a03c3ef0d443f1f1a4d9eb0b5f2437045b41db12" class="commit-link">a03c3ef</a> Add color scheme select to preferences form</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5339/commits/354f41b8453d3284872acb51153c6085a4119080" class="commit-link">354f41b</a> Store selected color scheme</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5339/files">13 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5339/files#diff-d2e82deee467e04b34fde66bc330f96ed2020aefc541445c1d576a56612ee71b">app/assets/stylesheets/parameters.scss</a>
(1)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5339/files#diff-ac0e006d6c735d5a2ab366ae1afee94597cd3452383280ea6301fb4182cab28a">app/assets/stylesheets/screen-auto-ltr.scss</a>
(3)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5339/files#diff-a8bd39c05ada0f84efd28e56b671f927234c5ecd6ba8c5415bf8535f3005cd2e">app/assets/stylesheets/screen-auto-rtl.rtlcss.scss</a>
(3)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5339/files#diff-357548e47145bfbe125f5350bec08ee7d29de717be042455524f75812617eecd">app/assets/stylesheets/screen-light-ltr.scss</a>
(3)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5339/files#diff-f24bff3219c717c0d3d41115bf0ce49c0edbaea18179804e0f5caff3faa130de">app/assets/stylesheets/screen-light-rtl.rtlcss.scss</a>
(3)
</li>
<li>
<strong>D</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5339/files#diff-696de97d252c66e034ff8c9cf59ffb3675680e7c0d076468f43797273b7be118">app/assets/stylesheets/screen-ltr.scss</a>
(1)
</li>
<li>
<strong>D</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5339/files#diff-8fc6c67a892f90f5336824019ace8ffb32c9d560a4bf8b76faf921858fc65230">app/assets/stylesheets/screen-rtl.rtlcss.scss</a>
(1)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5339/files#diff-2ff63b142551396d9bd9b4246101b9473bc7cbc50f35ff36efdf01fe7dc7696c">app/controllers/preferences_controller.rb</a>
(6)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5339/files#diff-be8f1d8caac1cf1a1c9cb4b0d463d6a89b19a833e289db8a9768457a3f63fa5f">app/views/layouts/_head.html.erb</a>
(6)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5339/files#diff-15b1d78abba5c7bc2d2b6c6d79f05073fc20a9814670c28ea97e8ec51f8fd9d5">app/views/preferences/edit.html.erb</a>
(8)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5339/files#diff-a495929ae8cf23fcea871e8aaa1bc52607a4e0f911f47d6bee5915e18d4a813e">app/views/preferences/show.html.erb</a>
(8)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5339/files#diff-44438ce218f5287c58d0017f965d888715635d94280669896f75841fbd7b4cd7">config/locales/en.yml</a>
(4)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5339/files#diff-9d330c9b4c315df4e0b0a23cd48461483d1dd153a9976aa056dc7b9b1258a01a">test/controllers/preferences_controller_test.rb</a>
(22)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5339.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/5339.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5339.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/5339.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/5339">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLOXIHVZZVPI4GFQT4T2BC4MJAVCNFSM6AAAAABR6CEO62VHI2DSMVQWIX3LMV43ASLTON2WKOZSGY3DMMBWHAZDONA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLOYG2QDIV3BLY3JIUT2BC4MJA5CNFSM6AAAAABR6CEO62WGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHJ52HZGI.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/5339</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/5339",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5339",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>