summaryrefslogtreecommitdiff
path: root/Biz/Look.hs
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2021-01-16 11:38:07 -0500
committerBen Sima <ben@bsima.me>2021-01-22 07:19:33 -0500
commit89f52d0fcbcd1775af8a43e09e1de2c78b51c007 (patch)
tree754bcff701ca93be95b9bad34e04a764d2ea9e3b /Biz/Look.hs
parent2a78401884650a82bdb6b2ef5a846217ec98a248 (diff)
Style SelectRepo page and all links
I'm borrowing heavily from Basecamp.com, but I figure after enough itreation I will settle on something more unique. Anyway, copying Basecamp isn't so bad -- they are a great company after all!
Diffstat (limited to 'Biz/Look.hs')
-rw-r--r--Biz/Look.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/Biz/Look.hs b/Biz/Look.hs
index c2ef55e..e7bcb82 100644
--- a/Biz/Look.hs
+++ b/Biz/Look.hs
@@ -15,6 +15,9 @@ module Biz.Look
noColorPreference,
-- | Font
fontStack,
+ -- | Clay.Text extensions
+ textDecorationThickness,
+ textDecorationWidth,
-- | Elements
hoverButton,
)
@@ -97,3 +100,9 @@ fuckingStyle = do
background ("#444" :: Color)
"a:link" ? color ("#5bf" :: Color)
"a:visited" ? color ("#ccf" :: Color)
+
+textDecorationThickness :: Size LengthUnit -> Css
+textDecorationThickness = Clay.key "text-decoration-thickness"
+
+textDecorationWidth :: Size LengthUnit -> Css
+textDecorationWidth = Clay.key "text-decoration-width"