From d33b204eb64b563cb5d582ca288660060414cf4b Mon Sep 17 00:00:00 2001 From: Nick Diego Date: Mon, 5 Jun 2023 07:47:39 -0500 Subject: [PATCH] Manually set Snapchat label color. --- packages/block-library/src/social-links/style.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/packages/block-library/src/social-links/style.scss b/packages/block-library/src/social-links/style.scss index 582edd4f22bac..23c741e9819f9 100644 --- a/packages/block-library/src/social-links/style.scss +++ b/packages/block-library/src/social-links/style.scss @@ -142,3 +142,13 @@ padding-right: calc((2/3) * 1em); } } + +// Ensure the Snapchat label is visible when no custom +// icon color or background color is set. +.wp-block-social-links:not(.has-icon-color):not(.has-icon-background-color) { + .wp-social-link-snapchat { + .wp-block-social-link-label { + color: #000; + } + } +}