yeun / open-color

Color scheme for UI design.
https://yeun.github.io/open-color/
MIT License
5.27k stars 239 forks source link

Add support for generating Dart code #104

Open MichaelMarner opened 4 years ago

MichaelMarner commented 4 years ago

Adds template support for building Dart code. Generates the color scheme as a single dart class with static const color names. This approach is how the Flutter team define colours for their Material swatches.

There is additional work to build a dart package that can be published to pub.dev. Not sure whether you would want that in this repository, or if you are interested in maintaining a dart package, but I'm happy to add the project structure and help with publishing.