-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.ts
57 lines (56 loc) · 2.01 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
import type { Config } from 'tailwindcss';
import typography from '@tailwindcss/typography';
export default {
content: ['./*/*.{liquid,json,js}'],
theme: {
extend: {
colors: {
'primary': 'hsl(var(--color-primary) / <alpha-value>)',
'primary-content': 'hsl(var(--color-primary-content) / <alpha-value>)',
'secondary': 'hsl(var(--color-secondary) / <alpha-value>)',
'secondary-content': 'hsl(var(--color-secondary-content) / <alpha-value>)',
'accent': 'hsl(var(--color-accent) / <alpha-value>)',
'accent-content': 'hsl(var(--color-accent-content) / <alpha-value>)',
'neutral': 'hsl(var(--color-neutral) / <alpha-value>)',
'neutral-content': 'hsl(var(--color-neutral-content) / <alpha-value>)',
'base-100': 'hsl(var(--color-base-100) / <alpha-value>)',
'base-200': 'hsl(var(--color-base-200) / <alpha-value>)',
'base-300': 'hsl(var(--color-base-300) / <alpha-value>)',
'base-content': 'hsl(var(--color-base-content) / <alpha-value>)',
},
fontFamily: {
'display': 'var(--font-heading-family), var(--font-heading-family-fallbacks)',
'base': 'var(--font-base-family), var(--font-base-family-fallbacks)',
},
typography: ({ theme }) => ({
DEFAULT: {
css: {
color: theme('colors.base-content/80'),
a: {
color: theme('colors.primary/100'),
textDecoration: 'underline',
'&:hover': {
textDecoration: 'none',
},
},
'h1,h2,h3,h4': {
color: theme('colors.base-content/100'),
},
code: {
color: theme('colors.base-content/100'),
},
'blockquote p:first-of-type::before': {
content: 'none',
},
'blockquote p:last-of-type::after': {
content: 'none',
},
},
},
}),
}
},
plugins: [
typography,
],
} satisfies Config;