-
Notifications
You must be signed in to change notification settings - Fork 4
/
tailwind.config.js
71 lines (69 loc) · 2.06 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
63
64
65
66
67
68
69
70
71
/** @type {import('tailwindcss').Config} */
const defaultTheme = require('tailwindcss/defaultTheme')
const plugin = require('tailwindcss/plugin')
const colors = require('tailwindcss/colors')
module.exports = {
content: [
'./app/**/*.{js,ts,jsx,tsx}', // Note the addition of the `app` directory.
'./pages/**/*.{js,ts,jsx,tsx}',
'./utils/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
// Or if using `src` directory:
'./src/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {
fontFamily: {
sans: ['var(--font-readex-pro)', ...defaultTheme.fontFamily.sans],
poiret: ['var(--font-poiret-one)', ...defaultTheme.fontFamily.sans],
josefin: ['var(--font-josefin-slab)', ...defaultTheme.fontFamily.sans],
satisfy: [
'var(--font-satisfy-regular)',
...defaultTheme.fontFamily.sans,
],
},
textShadow: {
sm: '0 1px 2px var(--tw-shadow-color)',
DEFAULT: '0 2px 4px var(--tw-shadow-color)',
lg: '0 8px 16px var(--tw-shadow-color)',
},
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
},
animation: {
marquee: 'marquee 25s linear infinite',
},
keyframes: {
wiggle: {
'0%, 100%': { transform: 'rotate(-4deg)' },
'50%': { transform: 'rotate(4deg)' },
},
marquee: {
'0%': { transform: 'translateX(0%)' },
'100%': { transform: 'translateX(-1000%)' },
},
},
colors: {
// ink, canvas, and primary are used by Manifold components
ink: colors.gray,
canvas: colors.white,
primary: colors.orange,
},
},
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
require('tailwind-scrollbar-hide'),
plugin(function ({ matchUtilities, theme }) {
matchUtilities(
{
'text-shadow': (value) => ({
textShadow: value,
}),
},
{ values: theme('textShadow') }
)
}),
],
}