forked from danny-avila/LibreChat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
89 lines (87 loc) · 2.61 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
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
// const { fontFamily } = require('tailwindcss/defaultTheme');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
// darkMode: 'class',
darkMode: ['class'],
theme: {
// colors: {
// 'gpt-dark-gray': '#343541',
// },
fontFamily: {
sans: ['Söhne', 'sans-serif'],
mono: ['Söhne Mono', 'monospace'],
},
extend: {
width: {
authPageWidth: '450px',
},
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',
},
colors: {
gray: {
20: '#ececf1',
50: '#f7f7f8',
70: '#d1d5db',
100: '#d9d9e3',
200: '#d9d9e3', // Replacing .bg-gray-200
300: '#c5c5d2',
400: '#acacb1',
500: '#8e8ea0',
600: '#565869',
700: '#40414f', // Replacing .dark .dark:bg-gray-700 and .dark .dark:hover:bg-gray-700:hover
800: '#343541', // Replacing .dark .dark:bg-gray-800, .bg-gray-800, and .dark .dark:hover:bg-gray-800\/90
900: '#202123', // Replacing .dark .dark:bg-gray-900, .bg-gray-900, and .dark .dark:hover:bg-gray-900:hover
1000: '#444654',
},
green: {
50: '#f1f9f7',
100: '#def2ed',
200: '#a6e5d6',
300: '#6dc8b9',
400: '#41a79d',
500: '#10a37f',
550: '#349072',
600: '#126e6b',
700: '#0a4f53',
800: '#06373e',
900: '#031f29',
},
'text-primary': 'var(--gray-800)',
'text-secondary': 'var(--gray-600)',
'text-tertiary': 'var(--gray-500)',
'surface-primary': 'var(--white)',
'surface-secondary': 'var(--gray-50)',
'surface-tertiary': 'var(--gray-100)',
'border-light': 'var(--gray-100)',
'border-medium': 'var(--gray-200)',
'border-heavy': 'var(--gray-300)',
'border-xheavy': 'var(--gray-400',
vblue: '#3f5aff',
vnavy: '#192c6b',
vmint: '#19d8ca',
vteal: '#30a9e5',
vpeach: '#ff9688',
vred: '#ee422b',
'login-base': '#e0eafc',
},
},
},
plugins: [
require('tailwindcss-animate'),
require('tailwindcss-radix')(),
// require('@tailwindcss/typography'),
],
};