-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtailwind.config.js
More file actions
32 lines (31 loc) · 940 Bytes
/
tailwind.config.js
File metadata and controls
32 lines (31 loc) · 940 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
/** @type {import('tailwindcss').Config} */
const themeColors = require('./utils/theme');
module.exports = {
// NOTE: Update this to include the paths to all of your component files.
content: [
'./app/**/*.{js,jsx,ts,tsx}',
'./components/**/*.{js,jsx,ts,tsx}',
'./features/**/*.{js,jsx,ts,tsx}',
],
presets: [require('nativewind/preset')],
theme: {
fontWeight: {}, // To prevent weights to be defined twice
colors: themeColors,
extend: {
fontFamily: {
sans: ['regular'], // Inter regular is default font
// Font weights defined here as there are separate font families for each weight
thin: ['thin'],
extralight: ['extralight'],
light: ['light'],
normal: ['regular'],
medium: ['medium'],
semibold: ['semibold'],
bold: ['bold'],
extrabold: ['extrabols'],
black: ['black'],
},
},
},
plugins: [],
};