A platform for community discussion. Free, open, simple.
UX: Use theme colors for GitHub issue labels
David Taylor939a746dcd15
diff --git a/Gemfile b/Gemfileindex 31d391e4cd2..fe9faf36a45 100644--- a/Gemfile+++ b/Gemfile@@ -50,7 +50,7 @@ gem 'redis-namespace'gem 'active_model_serializers', '~> 0.8.3'-gem 'onebox', '1.9.16'+gem 'onebox', '1.9.17'gem 'http_accept_language', '~>2.0.5', require: falsediff --git a/Gemfile.lock b/Gemfile.lockindex a03c3d3defa..89de47af239 100644--- a/Gemfile.lock+++ b/Gemfile.lock@@ -245,7 +245,7 @@ GEMomniauth-twitter (1.4.0)omniauth-oauth (~> 1.1)rack- onebox (1.9.16)+ onebox (1.9.17)htmlentities (~> 4.3)moneta (~> 1.0)multi_json (~> 1.11)@@ -501,7 +501,7 @@ DEPENDENCIESomniauth-oauth2omniauth-openidomniauth-twitter- onebox (= 1.9.16)+ onebox (= 1.9.17)openid-redis-storeparallel_testspgdiff --git a/app/assets/stylesheets/common/base/onebox.scss b/app/assets/stylesheets/common/base/onebox.scssindex 240d93308c3..e707724b4d9 100644--- a/app/assets/stylesheets/common/base/onebox.scss+++ b/app/assets/stylesheets/common/base/onebox.scss@@ -452,6 +452,13 @@ pre.onebox code {.github-content {margin: 5px 0 0 0;}++ .labels span {+ // !important required to override inline style attribute+ background-color: $primary-medium !important;+ color: $secondary !important;+ padding: 2px 4px !important;+ }}//Onebox - Github - Pull request