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

@rhi-ui/logo

v1.1.2

Published

SVG Rick Hansen Institute logo

Downloads

18

Readme

<rhi-ui-logo>

Custom element that displays an SVG version of the Rick Hansen Institute logo.

Logo Elements

The logo's two elements, the icon and text, are fixed in relationship and must not be changed in any way. The icon implies several powerful messages. The circles represent both a spinal cord (with a SCI) and a pathway or journey that a person follows before, during and after a SCI. Meanwhile, the two elements on either side of the circles also have multiple interpretations: they can be viewed as two separate but coordinated pillars of support for people with SCI (research/acute care and community support/reintegration), and they also have the appearance of the Chinese yin and yang symbols which convey the need for balanced support in a person's post-SCI life.

The typeface used in the logo is Netto. This typeface has been chosen for its visual impact and readability. This typeface should never be altered.

Logo Colours

| | Pantone 285C | Neutral Black C | Cool Grey 7 | Light Grey | |----------|----------------:|----------------:|----------------:|----------------:| | CMYK | 100 45 0 19 | 0 0 0 100 | 0 0 0 50 | 2 2 0 29 | | RGB | 0 114 206 | 0 0 0 | 127 127 127 | 178 179 182 | | HEX | #0072CE | #000000 | #7F7F7F | #B2B3B6 |

Whenever possible, we encourage use of the logo in colour on a white background. When this is not possible we permit use of the logo in black, greyscale and reversed out in white on a dark background. If you’re in doubt about how to feature the RHI logo or which colour variation to use, please ask.

Minimum Size

The logo should never appear less than .5" in height with the exception of use in our business cards. As a general guideline for gauging the minimum size of our logo for digital purposes (i.e. featured in PowerPoint presentations or online) the height of the text in the logo should be at least twice the height of the body copy text.

Install

npm install --save @rhi-ui/logo

Use

You can import the custom element via JavaScript:

import { RhiUiLogo } from './node_modules/@rhi-ui/logo/rhi-ui-logo.js';

or using a script tag:

<script type="module" src="node_modules/@rhi-ui/logo/rhi-ui-logo.js"></script>

After imported, add it to your page using HTML. Use the attribute color-palette to specify the style of the component. The available options for color-palette are: black, grayscale, and white.

<rhi-ui-logo></rhi-ui-logo>
<rhi-ui-logo color-palette="grayscale"></rhi-ui-logo>
<rhi-ui-logo color-palette="black"></rhi-ui-logo>
<rhi-ui-logo color-palette="white" style="background-color:#0072CE;"></rhi-ui-logo>

<rhi-ui-logo-small>

Custom element that displays an SVG version of the Rick Hansen Institute logo, without text.

Install

npm install --save @rhi-ui/logo

Use

You can import the custom element via JavaScript:

import { RhiUiLogoSmall } from './node_modules@rhi-ui/logo/rhi-ui-logo-small.js';

or using a script tag:

<script type="module" src="node_modules/@rhi-ui/logo/rhi-ui-logo-small.js"></script>

After imported, add it to your page using HTML. Use the attribute color-palette to specify the style of the component. The available options for color-palette are: black, grayscale, and white.

<rhi-ui-logo-small></rhi-ui-logo-small>
<rhi-ui-logo-small color-palette="grayscale"></rhi-ui-logo-small>
<rhi-ui-logo-small color-palette="black"></rhi-ui-logo-small>
<rhi-ui-logo-small color-palette="white" style="background-color:#0072CE;"></rhi-ui-logo-small>

Demo

The rhi-ui-logo.js file references the library markdown-it. They are already referenced in the component but you will need to load it on your page using a script tag. Use the file-uri attribute to specify the location of the README.md file so it is displayed by the demo element.

<!DOCTYPE html>
<html>
<head>
    <script src="../node_modules/markdown-it/dist/markdown-it.min.js"></script>
    <script type="module" src="../node_modules/selectable-grid/rhi-ui-logo-demo.js"></script>
</head>
<body>
    <rhi-ui-logo-demo file-uri="../node_modules/@rhi-ui/logo/README.md"></rhi-ui-logo-demo>
</body>
</html>