2018-10-23 13:01:12 -07:00
|
|
|
<% example(autogen_css: false) do %>
|
2018-10-23 13:42:40 -07:00
|
|
|
$font-weights: ("regular": 400, "medium": 500, "bold": 700);
|
2018-10-23 13:01:12 -07:00
|
|
|
|
2019-09-02 16:32:14 -07:00
|
|
|
@debug map.get($font-weights, "medium"); // 500
|
|
|
|
@debug map.get($font-weights, "extra-bold"); // null
|
2018-10-23 13:42:40 -07:00
|
|
|
===
|
|
|
|
$font-weights: ("regular": 400, "medium": 500, "bold": 700)
|
2018-10-23 13:01:12 -07:00
|
|
|
|
2019-09-02 16:32:14 -07:00
|
|
|
@debug map.get($font-weights, "medium") // 500
|
|
|
|
@debug map.get($font-weights, "extra-bold") // null
|
2018-10-23 13:01:12 -07:00
|
|
|
<% end %>
|