-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
75 lines (73 loc) · 2.27 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
const colors = require('tailwindcss/colors')
const defaultTheme = require('tailwindcss/defaultTheme')
const colorVariable = require('@mertasan/tailwindcss-variables/colorVariable')
const primary = '#000000'
const secondary = '#4E4FEB'
const tertiary = '#EEEEEE'
const borderRadius = '0.75rem'
module.exports = {
content: [
'./resources/views/**/*.blade.php',
'./resources/js/**/*.vue',
],
theme: {
variables: {
DEFAULT: {
colors: {
primary: primary,
black: '#000000',
white: '#FFFFFF',
secondary: secondary,
tertiary: tertiary,
},
'border-radius': {
md: '0.45rem',
default: borderRadius,
'4xl': '2rem'
}
}
},
extend: {
fontSize: {
'7xl': '4rem',
'10xl': '6rem'
},
borderRadius: {
default: 'var(--border-radius-default)',
'4xl': '2rem'
},
colors: {
gray: colors.slate,
primary: {
DEFAULT: colorVariable('--colors-primary')
},
secondary: {
DEFAULT: colorVariable('--colors-secondary')
},
tertiary: {
DEFAULT: colorVariable('--colors-tertiary')
}
},
fontFamily: {
heading: [
'Escalator',
'Inter',
'ui-sans-serif',
'system-ui',
'-apple-system',
'BlinkMacSystemFont',
'sans-serif'
],
body: ['ui-sans-serif', 'system-ui', '-apple-system', 'BlinkMacSystemFont', 'sans-serif'],
system: ['ui-sans-serif', 'system-ui', '-apple-system', 'BlinkMacSystemFont', 'sans-serif'],
},
},
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
require('@mertasan/tailwindcss-variables')({
colorVariables: true
}),
],
}