2023-06-20 12:20:20 +00:00
|
|
|
const fs = require('fs');
|
|
|
|
const colors = JSON.parse(
|
|
|
|
fs.readFileSync('colors.json', { encoding: 'utf-8' })
|
|
|
|
);
|
|
|
|
|
2019-10-03 13:46:12 +00:00
|
|
|
module.exports = {
|
2024-03-23 15:12:55 +00:00
|
|
|
darkMode: 'class',
|
2021-12-07 07:48:57 +00:00
|
|
|
purge: false,
|
2019-10-03 13:46:12 +00:00
|
|
|
theme: {
|
2019-10-04 17:55:28 +00:00
|
|
|
fontFamily: {
|
2021-12-07 07:48:57 +00:00
|
|
|
sans: ['Inter', 'sans-serif'],
|
2019-11-19 17:34:45 +00:00
|
|
|
},
|
2021-11-02 12:30:45 +00:00
|
|
|
screens: {
|
|
|
|
sm: '640px',
|
|
|
|
md: '768px',
|
|
|
|
lg: '1024px',
|
2021-12-07 07:48:57 +00:00
|
|
|
xl: '1280px',
|
2021-11-02 12:30:45 +00:00
|
|
|
},
|
2019-11-19 17:34:45 +00:00
|
|
|
fontSize: {
|
|
|
|
xs: '11px',
|
|
|
|
sm: '12px',
|
|
|
|
base: '13px',
|
|
|
|
lg: '14px',
|
|
|
|
xl: '18px',
|
|
|
|
'2xl': '20px',
|
|
|
|
'3xl': '24px',
|
2021-12-07 07:48:57 +00:00
|
|
|
'4xl': '28px',
|
2019-10-04 17:55:28 +00:00
|
|
|
},
|
2019-10-05 21:41:16 +00:00
|
|
|
extend: {
|
2019-10-06 12:33:21 +00:00
|
|
|
maxHeight: {
|
2021-12-07 07:48:57 +00:00
|
|
|
64: '16rem',
|
2019-10-06 12:33:21 +00:00
|
|
|
},
|
2019-10-11 09:55:50 +00:00
|
|
|
minWidth: {
|
2021-12-07 07:48:57 +00:00
|
|
|
40: '10rem',
|
|
|
|
56: '14rem',
|
2019-10-11 09:55:50 +00:00
|
|
|
},
|
2019-10-29 19:33:26 +00:00
|
|
|
maxWidth: {
|
2021-12-07 07:48:57 +00:00
|
|
|
32: '8rem',
|
|
|
|
56: '14rem',
|
2019-10-29 19:33:26 +00:00
|
|
|
},
|
2019-10-05 21:41:16 +00:00
|
|
|
spacing: {
|
2021-12-07 07:48:57 +00:00
|
|
|
7: '1.75rem',
|
|
|
|
14: '3.5rem',
|
|
|
|
18: '4.5rem',
|
|
|
|
28: '7rem',
|
|
|
|
72: '18rem',
|
|
|
|
80: '20rem',
|
2019-10-05 21:41:16 +00:00
|
|
|
},
|
|
|
|
boxShadow: {
|
2019-11-19 17:34:45 +00:00
|
|
|
'outline-px': '0 0 0 1px rgba(66, 153, 225, 0.5)',
|
2021-11-02 12:30:45 +00:00
|
|
|
DEFAULT: '0 2px 4px 0 rgba(0, 0, 0, 0.05)',
|
2019-11-19 17:34:45 +00:00
|
|
|
md: '0 0 2px 0 rgba(0, 0, 0, 0.10), 0 2px 4px 0 rgba(0, 0, 0, 0.08)',
|
2021-12-07 07:48:57 +00:00
|
|
|
button: '0 0.5px 0 0 rgba(0, 0, 0, 0.08)',
|
2019-10-13 12:03:01 +00:00
|
|
|
},
|
|
|
|
borderRadius: {
|
2019-12-11 09:38:20 +00:00
|
|
|
sm: '0.25rem', // 4px
|
2021-11-02 12:30:45 +00:00
|
|
|
DEFAULT: '0.313rem', // 5px
|
2019-12-11 09:38:20 +00:00
|
|
|
md: '0.375rem', // 6px
|
|
|
|
lg: '0.5rem', // 8px
|
2021-12-07 07:48:57 +00:00
|
|
|
xl: '0.75rem', // 12px
|
2019-10-13 12:03:01 +00:00
|
|
|
},
|
2022-01-10 08:17:23 +00:00
|
|
|
gridColumn: {
|
|
|
|
'span-full': '1 / -1',
|
|
|
|
},
|
2023-06-20 12:20:20 +00:00
|
|
|
colors,
|
2021-12-07 07:48:57 +00:00
|
|
|
},
|
2019-10-03 13:46:12 +00:00
|
|
|
},
|
|
|
|
variants: {
|
2019-12-11 09:38:20 +00:00
|
|
|
margin: ['responsive', 'first', 'last', 'hover', 'focus'],
|
2024-03-23 15:12:55 +00:00
|
|
|
backgroundColor: [
|
|
|
|
'responsive',
|
|
|
|
'first',
|
|
|
|
'hover',
|
|
|
|
'focus',
|
|
|
|
'focus-within',
|
|
|
|
'dark',
|
|
|
|
],
|
2021-12-07 07:48:57 +00:00
|
|
|
display: ['group-hover'],
|
2024-08-20 07:41:33 +00:00
|
|
|
borderWidth: ['last'],
|
2024-03-23 18:09:16 +00:00
|
|
|
fontWeight: ['dark'],
|
2019-10-03 13:46:12 +00:00
|
|
|
},
|
2023-01-07 10:25:08 +00:00
|
|
|
plugins: [require('tailwindcss-rtl')],
|
2019-10-05 21:41:16 +00:00
|
|
|
};
|
2022-03-01 08:47:20 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* 208, 100, 50
|
|
|
|
* 209, 62, 50
|
|
|
|
*/
|