Skip to main content

PurgeCSS logo

npm npm NPM

info

PurgeTSS is a toolkit designed to enhance the development of mobile applications using the Titanium framework. It introduces several key features to streamline the app development process, making it simpler and more efficient for developers.

It offers a range of tools such as customizable utility classes, support for icon fonts, a user-friendly Animation module, a straightforward grid system, and the added convenience of the shades command for crafting personalized colors.

With PurgeTSS, creating visually appealing and dynamic mobile apps becomes more accessible and efficient.


Here are its main functionalities:

  • Tailwind-like Utility Classes: PurgeTSS offers over 21,000 utility classes similar to Tailwind CSS, providing a vast array of styling options for your projects.
  • Efficient Style Management: It parses all your XML files to create a clean app.tss file, containing only the classes actually used in your project. This helps in reducing file size and improving performance.
  • Customization and JIT Classes: Developers can customize default classes via a simple configuration file. It also supports just-in-time (JIT) classes, allowing the creation of arbitrary values within views for tailored styling.
  • Icon Fonts Integration: PurgeTSS facilitates the use of popular icon fonts such as Font Awesome, Material Icons, Material Symbols, and Framework7-Icons in Buttons and Labels.
  • fonts.tss Generation: This process creates a fonts.tss file with class definitions and fontFamily selectors for various font types, making it easy to add custom fonts, including icon fonts, to a project.
  • Shades Command: The toolkit includes a shades command that enables developers to generate custom color shades from a specified hex color, eliminating the need for external tools.
  • Animation Module: PurgeTSS comes with an Animation module to apply basic 2D Matrix animations or transformations to elements or arrays of elements.
  • Grid System: It includes a simple yet effective two-dimensional grid system to align and distribute elements within views.

Overall, PurgeTSS aims to simplify the mobile app development process, offering tools and features that enhance productivity and creativity in designing user interfaces.

Table of Content