# @kano/kbc-base-styles

> Kano base styles and sass functions and mixins

Latest version **2.0.8** (published 2021-09-30) · ISC license · 0 weekly downloads

## Install

```sh
npm install @kano/kbc-base-styles
pnpm add @kano/kbc-base-styles
yarn add @kano/kbc-base-styles
bun add @kano/kbc-base-styles
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.8 |
| Published | 2021-09-30 |
| First published | 2020-02-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 2.7 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Kano Computing |
| Maintainers | jacobmorgan99, alicemarshall, alexfiennes, jonokano, kanocomputing, rpazdera, natseg, davidweatherall, hicksatkano, holographicleah, tomkano, onishiweb, alexb-kano, charlie-kano, wassupduck, jamie_old_plantain |

## Links

- npm: https://www.npmjs.com/package/@kano/kbc-base-styles
- npm.io page: https://npm.io/package/@kano/kbc-base-styles

## Dependencies (1)

- [@kano/kbc-tokens](https://npm.io/package/@kano/kbc-tokens.md) ^2.0.6

## Recent versions

- 2.0.8 (latest) — 2021-09-30
- 2.0.7 — 2021-06-05
- 2.0.6 — 2021-05-28
- 2.0.5 — 2021-05-06
- 2.0.4 — 2021-04-08
- 2.0.3 — 2021-04-07
- 2.0.2 — 2021-04-07
- 2.0.1 — 2021-03-04
- 2.0.0 — 2021-01-08
- 2.0.0-pre.0 — 2021-01-06
- 2.0.0-alpha.0 — 2021-01-06
- 1.0.12 — 2020-12-02
- 1.0.11 — 2020-10-12
- 1.0.10 — 2020-10-01
- 1.0.9 — 2020-09-23
- … 42 more at https://npm.io/package/@kano/kbc-base-styles/versions

## README

# `kbc-base-styles`

Kano base Scss styles, including a CSS reset and initial element styles. Also includes useful scss functions and mixins for creating projects.

## Usage

### Sass

In Scss, import the base stylesheet at the top of your project:

```scss
@import '~@kano/kbc-base-styles/main.scss';
```

To import the Scss tools - variables, functions and mixins:

```scss
@import '~@kano/kbc-base-styles/src/tools.scss';
```

### Overwriting default variables

Colour and typography variables made available from `kbc-base` (initially from `kbc-tokens`) are possible to be overwritten by the local application. To do this in your application, create local variables with the same variable name before importing tools or the base styles:

```scss
// App variables
@import 'variables';
// kbc-base
@import '~@kano/kbc-base-styles/main.scss';
```

or:

```scss
// App variables
@import 'variables';
// kbc-base tools
@import '~@kano/kbc-base-styles/lib/tools.scss';
```

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