by bryanbuchs on 31/5/2011

re@import bookmarklet »

The ReCSS bookmarket is hands-down my favourite, most-used tool outside of a code editor. Being able to quickly reload just the stylesheets on a page of HTML to see what I’ve just done is a great timesaver. Unfortunately, Drupal 7 insists on using a style tag with multiple @import commands, and those aren’t targeted by the ReCSS bookmarklet. And I just so happen to be working on D7 project right now.

So I wrote a quick command using Ben Alman’s jQuery Bookmarket Generator that does update the @import’d files. Problem solved.