Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve alert styling #342

Closed
wants to merge 8 commits into from
Closed

Improve alert styling #342

wants to merge 8 commits into from

Conversation

SamZhang02
Copy link
Collaborator

@SamZhang02 SamZhang02 commented Jul 16, 2023

Improve alert styling

  • Removed (X), clicking anywhere on the alert closes it
  • Improved color, it's now a bit less flashy to the eye

@codecov
Copy link

codecov bot commented Jul 16, 2023

Codecov Report

Merging #342 (6754150) into master (36083d3) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #342   +/-   ##
=======================================
  Coverage   87.03%   87.03%           
=======================================
  Files          41       41           
  Lines        4128     4128           
=======================================
  Hits         3593     3593           
  Misses        535      535           

@SamZhang02 SamZhang02 linked an issue Jul 16, 2023 that may be closed by this pull request
@SamZhang02
Copy link
Collaborator Author

yooo no way CI passed

Comment on lines +25 to +32
error: <IoWarning className='text-red-400 dark:opacity-80' size={25} />,
success: (
<AiFillCheckCircle className='text-green-400 dark:opacity-80' size={23} />
),
info: (
<AiFillInfoCircle className='text-blue-300 dark:opacity-80' size={23} />
),
warning: <IoWarning className='text-yellow-400 dark:opacity-80' size={25} />,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should have a different icon for error and warning. I suggest keeping the icon for warning but change the error icon to VscError

@terror
Copy link
Owner

terror commented Aug 5, 2023

We should use this instead

https://sonner.emilkowal.ski/

@terror
Copy link
Owner

terror commented Sep 16, 2023

Closing in favour of #416

@terror terror closed this Sep 16, 2023
@terror terror deleted the alert-styling branch September 16, 2023 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve alert styling
2 participants