From 393ecb61ef47ce5ddb2dd19f98166d377cfb27dc Mon Sep 17 00:00:00 2001 From: Andrei Draganescu Date: Mon, 15 Jun 2020 16:36:35 +0300 Subject: [PATCH 1/2] renamed navigation link --- packages/block-library/src/navigation-link/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-library/src/navigation-link/index.js b/packages/block-library/src/navigation-link/index.js index 99ab5ebfb193e0..0cb5c99016dd31 100644 --- a/packages/block-library/src/navigation-link/index.js +++ b/packages/block-library/src/navigation-link/index.js @@ -16,7 +16,7 @@ const { name } = metadata; export { metadata, name }; export const settings = { - title: __( 'Navigation Link' ), + title: __( 'Link' ), icon, description: __( 'Add a page, link, or another item to your navigation.' ), __experimentalLabel: ( { label } ) => label, From 6f53d84e3206a9263573335d5ea17c81c86b67e9 Mon Sep 17 00:00:00 2001 From: Andrei Draganescu Date: Mon, 15 Jun 2020 17:46:02 +0300 Subject: [PATCH 2/2] fixes the appearance of the appender on is-style-dark --- packages/block-library/src/navigation/editor.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/packages/block-library/src/navigation/editor.scss b/packages/block-library/src/navigation/editor.scss index d6420a4257bbea..9da879e943a15f 100644 --- a/packages/block-library/src/navigation/editor.scss +++ b/packages/block-library/src/navigation/editor.scss @@ -145,3 +145,14 @@ $color-control-label-height: 20px; display: flex; flex-direction: column; } + +// Dark style appender. +.wp-block-navigation.is-style-dark { + .block-editor-button-block-appender.block-list-appender__toggle { + color: #fff; + } + .block-editor-button-block-appender.block-list-appender__toggle > svg { + color: #000; + background-color: #fff; + } +}