diff --git a/catalyst_voices/lib/pages/coming_soon/logo.dart b/catalyst_voices/lib/pages/coming_soon/logo.dart
index d3854da508..c5a54104c0 100644
--- a/catalyst_voices/lib/pages/coming_soon/logo.dart
+++ b/catalyst_voices/lib/pages/coming_soon/logo.dart
@@ -12,8 +12,9 @@ class ComingSoonLogo extends StatelessWidget {
return Row(
crossAxisAlignment: CrossAxisAlignment.end,
children: [
- CatalystImage.asset(
- VoicesAssets.images.logo.path,
+ CatalystSvgPicture.asset(
+ VoicesAssets.images.catalystLogo.path,
+ width: 202,
),
Container(
margin: const EdgeInsets.only(left: 13, bottom: 6),
diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/catalyst_logo.svg b/catalyst_voices/packages/catalyst_voices_assets/assets/images/catalyst_logo.svg
new file mode 100644
index 0000000000..a45832d93d
--- /dev/null
+++ b/catalyst_voices/packages/catalyst_voices_assets/assets/images/catalyst_logo.svg
@@ -0,0 +1,75 @@
+
diff --git a/catalyst_voices/packages/catalyst_voices_assets/assets/images/logo.webp b/catalyst_voices/packages/catalyst_voices_assets/assets/images/logo.webp
deleted file mode 100644
index e0e9688c74..0000000000
Binary files a/catalyst_voices/packages/catalyst_voices_assets/assets/images/logo.webp and /dev/null differ
diff --git a/catalyst_voices/packages/catalyst_voices_assets/lib/generated/assets.gen.dart b/catalyst_voices/packages/catalyst_voices_assets/lib/generated/assets.gen.dart
index 467a659fa9..e2079b0e71 100644
--- a/catalyst_voices/packages/catalyst_voices_assets/lib/generated/assets.gen.dart
+++ b/catalyst_voices/packages/catalyst_voices_assets/lib/generated/assets.gen.dart
@@ -8,10 +8,16 @@
// ignore_for_file: directives_ordering,unnecessary_import,implicit_dynamic_list_literal,deprecated_member_use
import 'package:flutter/widgets.dart';
+import 'package:flutter_svg/flutter_svg.dart';
+import 'package:flutter/services.dart';
class $AssetsImagesGen {
const $AssetsImagesGen();
+ /// File path: assets/images/catalyst_logo.svg
+ SvgGenImage get catalystLogo =>
+ const SvgGenImage('assets/images/catalyst_logo.svg');
+
/// File path: assets/images/coming_soon_bkg.webp
AssetGenImage get comingSoonBkg =>
const AssetGenImage('assets/images/coming_soon_bkg.webp');
@@ -20,11 +26,9 @@ class $AssetsImagesGen {
AssetGenImage get dummyCatalystVoices =>
const AssetGenImage('assets/images/dummy_catalyst_voices.webp');
- /// File path: assets/images/logo.webp
- AssetGenImage get logo => const AssetGenImage('assets/images/logo.webp');
-
/// List of all assets
- List get values => [comingSoonBkg, dummyCatalystVoices, logo];
+ List get values =>
+ [catalystLogo, comingSoonBkg, dummyCatalystVoices];
}
class VoicesAssets {
@@ -106,3 +110,56 @@ class AssetGenImage {
String get keyName => _assetName;
}
+
+class SvgGenImage {
+ const SvgGenImage(this._assetName);
+
+ final String _assetName;
+
+ SvgPicture svg({
+ Key? key,
+ bool matchTextDirection = false,
+ AssetBundle? bundle,
+ String? package,
+ double? width,
+ double? height,
+ BoxFit fit = BoxFit.contain,
+ AlignmentGeometry alignment = Alignment.center,
+ bool allowDrawingOutsideViewBox = false,
+ WidgetBuilder? placeholderBuilder,
+ String? semanticsLabel,
+ bool excludeFromSemantics = false,
+ SvgTheme theme = const SvgTheme(),
+ ColorFilter? colorFilter,
+ Clip clipBehavior = Clip.hardEdge,
+ @deprecated Color? color,
+ @deprecated BlendMode colorBlendMode = BlendMode.srcIn,
+ @deprecated bool cacheColorFilter = false,
+ }) {
+ return SvgPicture.asset(
+ _assetName,
+ key: key,
+ matchTextDirection: matchTextDirection,
+ bundle: bundle,
+ package: package,
+ width: width,
+ height: height,
+ fit: fit,
+ alignment: alignment,
+ allowDrawingOutsideViewBox: allowDrawingOutsideViewBox,
+ placeholderBuilder: placeholderBuilder,
+ semanticsLabel: semanticsLabel,
+ excludeFromSemantics: excludeFromSemantics,
+ theme: theme,
+ colorFilter: colorFilter,
+ color: color,
+ colorBlendMode: colorBlendMode,
+ clipBehavior: clipBehavior,
+ cacheColorFilter: cacheColorFilter,
+ );
+ }
+
+ String get path => _assetName;
+
+ String get keyName => _assetName;
+}