Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Update SVG icons for light mode (#1473)

Leendert de Borste243b85581ca
diff --git a/apps/mobile-app/android/app/src/main/java/net/aliasvault/app/vaultstore/models/ItemTypeIcons.kt b/apps/mobile-app/android/app/src/main/java/net/aliasvault/app/vaultstore/models/ItemTypeIcons.kt
index 19e25f17a..20fce3bd9 100644
--- a/apps/mobile-app/android/app/src/main/java/net/aliasvault/app/vaultstore/models/ItemTypeIcons.kt
+++ b/apps/mobile-app/android/app/src/main/java/net/aliasvault/app/vaultstore/models/ItemTypeIcons.kt
@@ -15,8 +15,8 @@ object ItemTypeIcons {
*/
val PLACEHOLDER = """
<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
- <circle cx="10" cy="10" r="6.5" stroke="#f49541" stroke-width="2.5"/>
- <circle cx="10" cy="10" r="2.5" stroke="#f49541" stroke-width="2"/>
+ <circle cx="10" cy="10" r="6.5" fill="none" stroke="#f49541" stroke-width="2.5"/>
+ <circle cx="10" cy="10" r="2.5" fill="none" stroke="#f49541" stroke-width="2"/>
<path d="M15 15L27 27" stroke="#f49541" stroke-width="2.5" stroke-linecap="round"/>
<path d="M19 19L23 15" stroke="#f49541" stroke-width="2.5" stroke-linecap="round"/>
<path d="M24 24L28 20" stroke="#f49541" stroke-width="2.5" stroke-linecap="round"/>
diff --git a/apps/mobile-app/components/items/ItemTypeIconComponents.tsx b/apps/mobile-app/components/items/ItemTypeIconComponents.tsx
index d3e9bae41..f0c6a50dc 100644
--- a/apps/mobile-app/components/items/ItemTypeIconComponents.tsx
+++ b/apps/mobile-app/components/items/ItemTypeIconComponents.tsx
@@ -7,8 +7,8 @@ import Svg, { Circle, Path, Rect, Text as SvgText } from 'react-native-svg';
export const PlaceholderIcon = ({ width = 32, height = 32 }: { width?: number; height?: number }): React.ReactElement => (
<Svg width={width} height={height} viewBox="0 0 32 32" fill="none">
- <Circle cx="10" cy="10" r="6.5" stroke="#f49541" strokeWidth="2.5" />
- <Circle cx="10" cy="10" r="2.5" stroke="#f49541" strokeWidth="2" />
+ <Circle cx="10" cy="10" r="6.5" fill="none" stroke="#f49541" strokeWidth="2.5" />
+ <Circle cx="10" cy="10" r="2.5" fill="none" stroke="#f49541" strokeWidth="2" />
<Path d="M15 15L27 27" stroke="#f49541" strokeWidth="2.5" strokeLinecap="round" />
<Path d="M19 19L23 15" stroke="#f49541" strokeWidth="2.5" strokeLinecap="round" />
<Path d="M24 24L28 20" stroke="#f49541" strokeWidth="2.5" strokeLinecap="round" />
diff --git a/apps/mobile-app/ios/VaultModels/ItemTypeIcons.swift b/apps/mobile-app/ios/VaultModels/ItemTypeIcons.swift
index 5b6bd6c3e..1c90720b5 100644
--- a/apps/mobile-app/ios/VaultModels/ItemTypeIcons.swift
+++ b/apps/mobile-app/ios/VaultModels/ItemTypeIcons.swift
@@ -11,8 +11,8 @@ public struct ItemTypeIcons {
/// Placeholder icon SVG.
public static let placeholder = """
<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
- <circle cx="10" cy="10" r="6.5" stroke="#f49541" stroke-width="2.5"/>
- <circle cx="10" cy="10" r="2.5" stroke="#f49541" stroke-width="2"/>
+ <circle cx="10" cy="10" r="6.5" fill="none" stroke="#f49541" stroke-width="2.5"/>
+ <circle cx="10" cy="10" r="2.5" fill="none" stroke="#f49541" stroke-width="2"/>
<path d="M15 15L27 27" stroke="#f49541" stroke-width="2.5" stroke-linecap="round"/>
<path d="M19 19L23 15" stroke="#f49541" stroke-width="2.5" stroke-linecap="round"/>
<path d="M24 24L28 20" stroke="#f49541" stroke-width="2.5" stroke-linecap="round"/>
diff --git a/apps/server/Databases/AliasClientDb/Models/ItemTypeIcons.cs b/apps/server/Databases/AliasClientDb/Models/ItemTypeIcons.cs
index b8bc09d42..f6219ea61 100644
--- a/apps/server/Databases/AliasClientDb/Models/ItemTypeIcons.cs
+++ b/apps/server/Databases/AliasClientDb/Models/ItemTypeIcons.cs
@@ -11,7 +11,7 @@ namespace AliasClientDb.Models;
public static class ItemTypeIcons
{
/// <summary>Placeholder icon SVG.</summary>
- public const string Placeholder = "<svg viewBox=\"0 0 32 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"10\" cy=\"10\" r=\"6.5\" stroke=\"#f49541\" stroke-width=\"2.5\"/>\n <circle cx=\"10\" cy=\"10\" r=\"2.5\" stroke=\"#f49541\" stroke-width=\"2\"/>\n <path d=\"M15 15L27 27\" stroke=\"#f49541\" stroke-width=\"2.5\" stroke-linecap=\"round\"/>\n <path d=\"M19 19L23 15\" stroke=\"#f49541\" stroke-width=\"2.5\" stroke-linecap=\"round\"/>\n <path d=\"M24 24L28 20\" stroke=\"#f49541\" stroke-width=\"2.5\" stroke-linecap=\"round\"/>\n</svg>";
+ public const string Placeholder = "<svg viewBox=\"0 0 32 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"10\" cy=\"10\" r=\"6.5\" fill=\"none\" stroke=\"#f49541\" stroke-width=\"2.5\"/>\n <circle cx=\"10\" cy=\"10\" r=\"2.5\" fill=\"none\" stroke=\"#f49541\" stroke-width=\"2\"/>\n <path d=\"M15 15L27 27\" stroke=\"#f49541\" stroke-width=\"2.5\" stroke-linecap=\"round\"/>\n <path d=\"M19 19L23 15\" stroke=\"#f49541\" stroke-width=\"2.5\" stroke-linecap=\"round\"/>\n <path d=\"M24 24L28 20\" stroke=\"#f49541\" stroke-width=\"2.5\" stroke-linecap=\"round\"/>\n</svg>";
/// <summary>Note icon SVG.</summary>
public const string Note = "<svg viewBox=\"0 0 32 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M8 4C6.9 4 6 4.9 6 6V26C6 27.1 6.9 28 8 28H24C25.1 28 26 27.1 26 26V11L19 4H8Z\" fill=\"#f49541\"/>\n <path d=\"M19 4V11H26L19 4Z\" fill=\"#d68338\"/>\n <rect x=\"10\" y=\"14\" width=\"12\" height=\"1.5\" rx=\"0.75\" fill=\"#ffe096\"/>\n <rect x=\"10\" y=\"18\" width=\"10\" height=\"1.5\" rx=\"0.75\" fill=\"#ffe096\"/>\n <rect x=\"10\" y=\"22\" width=\"8\" height=\"1.5\" rx=\"0.75\" fill=\"#ffe096\"/>\n</svg>";
diff --git a/core/models/src/icons/ItemTypeIcons.ts b/core/models/src/icons/ItemTypeIcons.ts
index 0d7f0a27c..7392bbfbe 100644
--- a/core/models/src/icons/ItemTypeIcons.ts
+++ b/core/models/src/icons/ItemTypeIcons.ts
@@ -25,8 +25,8 @@ export const ItemTypeIconSvgs = {
* Traditional key design with outline style.
*/
Placeholder: `<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
- <circle cx="10" cy="10" r="6.5" stroke="#f49541" stroke-width="2.5"/>
- <circle cx="10" cy="10" r="2.5" stroke="#f49541" stroke-width="2"/>
+ <circle cx="10" cy="10" r="6.5" fill="none" stroke="#f49541" stroke-width="2.5"/>
+ <circle cx="10" cy="10" r="2.5" fill="none" stroke="#f49541" stroke-width="2"/>
<path d="M15 15L27 27" stroke="#f49541" stroke-width="2.5" stroke-linecap="round"/>
<path d="M19 19L23 15" stroke="#f49541" stroke-width="2.5" stroke-linecap="round"/>
<path d="M24 24L28 20" stroke="#f49541" stroke-width="2.5" stroke-linecap="round"/>