aboutsummaryrefslogtreecommitdiff
path: root/src/server/Design
diff options
context:
space:
mode:
authorJoris2016-03-20 22:38:44 +0100
committerJoris2016-03-21 20:43:55 +0100
commit1c7d6ea6e3bcd3c672cb5eb3cf22ffc88cabb257 (patch)
tree4ff8aeb6aa0f159548f8f506374276c1a2c97f7d /src/server/Design
parent47104f0b3965cd1dfba0f466afdb5e8983dc7bec (diff)
use config-manager instead of ConfigFile
Diffstat (limited to 'src/server/Design')
-rw-r--r--src/server/Design/Constants.hs4
-rw-r--r--src/server/Design/SignIn.hs2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/server/Design/Constants.hs b/src/server/Design/Constants.hs
index 94df14b..3395852 100644
--- a/src/server/Design/Constants.hs
+++ b/src/server/Design/Constants.hs
@@ -27,7 +27,7 @@ inputHeight :: Integer
inputHeight = 40
focusLighten :: Color -> Color
-focusLighten color = color +. 20
+focusLighten baseColor = baseColor +. 20
focusDarken :: Color -> Color
-focusDarken color = color -. 20
+focusDarken baseColor = baseColor -. 20
diff --git a/src/server/Design/SignIn.hs b/src/server/Design/SignIn.hs
index d2487f1..814cca3 100644
--- a/src/server/Design/SignIn.hs
+++ b/src/server/Design/SignIn.hs
@@ -8,7 +8,7 @@ import Clay
import Design.Color as C
import Design.Helper
-import Design.Constants
+import Design.Constants (focusLighten)
signInDesign :: Css
signInDesign =