btcpayserver/BTCPayServer/Extensions
d11n 540fb6c9f6
UI: Improve brand color adjustment (#6351)
Uses a more finegrained method of deciding whether or not to adjust the brand color: Instead of simply using the brightness of the color, we calculate the contrast ratio and adjust the color by increasing the contrast until it is sufficient.

The thresholds also try to preserve the brand color in its original form, so that the color only gets adjusted if the contrast is very low.
2024-11-08 09:01:28 +01:00
..
ActionLogicExtensions.cs Admins can approve registered users (#5647) 2024-01-31 14:45:54 +09:00
AuthorizationExtensions.cs Fix: Do not expose xpub without modify store permission (#6212) 2024-09-27 15:27:04 +09:00
ColorExtensions.cs UI: Improve brand color adjustment (#6351) 2024-11-08 09:01:28 +01:00
ControllerBaseExtensions.cs Add list count to user preferences cookie (#4637) 2023-02-15 11:04:17 +09:00
EmailSenderExtensions.cs Onboarding: Invite new users on store level (#5719) 2024-03-19 14:58:33 +01:00
EnumExtensions.cs Run dotnet format (#3244) 2021-12-31 16:59:02 +09:00
ModelStateExtensions.cs Improve email settings validation and UX (#3891) 2022-06-23 13:41:52 +09:00
MoneyExtensions.cs Fix elements payments 2024-10-16 22:34:17 +09:00
PSBTExtensions.cs GreenField API: Wallet API (#2246) 2021-03-11 21:34:52 +09:00
SettingsRepositoryExtensions.cs Small improvements to make development of plugins easier (#6270) 2024-10-03 15:16:21 +09:00
SSHClientExtensions.cs Use ArgumentNullException.ThrowIfNull everywhere (#3239) 2021-12-28 17:39:54 +09:00
StoreExtensions.cs Decouple PaymentMethodId from PayoutMethodId (#5944) 2024-05-01 10:22:07 +09:00
StringExtensions.cs Run dotnet format (#3244) 2021-12-31 16:59:02 +09:00
UrlHelperExtensions.cs POS: Option for user sign in via the QR code (#6231) 2024-09-26 19:10:14 +09:00
UserExtensions.cs Start using JSONB column instead of app side compressed data (#4574) 2023-02-21 15:06:34 +09:00
UserPrefsCookie.cs Add list count to user preferences cookie (#4637) 2023-02-15 11:04:17 +09:00
WebHostExtensions.cs Plugins: Allow creation of independent DbContexts 2020-11-18 12:27:26 +01:00