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