Git Product home page Git Product logo

Comments (5)

mbitson avatar mbitson commented on May 20, 2024

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:
image

If you then click "Blue" you will see the colors match up with your screenshot exactly:
image

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.

rosskevin avatar rosskevin commented on May 20, 2024

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.

mbitson avatar mbitson commented on May 20, 2024

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.

rosskevin avatar rosskevin commented on May 20, 2024

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.

mbitson avatar mbitson commented on May 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.