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.colorSetuptable.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:
titleTextColor = 'rgba(255, 255, 255, 1)', -- White
titleBackgroundColor = '#000080', -- Dark blueColor Formats:
You can use various color formats in the configuration:
Hexadecimal:
#RRGGBB(e.g.,#FF0000for 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
Ain RGBA) to create subtle or bold effects.Consider using colors that complement your server's overall theme.
Last updated