ATHs are zip files, for those of you looking for more examples, just unzip these files and take a dive! If you'd like to see your theme here, email justinsblog@aim.com
AIM Lite themes are made up of Boxely markup. Each theme is packaged as an ATH file, which is a ZIP file with an .ath extension. ATH files contain, at a minimum, a theme.box metadata file, and a markup or image files in the theme. The theme.box file contains a single "theme" element, similar to the following:
<?xml version="1.0" encoding="UTF-8"?>
<themes>
<theme id="mythemeid" persists="false"
author="My Name" version="1.0"
displayName="My First Theme"
description="Heeeeere's my theme!"
date="12/1/2006">
<themeLibrary src="library.box"/>
</theme>
</themes>
The themeLibrary file, library.box, is a standard boxely style library used by boxely to overload any styles in AIM Lite. Any styles or images in laim can be overloaded by your theme, and everything can be referenced from one themeLibrary. You can organize your styles into multiple files and reference them by multiple themeLibraries. If you'd like your theme to include some of the standard laim styles, make sure you have an import to the laim toolkit at the top of your library. For example, an empty theme that mirrors the laim theme would look like this:
<?xml version="1.0" encoding="UTF-8"?>
<?import href="box://boxelyAIMApp/theme/library.box"?>
<library xmlns="http://www.aol.com/boxely/resource.xsd"
xmlns:box="http://www.aol.com/boxely/box.xsd"
xmlns:on="http://www.aol.com/boxely/reaction.xsd"
xmlns:s="http://www.aol.com/boxely/style.xsd">
<!-- empty -->
</library>
An ATH file will override styles by using the same ids used in AIM Lite. For example, looking at the file:
C:\Program Files\AIM Lite\
services\boxelyAIMApp\ver1_5_3_0\theme\library.box
bold section may be different depending on
where you installed laim
shows a majority of the styles used by laim, although some are located in other files in the theme folder. If you'd like to, for example, change the color and font of the text in the buddy list, look for the text:
<style id="sname" s:padding="1 3 0 5"
textHighlight="url(#brush.searchHilight)">
<attribute name="idle"
value="1" textColor="#9D9D9D"/>
<attribute name="offline"
value="1" textColor="#9D9D9D"
fontItalics="true"/>
<attribute name="onlining" value="1"
textColor="#408019"
fontBold="true"/>
</style>
If you would like to change the default text color to blue, just add textColor="blue" to the first style line. If you'd like to make the text color of a buddy who just signed on to #CFCFCF, replace the "onlining" lines textColor value. If prefer to not show that state change, just remove that line. Then place your new "sname" style into your new library.box file referenced in your theme. A themeLibrary that just changes an individual buddy row label might look like this:
<?xml version="1.0" encoding="UTF-8"?>
<?import href="box://boxelyAIMApp/theme/library.box"?>
<library xmlns="http://www.aol.com/boxely/resource.xsd"
xmlns:box="http://www.aol.com/boxely/box.xsd"
xmlns:on="http://www.aol.com/boxely/reaction.xsd"
xmlns:s="http://www.aol.com/boxely/style.xsd">
<style id="sname" s:padding="1 3 0 5"
textColor="#8FDFE7"
textHighlight="url(#brush.searchHilight)">
<attribute name="idle"
value="1" textColor="#FA7CAB"/>
<attribute name="offline"
value="1" textColor="#purple"
fontItalics="true"/>
<attribute name="onlining"
value="1" textColor="#F32C82"
fontBold="true"/>
</style>
</library>
Deploying an ATH consists of zipping up the desired files (including the required theme.box) into a ZIP file with an .ath extension, and placing that file in a public location.