-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.mjs
56 lines (55 loc) · 1.26 KB
/
tailwind.config.mjs
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
import defaultTheme from 'tailwindcss/defaultTheme';
import colors from 'tailwindcss/colors';
/** @type {import("tailwindcss").Config} */
export default {
content: [
'./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}',
'./node_modules/flowbite/**/*.js',
],
// make sure to safelist these classes when using purge
safelist: [
'w-64',
'w-1/2',
'rounded-l-lg',
'rounded-r-lg',
'bg-gray-200',
'grid-cols-4',
'grid-cols-7',
'h-6',
'leading-6',
'h-9',
'leading-9',
'shadow-lg',
],
darkMode: 'media',
theme: {
extend: {
colors: {
// Your preferred accent color
accent: colors.indigo,
// Your preferred gray scale
gray: colors.slate,
primary: {
50: '#eff6ff',
100: '#dbeafe',
200: '#bfdbfe',
300: '#93c5fd',
400: '#60a5fa',
500: '#3b82f6',
600: '#2563eb',
700: '#1d4ed8',
800: '#1e40af',
900: '#1e3a8a',
950: '#172554',
},
},
fontFamily: {
body: ['Aleo Variable'],
sans: ['Montserrat Variable', ...defaultTheme.fontFamily.sans],
serif: ['Aleo Variable', ...defaultTheme.fontFamily.serif],
mono: ['JetBrains Mono Variable', ...defaultTheme.fontFamily.mono],
},
},
},
plugins: [require('@tailwindcss/typography'), require('flowbite/plugin')],
};