-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
37 lines (35 loc) · 841 Bytes
/
tailwind.config.js
File metadata and controls
37 lines (35 loc) · 841 Bytes
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
const colors = require('tailwindcss/colors')
const defaultTheme = require('tailwindcss/defaultTheme')
const plugin = require('tailwindcss/plugin')
module.exports = {
mode: 'jit',
purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
colors: {
rose: colors.rose,
sky: colors.sky,
cyan: colors.cyan,
orange: colors.orange,
fuchsia: colors.fuchsia,
blueGray: colors.blueGray,
},
fontFamily: {
sans: ['Poppins', ...defaultTheme.fontFamily.sans],
},
},
},
variants: {
extend: {},
},
plugins: [
plugin(function ({ addUtilities }) {
addUtilities({
'.scroll-margin': {
scrollMarginTop: "5rem",
}
})
})
]
}