purgetss 5.3.7 → 5.3.10
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/assets/fonts/FontAwesome6Brands-Regular.ttf +0 -0
- package/assets/fonts/FontAwesome6Free-Regular.ttf +0 -0
- package/assets/fonts/FontAwesome6Free-Solid.ttf +0 -0
- package/bin/purgetss +6 -6
- package/dist/fontawesome.js +3 -1
- package/dist/fontawesome.tss +3 -1
- package/dist/tailwind.tss +224 -224
- package/index.js +12 -3
- package/lib/helpers.js +4 -2
- package/lib/templates/alloy.jmk +0 -1
- package/lib/templates/fontawesome/free-template.js +1 -1
- package/lib/templates/fontawesome/free-template.tss +1 -1
- package/lib/templates/fontawesome/pro-reset.tss +1 -1
- package/lib/templates/fontawesome/pro-template.js +1 -1
- package/lib/templates/fontawesome/pro-template.tss +1 -1
- package/package.json +2 -2
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/bin/purgetss
CHANGED
|
@@ -10,13 +10,13 @@ const updateNotifier = require('update-notifier');
|
|
|
10
10
|
// check if a new version of PurgeTSS is available and print an update notification
|
|
11
11
|
const notifier = updateNotifier({ pkg });
|
|
12
12
|
if (notifier.update && notifier.update.latest !== pkg.version) {
|
|
13
|
-
notifier.notify({ defer: false, isGlobal: true })
|
|
13
|
+
notifier.notify({ defer: false, isGlobal: true });
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
program
|
|
17
17
|
.version(package.version)
|
|
18
18
|
.description(package.description + '\n\nPlease visit ' + chalk.yellow('https://github.com/macCesar/purgeTSS') + ' for details.')
|
|
19
|
-
.help('PurgeTSS will create a clean app.tss file
|
|
19
|
+
.help('PurgeTSS will create a clean app.tss file with only the classes used in your XML Files.\n\nIt works with tailwind.tss, fontawesome.tss, materialdesignicons.tss, framework7icons.tss.\n\nYour original classes will be backed up in _app.tss.\n\nYou can create your own custom classes and values by running `purgetss init` and `purgetss build`.')
|
|
20
20
|
.option('-d, --debug', 'Show time taken to execute each process.')
|
|
21
21
|
.option('-a, --all', 'Run all processes. purgetss build-fonts, purgetss build and purgetss')
|
|
22
22
|
.action((args, options, logger) => {
|
|
@@ -101,9 +101,9 @@ program
|
|
|
101
101
|
.action((args, options, logger) => {
|
|
102
102
|
logger.info(`${purgetss.colores.purgeLabel} Updating PurgeTSS to the latest version...`);
|
|
103
103
|
|
|
104
|
-
const { exec } = require(
|
|
104
|
+
const { exec } = require('child_process');
|
|
105
105
|
|
|
106
|
-
exec(
|
|
106
|
+
exec('npm update -g purgetss', (error, stdout, stderr) => {
|
|
107
107
|
if (error) {
|
|
108
108
|
logger.info(`${purgetss.colores.purgeLabel} error: ${error.message}`);
|
|
109
109
|
return;
|
|
@@ -126,9 +126,9 @@ program
|
|
|
126
126
|
.action((args, options, logger) => {
|
|
127
127
|
logger.info(`${purgetss.colores.purgeLabel} Updating PurgeTSS to the latest version using sudo...`);
|
|
128
128
|
|
|
129
|
-
const { exec } = require(
|
|
129
|
+
const { exec } = require('child_process');
|
|
130
130
|
|
|
131
|
-
exec(
|
|
131
|
+
exec('sudo npm update -g purgetss', (error, stdout, stderr) => {
|
|
132
132
|
if (error) {
|
|
133
133
|
logger.info(`${purgetss.colores.purgeLabel} error: ${error.message}`);
|
|
134
134
|
return;
|
package/dist/fontawesome.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Font Awesome Free 6.1.
|
|
2
|
+
* Font Awesome Free 6.1.1 by @fontawesome - https://fontawesome.com
|
|
3
3
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -416,6 +416,8 @@ const icons = {
|
|
|
416
416
|
'chevronRight': '\uf054',
|
|
417
417
|
'chevronUp': '\uf077',
|
|
418
418
|
'child': '\uf1ae',
|
|
419
|
+
'childDress': '\ue59c',
|
|
420
|
+
'childReaching': '\ue59d',
|
|
419
421
|
'childRifle': '\ue4e0',
|
|
420
422
|
'children': '\ue4e1',
|
|
421
423
|
'church': '\uf51d',
|
package/dist/fontawesome.tss
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Font Awesome Free 6.1.
|
|
1
|
+
// Font Awesome Free 6.1.1 by @fontawesome - https://fontawesome.com
|
|
2
2
|
// License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
3
3
|
|
|
4
4
|
// Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen readers do not read off random characters that represent icons
|
|
@@ -424,6 +424,8 @@
|
|
|
424
424
|
'.fa-chevron-right': { text: '\uf054', title: '\uf054' }
|
|
425
425
|
'.fa-chevron-up': { text: '\uf077', title: '\uf077' }
|
|
426
426
|
'.fa-child': { text: '\uf1ae', title: '\uf1ae' }
|
|
427
|
+
'.fa-child-dress': { text: '\ue59c', title: '\ue59c' }
|
|
428
|
+
'.fa-child-reaching': { text: '\ue59d', title: '\ue59d' }
|
|
427
429
|
'.fa-child-rifle': { text: '\ue4e0', title: '\ue4e0' }
|
|
428
430
|
'.fa-children': { text: '\ue4e1', title: '\ue4e1' }
|
|
429
431
|
'.fa-church': { text: '\uf51d', title: '\uf51d' }
|
package/dist/tailwind.tss
CHANGED
|
@@ -14067,230 +14067,230 @@
|
|
|
14067
14067
|
'.selected-text-rose-900[platform=ios]': { selectedTextColor: '#881337' }
|
|
14068
14068
|
|
|
14069
14069
|
// Component(s): Ti.UI.ListView
|
|
14070
|
-
// Property(ies): separatorColor
|
|
14071
|
-
'.separator-transparent
|
|
14072
|
-
'.separator-black
|
|
14073
|
-
'.separator-white
|
|
14074
|
-
'.separator-slate-50
|
|
14075
|
-
'.separator-slate-100
|
|
14076
|
-
'.separator-slate-200
|
|
14077
|
-
'.separator-slate-300
|
|
14078
|
-
'.separator-slate-400
|
|
14079
|
-
'.separator-slate-500
|
|
14080
|
-
'.separator-slate-600
|
|
14081
|
-
'.separator-slate-700
|
|
14082
|
-
'.separator-slate-800
|
|
14083
|
-
'.separator-slate-900
|
|
14084
|
-
'.separator-gray-50
|
|
14085
|
-
'.separator-gray-100
|
|
14086
|
-
'.separator-gray-200
|
|
14087
|
-
'.separator-gray-300
|
|
14088
|
-
'.separator-gray-400
|
|
14089
|
-
'.separator-gray-500
|
|
14090
|
-
'.separator-gray-600
|
|
14091
|
-
'.separator-gray-700
|
|
14092
|
-
'.separator-gray-800
|
|
14093
|
-
'.separator-gray-900
|
|
14094
|
-
'.separator-zinc-50
|
|
14095
|
-
'.separator-zinc-100
|
|
14096
|
-
'.separator-zinc-200
|
|
14097
|
-
'.separator-zinc-300
|
|
14098
|
-
'.separator-zinc-400
|
|
14099
|
-
'.separator-zinc-500
|
|
14100
|
-
'.separator-zinc-600
|
|
14101
|
-
'.separator-zinc-700
|
|
14102
|
-
'.separator-zinc-800
|
|
14103
|
-
'.separator-zinc-900
|
|
14104
|
-
'.separator-neutral-50
|
|
14105
|
-
'.separator-neutral-100
|
|
14106
|
-
'.separator-neutral-200
|
|
14107
|
-
'.separator-neutral-300
|
|
14108
|
-
'.separator-neutral-400
|
|
14109
|
-
'.separator-neutral-500
|
|
14110
|
-
'.separator-neutral-600
|
|
14111
|
-
'.separator-neutral-700
|
|
14112
|
-
'.separator-neutral-800
|
|
14113
|
-
'.separator-neutral-900
|
|
14114
|
-
'.separator-stone-50
|
|
14115
|
-
'.separator-stone-100
|
|
14116
|
-
'.separator-stone-200
|
|
14117
|
-
'.separator-stone-300
|
|
14118
|
-
'.separator-stone-400
|
|
14119
|
-
'.separator-stone-500
|
|
14120
|
-
'.separator-stone-600
|
|
14121
|
-
'.separator-stone-700
|
|
14122
|
-
'.separator-stone-800
|
|
14123
|
-
'.separator-stone-900
|
|
14124
|
-
'.separator-red-50
|
|
14125
|
-
'.separator-red-100
|
|
14126
|
-
'.separator-red-200
|
|
14127
|
-
'.separator-red-300
|
|
14128
|
-
'.separator-red-400
|
|
14129
|
-
'.separator-red-500
|
|
14130
|
-
'.separator-red-600
|
|
14131
|
-
'.separator-red-700
|
|
14132
|
-
'.separator-red-800
|
|
14133
|
-
'.separator-red-900
|
|
14134
|
-
'.separator-orange-50
|
|
14135
|
-
'.separator-orange-100
|
|
14136
|
-
'.separator-orange-200
|
|
14137
|
-
'.separator-orange-300
|
|
14138
|
-
'.separator-orange-400
|
|
14139
|
-
'.separator-orange-500
|
|
14140
|
-
'.separator-orange-600
|
|
14141
|
-
'.separator-orange-700
|
|
14142
|
-
'.separator-orange-800
|
|
14143
|
-
'.separator-orange-900
|
|
14144
|
-
'.separator-amber-50
|
|
14145
|
-
'.separator-amber-100
|
|
14146
|
-
'.separator-amber-200
|
|
14147
|
-
'.separator-amber-300
|
|
14148
|
-
'.separator-amber-400
|
|
14149
|
-
'.separator-amber-500
|
|
14150
|
-
'.separator-amber-600
|
|
14151
|
-
'.separator-amber-700
|
|
14152
|
-
'.separator-amber-800
|
|
14153
|
-
'.separator-amber-900
|
|
14154
|
-
'.separator-yellow-50
|
|
14155
|
-
'.separator-yellow-100
|
|
14156
|
-
'.separator-yellow-200
|
|
14157
|
-
'.separator-yellow-300
|
|
14158
|
-
'.separator-yellow-400
|
|
14159
|
-
'.separator-yellow-500
|
|
14160
|
-
'.separator-yellow-600
|
|
14161
|
-
'.separator-yellow-700
|
|
14162
|
-
'.separator-yellow-800
|
|
14163
|
-
'.separator-yellow-900
|
|
14164
|
-
'.separator-lime-50
|
|
14165
|
-
'.separator-lime-100
|
|
14166
|
-
'.separator-lime-200
|
|
14167
|
-
'.separator-lime-300
|
|
14168
|
-
'.separator-lime-400
|
|
14169
|
-
'.separator-lime-500
|
|
14170
|
-
'.separator-lime-600
|
|
14171
|
-
'.separator-lime-700
|
|
14172
|
-
'.separator-lime-800
|
|
14173
|
-
'.separator-lime-900
|
|
14174
|
-
'.separator-green-50
|
|
14175
|
-
'.separator-green-100
|
|
14176
|
-
'.separator-green-200
|
|
14177
|
-
'.separator-green-300
|
|
14178
|
-
'.separator-green-400
|
|
14179
|
-
'.separator-green-500
|
|
14180
|
-
'.separator-green-600
|
|
14181
|
-
'.separator-green-700
|
|
14182
|
-
'.separator-green-800
|
|
14183
|
-
'.separator-green-900
|
|
14184
|
-
'.separator-emerald-50
|
|
14185
|
-
'.separator-emerald-100
|
|
14186
|
-
'.separator-emerald-200
|
|
14187
|
-
'.separator-emerald-300
|
|
14188
|
-
'.separator-emerald-400
|
|
14189
|
-
'.separator-emerald-500
|
|
14190
|
-
'.separator-emerald-600
|
|
14191
|
-
'.separator-emerald-700
|
|
14192
|
-
'.separator-emerald-800
|
|
14193
|
-
'.separator-emerald-900
|
|
14194
|
-
'.separator-teal-50
|
|
14195
|
-
'.separator-teal-100
|
|
14196
|
-
'.separator-teal-200
|
|
14197
|
-
'.separator-teal-300
|
|
14198
|
-
'.separator-teal-400
|
|
14199
|
-
'.separator-teal-500
|
|
14200
|
-
'.separator-teal-600
|
|
14201
|
-
'.separator-teal-700
|
|
14202
|
-
'.separator-teal-800
|
|
14203
|
-
'.separator-teal-900
|
|
14204
|
-
'.separator-cyan-50
|
|
14205
|
-
'.separator-cyan-100
|
|
14206
|
-
'.separator-cyan-200
|
|
14207
|
-
'.separator-cyan-300
|
|
14208
|
-
'.separator-cyan-400
|
|
14209
|
-
'.separator-cyan-500
|
|
14210
|
-
'.separator-cyan-600
|
|
14211
|
-
'.separator-cyan-700
|
|
14212
|
-
'.separator-cyan-800
|
|
14213
|
-
'.separator-cyan-900
|
|
14214
|
-
'.separator-sky-50
|
|
14215
|
-
'.separator-sky-100
|
|
14216
|
-
'.separator-sky-200
|
|
14217
|
-
'.separator-sky-300
|
|
14218
|
-
'.separator-sky-400
|
|
14219
|
-
'.separator-sky-500
|
|
14220
|
-
'.separator-sky-600
|
|
14221
|
-
'.separator-sky-700
|
|
14222
|
-
'.separator-sky-800
|
|
14223
|
-
'.separator-sky-900
|
|
14224
|
-
'.separator-blue-50
|
|
14225
|
-
'.separator-blue-100
|
|
14226
|
-
'.separator-blue-200
|
|
14227
|
-
'.separator-blue-300
|
|
14228
|
-
'.separator-blue-400
|
|
14229
|
-
'.separator-blue-500
|
|
14230
|
-
'.separator-blue-600
|
|
14231
|
-
'.separator-blue-700
|
|
14232
|
-
'.separator-blue-800
|
|
14233
|
-
'.separator-blue-900
|
|
14234
|
-
'.separator-indigo-50
|
|
14235
|
-
'.separator-indigo-100
|
|
14236
|
-
'.separator-indigo-200
|
|
14237
|
-
'.separator-indigo-300
|
|
14238
|
-
'.separator-indigo-400
|
|
14239
|
-
'.separator-indigo-500
|
|
14240
|
-
'.separator-indigo-600
|
|
14241
|
-
'.separator-indigo-700
|
|
14242
|
-
'.separator-indigo-800
|
|
14243
|
-
'.separator-indigo-900
|
|
14244
|
-
'.separator-violet-50
|
|
14245
|
-
'.separator-violet-100
|
|
14246
|
-
'.separator-violet-200
|
|
14247
|
-
'.separator-violet-300
|
|
14248
|
-
'.separator-violet-400
|
|
14249
|
-
'.separator-violet-500
|
|
14250
|
-
'.separator-violet-600
|
|
14251
|
-
'.separator-violet-700
|
|
14252
|
-
'.separator-violet-800
|
|
14253
|
-
'.separator-violet-900
|
|
14254
|
-
'.separator-purple-50
|
|
14255
|
-
'.separator-purple-100
|
|
14256
|
-
'.separator-purple-200
|
|
14257
|
-
'.separator-purple-300
|
|
14258
|
-
'.separator-purple-400
|
|
14259
|
-
'.separator-purple-500
|
|
14260
|
-
'.separator-purple-600
|
|
14261
|
-
'.separator-purple-700
|
|
14262
|
-
'.separator-purple-800
|
|
14263
|
-
'.separator-purple-900
|
|
14264
|
-
'.separator-fuchsia-50
|
|
14265
|
-
'.separator-fuchsia-100
|
|
14266
|
-
'.separator-fuchsia-200
|
|
14267
|
-
'.separator-fuchsia-300
|
|
14268
|
-
'.separator-fuchsia-400
|
|
14269
|
-
'.separator-fuchsia-500
|
|
14270
|
-
'.separator-fuchsia-600
|
|
14271
|
-
'.separator-fuchsia-700
|
|
14272
|
-
'.separator-fuchsia-800
|
|
14273
|
-
'.separator-fuchsia-900
|
|
14274
|
-
'.separator-pink-50
|
|
14275
|
-
'.separator-pink-100
|
|
14276
|
-
'.separator-pink-200
|
|
14277
|
-
'.separator-pink-300
|
|
14278
|
-
'.separator-pink-400
|
|
14279
|
-
'.separator-pink-500
|
|
14280
|
-
'.separator-pink-600
|
|
14281
|
-
'.separator-pink-700
|
|
14282
|
-
'.separator-pink-800
|
|
14283
|
-
'.separator-pink-900
|
|
14284
|
-
'.separator-rose-50
|
|
14285
|
-
'.separator-rose-100
|
|
14286
|
-
'.separator-rose-200
|
|
14287
|
-
'.separator-rose-300
|
|
14288
|
-
'.separator-rose-400
|
|
14289
|
-
'.separator-rose-500
|
|
14290
|
-
'.separator-rose-600
|
|
14291
|
-
'.separator-rose-700
|
|
14292
|
-
'.separator-rose-800
|
|
14293
|
-
'.separator-rose-900
|
|
14070
|
+
// Property(ies): separatorColor
|
|
14071
|
+
'.separator-transparent': { separatorColor: 'transparent' }
|
|
14072
|
+
'.separator-black': { separatorColor: '#000000' }
|
|
14073
|
+
'.separator-white': { separatorColor: '#ffffff' }
|
|
14074
|
+
'.separator-slate-50': { separatorColor: '#f8fafc' }
|
|
14075
|
+
'.separator-slate-100': { separatorColor: '#f1f5f9' }
|
|
14076
|
+
'.separator-slate-200': { separatorColor: '#e2e8f0' }
|
|
14077
|
+
'.separator-slate-300': { separatorColor: '#cbd5e1' }
|
|
14078
|
+
'.separator-slate-400': { separatorColor: '#94a3b8' }
|
|
14079
|
+
'.separator-slate-500': { separatorColor: '#64748b' }
|
|
14080
|
+
'.separator-slate-600': { separatorColor: '#475569' }
|
|
14081
|
+
'.separator-slate-700': { separatorColor: '#334155' }
|
|
14082
|
+
'.separator-slate-800': { separatorColor: '#1e293b' }
|
|
14083
|
+
'.separator-slate-900': { separatorColor: '#0f172a' }
|
|
14084
|
+
'.separator-gray-50': { separatorColor: '#f9fafb' }
|
|
14085
|
+
'.separator-gray-100': { separatorColor: '#f3f4f6' }
|
|
14086
|
+
'.separator-gray-200': { separatorColor: '#e5e7eb' }
|
|
14087
|
+
'.separator-gray-300': { separatorColor: '#d1d5db' }
|
|
14088
|
+
'.separator-gray-400': { separatorColor: '#9ca3af' }
|
|
14089
|
+
'.separator-gray-500': { separatorColor: '#6b7280' }
|
|
14090
|
+
'.separator-gray-600': { separatorColor: '#4b5563' }
|
|
14091
|
+
'.separator-gray-700': { separatorColor: '#374151' }
|
|
14092
|
+
'.separator-gray-800': { separatorColor: '#1f2937' }
|
|
14093
|
+
'.separator-gray-900': { separatorColor: '#111827' }
|
|
14094
|
+
'.separator-zinc-50': { separatorColor: '#fafafa' }
|
|
14095
|
+
'.separator-zinc-100': { separatorColor: '#f4f4f5' }
|
|
14096
|
+
'.separator-zinc-200': { separatorColor: '#e4e4e7' }
|
|
14097
|
+
'.separator-zinc-300': { separatorColor: '#d4d4d8' }
|
|
14098
|
+
'.separator-zinc-400': { separatorColor: '#a1a1aa' }
|
|
14099
|
+
'.separator-zinc-500': { separatorColor: '#71717a' }
|
|
14100
|
+
'.separator-zinc-600': { separatorColor: '#52525b' }
|
|
14101
|
+
'.separator-zinc-700': { separatorColor: '#3f3f46' }
|
|
14102
|
+
'.separator-zinc-800': { separatorColor: '#27272a' }
|
|
14103
|
+
'.separator-zinc-900': { separatorColor: '#18181b' }
|
|
14104
|
+
'.separator-neutral-50': { separatorColor: '#fafafa' }
|
|
14105
|
+
'.separator-neutral-100': { separatorColor: '#f5f5f5' }
|
|
14106
|
+
'.separator-neutral-200': { separatorColor: '#e5e5e5' }
|
|
14107
|
+
'.separator-neutral-300': { separatorColor: '#d4d4d4' }
|
|
14108
|
+
'.separator-neutral-400': { separatorColor: '#a3a3a3' }
|
|
14109
|
+
'.separator-neutral-500': { separatorColor: '#737373' }
|
|
14110
|
+
'.separator-neutral-600': { separatorColor: '#525252' }
|
|
14111
|
+
'.separator-neutral-700': { separatorColor: '#404040' }
|
|
14112
|
+
'.separator-neutral-800': { separatorColor: '#262626' }
|
|
14113
|
+
'.separator-neutral-900': { separatorColor: '#171717' }
|
|
14114
|
+
'.separator-stone-50': { separatorColor: '#fafaf9' }
|
|
14115
|
+
'.separator-stone-100': { separatorColor: '#f5f5f4' }
|
|
14116
|
+
'.separator-stone-200': { separatorColor: '#e7e5e4' }
|
|
14117
|
+
'.separator-stone-300': { separatorColor: '#d6d3d1' }
|
|
14118
|
+
'.separator-stone-400': { separatorColor: '#a8a29e' }
|
|
14119
|
+
'.separator-stone-500': { separatorColor: '#78716c' }
|
|
14120
|
+
'.separator-stone-600': { separatorColor: '#57534e' }
|
|
14121
|
+
'.separator-stone-700': { separatorColor: '#44403c' }
|
|
14122
|
+
'.separator-stone-800': { separatorColor: '#292524' }
|
|
14123
|
+
'.separator-stone-900': { separatorColor: '#1c1917' }
|
|
14124
|
+
'.separator-red-50': { separatorColor: '#fef2f2' }
|
|
14125
|
+
'.separator-red-100': { separatorColor: '#fee2e2' }
|
|
14126
|
+
'.separator-red-200': { separatorColor: '#fecaca' }
|
|
14127
|
+
'.separator-red-300': { separatorColor: '#fca5a5' }
|
|
14128
|
+
'.separator-red-400': { separatorColor: '#f87171' }
|
|
14129
|
+
'.separator-red-500': { separatorColor: '#ef4444' }
|
|
14130
|
+
'.separator-red-600': { separatorColor: '#dc2626' }
|
|
14131
|
+
'.separator-red-700': { separatorColor: '#b91c1c' }
|
|
14132
|
+
'.separator-red-800': { separatorColor: '#991b1b' }
|
|
14133
|
+
'.separator-red-900': { separatorColor: '#7f1d1d' }
|
|
14134
|
+
'.separator-orange-50': { separatorColor: '#fff7ed' }
|
|
14135
|
+
'.separator-orange-100': { separatorColor: '#ffedd5' }
|
|
14136
|
+
'.separator-orange-200': { separatorColor: '#fed7aa' }
|
|
14137
|
+
'.separator-orange-300': { separatorColor: '#fdba74' }
|
|
14138
|
+
'.separator-orange-400': { separatorColor: '#fb923c' }
|
|
14139
|
+
'.separator-orange-500': { separatorColor: '#f97316' }
|
|
14140
|
+
'.separator-orange-600': { separatorColor: '#ea580c' }
|
|
14141
|
+
'.separator-orange-700': { separatorColor: '#c2410c' }
|
|
14142
|
+
'.separator-orange-800': { separatorColor: '#9a3412' }
|
|
14143
|
+
'.separator-orange-900': { separatorColor: '#7c2d12' }
|
|
14144
|
+
'.separator-amber-50': { separatorColor: '#fffbeb' }
|
|
14145
|
+
'.separator-amber-100': { separatorColor: '#fef3c7' }
|
|
14146
|
+
'.separator-amber-200': { separatorColor: '#fde68a' }
|
|
14147
|
+
'.separator-amber-300': { separatorColor: '#fcd34d' }
|
|
14148
|
+
'.separator-amber-400': { separatorColor: '#fbbf24' }
|
|
14149
|
+
'.separator-amber-500': { separatorColor: '#f59e0b' }
|
|
14150
|
+
'.separator-amber-600': { separatorColor: '#d97706' }
|
|
14151
|
+
'.separator-amber-700': { separatorColor: '#b45309' }
|
|
14152
|
+
'.separator-amber-800': { separatorColor: '#92400e' }
|
|
14153
|
+
'.separator-amber-900': { separatorColor: '#78350f' }
|
|
14154
|
+
'.separator-yellow-50': { separatorColor: '#fefce8' }
|
|
14155
|
+
'.separator-yellow-100': { separatorColor: '#fef9c3' }
|
|
14156
|
+
'.separator-yellow-200': { separatorColor: '#fef08a' }
|
|
14157
|
+
'.separator-yellow-300': { separatorColor: '#fde047' }
|
|
14158
|
+
'.separator-yellow-400': { separatorColor: '#facc15' }
|
|
14159
|
+
'.separator-yellow-500': { separatorColor: '#eab308' }
|
|
14160
|
+
'.separator-yellow-600': { separatorColor: '#ca8a04' }
|
|
14161
|
+
'.separator-yellow-700': { separatorColor: '#a16207' }
|
|
14162
|
+
'.separator-yellow-800': { separatorColor: '#854d0e' }
|
|
14163
|
+
'.separator-yellow-900': { separatorColor: '#713f12' }
|
|
14164
|
+
'.separator-lime-50': { separatorColor: '#f7fee7' }
|
|
14165
|
+
'.separator-lime-100': { separatorColor: '#ecfccb' }
|
|
14166
|
+
'.separator-lime-200': { separatorColor: '#d9f99d' }
|
|
14167
|
+
'.separator-lime-300': { separatorColor: '#bef264' }
|
|
14168
|
+
'.separator-lime-400': { separatorColor: '#a3e635' }
|
|
14169
|
+
'.separator-lime-500': { separatorColor: '#84cc16' }
|
|
14170
|
+
'.separator-lime-600': { separatorColor: '#65a30d' }
|
|
14171
|
+
'.separator-lime-700': { separatorColor: '#4d7c0f' }
|
|
14172
|
+
'.separator-lime-800': { separatorColor: '#3f6212' }
|
|
14173
|
+
'.separator-lime-900': { separatorColor: '#365314' }
|
|
14174
|
+
'.separator-green-50': { separatorColor: '#f0fdf4' }
|
|
14175
|
+
'.separator-green-100': { separatorColor: '#dcfce7' }
|
|
14176
|
+
'.separator-green-200': { separatorColor: '#bbf7d0' }
|
|
14177
|
+
'.separator-green-300': { separatorColor: '#86efac' }
|
|
14178
|
+
'.separator-green-400': { separatorColor: '#4ade80' }
|
|
14179
|
+
'.separator-green-500': { separatorColor: '#22c55e' }
|
|
14180
|
+
'.separator-green-600': { separatorColor: '#16a34a' }
|
|
14181
|
+
'.separator-green-700': { separatorColor: '#15803d' }
|
|
14182
|
+
'.separator-green-800': { separatorColor: '#166534' }
|
|
14183
|
+
'.separator-green-900': { separatorColor: '#14532d' }
|
|
14184
|
+
'.separator-emerald-50': { separatorColor: '#ecfdf5' }
|
|
14185
|
+
'.separator-emerald-100': { separatorColor: '#d1fae5' }
|
|
14186
|
+
'.separator-emerald-200': { separatorColor: '#a7f3d0' }
|
|
14187
|
+
'.separator-emerald-300': { separatorColor: '#6ee7b7' }
|
|
14188
|
+
'.separator-emerald-400': { separatorColor: '#34d399' }
|
|
14189
|
+
'.separator-emerald-500': { separatorColor: '#10b981' }
|
|
14190
|
+
'.separator-emerald-600': { separatorColor: '#059669' }
|
|
14191
|
+
'.separator-emerald-700': { separatorColor: '#047857' }
|
|
14192
|
+
'.separator-emerald-800': { separatorColor: '#065f46' }
|
|
14193
|
+
'.separator-emerald-900': { separatorColor: '#064e3b' }
|
|
14194
|
+
'.separator-teal-50': { separatorColor: '#f0fdfa' }
|
|
14195
|
+
'.separator-teal-100': { separatorColor: '#ccfbf1' }
|
|
14196
|
+
'.separator-teal-200': { separatorColor: '#99f6e4' }
|
|
14197
|
+
'.separator-teal-300': { separatorColor: '#5eead4' }
|
|
14198
|
+
'.separator-teal-400': { separatorColor: '#2dd4bf' }
|
|
14199
|
+
'.separator-teal-500': { separatorColor: '#14b8a6' }
|
|
14200
|
+
'.separator-teal-600': { separatorColor: '#0d9488' }
|
|
14201
|
+
'.separator-teal-700': { separatorColor: '#0f766e' }
|
|
14202
|
+
'.separator-teal-800': { separatorColor: '#115e59' }
|
|
14203
|
+
'.separator-teal-900': { separatorColor: '#134e4a' }
|
|
14204
|
+
'.separator-cyan-50': { separatorColor: '#ecfeff' }
|
|
14205
|
+
'.separator-cyan-100': { separatorColor: '#cffafe' }
|
|
14206
|
+
'.separator-cyan-200': { separatorColor: '#a5f3fc' }
|
|
14207
|
+
'.separator-cyan-300': { separatorColor: '#67e8f9' }
|
|
14208
|
+
'.separator-cyan-400': { separatorColor: '#22d3ee' }
|
|
14209
|
+
'.separator-cyan-500': { separatorColor: '#06b6d4' }
|
|
14210
|
+
'.separator-cyan-600': { separatorColor: '#0891b2' }
|
|
14211
|
+
'.separator-cyan-700': { separatorColor: '#0e7490' }
|
|
14212
|
+
'.separator-cyan-800': { separatorColor: '#155e75' }
|
|
14213
|
+
'.separator-cyan-900': { separatorColor: '#164e63' }
|
|
14214
|
+
'.separator-sky-50': { separatorColor: '#f0f9ff' }
|
|
14215
|
+
'.separator-sky-100': { separatorColor: '#e0f2fe' }
|
|
14216
|
+
'.separator-sky-200': { separatorColor: '#bae6fd' }
|
|
14217
|
+
'.separator-sky-300': { separatorColor: '#7dd3fc' }
|
|
14218
|
+
'.separator-sky-400': { separatorColor: '#38bdf8' }
|
|
14219
|
+
'.separator-sky-500': { separatorColor: '#0ea5e9' }
|
|
14220
|
+
'.separator-sky-600': { separatorColor: '#0284c7' }
|
|
14221
|
+
'.separator-sky-700': { separatorColor: '#0369a1' }
|
|
14222
|
+
'.separator-sky-800': { separatorColor: '#075985' }
|
|
14223
|
+
'.separator-sky-900': { separatorColor: '#0c4a6e' }
|
|
14224
|
+
'.separator-blue-50': { separatorColor: '#eff6ff' }
|
|
14225
|
+
'.separator-blue-100': { separatorColor: '#dbeafe' }
|
|
14226
|
+
'.separator-blue-200': { separatorColor: '#bfdbfe' }
|
|
14227
|
+
'.separator-blue-300': { separatorColor: '#93c5fd' }
|
|
14228
|
+
'.separator-blue-400': { separatorColor: '#60a5fa' }
|
|
14229
|
+
'.separator-blue-500': { separatorColor: '#3b82f6' }
|
|
14230
|
+
'.separator-blue-600': { separatorColor: '#2563eb' }
|
|
14231
|
+
'.separator-blue-700': { separatorColor: '#1d4ed8' }
|
|
14232
|
+
'.separator-blue-800': { separatorColor: '#1e40af' }
|
|
14233
|
+
'.separator-blue-900': { separatorColor: '#1e3a8a' }
|
|
14234
|
+
'.separator-indigo-50': { separatorColor: '#eef2ff' }
|
|
14235
|
+
'.separator-indigo-100': { separatorColor: '#e0e7ff' }
|
|
14236
|
+
'.separator-indigo-200': { separatorColor: '#c7d2fe' }
|
|
14237
|
+
'.separator-indigo-300': { separatorColor: '#a5b4fc' }
|
|
14238
|
+
'.separator-indigo-400': { separatorColor: '#818cf8' }
|
|
14239
|
+
'.separator-indigo-500': { separatorColor: '#6366f1' }
|
|
14240
|
+
'.separator-indigo-600': { separatorColor: '#4f46e5' }
|
|
14241
|
+
'.separator-indigo-700': { separatorColor: '#4338ca' }
|
|
14242
|
+
'.separator-indigo-800': { separatorColor: '#3730a3' }
|
|
14243
|
+
'.separator-indigo-900': { separatorColor: '#312e81' }
|
|
14244
|
+
'.separator-violet-50': { separatorColor: '#f5f3ff' }
|
|
14245
|
+
'.separator-violet-100': { separatorColor: '#ede9fe' }
|
|
14246
|
+
'.separator-violet-200': { separatorColor: '#ddd6fe' }
|
|
14247
|
+
'.separator-violet-300': { separatorColor: '#c4b5fd' }
|
|
14248
|
+
'.separator-violet-400': { separatorColor: '#a78bfa' }
|
|
14249
|
+
'.separator-violet-500': { separatorColor: '#8b5cf6' }
|
|
14250
|
+
'.separator-violet-600': { separatorColor: '#7c3aed' }
|
|
14251
|
+
'.separator-violet-700': { separatorColor: '#6d28d9' }
|
|
14252
|
+
'.separator-violet-800': { separatorColor: '#5b21b6' }
|
|
14253
|
+
'.separator-violet-900': { separatorColor: '#4c1d95' }
|
|
14254
|
+
'.separator-purple-50': { separatorColor: '#faf5ff' }
|
|
14255
|
+
'.separator-purple-100': { separatorColor: '#f3e8ff' }
|
|
14256
|
+
'.separator-purple-200': { separatorColor: '#e9d5ff' }
|
|
14257
|
+
'.separator-purple-300': { separatorColor: '#d8b4fe' }
|
|
14258
|
+
'.separator-purple-400': { separatorColor: '#c084fc' }
|
|
14259
|
+
'.separator-purple-500': { separatorColor: '#a855f7' }
|
|
14260
|
+
'.separator-purple-600': { separatorColor: '#9333ea' }
|
|
14261
|
+
'.separator-purple-700': { separatorColor: '#7e22ce' }
|
|
14262
|
+
'.separator-purple-800': { separatorColor: '#6b21a8' }
|
|
14263
|
+
'.separator-purple-900': { separatorColor: '#581c87' }
|
|
14264
|
+
'.separator-fuchsia-50': { separatorColor: '#fdf4ff' }
|
|
14265
|
+
'.separator-fuchsia-100': { separatorColor: '#fae8ff' }
|
|
14266
|
+
'.separator-fuchsia-200': { separatorColor: '#f5d0fe' }
|
|
14267
|
+
'.separator-fuchsia-300': { separatorColor: '#f0abfc' }
|
|
14268
|
+
'.separator-fuchsia-400': { separatorColor: '#e879f9' }
|
|
14269
|
+
'.separator-fuchsia-500': { separatorColor: '#d946ef' }
|
|
14270
|
+
'.separator-fuchsia-600': { separatorColor: '#c026d3' }
|
|
14271
|
+
'.separator-fuchsia-700': { separatorColor: '#a21caf' }
|
|
14272
|
+
'.separator-fuchsia-800': { separatorColor: '#86198f' }
|
|
14273
|
+
'.separator-fuchsia-900': { separatorColor: '#701a75' }
|
|
14274
|
+
'.separator-pink-50': { separatorColor: '#fdf2f8' }
|
|
14275
|
+
'.separator-pink-100': { separatorColor: '#fce7f3' }
|
|
14276
|
+
'.separator-pink-200': { separatorColor: '#fbcfe8' }
|
|
14277
|
+
'.separator-pink-300': { separatorColor: '#f9a8d4' }
|
|
14278
|
+
'.separator-pink-400': { separatorColor: '#f472b6' }
|
|
14279
|
+
'.separator-pink-500': { separatorColor: '#ec4899' }
|
|
14280
|
+
'.separator-pink-600': { separatorColor: '#db2777' }
|
|
14281
|
+
'.separator-pink-700': { separatorColor: '#be185d' }
|
|
14282
|
+
'.separator-pink-800': { separatorColor: '#9d174d' }
|
|
14283
|
+
'.separator-pink-900': { separatorColor: '#831843' }
|
|
14284
|
+
'.separator-rose-50': { separatorColor: '#fff1f2' }
|
|
14285
|
+
'.separator-rose-100': { separatorColor: '#ffe4e6' }
|
|
14286
|
+
'.separator-rose-200': { separatorColor: '#fecdd3' }
|
|
14287
|
+
'.separator-rose-300': { separatorColor: '#fda4af' }
|
|
14288
|
+
'.separator-rose-400': { separatorColor: '#fb7185' }
|
|
14289
|
+
'.separator-rose-500': { separatorColor: '#f43f5e' }
|
|
14290
|
+
'.separator-rose-600': { separatorColor: '#e11d48' }
|
|
14291
|
+
'.separator-rose-700': { separatorColor: '#be123c' }
|
|
14292
|
+
'.separator-rose-800': { separatorColor: '#9f1239' }
|
|
14293
|
+
'.separator-rose-900': { separatorColor: '#881337' }
|
|
14294
14294
|
|
|
14295
14295
|
// Component(s): Ti.UI.ListItem
|
|
14296
14296
|
// Property(ies): subtitleColor - iOS Only
|
package/index.js
CHANGED
|
@@ -260,7 +260,7 @@ function copyModulesLibrary() {
|
|
|
260
260
|
makeSureFolderExists(projectLibFolder);
|
|
261
261
|
|
|
262
262
|
fs.copyFileSync(srcPurgeTSSLibrary, projectLibFolder + '/purgetss.ui.js');
|
|
263
|
-
logger.info('
|
|
263
|
+
logger.info(chalk.yellow('purgetss.ui'), 'module copied to', chalk.yellow('./app/lib'), 'folder');
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
266
|
module.exports.copyModulesLibrary = copyModulesLibrary;
|
|
@@ -837,7 +837,16 @@ function addHook() {
|
|
|
837
837
|
|
|
838
838
|
originalJMKFile.split(/\r?\n/).forEach((line) => {
|
|
839
839
|
if (line.includes('pre:compile')) {
|
|
840
|
-
let execCommand =
|
|
840
|
+
let execCommand = "";
|
|
841
|
+
|
|
842
|
+
if (__dirname.includes('alloy')) {
|
|
843
|
+
execCommand = 'alloy purgetss';
|
|
844
|
+
} else if (isInstalledGlobally) {
|
|
845
|
+
execCommand = 'purgetss';
|
|
846
|
+
} else {
|
|
847
|
+
execCommand = 'node node_modules/purgetss/bin/purgetss';
|
|
848
|
+
};
|
|
849
|
+
|
|
841
850
|
line += `\n\trequire('child_process').execSync('${execCommand}', logger.warn('::PurgeTSS:: Auto-Purging ' + event.dir.project));`;
|
|
842
851
|
}
|
|
843
852
|
updatedJMKFile.push(line);
|
|
@@ -2270,9 +2279,9 @@ function saveFile(file, data) {
|
|
|
2270
2279
|
}
|
|
2271
2280
|
|
|
2272
2281
|
function createJMKFile() {
|
|
2273
|
-
logger.warn(chalk.green('Adding Auto-Purging hook!'));
|
|
2274
2282
|
fs.copyFileSync(srcJMKFile, projectAlloyJMKFile);
|
|
2275
2283
|
logger.file('./app/alloy.jmk');
|
|
2284
|
+
addHook();
|
|
2276
2285
|
}
|
|
2277
2286
|
|
|
2278
2287
|
//! Soon to be deleted
|
package/lib/helpers.js
CHANGED
|
@@ -5955,12 +5955,12 @@ exports.selectedTextColor = selectedTextColor;
|
|
|
5955
5955
|
|
|
5956
5956
|
function separatorColor(modifiersAndValues) {
|
|
5957
5957
|
return processProperties({
|
|
5958
|
-
'prop': 'separatorColor
|
|
5958
|
+
'prop': 'separatorColor',
|
|
5959
5959
|
'component': 'Ti.UI.ListView'
|
|
5960
5960
|
}, {
|
|
5961
5961
|
'separator': '{ separatorColor: {value} }'
|
|
5962
5962
|
}, {
|
|
5963
|
-
'
|
|
5963
|
+
'default': modifiersAndValues
|
|
5964
5964
|
});
|
|
5965
5965
|
}
|
|
5966
5966
|
exports.separatorColor = separatorColor;
|
|
@@ -6696,6 +6696,7 @@ function parseValue(value, sign = '') {
|
|
|
6696
6696
|
return isNaN(value) ? `'${sign}${value}'` : `${sign}${value}`;
|
|
6697
6697
|
}
|
|
6698
6698
|
}
|
|
6699
|
+
exports.parseValue = parseValue;
|
|
6699
6700
|
|
|
6700
6701
|
function addTransparencyToValue(color) {
|
|
6701
6702
|
if (color.includes('#')) {
|
|
@@ -6864,6 +6865,7 @@ function removeFractions(modifiersAndValues) {
|
|
|
6864
6865
|
|
|
6865
6866
|
return modifiersAndValues;
|
|
6866
6867
|
}
|
|
6868
|
+
exports.removeFractions = removeFractions;
|
|
6867
6869
|
|
|
6868
6870
|
function toHex(color) {
|
|
6869
6871
|
if (color.includes('#')) {
|
package/lib/templates/alloy.jmk
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Font Awesome Free 6.1.
|
|
1
|
+
// Font Awesome Free 6.1.1 by @fontawesome - https://fontawesome.com
|
|
2
2
|
// License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
3
3
|
|
|
4
4
|
// Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen readers do not read off random characters that represent icons
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Font Awesome Pro 6
|
|
1
|
+
// Font Awesome Pro 6 by @fontawesome - https://fontawesome.com
|
|
2
2
|
// License - https://fontawesome.com/license (Commercial License)
|
|
3
3
|
|
|
4
4
|
// Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen readers do not read off random characters that represent icons
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "purgetss",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.10",
|
|
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": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
},
|
|
41
41
|
"homepage": "https://github.com/macCesar/purgeTSS#readme",
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@fortawesome/fontawesome-free": "^6.1.
|
|
43
|
+
"@fortawesome/fontawesome-free": "^6.1.1",
|
|
44
44
|
"caporal": "^1.4.0",
|
|
45
45
|
"chalk": "^4.1.2",
|
|
46
46
|
"command-exists": "^1.2.9",
|