forked from Paymenter/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
65 lines (63 loc) · 2.35 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
const defaultTheme = require("tailwindcss/defaultTheme");
const colors = require('tailwindcss/colors');
module.exports = {
darkMode: 'class',
content: [
"content/**/*.md",
"layouts/**/*.html",
"./node_modules/flowbite/**/*.js"
],
theme: {
extend: {
fontFamily: {
sans: ["roboto, sans-serif", ...defaultTheme.fontFamily.sans],
},
colors: {
'gray': colors.gray,
'secondary': {
50: 'var(--secondary-50)',
100: 'var(--secondary-100)',
200: 'var(--secondary-200)',
300: 'var(--secondary-300)',
400: 'var(--secondary-400)',
500: 'var(--secondary-500)',
600: 'var(--secondary-600)',
700: 'var(--secondary-700)',
800: 'var(--secondary-800)',
900: 'var(--secondary-900)',
},
'primary': {
50: 'var(--primary-50)',
100: 'var(--primary-100)',
200: 'var(--primary-200)',
300: 'var(--primary-300)',
400: 'var(--primary-400)',
},
'danger': {
50: 'var(--danger-50)',
100: 'var(--danger-100)',
200: 'var(--danger-200)',
300: 'var(--danger-300)',
400: 'var(--danger-400)',
},
'success': {
50: 'var(--success-50)',
100: 'var(--success-100)',
200: 'var(--success-200)',
300: 'var(--success-300)',
400: 'var(--success-400)',
},
},
typography: {
DEFAULT: {
css: {
"code::before": { content: '""' },
"code::after": { content: '""' },
"code": { backgroundColor: 'var(--secondary-100)', color: 'var(--gray-800)', padding: '0.25rem 0.5rem', borderRadius: '0.25rem' },
},
},
},
},
},
plugins: [require('@tailwindcss/typography'), require('flowbite/plugin'), require('autoprefixer')],
};