Repository navigation
Bring back the palette picker with light and dark pairs - #150
Merged
Merged
Conversation
The picker had shrunk to Science and Flux. It now offers vik, broc, cork, bam, roma, RdBu and Flux, and each Crameri palette switches to its dark-centred counterpart (berlin, lisbon, tofino, vanimo, managua) in the dark theme. Adds lisbon, tofino, bam and managua from Crameri 8.0.0. On the dark maps, zero now draws in the dark panel colour, so near-zero hours blend into the panel instead of showing as a black band. Older stored choices still load. Sources and licences are in THIRD_PARTY_NOTICES.md. Closes #149
|
🚀 Vercel preview deployed Preview URL: https://earth-prints-hl9jbyool-anastasiia-s-projects10.vercel.app |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #149
The palette picker had shrunk to Science and Flux after #133. It now offers seven palettes again. Each Crameri palette is a light and dark pair that follows the theme:
Changes
--editor-bg-primary), so near-zero hours blend into the panel instead of showing as a black band. The shift fades out toward both ends, so the strongest colours are unchanged.THIRD_PARTY_NOTICES.mdwith sources and licences: Crameri (MIT), ColorBrewer RdBu (Apache 2.0), CET Flux via colorcet (CC BY 4.0).Checks
srcand build are clean.Not in this PR
PDF and image exports still always use vik, whatever palette is picked. That was already the case before this change.