-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
51 lines (50 loc) · 1.16 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
import type { Config } from 'tailwindcss';
const config: Config = {
darkMode: ['class'],
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
'./integrations/**/*.{js,ts,jsx,tsx,mdx}',
'./lib/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
colors: {
primary: '#001529',
},
fontFamily: {
sans: ['var(--font-geist-sans)'],
mono: ['var(--font-geist-mono)'],
},
borderRadius: {
lg: 'var(--radius)',
md: 'calc(var(--radius) - 2px)',
sm: 'calc(var(--radius) - 4px)',
},
typography: {
DEFAULT: {
css: {
'--tw-prose-headings': 'inherit',
},
},
},
boxShadow: {
'custom-teal': '0px 0px 20px 7px rgb(13 47 59)',
},
},
},
safelist: [
{
// CanvasGrid.tsx
pattern: /grid-cols-*/,
variants: ['md'],
},
{
// CanvasRichText.tsx
pattern: /text-(left|center|right|justify)/,
},
],
plugins: [require('tailwindcss-animate'), require('@tailwindcss/typography')],
};
export default config;