Skip to content

Commit

Permalink
Some small updates - flyout text color being one
Browse files Browse the repository at this point in the history
  • Loading branch information
Programming-With-Chris committed Aug 26, 2022
1 parent 2d110ac commit f3c6fc6
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -366,3 +366,4 @@ MigrationBackup/
FodyWeavers.xsd
/Resources/Raw/krogerapiconfig.json
/ShoppingList/Resources/Raw/krogerapiconfig.json
/ShoppingList/Resources/Raw/krogerapiconfig-test.json
1 change: 1 addition & 0 deletions ShoppingList/AppShell.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
Shell.FlyoutBehavior="Flyout"
FlyoutBackgroundColor="{DynamicResource Secondary}"
Shell.TitleColor="{DynamicResource Accent}"
Shell.ForegroundColor="{DynamicResource Accent}"
>

<ShellContent
Expand Down
2 changes: 1 addition & 1 deletion ShoppingList/Controls/CircularButton.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public string Image
public static BindableProperty ButtonColorProperty = BindableProperty.Create(
nameof(ButtonColor), typeof(Color), typeof(CircularButton), propertyChanged: OnButtonColorChanged);

public BindableProperty ImageProperty = BindableProperty.Create(
public static BindableProperty ImageProperty = BindableProperty.Create(
nameof(Image), typeof(string), typeof(CircularButton), propertyChanged: OnImageChanged);

public static new BindableProperty IsVisibleProperty = BindableProperty.Create(
Expand Down
5 changes: 4 additions & 1 deletion ShoppingList/Resources/Styles/Styles.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
</Style>

<Style TargetType="CheckBox">
<Setter Property="Color" Value="{AppThemeBinding Light={DynamicResource Primary}, Dark={StaticResource White}}" />
<Setter Property="Color" Value="{AppThemeBinding Light={DynamicResource Accent}, Dark={DynamicResource Accent}}" />
<Setter Property="VisualStateManager.VisualStateGroups">
<VisualStateGroupList>
<VisualStateGroup x:Name="CommonStates">
Expand Down Expand Up @@ -169,6 +169,9 @@
<Setter Property="RefreshControlColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource Gray200}}" />
</Style>

<Style Class="FlyoutItemLabelStyle" TargetType="Label">
<Setter Property="TextColor" Value="{DynamicResource Accent}" />
</Style>

<Style TargetType="Picker">
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource White}}" />
Expand Down
2 changes: 1 addition & 1 deletion ShoppingList/View/UserListDetails.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
</SwipeView.RightItems>
<Frame Grid.ColumnSpan="3"
Padding="5"
Margin="10,0,0,10"
Margin="10,0,10,05"
x:Name="ItemFrame"
BackgroundColor="{DynamicResource Tertiary}"
BindingContext="{Binding .}">
Expand Down

0 comments on commit f3c6fc6

Please sign in to comment.