Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#45619 closed defect (bug) (wontfix)

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

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

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
6 years ago

  • Component changed from General to Bundled Theme
  • Summary changed from Can't use hex colors in color picker/customiser in 2019 theme to Twenty Nineteen: Can't use hex colors in color picker/customiser

#2 @kjellr
6 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

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
6 years ago

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