function getValue(theme, pathOrValue) {
  return get(theme, pathOrValue, pathOrValue)
}
Gets a value from the given theme based on a path when present,
else returns the provided value
@param {object} theme
@param {unknown} pathOrValue