-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
65 lines (64 loc) · 2.04 KB
/
tailwind.config.ts
File metadata and controls
65 lines (64 loc) · 2.04 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
import type { Config } from 'tailwindcss';
import { colors } from './app/styles/colors';
export default {
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
],
safelist: ['md:max-w-md', 'md:max-w-lg'],
darkMode: 'class',
theme: {
extend: {
colors: {
primary: colors.primary,
gray: colors.gray,
rhBlue: colors.rhBlue,
orcid: colors.orcid,
},
screens: {
mobile: '480px',
tablet: '768px',
'sidebar-profile': '1000px',
'sidebar-compact': '1240px',
'right-sidebar': '1100px',
'topbar-hide': '1110px',
'content-md': '1350px',
'content-lg': '1440px',
'content-xl': '1580px',
wide: '1200px',
// Funder dashboard: applicant-row key-insights side column needs enough
// horizontal room to not crowd the title. Below this, insights fall
// back to a single inline row under the author meta.
'funder-wide': '1100px',
'3xl': '1600px',
},
fontWeight: {
medium: '500',
large: '550',
semibold: '600',
},
keyframes: {
'pulse-dot': {
'0%, 100%': { opacity: '0.3', transform: 'scale(1)' },
'50%': { opacity: '0.6', transform: 'scale(1.3)' },
},
'radiate-circle': {
'0%': { opacity: '0.6', transform: 'scale(1)' },
'50%': { opacity: '0.3', transform: 'scale(2)' },
'100%': { opacity: '0', transform: 'scale(3)' },
},
fadeIn: {
'0%': { opacity: '0', transform: 'translateY(10px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
},
animation: {
'pulse-slow': 'pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite',
'pulse-dot': 'pulse-dot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',
radiate: 'radiate-circle 2.5s cubic-bezier(0, 0, 0.2, 1) infinite',
fadeIn: 'fadeIn 0.3s ease-out',
},
},
},
} satisfies Config;