-
-
Notifications
You must be signed in to change notification settings - Fork 644
/
tailwind.config.js
93 lines (92 loc) · 3.09 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
90
91
92
93
import defaultTheme from 'tailwindcss/defaultTheme';
import forms from '@tailwindcss/forms';
import typography from '@tailwindcss/typography';
/** @type {import('tailwindcss').Config} */
export default {
darkMode: 'class', // Manually disable dark mode.
content: [
'./resources/**/*.blade.php',
'./resources/**/*.js',
'./resources/macros/blade.php',
'./vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php',
],
theme: {
container: {
screens: {
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px',
'2xl': '1280px',
},
},
extend: {
colors: {
lio: {
100: '#e6f6f3',
200: '#a3ecde',
300: '#6ee2cc',
400: '#43d4b8',
500: '#18bc9c',
600: '#14a88b',
700: '#0e8b73',
800: '#0a6553',
900: '#053c31',
},
gray: {
100: '#f9fafb',
200: '#dfdfdf',
300: '#cbcbcb',
400: '#b2b2b2',
500: '#989898',
600: '#7e7e7e',
700: '#636363',
800: '#484a4a',
900: '#343636',
},
twitter: '#000000',
discord: '#7289da',
facebook: '#4267b2',
linkedin: '#2977c9',
},
fontFamily: {
sans: ['Inter', ...defaultTheme.fontFamily.sans],
},
minWidth: {
8: '2rem',
},
maxWidth: {
14: '14rem',
},
typography: (theme) => ({
DEFAULT: {
css: {
color: theme('colors.gray.900'),
a: {
'text-decoration': 'none',
color: theme('colors.lio.500'),
'border-bottom': `2px solid ${theme('colors.lio.100')}`,
'padding-bottom': theme('padding')['0.5'],
'&:hover': {
color: theme('colors.lio.700'),
},
},
'code::before': {
content: '""',
},
'code::after': {
content: '""',
},
code: {
color: '#ec4073',
'background-color': 'rgba(236, 64, 115, 0.1)',
'border-radius': theme('borderRadius.DEFAULT'),
padding: `${theme('padding')[0.5]}`,
},
},
},
}),
},
},
plugins: [forms, typography],
};