-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
62 lines (60 loc) · 1.58 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
import type { Config } from 'tailwindcss';
import colors from 'tailwindcss/colors';
import type { TransformerFn } from 'tailwindcss/types/config';
const config: Config = {
darkMode: 'class',
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
'./src/containers/**/*.{js,ts,jsx,tsx,mdx}',
'./node_modules/pliny/**/*.js',
],
theme: {
colors: {
gray: {
100: '#f2f2f2',
200: '#cccccc',
300: '#a5a5a5',
400: '#7f7f7f',
500: '#595959',
600: '#464646',
700: '#2e2e2e',
},
black: '#141414',
white: colors.white,
primary: '#ED960B ',
subPrimary: '#e4ac52',
secondary: '#C46500 ',
cream: '#ECE1CB ',
brown: '#1B0C04',
transparent: colors.transparent,
},
extend: {
fontFamily: {
sans: ['var(--font-geist-sans)'],
mono: ['var(--font-geist-mono)'],
},
aspectRatio: {
'5/3': '5 / 3',
},
screens: {
md: '816px',
},
typography: (theme: TransformerFn) => ({
DEFAULT: {
css: {
width: '100%',
maxWidth: 'none',
'--tw-prose-body': theme('colors.gray.700'),
'--tw-prose-invert-body': theme('colors.gray.100'),
'--tw-prose-headings': theme('colors.black'),
'--tw-prose-invert-headings': theme('colors.white'),
},
},
}),
},
},
plugins: [require('@tailwindcss/typography')],
};
export default config;