generated from zhouhua/obsidian-markdown-media-card
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
53 lines (53 loc) · 1.63 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
/** @type {import('tailwindcss').Config} */
// eslint-disable-next-line no-undef
module.exports = {
darkMode: ['class'],
content: ['src/**/*.{ts,tsx}'],
prefix: 'pk-',
theme: {
extend: {
colors: {
border: 'hsl(var(--pk-border))',
input: 'hsl(var(--pk-input))',
ring: 'hsl(var(--pk-ring))',
background: 'hsl(var(--pk-background))',
foreground: 'hsl(var(--pk-foreground))',
primary: {
DEFAULT: 'hsl(var(--pk-primary))',
foreground: 'hsl(var(--pk-primary-foreground))',
},
secondary: {
DEFAULT: 'hsl(var(--pk-secondary))',
foreground: 'hsl(var(--pk-secondary-foreground))',
},
destructive: {
DEFAULT: 'hsl(var(--pk-destructive))',
foreground: 'hsl(var(--pk-destructive-foreground))',
},
muted: {
DEFAULT: 'hsl(var(--pk-muted))',
foreground: 'hsl(var(--pk-muted-foreground))',
},
accent: {
DEFAULT: 'hsl(var(--pk-accent))',
foreground: 'hsl(var(--pk-accent-foreground))',
},
popover: {
DEFAULT: 'hsl(var(--pk-popover))',
foreground: 'hsl(var(--pk-popover-foreground))',
},
card: {
DEFAULT: 'hsl(var(--pk-card))',
foreground: 'hsl(var(--pk-card-foreground))',
},
},
borderRadius: {
lg: `var(--pk-radius)`,
md: `calc(var(--pk-radius) - 2px)`,
sm: 'calc(var(--pk-radius) - 4px)',
},
},
},
// eslint-disable-next-line @typescript-eslint/no-require-imports, no-undef
plugins: [require('tailwindcss-animate')],
};