Theme Management Tool
| (16 intermediate revisions by one user not shown) | |||
| Line 1: | Line 1: | ||
<meta name="keywords" content="modulesgarden theme presets, modulesgarden theme configuration, modulesgarden theme management tool, modulesgarden theme guide, modulesgarden theme examples, modulesgarden theme documentation, modulesgarden theme wiki, whmcs theme presets, whmcs theme customization, whmcs admin theme"></meta> | <meta name="keywords" content="modulesgarden theme presets, modulesgarden theme configuration, modulesgarden theme management tool, modulesgarden theme guide, modulesgarden theme examples, modulesgarden theme documentation, modulesgarden theme wiki, whmcs theme presets, whmcs theme customization, whmcs admin theme"></meta> | ||
| − | <meta name="description" content="ModulesGarden Wiki Contains All The Information You Need About Theme Presets Management Tool Used Across | + | <meta name="description" content="ModulesGarden Wiki Contains All The Information You Need About Theme Presets Management Tool Used Across WHMCS Modules."></meta> |
| − | + | ||
| − | + | ||
| − | + | ||
=About Theme Managemnt Tool= | =About Theme Managemnt Tool= | ||
{| | {| | ||
| − | |style="padding: 10px 0px 30px 15px;"|The '''Theme''' management tool allows you to customize the appearance of the module interface using configurable | + | |style="padding: 10px 0px 30px 15px;"|The '''Theme''' management tool allows you to customize the appearance of the module interface using configurable templates.<br/> A theme template defines colors used across the UI, including backgrounds, text, buttons, inputs, and system messages, and can be assigned independently to the Admin Area, Client Area, or both.<br/> |
| − | + | Create your own themes or use the built-in and officially supported '''Default''' and '''Dark''' themes to maintain a consistent appearance across all ModulesGarden modules. | |
|} | |} | ||
| Line 17: | Line 14: | ||
|} | |} | ||
| − | == | + | ==Themes== |
{| | {| | ||
|style="padding: 10px 0px 15px 15px;"| | |style="padding: 10px 0px 15px 15px;"| | ||
| − | To access the | + | To access the theme management section, navigate to your addon module menu: ''Navigation → Tools/Others → Themes'' or find it directly in the main menu, depending on the module.<br/> |
| − | The main view displays all available | + | The main view displays all available themes along with their status and assigned areas.<br/> |
| − | The standard | + | The standard package includes the following built-in themes: |
| − | * '''Default | + | * '''Default''' – used across all ModulesGarden modules; this theme is protected and cannot be modified or deleted. To make changes, create a new preset based on it. |
| − | * '''Dark | + | * '''Dark''' – pre-configured, officially supported dark theme intended for use as is or for further customization. |
| − | * ''' | + | * '''Ocean Mint''' – sample custom preset available for modification.<br/> |
| − | '''''Important:''' The "Default" | + | '''''Important:''' The "Default" and "Dark" themes are the only officially supported themes. The remaining ones are provided as examples and may require adjustments before use.'' |
|} | |} | ||
{| | {| | ||
| Line 33: | Line 30: | ||
{| | {| | ||
|style="padding: 0px 0px 15px 15px;"| | |style="padding: 0px 0px 15px 15px;"| | ||
| − | To '''create''' a new | + | To '''create''' a new theme: |
| − | * Click '''Create | + | * Click '''Create Theme''' |
* Enter a '''Name''' | * Enter a '''Name''' | ||
| − | * Select a | + | * Select a theme to copy settings from |
* Confirm creation<br/> | * Confirm creation<br/> | ||
| − | The newly created | + | The newly created theme will appear on the list. You can then edit its settings to match your needs. |
|} | |} | ||
{| | {| | ||
| Line 44: | Line 41: | ||
|} | |} | ||
{| | {| | ||
| − | |style="padding: 0px 0px 15px 15px;"|To '''activate''' a selected | + | |style="padding: 0px 0px 15px 15px;"|To '''activate''' a selected theme: |
* Click '''Activate''' | * Click '''Activate''' | ||
* Choose the destination: | * Choose the destination: | ||
| Line 51: | Line 48: | ||
** Both | ** Both | ||
* Confirm changes<br/> | * Confirm changes<br/> | ||
| − | You can assign different | + | You can assign different themes to the admin and client areas to better match your preferred appearance. |
|} | |} | ||
{| | {| | ||
| Line 57: | Line 54: | ||
|} | |} | ||
{| | {| | ||
| − | |style="padding: 0px 0px 15px 15px;"| | + | |style="padding: 0px 0px 15px 15px;"|Themes can be '''saved as files''' and reused across environments. |
| − | * '''Export''' - download a | + | * '''Export''' - download a theme as a JSON file for reuse in another module |
|} | |} | ||
{| | {| | ||
| Line 65: | Line 62: | ||
{| | {| | ||
|style="padding: 0px 0px 15px 15px;"| | |style="padding: 0px 0px 15px 15px;"| | ||
| − | * '''Import''' - upload an existing | + | * '''Import''' - upload an existing theme file and optionally rename it for the current module |
|} | |} | ||
{| | {| | ||
| Line 72: | Line 69: | ||
{| | {| | ||
|style="padding: 0px 0px 15px 15px;"| | |style="padding: 0px 0px 15px 15px;"| | ||
| − | '''1. Edit''' | + | '''1. Edit''' theme to adjust the module's appearance.<br/> |
| − | '''2. Remove''' any unused | + | '''2. Remove''' any unused themes. Note that the "Default" theme and any theme currently assigned to an area cannot be deleted. |
|} | |} | ||
{| | {| | ||
| Line 81: | Line 78: | ||
==Editing in Basic Mode== | ==Editing in Basic Mode== | ||
{| | {| | ||
| − | |style="padding: 10px 0px 15px 15px;"|When editing a | + | |style="padding: 10px 0px 15px 15px;"|When editing a theme, you can switch between two modes depending on the level of control required: |
| − | * ''' | + | * '''Mode:''' |
| − | * '''Expert Mode''' - detailed customization | + | ** '''Expert Mode''' - detailed customization; explained in the next section |
| + | ** '''Basic Mode''' - simplified configuration <br/> Allows you to quickly define a consistent appearance using global color groups. | ||
| − | ''' | + | * '''Theme Base:''' |
| − | * On the left side, you will find specific areas with default colors configured.<br/> | + | ** '''Default''' – the theme is based on the default style. The original ModulesGarden logo will be used. |
| − | * On the right side, you will find a live preview of the display modification.<br/> Whenever you change a color on the left, its live preview will display the change. To '''revert to default''' colours, just press the 'Reset to default' icon next to each setting | + | ** '''Dark''' – the theme is based on the dark style. A dedicated ModulesGarden logo optimized for dark backgrounds will be used. |
| − | + | <br/> | |
| + | '''Preview:''' | ||
| + | * On the '''left side''', you will find specific areas with default colors configured and open for customisation.<br/> | ||
| + | * On the '''right side''', you will find a '''live preview''' of the display modification.<br/> Whenever you change a color on the left, its live preview will display the change. To '''revert to default''' colours, just press the 'Reset to default' icon next to each setting.<br/> | ||
| − | For your convenience, each option includes a tooltip with the corresponding CSS variable name. This makes it easy to identify which variable controls a given element and locate it directly in the configuration. | + | Remember to save the changes when your custom theme is ready.<br/> |
| + | |||
| + | For your convenience, each option includes a '''tooltip with the corresponding CSS variable name'''. This makes it easy to identify which variable controls a given element and locate it directly in the configuration. | ||
|} | |} | ||
{| | {| | ||
| Line 104: | Line 107: | ||
* Component background - Background used for containers like tables and cards. | * Component background - Background used for containers like tables and cards. | ||
* Component border - Border color for containers and separators. | * Component border - Border color for containers and separators. | ||
| − | * Icons - Color of icons used in navigation and UI elements. | + | * Module name - Color of the module name next to the logo (logo colors do not apply to changes). |
| + | * Module version - text with the used version number located at the very bottom of each module page. | ||
| + | * Headers - Color of header texts. | ||
| + | * Icons - Color of icons used in navigation and UI elements. | ||
|} | |} | ||
{| | {| | ||
| Line 139: | Line 145: | ||
* Warning | * Warning | ||
* Danger | * Danger | ||
| + | * Critical | ||
Each type includes the following states: | Each type includes the following states: | ||
| Line 153: | Line 160: | ||
|} | |} | ||
| − | === | + | ===Others=== |
{| | {| | ||
|style="padding: 0px 0px 20px 15px;"| | |style="padding: 0px 0px 20px 15px;"| | ||
| − | ''' | + | '''Others''' with tooltip appearance settings: |
* Icon - Color of the tooltip icon. | * Icon - Color of the tooltip icon. | ||
* Text - Text color inside tooltips. | * Text - Text color inside tooltips. | ||
| Line 172: | Line 179: | ||
|style="padding: 10px 0px 30px 15px;"| | |style="padding: 10px 0px 30px 15px;"| | ||
Expert Mode provides full control over every interface element, allowing you to customize the module's appearance in detail.<br/> | Expert Mode provides full control over every interface element, allowing you to customize the module's appearance in detail.<br/> | ||
| − | Each option includes a tooltip with the assigned CSS variable name, allowing you to clearly identify which variable controls a specific element and reference it in the configuration.<br/> | + | * '''Tooltip''' - Each option includes a tooltip with the assigned CSS variable name, allowing you to clearly identify which variable controls a specific element and reference it in the configuration.<br/> |
| − | Use the '''target''' icon to locate the currently customized item with its live preview on the right side.<br/> | + | * '''Target''' - Use the '''target''' icon to locate the currently customized item with its live preview on the right side.<br/> |
| − | To '''revert to default''' colours, just press the 'Reset to default' icon next to each setting. | + | * '''Reset''' - To '''revert to default''' colours, just press the 'Reset to default' icon next to each setting. |
|} | |} | ||
| Line 233: | Line 240: | ||
|style="padding: 10px 0px 15px 15px;"| | |style="padding: 10px 0px 15px 15px;"| | ||
* '''General Fields''' – text, background, and border | * '''General Fields''' – text, background, and border | ||
| + | * '''Labels''' - text & background | ||
* '''Switchers''' – knob, background (inactive), and background (active) | * '''Switchers''' – knob, background (inactive), and background (active) | ||
* '''Checkboxes''' – background (active), border (active), and checkmark color ''(color of the checkmark inside the checkbox)'' | * '''Checkboxes''' – background (active), border (active), and checkmark color ''(color of the checkmark inside the checkbox)'' | ||
| − | * ''' | + | * '''Select''' – dropdown text, active text, and background, along with: |
** '''Option Text''' – text color of options in the dropdown list | ** '''Option Text''' – text color of options in the dropdown list | ||
** '''Option Background''' – background of options in the dropdown list | ** '''Option Background''' – background of options in the dropdown list | ||
| Line 289: | Line 297: | ||
{| | {| | ||
|style="padding: 0px 0px 30px 25px;"|[[File:TH_16_1.png]] | |style="padding: 0px 0px 30px 25px;"|[[File:TH_16_1.png]] | ||
| + | |} | ||
| + | |||
| + | ===Tile Buttons=== | ||
| + | {| | ||
| + | |style="padding: 10px 0px 15px 15px;"| | ||
| + | Icon color variants for standard and on hover views: | ||
| + | * Text | ||
| + | * Background | ||
| + | * Border | ||
| + | |} | ||
| + | {| | ||
| + | |style="padding: 0px 0px 20px 25px;"|[[File:TH_16_2.png]] | ||
| + | |} | ||
| + | {| | ||
| + | |style="padding: 0px 0px 30px 25px;"|[[File:TH_16_3.png]] | ||
|} | |} | ||
| Line 302: | Line 325: | ||
* Warning | * Warning | ||
* Danger | * Danger | ||
| + | * Critical | ||
|} | |} | ||
{| | {| | ||
| Line 321: | Line 345: | ||
* Warning | * Warning | ||
* Danger | * Danger | ||
| + | * Critical | ||
|} | |} | ||
{| | {| | ||
| Line 421: | Line 446: | ||
{| | {| | ||
|style="padding: 0px 0px 30px 25px;"|[[File:TH_23_1.png]] | |style="padding: 0px 0px 30px 25px;"|[[File:TH_23_1.png]] | ||
| + | |} | ||
| + | |||
| + | ===Graphs=== | ||
| + | {| | ||
| + | |style="padding: 10px 0px 20px 15px;"| | ||
| + | Configure graph general colors and tooltip details display. | ||
| + | |} | ||
| + | {| | ||
| + | |style="padding: 0px 0px 20px 25px;"|[[File:TH_23_2.png]] | ||
| + | |} | ||
| + | {| | ||
| + | |style="padding: 0px 0px 30px 25px;"|[[File:TH_23_3.png]] | ||
|} | |} | ||
Latest revision as of 19:04, 6 August 2026
Contents |
[edit] About Theme Managemnt Tool
| The Theme management tool allows you to customize the appearance of the module interface using configurable templates. A theme template defines colors used across the UI, including backgrounds, text, buttons, inputs, and system messages, and can be assigned independently to the Admin Area, Client Area, or both. Create your own themes or use the built-in and officially supported Default and Dark themes to maintain a consistent appearance across all ModulesGarden modules. |
[edit] Management
|
The Theme section in your addon allows you to create, manage, and apply visual configurations for ModulesGarden modules wherever they are accessible. |
[edit] Themes
|
To access the theme management section, navigate to your addon module menu: Navigation → Tools/Others → Themes or find it directly in the main menu, depending on the module.
Important: The "Default" and "Dark" themes are the only officially supported themes. The remaining ones are provided as examples and may require adjustments before use. |
|
|
To create a new theme:
The newly created theme will appear on the list. You can then edit its settings to match your needs. |
|
To activate a selected theme:
You can assign different themes to the admin and client areas to better match your preferred appearance. |
|
Themes can be saved as files and reused across environments.
|
|
|
|
|
1. Edit theme to adjust the module's appearance. |
|
[edit] Editing in Basic Mode
When editing a theme, you can switch between two modes depending on the level of control required:
Remember to save the changes when your custom theme is ready. For your convenience, each option includes a tooltip with the corresponding CSS variable name. This makes it easy to identify which variable controls a given element and locate it directly in the configuration. |
|
[edit] General
|
General settings include:
|
|
|
[edit] Inputs
|
Input element settings:
|
|
|
[edit] Color Types
|
Color Types define the main color variants for texts, buttons, icons, labels, badges, alerts and hints:
Each type includes the following states:
|
|
|
[edit] Others
|
Others with tooltip appearance settings:
|
|
|
[edit] Editing in Expert Mode
|
Expert Mode provides full control over every interface element, allowing you to customize the module's appearance in detail.
|
[edit] General
|
|
|
[edit]
|
Navigation – controls the appearance of the menu and its elements:
|
|
|
[edit] Inputs
|
|
|
[edit] Text
|
Text color variants used across the interface:
|
|
|
[edit] Buttons
| Buttons - plain, outline, link, and icon styles. Each style includes the following types:
Each type includes color settings for:
|
|
|
[edit] Tile Buttons
|
Icon color variants for standard and on hover views:
|
|
|
[edit] Icons
|
Icon color variants:
|
|
|
[edit] Labels
|
Set colors for text and background of plain, outline, and status type labels:
|
|
|
[edit] Badges
|
Text, background, and border for standard badges and outline badges:
|
|
|
[edit] Alerts
|
Text and background for alerts and outline alerts of following types:
|
|
|
[edit] Hints
|
Define color pattern for hints:
|
|
|
[edit] Progress Bars
Configure progress bar colors, including:
Available color variants:
|
|
|
[edit] Sliders
|
Configure slider colors (Primary and Danger), including:
|
|
|
[edit] Graphs
|
Configure graph general colors and tooltip details display. |
|
|
[edit] Code Box
|
Code text box display styling options. |
|
|
[edit] URLs
|
Styling options for links, links on hover and active (pressed) ones. |
|
|
[edit] Others
|
Tooltip elements:
|
|
|
[edit] Examples
| Here we are illustrating how a module display may change when a fully customized theme is used across the admin and client areas. Proxmox VE VPS & Cloud For WHMCS module addon view: |
|
|
| Proxmox VE VPS & Cloud client area product view: |
|
|
[edit] Tips
| 1. Export presets to keep backup copies of your configurations and reuse them across other ModuelsGarden modules. |
| 2. Test changes in both admin and client areas, using separate presets is often more effective due to different user needs. |
| 3. Built-in presets are provided as examples and can be freely modified. They are not officially supported or guaranteed to be fully compatible with all ModulesGarden modules. If you encounter any issues, adjust the styles as needed. |




















































