-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
62 lines (61 loc) · 1.51 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
52
53
54
55
56
57
58
59
60
61
62
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
darkMode: 'media', // or 'class'
content: [
'./components/**/*.{vue,js,ts,jsx,tsx}',
"./layouts/**/*.vue",
"./pages/**/*.vue",
"./plugins/**/*.{js,ts}",
"./nuxt.config.{js,ts}",
],
theme: {
extend: {
fontFamily: {
sans: ['Roboto', 'Montserrat', ...defaultTheme.fontFamily.sans],
},
colors: {
'custom-blue': '#3490dc',
'custom-red': '#e3342f',
},
spacing: {
'7': '1.75rem',
'9': '2.25rem',
'28': '7rem',
'80': '20rem',
'96': '24rem',
},
height: {
'1/2': '50%',
},
scale: {
'30': '.3',
},
boxShadow: {
outline: '0 0 0 3px rgba(101, 31, 255, 0.4)',
},
// Define your custom breakpoints here
screens: {
'xs': '480px',
'sm': '640px',
'md': '768px',
'lg': '1024px',
'xl': '1280px',
'2xl': '1536px',
'3xl': '2048px',
// Add other custom breakpoints if needed
},
},
},
variants: {
extend: {
scale: ['responsive', 'hover', 'focus', 'group-hover'],
textColor: ['responsive', 'hover', 'focus', 'group-hover'],
opacity: ['responsive', 'hover', 'focus', 'group-hover'],
backgroundColor: ['responsive', 'hover', 'focus', 'group-hover'],
},
},
plugins: [
// Add any Tailwind CSS plugins you want to use
// Example: require('@tailwindcss/typography'),
],
};