/
tailwind.config.mjs
86 lines (85 loc) · 2.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
import colors from 'tailwindcss/colors';
import themer from 'tailwindcss-themer';
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {},
plugins: [
themer({
defaultTheme: {
// put the default values of any config you want themed
// just as if you were to extend tailwind's theme like normal https://tailwindcss.com/docs/theme#extending-the-default-theme
extend: {
minHeight: {
0: '0',
'1/4': '25%',
'1/2': '50%',
'3/4': '75%',
full: '100%',
},
fontFamily: {
sans: ['Biotif', 'system-ui'],
serif: ['Bogart', 'Georgia'],
display: ['Bogart', 'serif'],
hero: ['Bogart', 'serif'],
},
fontSize: {
sm: '0.875rem',
base: '1rem',
xl: '1.12rem',
'2xl': '1.5rem',
'3xl': '1.875rem',
},
lineHeight: {
normal: '1.5',
12: '3rem',
},
colors: {
transparent: 'transparent',
current: 'currentColor',
black: '#232320',
snow: '#FEFAF6',
acqua: '#AADCDA',
gray: '#656270',
primary: {
DEFAULT: '#FFC4FF',
},
indigo: colors.indigo,
red: colors.rose,
yellow: colors.amber,
},
},
},
themes: [
{
name: 'resume',
selectors: ['[data-theme="resume"]'],
extend: {
colors: {
black: '#293241',
link: '#0044cc',
primary: {
DEFAULT: '#c35940',
},
},
fontFamily: {
sans: ['Lato', 'sans-serif'],
serif: ['Lora', 'serif'],
display: ['Raleway', 'Lato', 'sans-serif'],
},
fontSize: {
sm: '0.75rem',
base: '9pt',
xl: '12pt',
'2xl': '18pt',
'3xl': '30pt',
},
lineHeight: {
normal: '1.4',
},
},
},
],
}),
],
};