-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
64 lines (62 loc) · 2.19 KB
/
tailwind.config.ts
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
import type { Config } from 'tailwindcss';
const { fontFamily } = require('tailwindcss/defaultTheme');
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: {
animation: {
'spin-slow': 'spin 8s linear infinite',
},
fontFamily: {
mont: ['var(--font-mont)', ...fontFamily.sans],
},
colors: {
dark: '#1b1b1b',
light: '#f5f5f5',
primary: '#B63E96', // 240,86,199
primaryDark: '#58E6D9', // 80,230,217
},
backgroundImage: {
circularLight:
'repeating-radial-gradient(rgba(0,0,0,0.4) 2px, #f5f5f5f5 5px, #f5f5f5 100px);',
circularDark:
'repeating-radial-gradient(rgba(255,255,255,0.5) 2px, #1b1b1b 8px, #1b1b1b 100px);',
circularLightLg:
'repeating-radial-gradient(rgba(0,0,0,0.4) 2px, #f5f5f5f5 5px, #f5f5f5 80px);',
circularDarkLg:
'repeating-radial-gradient(rgba(255,255,255,0.5) 2px, #1b1b1b 8px, #1b1b1b 80px);',
circularLightMd:
'repeating-radial-gradient(rgba(0,0,0,0.4) 2px,#f5f5f5 5px,#f5f5f5 60px)',
circularDarkMd:
'repeating-radial-gradient(rgba(255,255,255,0.5) 2px,#1b1b1b 6px,#1b1b1b 60px)',
circularLightSm:
'repeating-radial-gradient(rgba(0,0,0,0.4) 2px,#f5f5f5 5px,#f5f5f5 40px)',
circularDarkSm:
'repeating-radial-gradient(rgba(255,255,255,0.5) 2px,#1b1b1b 4px,#1b1b1b 40px)',
},
screens: {
'2xl': { max: '1535px' },
// => @media (max-width: 1535px) { ... }
xl: { max: '1279px' },
// => @media (max-width: 1279px) { ... }
lg: { max: '1023px' },
// => @media (max-width: 1023px) { ... }
md: { max: '767px' },
// => @media (max-width: 767px) { ... }
sm: { max: '639px' },
// => @media (max-width: 639px) { ... }
xs: { max: '479px' },
// => @media (max-width: 479px) { ... }
'2xs': { max: '430px' },
// => @media (max-width: 412px) { ... }
},
},
},
plugins: [],
};
export default config;