lib/helpers/getThemeConfig.js
function getFocusColor(colors) {
  if (Color(colors.primary).luminosity() >= 0.8) {
    return colors.accent;
  }

  return colors.primary;
}
function getFocusColor(colors) {
  if (Color(colors.primary).luminosity() >= 0.8) {
    return colors.accent;
  }

  return colors.primary;
}
function getFocusColor ( colors ) { if ( Color ( colors . primary ) . luminosity ( ) >= 0.8 ) { return colors . accent ; } return colors . primary ; }
Gets the default focus color. This usually is the themes primary color.
However, if this color is too bright, the result of ths method
will fall back to the accent color.
@param {Object} colors The full color variables.
@return {string} The color.
Gets the default focus color . This usually is the themes primary color . However if this color is too bright the result of ths method will fall back to the accent color .