Here you can find all the documentation of the creations of Linventif.
Library
LinvLibrary is a library that contains all the functions that I use in my addons.
Installation
Add Theme
To add a theme, you must ca workshop content or just put it in your lua/autorun/client folder and put the following code in it.
Replace "custom-theme" with the name of your them and replace the colors with your own.
if !LinvLib || LinvLib.Info.version < "0.2.5" then
print(" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ")
print(" - - ")
print(" - Linventif Library is not installed or outdated. - ")
print(" - Information and Download Links : https://linv.dev/docs/#library - ")
print(" - - ")
print(" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ")
return
end
local custom_theme = {
["background"] = Color(41, 44, 54),
["border"] = Color(118, 126, 148),
["element"] = Color(58, 62, 73),
["accent"] = Color(79, 84, 98),
["hover"] = Color(190, 132, 50),
["text"] = Color(255, 255, 255),
["icon"] = Color(255, 255, 255),
["red"] = Color(221, 93, 76),
["green"] = Color(76, 221, 76),
["orange"] = Color(255, 140, 0),
}
LinvLib:AddTheme("custom-theme", custom_theme)