Repository navigation
Expand file tree
/
Copy pathtailwind.config.js
More file actions
60 lines (60 loc) · 1.63 KB
/
Copy pathtailwind.config.js
File metadata and controls
60 lines (60 loc) · 1.63 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
50
51
52
53
54
55
56
57
58
59
60
/** @type {import('tailwindcss').Config} */
const plugin = require('tailwindcss/plugin');
const rotateX = plugin(function ({ addUtilities }) {
addUtilities({
'.rotate-y-180': {
transform: 'rotateY(180deg)',
},
});
});
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
'./modals/**/*.{js,ts,jsx,tsx,mdx}',
'./panels/**/*.{js,ts,jsx,tsx,mdx}',
],
darkMode: 'class',
theme: {
container: {
center: true,
padding: '1rem',
},
screens: {
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1142px',
},
fontFamily: {
mulish: ['Mulish', 'sans-serif'],
reey: ['reey', 'sans-serif'],
},
colors: {
transparent: 'transparent',
current: 'currentColor',
white: '#ffffff',
black: '#08111F',
primary: '#47BDFF',
secondary: '#B476E5',
gray: {
DEFAULT: '#7780A1',
dark: '#1C2331',
},
},
extend: {
animation: {
'spin-slow': 'spin 5s linear infinite',
},
typography: ({ theme }) => ({
DEFAULT: {
css: {
color: theme('colors.gray'),
fontSize: '1.125rem',
},
},
}),
},
},
plugins: [require('@tailwindcss/line-clamp'), rotateX, require('@tailwindcss/typography')],
};