aboutsummaryrefslogtreecommitdiff
path: root/theme
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2020-12-28 21:17:20 +0100
committerSébastien Dailly <sebastien@chimrod.com>2020-12-28 21:17:20 +0100
commit9d65e5e6a5bd8666baf0d7d3e0474c721cafc683 (patch)
treec391ced8768eca6e2f0c8292bab10fceeb48f2ee /theme
parentec812521b31471ce9ac3d9bdf1288b1569defbc8 (diff)
Fixed width and angle sliddes
Diffstat (limited to 'theme')
-rwxr-xr-xtheme/dune7
-rwxr-xr-xtheme/nord.ml39
-rwxr-xr-xtheme/theme.ml1
3 files changed, 0 insertions, 47 deletions
diff --git a/theme/dune b/theme/dune
deleted file mode 100755
index a812bef..0000000
--- a/theme/dune
+++ /dev/null
@@ -1,7 +0,0 @@
-(library
- (name theme)
- (libraries
- color
- gg
- )
- )
diff --git a/theme/nord.ml b/theme/nord.ml
deleted file mode 100755
index 4748d83..0000000
--- a/theme/nord.ml
+++ /dev/null
@@ -1,39 +0,0 @@
-open StdLabels
-
-let default = Color.of_rgb 5 255 255
-
-let theme =
- [| "#2e3440"
- ; "#3b4252"
- ; "#434c5e"
- ; "#4c566a"
- (* Bright *)
- ; "#d8dee9"
- ; ""
- ; "#eceff4"
- (* Frost *)
- ; "#8fbcbb"
- ; ""
- ; ""
- ; ""
- (* Aurora 11 - *)
- ; "#bf616a" (* Redd color *)
- ; ""
- ; ""
- ; "#a3be8c" (* Green color *)
-
-
- |]
- |> Array.map ~f:(fun f ->
- Color.of_hexstring f
- |> Option.value ~default
- )
-
-let set_color t f =
- let Color.Rgba'.{r; g; b; _ } = Color.to_rgba' (Array.get theme t) in
- f r g b
-
-
-let to_gg t =
- let Color.Rgba'.{r; g; b; _ } = Color.to_rgba' (Array.get theme t) in
- Gg.Color.of_srgb (Gg.V4.v r g b 1.)
diff --git a/theme/theme.ml b/theme/theme.ml
deleted file mode 100755
index 39974b1..0000000
--- a/theme/theme.ml
+++ /dev/null
@@ -1 +0,0 @@
-module Nord = Nord