1+ /* Default config: https://github.com/tailwindlabs/tailwindcss/blob/master/stubs/defaultConfig.stub.js */
2+
3+ // TODO: move into @darekkay /styles and inherit
4+
15module . exports = {
26 prefix : "" ,
37 important : false ,
@@ -39,16 +43,16 @@ module.exports = {
3943
4044 // Typography
4145
42- // Update styles/typography .scss as well
46+ // Update styles/_variables .scss as well
4347 fontSize : {
4448 0 : "1rem" ,
4549 1 : "1.2rem" ,
4650 2 : "1.4rem" ,
47- 3 : "1.8rem " ,
48- 4 : "2rem " ,
49- 5 : "2.5rem " ,
50- 6 : "3rem " ,
51- 7 : "4rem " ,
51+ 3 : "1.6rem " ,
52+ 4 : "1.8rem " ,
53+ 5 : "2rem " ,
54+ 6 : "2.4rem " ,
55+ 7 : "3rem " ,
5256 } ,
5357
5458 fontWeight : {
@@ -68,6 +72,13 @@ module.exports = {
6872 loose : "2" ,
6973 } ,
7074
75+ letterSpacing : {
76+ tighter : "-0.05em" ,
77+ tight : "-0.025em" ,
78+ normal : "0em" ,
79+ wide : "0.025em" ,
80+ } ,
81+
7182 // Spacing
7283
7384 spacing : {
@@ -98,6 +109,12 @@ module.exports = {
98109
99110 // Misc
100111
112+ boxShadow : {
113+ sm : "0 1px 2px 0 rgba(0, 0, 0, 0.05)" ,
114+ md : "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)" ,
115+ lg : "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)" ,
116+ xl : "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)" ,
117+ } ,
101118 cursor : {
102119 auto : "auto" ,
103120 default : "default" ,
@@ -150,12 +167,14 @@ module.exports = {
150167 lineHeight : [ ] ,
151168 textColor : [ ] ,
152169 backgroundColor : [ ] ,
170+ letterSpacing : [ ] ,
153171 textAlign : [ "responsive" ] ,
154172 textDecoration : [ "hover" , "focus" ] ,
155173 textTransform : [ ] ,
156174
157175 // Misc
158176
177+ boxShadow : [ ] ,
159178 cursor : [ ] ,
160179 wordBreak : [ ] ,
161180 zIndex : [ ] ,
@@ -201,6 +220,7 @@ module.exports = {
201220
202221 // Misc
203222
223+ boxShadow : true ,
204224 cursor : true ,
205225 wordBreak : true ,
206226 zIndex : true ,
@@ -226,7 +246,6 @@ module.exports = {
226246 borderRadius : false ,
227247 borderStyle : false ,
228248 borderWidth : false ,
229- boxShadow : false ,
230249 boxSizing : false ,
231250 clear : false ,
232251 divideColor : false ,
0 commit comments