forked from ConGustoAI/chat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
70 lines (64 loc) · 1.92 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
// import { fontFamily } from 'tailwindcss/defaultTheme';
import typography from '@tailwindcss/typography';
import daisyui from 'daisyui';
import { dark } from 'daisyui/src/theming/themes';
/** @type {import('tailwindcss').Config} */
const config = {
darkMode: ['class'],
content: ['./src/**/*.{html,js,svelte,ts}'],
safelist: ['dark'],
plugins: [daisyui, typography],
themes: ['dark', 'light'],
theme: {
extend: {
colors: {
'base-usermessage': 'var(--base-usermessage)',
message: 'var(--message)',
star: 'var(--star)'
}
}
},
daisyui: {
themes: [
{
dark: {
...dark,
fontFamily:
'ui-sans-serif, -apple-system, system-ui, Segoe UI, Helvetica, Apple Color Emoji, Arial, sans-serif, Segoe UI Emoji, Segoe UI Symbol',
primary: '#212121',
'base-100': '#212121', // Default background color
'base-200': '#171717', // Default slightly darker background color
'base-300': '#0d0d0d', // Default slightly darker background color
info: '#8be9fd',
success: '#50fa7b',
warning: '#f1fa8c',
error: '#ff5555',
'--star': '#ffff00',
'--base-usermessage': '#171717',
'--message': '#ececec',
'--rounded-btn': '0'
// '--rounded-box': '0'
},
light: {
fontFamily:
'ui-sans-serif, -apple-system, system-ui, Segoe UI, Helvetica, Apple Color Emoji, Arial, sans-serif, Segoe UI Emoji, Segoe UI Symbol',
primary: '#ffffff',
'base-100': '#ffffff', // Default background color
'base-200': '#f9f9f9', // Default slightly darker background color
'base-300': '#f4f4f4', // Default slightly darker background color
// 'base-content': '#212121',
info: '#8be9fd',
success: '#50fa7b',
warning: '#f1fa8c',
error: '#ff5555',
'--star': '#444444',
'--base-usermessage': '#f4f4f4',
'--message': '#0d0d0d',
'--rounded-btn': '1'
// '--rounded-box': '0'
}
}
]
}
};
export default config;