2021-03-30 15:47:08 -07:00
|
|
|
// const colors = require('tailwindcss/colors')
|
2021-04-12 06:32:01 -07:00
|
|
|
// const defaultTheme = require('tailwindcss/defaultTheme')
|
2021-03-30 15:47:08 -07:00
|
|
|
|
|
|
|
module.exports = {
|
2021-04-16 08:04:04 -07:00
|
|
|
mode: 'jit',
|
2021-04-12 09:49:02 -07:00
|
|
|
purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
|
2021-04-12 06:32:01 -07:00
|
|
|
future: {
|
|
|
|
removeDeprecatedGapUtilities: true,
|
|
|
|
purgeLayersByDefault: true,
|
|
|
|
},
|
|
|
|
darkMode: false,
|
2021-03-30 15:47:08 -07:00
|
|
|
theme: {
|
2021-04-15 20:32:03 -07:00
|
|
|
fontFamily: {
|
2021-04-16 04:50:56 -07:00
|
|
|
display: ['Lato, sans-serif'],
|
|
|
|
body: ['Lato, sans-serif'],
|
2021-04-15 20:32:03 -07:00
|
|
|
},
|
2021-03-30 15:47:08 -07:00
|
|
|
extend: {
|
2021-12-29 10:39:17 -08:00
|
|
|
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',
|
|
|
|
},
|
2021-03-30 15:47:08 -07:00
|
|
|
colors: {
|
2021-04-12 06:32:01 -07:00
|
|
|
'light-theme': {
|
User account page (#22)
* layout, overview, start on assets, borrows and open orders
* trade history, sortable data hook for tables, borrow page
* handle deposit and withdraw buttons
* borrow modal ui and integration + settle borrow for individual assets
* in orders balance to asset table and totals, responsive css, new connected wallet button + small tweaks
* account switch/creation flow
* accounts modal, update to usebalances hook
* handle settle, deposit before settle, save last account
* disable borrow/withdraw button when no account
2021-06-05 07:11:44 -07:00
|
|
|
orange: {
|
|
|
|
DEFAULT: '#FF9C24',
|
|
|
|
dark: '#F58700',
|
|
|
|
},
|
2021-12-01 12:45:18 -08:00
|
|
|
red: { DEFAULT: '#CC2929', dark: '#AA2222', muted: '#eba9a9' },
|
|
|
|
green: { DEFAULT: '#5EBF4D', dark: '#4BA53B', muted: '#bfe5b8' },
|
2021-04-13 07:10:57 -07:00
|
|
|
'bkg-1': '#f7f7f7',
|
2021-04-12 06:32:01 -07:00
|
|
|
'bkg-2': '#FFFFFF',
|
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',
|
2021-04-12 06:32:01 -07:00
|
|
|
},
|
|
|
|
'dark-theme': {
|
User account page (#22)
* layout, overview, start on assets, borrows and open orders
* trade history, sortable data hook for tables, borrow page
* handle deposit and withdraw buttons
* borrow modal ui and integration + settle borrow for individual assets
* in orders balance to asset table and totals, responsive css, new connected wallet button + small tweaks
* account switch/creation flow
* accounts modal, update to usebalances hook
* handle settle, deposit before settle, save last account
* disable borrow/withdraw button when no account
2021-06-05 07:11:44 -07:00
|
|
|
yellow: {
|
|
|
|
DEFAULT: '#F2C94C',
|
|
|
|
dark: '#E4AF11',
|
|
|
|
},
|
2021-12-01 12:45:18 -08:00
|
|
|
red: { DEFAULT: '#CC2929', dark: '#AA2222', muted: '#622123' },
|
|
|
|
green: { DEFAULT: '#5EBF4D', dark: '#4BA53B', muted: '#365D31' },
|
2021-05-18 09:27:09 -07:00
|
|
|
orange: { DEFAULT: '#FF9C24' },
|
2021-07-29 06:19:32 -07:00
|
|
|
'bkg-1': '#101012',
|
|
|
|
'bkg-2': '#1B1B1F',
|
|
|
|
'bkg-3': '#27272B',
|
|
|
|
'bkg-4': '#38383D',
|
2021-12-01 12:45:18 -08:00
|
|
|
'fgd-1': '#F7F7F7',
|
|
|
|
'fgd-2': '#E7E7E7',
|
|
|
|
'fgd-3': '#DADADA',
|
2021-04-13 07:10:57 -07:00
|
|
|
'fgd-4': '#878787',
|
2021-04-12 06:32:01 -07:00
|
|
|
},
|
|
|
|
'mango-theme': {
|
User account page (#22)
* layout, overview, start on assets, borrows and open orders
* trade history, sortable data hook for tables, borrow page
* handle deposit and withdraw buttons
* borrow modal ui and integration + settle borrow for individual assets
* in orders balance to asset table and totals, responsive css, new connected wallet button + small tweaks
* account switch/creation flow
* accounts modal, update to usebalances hook
* handle settle, deposit before settle, save last account
* disable borrow/withdraw button when no account
2021-06-05 07:11:44 -07:00
|
|
|
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' },
|
2021-05-18 09:27:09 -07:00
|
|
|
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',
|
2021-04-12 06:32:01 -07:00
|
|
|
'fgd-1': '#F0EDFF',
|
2021-12-01 12:45:18 -08:00
|
|
|
'fgd-2': '#E5E3EC',
|
|
|
|
'fgd-3': '#C1BED3',
|
2021-04-12 06:32:01 -07:00
|
|
|
'fgd-4': '#706C81',
|
|
|
|
},
|
|
|
|
'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)',
|
User account page (#22)
* layout, overview, start on assets, borrows and open orders
* trade history, sortable data hook for tables, borrow page
* handle deposit and withdraw buttons
* borrow modal ui and integration + settle borrow for individual assets
* in orders balance to asset table and totals, responsive css, new connected wallet button + small tweaks
* account switch/creation flow
* accounts modal, update to usebalances hook
* handle settle, deposit before settle, save last account
* disable borrow/withdraw button when no account
2021-06-05 07:11:44 -07:00
|
|
|
'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)',
|
2021-05-18 09:27:09 -07:00
|
|
|
'th-orange': 'var(--orange)',
|
2021-03-30 15:47:08 -07:00
|
|
|
},
|
2021-12-29 10:39:17 -08:00
|
|
|
fontSize: {
|
|
|
|
xxs: '.65rem',
|
|
|
|
},
|
2021-05-07 12:41:26 -07:00
|
|
|
keyframes: {
|
|
|
|
shake: {
|
|
|
|
'0%, 100%': {
|
|
|
|
transform: 'rotate(0deg)',
|
|
|
|
},
|
|
|
|
'20%, 60%': {
|
|
|
|
transform: 'rotate(6deg)',
|
|
|
|
},
|
|
|
|
'40%, 80%': {
|
|
|
|
transform: 'rotate(-6deg)',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2021-03-30 15:47:08 -07:00
|
|
|
},
|
|
|
|
},
|
2021-04-11 14:25:01 -07:00
|
|
|
variants: {
|
|
|
|
extend: {
|
2021-04-12 15:15:15 -07:00
|
|
|
cursor: ['hover', 'focus', 'disabled'],
|
|
|
|
opacity: ['disabled'],
|
|
|
|
backgroundColor: ['disabled'],
|
|
|
|
textColor: ['disabled'],
|
2021-04-11 14:25:01 -07:00
|
|
|
},
|
|
|
|
},
|
2021-03-30 15:47:08 -07:00
|
|
|
plugins: [],
|
|
|
|
}
|