ben-eb/perfectionist

Support SCSS map

Open

#23 aberto em 16 de set. de 2015

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

Métricas do repositório

Stars
 (229 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

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

Guia do colaborador