diff --git a/scripts/import.ts b/scripts/import.ts index 46c1536..095d8cf 100755 --- a/scripts/import.ts +++ b/scripts/import.ts @@ -223,9 +223,7 @@ const runImportIcons = async (args: ScriptArgs) => { const validity = await validateIcon(pathSource, iconName); if (!validity.isValid) { - if (!['filter-closed', 'filter-open'].includes(iconName)) { // FIXME: invalid dimensions on these two icons - throw new Error(`Found invalid icon '${iconName}': ${validity.message}`); - } + throw new Error(`Found invalid icon '${iconName}': ${validity.message}`); } logger.log(`Copying '${rel(pathSource)}' to '${rel(pathTarget)}'`); diff --git a/src/assets/icons/filter-closed.svg b/src/assets/icons/filter-closed.svg index ac435b7..8592ece 100644 --- a/src/assets/icons/filter-closed.svg +++ b/src/assets/icons/filter-closed.svg @@ -1,4 +1,4 @@ - - - + + + diff --git a/src/assets/icons/filter-open.svg b/src/assets/icons/filter-open.svg index 0532e52..3b4fb86 100644 --- a/src/assets/icons/filter-open.svg +++ b/src/assets/icons/filter-open.svg @@ -1,4 +1,4 @@ - - - + + +