aboutsummaryrefslogtreecommitdiff
path: root/src/Chelleport/Config.hs
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2024-12-21 20:03:25 +0530
committerAkshay Nair <phenax5@gmail.com>2024-12-21 20:03:25 +0530
commit70ac685a5043a7b8ea9b72537dca8258198640c7 (patch)
treeb0e67fd2868cd17354f4b0861caca716d6b9d7ee /src/Chelleport/Config.hs
parent87815edbab70302793fb83259fedc1ae9004d172 (diff)
downloadchelleport-70ac685a5043a7b8ea9b72537dca8258198640c7.tar.gz
chelleport-70ac685a5043a7b8ea9b72537dca8258198640c7.zip
Minor refactor
Diffstat (limited to 'src/Chelleport/Config.hs')
-rw-r--r--src/Chelleport/Config.hs41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/Chelleport/Config.hs b/src/Chelleport/Config.hs
new file mode 100644
index 0000000..65b7077
--- /dev/null
+++ b/src/Chelleport/Config.hs
@@ -0,0 +1,41 @@
+module Chelleport.Config where
+
+import Chelleport.Types
+import Foreign.C (CFloat)
+import qualified SDL
+
+colorWhite :: Color
+colorWhite = SDL.V4 255 255 255 255
+
+colorLightGray :: Color
+colorLightGray = SDL.V4 100 100 100 255
+
+colorGray :: Color
+colorGray = SDL.V4 55 52 65 200
+
+colorAccent :: Color
+colorAccent = SDL.V4 110 112 247 255
+
+colorHighlight :: Color
+colorHighlight = colorAccent
+
+colorGridLines :: Color
+colorGridLines = colorGray
+
+colorFocusLines :: Color
+colorFocusLines = colorLightGray
+
+colorAxisLines :: Color
+colorAxisLines = colorAccent
+
+colorBackground :: Color
+colorBackground = SDL.V4 15 12 25 0
+
+colorFineGrainGrid :: Color
+colorFineGrainGrid = SDL.V4 55 52 65 100
+
+windowOpacity :: CFloat
+windowOpacity = 0.4
+
+fontSize :: Int
+fontSize = 24