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
|
//! pardes dark: the host terminal's own page, white comments, violet stuff.
//! The one theme that leaves `page` and `text` NULL: in a terminal the page
//! is the host's own cell, ink and sixteen, so pardes sits inside whatever
//! the terminal already looks like and paints only its chrome; a window
//! draws colors.null_page (#121212) and #cccccc, and its sixteen below.
//! DESIGN.md part C: comments the brightest ink (#f0f0f0, 16.4:1), keywords
//! violet (#d76ef0, 6.6:1), a lilac tag, a violet grip that reads (#a58bff,
//! 3.4:1 on the focused tag) and a violet selection (#46337a) so the hits
//! keep amber; its own severities and sixteen (the window's).
pub const theme = .{
.name = "dark",
.page = null,
.text = null,
.tag = .{ 0x2c, 0x2a, 0x3e },
.tag_text = .{ 0xab, 0xa9, 0xc3 },
.tag_focus_text = .{ 0xd6, 0xd4, 0xe8 },
.accent = .{ 0xa5, 0x8b, 0xff },
.selection = .{ 0x46, 0x33, 0x7a },
.selection_text = .{ 0xf4, 0xf0, 0xff },
.keyword = .{ 0xd7, 0x6e, 0xf0 },
.string = .{ 0x8f, 0xca, 0x78 },
.number = .{ 0xe3, 0xcd, 0x64 },
.comment = .{ 0xf0, 0xf0, 0xf0 },
.line_number = .{ 0x5c, 0x5c, 0x66 },
.line_number_current = .{ 0x8e, 0x8c, 0x9e },
.@"error" = .{ 0xff, 0x6e, 0x7f },
.warning = .{ 0xff, 0xb4, 0x54 },
.info = .{ 0x7f, 0xa8, 0xff },
.hint = .{ 0x62, 0xd2, 0xc4 },
.ansi = .{
.{ 0x2c, 0x2a, 0x3e }, .{ 0xff, 0x6e, 0x7f }, .{ 0x8f, 0xca, 0x78 }, .{ 0xe3, 0xcd, 0x64 },
.{ 0x7f, 0xa8, 0xff }, .{ 0xd7, 0x6e, 0xf0 }, .{ 0x62, 0xd2, 0xc4 }, .{ 0xc4, 0xc4, 0xcc },
.{ 0x7e, 0x7b, 0x96 }, .{ 0xff, 0x95, 0xa1 }, .{ 0xae, 0xe3, 0x9a }, .{ 0xf2, 0xe0, 0x8a },
.{ 0xa6, 0xc3, 0xff }, .{ 0xe6, 0x9c, 0xf7 }, .{ 0x8f, 0xe6, 0xda }, .{ 0xf0, 0xf0, 0xf0 },
},
};
|