step = 1,
width = "full",
},
- color = {
+ textColor = {
type = "color",
name = "Text color",
get = function(item)
- return unpack(self.db.profile[pos]["color"]);
+ return unpack(self.db.profile[pos]["textColor"]);
end,
set = function(item, r, g, b, a)
- self.db.profile[pos]["color"] = {r, g, b, a};
+ self.db.profile[pos]["textColor"] = {r, g, b, a};
self:RefreshConfig();
end,
},
step = 1,
width = "full",
},
+ iconColor = {
+ type = "color",
+ name = "Icon tint",
+ get = function(item)
+ return unpack(self.db.profile[pos]["iconColor"]);
+ end,
+ set = function(item, r, g, b, a)
+ self.db.profile[pos]["iconColor"] = {r, g, b, a};
+ self:RefreshConfig();
+ end,
+ },
}
};
end