An open API service indexing awesome lists of open source software.

https://github.com/automattic/jetpack-base-styles

[READ ONLY] Base SCSS utilities and variables for Jetpack. This repository is a mirror, for issue tracking and development head to: https://github.com/automattic/jetpack
https://github.com/automattic/jetpack-base-styles

jetpack npm-module npm-package wordpress

Last synced: 8 months ago
JSON representation

[READ ONLY] Base SCSS utilities and variables for Jetpack. This repository is a mirror, for issue tracking and development head to: https://github.com/automattic/jetpack

Awesome Lists containing this project

README

          

# Base Styles

Base SCSS utilities and variables for Jetpack.

## Installation

Install the module

```bash
npm install @automattic/jetpack-base-styles --save-dev
```

## Use

### SCSS utilities and variables

In your application's SCSS file, include styles like so:

```scss
@use '@automattic/jetpack-base-styles/style';
```

To make that work with [`sass`](https://www.npmjs.com/package/sass) NPM modules without Webpack, you'd have to use [loadPaths](https://sass-lang.com/documentation/js-api/interfaces/options/#loadPaths) or [includePaths](https://sass-lang.com/documentation/js-api/interfaces/legacyfileoptions/#includePaths):

```json
{
"loadPaths": [ "node_modules" ]
}
```