-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
49 lines (47 loc) · 1.37 KB
/
tailwind.config.ts
File metadata and controls
49 lines (47 loc) · 1.37 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
41
42
43
44
45
46
47
48
49
const defaultTheme = require('tailwindcss/defaultTheme');
import type { Config } from 'tailwindcss';
const config: Config = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
],
darkMode: 'class',
theme: {
extend: {
backgroundImage: {
'hero-image':
"linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7)), url('/img/Banner-image-cropped.png')",
parallax:
"linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/img/parallax-img.avif')",
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic':
'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
},
boxShadow: {
basic: '0 0 10px rgba(0, 0, 0, 0.1)',
},
fontFamily: {
'open-sans': ['var(--font-open-sans)'],
dosis: ['var(--font-dosis)'],
inter: ['var(--font-inter)'],
},
screens: {
xs: '475px',
...defaultTheme.screens,
},
transitionDuration: {
'600': '600ms',
},
},
},
// future: {
// hoverOnlyWhenSupported: true,
// },
plugins: [
// require('prettier-plugin-tailwindcss')
require('@tailwindcss/typography'),
],
// plugins: ['prettier-plugin-tailwindcss'],
};
export default config;