From 006213072268d3fbbbb744224cbc81abfa0db26d Mon Sep 17 00:00:00 2001
From: Huub <50170696+huubl@users.noreply.github.com>
Date: Wed, 2 Oct 2024 16:34:19 +0200
Subject: [PATCH] Revert "Update icon in home button (#65497)"
This reverts commit b0c9b57df89e51b1e5668003c147a20cd460dbb1.
---
packages/edit-site/src/components/editor/index.js | 4 ++--
packages/edit-site/src/components/editor/style.scss | 4 ----
packages/icons/CHANGELOG.md | 1 -
packages/icons/src/index.js | 2 --
packages/icons/src/library/arrow-down-right.js | 12 ------------
packages/icons/src/library/arrow-up-left.js | 12 ------------
6 files changed, 2 insertions(+), 33 deletions(-)
delete mode 100644 packages/icons/src/library/arrow-down-right.js
delete mode 100644 packages/icons/src/library/arrow-up-left.js
diff --git a/packages/edit-site/src/components/editor/index.js b/packages/edit-site/src/components/editor/index.js
index 855225081236c..72f796845c567 100644
--- a/packages/edit-site/src/components/editor/index.js
+++ b/packages/edit-site/src/components/editor/index.js
@@ -22,7 +22,7 @@ import { store as noticesStore } from '@wordpress/notices';
import { privateApis as routerPrivateApis } from '@wordpress/router';
import { store as preferencesStore } from '@wordpress/preferences';
import { decodeEntities } from '@wordpress/html-entities';
-import { Icon, arrowUpLeft } from '@wordpress/icons';
+import { Icon, homeButton } from '@wordpress/icons';
/**
* Internal dependencies
@@ -291,7 +291,7 @@ export default function EditSiteEditor( { isPostsList = false } ) {
) }
variants={ toggleHomeIconVariants }
>
-
+
)
diff --git a/packages/edit-site/src/components/editor/style.scss b/packages/edit-site/src/components/editor/style.scss
index a6cc508496694..10efff92af643 100644
--- a/packages/edit-site/src/components/editor/style.scss
+++ b/packages/edit-site/src/components/editor/style.scss
@@ -69,10 +69,6 @@
background-color: hsla(0, 0%, 80%);
pointer-events: none;
- svg {
- fill: currentColor;
- }
-
&.has-site-icon {
background-color: hsla(0, 0%, 100%, 0.6);
-webkit-backdrop-filter: saturate(180%) blur(15px);
diff --git a/packages/icons/CHANGELOG.md b/packages/icons/CHANGELOG.md
index ddf850dd11681..08c7ab95b4b4a 100644
--- a/packages/icons/CHANGELOG.md
+++ b/packages/icons/CHANGELOG.md
@@ -9,7 +9,6 @@
- Add new `envelope` icon.
- Add new `bell` and `bell-unread` icons.
-- Add new `arrowUpLeft` and `arrowDownRight` icons.
## 10.7.0 (2024-09-05)
diff --git a/packages/icons/src/index.js b/packages/icons/src/index.js
index 586911ffc746b..e61be2cc86bcd 100644
--- a/packages/icons/src/index.js
+++ b/packages/icons/src/index.js
@@ -10,11 +10,9 @@ export { default as alignNone } from './library/align-none';
export { default as alignRight } from './library/align-right';
export { default as archive } from './library/archive';
export { default as arrowDown } from './library/arrow-down';
-export { default as arrowDownRight } from './library/arrow-down-right';
export { default as arrowLeft } from './library/arrow-left';
export { default as arrowRight } from './library/arrow-right';
export { default as arrowUp } from './library/arrow-up';
-export { default as arrowUpLeft } from './library/arrow-up-left';
export { default as atSymbol } from './library/at-symbol';
export { default as aspectRatio } from './library/aspect-ratio';
export { default as audio } from './library/audio';
diff --git a/packages/icons/src/library/arrow-down-right.js b/packages/icons/src/library/arrow-down-right.js
deleted file mode 100644
index 3755b63873cef..0000000000000
--- a/packages/icons/src/library/arrow-down-right.js
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * WordPress dependencies
- */
-import { SVG, Path } from '@wordpress/primitives';
-
-const arrowDownRight = (
-
-);
-
-export default arrowDownRight;
diff --git a/packages/icons/src/library/arrow-up-left.js b/packages/icons/src/library/arrow-up-left.js
deleted file mode 100644
index 1b3686f6ec1e6..0000000000000
--- a/packages/icons/src/library/arrow-up-left.js
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * WordPress dependencies
- */
-import { SVG, Path } from '@wordpress/primitives';
-
-const arrowUpLeft = (
-
-);
-
-export default arrowUpLeft;