-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
40 lines (39 loc) · 1.11 KB
/
tailwind.config.js
File metadata and controls
40 lines (39 loc) · 1.11 KB
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
const plugin = require('tailwindcss/plugin')
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
'primary': '#0A2463',
'secondary': '#3E92CC',
'accent': '#FFD700',
'background': '#F8F9FA',
'text': '#333333',
},
fontFamily: {
'sans': ['Inter', 'system-ui', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'sans-serif'],
'heading': ['Poppins', 'sans-serif'],
},
backgroundImage: {
'hero-pattern': "url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80')",
},
},
},
plugins: [
plugin(function({ addUtilities }) {
const newUtilities = {
'.text-shadow': {
textShadow: '2px 2px 4px rgba(0, 0, 0, 0.5)',
},
'.transition-smooth': {
transition: 'all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1)',
},
}
addUtilities(newUtilities)
})
],
}