Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 1.5 KB

README.md

File metadata and controls

44 lines (32 loc) · 1.5 KB

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.