z_mirror/Tapeline

git clone https://git.raiguard.me/z_mirror/Tapeline

Caleb HeuerUse color-setting prototype35cfa44

color-setting
2.0 KiB81 linesraw
1local constants = require("__Tapeline__/constants")
2
3data:extend({
4  {
5    type = "bool-setting",
6    name = "tl-log-selection-area",
7    setting_type = "runtime-per-user",
8    default_value = false,
9    order = "a",
10  },
11  {
12    type = "bool-setting",
13    name = "tl-draw-tape-on-ground",
14    setting_type = "runtime-per-user",
15    default_value = true,
16    order = "b",
17  },
18  {
19    type = "double-setting",
20    name = "tl-tape-line-width",
21    setting_type = "runtime-per-user",
22    default_value = 1.5,
23    order = "c",
24  },
25  {
26    type = "double-setting",
27    name = "tl-tape-clear-delay",
28    setting_type = "runtime-per-user",
29    default_value = 1,
30    order = "d",
31  },
32  {
33    type = "color-setting",
34    name = "tl-tape-background-color",
35    setting_type = "runtime-per-user",
36    default_value = constants.default_colors.tape_background_color,
37    order = "ea",
38  },
39  {
40    type = "color-setting",
41    name = "tl-tape-border-color",
42    setting_type = "runtime-per-user",
43    default_value = constants.default_colors.tape_border_color,
44    order = "eb",
45  },
46  {
47    type = "color-setting",
48    name = "tl-tape-label-color",
49    setting_type = "runtime-per-user",
50    default_value = constants.default_colors.tape_label_color,
51    order = "ec",
52  },
53  {
54    type = "color-setting",
55    name = "tl-tape-line-color-1",
56    setting_type = "runtime-per-user",
57    default_value = constants.default_colors.tape_line_color_1,
58    order = "ed",
59  },
60  {
61    type = "color-setting",
62    name = "tl-tape-line-color-2",
63    setting_type = "runtime-per-user",
64    default_value = constants.default_colors.tape_line_color_2,
65    order = "ee",
66  },
67  {
68    type = "color-setting",
69    name = "tl-tape-line-color-3",
70    setting_type = "runtime-per-user",
71    default_value = constants.default_colors.tape_line_color_3,
72    order = "ef",
73  },
74  {
75    type = "color-setting",
76    name = "tl-tape-line-color-4",
77    setting_type = "runtime-per-user",
78    default_value = constants.default_colors.tape_line_color_4,
79    order = "eg",
80  },
81})