-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
89 lines (74 loc) · 2.11 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/** @type {import('tailwindcss').Config} */
const colors = require('tailwindcss/colors');
module.exports = {
content: ["*.{html,php,js}", "./**/*.{html,php,js}"],
theme: {
colors: {
'gray': colors.slate,
'white': '#FFFFFF',
'theme': {
50: 'rgb(var(--color-theme-50-rgb) / <alpha-value>)',
100: 'rgb(var(--color-theme-100-rgb) / <alpha-value>)',
200: 'rgb(var(--color-theme-200-rgb) / <alpha-value>)',
300: 'rgb(var(--color-theme-300-rgb) / <alpha-value>)',
400: 'rgb(var(--color-theme-400-rgb) / <alpha-value>)',
500: 'rgb(var(--color-theme-500-rgb) / <alpha-value>)',
600: 'rgb(var(--color-theme-600-rgb) / <alpha-value>)',
700: 'rgb(var(--color-theme-700-rgb) / <alpha-value>)',
800: 'rgb(var(--color-theme-800-rgb) / <alpha-value>)',
900: 'rgb(var(--color-theme-900-rgb) / <alpha-value>)',
},
'inherit': 'inherit',
'transparent': 'rgb(255 255 255 / 0)',
'red': '#EF3838',
'orange': '#F8841E',
'green': '#85A700',
'blue': '#1E92F8',
'pink': '#C60295',
},
fontFamily: {
sans: ['"Montserrat"', 'Montserrat', 'Poppins', 'Helvetica', 'sans-serif'],
mono: ['Source Code Pro', 'Courier New', 'monospace']
},
container: {
center: true,
padding: {
DEFAULT: '2rem',
sm: '2rem',
lg: '4rem',
xl: '6rem',
'2xl': '7rem',
},
},
extend: {
backgroundImage: {
'grid': "var(--bg-grid-url)",
'grid-white': "var(--bg-grid-white-url)"
},
backgroundSize: {
'100%': '100%'
},
typography: {
DEFAULT: {
css: {
color: 'inherit',
lineHeight: '2',
a: {
color: 'rgb(var(--color-theme-500-rgb))',
'&:hover': {
color: 'rgb(var(--color-theme-600-rgb))',
},
},
p: {
marginBottom: '3rem'
}
},
},
},
},
},
darkMode: 'class',
plugins: [
require('@tailwindcss/typography'),
],
}