@use 'sass:meta';
@use './utils' as utils;

$modules-with-third-party: (
	'algolia-search',
);

@each $mod in $modules-with-third-party {
	@include meta.load-css(utils.module-path($mod, 'third-party'));
}

@layer modules {
	$modules: (
		'footer',
		'header',
		'sidebar',
		'toc',
		'main',
		'mobile-nav',
		'header-bar',
		'breadcrumbs',
		'algolia-search',
		'not-found'
	);

	@each $mod in $modules {
		@include meta.load-css(utils.module-path($mod));
	}
}
