ben-eb/perfectionist

Support SCSS map

Open

#23 opened on 2015年9月16日

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)

説明

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
);

コントリビューターガイド