Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 203 Bytes

dynamic-color.scss.md

File metadata and controls

19 lines (14 loc) · 203 Bytes

dynamic-color.scss

根据指定颜色生成黑色/白色。

// input
.demo{
  c1: dynamic-color(red);
  c2: dynamic-color(white);
}

// output
.demo {
  c1: #ffffff;
  c2: #000000;
}