Skip to content

Conversation

@NWuensche
Copy link
Contributor

Fix #552

Adjust color settings in this theme to use black/grey in the right situations for the app bar and the navigation bar. Also add a new color for the text of highlighted items in the navigation bar for this theme.

Use a real black instead of grey in the dark contrast theme for the
app bar. Also remove the black square in the navigation bar for the selected item
and instead use grey to highlight it.
This was done by changing the primary color of the theme and not
changing the background attribute in the theme to not always be black.
Because the space behind the items isn't black anymore, a grey was used
as the icon and text color of the selected navbar item.

Fixes wallabag#552
Only change the text color for this theme and not for the other ones.
<item name="android:background">#000000</item>
<item name="android:windowBackground">@color/darkContrastBlack</item>
<item name="android:textColor">#FFFFFF</item>
<item name="colorPrimary">#000000</item>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it make sense to use @color/darkContrastBlack instead of the hex code?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought it would be easier to change the colors afterwards when they are stored in a variable. However, I can change the hex codes to the color variables to make everything uniform.

@NWuensche
Copy link
Contributor Author

So is there a problem with the commit?

Copy link
Contributor

@Strubbl Strubbl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix. Works fine.

@Strubbl Strubbl merged commit 82c1c32 into wallabag:master Feb 12, 2019
@Strubbl Strubbl added this to the 2.1.1 milestone Feb 12, 2019
@Strubbl Strubbl modified the milestones: 2.1.1, 2.2.0 Mar 6, 2019
@ngosang ngosang mentioned this pull request Jun 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants