backdrop / backdrop-issues

Issue tracker for Backdrop core.
144 stars 40 forks source link

Kickass Feature: Allow extracting a color scheme from an uploaded image, and apply it to themes supporting color module. #3328

Open klonos opened 6 years ago

klonos commented 6 years ago

This is part of the #1905 meta...

Describe your issue or idea

This idea has been mentioned in the past by @wesruv while building Basis, and also in an unrelated context in https://github.com/backdrop/backdrop-issues/issues/1224#issuecomment-141362599

There are php libraries that could help with this:

Expected behavior (if reporting a bug)

When users visit the settings page of a theme that has color.module support, they are presented with a button to upload their favourite image or their company logo. Once uploaded, we extract a color scheme and apply it to the theme. The user can now preview and tweak.

izmeez commented 9 months ago

This is reminiscent of using sass to describe theme colors, I'll have to dig it up and see if it can be extrapolated to this.