mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 01:43:50 +01:00
540fb6c9f6
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. |
||
---|---|---|
.. | ||
ActionLogicExtensions.cs | ||
AuthorizationExtensions.cs | ||
ColorExtensions.cs | ||
ControllerBaseExtensions.cs | ||
EmailSenderExtensions.cs | ||
EnumExtensions.cs | ||
ModelStateExtensions.cs | ||
MoneyExtensions.cs | ||
PSBTExtensions.cs | ||
SettingsRepositoryExtensions.cs | ||
SSHClientExtensions.cs | ||
StoreExtensions.cs | ||
StringExtensions.cs | ||
UrlHelperExtensions.cs | ||
UserExtensions.cs | ||
UserPrefsCookie.cs | ||
WebHostExtensions.cs |