-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.ts
46 lines (44 loc) · 987 Bytes
/
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
import type { Config } from 'tailwindcss';
export default {
content: ['./src/**/*.{astro,md,mdx,ts,tsx}'],
darkMode: ['class', '[data-theme="dark"]'], // Use data-theme attribute to determine theme
theme: {
screens: {
'sm': '480px',
'md': '768px',
'lg': '992px',
'xl': '1200px',
},
extend: {
colors: {
main: '#494e57',
code: '#c7254e',
primary: {
dark: '#61931a',
DEFAULT: '#8dc63f',
},
grey: {
darker: '#24272d',
dark: '#2a2d36',
DEFAULT: '#484c50',
light: '#6a7885'
},
},
fontSize: {
xs: '14px',
sm: '16px',
base: '18px',
md: '24px',
lg: '30px',
xl: '70px',
},
backgroundImage: {
hero: "url('/assets/img/hero_bg.jpg')",
},
transitionProperty: {
appear: 'width, opacity',
},
},
},
plugins: [],
} satisfies Config;