Theme Management Tool
(→Theme Presets) |
|||
| (15 intermediate revisions by one user not shown) | |||
| Line 4: | Line 4: | ||
=About Theme Managemnt Tool= | =About Theme Managemnt Tool= | ||
{| | {| | ||
| − | |style="padding: 10px 0px 30px 15px;"|The ''' | + | |style="padding: 10px 0px 30px 15px;"|The '''Themes''' 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. Each template can be applied separately to the admin area, client area, or both. <br/> |
| − | Compose your own | + | Compose your own theme, or use the built-in examples to maintain visual consistency across all ModulesGarden modules. |
|} | |} | ||
| Line 17: | Line 17: | ||
{| | {| | ||
|style="padding: 10px 0px 15px 15px;"| | |style="padding: 10px 0px 15px 15px;"| | ||
| − | To access the | + | To access the Themes 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 preset is protected and cannot be modified or deleted. To make changes, create a new preset based on it. |
| − | * '''Dark | + | * '''Dark''' – pre-configured dark theme intended for further customization. |
| − | * ''' | + | * '''Ocean Mint''' – sample custom preset available for modification.<br/> |
| − | '''''Important:''' The "Default" | + | '''''Important:''' The "Default" theme is the only officially supported theme. The remaining ones are provided as examples and may require adjustments before use.'' |
|} | |} | ||
{| | {| | ||
| Line 29: | Line 29: | ||
|} | |} | ||
{| | {| | ||
| − | |style="padding: 0px 0px 15px 15px;"|To '''create''' a new | + | |style="padding: 0px 0px 15px 15px;"| |
| − | * Click '''Create | + | To '''create''' a new theme: |
| + | * 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 40: | 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 47: | 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 53: | 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 61: | 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 67: | Line 68: | ||
|} | |} | ||
{| | {| | ||
| − | |style="padding: 0px 0px 15px 15px;"|'''1. Edit''' | + | |style="padding: 0px 0px 15px 15px;"| |
| − | '''2. Remove''' any unused | + | '''1. Edit''' theme to adjust the module appearance.<br/> |
| + | '''2. Remove''' any unused themes. Note that the "Default" theme and any theme currently assigned to an area cannot be deleted. | ||
|} | |} | ||
{| | {| | ||
| Line 76: | 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: |
* '''Basic Mode''' - simplified configuration | * '''Basic Mode''' - simplified configuration | ||
* '''Expert Mode''' - detailed customization | * '''Expert Mode''' - detailed customization | ||
| Line 83: | Line 85: | ||
* On the left side, you will find specific areas with default colors configured.<br/> | * On the left side, you will find specific areas with default colors configured.<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/> | * 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/> | ||
| − | Remember to save the changes when your custom | + | 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. | 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 99: | Line 101: | ||
* 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 134: | Line 139: | ||
* Warning | * Warning | ||
* Danger | * Danger | ||
| + | * Critical | ||
Each type includes the following states: | Each type includes the following states: | ||
| Line 148: | Line 154: | ||
|} | |} | ||
| − | === | + | ===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 175: | Line 181: | ||
{| | {| | ||
|style="padding: 10px 0px 20px 15px;"| | |style="padding: 10px 0px 20px 15px;"| | ||
| − | *'''Base Styles''' | + | * '''Base Styles''' – default text and page background |
| − | ** Default Texts | + | ** '''Default Texts''' – default text color used across the interface |
| − | ** Page Background | + | ** '''Page Background''' – background color of the entire page |
| − | ** Module Name | + | ** '''Module Name''' – module name text style |
| − | ** Module Version | + | ** '''Module Version''' – module version text style |
| − | ** Headers | + | ** '''Headers''' – header text style |
| − | *'''Containers''' | + | |
| − | ** | + | * '''Containers''' – text, background, and borders |
| − | ** | + | |
| − | *'''Modals''' | + | * '''Tables''' |
| − | *'''Dropdowns''' | + | ** '''Dividers''' – lines separating table sections |
| − | **Selected Text | + | ** '''Mass Action Bar Background''' – background of the mass action bar |
| − | **Background and | + | ** '''Pagination Text''' – pagination text color |
| + | ** '''Pagination Text (Active)''' – active pagination text color | ||
| + | ** '''Pagination Icons''' – pagination icon color | ||
| + | |||
| + | * '''Modals''' – text, background, and borders | ||
| + | |||
| + | * '''Dropdowns''' | ||
| + | ** '''Selected Text''' – text of the currently selected value | ||
| + | ** '''Background and Borders''' – dropdown background and border styling | ||
|} | |} | ||
{| | {| | ||
| Line 199: | Line 213: | ||
{| | {| | ||
|style="padding: 10px 0px 20px 15px;"| | |style="padding: 10px 0px 20px 15px;"| | ||
| − | '''Navigation''' | + | '''Navigation''' – controls the appearance of the menu and its elements: |
| + | * '''Text''' – main navigation text color | ||
| + | * '''Icons''' – navigation icon color | ||
| + | * '''Background''' – background of the navigation bar | ||
| + | * '''Text (Active)''' – text color of the currently selected menu item | ||
| + | * '''Submenu Text''' – default submenu item text color | ||
| + | * '''Submenu Text (Hover)''' – submenu text color on hover | ||
| + | * '''Submenu Text (Active)''' – active submenu item text color | ||
| + | * '''Submenu Background''' – background of the submenu area | ||
|} | |} | ||
{| | {| | ||
| Line 211: | Line 233: | ||
{| | {| | ||
|style="padding: 10px 0px 15px 15px;"| | |style="padding: 10px 0px 15px 15px;"| | ||
| − | *'''General Fields''' | + | * '''General Fields''' – text, background, and border |
| − | *''' | + | * '''Labels''' - text & background |
| − | *'''Checkboxes''' | + | * '''Switchers''' – knob, background (inactive), and background (active) |
| − | *''' | + | * '''Checkboxes''' – background (active), border (active), and checkmark color ''(color of the checkmark inside the checkbox)'' |
| − | **Option Text | + | * '''Select''' – dropdown text, active text, and background, along with: |
| − | **Option Background | + | ** '''Option Text''' – text color of options in the dropdown list |
| − | **Remove Button | + | ** '''Option Background''' – background of options in the dropdown list |
| + | ** '''Remove Button''' – color of the remove button in multi-select fields | ||
|} | |} | ||
{| | {| | ||
| Line 228: | Line 251: | ||
===Text=== | ===Text=== | ||
{| | {| | ||
| − | |style="padding: 10px 0px 15px 15px;"|Text color variants: | + | |style="padding: 10px 0px 15px 15px;"| |
| − | * Primary | + | Text color variants used across the interface: |
| − | * Secondary | + | * '''Primary''' – used for general texts |
| − | * Info | + | * '''Secondary''' – supporting or less prominent text |
| − | * Success | + | * '''Info''' – informational messages and highlights |
| − | * Warning | + | * '''Success''' – success states and confirmations |
| − | * Danger | + | * '''Warning''' – warnings and important notices |
| + | * '''Danger''' – errors and critical messages | ||
|} | |} | ||
{| | {| | ||
| Line 245: | Line 269: | ||
===Buttons=== | ===Buttons=== | ||
{| | {| | ||
| − | |style="padding: 10px 0px 15px 15px;"|'''Buttons''' - plain, outline, link, and icon styles<br/> | + | |style="padding: 10px 0px 15px 15px;"|'''Buttons''' - plain, outline, link, and icon styles.<br/> |
| − | + | Each style includes the following types: | |
* Default | * Default | ||
* Primary | * Primary | ||
| Line 259: | Line 283: | ||
* Text - Text color displayed inside the button. | * Text - Text color displayed inside the button. | ||
* Background - Default background color of the button. | * Background - Default background color of the button. | ||
| − | * Background (Hover) - Background color | + | * Background (Hover) - Background color on hover. |
* Background (Active) - Background color when the button is clicked. | * Background (Active) - Background color when the button is clicked. | ||
|} | |} | ||
| Line 267: | Line 291: | ||
{| | {| | ||
|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 280: | Line 319: | ||
* Warning | * Warning | ||
* Danger | * Danger | ||
| + | * Critical | ||
|} | |} | ||
{| | {| | ||
| Line 404: | Line 444: | ||
{| | {| | ||
|style="padding: 10px 0px 20px 15px;"| | |style="padding: 10px 0px 20px 15px;"| | ||
| − | Code text display styling options. | + | Code text box display styling options. |
|} | |} | ||
{| | {| | ||
| Line 410: | Line 450: | ||
|} | |} | ||
{| | {| | ||
| − | |style="padding: 0px 0px | + | |style="padding: 0px 0px 30px 25px;"|[[File:TH_24_1.png]] |
|} | |} | ||
| + | |||
===URLs=== | ===URLs=== | ||
{| | {| | ||
Latest revision as of 14:35, 30 April 2026
Contents |
[edit] About Theme Managemnt Tool
| The Themes 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. Each template can be applied separately to the admin area, client area, or both. Compose your own theme, or use the built-in examples to maintain visual consistency 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] Theme Presets
|
To access the Themes 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" theme is the only officially supported theme. 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 appearance. |
|
[edit] Editing in Basic Mode
When editing a theme, you can switch between two modes depending on the level of control required:
Basic Mode allows you to quickly define a consistent appearance using global color groups.
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] 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. |


















































