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

bluegg-kss-builder

v0.0.3

Published

The Bluegg Twig.js builder for kss-node.

Downloads

14

Readme

Bluegg KSS Twig Builder for KSS Node

This is a KSS builder - a custom build and template - for KSS Style guides.

DISCLAIMER: This only really works with the Bluegg Generator and as such should not be used by anyone, for anything, at any time

Install

npm i bluegg-kss-builder

Customisation

Amend the color/font variables in /resources/styles/scss/_styleguide.scss.

Then just run the grunt styleguide task from the root directory of your project. Refer to the KSS Node documentation or the Grunt KSS Docs for more info.

Custom KSS tasks

I've ~~borrowed~~ stolen some tasks from other projects and hacked them for other purposes.

Colours

You can create a grid of brand colours using the Colors comment. This will also output HSL and RGB codes for each hex code:

Pantones aren't supported yet

// Brand colours
//
// Brand colour pallette
//
// Colors:
// $color-brand: #128dfb - The brand blue
// $color-pink: #fa1848 - A highlight colour
// $color-gold: #fbb800 - Always believe in your soul
//
// Style guide: Colours.Brand\ Colours

Logos

You can now get a grid of logos (or any images that need a preview and to be downloadable) by using the Logo comment. This will also create links to download an SVG, PNG and JPEG file of the same name from the same place as the file path referenced in the comment (so make sure you add the files).

The logo will need to be in the public folder - e.g. reachable from the styleguide front end

// Logo
//
// Logo description goes here
//
// Logos: Main logo: /path/to/logo.svg - This is the main logo. This should be used in most instances
// White logo: /path/to/logo-white.svg - This is the main logo in white
//
// Style guide: Logo

Samples

You can create a sample block by using the Sample comment. This is useful for Logo Dos and Don'ts or to demo type faces, fonts, applications etc.

// Fonts
//
// Our brand fonts. These are available from [Typekit](https://typekit.com/fonts/aktiv-grotesk/)
//
// Samples: Aktiv Grotesk (regular): //placehold.it/800x600 - Use this for body copy
// Aktiv Grotesk (medium): //placehold.it/800x600 - Use this for most headings
// Aktiv Grotesk (bold): //placehold.it/800x600 - Use this for emphasis and buttons
//
// Style guide: Typography.Fonts