|
There are 3 steps to create a new template:
1. Define a name: This name is very important and case sensitive. It
will be used to reference the new template
2. Create the config file: create a file called theme.cfg
and place it in the following directory:
themes_config/theme_name/theme.cfg
Edit the theme.cfg to reflect the changes as follows:
| Parameter |
--------- |
Description |
| background |
--------- |
background color |
| gr_ch_ni_back_fill |
--------- |
list of users and rooms background color |
| gr_ch_ni_fore_fill |
--------- |
list of users and rooms text color |
| gr_ch_ni_title_fill |
--------- |
list of users and rooms title text color |
| gr_ch_ni_sel_back_fill |
--------- |
list of users and rooms background color (selected state) |
| gr_ch_ni_sel_fore_fill |
--------- |
list of users and rooms foreground color (selected state) |
| gr_ch_ni_sel_title_fill |
--------- |
list of users and rooms title text color (selected state) |
| gr_button_text_fill |
--------- |
buttons' text color |
| gr_button2_text_fill |
--------- |
buttons' text color |
| gr_lists_fill |
--------- |
lists' empty area's color |
| gr_msg_back_fill |
--------- |
messages' background |
| gr_fmsg_back_fill |
--------- |
reserved |
| gr_pmsg_back_fill |
--------- |
private messages' background |
| gr_msg_fore_fill |
--------- |
messages' text |
| gr_msg_title_fore_fill |
--------- |
titles' text |
| gr_note_fore_fill |
--------- |
messages' text (notes) |
| gr_note_title_fore_fill |
--------- |
titles' text (notes) |
| gr_err_fore_fill |
--------- |
messages' text (errors) |
| gr_err_title_fore_fill |
--------- |
titles' text (errors) |
| screen_font_name |
--------- |
name of screen font face |
| screen_font_style |
--------- |
style of screen font : b,i,bi |
| screen_font_size |
--------- |
size of screen font |
| title_font_name |
--------- |
name of title font face |
| title_font_style |
--------- |
style of title font : b,i,bi |
| title_font_size |
--------- |
size of title font |
| message_font_name |
--------- |
name of message font face |
| message_font_style |
--------- |
style of message font : b,i,bi |
| message_font_size |
--------- |
size of message font |
3. Create the Zip file: The next step is to create the zip file which
contains the graphics you created for the theme. Once the zip file is created,
place it in the root directory where the clients files are located.
Note: Only use GIF images.
The zip file structure:
theme_name
-------------themes
------------------name
-----------------------but (All the icons used in the chat interface are
placed here)
-----------------------rect (All the images used for creating the templates,
i.e. line, corners,.. are placed here)
|