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

It is possible to give custom color to 'default-spinner' #32

Open
monali-jain opened this issue May 30, 2017 · 2 comments
Open

It is possible to give custom color to 'default-spinner' #32

monali-jain opened this issue May 30, 2017 · 2 comments

Comments

@monali-jain
Copy link

Hi..
I need to some solution for use this library in my project.
Is there any way to changed 'default-spinner' circle color?
image
I ask it because currently it is only display green("#27ae60") color.
I need display 'default-spinner' circle in different color according to status like following:

'SUCCESS' : GREEN COLOR
'WARNING': YELLOW COLOR
'INFO': BLUE COLOR
'ERROR': RED COLOR

So, It is possible to give custom color to 'default-spinner'?

@hakanersu
Copy link
Owner

hakanersu commented May 30, 2017

Hi @monali-jain

just try

$.amaran({
    'position'  :'top left',
    'content'     : {
        'color': '#fb722e',
        'message': 'My positioning example.'
    }
});

If you pass content object you have to define message in it.

@monali-jain
Copy link
Author

monali-jain commented May 31, 2017

okay...
Thanks @hakanersu.
it is working... 👍

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

2 participants