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

@brixtol/bootstrap

v1.7.5

Published

Webshop strap for Brixtol Textiles.

Downloads

84

Readme

@brixtol/bootstrap

Stripped down and customized Bootstrap v5 variation with a refined set of styles and components. This module is used under the hood in our webshop. The bundle is refined for usage within our internal and public facing projects. This means that the included logic is developed for our web applications.

Visit the reference demo: https://brixtol.github.io/bootstrap

Note You are free to leverage and use the variation for your own use cases but be aware that this project will not accept feature requests. Only bug reporting or issues are applicable.

Key Features

  • Small production bundle (20kb gzipped)
  • Short version naming conventions
  • Extended utilities
  • Modular consumption, only what you need
  • Stripped of Bootstrap's JavaScript components

Why?

We here at Brixtol Textiles leverage the bootstrap grid system and some of its utilities in various public facing web applications. We employ custom naming conventions for classes in order to keep production bundles small without needing to purge. It was extraneous having to constantly overwrite defaults together with the constant breaking changes of Bootstrap it made things difficult and we wanted a single point of control which we can depend upon while still being able to extend the base to our requirements.

Install

pnpm add @brixtol/bootstrap -D

Because pnpm is dope and does dope shit

Usage

When using this variation you can either either leverage its defaults or create a per-project strap.scss file to overwrite defaults. This flavor of Bootstrap is intended to be bundled along side project specific stylings, so the defaults are completely stripped and largely refactored. The main sass/* directory contains all the overwrites and refactors, the sass/bootstrap/* directory contains the hard-fork of Bootstrap and the _ prefixed files in the root of this directory are import facing.

Usage is considered on a per-project basis. Below are the main approaches we employ.

Full Import

This will pull in the entire variation.

// FULL IMPORT
//
@import '@brixtol/bootstrap';

Variation Import

This import method requires the base variables.scss file to be imported. The variation.scss import includes a full import of variation. This method is used when you want to apply variable overwrites.

@import '@brixtol/bootstrap/variables';     // DEFAULT VARIABLES FIRST

// VARIABLE OVERWRITES
//
$some-variable: null;

@import '@brixtol/bootstrap/variation';     // VARIATION IMPORT

Customized Import

This import method requires the base variables.scss file to be imported first. The additional files can be included on a per-requirement level. This method is used for producing a more refined distribution bundle.

@import '@brixtol/bootstrap/variables';     // DEFAULT VARIABLES FIRST

// CUSTOM VARIABLES
//
@import 'custom-variables';

@import '@brixtol/bootstrap/base';          // BASE IMPORT
@import '@brixtol/bootstrap/forms';         // FORMS IMPORT
@import '@brixtol/bootstrap/components';    // COMPONENTS IMPORT

Cherry Picking Import

This import method requires the base variables.scss file to be imported first. You can cherry-pick the entire variation from here and include any customizations. This method is used for fine grained control over the distribution bundle.

@import '@brixtol/bootstrap/variables';     // DEFAULT VARIABLES FIRST

// CUSTOM VARIABLES
//
@import 'custom-variables';

/* GRID ---------------------------------------- */

@import "@brixtol/bootstrap/sass/grid";

/* BASE ---------------------------------------- */

@import "@brixtol/bootstrap/sass/headings";
@import "@brixtol/bootstrap/sass/code";
@import "@brixtol/bootstrap/sass/spacing";
@import "@brixtol/bootstrap/sass/display";
@import "@brixtol/bootstrap/sass/helpers";
@import "@brixtol/bootstrap/sass/flex";
@import "@brixtol/bootstrap/sass/backgrounds";
@import "@brixtol/bootstrap/sass/text";
@import "@brixtol/bootstrap/sass/font";
@import "@brixtol/bootstrap/sass/sizing";
@import "@brixtol/bootstrap/sass/lists";
@import "@brixtol/bootstrap/sass/links";
@import "@brixtol/bootstrap/sass/borders";
@import "@brixtol/bootstrap/sass/radius";
@import "@brixtol/bootstrap/sass/spinner";
@import "@brixtol/bootstrap/sass/buttons";
@import "@brixtol/bootstrap/sass/tooltip";
@import "@brixtol/bootstrap/sass/ratio";

/* COMPONENTS -------------------------------- */

@import "@brixtol/bootstrap/sass/components/dropdown";
@import "@brixtol/bootstrap/sass/components/accordion";
@import "@brixtol/bootstrap/sass/components/modal";

/* FORMS -------------------------------------- */

@import "@brixtol/bootstrap/sass/forms/labels";
@import "@brixtol/bootstrap/sass/forms/text";
@import "@brixtol/bootstrap/sass/forms/input";
@import "@brixtol/bootstrap/sass/forms/dropdown";
@import "@brixtol/bootstrap/sass/forms/check";
@import "@brixtol/bootstrap/sass/forms/color";
@import "@brixtol/bootstrap/sass/forms/switch";
@import "@brixtol/bootstrap/sass/forms/select";
@import "@brixtol/bootstrap/sass/forms/range";
@import "@brixtol/bootstrap/sass/forms/float";
@import "@brixtol/bootstrap/sass/forms/group";
@import "@brixtol/bootstrap/sass/forms/number";
@import "@brixtol/bootstrap/sass/forms/feedback";
@import "@brixtol/bootstrap/sass/forms/validation";

LICENSE

MIT