Skip to content

Added variables to toastr sass - #538

Open
ffocsi wants to merge 10 commits into
CodeSeven:developfrom
ffocsi:develop
Open

Added variables to toastr sass#538
ffocsi wants to merge 10 commits into
CodeSeven:developfrom
ffocsi:develop

Conversation

@ffocsi

@ffocsi ffocsi commented Sep 13, 2017

Copy link
Copy Markdown

The sass was a bit limited by how it couldn't use variables to change the colours. so I converted the less file to sass and split the variables out into contextual variables. I did the same in less too with the variables in case it was wanted.

@ffocsi

ffocsi commented Mar 8, 2018

Copy link
Copy Markdown
Author

Pulled 2.1.4 into the pull request

@jameshulse

Copy link
Copy Markdown

I came here to see if this was implemented. I think its a really good idea but should you also add !default after each variable?

@ffocsi

ffocsi commented Jul 9, 2018

Copy link
Copy Markdown
Author

Probably. I think there was a reason I didn't but it was probably wrong.

Either way it has been over a year since I emailed @TimFerrell and he said he'd accept it, didn't, and then ignored a follow up email maybe 6 months later.

@jameshulse

Copy link
Copy Markdown

That's a shame - well thanks for at least giving it a go. It seems like its high time for a modern alternative to this library to come along (unless there is one already).

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.

6 participants