Skip to content

Commit

Permalink
Use GrapheneOS colors for surfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
t895 authored and thestinger committed Apr 19, 2024
1 parent 8a8d3c6 commit a29618f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/src/main/res/layout/activity_attestation.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
xmlns:tools="http:https://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/colorSurface"
tools:context="app.attestation.auditor.AttestationActivity">

<com.google.android.material.appbar.AppBarLayout
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/values-night/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
<color name="red">#80B71C1C</color> <!-- Red 900 -->

<color name="graphenePrimaryColor">#FCFCFC</color>
<color name="grapheneOnPrimaryColor">#474747</color>
<color name="grapheneOnPrimaryColor">#2C2C2C</color>
<color name="grapheneSurfaceColor">#121212</color>
</resources>
1 change: 1 addition & 0 deletions app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@

<color name="graphenePrimaryColor">#252525</color>
<color name="grapheneOnPrimaryColor">#E6E6E6</color>
<color name="grapheneSurfaceColor">#f8f8f8</color>
</resources>
1 change: 1 addition & 0 deletions app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@

<item name="colorPrimary">@color/graphenePrimaryColor</item>
<item name="colorOnPrimary">@color/grapheneOnPrimaryColor</item>
<item name="colorSurface">@color/grapheneSurfaceColor</item>
</style>
</resources>

0 comments on commit a29618f

Please sign in to comment.