-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
51 lines (47 loc) · 1.19 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
const defaultTheme = require('tailwindcss/defaultTheme');
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
content: ['./src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
fontFamily: {
switzer: ['Switzer', ...defaultTheme.fontFamily.sans],
},
gridTemplateColumns: {
'fluid-horizontal': 'repeat(auto-fit, minmax(24rem, 1fr))',
'fluid-vertical': 'repeat(auto-fill, minmax(12rem, 1fr))',
},
colors: {
brand: {
blue: '#2f79ea',
},
dark: {
background: {
primary: '#0c0c0e',
secondary: '#131313',
elevation: '#1c1c1c',
},
},
},
backgroundImage: {
'playlist-1': "url('/background-7.jpg')",
'playlist-2': "url('/background-8.jpg')",
'playlist-3': "url('/background-9.jpg')",
'playlist-4': "url('/background-10.jpg')",
},
},
},
plugins: [
({ addUtilities, theme }) => {
addUtilities({
'.cover-sm': {
borderRadius: '4px',
width: '48px',
height: '48px',
},
});
},
require('@tailwindcss/line-clamp'),
],
};