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

Options for theme #96

Open
Sandip124 opened this issue Jan 4, 2022 · 0 comments
Open

Options for theme #96

Sandip124 opened this issue Jan 4, 2022 · 0 comments

Comments

@Sandip124
Copy link
Contributor

this library can have property like theme and so that the look and feel can be changed in semantic way without even create custom CSS in the toastify CSS.

this.options.theme = options.theme|| Toastify.defaults.theme; // Default, Light, Dark

and also we can create a theme and can publish so that every body can use these theme directly using the toaster lib

also we can implement like success , danger info theme, and there the icon for it would be already set with proper data ,
this would have benefit when the end user consumes its API and they can directly call toastify .success or

Also for that we need some kind of invocation like toastify can directly invoke theme while initiating.

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

No branches or pull requests

1 participant