recipeshilt.blogg.se

Standard drupal icon
Standard drupal icon









Something that can manage our wonderful, varied, multi-licensed and different methods approach to icons. Often times, we've been more focused on putting the actual icons in Drupal, instead of looking at the bigger picture. It is no wonder this issue seems to go around in circles and can never really seem to come through to fruition. It's never really been about the icons themselves, has it? Rather, "How do we get them in the site?", "Do we put them in the theme or a module?" or "Do they need to be interchangeable?". Let's take a step back and look at the underlying issue though. As a themer, I have noticed that often times the lack of icon support in Drupal has perhaps limited the design or even affected the choices in how we build a site. With a SoC initiative and a couple more attempts to put icons into Drupal, they either didn't gain much traction or have just failed over time, miserably. In fact, there are issues and discussions that span all the way back to 2007 (if not farther). This problematic issue isn't anything new to the Drupal community. Ironically, one might think this would complicate matters more, but in reality font icons are typically easier to implement and are overall easier to maintain. Regardless of how one might perceive it, fonts icons have simply added to the noise of what "icons" are now considered to be and the markup that comes with it. So in retrospect, perhaps font icons aren't as "limited" as some may believe, but purposefully and strategically left this way. Simplistic and flat silhouette icons are "in" right now. If you still need full-colored icons though, sprites are still probably the best way to go. In theory, it is possible to apply perhaps another secondary color if your font icon provides ligature support ( IcoMoon). (I only mention this so I don't get a comment about it below.) They are mainly monochromatic in nature, given the limitations CSS text coloring. While font icons are great, they do have a few limitations. pretty much every CSS trick/method you can apply to text can be used for a font icon. Fonts are vector-based in nature so they can be scaled, colored, text-shadowed. While this concept really isn't new, it probably isn't as widely known and has really changed how some of us themers approach icons in general. Pretty standard stuff and all is happy in the world. Whether it be a single static image or one massive image used for CSS sprites, they're usually a GIF, JPEG or PNG file.

standard drupal icon standard drupal icon

This question has pretty much been answered for years. What file format/method are or should be used for icons? Icons are a visual representation of some intended object or action - a pictogram essentially (think of a stop sign). They're images right? Well, technically yes. Many times this involves adding an icon library into your theme and doing some pretty undesirable pre-processing or template overrides to insert them where you want. If you're reading this post, it probably is because you desire an easier way to insert a simple icon into your Drupal site.











Standard drupal icon