add_action( 'wp_enqueue_scripts', function() {
// deregister the cdn version.
wp_deregister_style( 'foundation-icons' );
//register local version in child theme
wp_register_style( 'foundation-icons', get_stylesheet_directory_uri() . '/fonts/foundation-icons/foundation-icons.css' );
}, 11 );
Add to your child theme and add the icons css to the folder referenced in the child theme.
CDNS are perfectly GDPR friendly, you only have to mention it in your privacy page and link to the cdn privacy page.