This repository has been archived by the owner on May 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
colors.dhall
78 lines (73 loc) · 2.13 KB
/
colors.dhall
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
let Block =
{ black : Text
, red : Text
, green : Text
, yellow : Text
, blue : Text
, magenta : Text
, cyan : Text
, white : Text
}
let IndexColor = { index : Natural, color : Text }
let Selection = { text : Text, background : Text }
let Cursor = { text : Text, cursor : Text }
let Schema =
{ Type =
{ primary :
{ background : Text
, foreground : Text
, dim_foreground : Optional Text
, dim_background : Optional Text
}
, normal : Block
, bright : Block
, dim : Optional Block
, cursor : Optional Cursor
, vi_mode_cursor : Optional Cursor
, selection : Optional Selection
, indexed_colors : List IndexColor
}
, default =
{ primary =
{ background = "#000000"
, foreground = "#eaeaea"
, dim_foreground = Some "#9a9a9a"
, dim_background = Some "#ffffff"
}
, cursor = Some { text = "#000000", cursor = "#ffffff" }
, vi_mode_cursor = Some { text = "#000000", cursor = "#ffffff" }
, selection = Some { text = "#eaeaea", background = "#404040" }
, normal =
{ black = "#000000"
, red = "#d54e53"
, green = "#b9ca4a"
, yellow = "#e6c547"
, blue = "#7aa6da"
, magenta = "#c397d8"
, cyan = "#70c0ba"
, white = "#eaeaea"
}
, bright =
{ black = "#666666"
, red = "#ff3334"
, green = "#9ec400"
, yellow = "#e7c547"
, blue = "#7aa6da"
, magenta = "#b77ee0"
, cyan = "#54ced6"
, white = "#ffffff"
}
, dim = Some
{ black = "#000000"
, red = "#8c3336"
, green = "#7a8530"
, yellow = "#97822e"
, blue = "#506d8f"
, magenta = "#80638e"
, cyan = "#497e7a"
, white = "#9a9a9a"
}
, indexed_colors = [] : List IndexColor
}
}
in { Schema, Block, IndexColor, Selection, Cursor }