This project is DEPRECATED and now be a part of Project Mondrian.
See bezier-react.
Channel-Colors is an color scheme used and created by Channel.io.
Anyone can download pre built scheme(recommended) or build manually with original .colors.json file.
We provide pre built latest distributions.
SCSS (https://sass-lang.com/)
Usage
div {
background-color: $ch-navy600;
}
Usage
div {
background-color: var(--navy-600);
}
Usage
<TextView
android:background="@color/navy600" />
Scheme
{
"navy600": {
"hex": "#09124E",
"opacity": 100,
"rgb": "9,18,78",
"family": "navy"
},
...
}
It builds platform-dependent color resources by single maintenance point.
Needs NPM: package manager. To install it, see Downloading and installing Node.js and npm.
npm run build
: Build colors for all supported platforms after cleaning up previous outputs.npm run test
: Not supported yet.
npm run cleanup
: Cleanup previous outputs. Can not be undone.
├── src
│ └── default.colors.json # Original source to compile
└── dist
├── android.default.colors.json # Resource for Android
├── default.colors.json # Simple JSON
├── default.colors.scss # SCSS
└── default.colors.css # CSS
MIT License.