Skip to content

Commit

Permalink
Fix blurred flake color so it uses color option
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmcrty committed Dec 6, 2016
1 parent 6aa0258 commit cc17221
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion flurry.jquery.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"snow",
"animation"
],
"version": "1.0.1",
"version": "1.0.2",
"author": {
"name": "Josh McCarty",
"email": "[email protected]",
Expand Down
4 changes: 2 additions & 2 deletions jquery.flurry.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* (see http://jonathannicol.com/blog/2012/05/06/a-jquery-plugin-boilerplate/)
*
* @link https://github.com/joshmcrty/Flurry
* @version 1.0.1
* @version 1.0.2
* @author Josh McCarty <[email protected]>
* @copyright 2016 Josh McCarty
* @license https://github.com/joshmcrty/Flurry/blob/master/LICENSE GPLv2
Expand Down Expand Up @@ -169,7 +169,7 @@
var $flake = $('<span></span>');
$flake.html(character).css({
"color": options.blur && fontSize < (options.large + options.small) / 2 ? "transparent" : options.color,
"text-shadow": options.blur && fontSize < (options.large + options.small) / 2 ? "0 0 1px rgba(255,255,255,1)" : "none",
"text-shadow": options.blur && fontSize < (options.large + options.small) / 2 ? "0 0 1px " + options.color : "none",
"display": "inline-block",
"line-height": 1,
"margin": 0,
Expand Down
4 changes: 2 additions & 2 deletions jquery.flurry.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cc17221

Please sign in to comment.