forked from crater-invoice/crater
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
92 lines (90 loc) · 2.28 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
const plugin = require('tailwindcss/plugin')
module.exports = {
purge: [
'./resources/views/**/*.php',
'./resources/assets/js/**/*.js',
'./resources/assets/js/**/*.vue',
'./resources/assets/sass/**/*.scss',
'./node_modules/\\@bytefury/spacewind/src/**/*.js',
'./node_modules/\\@bytefury/spacewind/src/**/*.vue',
'./node_modules/\\@bytefury/spacewind/plugin/**/*.js',
'flatpickr/**/*.js',
'toastr/**/*.js',
'./public/js/pace/**/*.js',
],
theme: {
extend: {
fontFamily: {
base: ['Poppins', 'sans-serif'],
},
colors: {
primary: {
50: '#F7F6FD',
100: '#EEEEFB',
200: '#D5D4F5',
300: '#BCB9EF',
400: '#8A85E4',
500: '#5851D8',
600: '#4F49C2',
700: '#353182',
800: '#282461',
900: '#1A1841',
},
black: '#040405',
},
spacing: {
7: '1.75rem',
9: '2.25rem',
72: '18rem',
80: '20rem',
88: '22rem',
96: '24rem',
},
screens: {
xxl: '1440px',
},
},
},
variants: {
textColor: ['responsive', 'hover', 'focus', 'active', 'visited'],
borderColor: ['responsive', 'hover', 'focus', 'active', 'focus-within'],
borderRadius: ['responsive', 'hover', 'first', 'last'],
boxShadow: ['responsive', 'hover', 'focus', 'active', 'group-hover'],
borderStyle: ['responsive', 'hover', 'first', 'last'],
borderWidth: ['responsive', 'last', 'hover', 'focus'],
},
plugins: [
require('@bytefury/spacewind/plugin'),
plugin(({ config, addBase }) => {
let craterDefaultTypography = {
fontFamily: config('theme.fontFamily.base'),
}
addBase({
'.h1': {
...craterDefaultTypography,
},
'.h2': {
...craterDefaultTypography,
},
'.h3': {
...craterDefaultTypography,
},
'.h4': {
...craterDefaultTypography,
},
'.h5': {
...craterDefaultTypography,
},
'.h6': {
...craterDefaultTypography,
},
'.page-title': {
...craterDefaultTypography,
},
'.section-title': {
...craterDefaultTypography,
},
})
}),
],
}