-
Notifications
You must be signed in to change notification settings - Fork 6
/
tailwind.config.mjs
50 lines (50 loc) · 1.15 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
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
extend: {
fontFamily: {
'overpass-mono': ['"Overpass Mono Variable"', "sans-serif"],
'inconsolata': ['"Inconsolata Variable"', "sans-serif"]
},
objectPosition: {
'top-33': 'center top 33.33%',
'top-50': 'center top 50%',
},
backgroundPosition: {
'center-33': 'center 33.33%',
},
backgroundSize: {
'size-66': '100% 66.67%'
},
typography: {
'no-quotes': {
css: {
'blockquote p:first-of-type::before': {
content: 'none !important',
},
'blockquote p:last-of-type::after': {
content: 'none !important',
},
},
},
},
},
screens: {
'sm': '800px',
// => @media (min-width: 800px) { ... }
'md': '1200px',
// => @media (min-width: 1280px) { ... }
'lg': '1900px',
// => @media (min-width: 1920px) { ... }
'xl': '2500px',
// => @media (min-width: 2560px) { ... }
'2xl': '3800px',
// => @media (min-width: 3840px) { ... }
},
},
plugins: [
require('@tailwindcss/typography'),
],
darkMode: "class",
}