npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@redisrupt/red-svg-icons

v6.0.4

Published

SVG icons for reva projects

Downloads

31

Readme

red-image-assets

This contains the shared icons and visual assets across Reva projects.

Organization of resources

The repository is broken down into a few key areas. This is fairly self-explanatory, but the summary should help with a few key details.

  • ./originals contains the original files used to generate some of the resources used. These are typically Illustrator (.ai) files that either output more complex SVG or rasterized images. For example, the original Illustrator files used to generate favicons are here, so we can easily make changes or improvements and rerender all of the raster images needed. These are only used in manual processes right now, because it's pretty rare we need to change these original files. Also note that some of the originals can be stored directly in Figma now. We may end up migrating the rest of this folder to Figma over time, but there are still a few things that don't quite translate well from Illustrator.

  • ./resources/launchers contains the favicons, launchers, and splash screens used for various Reva apps across different platforms. The naming convention (./resources/launchers/[<tenant>_<module>]/[env]/[context]) of the folder structure gives how the icons will be used per environment. The tenant and module (core, rxp, etc.) give the top-level separation, because this is quite important (reva for the default/fallback when no white-labeling is used). For example, ./resources/launchers/reva_core/prod/favicons includes favicons for the main red app (leasing, resident services, etc.) in the production environment.

  • /resources/icons contains the 24x24 SVG icons. These are further decomposed into subdirectories as neccessary (currently based upon usage context). These are all monochromatic icons. These can be wrapped and scaled up/down responsively in mod4 decrements/increments including 16, 24, 36, 48, 64, and 72. This covers all common sizes needed at different screen densities if we need to rasterize them at some point, although we prefer to keep them in vector form. We can also generate an icon font from this set of icons quite easily, but will need to define a consistent convention for ordering them in the font library.

TBD: We may need to further decompose the UI folder at some point. There's a bunch of overlap and re-use though, so it isn't clear how best to organize this right now.

  • /resources/pictographs contains larger SVG pictographs used across the Reva apps (e.g., 404, 500, bookmarks, etc.). These are not necessarily 24x24, and typically not monochromatic.

  • /resources/raster contains rasterized static images we need. Generally these are either too complex to store efficiently as vectors, or used in combination with Cloudinary for dynamic rendering.

Samples and helpful reminders

  • ./samples contains a few examples, templates, etc. that are handy.

  • You can quickly optimize a directory of PNGs using find . -name '*.png' -print0 | xargs -0 -P8 -L4 pngquant --ext .png --force --speed 1 --strip 256. Requires pngquant of course.

  • Compling the .ico version is easy with ImageMagick using convert -alpha Background -colors 16 -depth 4 +dither favicon-16.png favicon-24.png favicon-32.png favicon-48.png favicon-64.png favicon.ico && rm favicon-16.png favicon-24.png favicon-32.png favicon-48.png favicon-64.png