blob: b6aea34ed1de8c557cf873c0da2adfb18a0d5c3d [file] [log] [blame]
Skyler Grey7177bbd2023-06-01 03:26:31 +02001const { fontFamily } = require('tailwindcss/defaultTheme');
2/** @type {import('tailwindcss').Config} */
3module.exports = {
Skyler Grey22205e62023-08-06 15:20:25 +00004 content: [
5 './src/**/*.{html,js,svelte,ts}',
6 '../../packages/components/dist/**/*.{html,js,svelte,ts}'
7 ],
Skyler Grey7177bbd2023-06-01 03:26:31 +02008 theme: {
9 container: {
10 center: true,
11 padding: '2rem',
12 screens: {
13 '2xl': '1400px'
14 }
15 },
16 extend: {
17 colors: {
18 border: 'hsl(var(--border))',
19 input: 'hsl(var(--input))',
20 ring: 'hsl(var(--ring))',
21 background: 'hsl(var(--background))',
22 foreground: 'hsl(var(--foreground))',
23 primary: {
24 DEFAULT: 'hsl(var(--primary))',
25 foreground: 'hsl(var(--primary-foreground))'
26 },
27 secondary: {
28 DEFAULT: 'hsl(var(--secondary))',
29 foreground: 'hsl(var(--secondary-foreground))'
30 },
31 destructive: {
32 DEFAULT: 'hsl(var(--destructive))',
33 foreground: 'hsl(var(--destructive-foreground))'
34 },
35 muted: {
36 DEFAULT: 'hsl(var(--muted))',
37 foreground: 'hsl(var(--muted-foreground))'
38 },
39 accent: {
40 DEFAULT: 'hsl(var(--accent))',
41 foreground: 'hsl(var(--accent-foreground))'
42 },
43 popover: {
44 DEFAULT: 'hsl(var(--popover))',
45 foreground: 'hsl(var(--popover-foreground))'
46 },
47 card: {
48 DEFAULT: 'hsl(var(--card))',
49 foreground: 'hsl(var(--card-foreground))'
50 }
51 },
52 borderRadius: {
53 lg: 'var(--radius)',
54 md: 'calc(var(--radius) - 2px)',
55 sm: 'calc(var(--radius) - 4px)'
56 },
57 fontFamily: {
58 sans: [...fontFamily.sans]
59 }
60 }
61 },
62 plugins: [require('tailwindcss-animate')]
63};