diff --git a/qController.Standard/Classes/Cell/QInstanceCell.cs b/qController.Standard/Classes/Cell/QInstanceCell.cs index cb12400..04fe6e0 100644 --- a/qController.Standard/Classes/Cell/QInstanceCell.cs +++ b/qController.Standard/Classes/Cell/QInstanceCell.cs @@ -63,9 +63,9 @@ namespace qController.Cell HorizontalOptions = LayoutOptions.FillAndExpand, Padding = 0, Margin = new Thickness(10,10,10,10), - CornerRadius=20, - BackgroundColor = Color.FromHex("D8D8D8") + CornerRadius=20 }; + f.SetDynamicResource(Frame.BackgroundColorProperty, "WorkspaceCellBackgroundColor"); View = f; @@ -77,11 +77,13 @@ namespace qController.Cell nameLabel.FontAttributes = FontAttributes.Bold; nameLabel.FontSize = App.HeightUnit * 3; nameLabel.Margin = new Thickness(0, 20, 0, 0); + nameLabel.SetDynamicResource(Label.TextColorProperty, "PrimaryTextColor"); addressLabel.HorizontalTextAlignment = TextAlignment.Center; addressLabel.VerticalTextAlignment = TextAlignment.Start; addressLabel.FontSize = App.HeightUnit * 2.5; addressLabel.Margin = new Thickness(0, 0, 0, 20); + addressLabel.SetDynamicResource(Label.TextColorProperty, "PrimaryTextColor"); connectLabel.HorizontalOptions = LayoutOptions.StartAndExpand; connectLabel.VerticalOptions = LayoutOptions.CenterAndExpand; diff --git a/qController.Standard/Classes/UI/QCueGrid.cs b/qController.Standard/Classes/UI/QCueGrid.cs index 999b0f4..2c9b054 100644 --- a/qController.Standard/Classes/UI/QCueGrid.cs +++ b/qController.Standard/Classes/UI/QCueGrid.cs @@ -33,6 +33,7 @@ namespace qController.UI Padding = new Thickness(10,0,0,0) }; cueLabel.SetBinding(Label.TextProperty, "name", BindingMode.OneWay); + cueLabel.SetDynamicResource(Label.TextColorProperty, "PrimaryTextColor"); //Section for selecting a cue by tapping the name Label var selectCueGesture = new TapGestureRecognizer(); diff --git a/qController.Standard/Classes/UI/QSelectedCueFrame.cs b/qController.Standard/Classes/UI/QSelectedCueFrame.cs index 1685d6a..51b3a54 100644 --- a/qController.Standard/Classes/UI/QSelectedCueFrame.cs +++ b/qController.Standard/Classes/UI/QSelectedCueFrame.cs @@ -10,17 +10,18 @@ namespace qController.UI { //Colored border size Padding = 8; - + HeightRequest = 175; CornerRadius = 0; this.SetBinding(Frame.BackgroundColorProperty, "color", BindingMode.OneWay); this.SetBinding(Frame.BorderColorProperty, "color", BindingMode.OneWay); Frame frameInt = new Frame { - Padding = 0, - BackgroundColor = Color.FromHex("#D8D8D8") + Padding = 0 }; + frameInt.SetDynamicResource(Frame.BackgroundColorProperty, "SelectedCueCellBackgroundColor"); + Grid selectedCueGrid = new Grid { @@ -54,6 +55,7 @@ namespace qController.UI Padding = new Thickness(15,5,0,0), FontSize = App.HeightUnit * 3 }; + number.SetDynamicResource(Label.TextColorProperty, "PrimaryTextColor"); number.SetBinding(Label.TextProperty, "number", BindingMode.OneWay); selectedCueGrid.Children.Add(number,0,0); Grid.SetColumnSpan(number, 2); @@ -69,6 +71,7 @@ namespace qController.UI FontSize = App.HeightUnit * 4, FontFamily = App.QFont }; + type.SetDynamicResource(Label.TextColorProperty, "PrimaryTextColor"); type.SetBinding(Label.TextProperty, "type", BindingMode.OneWay); selectedCueGrid.Children.Add(type, 4, 0); @@ -82,6 +85,7 @@ namespace qController.UI BackgroundColor = Color.Transparent, FontSize = Device.GetNamedSize(NamedSize.Large, typeof(Label)) }; + name.SetDynamicResource(Label.TextColorProperty, "PrimaryTextColor"); name.SetBinding(Label.TextProperty, "name", BindingMode.TwoWay); selectedCueGrid.Children.Add(name, 0, 1); Grid.SetColumnSpan(name, 5); @@ -94,6 +98,7 @@ namespace qController.UI BackgroundColor = Color.Transparent, FontSize = Device.GetNamedSize(NamedSize.Medium, typeof(Editor)) }; + notes.SetDynamicResource(Label.TextColorProperty, "PrimaryTextColor"); notes.SetBinding(Editor.TextProperty, "notes", BindingMode.TwoWay); selectedCueGrid.Children.Add(notes, 0, 2); diff --git a/qController.Standard/qController.csproj b/qController.Standard/qController.csproj index cbfc2f2..a1b3112 100644 --- a/qController.Standard/qController.csproj +++ b/qController.Standard/qController.csproj @@ -57,9 +57,9 @@ - + - +