purgetss 6.1.2 → 6.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +6 -5
  2. package/index.js +1 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -17,11 +17,12 @@
17
17
  # Key features of PurgeTSS
18
18
 
19
19
  - Provides almost 19,000 **[Tailwind-like utility classes](https://tailwindcss.com/)** ready to use in your projects.
20
- - It creates a clean **`app.tss`** file with only the classes used in your project by parsing all your XML files.
21
- - You can customize any of the default classes through a simple configuration file, or you can create _just-in-time_ classes with **arbitrary values** within the `Views`.
22
- - You can easily use **Font Awesome**, **Material Design** and **Framework7-Icons** fonts in `Buttons` and `Labels`.
23
- - You can create a **`fonts.tss`** file with all the class definitions and fontFamily selectors from any Icon, Serif, Sans-Serif, Cursive, Fantasy or Monospace font families.
24
- - Includes an **Animation module** to apply basic 2D Matrix animations or transformations to any element or to an `Array` of elements.
20
+ - Creates a clean **`app.tss`** file with only the classes used in your project by parsing all your XML files.
21
+ - You can customize any of the default classes via a simple configuration file, or you can create *just-in-time* classes with **arbitrary values** within your `Views`.
22
+ - You can easily use fonts from **Font Awesome**, **Material Design** and **Framework7-Icons** on `Buttons` and `Labels`.
23
+ - Generates a **`fonts.tss`** file with all class definitions and *fontFamily* selectors for any Icon, Serif, Sans-Serif, Italic, Fancy, or Monospace font.
24
+ - Use the `shades` command to generate custom color shades from the given hex color to use in your projects. You no longer need a separate online tool to generate them.
25
+ - Includes an **Animation module** to apply basic 2D Matrix animations or transform any element or `Array` of elements.
25
26
  - Includes a simple two-dimensional **Grid System** to align and distribute elements in your views.
26
27
 
27
28
  ### Visit the official documentation site at [purgetss.com](https://purgetss.com) to learn more about PurgeTSS
package/index.js CHANGED
@@ -399,7 +399,7 @@ function cleanDoubleQuotes(configFile, options) {
399
399
 
400
400
  if (options.quotes) return json;
401
401
 
402
- json = json.replace(/"([^"]+)":/g, (match, p1) => (p1.match(/[._-]/)) ? `'${p1}':` : `${p1}:`);
402
+ json = json.replace(/"([^"]+)":/g, (match, p1) => (p1.match(/[#._-]/)) ? `'${p1}':` : `${p1}:`);
403
403
 
404
404
  return json.replaceAll("\"", "'");
405
405
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "purgetss",
3
- "version": "6.1.2",
3
+ "version": "6.1.3",
4
4
  "description": "An extension for Titanium SDK that contains a set of Tailwind-like classes to easily and quickly create beautifully designed mobile apps.",
5
5
  "main": "index.js",
6
6
  "bin": {