This Sample App demonstrates the ease of creating a custom color palette for your Titanium mobile application using PurgeTSS.
We've created a custom color palette inspired by Bootstrap 5 colors and showcased it within the app. This project aims to highlight how simple it is to work with and recreate a personalized color palette using PurgeTSS.
First, make sure you have PurgeTSS installed globally on your machine:
> npm i -g purgetss
To get started with this Sample App and explore the custom color palette, follow these steps:
-
Clone this repository to your local machine:
git clone git@github.com:macCesar/Bootstrap-5-Colors-in-PurgeTSS.git
-
Install the necessary dependencies for your Titanium project.
-
Open the project in your preferred code editor or IDE.
-
Explore the color palette configurations in
purgetss/config.js
to understand how the custom color palette is implemented. -
Run the app on your simulator or device to see the custom color palette in action.
-
You can copy the
config.js
file to your Titanium project to use the custom color palette in your app.
- Bootstrap 5 Color Palette Documentation - Refer to Bootstrap 5 documentation for additional information on theme colors.
If you'd like to contribute to this Sample App or have suggestions for improvements, please feel free to open an issue or submit a pull request.
This Sample App is open-source and available under the MIT License.