$ npm install open-color
$oc-(color)-(number)
@oc-(color)-(number)
oc-(color)-(number)
--oc-(color)-(number)
@import 'path/open-color'; .body { background-color: $oc-gray-0; color: $oc-gray-7; } a { color: $oc-teal-7; &:hover, &:focus, &:active { color: $oc-indigo-7; } }
// tailwind.config.js module.exports = { presets: [require("./open-color.js")], purge: [], mode: "jit", darkMode: false, theme: { extend: {}, }, variants: { extend: {}, }, plugins: [], };
@import 'path/open-color'; .body { background-color: @oc-gray-0; color: @oc-gray-7; } a { color: @oc-teal-7; &:hover, &:focus, &:active { color: @oc-indigo-7; } }
@import 'path/open-color.styl' .body background-color: oc-gray-0 color: oc-gray-7 a color: oc-teal-7; &:hover &:focus &:active color: oc-indigo-7
@import 'path/open-color.css'; .body { background-color: var(--oc-gray-0); color: var(--oc-gray-7); } a { color: var(--oc-teal-7); } a:hover, a:focus, a:active { color: var(--oc-indigo-7); }
Check out the list below.
open-color.json
$ npm run compile-templates
docs/asset/download/open-color_*.*.*.aco
docs/asset/download/open-color_*.*.*.clr
package.json
README.md
docs/documents.html