π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
update buttons to use new colors
AmanRajSinghMouryaed00393976b7
diff --git a/mobile/apps/photos/lib/ui/components/models/button_type_v2.dart b/mobile/apps/photos/lib/ui/components/models/button_type_v2.dartindex 94f1a8afae..576e83b116 100644--- a/mobile/apps/photos/lib/ui/components/models/button_type_v2.dart+++ b/mobile/apps/photos/lib/ui/components/models/button_type_v2.dart@@ -71,17 +71,19 @@ ButtonTheme _neutralPalette(EnteColorScheme c) => ButtonTheme(foreground: c.contentReverse,disabledForeground: c.textFaint,disabledIconColor: c.strokeMuted,- checkmarkColor: c.primary500,+ checkmarkColor: c.greenBase,);ButtonTheme _tertiaryCriticalPalette(EnteColorScheme c) => ButtonTheme(defaultBg: Colors.transparent,- hoverBg: c.warning500.withValues(alpha: 0.08),- pressedBg: c.warning700.withValues(alpha: 0.1),+ hoverBg: Colors.transparent,+ pressedBg: Colors.transparent,disabledBg: Colors.transparent,- foreground: c.warning500,+ foreground: c.redBase,+ hoverForeground: c.redDark,+ pressedForeground: c.redDarker,disabledForeground: c.contentLighter,- defaultBorder: c.warning500,+ defaultBorder: c.redBase,disabledBorder: c.fillBaseGrey,disabledIconColor: c.contentLighter,);@@ -91,11 +93,11 @@ ButtonTheme _linkPalette(EnteColorScheme c) => ButtonTheme(hoverBg: Colors.transparent,pressedBg: Colors.transparent,disabledBg: Colors.transparent,- foreground: c.primary500,- hoverForeground: c.primary400,- pressedForeground: c.primary700,- disabledForeground: c.textFaint,- disabledIconColor: c.strokeMuted,+ foreground: c.greenBase,+ hoverForeground: c.greenDark,+ pressedForeground: c.greenDarker,+ disabledForeground: c.contentLighter,+ disabledIconColor: c.contentLighter,);class ButtonTheme {