n-link/n-link-core/tailwind.config.js

68 lines
1.6 KiB
JavaScript
Raw Normal View History

2020-10-02 20:17:55 +00:00
module.exports = {
future: {
purgeLayersByDefault: true,
removeDeprecatedGapUtilities: true,
},
theme: {
fontFamily: {
sans: [
'Cantarell',
'Roboto',
'system-ui',
'-apple-system',
'BlinkMacSystemFont',
'"Segoe UI"',
'"Helvetica Neue"',
'Arial',
'"Noto Sans"',
'sans-serif',
'"Apple Color Emoji"',
'"Segoe UI Emoji"',
'"Segoe UI Symbol"',
'"Noto Color Emoji"',
],
},
extend: {
inset: {
'1/8': '0.125em',
},
boxShadow: {
even: '0 2px 12px 0 #0000001a',
error: '0 0 0 3px #F56C6CA0',
},
padding: {
'2.5': '0.625em',
'3/2': '0.375em',
},
colors: {
ui: {
background: 'var(--color-ui-background)',
emph: 'var(--color-ui-emph)',
sidebar: 'var(--color-ui-sidebar)',
text: 'var(--color-ui-text)',
'text-inv': 'var(--color-ui-text-inv)',
primary: 'var(--color-ui-primary)',
border: 'var(--color-ui-border)',
blockquote: 'var(--color-ui-blockquote)',
},
},
2021-04-06 21:01:54 +00:00
height: {
min: 'min-content',
},
2020-10-02 20:17:55 +00:00
},
},
variants: {},
plugins: [require('@tailwindcss/custom-forms')],
2020-10-06 14:48:41 +00:00
purge: process.env.npm_package_name === 'web' && {
enabled: process.env.NODE_ENV === 'production',
content: [
'components/**/*.vue',
'layouts/**/*.vue',
'pages/**/*.vue',
'plugins/**/*.js',
'nuxt.config.js',
'../n-link-core/components/**/*.vue'
]
},
2020-10-02 20:17:55 +00:00
};