Change "non available" badge color to lightgray
The 'red' badge looks like "Something is wrong or broken", while the 'lightgray' is pretty neutral.
This commit is contained in:
parent
66c420c0ef
commit
492eaf0444
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ getPackageBadgeR pname branch = do
|
|||
|
||||
renderStackageBadge :: SnapName -> Maybe Version -> LByteString
|
||||
renderStackageBadge (badgeLabel -> label) = \case
|
||||
Nothing -> renderBadge (flat & right .~ red) label "not available"
|
||||
Nothing -> renderBadge (flat & right .~ lightgray) label "not available"
|
||||
Just (Version x) -> renderBadge flat label x
|
||||
|
||||
badgeLabel :: SnapName -> Text
|
||||
|
|
Loading…
Reference in a new issue