-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
38 lines (38 loc) · 946 Bytes
/
tailwind.config.js
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
],
darkMode: 'media',
theme: {
extend: {
backgroundImage: {
planets: "url('/planets.jpg')",
supernova: "url('/supernova - radial.png')",
},
extend: {
transitionProperty: {
width: 'width',
},
transitionProperty: {
'max-width': 'max-width',
},
},
},
// TODO: Use fluid font sizes
// fontSize: {
// 'xs': 'clamp(.5rem, .625vw, .75rem)',
// 'sm': 'clamp(.75rem, .875vw, .875rem)',
// 'base': '1rem',
// 'lg': 'clamp(.75rem, 1.25vw, 1.25rem)',
// 'xl': 'clamp(1rem, 1.5vw, 1.25rem)',
// '2xl': 'clamp(1rem, 2vw, 1.5rem)',
// '3xl': 'clamp(1.875rem, 3vw, 2rem)',
// '4xl': 'clamp(1.25rem, 3vw, 2.25rem)',
// '5xl': 'clamp(2.5rem, 5vw, 5rem)',
// '6xl': 'clamp(3rem, 7vw, 7rem)',
// },
},
plugins: [],
}