@charset "UTF-8";

/// Remove settings
///
/// @param  {String} $settings Configuration path
/// @param  {Bool}   $default  Whether the configuration is default
///
/// @return {Bool}             True if the configuration path is removed.
@function config-reset($settings, $default: false) {
  $settings: $config-namespace + $settings;

  @if length($settings) == 1 {
    $settings: nth($settings, 1);
  }

  @each $setting in $settings {
    @if ($default) {
      $config-default: map-remove($config-default, $setting) !global;
    } @else {
      $config-attr: map-remove($config-attr, $setting) !global;
    }
  }

  @return true;
}

@charset "UTF-8";

/// Remove settings
///
/// @param  {String} $settings Configuration path
/// @param  {Bool}   $default  Whether the configuration is default
///
/// @return {Bool}             True if the configuration path is removed.
@function config-reset($settings, $default: false) {
  $settings: $config-namespace + $settings;

  @if length($settings) == 1 {
    $settings: nth($settings, 1);
  }

  @each $setting in $settings {
    @if ($default) {
      @if ($config-manger-variables == 'global') {
        $config-default: map-remove($config-default, $setting) !global;
      } @else {
        $config-default: map-remove($config-default, $setting);
      }
    } @else {
      @if ($config-manger-variables == 'global') {
        $config-attr: map-remove($config-attr, $setting) !global;
      } @else {
        $config-attr: map-remove($config-attr, $setting);
      }
    }
  }

  @return true;
}

Update config-reset() to respect $config-manger-variable
Update config-reset() to respect $config-manger-variable