-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
39 lines (38 loc) · 1.05 KB
/
tailwind.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
const TailwindCssVariables = require('tailwind-css-variables')
module.exports = {
purge: ['./src/**/*.{js,ts,jsx,tsx}'],
darkMode: 'class', // or 'media' or 'class'
theme: {
fontFamily: {
sans: ['Montserrat', 'sans-serif'],
serif: ['Montserrat', 'serif'],
},
container: {
center: true,
padding: '1rem',
},
extend: {
colors: {
'pal-black': process.env.NEXT_PUBLIC_PALETTE_BLACK,
'pal-white': process.env.NEXT_PUBLIC_PALETTE_WHITE,
'pal-darkest': process.env.NEXT_PUBLIC_PALETTE_DARKEST,
'pal-darker': process.env.NEXT_PUBLIC_PALETTE_DARKER,
'pal-primary': process.env.NEXT_PUBLIC_PALETTE_PRIMARY,
'pal-lighter': process.env.NEXT_PUBLIC_PALETTE_LIGHTER,
'pal-lightest': process.env.NEXT_PUBLIC_PALETTE_LIGHTEST,
},
minHeight: {
'screen-no-nav': 'calc(100vh - 4rem)',
},
},
},
variants: {
extend: {
alignSelf: ['even'],
},
},
plugins: [
// tailwind variables as css variables
TailwindCssVariables(),
],
}