material-theme-builder icon indicating copy to clipboard operation
material-theme-builder copied to clipboard

Generate Surface Tones in CSS Export

Open thatcher-gaming opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. The M3 Guidelines talk about "Surface tones" that can be used to convey elevation and such by tinting the surface colour with a bit of the primary colour. At the moment the CSS exporter doesn't generate these, so they're a real pain in the ass to use inside web pages.

Describe the solution you'd like It'd be nice if the CSS exporter could include the surface tones.

Describe alternatives you've considered Right now I'm just hand editing the exported file to include these, which takes a little while and means I can't just swap out the CSS file when testing with different colours.

thatcher-gaming avatar Feb 15 '22 19:02 thatcher-gaming

Right now they are computed as they take 3 tokens. It will be in the material web library.

rodydavis avatar Feb 18 '22 19:02 rodydavis

When will the material web library release?

DamonGuzman avatar Dec 11 '22 20:12 DamonGuzman