Fix deprecated functions in sass files

This commit is contained in:
2025-09-26 16:33:45 +02:00
parent 06e918fe6c
commit 056a4d3474
14 changed files with 130 additions and 94 deletions

View File

@@ -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