Skip to content

Commit 0c0038a

Browse files
committed
Update purgeTSS v5.3.11
1 parent 3f0cb5b commit 0c0038a

14 files changed

+19120
-7964
lines changed
1.66 KB
Binary file not shown.
140 Bytes
Binary file not shown.
83 KB
Binary file not shown.

app/lib/fontawesome.js

Lines changed: 2445 additions & 0 deletions
Large diffs are not rendered by default.

app/styles/app.tss

Lines changed: 100 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -3,67 +3,38 @@
33
// https://github.com/macCesar/purgeTSS
44

55
// Main styles
6-
'Button[platform=android]': { backgroundColor: 'transparent' }
7-
'ImageView[platform=ios]': { hires: true }
86
'Label': { touchEnabled: false }
7+
'TextArea': { touchEnabled: false }
8+
'Button[platform=android]': { backgroundColor: 'transparent' }
99
'ScrollView': { contentWidth: Ti.UI.FILL, contentHeight: Ti.UI.SIZE }
1010
'ScrollView[platform=android]': { scrollType: 'vertical' }
11-
'TextArea': { touchEnabled: false }
12-
'View': { width: Ti.UI.SIZE, height: Ti.UI.SIZE }
1311
'Window': { backgroundColor: '#ffffff' }
14-
'.bg-white': { backgroundColor: '#ffffff' }
15-
'.bg-gray-50': { backgroundColor: '#f9fafb' }
16-
'.bg-gray-100': { backgroundColor: '#f3f4f6' }
17-
'.bg-gray-200': { backgroundColor: '#e5e7eb' }
18-
'.bg-gray-300': { backgroundColor: '#d1d5db' }
19-
'.bg-gray-500': { backgroundColor: '#6b7280' }
20-
'.bg-gray-800': { backgroundColor: '#1f2937' }
21-
'.bg-gray-900': { backgroundColor: '#111827' }
22-
'.bg-orange-100': { backgroundColor: '#ffedd5' }
23-
'.bg-green-500': { backgroundColor: '#22c55e' }
24-
'.bg-blue-200': { backgroundColor: '#bfdbfe' }
25-
'.bg-blue-500': { backgroundColor: '#3b82f6' }
26-
'.bg-blue-700': { backgroundColor: '#1d4ed8' }
27-
'.bg-blue-900': { backgroundColor: '#1e3a8a' }
28-
'.bg-indigo-500': { backgroundColor: '#6366f1' }
29-
'.border-gray-400': { borderColor: '#9ca3af' }
30-
'.border-gray-500': { borderColor: '#6b7280' }
31-
'.border-blue-600': { borderColor: '#2563eb' }
32-
'.border-blue-800': { borderColor: '#1e40af' }
33-
'.rounded-8': { borderRadius: 16 }
34-
'.rounded-10': { borderRadius: 20 }
35-
'.rounded-12': { borderRadius: 24 }
36-
'.rounded-16': { borderRadius: 32 }
37-
'.rounded': { borderRadius: 4 }
38-
'.rounded-md': { borderRadius: 6 }
39-
'.rounded-lg': { borderRadius: 8 }
40-
'.border-2': { borderWidth: 2 }
41-
'.border-4': { borderWidth: 4 }
42-
'.clip-enabled[platform=ios]': { clipMode: Ti.UI.iOS.CLIP_MODE_ENABLED }
43-
'.block': { visible: true }
44-
'.text-xs': { font: { fontSize: 12 } }
45-
'.text-sm': { font: { fontSize: 14 } }
46-
'.text-base': { font: { fontSize: 16 } }
47-
'.text-xl': { font: { fontSize: 20 } }
48-
'.text-2xl': { font: { fontSize: 24 } }
49-
'.text-3xl': { font: { fontSize: 30 } }
50-
'.text-4xl': { font: { fontSize: 36 } }
51-
'.italic': { font: { fontStyle: 'italic' } }
52-
'.font-thin': { font: { fontWeight: 'thin' } }
53-
'.font-normal': { font: { fontWeight: 'normal' } }
54-
'.font-semibold': { font: { fontWeight: 'semibold' } }
55-
'.font-bold': { font: { fontWeight: 'bold' } }
12+
'ImageView[platform=ios]': { hires: true }
13+
'View': { width: Ti.UI.SIZE, height: Ti.UI.SIZE }
5614
'.h-6': { height: 24 }
5715
'.h-8': { height: 32 }
5816
'.h-10': { height: 40 }
5917
'.h-12': { height: 48 }
6018
'.h-16': { height: 64 }
6119
'.h-20': { height: 80 }
62-
'.h-px': { height: '1px' }
6320
'.h-auto': { height: Ti.UI.SIZE }
21+
'.h-px': { height: '1px' }
6422
'.h-full': { height: '100%' }
65-
'.horizontal': { layout: 'horizontal' }
66-
'.vertical': { layout: 'vertical' }
23+
'.w-6': { width: 24 }
24+
'.w-10': { width: 40 }
25+
'.w-12': { width: 48 }
26+
'.w-16': { width: 64 }
27+
'.w-24': { width: 96 }
28+
'.w-56': { width: 224 }
29+
'.w-auto': { width: Ti.UI.SIZE }
30+
'.w-1/2': { width: '50%' }
31+
'.w-1/3': { width: '33.333334%' }
32+
'.w-1/4': { width: '25%' }
33+
'.w-1/5': { width: '20%' }
34+
'.w-4/5': { width: '80%' }
35+
'.w-11/12': { width: '91.666667%' }
36+
'.w-full': { width: '100%' }
37+
'.w-screen': { width: Ti.UI.FILL }
6738
'.m-3': { top: 12, right: 12, bottom: 12, left: 12 }
6839
'.m-4': { top: 16, right: 16, bottom: 16, left: 16 }
6940
'.my-2': { top: 8, bottom: 8 }
@@ -94,52 +65,91 @@
9465
'.-mx-1': { left: -4, right: -4 }
9566
'.-mr-1': { right: -4 }
9667
'.-ml-1': { left: -4 }
68+
'.clip-enabled[platform=ios]': { clipMode: Ti.UI.iOS.CLIP_MODE_ENABLED }
69+
'.block': { visible: true }
70+
'.italic': { font: { fontStyle: 'italic' } }
71+
'.horizontal': { layout: 'horizontal' }
72+
'.vertical': { layout: 'vertical' }
73+
'.show-paging-control': { showPagingControl: true }
74+
'.return-key-type-next': { returnKeyType: Ti.UI.RETURNKEY_NEXT }
75+
'.text-left': { textAlign: Ti.UI.TEXT_ALIGNMENT_LEFT }
76+
'.text-right': { textAlign: Ti.UI.TEXT_ALIGNMENT_RIGHT }
77+
'.text-center': { textAlign: Ti.UI.TEXT_ALIGNMENT_CENTER }
78+
'.shadow-xs[platform=android]': { elevation: 4 }
79+
'.shadow-sm[platform=android]': { elevation: 8 }
80+
'.shadow[platform=android]': { elevation: 16 }
81+
'.shadow-md[platform=android]': { elevation: 24 }
82+
'.shadow-lg[platform=android]': { elevation: 26 }
83+
'.shadow-xl[platform=android]': { elevation: 34 }
84+
'.shadow-2xl[platform=android]': { elevation: 38 }
85+
'.shadow-inner[platform=android]': { elevation: 0 }
86+
'.shadow-outline[platform=android]': { elevation: 16 }
87+
'.shadow-xs[platform=ios]': { viewShadowOffset: { x: 0, y: 0 }, viewShadowRadius: 1, viewShadowColor: '#80000000' }
88+
'.shadow-sm[platform=ios]': { viewShadowOffset: { x: 0, y: 1 }, viewShadowRadius: 2, viewShadowColor: '#80000000' }
89+
'.shadow[platform=ios]': { viewShadowOffset: { x: 0, y: 2 }, viewShadowRadius: 4, viewShadowColor: '#80000000' }
90+
'.shadow-md[platform=ios]': { viewShadowOffset: { x: 0, y: 3 }, viewShadowRadius: 6, viewShadowColor: '#80000000' }
91+
'.shadow-lg[platform=ios]': { viewShadowOffset: { x: 0, y: 4 }, viewShadowRadius: 8, viewShadowColor: '#80000000' }
92+
'.shadow-xl[platform=ios]': { viewShadowOffset: { x: 0, y: 6 }, viewShadowRadius: 12, viewShadowColor: '#80000000' }
93+
'.shadow-2xl[platform=ios]': { viewShadowOffset: { x: 0, y: 8 }, viewShadowRadius: 14, viewShadowColor: '#80000000' }
94+
'.shadow-inner[platform=ios]': { viewShadowOffset: { x: 0, y: 0 }, viewShadowRadius: null, viewShadowColor: null }
95+
'.shadow-outline[platform=ios]': { viewShadowOffset: { x: 0, y: 0 }, viewShadowRadius: 4, viewShadowColor: '#80000000' }
96+
'.rounded-8': { borderRadius: 16 }
97+
'.rounded-10': { borderRadius: 20 }
98+
'.rounded-12': { borderRadius: 24 }
99+
'.rounded-16': { borderRadius: 32 }
100+
'.rounded': { borderRadius: 4 }
101+
'.rounded-md': { borderRadius: 6 }
102+
'.rounded-lg': { borderRadius: 8 }
103+
'.border-2': { borderWidth: 2 }
104+
'.border-4': { borderWidth: 4 }
105+
'.text-xs': { font: { fontSize: 12 } }
106+
'.text-sm': { font: { fontSize: 14 } }
107+
'.text-base': { font: { fontSize: 16 } }
108+
'.text-xl': { font: { fontSize: 20 } }
109+
'.text-2xl': { font: { fontSize: 24 } }
110+
'.text-3xl': { font: { fontSize: 30 } }
111+
'.text-4xl': { font: { fontSize: 36 } }
112+
'.font-thin': { font: { fontWeight: 'thin' } }
113+
'.font-normal': { font: { fontWeight: 'normal' } }
114+
'.font-semibold': { font: { fontWeight: 'semibold' } }
115+
'.font-bold': { font: { fontWeight: 'bold' } }
97116
'.opacity-25': { opacity: 0.25 }
98117
'.opacity-50': { opacity: 0.5 }
99118
'.opacity-75': { opacity: 0.75 }
100119
'.opacity-100': { opacity: 1 }
101120
'.pl-2': { padding: { left: 8 } }
102-
'.paging-gray-200': { pagingControlColor: '#e5e7eb' }
103-
'.returnkey-next': { returnKeyType: Ti.UI.RETURNKEY_NEXT }
104-
'.shadow-xs': { viewShadowOffset: { x: 0, y: 0 }, viewShadowRadius: 1, viewShadowColor: '#59000000' }
105-
'.shadow-sm': { viewShadowOffset: { x: 0, y: 1 }, viewShadowRadius: 1, viewShadowColor: '#59000000' }
106-
'.shadow': { viewShadowOffset: { x: 0, y: 2 }, viewShadowRadius: 2, viewShadowColor: '#59000000' }
107-
'.shadow-md': { viewShadowOffset: { x: 0, y: 3 }, viewShadowRadius: 3, viewShadowColor: '#59000000' }
108-
'.shadow-lg': { viewShadowOffset: { x: 0, y: 4 }, viewShadowRadius: 4, viewShadowColor: '#59000000' }
109-
'.shadow-xl': { viewShadowOffset: { x: 0, y: 6 }, viewShadowRadius: 6, viewShadowColor: '#59000000' }
110-
'.shadow-2xl': { viewShadowOffset: { x: 0, y: 8 }, viewShadowRadius: 8, viewShadowColor: '#59000000' }
111-
'.shadow-inner': { viewShadowOffset: { x: 0, y: 0 }, viewShadowRadius: null, viewShadowColor: null }
112-
'.shadow-outline': { viewShadowOffset: { x: 0, y: 0 }, viewShadowRadius: 2, viewShadowColor: '#59000000' }
113-
'.text-left': { textAlign: Ti.UI.TEXT_ALIGNMENT_LEFT }
114-
'.text-right': { textAlign: Ti.UI.TEXT_ALIGNMENT_RIGHT }
115-
'.text-center': { textAlign: Ti.UI.TEXT_ALIGNMENT_CENTER }
116-
'.text-white': { color: '#ffffff' }
117-
'.text-gray-200': { color: '#e5e7eb' }
118-
'.text-gray-500': { color: '#6b7280' }
119-
'.text-gray-600': { color: '#4b5563' }
120-
'.text-gray-700': { color: '#374151' }
121-
'.text-gray-800': { color: '#1f2937' }
122-
'.text-gray-900': { color: '#111827' }
123-
'.text-red-600': { color: '#dc2626' }
124-
'.text-red-700': { color: '#b91c1c' }
125-
'.text-blue-700': { color: '#1d4ed8' }
126-
'.text-indigo-700': { color: '#4338ca' }
127-
'.text-purple-500': { color: '#a855f7' }
128-
'.w-6': { width: 24 }
129-
'.w-10': { width: 40 }
130-
'.w-12': { width: 48 }
131-
'.w-16': { width: 64 }
132-
'.w-24': { width: 96 }
133-
'.w-56': { width: 224 }
134-
'.w-auto': { width: Ti.UI.SIZE }
135-
'.w-1/2': { width: '50%' }
136-
'.w-1/3': { width: '33.333334%' }
137-
'.w-1/4': { width: '25%' }
138-
'.w-1/5': { width: '20%' }
139-
'.w-4/5': { width: '80%' }
140-
'.w-11/12': { width: '91.666667%' }
141-
'.w-full': { width: '100%' }
142-
'.w-screen': { width: Ti.UI.FILL }
121+
'.bg-white': { backgroundColor: '#ffffff' }
122+
'.bg-gray-50': { backgroundColor: '#f9fafb' }
123+
'.bg-gray-100': { backgroundColor: '#f3f4f6' }
124+
'.bg-gray-200': { backgroundColor: '#e5e7eb' }
125+
'.bg-gray-300': { backgroundColor: '#d1d5db' }
126+
'.bg-gray-500': { backgroundColor: '#6b7280' }
127+
'.bg-gray-800': { backgroundColor: '#1f2937' }
128+
'.bg-gray-900': { backgroundColor: '#111827' }
129+
'.bg-orange-100': { backgroundColor: '#ffedd5' }
130+
'.bg-green-500': { backgroundColor: '#22c55e' }
131+
'.bg-blue-200': { backgroundColor: '#bfdbfe' }
132+
'.bg-blue-500': { backgroundColor: '#3b82f6' }
133+
'.bg-blue-700': { backgroundColor: '#1d4ed8' }
134+
'.bg-blue-900': { backgroundColor: '#1e3a8a' }
135+
'.bg-indigo-500': { backgroundColor: '#6366f1' }
136+
'.border-gray-400': { borderColor: '#9ca3af' }
137+
'.border-gray-500': { borderColor: '#6b7280' }
138+
'.border-blue-600': { borderColor: '#2563eb' }
139+
'.border-blue-800': { borderColor: '#1e40af' }
140+
'.paging-control-gray-200[platform=ios]': { pagingControlColor: '#e5e7eb' }
141+
'.text-white': { color: '#ffffff', textColor: '#ffffff' }
142+
'.text-gray-200': { color: '#e5e7eb', textColor: '#e5e7eb' }
143+
'.text-gray-500': { color: '#6b7280', textColor: '#6b7280' }
144+
'.text-gray-600': { color: '#4b5563', textColor: '#4b5563' }
145+
'.text-gray-700': { color: '#374151', textColor: '#374151' }
146+
'.text-gray-800': { color: '#1f2937', textColor: '#1f2937' }
147+
'.text-gray-900': { color: '#111827', textColor: '#111827' }
148+
'.text-red-600': { color: '#dc2626', textColor: '#dc2626' }
149+
'.text-red-700': { color: '#b91c1c', textColor: '#b91c1c' }
150+
'.text-blue-700': { color: '#1d4ed8', textColor: '#1d4ed8' }
151+
'.text-indigo-700': { color: '#4338ca', textColor: '#4338ca' }
152+
'.text-purple-500': { color: '#a855f7', textColor: '#a855f7' }
143153

144154
// Styles with arbitrary values
145155
'.cache-size-(9)': { cacheSize: 9 }

app/views/examples/politico.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<ImageView class="mt-2" image="https://static.politico.com/dims4/default/fcd6d6a/2147483647/resize/1920x/quality/90/?url=https%3A%2F%2Fstatic.politico.com%2F22%2F87%2F2259ffd444678054896b9fa32b4d%2Fgettyimages-1221513169.jpg" />
1313

14-
<Label class="w-screen h-auto my-2 text-sm text-gray-600 border-b text-normal">Georgia Gov. Brian Kemp speaks to the media during a press conference. | Kevin C. Cox/Getty Images</Label>
14+
<Label class="w-screen h-auto my-2 text-sm font-normal text-gray-600 border-b">Georgia Gov. Brian Kemp speaks to the media during a press conference. | Kevin C. Cox/Getty Images</Label>
1515

1616
<TextArea class="w-screen -mx-1 text-xs italic font-thin text-gray-600 bg-white">By Quint Forgey
1717
07/17/2020 09:57 AM EDT

app/views/examples/register.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
<ImageView class="w-56 mt-3" image="/images/welcome.png" />
55

66
<Label class="w-full mt-2 ml-1 text-sm text-left text-gray-900">Your Login</Label>
7-
<TextField class="w-screen h-10 pl-2 mt-1 text-base text-gray-800 border-gray-400 rounded-md bg-gray-50 returnkey-next" keyboardType="Ti.UI.KEYBOARD_TYPE_EMAIL" hintText="Email" />
7+
<TextField class="w-screen h-10 pl-2 mt-1 text-base text-gray-800 border-gray-400 rounded-md bg-gray-50 return-key-type-next" keyboardType="Ti.UI.KEYBOARD_TYPE_EMAIL" hintText="Email" />
88

99
<Label class="w-full mt-4 ml-1 text-sm text-left text-gray-900">Your Password</Label>
10-
<TextField class="w-screen h-10 pl-2 mt-1 text-base text-gray-800 border-gray-400 rounded-md bg-gray-50 returnkey-next" hintText="Password" passwordMask="true" />
10+
<TextField class="w-screen h-10 pl-2 mt-1 text-base text-gray-800 border-gray-400 rounded-md bg-gray-50 return-key-type-next" hintText="Password" passwordMask="true" />
1111

1212
<Button class="w-screen h-10 mt-4 text-base text-white bg-gray-800 rounded-md">Login</Button>
1313

app/views/index.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Alloy>
22
<NavigationWindow id="navWindow">
33
<Window title="tailwind tss">
4-
<ScrollableView class="w-full h-full bg-white show-paging paging-gray-200 cache-size-(9)">
4+
<ScrollableView class="w-full h-full bg-white show-paging-control paging-control-gray-200 cache-size-(9)">
55
<Require src="examples/nike" />
66

77
<Require src="examples/register" />

0 commit comments

Comments
 (0)