info
PurgeTSS is a toolkit for building mobile apps with the Titanium framework. It adds practical utilities for styling and setup work.
It includes utility classes, icon font support, an Animation module, a simple grid system, and the shades command for generating custom colors.
If you build UI-heavy screens, PurgeTSS keeps you from hand-writing long TSS files.
What it does:
- 23,300+ utility classes for colors, spacing, typography, layout, and more.
- Parses XML files and writes an
app.tsswith only the classes you use. - Customizable through
config.cjs, with arbitrary values for one-off sizes and colors. - Icon fonts for Buttons and Labels: Font Awesome, Material Icons, Material Symbols, and Framework7-Icons in Alloy and Classic projects.
build-fontsinstalls custom fonts in Alloy or Classic; TSS class definitions are generated only for Alloy.shadescommand generates color palettes from a hex value.- Animation module with 2D transforms, draggable views with collision detection, sequential animations, and position utilities.
- Grid system for aligning and distributing elements in rows and columns.
Table of Contents
- Installation
- Commands
- App Assets
- Customization
- The UI Module
- Best Practices
- Grid System
Changelog
Unreleased
v7.16.2
- Custom-font modules expose every processed family.
build-fonts --modulemaps each TTF/OTF to the exact PostScript name Titanium expects, even when the project contains no icon CSS. - Classic color commands avoid unrelated empty source folders.
shadesupdates onlypurgetss/config.cjs, whilecolor-modulewrites the CommonJS file underResources/lib/without initializing brand, font, image, or Alloy scaffolding.
v7.16.1
- Titanium Classic video production assets were added, together with clearer PurgeTSS diagnostics when an automatic Alloy purge fails.
v7.16.0
- Round non-icon artwork without pre-masking app icons.
brand.artworkCornerRadius, piece overrides, and six one-run flags cover the 28 legacy splash PNGs, Feature Graphic, and LaunchLogo. Store/launcher icons stay square for platform masking, and existing projects retain byte-compatible output at the0%default. appicon.paddingnow has a matching CLI flag. The canonical config exposes its10%default and--appicon-paddinghandles temporary changes.
→ See the full changelog for older releases (v7.15.0 and earlier).