File tree Expand file tree Collapse file tree 4 files changed +8
-5
lines changed Expand file tree Collapse file tree 4 files changed +8
-5
lines changed Original file line number Diff line number Diff line change
1
+ ## [ 1.12.1]
2
+ * Fix SidebarItem's leading icons not respecting the theme's primary color
3
+
1
4
## [ 1.12.0]
2
5
✨ New widget: ` SliverToolBar `
3
6
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ packages:
97
97
path: ".."
98
98
relative: true
99
99
source: path
100
- version: "1.12.0 "
100
+ version: "1.12.1 "
101
101
matcher:
102
102
dependency: transitive
103
103
description:
Original file line number Diff line number Diff line change @@ -115,8 +115,8 @@ class SidebarItems extends StatelessWidget {
115
115
assert (debugCheckHasMacosTheme (context));
116
116
assert (currentIndex < _allItems.length);
117
117
final theme = MacosTheme .of (context);
118
- return IconTheme .merge (
119
- data: const IconThemeData (size: 20 ),
118
+ return MacosIconTheme .merge (
119
+ data: const MacosIconThemeData (size: 20 ),
120
120
child: _SidebarItemsConfiguration (
121
121
selectedColor: selectedColor ?? theme.primaryColor,
122
122
unselectedColor: unselectedColor ?? MacosColors .transparent,
@@ -288,7 +288,7 @@ class _SidebarItem extends StatelessWidget {
288
288
data: MacosIconThemeData (
289
289
color: selected
290
290
? MacosColors .white
291
- : MacosColors .controlAccentColor ,
291
+ : theme.primaryColor ,
292
292
size: itemSize.iconSize,
293
293
),
294
294
child: item.leading! ,
Original file line number Diff line number Diff line change 1
1
name : macos_ui
2
2
description : Flutter widgets and themes implementing the current macOS design language.
3
- version : 1.12.0
3
+ version : 1.12.1
4
4
homepage : " https://macosui.dev"
5
5
repository : " https://github.com/GroovinChip/macos_ui"
6
6
You can’t perform that action at this time.
0 commit comments