-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.cjs
More file actions
35 lines (33 loc) · 868 Bytes
/
tailwind.config.cjs
File metadata and controls
35 lines (33 loc) · 868 Bytes
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
/** @type {import('tailwindcss').Config} */
const colors = require('tailwindcss/colors');
module.exports = {
darkMode: 'class',
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
colors: {
current: 'currentColor',
transparent: 'transparent',
white: '#fff',
primary: colors.slate,
accent: {
DEFAULT: '#55ecdb',
darken: '#1ed2bd',
}
},
fontFamily: {
sans: ['Inter', 'sans-serif'],
},
fontSize: {
xs: ['0.75rem', '1rem'],
sm: ['0.875rem', '1.25rem'],
base: ['1rem', '1.75rem'],
lg: ['1.125rem', '2rem'],
xl: ['1.25rem', '2.125rem'],
'2xl': ['1.5rem', '2rem'],
'3xl': ['1.875rem', '2.375rem'],
'4xl': ['2.25rem', '2.75rem'],
'5xl': ['3rem', '3.5rem'],
'6xl': ['3.75rem', '4.25rem'],
},
},
};