How to use the cssstyle/lib/parsers.TYPES function in cssstyle

To help you get started, we’ve selected a few cssstyle examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github GoogleChrome / lighthouse / lighthouse-core / lib / manifest-parser.js View on Github external
function isValidColor(color) {
  return cssParsers.valueType(color) === cssParsers.TYPES.COLOR;
}
github GoogleChrome / lighthouse / lighthouse-core / audits / themed-omnibox.js View on Github external
static isValidColor(color) {
    return cssParsers.valueType(color) === cssParsers.TYPES.COLOR;
  }