Skip to content

Commit

Permalink
Revert "Update input theme to darker jet from yaru colors (#285)" (#286)
Browse files Browse the repository at this point in the history
This reverts commit 14c21f8.
  • Loading branch information
Feichtmeier committed Feb 21, 2023
1 parent 14c21f8 commit c8c69f8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
handy_window: ^0.1.2
yaru:
path: ../
yaru_colors: ^0.1.5
yaru_colors: ^0.1.0

dev_dependencies:
flutter_lints: ^2.0.1
Expand Down
3 changes: 2 additions & 1 deletion lib/src/themes/common_themes.dart
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ InputDecorationTheme _createInputDecorationTheme(
final radius = BorderRadius.circular(kButtonRadius);
const width = 1.0;
final light = brightness == Brightness.light;
final fill = light ? const Color(0xFFededed) : const Color(0xFF1a1a1a);
final fill =
light ? const Color(0xFFededed) : const Color.fromARGB(255, 40, 40, 40);
final border = light ? kDividerColorLight : kDividerColorDark;
final disabledBorder = light
? const Color.fromARGB(255, 237, 237, 237)
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ dependencies:
sdk: flutter
gtk: ^2.0.0
platform: ^3.1.0
yaru_colors: ^0.1.5
yaru_colors: ^0.1.4

dev_dependencies:
build_runner: ^2.1.10
Expand Down

0 comments on commit c8c69f8

Please sign in to comment.