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

gridlight

v1.1.2

Published

Created by a developer for developers. Enjoy!

Downloads

2

Readme

GridLight css framework

Created by a developer for developers. Enjoy!

yarn add gridlight or npm install --save gridlight

Then, just import ./gridlight/dist/style.min.css

Or, use cdn

https://cdn.jsdelivr.net/npm/[email protected]/dist/style.min.css

Usage

Layout (flexbox)

Containers

12 columns

.container - 1140px
.container-fluid - full width
.container-wide - 1800px

Rows & Cols

Prefixes:
1. '-sm' - 540px
2. '-md' - 768px
3. '-lg' - 960px
4. '-xl' - 1140px
5. '-xxl' - 1440px

<div class="row">
  <div class="col col-sm-12 col-md-4">Col</div>
  <div class="col col-sm-12 col-md-4">Col</div>
  <div class="col col-sm-12 col-md-4">Col</div>
</div>

Offsets

Offset x = 5px;

Paddings

.p-#{x} => .p-1, .p-2 ...

Margins

.m-#{x} => .m-1, .m-2 ...

Gap

Offset between cols or in flex box

.gap-#{x} => .gap-1, .gap-2 ...

Display

[block, flex, none]

.d-#{value} => .d-flex, .d-block, .d-none

Also support media queries

.d-sm-none, .d-md-block

Directions

.flex-col => flex-direction: colums
.flex-row => flex-direction: rows

Backgrounds, Foregrounds

Values [50, 100, 200, 300, 400, 500, 600, 700, 800, 900]

.bg-gray-500 for background .bg-hover-red-500 change hover background

.fr-gray-400 for foreground .fr--hover-red-400 change hover foreground

  • #64748b slate
  • #6b7280 gray
  • #71717a zinc
  • #737373 naturale
  • #78716c stone
  • #ef4444 red
  • #f97316 orange
  • #f59e0b amber
  • #eab308 yellow
  • #84cc16 line
  • #22c55e green
  • #10b981 emerald
  • #14b8a6 teal
  • #06b6d4 cyan
  • #0ea5e9 sky
  • #3b82f6 blue
  • #6366f1 indigo
  • #8b5cf6 violet
  • #a855f7 purple
  • #d946ef fuchsia
  • #ec4899 pink
  • #f43f5e rose

Position

Values [absolute, relative, fixed]

.position-#{value}
.position-absolute

Overflow

Values [hidden, auto, scroll]

.overflow-#{value}
.overflow-hidden

x and y axis

.overflow-x-auto

Round

Values 1-10

.rounded-#{value}
.rounded-10

.circle => make cirlce

Width and Height

.w-100 => 100% of width
.w-50 => 50% of width

.h-100 => 100% of height
.h-50 => 50% of height

Z-index

Values 1-10

.z-#{value}

Align

for flex containers

.align-center
.align-start
.align-end

.justify-center
.justify-start
.justify-end
.justify-between
.justify-around

Cursors

Values [pointer, default]

.cursor-#{value}

Opacity

Values [1-10]

.opacity-#{value}

Point Events

Values [all, none]

.pe-#{value}

User Select

Values [all, none]

.us-#{value}