-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
62 lines (62 loc) · 1.42 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
/* eslint-disable global-require */
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
content: [
'./src/pages/**/*.{js,jsx,ts,tsx}',
'./src/components/**/*.{js,jsx,ts,tsx}',
'./src/content/**/*.mdx',
],
theme: {
extend: {
screens: {
ipad: '768px',
},
typography: ({ theme }) => ({
pink: {
css: {
'--tw-prose-invert-bullets': theme('colors.pink[600]'),
},
},
DEFAULT: {
css: {
'code::before': {
content: '""',
},
'code::after': {
content: '""',
},
},
},
}),
height: {
custom: 'calc(100vh + 24rem)', // Adjust the calculation as per your needs
},
backdropBlur: {
xs: '1px',
},
opacity: {
bg: '.05',
},
fontFamily: {
primary: 'Cubic',
ku: 'Ku',
block: 'CubicBlock',
graph: 'KuGraph',
firacode: 'FiraCode',
},
animation: {
'spin-slow': 'spin 3s linear infinite',
},
},
},
// eslint-disable-next-line import/no-extraneous-dependencies, global-require
plugins: [
// eslint-disable-next-line import/no-extraneous-dependencies
require('@tailwindcss/typography'),
require('tailwind-dracula')('dracula', true),
],
corePlugins: {
preflight: true
}
};