-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
50 lines (49 loc) · 1.32 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
40
41
42
43
44
45
46
47
48
49
50
/** @type {import('tailwindcss').Config} */
const {
PRIMARY_COLOR,
SECONDARY_COLOR,
SECONDARY_COLOR_100,
SECONDARY_COLOR_200,
TERTIARY_COLOR,
BLACK_COLOR,
BLACK_COLOR_100,
BLACK_COLOR_200,
GRAY_COLOR,
} = require('./constants');
module.exports = {
content: ['./app/**/*.{js,jsx,ts,tsx}', './components/**/*.{js,jsx,ts,tsx}'],
presets: [require('nativewind/preset')],
theme: {
extend: {
colors: {
primary: PRIMARY_COLOR,
secondary: {
DEFAULT: SECONDARY_COLOR,
100: SECONDARY_COLOR_100,
200: SECONDARY_COLOR_200,
},
tertiary: TERTIARY_COLOR,
black: {
DEFAULT: BLACK_COLOR,
100: BLACK_COLOR_100,
200: BLACK_COLOR_200,
},
gray: {
100: GRAY_COLOR,
},
},
fontFamily: {
pthin: ['Poppins-Thin', 'sans-serif'],
pextralight: ['Poppins-ExtraLight', 'sans-serif'],
plight: ['Poppins-Light', 'sans-serif'],
pregular: ['Poppins-Regular', 'sans-serif'],
pmedium: ['Poppins-Medium', 'sans-serif'],
psemibold: ['Poppins-SemiBold', 'sans-serif'],
pbold: ['Poppins-Bold', 'sans-serif'],
pextrabold: ['Poppins-ExtraBold', 'sans-serif'],
pblack: ['Poppins-Black', 'sans-serif'],
},
},
},
plugins: [],
};