From 36c819db7e1039ca1eaa84418523b7f82bf31100 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Tue, 27 Jun 2023 23:31:01 +0000 Subject: [PATCH] Twenty Ten: Prevent Block Inserter icon color override. This changeset prevents the likes of `body * { color: #000; }` in custom styles to override the Block Inserter icon styles. Props umesh84, kajalgohel, sabernhardt, pooja1210, amin7. Fixes #57414. git-svn-id: https://develop.svn.wordpress.org/trunk@56081 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyten/editor-blocks.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/wp-content/themes/twentyten/editor-blocks.css b/src/wp-content/themes/twentyten/editor-blocks.css index 071e0a1995..86b2f5f875 100644 --- a/src/wp-content/themes/twentyten/editor-blocks.css +++ b/src/wp-content/themes/twentyten/editor-blocks.css @@ -373,3 +373,9 @@ p.has-drop-cap:not(:focus)::first-letter { :root .editor-styles-wrapper .has-white-background-color:visited { background-color: #fff; } + +/* Inserter Icon */ + +.editor-styles-wrapper .block-editor-inserter path { + color: #fff; +}