diff options
Diffstat (limited to 'src/server/Design/Constants.hs')
-rw-r--r-- | src/server/Design/Constants.hs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/server/Design/Constants.hs b/src/server/Design/Constants.hs index 6c4ab90..94df14b 100644 --- a/src/server/Design/Constants.hs +++ b/src/server/Design/Constants.hs @@ -20,8 +20,14 @@ blockPercentMargin = (100 - blockPercentWidth) / 2 blockMarginBottom :: Size Abs blockMarginBottom = px 50 -rowHeight :: Size Abs -rowHeight = px 60 +rowHeightPx :: Integer +rowHeightPx = 60 inputHeight :: Integer inputHeight = 40 + +focusLighten :: Color -> Color +focusLighten color = color +. 20 + +focusDarken :: Color -> Color +focusDarken color = color -. 20 |