forked from getsentry/sentry-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
73 lines (71 loc) · 1.97 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
72
73
const defaultTheme = require('tailwindcss/defaultTheme');
import {
isolateInsideOfContainer,
scopedPreflightStyles,
} from 'tailwindcss-scoped-preflight';
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: ['selector', '.dark'],
content: ['./app/**/*.{js,ts,jsx,tsx}', './src/components/**/*.{js,ts,jsx,tsx,mdx}'],
theme: {
extend: {
animation: {
'fade-in': 'fadeIn 0.35s ease-in-out',
'fade-in-left': 'fadeInLeft 0.55s ease-in-out',
'fade-in-right': 'fadeInRight 0.55s ease-in-out',
},
boxShadow: {
DEFAULT: 'var(--shadow-6)',
},
keyframes: () => ({
fadeIn: {
'0%': {opacity: 0},
'100%': {opacity: 1},
},
fadeInLeft: {
'0%': {opacity: 0, transform: 'translateX(-20px)'},
'100%': {opacity: 1, transform: 'translateX(0)'},
},
fadeInRight: {
'0%': {opacity: 0, transform: 'translateX(20px)'},
'100%': {opacity: 1, transform: 'translateX(0)'},
},
}),
fontFamily: {
sans: [
'var(--font-rubik)',
'-apple-system',
'BlinkMacSystemFont',
'Segoe UI',
'Helvetica',
'Arial',
...defaultTheme.fontFamily.sans,
],
mono: 'var(--font-family-monospace)',
},
colors: {
primary: '#362d59',
pruple: '#8d5494',
darkPurple: '#1F1633',
'accent-purple': '#6A5FC1',
'accent-md-violet': '#584774',
red: '#e1567c',
gold: '#F1B71C',
},
screens: {
'lg-xl': {min: '1130px'},
},
},
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms')({
strategy: 'class',
}),
scopedPreflightStyles({
// pretty minimalistic example. Same options as in the previous example are available
isolationStrategy: isolateInsideOfContainer('.tw-app'),
}),
],
blocklist: ['collapse'],
};