# mcg **Repository Path**: flyarmy81/mcg ## Basic Information - **Project Name**: mcg - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-02-07 - **Last Updated**: 2024-02-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Material Design Color Generator ![GitHub Last Commit](https://img.shields.io/github/last-commit/mbitson/mcg?style=flat-square) ![GitHub issues](https://img.shields.io/github/issues/mbitson/mcg?style=flat-square) ![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/mbitson/mcg?style=flat-square) ![GitHub top language](https://img.shields.io/github/languages/top/mbitson/mcg?style=flat-square) ![GitHub forks](https://img.shields.io/github/forks/mbitson/mcg?style=flat-square) ![GitHub stars](https://img.shields.io/github/stars/mbitson/mcg?style=flat-square) ![GitHub contributors](https://img.shields.io/github/contributors/mbitson/mcg?style=flat-square) ![GitHub license](https://img.shields.io/github/license/mbitson/mcg?style=flat-square) [http://mcg.mbitson.com/](http://mcg.mbitson.com/) A tool for generating a color palette for Material Design. Supports exporting to and importing from various Material Design frameworks and toolkits. - [Screenshot](#screenshot) - [Supported Frameworks & Tools](#supported-frameworks--tools) - [Color Generation](#color-generation) - [What's New?](#whats-new) - [Bugs & Questions](#bugs--questions) - [Planned Enhancements](#planned-enhancements) - [Contributions](#contributions) # Screenshot ![Material Color Design Palette Website Screenshot](preview.jpg) # Supported Frameworks & Tools This palette generation tool supports both **exporting** and **importing** palettes for the following frameworks and tools: 1) Android XML 2) AngularJS (Material) 3) AngularJS 2 (Material 2) 4) Ember Paper 5) Material Design Lite (SCSS) 6) Material UI (React) 7) Material UI Next (React) 8) Vue.js Material Design 9) Flutter 10) MCG Reimport (Proprietary) When importing code, please ensure that it was code generated with this tool. In many cases, code generated outside of this tool should work as well, however this is unreliable. # Color Generation By default, we've chosen an Algorithm that seems to do a decent job at picking colors in most situations. However, if you find your palette doesn't look quite how you'd expect, you may change the algorithm that is used. Options are: ![MCG Color Algorithm Choice](preview-algorithm-choice.jpg) # What's New? Please see the [CHANGELOG](https://github.com/mbitson/mcg/blob/master/CHANGELOG.md). # Bugs & Questions Should you encounter a bug/problem or have a question about the tool please report it using GitHub's "Issues" feature [here](https://github.com/mbitson/mcg/issues). # Planned Enhancements * (TOP) Determine which palette is primary, secondary, and so on. Drag and drop palettes. * (MED) Remove individual color's hex details and create tooltip styled with all color details. (Hoverintent, populated only once it's opening, includes hex, rgb, cmyk, saturation, brightness. Possibly obtained using tinycolor) * (MED) Improve performance by dynamically creating and destroying the color picker button and UI instead of loading a ton of Divs into the DOM for each color on the screen and hiding them. * (LOW) Add reset buttons for each individual color in a palette (based on main palette color) * (LOW) Create UI for more than 5 palettes (and/or alert user about dangers of using this many palettes) # Contributions * [fireflight1](https://github.com/fireflight1) - Initial concept, starting code base. * [tkh44](https://github.com/tkh44) - Optimizations/fixes * [simon04](https://github.com/simon04) - Contrast detection, bug fixes. * [Constantin](https://stackoverflow.com/users/6115563/constantin) - Color algorithm logic per stack overflow answer [here](http://stackoverflow.com/a/36229022/3525315). * [tabuckner](https://github.com/tabuckner) - Slight variation in 'Constantin' focusing on the A100 - A700 values. * [vstollen](https://github.com/vstollen) - Added generators necessary to support Flutter * [berryp](https://github.com/berryp) - Bugfixes on Flutter support