diff --git a/icons/frappe/folder_tauri.svg b/icons/frappe/folder_tauri.svg index 0552b107..61f8d10f 100644 --- a/icons/frappe/folder_tauri.svg +++ b/icons/frappe/folder_tauri.svg @@ -2,8 +2,8 @@ - + - + diff --git a/icons/frappe/folder_tauri_open.svg b/icons/frappe/folder_tauri_open.svg index c875edde..130f69a9 100644 --- a/icons/frappe/folder_tauri_open.svg +++ b/icons/frappe/folder_tauri_open.svg @@ -2,8 +2,8 @@ - + - + diff --git a/icons/macchiato/folder_tauri.svg b/icons/macchiato/folder_tauri.svg index 499528c2..a043a050 100644 --- a/icons/macchiato/folder_tauri.svg +++ b/icons/macchiato/folder_tauri.svg @@ -2,8 +2,8 @@ - + - + diff --git a/icons/macchiato/folder_tauri_open.svg b/icons/macchiato/folder_tauri_open.svg index 948bd6a2..148f50e9 100644 --- a/icons/macchiato/folder_tauri_open.svg +++ b/icons/macchiato/folder_tauri_open.svg @@ -2,8 +2,8 @@ - + - + diff --git a/icons/mocha/folder_tauri.svg b/icons/mocha/folder_tauri.svg index 28660ff5..8d156638 100644 --- a/icons/mocha/folder_tauri.svg +++ b/icons/mocha/folder_tauri.svg @@ -2,8 +2,8 @@ - + - + diff --git a/icons/mocha/folder_tauri_open.svg b/icons/mocha/folder_tauri_open.svg index a977e2f5..7f44f8d2 100644 --- a/icons/mocha/folder_tauri_open.svg +++ b/icons/mocha/folder_tauri_open.svg @@ -2,8 +2,8 @@ - + - + diff --git a/scripts/icons/generate.ts b/scripts/icons/generate.ts index c4e14971..24adf6d7 100644 --- a/scripts/icons/generate.ts +++ b/scripts/icons/generate.ts @@ -32,7 +32,7 @@ try { const svg = new SVG(readFileSync(resolve(originPath, i), 'utf8')) parseColors(svg, { callback(attr, color) { - if (attr === 'stroke') { + if ((attr === 'stroke' || attr === 'fill') && color !== 'none') { const newColorName = palettes[origin].find(v => v[1] === color.toLowerCase())?.[0] const newColor = palettes[dest].find(v => v[0] === newColorName)?.[1] if (!newColor)