Compare commits

..

1 Commits

Author SHA1 Message Date
Flatlogic Bot
e7e6f49793 red button 2025-06-20 10:36:59 +00:00
7 changed files with 14 additions and 8 deletions

5
.gitignore vendored
View File

@ -1,3 +1,8 @@
node_modules/ node_modules/
*/node_modules/ */node_modules/
*/build/ */build/
**/node_modules/
**/build/
.DS_Store
.env

File diff suppressed because one or more lines are too long

View File

@ -80,7 +80,7 @@ export const getButtonColor = (
contrast: 'bg-gray-800 text-white dark:bg-white dark:text-black', contrast: 'bg-gray-800 text-white dark:bg-white dark:text-black',
success: 'bg-emerald-600 dark:bg-pavitra-blue text-white', success: 'bg-emerald-600 dark:bg-pavitra-blue text-white',
danger: danger:
'bg-midnightBlueTheme-outsideCardColor text-red-500 dark:text-white dark:bg-red-500 ', 'bg-red-500 text-white',
warning: 'bg-yellow-600 dark:bg-yellow-500 text-white', warning: 'bg-yellow-600 dark:bg-yellow-500 text-white',
info: ' bg-midnightBlueTheme-buttonColor dark:bg-pavitra-blue text-white ', info: ' bg-midnightBlueTheme-buttonColor dark:bg-pavitra-blue text-white ',
}, },

View File

@ -23,7 +23,7 @@ const HeroImageBg = ({
<BaseButton <BaseButton
href='/login' href='/login'
label={`${buttonText}`} label={`${buttonText}`}
color='info' color='danger'
className='px-4 sm:px-6 py-2 ' className='px-4 sm:px-6 py-2 '
/> />
</div> </div>

View File

@ -20,7 +20,7 @@ const HeroImageLeft = ({
<BaseButton <BaseButton
href='/login' href='/login'
label={`${buttonText}`} label={`${buttonText}`}
color='info' color='danger'
className=' px-4 sm:px-6 py-2 ' className=' px-4 sm:px-6 py-2 '
/> />
</div> </div>

View File

@ -37,7 +37,7 @@ const HeroImageRight = ({
<BaseButton <BaseButton
href='/login' href='/login'
label={`${buttonText}`} label={`${buttonText}`}
color='info' color='danger'
className=' px-4 sm:px-6 py-2 ' className=' px-4 sm:px-6 py-2 '
/> />
</div> </div>

View File

@ -44,6 +44,8 @@ export type ColorButtonKey =
| 'lightDark' | 'lightDark'
| 'contrast' | 'contrast'
| 'success' | 'success'
| 'danger'
| 'danger' | 'danger'
| 'warning' | 'warning'
| 'info' | 'info'