ben-eb/perfectionist

Support SCSS map

Open

#23 opened on Sep 16, 2015

View on GitHub
 (4 comments) (2 reactions) (0 assignees)JavaScript (11 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (229 stars)
PR merge metrics
 (PR metrics pending)

Description

Input:

$breakpoints:(small: 767px,medium: 992px,large: 1200px);

Expanded output:

$breakpoints: (
  small: 767px,
  medium: 992px,
  large: 1200px
);

Nesting:

$map: (
    key1: value1,
    key2: (
        key-1: value-1,
        key-2: value-2,
    ),
    key3: value3
);

@include:

@include map(
  $dribble: #ea4c89,
  $facebook: #3b5998,
  $github: #171515,
  $google: #db4437,
  $twitter: #55acee
);

Contributor guide