AdobeXD / design-system-package-dsp

DSP Documentation
MIT License
336 stars 38 forks source link

[IDEA] `palette` collections #5

Open CITguy opened 3 years ago

CITguy commented 3 years ago

It makes sense that you could programmatically generate multiple DSPs (one per theme), but there are times where I would like to define smaller, focused palettes based on theme colors.

Example: Data Visualization

Say I have the following themes:

I would like to define a set of consistently named palettes for each theme, so that I can apply a palette to a project asset in a way that I can swap out the theme, but retain the applied palette.

Examples palettes may be:

I would expect the following to happen:

GIVEN I am using the "Light" theme, WHEN I apply the "bright" palette to a chart AND I switch to the "Dark" theme, THEN the client should apply the "bright" palette from the "Dark" theme to the same chart.