mirror of https://github.com/mitchell/selfpass.git
Change client style to a dark brightness
This commit is contained in:
parent
633945b1d1
commit
6315d5a9bc
|
@ -19,4 +19,4 @@ SPEC CHECKSUMS:
|
|||
|
||||
PODFILE CHECKSUM: aff02bfeed411c636180d6812254b2daeea14d09
|
||||
|
||||
COCOAPODS: 1.7.2
|
||||
COCOAPODS: 1.7.5
|
||||
|
|
|
@ -23,6 +23,18 @@ class Selfpass extends StatelessWidget {
|
|||
builder: (BuildContext context) => EncryptedSharedPreferences(),
|
||||
child: CupertinoApp(
|
||||
title: 'Selfpass',
|
||||
theme: CupertinoThemeData(
|
||||
textTheme: CupertinoTextThemeData(
|
||||
brightness: Brightness.dark,
|
||||
textStyle: TextStyle(
|
||||
fontSize: 16,
|
||||
color: CupertinoColors.lightBackgroundGray,
|
||||
),
|
||||
),
|
||||
scaffoldBackgroundColor: CupertinoColors.darkBackgroundGray,
|
||||
brightness: Brightness.dark,
|
||||
primaryColor: CupertinoColors.activeBlue,
|
||||
primaryContrastingColor: CupertinoColors.darkBackgroundGray),
|
||||
onGenerateRoute: (RouteSettings settings) {
|
||||
String title;
|
||||
WidgetBuilder builder;
|
||||
|
|
|
@ -19,10 +19,12 @@ class TappableTextList extends StatelessWidget {
|
|||
widgets.add(GestureDetector(
|
||||
onTap: handleOnTap,
|
||||
child: Container(
|
||||
padding: const EdgeInsets.symmetric(vertical: 15.0),
|
||||
padding: const EdgeInsets.symmetric(vertical: 12.5),
|
||||
decoration: const BoxDecoration(
|
||||
border: Border(
|
||||
bottom: BorderSide(color: CupertinoColors.lightBackgroundGray),
|
||||
bottom: BorderSide(
|
||||
color: Color(0xFF1e1d1e),
|
||||
),
|
||||
),
|
||||
),
|
||||
child: Text(text, textAlign: TextAlign.center),
|
||||
|
|
|
@ -34,8 +34,9 @@ class TextField extends StatelessWidget {
|
|||
return Container(
|
||||
padding: const EdgeInsets.symmetric(vertical: 5.0),
|
||||
child: CupertinoTextField(
|
||||
style: TextStyle(color: CupertinoColors.darkBackgroundGray),
|
||||
decoration: BoxDecoration(
|
||||
border: Border.all(color: CupertinoColors.black),
|
||||
color: CupertinoColors.lightBackgroundGray,
|
||||
borderRadius: const BorderRadius.all(Radius.circular(5.0)),
|
||||
),
|
||||
clearButtonMode: clearButtonMode,
|
||||
|
|
Loading…
Reference in New Issue