summaryrefslogtreecommitdiff
path: root/Biz/Look.hs
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2021-03-20 10:26:25 -0400
committerBen Sima <ben@bsima.me>2021-03-20 10:26:25 -0400
commit2aaa275011717ef3d51c3562cc83f9d1821dd35f (patch)
treea7752fcf1fe52979070eaa2fb0ddd4adfd28007a /Biz/Look.hs
parent865b972ea417633b7b53c19038faab8bd57d8711 (diff)
Display hotspots graph and stacked line charts
I think I should change the colors a bit... to be done later I suppose.
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 ee17525..372dd08 100644
--- a/Biz/Look.hs
+++ b/Biz/Look.hs
@@ -32,8 +32,11 @@ module Biz.Look
-- | Grid
gridArea,
gridTemplateAreas,
+ gridTemplateRows,
columnGap,
rowGap,
+ -- | Alignment
+ justifySelf,
)
where
@@ -163,8 +166,14 @@ gridArea = Stylesheet.key "grid-area"
gridTemplateAreas :: [Property.Literal] -> Css
gridTemplateAreas = Stylesheet.key "grid-template-areas" <. noCommas
+gridTemplateRows :: [Property.Literal] -> Css
+gridTemplateRows = Stylesheet.key "grid-template-columns" <. noCommas
+
columnGap :: Size a -> Css
columnGap = Stylesheet.key "column-gap"
rowGap :: Size a -> Css
rowGap = Stylesheet.key "row-gap"
+
+justifySelf :: JustifyContentValue -> Css
+justifySelf = Stylesheet.key "justify-self"