Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Design ready" quick generator #32

Open
FiratUsta opened this issue Nov 4, 2024 · 0 comments
Open

"Design ready" quick generator #32

FiratUsta opened this issue Nov 4, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@FiratUsta
Copy link
Owner

Right now, the quick settings only do what they advertise (ie. monochrome gives monochrome colors for the given color, complementary gives two sets of complementary monochrome palettes etc.), it could be useful to have an "auto" or "design ready" setting which is ready to be used right after generation. This setting should ensure the generated palette at least has:

  • A dark background color.
  • A light foreground color.
  • An accent color.
  • Optionally a second accent color. (This could be exposed in the advanced settings to the user as an option or picked randomly.)

This setting should also ensure that:

  • The colors go well together (ie. The palette is either monochromatic, analogous etc.) (This could be exposed in the advanced settings to the user as an option or picked randomly)
  • The colors contrast well with one another (The contrast between the background and foreground at least should be 4.5:1, ideally the accents should contrast with the others as well but this could be hard to ensure)
  • The colors also contrast well with one another for the most common forms of color blindness.

I think it's imperative that this generator works with URL and code exports regardless of any edits done on them, but the current code/URL export logic wouldn't allow this. However we'll have a set amount of colors in this mode anyway (I'm thinking a maximum of 6) so we could very well just string the HEX values one after the other for this mode only.

I'm going to put this to 2.x milestone initially, but this can be pushed back to 3.x to be released alongside #24

@FiratUsta FiratUsta added the enhancement New feature or request label Nov 4, 2024
@FiratUsta FiratUsta added this to the 2.x milestone Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant