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.
- package/README.md +6 -5
- package/index.js +1 -1
- 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
|
-
-
|
|
21
|
-
- You can customize any of the default classes
|
|
22
|
-
- You can easily use **Font Awesome**, **Material Design** and **Framework7-Icons**
|
|
23
|
-
-
|
|
24
|
-
-
|
|
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(/[
|
|
402
|
+
json = json.replace(/"([^"]+)":/g, (match, p1) => (p1.match(/[#._-]/)) ? `'${p1}':` : `${p1}:`);
|
|
403
403
|
|
|
404
404
|
return json.replaceAll("\"", "'");
|
|
405
405
|
}
|
package/package.json
CHANGED