From b6aa4628814a9f58542efb5a83091997d518bb3e Mon Sep 17 00:00:00 2001 From: anuraghazra Date: Sat, 18 Jul 2020 20:28:01 +0530 Subject: [PATCH] design: make badge look good on different colors --- src/renderRepoCard.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/renderRepoCard.js b/src/renderRepoCard.js index a153e878..56fb7cdf 100644 --- a/src/renderRepoCard.js +++ b/src/renderRepoCard.js @@ -36,8 +36,8 @@ const renderRepoCard = (repo, options = {}) => { const archiveBadge = isArchived ? ` - - Archived + + Archived ` : ""; @@ -50,6 +50,7 @@ const renderRepoCard = (repo, options = {}) => { .gray { font: 400 12px 'Segoe UI', Ubuntu, Sans-Serif; fill: ${textColor} } .icon { fill: ${iconColor} } .archive-badge { font: 600 12px 'Segoe UI', Ubuntu, Sans-Serif; } + .archive-badge rect { opacity: 0.2 }