Skip to content

Commit c190ed3

Browse files
committed
Final del servicio
1 parent f3e137f commit c190ed3

File tree

5 files changed

+1207
-103
lines changed

5 files changed

+1207
-103
lines changed

app/alloy.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +0,0 @@
1-
// The contents of this file will be executed before any of
2-
// your view controllers are ever executed, including the index.
3-
// You have access to all functionality on the `Alloy` namespace.
4-
//
5-
// This is a great place to do any initialization for your app
6-
// or create any global variables/functions that you'd like to
7-
// make available throughout your app. You can easily make things
8-
// accessible globally by attaching them to the `Alloy.Globals`
9-
// object. For example:
10-
//
11-
// Alloy.Globals.someGlobalFunction = function(){};

app/styles/_app.tss

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +0,0 @@
1-
// This is my original app.tss file
2-
'ScrollView': {
3-
contentWidth: Ti.UI.FILL,
4-
contentHeight: Ti.UI.SIZE
5-
}
6-
7-
'ScrollView[platform=android]': {
8-
scrollType: 'vertical'
9-
}
10-
11-
'Button[platform=android]': {
12-
backgroundColor: 'transparent'
13-
}
14-
15-
'Label': {
16-
touchEnabled: false
17-
}
18-
19-
'TextArea': {
20-
touchEnabled: false
21-
}
22-
23-
'.customClass': {
24-
color: '#cecece'
25-
}
26-
27-
'.anotherCustomClass': {
28-
backgroundColor: 'red'
29-
}
30-
31-
'.isPlaceHolder': {
32-
color: '#e5e7eb',
33-
title: '#e5e7eb',
34-
borderColor: '#e5e7eb',
35-
backgroundColor: '#e5e7eb'
36-
}

app/styles/app.tss

Lines changed: 7 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -2,46 +2,13 @@
22
// Created by César Estrada
33
// https://github.com/macCesar/purgeTSS
44

5-
// Styles from _app.tss
6-
// This is my original app.tss file
7-
'ScrollView': {
8-
contentWidth: Ti.UI.FILL,
9-
contentHeight: Ti.UI.SIZE
10-
}
11-
12-
'ScrollView[platform=android]': {
13-
scrollType: 'vertical'
14-
}
15-
16-
'Button[platform=android]': {
17-
backgroundColor: 'transparent'
18-
}
19-
20-
'Label': {
21-
touchEnabled: false
22-
}
23-
24-
'TextArea': {
25-
touchEnabled: false
26-
}
27-
28-
'.customClass': {
29-
color: '#cecece'
30-
}
31-
32-
'.anotherCustomClass': {
33-
backgroundColor: 'red'
34-
}
35-
36-
'.isPlaceHolder': {
37-
color: '#e5e7eb',
38-
title: '#e5e7eb',
39-
borderColor: '#e5e7eb',
40-
backgroundColor: '#e5e7eb'
41-
}
42-
43-
// Custom Tailwind Styles
5+
// Tailwind styles
6+
'Button[platform=android]': { backgroundColor: 'transparent' }
447
'ImageView[platform=ios]': { hires: true }
8+
'Label': { touchEnabled: false }
9+
'ScrollView': { contentWidth: Ti.UI.FILL, contentHeight: Ti.UI.SIZE }
10+
'ScrollView[platform=android]': { scrollType: 'vertical' }
11+
'TextArea': { touchEnabled: false }
4512
'View': { width: Ti.UI.SIZE, height: Ti.UI.SIZE }
4613
'Window': { backgroundColor: '#ffffff' }
4714
'.bg-white': { backgroundColor: '#ffffff' }
@@ -174,7 +141,7 @@
174141
'.w-auto': { width: Ti.UI.SIZE }
175142
'.w-screen': { width: Ti.UI.FILL }
176143

177-
// Classes with arbitrary values
144+
// Styles with arbitrary values
178145
'.cache-size-(9)': { cacheSize: 9 }
179146

180147
// Default Font Awesome styles

purgetss/config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ module.exports = {
99
}
1010
},
1111
theme: {
12-
extend: {}
12+
extend: {},
13+
ScrollView: { default: { contentWidth: 'Ti.UI.FILL', contentHeight: 'Ti.UI.SIZE' }, android: { scrollType: 'vertical' } },
14+
Button: { android: { backgroundColor: 'transparent' } },
15+
Label: { default: { touchEnabled: false } },
16+
TextArea: { default: { touchEnabled: false } },
1317
},
1418
corePlugins: {}
1519
};

0 commit comments

Comments
 (0)