Skip to content

Commit 6652494

Browse files
feat(generator): make raw variable symbol font download opt-in by default
Agent-Logs-Url: https://github.com/MudBlazor/MudBlazor.Icons/sessions/3c0e8544-4165-4605-8415-d3c9d13179e5 Co-authored-by: danielchalmers <7112040+danielchalmers@users.noreply.github.com>
1 parent 1b1f670 commit 6652494

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/GoogleMaterialDesignIconsGenerator/Service/IconHttpClientService.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,15 @@ public async Task<IconsMetadata> ParseIconsAsync()
4747
return metadata;
4848
}
4949

50-
public async Task DownloadMaterialSymbolsFontsAsync(string destinationFolderPath, CancellationToken cancellationToken = default)
50+
public async Task DownloadMaterialSymbolsFontsAsync(string destinationFolderPath, bool includeRawVariableFonts = false, CancellationToken cancellationToken = default)
5151
{
5252
ArgumentException.ThrowIfNullOrWhiteSpace(destinationFolderPath);
5353

54+
if (!includeRawVariableFonts)
55+
{
56+
return;
57+
}
58+
5459
try
5560
{
5661
Directory.CreateDirectory(destinationFolderPath);

0 commit comments

Comments
 (0)