-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
36 lines (35 loc) · 952 Bytes
/
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
/** @type {import('tailwindcss').Config} */
const { extractTwColorsToCssVars } = require('./utils/tailwind.customUtilities');
const { fontFamily } = require('tailwindcss/defaultTheme')
module.exports = {
prefix: 'u-',
content: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
theme: {
//screens: {}, // declare theme screensizes
//spacing: {}, // declare custom theme scales
//lineHeight: {},
extend: {
colors: {
ninja: {
'100': '#f5f5f5',
'200': '#eeeeee',
'300': '#e0e0e0',
'400': '#bdbdbd',
'500': '#9e9e9e',
'600': '#757575',
'700': '#616161',
'800': '#424242',
'900': '#212121',
},
},
},
fontFamily: {
sans: [
'var(--font-inter-vf)', ...fontFamily.sans
],
},
},
// official plugins https://tailwindcss.com/docs/plugins#official-plugins
// https://gist.github.com/Merott/d2a19b32db07565e94f10d13d11a8574
plugins: [extractTwColorsToCssVars],
};