Created
June 7, 2019 11:08
-
-
Save joansanfeliu/10c778fd14cebce321f92a2271ddc541 to your computer and use it in GitHub Desktop.
Android text color
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<!-- Dark Text Color for Light Background --> | |
<color name="textDarkPrimary">#DE000000</color> <!--DE for %87 opacity--> | |
<color name="textDarkSecondary">#8A000000</color> <!--8A for %54 opacity--> | |
<color name="textDarkDisabled">#61000000</color> <!--61 for %38 opacity--> | |
<!-- White Text Color for Dark Background --> | |
<color name="textLightPrimary">#FFFFFF</color> <!--%100 opacity--> | |
<color name="textLightSecondary">#B2FFFFFF</color> <!--B2 for %70 opacity--> | |
<color name="textLightDisabled">#80FFFFFF</color> <!--80 for %50 opacity--> | |
</resources> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment