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

blouse.css

v2.0.8

Published

a lightweight mobile first css framework

Downloads

32

Readme

👚 blouse.css

This responsive tiny framework allows you to focus on the content. Don't waste time with design until your app is working. Less than 1Kb compressed* and 4.4Kb for the icons.

CSS size in bytes Icons font size in bytes

Features

  • Semantic HTML ✅
  • Mobile first ✅
  • Dark mode ✅
  • Lightweight, minimal footprint ✅
  • No JavaScript ** ✅
  • Icons for social networks ✅

See it live

* When minified and compressed with the widely supported brotli algorithm.

** The demo menu uses JS to close it when a link is clicked. It is only necessary on anchors, not when they're linked to other pages.

How to use

Copy the following code or download the starter template

<!doctype html>
<html>
<head>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="dist/blouse.css">
</head>
<body>
  <nav><!-- Optional menu --></nav>
  <main>
    <!-- Put your content here! -->
  </main>
  <footer><!-- Optional footer --></footer>
</body>
</html>

Documentation

Use as much semantic HTML as possible, see the demo for reference.

Utilities

We use the class names from Tailwind in case you later want to migrate to it.

<p class="text-center">This text is align in the center.</p>
<p class="text-lg">This text is big.</p>
<p class="mute">This text is muted.</p>
<p class="mt-2">This text has a space on top.</p>
<p class="mt-4">This text has double space on top.</p>

Menu

<nav>
  <input type="checkbox" id="menu-toggle" aria-hidden="true" />
  <a href="/">My brand</a>
	<label for="menu-toggle" aria-hidden="true"></label>
  <ul>
    <li><a href="#">First link</a></li>
    <li><a href="#">Second link</a></li>
    <li><a href="#">Third link</a></li>
  </ul>
</nav>

Footer

<footer>
  <span>Some content</a>
  <span><a href="#">A link</a></span>
  <span>
    <i class="gh" aria-hidden="true" title="GitHub"></i>
  </span>
</footer>

Forms and messages

<a class="btn" href="#">Regular button</a>
<a class="btn main" href="#">Main button</a>
<a class="btn alt" href="#">Alternative button</a>

<input type="submit" value="Regular button" />
<input type="submit" class="main" value="Main button" />
<input type="submit" class="alt" value="Alternative button" />

<button>Regular button</button>
<button class="main">Main button</button>
<button class="alt">Alternative button</button>

<p class="msg ok">Ok message</p>
<p class="msg err">Error message</p>
<p class="msg info">Info message</p>
<p class="msg warn">Warning message</p>

Alerts are popup notification showed at the top (over the menu). The close button needs to be implemented with JavaScript. Use role="alert" when hidden to make it accesible.

<p class="msg alert ok">This is an alert ok.</p>

<p class="msg alert err" hidden role="alert">
  This is an alert error.
  <b title="Close" aria-label="Close the alert." onclick="this.parentElement.hidden=true">✕</b>
</p>

Icons

Use emojis for most of the icons you need, like 🖨️, ⚙️ or 📞 But for social networks we needs icons, here you have the most used:

Twitter: <i class="tw" aria-hidden="true" title="Twitter"></i>
Facebook: <i class="fb" aria-hidden="true" title="Facebook"></i>
GitHub: <i class="gh" aria-hidden="true" title="GitHub"></i>
LinkedIn: <i class="in" aria-hidden="true" title="LinkedIn"></i>
WhatsApp: <i class="wa" aria-hidden="true" title="WhatsApp"></i>
Telegram: <i class="tl" aria-hidden="true" title="Telegram"></i>
Youtube: <i class="yt" aria-hidden="true" title="Youtube"></i>
Instagram: <i class="ig" aria-hidden="true" title="Instagram"></i>
Twitch: <i class="ti" aria-hidden="true" title="Twitch"></i>

Themes

The framework has different themes.

  • Default
  • Warm
  • Cool
  • Sea
  • Balloon
  • Solid
  • Party
  • Idea

CDN

Use jsDelivr to load https://cdn.jsdelivr.net/npm/blouse.css@version/dist/theme.css

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/warm.css" crossorigin="anonymous">

Made with ❤️, by Pragmore