File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 270270/// @group @carbon/layout
271271@function -last-map-item ($map ) {
272272 $total-length : list .length ($map );
273- @return map- get ($map , -key-by-index ($map , $total-length ));
273+ @return map . get ($map , -key-by-index ($map , $total-length ));
274274}
275275
276276/// Provide a map and index, and get back the relevant key value
Original file line number Diff line number Diff line change 44// This source code is licensed under the Apache-2.0 license found in the
55// LICENSE file in the root directory of this source tree.
66//
7+ @use ' sass:map' ;
78
89/// Map deep get
910/// @author Hugo Giraudel
3738/// @group @carbon/layout
3839@function last-map-item ($map ) {
3940 $total-length : list .length ($map );
40- @return map- get ($map , carbon--key-by-index ($map , $total-length ));
41+ @return map . get ($map , carbon--key-by-index ($map , $total-length ));
4142}
Original file line number Diff line number Diff line change 66//
77
88@use ' sass:string' ;
9+ @use ' sass:map' ;
910
1011/// Font family fallbacks for: IBM Plex Mono, IBM Plex Sans, IBM Plex Sans
1112/// Condensed, IBM Plex Sans Hebrew, and IBM Plex Serif
@@ -65,7 +66,7 @@ $font-families: (
6566/// @access public
6667/// @group @carbon/type
6768@function font-family ($name ) {
68- @return map- get ($font-families , $name );
69+ @return map . get ($font-families , $name );
6970}
7071
7172/// Include the `font-family` definition for the given name in your selector
@@ -92,7 +93,7 @@ $font-weights: (
9293/// @access public
9394/// @group @carbon/type
9495@function font-weight ($weight ) {
95- @return map- get ($font-weights , $weight );
96+ @return map . get ($font-weights , $weight );
9697}
9798
9899/// Set the `font-weight` property with the value for a given name
You can’t perform that action at this time.
0 commit comments