From 3dbd7f5575f44e292ff669242f5eb7c2d8e49a63 Mon Sep 17 00:00:00 2001 From: nick-delirium Date: Fri, 30 Aug 2024 15:47:28 +0200 Subject: [PATCH] fix icon warnings --- .../ui/Icons/color_browser_edge.tsx | 8 ++-- .../ui/Icons/color_browser_firefox.tsx | 24 +++++----- .../ui/Icons/color_browser_safari.tsx | 2 +- .../ui/Icons/color_device_mobile.tsx | 2 +- .../app/components/ui/Icons/color_edge.tsx | 8 ++-- .../app/components/ui/Icons/color_firefox.tsx | 24 +++++----- .../components/ui/Icons/color_os_linux.tsx | 44 +++++++++---------- .../app/components/ui/Icons/color_safari.tsx | 2 +- frontend/scripts/icons.js | 1 + 9 files changed, 58 insertions(+), 57 deletions(-) diff --git a/frontend/app/components/ui/Icons/color_browser_edge.tsx b/frontend/app/components/ui/Icons/color_browser_edge.tsx index 350919ecc..e44e52938 100644 --- a/frontend/app/components/ui/Icons/color_browser_edge.tsx +++ b/frontend/app/components/ui/Icons/color_browser_edge.tsx @@ -31,13 +31,13 @@ function Color_browser_edge(props: Props) { - - + + - - + + diff --git a/frontend/app/components/ui/Icons/color_browser_firefox.tsx b/frontend/app/components/ui/Icons/color_browser_firefox.tsx index 41b53363c..73e18e6c5 100644 --- a/frontend/app/components/ui/Icons/color_browser_firefox.tsx +++ b/frontend/app/components/ui/Icons/color_browser_firefox.tsx @@ -49,10 +49,10 @@ function Color_browser_firefox(props: Props) { - - - - + + + + @@ -67,10 +67,10 @@ function Color_browser_firefox(props: Props) { - - - - + + + + @@ -111,10 +111,10 @@ function Color_browser_firefox(props: Props) { - - - - + + + + diff --git a/frontend/app/components/ui/Icons/color_browser_safari.tsx b/frontend/app/components/ui/Icons/color_browser_safari.tsx index 6134ccd85..bcd4db796 100644 --- a/frontend/app/components/ui/Icons/color_browser_safari.tsx +++ b/frontend/app/components/ui/Icons/color_browser_safari.tsx @@ -160,7 +160,7 @@ function Color_browser_safari(props: Props) { - + diff --git a/frontend/app/components/ui/Icons/color_device_mobile.tsx b/frontend/app/components/ui/Icons/color_device_mobile.tsx index 689568920..c38068b63 100644 --- a/frontend/app/components/ui/Icons/color_device_mobile.tsx +++ b/frontend/app/components/ui/Icons/color_device_mobile.tsx @@ -22,7 +22,7 @@ function Color_device_mobile(props: Props) { - + diff --git a/frontend/app/components/ui/Icons/color_edge.tsx b/frontend/app/components/ui/Icons/color_edge.tsx index 4b87cda44..ac0f634a8 100644 --- a/frontend/app/components/ui/Icons/color_edge.tsx +++ b/frontend/app/components/ui/Icons/color_edge.tsx @@ -31,13 +31,13 @@ function Color_edge(props: Props) { - - + + - - + + diff --git a/frontend/app/components/ui/Icons/color_firefox.tsx b/frontend/app/components/ui/Icons/color_firefox.tsx index 14599d88d..bf0ec2eae 100644 --- a/frontend/app/components/ui/Icons/color_firefox.tsx +++ b/frontend/app/components/ui/Icons/color_firefox.tsx @@ -49,10 +49,10 @@ function Color_firefox(props: Props) { - - - - + + + + @@ -67,10 +67,10 @@ function Color_firefox(props: Props) { - - - - + + + + @@ -111,10 +111,10 @@ function Color_firefox(props: Props) { - - - - + + + + diff --git a/frontend/app/components/ui/Icons/color_os_linux.tsx b/frontend/app/components/ui/Icons/color_os_linux.tsx index f49bbe0c9..cddd6472e 100644 --- a/frontend/app/components/ui/Icons/color_os_linux.tsx +++ b/frontend/app/components/ui/Icons/color_os_linux.tsx @@ -38,8 +38,8 @@ function Color_os_linux(props: Props) { - - + + @@ -50,28 +50,28 @@ function Color_os_linux(props: Props) { - - + + - - + + - - + + - - + + - - + + - - + + @@ -82,24 +82,24 @@ function Color_os_linux(props: Props) { - - + + - - + + - - + + - - + + diff --git a/frontend/app/components/ui/Icons/color_safari.tsx b/frontend/app/components/ui/Icons/color_safari.tsx index ab79ee3da..b8480c525 100644 --- a/frontend/app/components/ui/Icons/color_safari.tsx +++ b/frontend/app/components/ui/Icons/color_safari.tsx @@ -160,7 +160,7 @@ function Color_safari(props: Props) { - + diff --git a/frontend/scripts/icons.js b/frontend/scripts/icons.js index 3fed263a1..c47845761 100644 --- a/frontend/scripts/icons.js +++ b/frontend/scripts/icons.js @@ -125,6 +125,7 @@ function ${titleCase(fileName)}(props: Props) { .replaceAll(/stroke-miterlimit/g, 'strokeMiterlimit') .replaceAll(/xml:space="preserve"/g, '') .replaceAll(/flood-opacity/g, 'floodOpacity') + .replaceAll(/stop-opacity/g, 'stopOpacity') .replaceAll( /color-interpolation-filters/g, 'colorInterpolationFilters'