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

buefy-next-bulma-v1-scss

v1.0.2

Published

bulma v1 scss/sass compatible with buefy-next

Downloads

12

Readme

:warning: WIP: needs testing and storyboard of bulma components

Before you start

Please look at Bulma With Sass Example this repo is just an extension to how that works.

** Importing the scss files directly will likely cause wierd/broken behaviour **

Install

  1. pnpm add bulma
  2. pnpm add buefy-next-bulma-v1-scss
  3. where you import bulma after the import add buefy-next-bulma-v1-scss eg.
@use "bulma/sass" with (
  $family-primary: '"Nunito", sans-serif',
  $grey-dark: $brown,
  $grey-light: $beige-light,
  $primary: $purple,
  $link: $pink,
  $control-border-width: 2px,
  $input-shadow: none
);

// Import the Google Font
@import url("https://fonts.googleapis.com/css?family=Nunito:400,700");


// Import buefy-next-bulma-v1-scss  
@import 'buefy-next-bulma-v1-scss';
  1. follow Bulma With Sass Example instructions

Local Development

  1. pnpm add bulma
  2. clone this repo
  3. pnpm link -g from this cloned repo (might eventually get on NPM)
  4. pnpm link -g buefy-next-bulma-v1-scss in your repo
  5. add bulma scripts to your package json in your repo
"build-bulma": "sass --load-path=node_modules my-bulma-project.scss my-bulma-project.css",
"start": "npm run build-bulma -- --watch"
  1. add a my-bulma-project.scss file with the following (rename it. i just want a consistant example)
@use "sass:color";

// Set your brand colors
$purple: #8a4d76;
$pink: #fa7c91;
$brown: #757763;
$beige-light: #d0d1cd;
$beige-lighter: #eff0eb;

// Path to Bulma's sass folder
@use "bulma/sass" with (
  $family-primary: '"Nunito", sans-serif',
  $grey-dark: $brown,
  $grey-light: $beige-light,
  $primary: $purple,
  $link: $pink,
  $control-border-width: 2px,
  $input-shadow: none
);

// Import the Google Font
@import url("https://fonts.googleapis.com/css?family=Nunito:400,700");


// Import buefy-next-bulma-v1-scss  
@import 'buefy-next-bulma-v1-scss';
  1. run pnpm build-bulma with the above import and it should spit out a good css file
  2. include that css file in your project

Bulma sass starting point here Bulma With Sass Example

DEV Notes

breakpoints are now include mx.breakpoint (mx is aliased - bulma does this) @include tablet becomes -> @include mx.breakpoint("tablet")

Color pairs no longer work. Instead i've used fn.bulmaFindLightColor($color); fn.bulmaFindDarkColor($color); fn.bulmaFindColorInvert($color);

Need to test above with tags or tooltip. maybe button