Skip to content

Social Icons: some social icons behave inconsistently when setting a background color #60122

Open
@afercia

Description

Description

When setting a background color, some social icons behave inconsistently thus making the 'global' background color that can be set to all the social icons at the same time inconsistent. Users are forced to do some extra editing and may be potentially confused.

Step-by-step reproduction instructions

  • Edit a post and add a Social Icons block.
  • To better understand this issue, enable 'Show labels' in the Settings panel.
  • Click the 'Add block' plus icon button and then click 'Browse all' in the popover.
  • From the inspector, add all the social links.
  • You can skip adding an actual URL to the social links, this isn't strictly necessary for this test.
  • At this point, the UI shows all the added social link. Screenshot:

Screenshot 2024-03-22 at 16 40 02

  • Observe that Goodreads, Link, Mail, and RSS Feed are the only ones to not have a custom background color. Togegher with Snapchat, they are the only ones to have a dark text color.
  • Select the Social Icons block and go to the Settings panel > Styles.
  • Set a dark icon background color.
  • Observe that the text of Goodreads, Link, Mail, and RSS Feed stays dark and becomes barely visible.
  • Observe the text color of Snapchat changed to white, instead. This is smart and makes sure the text

Screenshot:

Screenshot 2024-03-22 at 16 27 54

  • is visible with a dark background thus avoiding users to to any further editing.
  • Instead, to make Goodreads, Link, Mail, and RSS Feed be visible, users will have to keep editing, which makes the icon background color setting a little confusing.

Notie that this inconsistency occurs also when showing only the icons. Screenshot:

Screenshot 2024-03-22 at 16 33 13

Ideally, for consistency and for UI clarity and predictability, all social icons should work the same.

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Needs Design FeedbackNeeds general design feedback.[Block] SocialAffects the Social Block - used to display Social Media accounts[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions