material-foundation / material-theme-builder

Visualize dynamic color and create a custom Material Theme.
https://material-foundation.github.io/material-theme-builder/
Apache License 2.0
397 stars 27 forks source link

Export "Extended Colors" from MTB Web in CSS and DSP #53

Open Flammae opened 2 years ago

Flammae commented 2 years ago

Currently Material Theme Builder Web has an option to extend color scheme, but extended colors aren't included in CSS or DSP exports (these are the only ones I've tried).

I'd prefer to have those available and not have to copy and paste variables from the browser, as each extended color generates 20+ color values

image

jwill commented 2 years ago

Extended color is exported to some extent on Android Views, Compose, and Flutter.

Adjusting title of issue.

jiblett1000 commented 1 year ago

I agree. This functionality would be very useful. The json output and perhaps css would be of most use to myself.

danielduckworth commented 1 year ago

+1 from me

iurycarlos commented 1 year ago

would be awesome!

benjamincox commented 1 year ago

@margeeta @rodydavis This also fails to export the generated extended color styles in the JSON.

Screenshot 2023-07-29 at 3 37 59 PM Screenshot 2023-07-29 at 3 38 06 PM