add get_colors function

This commit is contained in:
Evgeny
2021-09-01 07:50:17 +03:00
parent 2c2f11d52a
commit a1b6f73221
9 changed files with 35 additions and 20 deletions

View File

@@ -12,7 +12,7 @@ json = require "json"
-- constants
local red_color = "#f44336"
local green_color = "#48ad47"
local text_color = ui:get_secondary_text_color()
local text_color = ui:get_colors().secondary_text
local equals = "<font color=\""..text_color.."\"> = </font>"
-- global vars