Create a gist now

Instantly share code, notes, and snippets.

Github octocat avatar, SVG format
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@johan
johan commented Jul 3, 2011

Neat! But a little lame of Illustrator to export two of the the three glows as rasterized inline png images. Maybe custom-shape gradients is something SVG doesn't really lend itself to do declaratively yet, though.

@johan
johan commented Jul 3, 2011

User script to view the images inline right on github, by the way: https://github.com/johan/github-improved/raw/master/gist-svg.user.js

@milligramme
Owner

I recognize that rasteried by using transparency effects.
"github-improved", it is GREAT user script! Thank you.

@johan
johan commented Jul 4, 2011

Oh, you're most welcome; please share it with everybody you like. :-) If you're running Chrome (or Opera), it's handy to use it in extension form, to get all the updates and bug fixes rolling in effortlessly, by the way (I think I've almost made up the time it took me to extensionize it, just from not having to keep my browsers in sync with updates :-).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment