summaryrefslogtreecommitdiff
path: root/Pancake.hs
diff options
context:
space:
mode:
authordefanor <defanor@uberspace.net>2017-10-28 07:59:31 +0300
committerdefanor <defanor@uberspace.net>2017-10-28 07:59:31 +0300
commit60790b4368518134a14166fcad535f96d05c7765 (patch)
tree344d22853f8d439ff773ede754e928125b4a19ea /Pancake.hs
parent619015bbe0dc2596e92ba6897d844b5324452aaa (diff)
Change fragment link colors
So that they are distinguishable from active links.
Diffstat (limited to 'Pancake.hs')
-rw-r--r--Pancake.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Pancake.hs b/Pancake.hs
index 000279f..9357fa8 100644
--- a/Pancake.hs
+++ b/Pancake.hs
@@ -299,7 +299,7 @@ readInline (P.Link _ alt (url, title)) =
case uri of
-- fragment links are mostly useless here, at least for now.
-- but still marking them as links, to avoid confusion.
- (URI "" Nothing "" "" _) -> pure $ map (Fg Blue) t
+ (URI "" Nothing "" "" _) -> pure $ map (Fg Magenta) t
_ -> storeLink uri >>=
\cnt -> pure $ map (Fg Cyan) t ++
[Fg Blue (mconcat ["[", fromString $ show cnt, "]"])]