-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
65 lines (64 loc) · 1.57 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
65
import type { Config } from 'tailwindcss'
import typography from '@tailwindcss/typography'
export default {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
darkMode: 'class',
plugins: [typography],
theme: {
extend: {
typography: {
DEFAULT: {
css: {
div: false,
'code::before': false,
'code::after': false,
'blockquote p:first-of-type::before': false,
'blockquote p:last-of-type::after': false,
},
},
},
fontFamily: {
sans: [
'Inter, Inter var',
'ui-sans-serif',
'-apple-system',
'system-ui',
'sans-serif',
'Virgil',
'Assistant',
],
mono: ['JetBrains Mono', 'Cascadia', 'ui-monospace', 'monospace'],
},
fontSize: {
'10xl': '10rem',
'11xl': '12rem',
},
colors: {
bg: '#040709',
primary: '#0EA5E9',
shadow: '#A7C6D3',
secondary: '#6366F1',
error: '#F87171',
warning: '#FBBF24',
accent: '#10B91D',
text: '#E8F0F4',
description: '#757575',
},
animation: {
spotlight: 'spotlight 2s ease .75s 1 forwards',
},
keyframes: {
spotlight: {
'0%': {
opacity: '0',
transform: 'translate(-72%, -62%) scale(0.5)',
},
'100%': {
opacity: '1',
transform: 'translate(-50%,-40%) scale(1)',
},
},
},
},
},
} satisfies Config