Browse Source

Open Source licenses: add color for links.

pull/3215/head
Benoit Marty 2 months ago
parent
commit
4dfd75c3d9
  1. 4
      app/src/gplay/res/values-night/themes.xml
  2. 4
      app/src/gplay/res/values/themes.xml

4
app/src/gplay/res/values-night/themes.xml

@ -23,6 +23,8 @@ @@ -23,6 +23,8 @@
<color name="textPrimary">#FFEBEEF2</color>
<!-- DarkColorTokens.colorGray900 -->
<color name="textSecondary">#ff808994</color>
<!-- DarkColorTokens.colorBlue900 -->
<color name="textLinkExternal">#FF4187EB</color>
<style name="Base.Theme.OssLicenses" parent="Theme.MaterialComponents">
<!-- Background of title bar -->
@ -31,6 +33,8 @@ @@ -31,6 +33,8 @@
<item name="android:colorBackground">@color/colorThemeBg</item>
<!-- Text of the licenses -->
<item name="android:textColor">@color/textSecondary</item>
<!-- Link text color -->
<item name="android:textColorLink">@color/textLinkExternal</item>
<!-- Title, back button and license item text color -->
<item name="android:textColorPrimary">@color/textPrimary</item>
<!-- Background of status bar -->

4
app/src/gplay/res/values/themes.xml

@ -23,6 +23,8 @@ @@ -23,6 +23,8 @@
<color name="textPrimary">#FF1B1D22</color>
<!-- LightColorTokens.colorGray900 -->
<color name="textSecondary">#FF656D77</color>
<!-- LightColorTokens.colorBlue900 -->
<color name="textLinkExternal">#FF0467DD</color>
<style name="Base.Theme.OssLicenses.Light" parent="Theme.MaterialComponents.Light">
<!-- Background of title bar -->
@ -31,6 +33,8 @@ @@ -31,6 +33,8 @@
<item name="android:colorBackground">@color/colorThemeBg</item>
<!-- Text of the licenses -->
<item name="android:textColor">@color/textSecondary</item>
<!-- Link text color -->
<item name="android:textColorLink">@color/textLinkExternal</item>
<!-- Title, back button and license item text color -->
<item name="android:textColorPrimary">@color/textPrimary</item>
<!-- Background of status bar -->

Loading…
Cancel
Save