-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
40 lines (39 loc) · 1.01 KB
/
Copy pathtailwind.config.js
File metadata and controls
40 lines (39 loc) · 1.01 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
36
37
38
39
40
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
colors: {
main: 'var(--main)',
mainAccent: 'var(--main-accent)', // not needed for shadcn components
overlay: 'var(--overlay)', // background color overlay for alert dialogs, modals, etc.
// light mode
bg: 'var(--bg-color)',
text: 'var(--text-color)',
border: 'var(--border-color)',
secondaryBlack: 'var(--secondary-black)',
},
borderRadius: {
base: '5px',
},
boxShadow: {
base: 'var(--box-shadow)',
},
translate: {
boxShadowX: '4px',
boxShadowY: '4px',
reverseBoxShadowX: '-4px',
reverseBoxShadowY: '-4px',
},
fontWeight: {
base: '500',
heading: '700',
},
},
},
plugins: ['prettier-plugin-tailwindcss'],
};