找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2582|回复: 0

How to : Skin CM4 - Part IV

[复制链接]
发表于 2003-3-15 10:04:43 | 显示全部楼层 |阅读模式
Changing the colour of text etc in a skin
Each skin comes with a settings file, contained in the directory of your skin called .xml (where is the name of your skin obviously!

In this, you can choose to change the size of key elements in a skin, like button text size, button text colour etc.

Have a quick look through the existing ones that are there now. They are well commented, so it's fairly easy to change things around.

Colours can be specified by name or by rgb value.... for example


<colour name="orange"/>
this will display orange text
<colour red="255" green="0" blue="0"/>
this will display red text
Easy enough to follow! :D

All of the settings that you can change can be found in the global settings file, called settings.xml, which can be found at the root of the data directory.

This determines text font/size/style/colour, but also some timeouts, some default sizes, the background picture mode, and some other things!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|FMFans ( 京ICP备07501235号 )

GMT+8, 2024-11-23 16:11 , Processed in 0.027942 second(s), 11 queries , Gzip On, APCu On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表