11const defaultTheme = require ( 'tailwindcss/defaultTheme' )
22
33module . exports = {
4- future : {
5- purgeLayersByDefault : true ,
6- removeDeprecatedGapUtilities : true ,
7- } ,
8- target : [ 'relaxed' , {
9- transform : 'ie11' ,
10- backgroundColor : 'ie11' ,
11- textColor : 'ie11' ,
12- borderColor : 'ie11' ,
13- placeholderColor : 'ie11' ,
14- divideColor : 'ie11' ,
15- } ] ,
164 purge : {
175 layers : [ 'components' , 'utilities' ] ,
186 content : [ './*(layouts|content|data|static)/**/*.*(html|toml|md)' ] ,
197 options : {
20- whitelist : [ 'static' , 'relative' , 'absolute' , 'block' , 'hidden' , 'inline-block' , 'inline-block' , 'inline' , 'flex' , 'flex-none' , 'flex-1' , 'flex-grow' , 'justify-center' , 'table' , 'float-left' , 'float-right' , 'text-left' , 'text-center' , 'text-right' , 'text-justify' , 'font-basic-sans' , 'font-content-sans' , 'font-content-serif' , 'font-content-title' , 'text-sm' , 'text-base' , 'text-lg' , 'text-xl' , 'text-2xl' , 'text-40' , 'lowercase' , 'uppercase' , 'tracking-default' , 'align-text-bottom' , 'font-sans' , 'font-serif' , 'font-mono' , 'font-light' , 'font-normal' , 'font-medium' , 'font-semibold' , 'font-bold' , 'leading-tight' , 'mt-0' , 'mt-1' , 'mt-3' , 'mt-4' , 'mt-8' , 'mt-9' , 'mt-10' , 'mx-4' , 'mx-8' , 'ml-3' , 'ml-4' , 'mr-3' , 'mr-4' , 'max-w-680' , 'max-w-2xl' , 'max-w-3xl' , 'max-w-4xl' , 'max-w-5xl' , 'max-w-6xl' , 'min-w-0' , 'w-auto' , 'fill-current' , 'text-gray-500' , 'text-gray-600' , 'text-raven-800' , 'text-raven-900a' , 'first:mt-0' , 'sm:mt-0' , 'sm:ml-4' , 'sm:ml-8' , 'sm:mr-4' , 'sm:mr-8' , 'sm:flex' , 'sm:flex-grow' , 'sm:justify-center' , 'sm:max-w-680' , 'sm:max-w-2xl' , 'sm:max-w-3xl' , 'sm:max-w-4xl' , 'sm:max-w-5xl' , 'sm:max-w-6xl' ] ,
8+ safelist : [ 'static' , 'relative' , 'absolute' , 'block' , 'hidden' , 'inline-block' , 'inline-block' , 'inline' , 'flex' , 'flex-none' , 'flex-1' , 'flex-grow' , 'justify-center' , 'table' , 'float-left' , 'float-right' , 'text-left' , 'text-center' , 'text-right' , 'text-justify' , 'font-basic-sans' , 'font-content-sans' , 'font-content-serif' , 'font-content-title' , 'text-sm' , 'text-base' , 'text-lg' , 'text-xl' , 'text-2xl' , 'text-40' , 'lowercase' , 'uppercase' , 'tracking-default' , 'align-text-bottom' , 'font-sans' , 'font-serif' , 'font-mono' , 'font-light' , 'font-normal' , 'font-medium' , 'font-semibold' , 'font-bold' , 'leading-tight' , 'mt-0' , 'mt-1' , 'mt-3' , 'mt-4' , 'mt-8' , 'mt-9' , 'mt-10' , 'mx-4' , 'mx-8' , 'ml-3' , 'ml-4' , 'mr-3' , 'mr-4' , 'max-w-680' , 'max-w-2xl' , 'max-w-3xl' , 'max-w-4xl' , 'max-w-5xl' , 'max-w-6xl' , 'min-w-0' , 'w-auto' , 'fill-current' , 'text-gray-400' , 'text-gray-600' , 'text-raven-800' , 'text-raven-900a' , 'first:mt-0' , 'sm:mt-0' , 'sm:ml-4' , 'sm:ml-8' , 'sm:mr-4' , 'sm:mr-8' , 'sm:flex' , 'sm:flex-grow' , 'sm:justify-center' , 'sm:max-w-680' , 'sm:max-w-2xl' , 'sm:max-w-3xl' , 'sm:max-w-4xl' , 'sm:max-w-5xl' , 'sm:max-w-6xl' ] ,
219 }
2210 } ,
2311 theme : {
@@ -26,7 +14,7 @@ module.exports = {
2614 '3' : '3px' ,
2715 } ,
2816 boxShadow : {
29- 'b' : '0 4px 12px 0 rgba(0, 0, 0, 0.05)' ,
17+ 'b' : '0 4px 12px 0 rgba(0, 0, 0, 0.05)' , // bottom
3018 } ,
3119 colors : {
3220 // HSL to RGB HEX
@@ -51,6 +39,18 @@ module.exports = {
5139 'content-title' : [ 'content-title' , ...defaultTheme . fontFamily . serif ] ,
5240 } ,
5341 fontSize : {
42+ // TW default, but no line-height
43+ xs : '0.75rem' ,
44+ sm : '0.875rem' ,
45+ base : '1rem' ,
46+ lg : '1.125rem' ,
47+ xl : '1.25rem' ,
48+ '2xl' : '1.5rem' ,
49+ '3xl' : '1.875rem' ,
50+ '4xl' : '2.25rem' ,
51+ '5xl' : '3rem' ,
52+ '6xl' : '4rem' ,
53+ // Axiom
5454 '13' : '0.8125rem' , // 13px
5555 '15' : '0.9375rem' , // 15px
5656 '21' : '1.3125rem' , // 21px
@@ -60,20 +60,17 @@ module.exports = {
6060 } ,
6161 letterSpacing : {
6262 'default' : 'normal' ,
63- 'tightly ' : '-0.015em' ,
63+ 'snug ' : '-0.015em' ,
6464 } ,
6565 lineHeight : {
66- 'tightly ' : '1.15' , // 18.4
66+ 'tighter ' : '1.15' , // 18.4px
6767 } ,
6868 maxWidth : {
6969 '680' : '42.5rem' , // 680
7070 } ,
7171 spacing : {
7272 '2px' : '2px' ,
7373 '3px' : '3px' ,
74- '7' : '1.75rem' , // 28px
75- '9' : '2.25rem' , // 40px
76- '14' : '3.5rem' , // 56px
7774 } ,
7875 } ,
7976 } ,
@@ -84,6 +81,11 @@ module.exports = {
8481 plugins : [ ] ,
8582 corePlugins : {
8683 animation : false ,
84+ backgroundOpacity : false ,
85+ borderOpacity : false ,
8786 container : false ,
87+ ringOpacity : false ,
88+ textOpacity : false ,
89+ transform : false ,
8890 }
8991}
0 commit comments