-
Notifications
You must be signed in to change notification settings - Fork 850
Expand file tree
/
Copy pathtailwind.config.js
More file actions
35 lines (34 loc) · 1.11 KB
/
Copy pathtailwind.config.js
File metadata and controls
35 lines (34 loc) · 1.11 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
import colors from 'tailwindcss/colors';
/** @type {import('tailwindcss').Config} */
export default {
darkMode: 'media',
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}', './node_modules/streamdown/dist/*.js'],
theme: {
extend: {
colors: {
background: 'hsl(var(--background) / <alpha-value>)',
border: 'hsl(var(--border) / <alpha-value>)',
gray: colors.zinc,
foreground: 'hsl(var(--foreground) / <alpha-value>)',
input: 'hsl(var(--input) / <alpha-value>)',
muted: {
DEFAULT: 'hsl(var(--muted) / <alpha-value>)',
foreground: 'hsl(var(--muted-foreground) / <alpha-value>)',
},
primary: {
DEFAULT: 'hsl(var(--primary) / <alpha-value>)',
foreground: 'hsl(var(--primary-foreground) / <alpha-value>)',
},
sidebar: {
DEFAULT: 'hsl(var(--sidebar) / <alpha-value>)',
foreground: 'hsl(var(--sidebar-foreground) / <alpha-value>)',
},
},
fontFamily: {
sans: ['var(--font-ui-sans)'],
mono: ['var(--font-mono)'],
},
},
},
plugins: [],
}