Colors
Customizing the Menu's Appearance
The Clothing Menu allows you to personalize its visual style by adjusting the colors in the Config.colorSetup
table. This table uses CSS-like color values to control various aspects of the menu's appearance.
How to Change Colors
Open
shared/config.lua
. Locate theConfig.colorSetup
table.Modify the values: Replace the default color values with your desired colors.
Save the file: Save your changes and restart the script.
Example:
To change the title text to white and the title background to a dark blue, modify the following lines:
Color Formats:
You can use various color formats in the configuration:
Hexadecimal:
#RRGGBB
(e.g.,#FF0000
for red)RGBA:
rgba(R, G, B, A)
(e.g.,rgba(255, 0, 0, 0.5)
for semi-transparent red)Color Names: Common color names like
red
,green
,blue
, etc.
Tips:
Use online color pickers or design tools to find the perfect colors for your menu.
Experiment with different opacity values (the
A
in RGBA) to create subtle or bold effects.Consider using colors that complement your server's overall theme.
Last updated