This commit is contained in:
Philipp Kühn 2021-01-20 20:39:30 +01:00
parent 55d767d94c
commit fcfae05a4f

View File

@ -17,7 +17,6 @@ function detectColors(doc) {
let matches
// eslint-disable-next-line
let regex = hexColors
while (matches = hexColors.exec(node.text)) {
results.push({
color: matches[0],
@ -26,6 +25,7 @@ function detectColors(doc) {
})
}
// eslint-disable-next-line
while (matches = rgbaColors.exec(node.text)) {
results.push({
color: matches[0],