summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2017-12-06 23:27:36 +0100
committerBoris Faure <billiob@gmail.com>2017-12-06 23:27:36 +0100
commit2b79f06e8d4c58d3b87afd49457b01a1f465863a (patch)
treee81319385b0db8ab929492fd43e39724c3fea3c3 /data
parent31285fb5dce5de80da82e75ca76b0594c4ef73b2 (diff)
themes: add Nord theme
I'm using my maintainer's privileges to add a new colorscheme. I should really work on having something easier to use different colorschemes. I relied on https://github.com/sylveon/terminology-themes to figure out how to map the colors in that fileā€¦
Diffstat (limited to 'data')
-rw-r--r--data/themes/meson.build3
-rw-r--r--data/themes/nord.edc104
2 files changed, 106 insertions, 1 deletions
diff --git a/data/themes/meson.build b/data/themes/meson.build
index 8721f0f..4397d72 100644
--- a/data/themes/meson.build
+++ b/data/themes/meson.build
@@ -13,7 +13,8 @@ edje_to_compile = [
13 ['solarized_light', ['default_colors.in.edc', 'default.edc']], 13 ['solarized_light', ['default_colors.in.edc', 'default.edc']],
14 ['mustang',['default_colors.in.edc', 'mild.edc']], 14 ['mustang',['default_colors.in.edc', 'mild.edc']],
15 ['base16_ocean_dark', ['default_colors.in.edc']], 15 ['base16_ocean_dark', ['default_colors.in.edc']],
16 ['smyck', ['default_colors.in.edc', 'mild.edc']] 16 ['smyck', ['default_colors.in.edc', 'mild.edc']],
17 ['nord', ['default_colors.in.edc', 'default.edc']],
17] 18]
18 19
19edje_install_dir = join_paths(get_option('datadir'), 20edje_install_dir = join_paths(get_option('datadir'),
diff --git a/data/themes/nord.edc b/data/themes/nord.edc
new file mode 100644
index 0000000..7aa74ee
--- /dev/null
+++ b/data/themes/nord.edc
@@ -0,0 +1,104 @@
1// An arctic, north-bluish color palette. https://git.io/nord
2// Copyright (c) 2016-2017 Arctic Ice Studio <development@arcticicestudio.com>
3//
4// License: MIT
5
6#define nord0 46 52 64 255 /* #2E3440 */
7#define nord1 59 66 82 255 /* #3B4252 */
8#define nord2 67 76 94 255 /* #434C5E */
9#define nord3 76 86 106 255 /* #4C566A */
10#define nord4 216 222 233 255 /* #D8DEE9 */
11#define nord5 229 233 240 255 /* #E5E9F0 */
12#define nord6 236 239 244 255 /* #ECEFF4 */
13#define nord7 143 188 187 255 /* #8FBCBB */
14#define nord8 136 192 208 255 /* #88C0D0 */
15#define nord9 129 161 193 255 /* #81A1C1 */
16#define nord10 94 129 172 255 /* #5E81AC */
17#define nord11 191 97 106 255 /* #BF616A */
18#define nord12 208 135 112 255 /* #D08770 */
19#define nord13 235 203 139 255 /* #EBCB8B */
20#define nord14 163 190 140 255 /* #A3BE8C */
21#define nord15 180 142 173 255 /* #B48EAD */
22
23
24#define ANSI0 nord1
25#define ANSI1 nord11
26#define ANSI2 nord14
27#define ANSI3 nord13
28#define ANSI4 nord9
29#define ANSI5 nord15
30#define ANSI6 nord8
31#define ANSI7 nord5
32#define ANSI8 nord3
33#define ANSI9 nord11
34#define ANSI10 nord14
35#define ANSI11 nord13
36#define ANSI12 nord9
37#define ANSI13 nord15
38#define ANSI14 nord7
39#define ANSI15 nord6
40
41#define COL_DEF nord4
42#define BG_COL nord0
43#define NO_COLORS 1
44
45color_classes {
46 color_class { name: "C0"; color: ANSI0; } // COL_BLACK
47 color_class { name: "C1"; color: ANSI1; } // COL_RED
48 color_class { name: "C2"; color: ANSI2; } // COL_GREEN
49 color_class { name: "C3"; color: ANSI3; } // COL_YELLOW
50 color_class { name: "C4"; color: ANSI4; } // COL_BLUE
51 color_class { name: "C5"; color: ANSI5; } // COL_MAGENTA
52 color_class { name: "C6"; color: ANSI6; } // COL_CYAN
53 color_class { name: "C7"; color: ANSI7; } // COL_WHITE
54
55 color_class { name: "C8"; color: ANSI8; } // COL_BLACK
56 color_class { name: "C9"; color: ANSI9; } // COL_RED
57 color_class { name: "C10"; color: ANSI10; } // COL_GREEN
58 color_class { name: "C11"; color: ANSI11; } // COL_YELLOW
59 color_class { name: "C12"; color: ANSI12; } // COL_BLUE
60 color_class { name: "C13"; color: ANSI13; } // COL_MAGENTA
61 color_class { name: "C14"; color: ANSI14; } // COL_CYAN
62 color_class { name: "C15"; color: ANSI15; } // COL_WHITE
63
64 color_class { name: "c0"; color: COL_DEF; }
65 color_class { name: "c1"; color: ANSI0; }
66 color_class { name: "c2"; color: ANSI1; }
67 color_class { name: "c3"; color: ANSI2; }
68 color_class { name: "c4"; color: ANSI3; }
69 color_class { name: "c5"; color: ANSI4; }
70 color_class { name: "c6"; color: ANSI5; }
71 color_class { name: "c7"; color: ANSI6; }
72 color_class { name: "c8"; color: ANSI7; }
73
74 color_class { name: "c11"; color: COL_DEF; }
75
76 color_class { name: "c12"; color: ANSI15; }
77 color_class { name: "c13"; color: ANSI8; }
78 color_class { name: "c14"; color: ANSI9; }
79 color_class { name: "c15"; color: ANSI10; }
80 color_class { name: "c16"; color: ANSI11; }
81 color_class { name: "c17"; color: ANSI12; }
82 color_class { name: "c18"; color: ANSI13; }
83 color_class { name: "c19"; color: ANSI14; }
84 color_class { name: "c20"; color: ANSI15; }
85
86 color_class { name: "c25"; color: ANSI8; }
87 color_class { name: "c26"; color: ANSI9; }
88 color_class { name: "c27"; color: ANSI10; }
89 color_class { name: "c28"; color: ANSI11; }
90 color_class { name: "c29"; color: ANSI12; }
91 color_class { name: "c30"; color: ANSI13; }
92 color_class { name: "c31"; color: ANSI14; }
93 color_class { name: "c32"; color: ANSI15; }
94
95 color_class { name: "c37"; color: ANSI8; }
96 color_class { name: "c38"; color: ANSI9; }
97 color_class { name: "c39"; color: ANSI10; }
98 color_class { name: "c40"; color: ANSI11; }
99 color_class { name: "c41"; color: ANSI12; }
100 color_class { name: "c42"; color: ANSI13; }
101 color_class { name: "c43"; color: ANSI14; }
102 color_class { name: "c44"; color: ANSI15; }
103}
104#include "default.edc"