# bridgecss

Latest version **1.7.3** (published 2022-04-14) · GPLv3 license · 0 weekly downloads

## Install

```sh
npm install bridgecss
pnpm add bridgecss
yarn add bridgecss
bun add bridgecss
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.7.3 |
| Published | 2022-04-14 |
| First published | 2022-03-18 |
| Weekly downloads | 0 |
| License | GPLv3 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 28.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | wbunting |
| Keywords | css, custom properties, scss, style, sass |

## Links

- npm: https://www.npmjs.com/package/bridgecss
- npm.io page: https://npm.io/package/bridgecss

## Alternatives

- [style-dictionary](https://npm.io/package/style-dictionary.md) — 2.0M weekly downloads
- [postcss-merge-idents](https://npm.io/package/postcss-merge-idents.md) — 1.7M weekly downloads
- [@fontsource/noto-sans](https://npm.io/package/@fontsource/noto-sans.md) — 93.0K weekly downloads
- [uglifycss](https://npm.io/package/uglifycss.md) — 71.6K weekly downloads
- [mat4-interpolate](https://npm.io/package/mat4-interpolate.md) — 23.3K weekly downloads

## Recent versions

- 1.7.3 (latest) — 2022-04-14
- 1.7.2 — 2022-04-11
- 1.7.1 — 2022-04-08
- 1.7.0 — 2022-04-08
- 1.6.4 — 2022-04-07
- 1.6.3 — 2022-04-07
- 1.6.2 — 2022-04-07
- 1.6.1 — 2022-04-07
- 1.6.0 — 2022-04-07
- 1.5.0 — 2022-04-05
- 1.4.0 — 2022-04-03
- 1.3.0 — 2022-04-01
- 1.2.1 — 2022-03-30
- 1.2.0 — 2022-03-26
- 1.0.1 — 2022-03-18

## README

<div align="center">
  
![Logo](https://github.com/wbunting/bridgecss/raw/master/packages/docs/static/logo.png)

## BridgeCSS 

[![npm version](http://img.shields.io/npm/v/bridgecss.svg)](https://npmjs.org/package/bridgecss)
  
</div>

# BridgeCSS

> Note: This project is dual licensed under the GPL and a proprietary license available for purchase. This means if you intend to use this library in non-free software you must pay the licensing fee.

BridgeCSS is a lightweight set of SCSS mixins and variables that allow for the rapid development of websites and web-based applications. 

## Philosophy

BridgeCSS was grown out of a simultaneous admiration and frustration with utility-first CSS frameworks like Tailwindcss. Those kinds of frameworks solved two problems simultaneously:

1. Making it super easy to get started with CSS via predefined colors, fonts, spacing scales etc (essentially a very un-opinionated design system)
2. Applying that design system via utility classes

BridgeCSS seeks to maintain 1. while using a more traditional approach to CSS for 2. (this is a similar approach as [OpenProps](https://open-props.style/), although we have more power since we can use full SCSS instead of just vanilla CSS).

With Bridge we wanted it to be possible to write CSS like:

```scss
.element {
  color: $gray-900;
  background-color: $gray-100;
  @include pxy(3, 4);

  @include tablet {
    @include pxy(6, 8);
  }

  @include dark {
    color: $gray-300;
    background-color: $gray-900;
  }
}
```

The CSS is just plain SCSS but comes with a whole host of mixins and variables that help with things like responsive design, dark mode, spacing etc. 

We have written in more detail about the philosophy [here]().

## Documentation

The full documentation for BridgeCSS can be found [here](https://bridgecss.vercel.app/docs). It will guide you through the setup process as well as understanding all the available variables / styles.

## A note on Licensing

In order to make this project sustainable, we felt it a good idea to have a GPL version for free software usage. This should make it possible to not block any independent users from building on Bridge as long as they release their source code. However, since CSS is not a large threat to user freedom (due to the limited eg. spying capabilities that it has compared with Javascript) we could release a Proprietary license for corporations who wish to style their sties using Bridge (but were otherwise unlikely to release their source code).

---
_Source: https://npm.io/package/bridgecss · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
