Comments (1)
Open color
introduction
Open color is a color sheme for UI design. You can use it for font, background, border etc. It contains a gray and 12 colors.
All the color is perceptible by color blind (specifically deuteranopia and protanopia) person.
- Since the colors can be adjusted in future, using Open color as main identity color is not recommended.
Installation
$ npm install open-color
Variable convention
$oc-(color)-(number)
oc
: Abbreviation for Open color(color)
: Color name like gray, red, lime ect.(number)
: 0 to 9. Color brightness spectrum.
How to use
Import the file to your project and use the variables.
Example
//SASS, SCSS
@import 'path/open-color';
.body {
backgrond-color: $oc-gray-0;
color: $oc-gray-7;
}
a {
color: $oc-teal-7;
&:hover,
&:focus,
&:active {
color: $oc-indigo-7;
}
}
from open-color.
Related Issues (20)
- Dark mode support HOT 2
- Latest published version on npm still depends on npm HOT 2
- chromatic
- [FEATURE IDEA]Add click to copy feature
- Add PostCSS-import compatible endpoint
- Feature request: Add additional dark colors HOT 1
- Question: Grey 6 accessibility
- macOS Color Palette download broken
- Photoshop swatches -1.9.1.aco download failed (no file)
- How get all colors?
- HD color HOT 2
- New two scale
- Suggestions for additional colors HOT 4
- Gravit Designer HOT 2
- Gaps between Gray 4-Gray 7. HOT 2
- Swatches for Affinity Designer
- How to match with base/brand color? HOT 12
- npm prepublish is deprecated HOT 1
- Provide a Figma Library
- Arbitrary File Overwrite - 1.7.0 Open Color
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open-color.