forked from sonngdev/chatgpt-voice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
45 lines (44 loc) · 1.2 KB
/
tailwind.config.cjs
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
/** @type {import('tailwindcss').Config} */
const colors = require('tailwindcss/colors');
module.exports = {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
fontFamily: {
mono: ['DM Mono', 'monospace'],
title: ['Major Mono Display', 'monospace'],
},
colors: {
light: '#FFFCE8',
dark: '#191308',
accent1: '#028090',
accent2: '#C64191',
danger: colors.red[700],
},
boxShadow: {
solid: '3px 3px 0 #191308',
},
animation: {
blink: 'blink 2s infinite',
'spin-2': 'spin 2s linear infinite',
'fade-in': 'fade-in 300ms cubic-bezier(0.16, 1, 0.3, 1)',
'rise-up': 'rise-up 300ms cubic-bezier(0.16, 1, 0.3, 1)',
},
keyframes: {
blink: {
'0%, 100%': { opacity: 0 },
'50%': { opacity: 1 },
},
'fade-in': {
'0%': { opacity: 0 },
'100%': { opacity: 100 },
},
'rise-up': {
'0%': { opacity: 0, transform: 'translate(-50%, -48%) scale(0.96)' },
'100%': { opacity: 1, transform: 'translate(-50%, -50%) scale(1)' },
},
},
},
},
plugins: [],
};