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 🙏

© 2025 – Pkg Stats / Ryan Hefner

breakouts

v0.2.1

Published

A personal SCSS/CSS layout utility framework.

Readme

📐 Breakouts – SCSS/CSS Layout Framework

Breakouts is a minimal, modular layout framework for SCSS/CSS that gives you just the right amount of structure: full-bleed containers, responsive grids, spacing, theming, and a clean set of utilities.


🚀 Installation

Using npm:

npm install breakouts

Using bun:

bun add breakouts

🛠 Usage

SCSS with @use

@use 'breakouts' as *;

Import CSS directly

<link rel="stylesheet" href="/node_modules/breakouts/dist/breakouts.css" />

🧱 Features

  • ✅ Full-bleed layout with .container, .full-bleed, .breakouts
  • ✅ Breakouts Grid with named areas (.full, .popout, .feature, etc.)
  • ✅ Spacing utilities: .m-1, .px-2, etc.
  • ✅ Text utilities: alignment, transformation, weight
  • ✅ Responsive-friendly
  • ✅ Dark mode support and theme overrides
  • ✅ Prebuilt themes for fast prototyping
  • ✅ Minimal reset and clean typography

📦 Framework Structure

Breakouts includes a small set of layout-focused utility classes to help you build responsive and consistent page structures.

| Class | Purpose | |----------------|---------------------------------------------------------------------------| | .container | Creates a centered layout wrapper with a max-width and responsive padding | | .full-bleed | Stretches content edge-to-edge across the viewport | | .breakout | Expands content outside the container’s padding without going full-bleed | | .grid | Defines a named-line CSS grid with main and full layout regions | | .grid--full | Forces children of .grid to span the entire width (full region) | | .breakouts-grid | A more advanced named-line grid layout using CSS variables | | .content | Places content in the main centered column within .breakouts-grid | | .popout | Slightly outside the .content width for medium breakout | | .feature | Wider area used for highlighting visual components | | .full | Full-width layout spanning the entire grid |


✍️ Text Utilities

| Class | Description | |------------------|--------------------------| | .text-left | Align text left | | .text-center | Align text center | | .text-right | Align text right | | .text-justify | Justify text | | .text-uppercase | Uppercase text | | .text-lowercase | Lowercase text | | .text-capitalize| Capitalize text | | .font-bold | Bold text | | .font-normal | Normal weight text | | .italic | Italic text | | .not-italic | Not italic | | .leading-tight | Line height 1.25 | | .leading-normal | Line height 1.5 | | .leading-loose | Line height 2 |


📏 Spacing Utilities

Available spacing classes are based on the $space-scale map:

$space-scale: (
  0: 0,
  1: 0.25rem,
  2: 0.5rem,
  3: 0.75rem,
  4: 1rem,
  5: 1.25rem,
  6: 1.5rem
);

| Type | Prefixes | |----------|------------------------------------| | Margin | m, mt, mr, mb, ml, mx, my | | Padding | p, pt, pr, pb, pl, px, py |


📍 Position Utilities

| Class | Description | |-------------------|--------------------------------------| | .position-static | Set position: static; (default) | | .position-relative | Set position: relative; | | .position-absolute | Set position: absolute; | | .position-fixed | Set position: fixed; | | .position-sticky | Set position: sticky; | | .z-index-0 | Set z-index: 0; | | .z-index-1 | Set z-index: 1; | | .z-index-10 | Set z-index: 10; | | .z-index-100 | Set z-index: 100; | | .z-index-1000 | Set z-index: 1000; |


🌗 Dark Mode

Breakouts supports dark mode automatically by toggling the .dark or .light class on the <html> tag.

<html class="dark">
<!-- or -->
<html class="light">

Use prefers-color-scheme if you want to auto-detect:

@media (prefers-color-scheme: dark) {
  html { class: dark; }
}

🧪 Demo & Examples

View the live demo via GitHub Pages: 👉 https://cantilux.github.io/breakouts


🧩 Customize with @use

Override core variables before importing:

@use 'breakouts' with (
  $color-primary: #d1ff4a,
  $color-accent: #8a2be2
);

Or create a custom theme:

// my-theme.scss
@forward 'breakouts/src/theme/variables' with (
  $color-primary: #d1ff4a,
  $color-accent: #8a2be2
);

@use 'breakouts/src/theme/variables' as *;
@forward 'breakouts/src/theme/colors';

🎨 Prebuilt Themes

| Theme Name | Description | Import Path | |----------------|----------------------------------------------------------------|----------------------------------------| | Chupa Pop | Bold and colorful palette inspired by candy tones | @use 'breakouts/theme/chupa-pop' | | Medical | Calm, healthcare-inspired palette with blues and greens | @use 'breakouts/theme/medical' | | Tootsie Pop| Retro and playful candy-themed palette | @use 'breakouts/theme/tootsie-pop' |


💡 Extend Breakouts

You can write your own mixins or import individual parts:

@use 'breakouts/utilities/spacing';
@use 'breakouts/base/typography';

📦 License

MIT — Cantilux