-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
38 lines (34 loc) · 1.1 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
import { scopedPreflightStyles, isolateInsideOfContainer } from 'tailwindcss-scoped-preflight';
// https://github.com/zaichaopan/react-aria-components-tailwind-starter/blob/c15f630866480e00d7a39258db0f61b39704e00e/tailwind.config.js
const defaultTheme = require('tailwindcss/defaultTheme');
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
background: 'hsl(var(--background))',
foreground: 'hsl(var(--foreground))',
accent: 'hsl(var(--accent))',
success: 'hsl(var(--success))',
destructive: 'hsl(var(--destructive))',
warning: 'hsl(var(--warning))',
hover: 'hsl(var(--hover))',
muted: 'hsl(var(--muted))',
border: 'hsl(var(--border))',
},
},
},
plugins: [
require('tailwindcss-react-aria-components'),
require('tailwindcss-animate'),
require('@tailwindcss/container-queries'),
scopedPreflightStyles({
isolationStrategy: isolateInsideOfContainer('.twp', {}),
}),
],
important: true,
}