Skip to content

Commit

Permalink
fix/default dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
nank1ro committed Jun 17, 2024
1 parent 9bfeab7 commit 5e55a19
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.5.5

- Remove `inputDecoration` from form fields.
- Fix `ShadApp` default dark theme.

## 0.5.4

- Fix double padding on form fields.
Expand Down
1 change: 0 additions & 1 deletion lib/src/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,6 @@ class _ShadAppState extends State<ShadApp> {
late ShadThemeData result;
if (useDarkStyle) {
result = widget.darkTheme ??
widget.theme ??
ShadThemeData(
colorScheme: const ShadSlateColorScheme.dark(),
brightness: Brightness.dark,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: shadcn_ui
description: shadcn-ui ported in Flutter. Awesome UI components for Flutter, fully customizable.
version: 0.5.4
version: 0.5.5
homepage: https://mariuti.com/shadcn-ui
repository: https://github.com/nank1ro/flutter-shadcn-ui
documentation: https://mariuti.com/shadcn-ui
Expand Down

0 comments on commit 5e55a19

Please sign in to comment.