-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a3eb10a
commit f798468
Showing
3 changed files
with
73 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,76 +1,76 @@ | ||
module.exports = { | ||
purge: { | ||
content: [ | ||
'source/**/*.html', | ||
'source/**/*.md', | ||
'source/**/*.js', | ||
'source/**/*.php', | ||
'source/**/*.vue', | ||
], | ||
options: { | ||
whitelist: [ | ||
/language/, | ||
/hljs/, | ||
/algolia/, | ||
], | ||
}, | ||
purge: { | ||
content: [ | ||
'source/**/*.html', | ||
'source/**/*.md', | ||
'source/**/*.js', | ||
'source/**/*.php', | ||
'source/**/*.vue', | ||
], | ||
options: { | ||
whitelist: [ | ||
/language/, | ||
/hljs/, | ||
/algolia/, | ||
], | ||
}, | ||
theme: { | ||
extend: { | ||
fontFamily: { | ||
sans: [ | ||
'Nunito Sans' | ||
], | ||
mono: [ | ||
'monospace', | ||
], | ||
}, | ||
lineHeight: { | ||
normal: '1.6', | ||
loose: '1.75', | ||
}, | ||
maxWidth: { | ||
none: 'none', | ||
'7xl': '80rem', | ||
'8xl': '88rem' | ||
}, | ||
spacing: { | ||
'7': '1.75rem', | ||
'9': '2.25rem' | ||
}, | ||
boxShadow: { | ||
'lg': '0 -1px 27px 0 rgba(0, 0, 0, 0.04), 0 4px 15px 0 rgba(0, 0, 0, 0.08)', | ||
} | ||
}, | ||
fontSize: { | ||
'xs': '.8rem', | ||
'sm': '.925rem', | ||
'base': '1rem', | ||
'lg': '1.125rem', | ||
'xl': '1.25rem', | ||
'2xl': '1.5rem', | ||
'3xl': '1.75rem', | ||
'4xl': '2.125rem', | ||
'5xl': '2.625rem', | ||
'6xl': '10rem', | ||
}, | ||
}, | ||
theme: { | ||
extend: { | ||
fontFamily: { | ||
sans: [ | ||
'Nunito Sans' | ||
], | ||
mono: [ | ||
'monospace', | ||
], | ||
}, | ||
lineHeight: { | ||
normal: '1.6', | ||
loose: '1.75', | ||
}, | ||
maxWidth: { | ||
none: 'none', | ||
'7xl': '80rem', | ||
'8xl': '88rem' | ||
}, | ||
spacing: { | ||
'7': '1.75rem', | ||
'9': '2.25rem' | ||
}, | ||
boxShadow: { | ||
'lg': '0 -1px 27px 0 rgba(0, 0, 0, 0.04), 0 4px 15px 0 rgba(0, 0, 0, 0.08)', | ||
} | ||
}, | ||
variants: { | ||
borderRadius: ['responsive', 'focus'], | ||
borderWidth: ['responsive', 'active', 'focus'], | ||
width: ['responsive', 'focus'] | ||
fontSize: { | ||
'xs': '.8rem', | ||
'sm': '.925rem', | ||
'base': '1rem', | ||
'lg': '1.125rem', | ||
'xl': '1.25rem', | ||
'2xl': '1.5rem', | ||
'3xl': '1.75rem', | ||
'4xl': '2.125rem', | ||
'5xl': '2.625rem', | ||
'6xl': '10rem', | ||
}, | ||
plugins: [ | ||
}, | ||
variants: { | ||
borderRadius: ['responsive', 'focus'], | ||
borderWidth: ['responsive', 'active', 'focus'], | ||
width: ['responsive', 'focus'] | ||
}, | ||
plugins: [ | ||
function ({ addUtilities }) { | ||
const newUtilities = { | ||
'.transition-fast': { | ||
transition: 'all .2s ease-out', | ||
}, | ||
'.transition': { | ||
transition: 'all .5s ease-out', | ||
}, | ||
} | ||
addUtilities(newUtilities) | ||
const newUtilities = { | ||
'.transition-fast': { | ||
transition: 'all .2s ease-out', | ||
}, | ||
'.transition': { | ||
transition: 'all .5s ease-out', | ||
}, | ||
} | ||
addUtilities(newUtilities) | ||
} | ||
] | ||
] | ||
} |