Skip to content

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

Update ItemTypeIcons color (#1465)

Leendert de Borst42e1d2dd8076
diff --git a/apps/browser-extension/src/utils/dist/core/models/icons/index.d.ts b/apps/browser-extension/src/utils/dist/core/models/icons/index.d.ts
index ce141ca8a..de657a92b 100644
--- a/apps/browser-extension/src/utils/dist/core/models/icons/index.d.ts
+++ b/apps/browser-extension/src/utils/dist/core/models/icons/index.d.ts
@@ -23,7 +23,7 @@ declare const ItemTypeIconSvgs: {
* Placeholder key icon for Login/Alias items without a logo.
* Traditional key design with outline style.
*/
- readonly 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=\"#ff0000\" 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>";
+ readonly 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>";
/**
* Note/document icon with folded corner.
* Used for Note item type.
diff --git a/apps/browser-extension/src/utils/dist/core/models/icons/index.js b/apps/browser-extension/src/utils/dist/core/models/icons/index.js
index 5d1390408..d554d12f7 100644
--- a/apps/browser-extension/src/utils/dist/core/models/icons/index.js
+++ b/apps/browser-extension/src/utils/dist/core/models/icons/index.js
@@ -10,7 +10,7 @@ var ItemTypeIconSvgs = {
*/
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="#ff0000" stroke-width="2"/>
+ <circle cx="10" cy="10" r="2.5" 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/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 ca55311c8..19e25f17a 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
@@ -16,7 +16,7 @@ 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="#ff0000" stroke-width="2"/>
+ <circle cx="10" cy="10" r="2.5" 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 330af6e90..d3e9bae41 100644
--- a/apps/mobile-app/components/items/ItemTypeIconComponents.tsx
+++ b/apps/mobile-app/components/items/ItemTypeIconComponents.tsx
@@ -8,7 +8,7 @@ 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="#ff0000" strokeWidth="2" />
+ <Circle cx="10" cy="10" r="2.5" 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 063980144..5b6bd6c3e 100644
--- a/apps/mobile-app/ios/VaultModels/ItemTypeIcons.swift
+++ b/apps/mobile-app/ios/VaultModels/ItemTypeIcons.swift
@@ -12,7 +12,7 @@ public struct ItemTypeIcons {
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="#ff0000" stroke-width="2"/>
+ <circle cx="10" cy="10" r="2.5" 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/utils/dist/core/models/icons/index.d.ts b/apps/mobile-app/utils/dist/core/models/icons/index.d.ts
index ce141ca8a..de657a92b 100644
--- a/apps/mobile-app/utils/dist/core/models/icons/index.d.ts
+++ b/apps/mobile-app/utils/dist/core/models/icons/index.d.ts
@@ -23,7 +23,7 @@ declare const ItemTypeIconSvgs: {
* Placeholder key icon for Login/Alias items without a logo.
* Traditional key design with outline style.
*/
- readonly 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=\"#ff0000\" 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>";
+ readonly 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>";
/**
* Note/document icon with folded corner.
* Used for Note item type.
diff --git a/apps/mobile-app/utils/dist/core/models/icons/index.js b/apps/mobile-app/utils/dist/core/models/icons/index.js
index 5d1390408..d554d12f7 100644
--- a/apps/mobile-app/utils/dist/core/models/icons/index.js
+++ b/apps/mobile-app/utils/dist/core/models/icons/index.js
@@ -10,7 +10,7 @@ var ItemTypeIconSvgs = {
*/
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="#ff0000" stroke-width="2"/>
+ <circle cx="10" cy="10" r="2.5" 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 a563644b2..b8bc09d42 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=\"#ff0000\" 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\" 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>";
/// <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 a6785b769..0d7f0a27c 100644
--- a/core/models/src/icons/ItemTypeIcons.ts
+++ b/core/models/src/icons/ItemTypeIcons.ts
@@ -26,7 +26,7 @@ export const ItemTypeIconSvgs = {
*/
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="#ff0000" stroke-width="2"/>
+ <circle cx="10" cy="10" r="2.5" 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"/>