2021-08-10 16:45:48 +03:00
|
|
|
const colors = require('tailwindcss/colors');
|
|
|
|
|
|
|
|
module.exports = {
|
2021-09-20 19:30:19 +03:00
|
|
|
purge: ['./src/**/*.{js,jsx,ts,tsx,html,md,mdx}'],
|
2021-08-10 16:45:48 +03:00
|
|
|
darkMode: false, // or 'media' or 'class'
|
2021-10-07 12:50:04 +03:00
|
|
|
// jit: true,
|
2021-08-10 16:45:48 +03:00
|
|
|
mode: 'jit',
|
|
|
|
theme: {
|
|
|
|
extend: {
|
|
|
|
colors: {
|
2022-06-24 17:32:31 +03:00
|
|
|
current: 'currentColor',
|
2021-08-10 16:45:48 +03:00
|
|
|
yellow: colors.amber,
|
2021-10-07 12:50:04 +03:00
|
|
|
gray: colors.blueGray,
|
2021-08-10 16:45:48 +03:00
|
|
|
primary: {
|
|
|
|
light: '#fad170',
|
|
|
|
DEFAULT: '#f9c548',
|
|
|
|
dark: '#d5ae52',
|
|
|
|
darker: '#ae8e3e',
|
|
|
|
},
|
2022-06-24 17:32:31 +03:00
|
|
|
// added this new colour from tailwindv3, can be removed on tailwind upgrade
|
|
|
|
slate: {
|
|
|
|
700: '#334155'
|
|
|
|
},
|
2021-08-10 16:45:48 +03:00
|
|
|
cloud: {
|
|
|
|
DEFAULT: '#1eb4d4',
|
|
|
|
dark: '#197b98',
|
|
|
|
darker: '#074c4c',
|
|
|
|
},
|
|
|
|
secondary: {
|
|
|
|
light: '#eef4f7',
|
|
|
|
DEFAULT: '#297393',
|
|
|
|
dark: '#14394a',
|
|
|
|
},
|
|
|
|
legacybg: {
|
|
|
|
DEFAULT: '#f8fafb',
|
|
|
|
},
|
2021-10-07 12:50:04 +03:00
|
|
|
muted: {
|
|
|
|
DEFAULT: '#475569',
|
2021-10-11 16:20:22 +03:00
|
|
|
},
|
2021-10-07 12:50:04 +03:00
|
|
|
},
|
|
|
|
fontFamily: {
|
|
|
|
sans: ['Gudea', 'ui-sans-serif', 'system-ui'],
|
2021-08-10 16:45:48 +03:00
|
|
|
},
|
|
|
|
spacing: {
|
2022-05-25 17:19:20 +03:00
|
|
|
xs: '0.571rem', // ~9.5 px
|
|
|
|
sm: '0.857rem', // ~14 px
|
|
|
|
md: '1.429rem', // ~23 px
|
|
|
|
lg: '2.286rem', // 36.5px
|
|
|
|
xl: '2.857rem', // 45.7px
|
|
|
|
input: '2.5rem', // 41.5px
|
|
|
|
btn: '2.5rem', // 41.5px
|
|
|
|
btnsm: '2rem', // 32px
|
|
|
|
formlabel: '0.571rem', // ~9.5 px
|
2021-08-10 16:45:48 +03:00
|
|
|
},
|
|
|
|
fontSize: {
|
2021-10-11 16:20:22 +03:00
|
|
|
sm: ['0.875rem', { lineHeight: '1.25rem' }],
|
|
|
|
base: ['1rem', { lineHeight: '1.5rem' }],
|
|
|
|
lg: ['1.143rem', { lineHeight: '1.429rem' }],
|
|
|
|
xl: ['1.714rem', { lineHeight: '2.143rem' }],
|
2022-06-07 12:56:04 +03:00
|
|
|
subtitle: ['1.300rem', { lineHeight: '2.143rem' }], // ~20 px
|
|
|
|
title: ['1.5rem', { lineHeight: '2.143rem' }], // ~24 px
|
2021-09-28 13:15:34 +03:00
|
|
|
},
|
2021-08-10 16:45:48 +03:00
|
|
|
},
|
|
|
|
},
|
2021-09-20 19:30:19 +03:00
|
|
|
plugins: [require('@tailwindcss/typography'), require('@tailwindcss/forms')],
|
2021-08-10 16:45:48 +03:00
|
|
|
};
|