forked from saisarah/TalipaAPP-Frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
39 lines (38 loc) · 1.01 KB
/
tailwind.config.cjs
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
const defaultTheme = require('tailwindcss/defaultTheme')
/** @type {import('tailwindcss').Config} */
module.exports = {
important: true,
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
darkMode: 'class',
theme: {
extend: {
fontFamily: {
'sans': ["'Open Sans'", ...defaultTheme.fontFamily.sans],
'poppins': ['Poppins', 'sans-serif'],
},
colors: {
/**
* When Changing the primary color
* also update the color of Antd Primary Color Located
* in src/App.jsx
*/
'primary': '#739559',
'primary-accent-1': '#314026',
'primary-accent-2': '#526A40',
'primary-accent-3': '#739559',
'primary-accent-4': '#94BF73',
'primary-accent-5': '#B5EA8C',
'black': '#0F141A',
},
fontSize: {
"md": "calc(1rem - 1px)"
}
},
},
plugins: [
function({ addVariant }) {
addVariant('child', '& > *');
addVariant('child-hover', '& > *:hover');
}
],
};