-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.mjs
59 lines (57 loc) · 1.39 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
57
58
59
const defaultTheme = require('tailwindcss/defaultTheme');
/** @type {import('tailwindcss').Config} */
export default {
content: [
'./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}',
'astro.config.mjs',
],
darkMode: 'selector',
theme: {
extend: {
colors: {
primary: {
lighter: '#3780ff',
DEFAULT: '#196aff',
darker: '#0064ff',
},
},
fontFamily: {
display: ['Quicksand', ...defaultTheme.fontFamily.sans],
sans: ['Open Sans', ...defaultTheme.fontFamily.sans],
},
backgroundImage: {
'hero-llama': "url('/images/bg-3.jpg')",
'hero-llama-small': "url('/images/hero-llamas-small.jpg')",
'hero-llama-2-small': "url('/images/hero-llamas-2-small.jpg')",
'hero-llama-3-small': "url('/images/hero-llamas-3-small.jpg')",
},
typography: ({ theme }) => ({
DEFAULT: {
css: {
code: {
borderRadius: theme('borderRadius.sm'),
paddingTop: theme('padding[0.5]'),
paddingRight: theme('padding[1]'),
paddingBottom: theme('padding[0.5]'),
paddingLeft: theme('padding[1]'),
},
'code::before': {
content: 'normal',
},
'code::after': {
content: 'normal',
},
th: {
textAlign: 'left',
},
},
},
}),
},
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
require('@tailwindcss/aspect-ratio'),
],
}