From 18c1601b695455fce126372cf311169e4e8052ee Mon Sep 17 00:00:00 2001 From: Dennis Reimann Date: Mon, 28 Aug 2023 14:44:47 +0200 Subject: [PATCH] Add custom icons --- BTCPayApp.UI/BTCPayIcons.cs | 85 +++++++++++++++++++ .../Shared/Configuration/Settings.razor | 12 +-- BTCPayApp.UI/Shared/MainLayout.razor | 8 +- BTCPayApp.UI/Shared/Onboarding.razor | 6 +- 4 files changed, 95 insertions(+), 16 deletions(-) create mode 100644 BTCPayApp.UI/BTCPayIcons.cs diff --git a/BTCPayApp.UI/BTCPayIcons.cs b/BTCPayApp.UI/BTCPayIcons.cs new file mode 100644 index 0000000..ab80225 --- /dev/null +++ b/BTCPayApp.UI/BTCPayIcons.cs @@ -0,0 +1,85 @@ +namespace BTCPayApp.UI; + +public static class BTCPayIcons +{ + public const string Account = """"""; + public const string Api = """"""; + public const string Back = """"""; + public const string CaretDown = """"""; + public const string CaretRight = """"""; + public const string Checkmark = """"""; + public const string Close = """"""; + public const string Copy = """"""; + public const string Crowdfund = """"""; + public const string Docs = """"""; + public const string Donate = """"""; + public const string Done = """"""; + public const string Drag = """"""; + public const string ExistingWallet = """"""; + public const string FormsCheckbox = """"""; + public const string FormsDate = """"""; + public const string FormsNumber = """"""; + public const string FormsSelect = """"""; + public const string FormsText = """"""; + public const string HardwareWallet = """"""; + public const string Home = """"""; + public const string HotWallet = """"""; + public const string Info = """"""; + public const string InvoiceExpired = """"""; + public const string Invoice = """"""; + public const string Key = """"""; + public const string LogoBtcpay = """"""; + public const string LogoLightningterminal = """"""; + public const string LogoRtl = """"""; + public const string LogoShopify = """"""; + public const string LogoThunderhub = """"""; + public const string LogoTor = """"""; + public const string ManagePlugins = """"""; + public const string Menu = """"""; + public const string Minus = """"""; + public const string NewStore = """"""; + public const string NewWallet = """"""; + public const string New = """"""; + public const string Note = """"""; + public const string Notifications = """"""; + public const string NotificationsInvoiceFailure = """"""; + public const string NotificationsInvoiceSettled = """"""; + public const string NotificationsNewVersion = """"""; + public const string NotificationsPayoutApproved = """"""; + public const string NotificationsPayout = """"""; + public const string Onion = """"""; + public const string PayButton = """"""; + public const string PaymentComplete = """"""; + public const string PaymentRequests = """"""; + public const string PaymentSent = """"""; + public const string Payouts = """"""; + public const string Plugin = """"""; + public const string Plus = """"""; + public const string Pointofsale = """"""; + public const string PosCart = """"""; + public const string PosLight = """"""; + public const string PosPrint = """"""; + public const string PosStatic = """"""; + public const string PullPayments = """"""; + public const string Remove = """"""; + public const string ScanQr = """"""; + public const string Seed = """"""; + public const string ServerSettings = """"""; + public const string Settings = """"""; + public const string SocialGithub = """"""; + public const string SocialMattermost = """"""; + public const string SocialNostr = """"""; + public const string SocialTelegram = """"""; + public const string SocialTwitter = """"""; + public const string Spark = """"""; + public const string Store = """"""; + public const string ThemesDark = """"""; + public const string ThemesLight = """"""; + public const string Trash = """"""; + public const string WalletFile = """"""; + public const string WalletLightning = """"""; + public const string WalletOnchain = """"""; + public const string Warning = """"""; + public const string WatchonlyWallet = """"""; + public const string Xpub = """"""; +} diff --git a/BTCPayApp.UI/Shared/Configuration/Settings.razor b/BTCPayApp.UI/Shared/Configuration/Settings.razor index 054a57c..7d6b5d3 100644 --- a/BTCPayApp.UI/Shared/Configuration/Settings.razor +++ b/BTCPayApp.UI/Shared/Configuration/Settings.razor @@ -3,15 +3,9 @@ - - System - - - Light - - - Dark - + System + Light + Dark diff --git a/BTCPayApp.UI/Shared/MainLayout.razor b/BTCPayApp.UI/Shared/MainLayout.razor index f5bd97a..cca2bc1 100644 --- a/BTCPayApp.UI/Shared/MainLayout.razor +++ b/BTCPayApp.UI/Shared/MainLayout.razor @@ -16,14 +16,14 @@ - + BTCPay Server - Dashboard - Settings + Dashboard + Settings @@ -79,4 +79,4 @@ var systemTheme = isDarkMode ? Constants.DarkTheme : Constants.LightTheme; Dispatcher.Dispatch(new UIState.ApplySystemPreference(systemTheme)); } -} \ No newline at end of file +} diff --git a/BTCPayApp.UI/Shared/Onboarding.razor b/BTCPayApp.UI/Shared/Onboarding.razor index 06ba60c..4018e0a 100644 --- a/BTCPayApp.UI/Shared/Onboarding.razor +++ b/BTCPayApp.UI/Shared/Onboarding.razor @@ -4,7 +4,7 @@ - + Welcome To BTCPay Server No fees, no third-party. @@ -15,7 +15,7 @@ - + Keep your wallet and bitcoin secure Cloud backups, enhanced accounting functionality and ability to easily refund your customers @@ -25,7 +25,7 @@ - + Start Accepting Bitcoin Payments Free and open-source bitcoin point of sale. With 0% Fees & No Third-party.