-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtailwind.config.js
More file actions
106 lines (105 loc) · 2.22 KB
/
tailwind.config.js
File metadata and controls
106 lines (105 loc) · 2.22 KB
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
const plugin = require('tailwindcss/plugin')
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./app/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
container: {
center: true,
padding: '1rem',
},
screens: {
xs: '360px',
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px',
},
extend: {
fontFamily: {
primary: 'var(--font-google)',
shrikhand: 'var(--font-shrikhand)',
ultra: 'var(--font-ultra)',
},
colors: {
tertiary: {
50: '#f8f8f8',
100: '#ededed',
200: '#dcdcdc',
300: '#bdbdbd',
400: '#989898',
500: '#7c7c7c',
600: '#656565',
700: '#525252',
800: '#464646',
900: '#3d3d3d',
950: '#292929',
},
primary: {
50: '#fef4ee',
100: '#fce6d8',
200: '#f8cab0',
300: '#f3a57e',
400: '#ed7042',
500: '#e95326',
600: '#db3a1b',
700: '#b52a19',
800: '#91241b',
900: '#752019',
950: '#3f0d0b',
},
secondary: {
50: '#fbf7f1',
100: '#f4e8d8',
200: '#ecd6bc',
300: '#dfb992',
400: '#d19666',
500: '#c77c48',
600: '#b9673d',
700: '#9a5234',
800: '#7c4330',
900: '#653829',
950: '#361b14',
},
},
keyframes: {
'accordion-down': {
from: { height: 0 },
to: { height: 'var(--radix-accordion-content-height)' },
},
'accordion-up': {
from: { height: 'var(--radix-accordion-content-height)' },
to: { height: 0 },
},
},
animation: {
'accordion-down': 'accordion-down 0.2s ease-out',
'accordion-up': 'accordion-up 0.2s ease-out',
},
},
},
plugins: [
require('@tailwindcss/forms')({ strategy: 'base' }),
require('tailwindcss-animate'),
require('tailwind-scrollbar'),
plugin(function ({ addUtilities }) {
addUtilities({
'.text-shadow': {
'text-shadow':
'var(--tw-text-shadow-x) var(--tw-text-shadow-y) var(--tw-shadow-color)',
},
})
}),
plugin(function ({ matchUtilities, theme }) {
matchUtilities(
{
'text-shadow-x': value => ({ '--tw-text-shadow-x': value }),
'text-shadow-y': value => ({ '--tw-text-shadow-y': value }),
},
{ values: theme('spacing') }
)
}),
],
}