purgetss 6.1.2 → 6.2.0
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 -6
- package/bin/purgetss +3 -3
- package/dist/{materialdesignicons.js → materialicons.js} +2 -4
- package/dist/materialicons.tss +2324 -0
- package/dist/materialsymbols.js +1 -1
- package/dist/materialsymbols.tss +2 -2
- package/docs/whats-new/v2.5.3.md +2 -1
- package/docs/whats-new/v5.1.0.md +1 -1
- package/docs/whats-new/v5.3.1.md +1 -1
- package/index.js +24 -29
- package/lib/build-material-icons-js.js +2 -2
- package/lib/build-material-icons-tss.js +3 -3
- package/lib/templates/materialicons/reset.tss +13 -19
- package/lib/templates/materialicons/template.js +2 -4
- package/lib/templates/materialicons/template.tss +2 -4
- package/lib/templates/materialsymbols/reset.tss +1 -1
- package/lib/templates/materialsymbols/template.js +1 -1
- package/lib/templates/materialsymbols/template.tss +1 -1
- package/package.json +1 -1
- package/dist/materialdesignicons.tss +0 -2332
package/README.md
CHANGED
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
---
|
|
16
16
|
|
|
17
17
|
# Key features of PurgeTSS
|
|
18
|
-
|
|
19
18
|
- 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
|
|
23
|
-
-
|
|
24
|
-
-
|
|
19
|
+
- Creates a clean **`app.tss`** file with only the classes used in your project by parsing all your XML files.
|
|
20
|
+
- 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`.
|
|
21
|
+
- You can easily use icon fonts from **Font Awesome**, **Material Icons**, **Material Symbols** and **Framework7-Icons** on `Buttons` and `Labels`.
|
|
22
|
+
- Generates a **`fonts.tss`** file with all class definitions and *fontFamily* selectors for any Icon, Serif, Sans-Serif, Italic, Fancy, or Monospace font.
|
|
23
|
+
- 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.
|
|
24
|
+
- Includes an **Animation module** to apply basic 2D Matrix animations or transform any element or `Array` of elements.
|
|
25
25
|
- Includes a simple two-dimensional **Grid System** to align and distribute elements in your views.
|
|
26
26
|
|
|
27
27
|
### Visit the official documentation site at [purgetss.com](https://purgetss.com) to learn more about PurgeTSS
|
package/bin/purgetss
CHANGED
|
@@ -39,7 +39,7 @@ program
|
|
|
39
39
|
.help(`Creates a new Alloy Project with ${chalk.green('PurgeTSS')} configured. You’ll need to have ${chalk.yellow('app.idprefix')} and ${chalk.yellow('app.workspace')} already configured.`)
|
|
40
40
|
.option('-f, --force', 'To overwrite an existing project')
|
|
41
41
|
.option('-t, --tailwind', `To install ${chalk.green('Tailwind CSS')} in your project for Tailwind CSS Intellisense VS Code extension`)
|
|
42
|
-
.option('-v, --vendor <arguments>', `Use any of the following arguments to copy specific font vendors:\n ${chalk.yellow('fa')} = Font Awesome Icons\n ${chalk.yellow('
|
|
42
|
+
.option('-v, --vendor <arguments>', `Use any of the following arguments to copy specific font vendors:\n ${chalk.yellow('fa')} = Font Awesome Icons\n ${chalk.yellow('mi')} = Material Icons\n ${chalk.yellow('ms')} = Material Symbols\n ${chalk.yellow('f7')} = Framework7 Icons`)
|
|
43
43
|
.argument('<name>', 'The name of the project')
|
|
44
44
|
.action((args, options, logger) => {
|
|
45
45
|
purgetss.create(args, options);
|
|
@@ -93,8 +93,8 @@ program
|
|
|
93
93
|
.command('fonts')
|
|
94
94
|
.alias('f')
|
|
95
95
|
.description('Copies default icon font libraries into your project')
|
|
96
|
-
.help(`Copy Font Awesome (Brands, Regular, Solid), Material
|
|
97
|
-
.option('-v, --vendor <arguments>', `Use any of the following arguments to copy specific font vendors:\n ${chalk.yellow('fa')} = Font Awesome Icons\n ${chalk.yellow('
|
|
96
|
+
.help(`Copy Font Awesome (Brands, Regular, Solid), Material Icons, Material Symbols or Framework 7 icons,\ninto your projects’s ${chalk.yellow('app/assets/fonts/')} folder and their names fixed to work on iOS and Android`)
|
|
97
|
+
.option('-v, --vendor <arguments>', `Use any of the following arguments to copy specific font vendors:\n ${chalk.yellow('fa')} = Font Awesome Icons\n ${chalk.yellow('mi')} = Material Icons\n ${chalk.yellow('ms')} = Material Symbols\n ${chalk.yellow('f7')} = Framework7 Icons`)
|
|
98
98
|
.option('-m, --modules', `Use the --modules option to also copy the corresponding CommonJS module into ${chalk.yellow('./app/lib/')} folder`)
|
|
99
99
|
.action((args, options, logger) => {
|
|
100
100
|
purgetss.copyFonts(options);
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Material
|
|
3
|
-
*
|
|
4
|
-
* Material design icons is the official icon set from Google. https://material.io/design/iconography/system-icons.html
|
|
5
|
-
* Material design guidelines: https://material.io/guidelines/.
|
|
2
|
+
* Material Icons 4.0.0. by Google (https://github.com/google/material-design-icons)
|
|
3
|
+
* Material icons is the official icon set from Google. https://fonts.google.com/icons
|
|
6
4
|
* Update material icons [09/19/22]
|
|
7
5
|
*/
|
|
8
6
|
|