Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#45619 closed defect (bug) (wontfix)

Twenty Nineteen: Can't use hex colors in color picker/customiser

Reported by: eranthomson Owned by:
Priority: normal Milestone:
Component: Bundled Theme Version: 5.0
Severity: normal Keywords:
Cc: Focuses:

Description

Colour picker only has a slider so we can't set specific values.
Def need to be able to do this

Change History (3)

#1 @SergeyBiryukov
8 years ago

  • Component GeneralBundled Theme
  • Summary Can't use hex colors in color picker/customiser in 2019 themeTwenty Nineteen: Can't use hex colors in color picker/customiser

#2 @kjellr
8 years ago

  • Resolutionwontfix
  • Status newclosed

Hi, @eranthomson, thanks for the report. The omission of a hex color picker in Twenty Nineteen was an intentional design decision.

During development, Twenty Nineteen's original custom color implementation allowed for users to enter a Hex value. This was problematic in that it opened the door to very inaccessible color combinations throughout users sites. We looked into the addition of a color contrast checker to warn users about that, but ultimately abandoned that idea after considering the bulk and complexity it'd add to the theme.

In the end, we borrowed a solution from Twenty Seventeen, and implemented a color hue picker instead. The hue picker allows people to customize the color while also guiding them towards a more accessible palette in general.

You can read more background on this decision in the following threads:

#3 @netweb
8 years ago

  • Milestone Awaiting Review
Note: See TracTickets for help on using tickets.