Fix deprecated functions in sass files
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
@import 'tokens';
|
||||
@use 'tokens';
|
||||
@use 'sass:map';
|
||||
|
||||
/**
|
||||
* SIZE SCALE
|
||||
@@ -6,14 +7,14 @@
|
||||
* it is relevant for (font-size, margin, padding). All items are
|
||||
* calcuated off these tokens.
|
||||
*/
|
||||
$size-scale: map-get($tokens, 'size-scale');
|
||||
$size-scale: map.get(tokens.$tokens, 'size-scale');
|
||||
|
||||
/**
|
||||
* COLORS
|
||||
* Colors are shared between backgrounds and text by default.
|
||||
* You can also use them to power borders, fills or shadows, for example.
|
||||
*/
|
||||
$colors: map-get($tokens, 'colors');
|
||||
$colors: map.get(tokens.$tokens, 'colors');
|
||||
|
||||
/**
|
||||
* METRICS
|
||||
|
||||
Reference in New Issue
Block a user