From ded99a5f78bcf20d9d19169595c03f7afe3e1581 Mon Sep 17 00:00:00 2001 From: mkrause Date: Tue, 17 Dec 2024 16:07:59 +0100 Subject: [PATCH] Update filter-closed/filter-open icons with 18x18 versions. --- scripts/import.ts | 4 +--- src/assets/icons/filter-closed.svg | 6 +++--- src/assets/icons/filter-open.svg | 6 +++--- 3 files changed, 7 insertions(+), 9 deletions(-) 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 @@ - - - + + +