Skip to content

Commit a08a8e5

Browse files
b229
1 parent e97a537 commit a08a8e5

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/Core/Global/Getters.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@
7878
///
7979
@function settings($node, $keys...)
8080
{
81+
@if length($keys) > 4 {
82+
@warn helper.$nesting-depth;
83+
}
84+
8185
$settings: map.get(map.get(options($node), 'settings'), nth($keys, 1));
8286

8387
@if $settings == null {

src/Core/Global/Options.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,6 @@
100100
///
101101
@function set_variable($module, $keys...)
102102
{
103-
@if length($keys) > 4 {
104-
@warn helper.$nesting-depth;
105-
}
106-
107103
$value: theme($module, $keys...);
108104

109105
@if($value != null) {

0 commit comments

Comments
 (0)