@unsass/grid

2.0.1 • Public • Published

Grid

Version Downloads License

Introduction

Sass functions and mixins to use grid.

Installing

npm install @unsass/grid

Usage

Styles

@use "@unsass/grid/styles";

Configuration

@use "@unsass/grid" with (
    $columns: 10,
    $screens: (
        "lg": 1024px
    )
);

Options

Name Default Description
$columns 12 Sets numbers of columns.
$column-gap 12px Sets the column gap.
$rows 6 Sets numbers of rows.
$rows-gap 12px Sets the row gap.
$screens () Sets breakpoints rules. See here for default tokens.

Package Sidebar

Install

npm i @unsass/grid

Weekly Downloads

1

Version

2.0.1

License

MIT

Unpacked Size

131 kB

Total Files

21

Last publish

Collaborators

  • bdamevin