Comments (8)
I thought about running these values through a PostCSS plugin to see of there were CSS Color names that make any more sense. @jonathantneal generously offered to build one.
https://twitter.com/kevinSuttle/status/674286563698876416
from colors.
I think this is the beginning of that, but so far, none of our colors have a CSS Color name. https://github.com/jonathantneal/closest-color
from colors.
The page that explains the colors are in the design guide. core
is anyone's guess. I think it was the color used as the big headings on the design language website.
from colors.
Aha, so core
is also the same value as 50
, except in some of the whites and greys when its 20
and and sometimes 10
and sometimes nothing.
from colors.
I noticed that Google's Material colors are similar in scale.
https://www.google.com/design/spec/style/color.html
from colors.
So, this might seem random, but every weekend I try to release a PostCSS plugin that would help with exactly this situation. It can match every color in your CSS to a palette of your choice, either producing a list of palette approved colors and the number of times they are used, or nearly the same list, except including variations like matching-color-variation-1, matching-color-variation-2, matching-color-variation-3 for every inexact match.
But ... I keep hitting the same brick wall. And it might seem really silly, ok? But hey, in off hours open source, stupid stuff can delay you hours to years. My issue is: What exactly should be exported? Do I produce a JSON file of color keys and the number of times they appear? Some kind of text report? Another CSS file?
Since you inspired this, I was hoping you might know what you wanted, even if youβre no longer interested, necessarily. I still think you had a great idea, and it could help a lot of people.
from colors.
Thanks @jonathantneal. What we have is a set of core colors (this repo), that each product team uses as a base for their branding. The issue becomes that the disconnect between the 2 happens very easily. Even here, we can see multiple definitions of the same value over and over. The connection is what we're after when I say "single sourcing".
from colors.
@jonathantneal Seems @dcwarwick did this: ba053a5#diff-6a853a1f7639b0af7520dddefa30c2ffR18
from colors.
Related Issues (20)
- Orange vs Peach HOT 1
- White needs a light gray stroke around it HOT 2
- Maybe a border around the white? HOT 1
- Color contrast for warmer colors HOT 2
- differentiating between colors HOT 3
- Ability to compare colors
- Different hue values in cool grays HOT 2
- Publish new version, 2.0.3, to npm HOT 1
- Examples on color page don't match new colors HOT 2
- Getting color throws an error if no grade is specified HOT 1
- Update whites grades documentation
- Remove Eyeglass version warning HOT 2
- Color Blind safe Orange 40 does not match result of color("orange", 40) HOT 1
- Throwed wrong error of undefined HOT 1
- $Palette variable doesn't match supplied value throwing errors. HOT 1
- Filename versioning HOT 1
- Install options question HOT 1
- URL in description links to a 404 HOT 1
- name collision with PostCSS HOT 1
- Links in readme are dead
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 colors.