Skip to content

update color palettes#198

Merged
thomasp85 merged 6 commits into
posit-dev:mainfrom
thomasp85:issue140-continuous-pal
Mar 18, 2026
Merged

update color palettes#198
thomasp85 merged 6 commits into
posit-dev:mainfrom
thomasp85:issue140-continuous-pal

Conversation

@thomasp85
Copy link
Copy Markdown
Collaborator

Fix #140

Apart from updating the continuous color palette as described in #140, this PR also fixes some issues in the palette documentation as well as reorganise the default categorical color palette.

The last point is still undecided and awaiting consensus

@thomasp85 thomasp85 marked this pull request as ready for review March 16, 2026 11:18
@thomasp85 thomasp85 requested a review from teunbrand March 17, 2026 15:34
Copy link
Copy Markdown
Collaborator

@teunbrand teunbrand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly LGTM, two small nits to pick. I've not verified the correctness of all the hex codes myself because I'll trust you on this

Comment on lines +13 to +14
"#0067A5", "#F38400", "#008856", "#F3C300", "#875692", "#A1CAF1", "#BE0032", "#8DB600",
"#654522", "#E68FAC",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't seem to be the same as the swatch_ggsql10.svg file

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch - didn't regenerate after I switched back to the choice


#### Sequential
Sequential palettes for numeric data. `navia` is the default continuous color palette in ggsql.
Sequential palettes for numeric data. `sequential` is the default continuous color palette in ggsql.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we mention that it is based on 'navia' somewhere? Doesn't need to be here, but somewhere would be nice.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's already in the table

@thomasp85 thomasp85 merged commit 4188798 into posit-dev:main Mar 18, 2026
18 checks passed
@thomasp85 thomasp85 deleted the issue140-continuous-pal branch March 18, 2026 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

new default continuous color palette

2 participants