mango-ui-v3/tailwind.config.js

129 lines
3.7 KiB
JavaScript
Raw Normal View History

module.exports = {
2022-03-02 15:03:33 -08:00
content: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
],
theme: {
fontFamily: {
2021-04-16 04:50:56 -07:00
display: ['Lato, sans-serif'],
body: ['Lato, sans-serif'],
},
extend: {
animation: {
shake: 'shake 0.4s linear 4',
'spin-fast': 'spin 0.5s linear infinite',
},
2021-04-05 13:48:24 -07:00
cursor: {
help: 'help',
},
colors: {
2021-04-12 06:32:01 -07:00
'light-theme': {
orange: {
DEFAULT: '#FF9C24',
dark: '#F58700',
},
2022-02-19 20:55:56 -08:00
red: { DEFAULT: '#CC2929', dark: '#CC2929', muted: '#eba9a9' },
green: { DEFAULT: '#5EBF4D', dark: '#5EBF4D', muted: '#bfe5b8' },
2022-06-16 18:00:43 -07:00
'bkg-1': '#FDFDFD',
'bkg-2': '#f7f7f7',
2021-07-29 06:19:32 -07:00
'bkg-3': '#F0F0F0',
'bkg-4': '#E6E6E6',
2021-04-12 06:32:01 -07:00
'fgd-1': '#061f23',
'fgd-2': '#0C3F45',
'fgd-3': '#446065',
2021-04-13 07:10:57 -07:00
'fgd-4': '#B0B0B0',
2022-02-19 19:16:57 -08:00
'bkg-button': '#E6DBCF',
2021-04-12 06:32:01 -07:00
},
'dark-theme': {
yellow: {
DEFAULT: '#F2C94C',
dark: '#E4AF11',
},
2022-01-31 07:52:28 -08:00
red: { DEFAULT: '#CC2929', dark: '#AA2222', muted: '#571e20' },
2021-12-01 12:45:18 -08:00
green: { DEFAULT: '#5EBF4D', dark: '#4BA53B', muted: '#365D31' },
orange: { DEFAULT: '#FF9C24' },
2021-07-29 06:19:32 -07:00
'bkg-1': '#101012',
'bkg-2': '#1B1B1F',
'bkg-3': '#27272B',
'bkg-4': '#38383D',
2022-02-09 19:33:43 -08:00
'fgd-1': '#D1D1D1',
'fgd-2': '#C8C8C8',
'fgd-3': '#B3B3B3',
2021-04-13 07:10:57 -07:00
'fgd-4': '#878787',
'bkg-button': '#4E5152',
2021-04-12 06:32:01 -07:00
},
'mango-theme': {
yellow: {
DEFAULT: '#F2C94C',
dark: '#E4AF11',
},
2021-12-01 12:45:18 -08:00
red: { DEFAULT: '#F84638', dark: '#C7251A', muted: '#6d2832' },
green: { DEFAULT: '#AFD803', dark: '#91B503', muted: '#49601b' },
orange: { DEFAULT: '#FF9C24' },
2021-04-12 06:32:01 -07:00
'bkg-1': '#141026',
'bkg-2': '#1D1832',
2021-07-29 06:19:32 -07:00
'bkg-3': '#2A2440',
'bkg-4': '#37324D',
'fgd-1': '#E5E3EC',
2022-01-12 02:00:36 -08:00
'fgd-2': '#D2CEDE',
2021-12-01 12:45:18 -08:00
'fgd-3': '#C1BED3',
2022-03-28 18:58:13 -07:00
'fgd-4': '#7E7A90',
2022-02-19 20:55:56 -08:00
'bkg-button': '#464063',
2021-04-12 06:32:01 -07:00
},
'th-bkg-1': 'var(--bkg-1)',
'th-bkg-2': 'var(--bkg-2)',
'th-bkg-3': 'var(--bkg-3)',
2021-07-29 06:19:32 -07:00
'th-bkg-4': 'var(--bkg-4)',
2021-04-12 06:32:01 -07:00
'th-fgd-1': 'var(--fgd-1)',
'th-fgd-2': 'var(--fgd-2)',
'th-fgd-3': 'var(--fgd-3)',
'th-fgd-4': 'var(--fgd-4)',
'th-primary': 'var(--primary)',
'th-primary-dark': 'var(--primary-dark)',
2021-04-12 06:32:01 -07:00
'th-red': 'var(--red)',
2021-04-16 07:08:33 -07:00
'th-red-dark': 'var(--red-dark)',
2021-12-01 12:45:18 -08:00
'th-red-muted': 'var(--red-muted)',
2021-04-12 06:32:01 -07:00
'th-green': 'var(--green)',
2021-04-16 07:08:33 -07:00
'th-green-dark': 'var(--green-dark)',
2021-12-01 12:45:18 -08:00
'th-green-muted': 'var(--green-muted)',
'th-orange': 'var(--orange)',
2022-02-19 19:16:57 -08:00
'th-bkg-button': 'var(--bkg-button)',
},
fontSize: {
xxs: '.65rem',
},
keyframes: {
shake: {
'0%, 100%': {
transform: 'rotate(0deg)',
},
'20%, 60%': {
transform: 'rotate(6deg)',
},
'40%, 80%': {
transform: 'rotate(-6deg)',
},
},
},
2022-02-13 18:53:10 -08:00
backgroundImage: {
'long-loss': "url('/share_images/bg-long-loss.png')",
'long-profit': "url('/share_images/bg-long-profit.png')",
'short-loss': "url('/share_images/bg-short-loss.png')",
'short-profit': "url('/share_images/bg-short-profit.png')",
},
2022-06-17 23:14:01 -07:00
screens: {
2022-06-20 03:31:40 -07:00
xl: '1600px',
2022-06-17 23:14:01 -07:00
},
},
},
2022-03-02 15:03:33 -08:00
// variants: {
// extend: {
// cursor: ['hover', 'focus', 'disabled'],
// opacity: ['disabled'],
// backgroundColor: ['disabled'],
// textColor: ['disabled'],
// },
// },
plugins: [],
}