Comments (5)
Hey @rosskevin .
This is a known "issue". A full discussion about this can be found here:
#19
I have since implemented two algorithms for you to use- you can try out either using the settings panel. Regardless of the color generation algorithm chosen, the palette will not always match the material design colors chosen.
You're exactly right about why- this is because the material design palettes are chosen by hand and are not a consistent progression.
That being said, if you're looking to use a default, official material design color palette you can use the Import button in the nav. Clicking it lists out all of the stock AngularJS Material Design palettes and allows you to import any of them directly into your theme.
For example, clicking import shows you this list:
If you then click "Blue" you will see the colors match up with your screenshot exactly:
I am always open to improving the color generation technique- but knowing these are hand-picked palettes makes it very difficult to replicate. Please see the github issue linked to above to see an example of me replicating the progression of one palette exactly, while the same progression breaks other palettes.
Thank you!
from mcg.
Thanks @mbitson, we are using custom colors but I figured I would ask the question based on the standard palette. I'll try out the other algorithm on our custom color to see how it changes.
from mcg.
No problem, @rosskevin - and just a note, I can always add more color generation algorithms if there is something specific about your custom palette you don't like?
I'm not entirely satisfied with either current algorithm, either, so having a particular problem to try and solve with a third algorithm may be what I need to try again.
Is the issue you're having with the A* series colors being too bright? Is there a different issue with the other algorithm option?
Thank you!
from mcg.
The A*
seem to be far off. We specifically make use of the A200
for links, so I was looking to tweak the palette color when my designer pointed out this difference. Our accent color is in the blue to indigo range, that's why I fell back to the blue
standard pallette as a reference point.
I don't have any algorithmic suggestions, but perhaps a feature suggestion:
If a user wants to darken the A
range of colors
When they click darken
Then the A
range is regenerated using a darker basis
from mcg.
As an update for this issue, another color generation algorithm has been added with:
#105
These options were focused around the A* series of colors, as this issue points out, also.
We will continue to add options until we have a definitive method. Please open a new issue if you have any specifics on how our color generation could be improved.
Thank you everyone!
from mcg.
Related Issues (20)
- Website is down HOT 1
- Import any code you can export HOT 2
- add ability to define default/hues HOT 1
- out of bound exception HOT 1
- Export to Dart for Flutter HOT 1
- Please add text contrast to the generator
- Index out of range: baseTriad[4] HOT 2
- Url Sharing Improvements
- Add Google's algorithm HOT 1
- Constantin algorithm : index out of range ? HOT 1
- Why does baseTriad[4] work? This is out of bounds. HOT 2
- Angular 2 scss output leads to error HOT 2
- Can you please add vue-material HOT 7
- material-ui next HOT 2
- [feature] Shareable link to color palette configuration HOT 3
- Different generator algorithms HOT 2
- material-ui@next export issue HOT 2
- extract the algorithm into its own library and publish to NPM HOT 6
- Define accent palette HOT 2
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 mcg.