Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@brixtol/bootstrap
Advanced tools
Customised and extended Bootstrap v5 variation.
We here at Brixtol leverage the bootstrap grid system and its utiltities in various public facing web applications with custom naming convention for classes. We found it extrenous having to constantly overwrite defaults and wanted a single point of control which we can depend upon.
pnpm add @brixtol/bootstrap -D
Because pnpm is dope and does dope shit
When using this variation you can either either leverage its defaults or create a per-project variables.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 of presets.
We expose only a small portion of Bootstrap's variables and also include a couple of addition helpers variables. This variation is not using any JavaScript components so only bare essentials and exposed.
Do not append
!default
to variables or else changes will not be written.
/* -------------------------------------------- */
/* EDITABLE OPTIONS */
/* -------------------------------------------- */
$enable-rfs: true;
/* -------------------------------------------- */
/* PALETTE */
/* -------------------------------------------- */
$white: #ffffff;
$black: #000000;
$blue: #0d6efd;
$indigo: #6610f2;
$purple: #6f42c1;
$pink: #d63384;
$red: #dc3545;
$orange: #fd7e14;
$yellow: #ffc107;
$green: #198754;
$teal: #20c997;
$cyan: #0dcaf0;
/* -------------------------------------------- */
/* GRAYS */
/* -------------------------------------------- */
$gray-100: #f8f8f8;
$gray-200: #e0e4e7;
$gray-300: #ccd3da;
$gray-400: #b6c2ce;
$gray-500: #98a5b3;
$gray-600: #747d85;
$gray-700: #575f68;
$gray-800: #373d42;
$gray-900: #202427;
/* -------------------------------------------- */
/* BACKGROUND COLORS */
/* -------------------------------------------- */
$background-colors: (
"transparent": $transparent,
"white": $white,
"black": $black,
"ivory": $gray-100,
"gray": $gray-400
);
/* -------------------------------------------- */
/* FONT COLORS */
/* -------------------------------------------- */
$font-colors: (
"black": $black,
"white": $white,
"gray": $gray-500,
"red": $red,
"orange": $orange
);
/* -------------------------------------------- */
/* BUTTON COLORS */
/* -------------------------------------------- */
$button-colors: (
"black": $black,
"white": $white,
"gray": $gray-500,
"red": $red,
"green": $green
);
/* -------------------------------------------- */
/* SPACING */
/* -------------------------------------------- */
$spacer: 1rem;
/* -------------------------------------------- */
/* GRID */
/* -------------------------------------------- */
$grid-columns: 12;
$grid-gutter-width: 1.5rem;
$grid-row-columns: 6;
/* -------------------------------------------- */
/* GRID > BREAKPOINTS */
/* -------------------------------------------- */
$grid-breakpoints: (
xs: 0,
sm: 576px,
md: 768px,
lg: 992px,
xl: 1200px,
xxl: 1400px
);
/* -------------------------------------------- */
/* GRID > MAX-WIDTHS */
/* -------------------------------------------- */
$container-max-widths: (
sm: 540px,
md: 720px,
lg: 960px,
xl: 1140px,
xxl: 1320px
);
/* -------------------------------------------- */
/* FONT FAMILY */
/* -------------------------------------------- */
$font-family-heading: Arial, sans-serif;
$font-family-body: Helvetica, sans-serif;
/* -------------------------------------------- */
/* BODY */
/* -------------------------------------------- */
$body-bg: $white;
$body-color: $gray-900;
/* -------------------------------------------- */
/* FONT SIZES */
/* -------------------------------------------- */
$font-size-base: 1rem;
$font-size-xs: $font-size-base * .875;
$font-size-sm: $font-size-base * .875;
$font-size-lg: $font-size-base * 1.25;
/* -------------------------------------------- */
/* FONT HEADINGS */
/* -------------------------------------------- */
$headings-font-family: $font-family-heading;
$headings-font-style: null;
$headings-font-weight: 500 ;
$headings-line-height: 1.2 ;
/* -------------------------------------------- */
/* FONT WEIGHT */
/* -------------------------------------------- */
$font-weight-normal: 400;
$font-weight-lighter: 100;
$font-weight-light: 300;
$font-weight-bold: 700;
$font-weight-bolder: bolder;
/* -------------------------------------------- */
/* LINE HEIGHT */
/* -------------------------------------------- */
$line-height-base: 1.5;
$line-height-sm: 1.25;
$line-height-lg: 2;
$line-height-xl: 2.4;
/* -------------------------------------------- */
/* LINKS */
/* -------------------------------------------- */
$link-color: $black;
$link-decoration: underline;
$link-shade-percentage: 20%;
$link-hover-decoration: null;
/* -------------------------------------------- */
/* BORDERS */
/* -------------------------------------------- */
$border-color: $gray-300;
$border-radius: .25rem;
$border-radius-sm: .2rem;
$border-radius-lg: .3rem;
$border-radius-pill: 50rem;
/* -------------------------------------------- */
/* SHADOWS */
/* -------------------------------------------- */
$box-shadow: 0 .5rem 1rem rgba($black, .15);
$box-shadow-sm: 0 .125rem .25rem rgba($black, .075);
$box-shadow-lg: 0 1rem 3rem rgba($black, .175);
$box-shadow-inset: inset 0 1px 2px rgba($black, .075);
/* -------------------------------------------- */
/* HR LINE */
/* -------------------------------------------- */
$hr-margin-y: $spacer;
$hr-color: inherit;
$hr-height: $border-width;
$hr-opacity: .25;
/* -------------------------------------------- */
/* ASPECT RATIOS */
/* -------------------------------------------- */
$aspect-ratios: (
"1x1": 100%,
"4x3": calc(3 / 4 * 100%),
"16x9": calc(9 / 16 * 100%),
"21x9": calc(9 / 21 * 100%)
);
/* -------------------------------------------- */
/* SPINNER */
/* -------------------------------------------- */
$spinner-border-color: $gray-300;
$spinner-height: $spinner-width;
$spinner-height-sm: $spinner-width-sm;
$spinner-width: 2rem;
$spinner-width-sm: 1rem;
$spinner-border-width: .25em;
$spinner-border-width-sm: .2em;
$spinner-vertical-align: -.125em;
$spinner-animation-speed: .75s;
/* -------------------------------------------- */
/* BUTTONS */
/* -------------------------------------------- */
$btn-font-family: $font-family-heading;
$btn-font-size-sm: $font-size-sm;
$btn-font-size: $font-size-base;
$btn-font-size-lg: $font-size-lg;
$btn-line-height: $line-height-base;
$btn-focus-color: $transparent;
$btn-focus-width: .25rem;
$btn-focus-opacity: .25;
$btn-disabled-opacity: .65;
$btn-padding-y-sm: .25rem;
$btn-padding-y: .375rem;
$btn-padding-y-lg: .5rem;
$btn-padding-x-sm: .5rem;
$btn-padding-x: .75rem;
$btn-padding-x-lg: 1rem;
$btn-white-space: nowrap; // Set null for text wrapping
The variations default variables overwrite bootstraps defaults. Projects which use
@import 'variables';
@import '~@brixtol/bootstrap';
Using Bootstrap v5.1.1.
.container-*
.container-fluid
.row
.row-auto
.row-cols-auto
.row-cols-1
.row-cols-2
.row-cols-3
.row-cols-4
.row-cols-5
.row-cols-6
.col-*
.col-*-auto
.col-*-1
.col-*-2
.col-*-3
.col-*-4
.col-*-5
.col-*-6
.col-*-7
.col-*-8
.col-*-9
.col-*-10
.col-*-11
.col-*-12
.offset-*-1
.offset-*-2
.offset-*-3
.offset-*-4
.offset-*-5
.offset-*-6
.offset-*-7
.offset-*-8
.offset-*-9
.offset-*-10
.offset-*-11
.relative
.absolute
.fixed
.static
.sticky
.flex-*-fill
.flex-*-row
.flex-*-row-reverse
.flex-*-col
.flex-*-col-reverse
.gap-*-0
.gap-*-1
.gap-*-2
.gap-*-3
.gap-*-4
.gap-*-5
.jc-*-start
.jc-*-end
.jc-*-center
.jc-*-between
.jc-*-around
.jc-*-even
.ai-*-start
.ai-*-end
.ai-*-center
.ai-*-base
.ai-*-stretch
.ac-*-start
.ac-*-end
.ac-*-center
.ac-*-between
.ac-*-around
.ac-*-stretch
.as-*-auto
.as-*-start
.as-*-end
.as-*-center
.as-*-base
.as-*-stretch
.d-*-none
.d-*-block
.d-*-flex
.d-*-grid
.d-*-table
.d-*-table-row
.d-*-table-cell
.d-*-inline
.d-*-inline-block
.d-*-inline-flex
.od-*-first
.od-*-last
.od-*-1
.od-*-2
.od-*-3
.od-*-4
.od-*-5
.od-*-6
.w-auto
.w-25
.w-50
.w-75
.w-100
.vw-100
.mw-100
.h-auto
.h-25
.h-50
.h-75
.h-100
.vh-100
.mh-100
.m-*-auto
.m-*-0
.m-*-1
.m-*-2
.m-*-3
.m-*-4
.m-*-5
.my-*-auto
.my-*-0
.my-*-1
.my-*-2
.my-*-3
.my-*-4
.my-*-5
.mx-*-auto
.mx-*-0
.mx-*-1
.mx-*-2
.mx-*-3
.mx-*-4
.mx-*-5
.mt-*-auto
.mt-*-0
.mt-*-1
.mt-*-2
.mt-*-3
.mt-*-4
.mt-*-5
.mr-*-auto
.mr-*-0
.mr-*-1
.mr-*-2
.mr-*-3
.mr-*-4
.mr-*-5
.mb-*-auto
.mb-*-0
.mb-*-1
.mb-*-2
.mb-*-3
.mb-*-4
.mb-*-5
.ml-*-auto
.ml-*-1
.ml-*-2
.ml-*-3
.ml-*-4
.ml-*-5
.p-*-auto
.p-*-0
.p-*-1
.p-*-2
.p-*-3
.p-*-4
.p-*-5
.py-*-auto
.py-*-0
.py-*-1
.py-*-2
.py-*-3
.py-*-4
.py-*-5
.px-*-auto
.px-*-0
.px-*-1
.px-*-2
.px-*-3
.px-*-4
.px-*-5
.pt-*-auto
.pt-*-0
.pt-*-1
.pt-*-2
.pt-*-3
.pt-*-4
.pt-*-5
.pr-*-auto
.pr-*-0
.pr-*-1
.pr-*-2
.pr-*-3
.pr-*-4
.pr-*-5
.pb-*-auto
.pb-*-0
.pb-*-1
.pb-*-2
.pb-*-3
.pb-*-4
.pb-*-5
.pl-*-auto
.pl-*-1
.pl-*-2
.pl-*-3
.pl-*-4
.pl-*-5
.bg-transparent
.bg-white
.bg-black
.bg-ivory
.bg-gray
.lh-*-1
.lh-*-2
.lh-*-3
.lh-*-4
.lh-*-5
.fs-1
.fs-2
.fs-3
.fs-4
.fs-5
.fs-xs
.fs-sm
.fs-md
.fs-lg
.fc-black
.fc-white
.fc-gray
.fc-red
.fc-orange
.fc-green
.italic
.strike
.fw-light
.fw-lighter
.fw-normal
.fw-bold
.fw-bolder
.text-lowercase
.text-uppercase
.text-capitalize
.text-none
.text-left
.text-center
.text-right
.text-justify
.bd
.bd-0
.bd-1
.bd-2
.bd-3
.bd-2
.bd-4
.bd-5
.bd-top
.bd-top-0
.bd-right
.bd-right-0
.bd-bottom
.bd-bottom-0
.bd-left
.bd-left-0
.radius
.radius-1
.radius-2
.radius-3
.radius-pill
.radius-circle
.radius-top
.radius-right
.radius-bottom
.radius-left
.spinner
.spinner-sm
.btn
.btn-sm
.btn-lg
.btn-href
.btn-check
.btn-black
.btn-white
.btn-gray
.btn-red
.btn-green
.btn-outline-black
.btn-outline-white
.btn-outline-gray
.btn-outline-red
.btn-outline-green
.form-label
.form-label-col
.form-label-col-sm
.form-label-col-lg
.form-control
.form-floating
.form-control-lg
.form-control-sm
.form-color
.form-select
.form-select-sm
.form-select-lg
.form-check
.form-check-label
.form-check-input
.form-check-inline
.form-switch
.form-check-label
.form-check-input
.form-select-lg
.form-range
.form-valid
.form-invalid
.form-error
.form-success
.input-group
.input-group-sm
.input-group-lg
MIT
FAQs
Webshop strap for Brixtol Textiles.
The npm package @brixtol/bootstrap receives a total of 13 weekly downloads. As such, @brixtol/bootstrap popularity was classified as not popular.
We found that @brixtol/bootstrap demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.