@operational/theme
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -11,3 +11,3 @@ "use strict"; | ||
} | ||
var hexRegEx = /(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i; | ||
var hexRegEx = /(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)|currentColor/i; | ||
var isHex = hexRegEx.test(color); | ||
@@ -14,0 +14,0 @@ if (isHex) { |
{ | ||
"name": "@operational/theme", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Customization theme for the Operational UI packages.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -11,3 +11,3 @@ import { Theme } from "./index" | ||
} | ||
const hexRegEx = /(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i | ||
const hexRegEx = /(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)|currentColor/i | ||
const isHex = hexRegEx.test(color) | ||
@@ -14,0 +14,0 @@ if (isHex) { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15377