UX: Ensure unstyled `.btn-social` elements have a contrasting background

UX: Ensure unstyled .btn-social elements have a contrasting background

For example, in plugins where the background color is not explicitly set

From 1fd0787dd746a5e95d595e650049473bf54fe714 Mon Sep 17 00:00:00 2001
From: David Taylor <david@taylorhq.com>
Date: Thu, 22 Nov 2018 15:00:32 +0000
Subject: [PATCH] UX: Ensure unstyled `.btn-social` elements have a contrasting
 background

For example, in plugins where the background color is not explicitly set

diff --git a/app/assets/stylesheets/common/components/buttons.scss b/app/assets/stylesheets/common/components/buttons.scss
index aa439bc..c4640af 100644
--- a/app/assets/stylesheets/common/components/buttons.scss
+++ b/app/assets/stylesheets/common/components/buttons.scss
@@ -150,6 +150,7 @@
 
 .btn-social {
   color: #fff;
+  background: #666;
   &:hover {
     color: #fff;
   }

GitHub

2 Likes