1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2024-12-16 01:10:30 +02:00

Fix add-icon-data script (#8587)

This commit is contained in:
LitoMore 2023-04-30 17:53:03 +08:00 committed by GitHub
parent 5a33b3fe1d
commit 8d05c7111b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,12 +4,11 @@ import getRelativeLuminance from 'get-relative-luminance';
import {
URL_REGEX,
collator,
getJsonSchemaData,
getIconsDataString,
titleToSlug,
normalizeColor,
} from '../sdk.mjs';
import { writeIconsData } from './utils.js';
import { getJsonSchemaData, writeIconsData } from './utils.js';
const hexPattern = /^#?[a-f0-9]{3,8}$/i;