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 🙏

© 2026 – Pkg Stats / Ryan Hefner

bulma-darkify

v1.0.2

Published

Your Bulma project, now with customizable dark-mode support.

Readme

Bulma Darkify 🌗

Add a touch of darkness to your Bulma-powered websites. This project allows you to embrace the dark side of web design while maintaining the sleekness of Bulma's UI framework. Say goodbye to bright lights and welcome the relaxing warmth of dark mode.

Features

  • Fully customizable dark mode support.
  • Ability to toggle between light and dark modes using the [data-theme] attribute.
  • Compatibile with your existing Bulma styles.

Getting Started

Installation

pnpm add -D bulma-darkify

or

npm install bulma-darkify --save-dev

or

yarn add -D bulma-darkify

Import

Full Import (Larger Bundle Size)

Include the provided SCSS file into your existing SASS/SCSS file:

@import "bulma/bulma";

// Import your own dark mode variables
@import "your-dark-mode-variables";
@import "bulma-darkify/bulma-darkify";

Modular Import (Smaller Bundle Size)

Include only the SCSS files that you need:

// Import the relevant Bulma files before importing from bulma-darkify
@import "bulma/sass/utilities/_all";
@import "bulma/sass/elements/button";

// Import your own dark mode variables
@import "your-dark-mode-variables";

// Import from bulma-darkify
@import "bulma-darkify/scss/utilities/_all";
@include color-mode(dark) {
    @import "bulma-darkify/scss/elements/button";
}

Use

To use the dark mode, add the data-theme attribute to your HTML tag. For example:

<html lang="en" data-theme="dark">

</html>

Toggle

To toggle between themes, simply change this attribute to light:

<html lang="en" data-theme="light">

</html>

Customization

This library does not come with predefined styles for dark mode. This means that you will need to define how you want the dark mode styles to appear. To do this, follow Bulma's guide on customization using SASS variables: https://bulma.io/documentation/customize/variables/.

Then, append your style names with -dark.

For example, to change a button's default background color in light mode, you would normally define a variable like:

$button-background-color: #YOUR-COLOR-HERE

For dark mode, you can change the button's background color by simply adding -dark to this variable name:

$button-background-color-dark: #YOUR-COLOR-HERE

Contributing

Contributions from the community are welcomed! If you encounter a bug, have a feature request, or want to enhance this library, please open a pull request

License

This project is under the MIT license. Feel free to use, modify, and distribute it as you please.