|
3 | 3 | // https://github.com/macCesar/purgeTSS
|
4 | 4 |
|
5 | 5 | // Main styles
|
6 |
| -'Button[platform=android]': { backgroundColor: 'transparent' } |
7 |
| -'ImageView[platform=ios]': { hires: true } |
8 | 6 | 'Label': { touchEnabled: false }
|
| 7 | +'TextArea': { touchEnabled: false } |
| 8 | +'Button[platform=android]': { backgroundColor: 'transparent' } |
9 | 9 | 'ScrollView': { contentWidth: Ti.UI.FILL, contentHeight: Ti.UI.SIZE }
|
10 | 10 | 'ScrollView[platform=android]': { scrollType: 'vertical' }
|
11 |
| -'TextArea': { touchEnabled: false } |
12 |
| -'View': { width: Ti.UI.SIZE, height: Ti.UI.SIZE } |
13 | 11 | '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 } |
56 | 14 | '.h-6': { height: 24 }
|
57 | 15 | '.h-8': { height: 32 }
|
58 | 16 | '.h-10': { height: 40 }
|
59 | 17 | '.h-12': { height: 48 }
|
60 | 18 | '.h-16': { height: 64 }
|
61 | 19 | '.h-20': { height: 80 }
|
62 |
| -'.h-px': { height: '1px' } |
63 | 20 | '.h-auto': { height: Ti.UI.SIZE }
|
| 21 | +'.h-px': { height: '1px' } |
64 | 22 | '.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 } |
67 | 38 | '.m-3': { top: 12, right: 12, bottom: 12, left: 12 }
|
68 | 39 | '.m-4': { top: 16, right: 16, bottom: 16, left: 16 }
|
69 | 40 | '.my-2': { top: 8, bottom: 8 }
|
|
94 | 65 | '.-mx-1': { left: -4, right: -4 }
|
95 | 66 | '.-mr-1': { right: -4 }
|
96 | 67 | '.-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' } } |
97 | 116 | '.opacity-25': { opacity: 0.25 }
|
98 | 117 | '.opacity-50': { opacity: 0.5 }
|
99 | 118 | '.opacity-75': { opacity: 0.75 }
|
100 | 119 | '.opacity-100': { opacity: 1 }
|
101 | 120 | '.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' } |
143 | 153 |
|
144 | 154 | // Styles with arbitrary values
|
145 | 155 | '.cache-size-(9)': { cacheSize: 9 }
|
|
0 commit comments