From ae5164509ce2a1913f5ead33736faa3e59d40092 Mon Sep 17 00:00:00 2001 From: Jean-Patrick Guerrero Date: Tue, 26 Jan 2021 02:16:10 +0100 Subject: [PATCH] More gradients --- init.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 56eff3f..215a8e7 100644 --- a/init.lua +++ b/init.lua @@ -1769,7 +1769,9 @@ local function add_subtitle(fs, title, x, y, ctn_len, font_size) font_size = font_size or 18 fs(fmt("style_type[label;font=bold;font_size=%u]", font_size), fmt("label", x, y, title), - "style_type[label;font=normal;font_size=16]", fmt("box", x, y + 0.3, ctn_len, 0.045, "#bababa50")) + "style_type[label;font=normal;font_size=16]", + "style_type[box;colors=#bababa,#bababa30,#bababa30,#bababa]", + fmt("box", x, y + 0.3, ctn_len, 0.045, "#")) end local function get_award_list(fs, ctn_len, yextra, award_list, awards_unlocked, award_list_nb) @@ -2179,6 +2181,7 @@ local function get_inv_slots(data, fs) local inv_x, inv_y = 0.234, 6.6 local width, size, spacing, extra = HOTBAR_COUNT, 0.96, 0.15, 0 local bag = data.bag_size + fs("style_type[box;colors=#77777710,#77777710,#777777,#777777]") for i = 0, HOTBAR_COUNT - 1 do