feat: button text color for light mode

This commit is contained in:
wonderlandpark 2021-03-08 21:53:34 +09:00
parent 4080fc5e56
commit c2ccb50212

View File

@ -104,7 +104,7 @@ const BotApplication: NextPage<BotApplicationProps> = ({ user, spec, bot, theme,
<Modal isOpen={modalOpened} onClose={() => setModalOpen(false)} dark={theme === 'dark'} header='정말로 토큰을 재발급하시겠습니까?'> <Modal isOpen={modalOpened} onClose={() => setModalOpen(false)} dark={theme === 'dark'} header='정말로 토큰을 재발급하시겠습니까?'>
<p> </p> <p> </p>
<div className='text-right pt-6'> <div className='text-right pt-6'>
<Button className='bg-gray-500 hover:opacity-90' onClick={()=> setModalOpen(false)}></Button> <Button className='bg-gray-500 text-white hover:opacity-90' onClick={()=> setModalOpen(false)}></Button>
<Button onClick={async ()=> { <Button onClick={async ()=> {
const res = await resetToken() const res = await resetToken()
spec.token = res.data.token spec.token = res.data.token