Skip to content

Commit

Permalink
style: change some icons' tint to colorControlNormal
Browse files Browse the repository at this point in the history
To be consistent
  • Loading branch information
BrayanDSO committed Dec 14, 2023
1 parent b4db9f8 commit be57a9f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
9 changes: 5 additions & 4 deletions AnkiDroid/src/main/res/drawable/ic_card_answer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,25 @@
android:width="24dp"
android:height="24dp"
android:viewportWidth="6.35"
android:viewportHeight="6.35">
android:viewportHeight="6.35"
android:tint="?attr/colorControlNormal">
<path
android:pathData="M1.59,1.85V4.5c0,0.53 0.26,0.8 0.8,0.8h1.58c0.53,0 0.8,-0.27 0.8,-0.8V1.85c0,-0.53 -0.27,-0.8 -0.8,-0.8H2.38c-0.53,0 -0.8,0.27 -0.8,0.8z"
android:strokeLineJoin="miter"
android:strokeWidth=".529167"
android:fillColor="#00000000"
android:strokeColor="#000"
android:strokeColor="#fff"
android:strokeLineCap="round"/>
<path
android:pathData="M3.18,4.23m-0.35,0a0.35,0.35 0,1 1,0.7 0a0.35,0.35 0,1 1,-0.7 0"
android:strokeLineJoin="round"
android:strokeWidth=".79375"
android:fillColor="#000"/>
android:fillColor="#fff"/>
<path
android:pathData="m3.17,2.01 l0.01,0.93v0.45"
android:strokeLineJoin="round"
android:strokeWidth=".529167"
android:fillColor="#00000000"
android:strokeColor="#000"
android:strokeColor="#fff"
android:strokeLineCap="round"/>
</vector>
9 changes: 5 additions & 4 deletions AnkiDroid/src/main/res/drawable/ic_card_question.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,26 @@
android:width="24dp"
android:height="24dp"
android:viewportWidth="6.35"
android:viewportHeight="6.35">
android:viewportHeight="6.35"
android:tint="?attr/colorControlNormal">
<path
android:pathData="M1.59,1.85V4.5c0,0.53 0.26,0.8 0.8,0.8h1.58c0.53,0 0.8,-0.27 0.8,-0.8V1.85c0,-0.53 -0.27,-0.8 -0.8,-0.8H2.38c-0.53,0 -0.8,0.27 -0.8,0.8z"
android:strokeLineJoin="miter"
android:strokeWidth=".529167"
android:fillColor="#00000000"
android:strokeColor="#000"
android:strokeColor="#fff"
android:strokeLineCap="round"/>
<path
android:pathData="M3.19,4.33m-0.35,0a0.35,0.35 0,1 1,0.7 0a0.35,0.35 0,1 1,-0.7 0"
android:strokeLineJoin="round"
android:strokeWidth=".79375"
android:fillColor="#000"
android:fillColor="#fff"
android:fillAlpha="0.99"/>
<path
android:pathData="M2.5,2.6c0.04,-0.4 0.29,-0.65 0.67,-0.65 0.38,0 0.7,0.19 0.7,0.65s-0.57,0.53 -0.72,0.9"
android:strokeLineJoin="round"
android:strokeWidth=".529167"
android:fillColor="#00000000"
android:strokeColor="#000"
android:strokeColor="#fff"
android:strokeLineCap="round"/>
</vector>
4 changes: 2 additions & 2 deletions AnkiDroid/src/main/res/drawable/ic_mode_edit_white.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<vector android:height="24dp" android:tint="#FFFFFF"
<vector android:height="24dp" android:tint="?attr/colorControlNormal"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M3,17.25V21h3.75L17.81,9.94l-3.75,-3.75L3,17.25zM20.71,7.04c0.39,-0.39 0.39,-1.02 0,-1.41l-2.34,-2.34c-0.39,-0.39 -1.02,-0.39 -1.41,0l-1.83,1.83 3.75,3.75 1.83,-1.83z"/>
<path android:fillColor="@android:color/white" android:pathData="M3,17.25V21h3.75L17.81,9.94l-3.75,-3.75L3,17.25zM20.71,7.04c0.39,-0.39 0.39,-1.02 0,-1.41l-2.34,-2.34c-0.39,-0.39 -1.02,-0.39 -1.41,0l-1.83,1.83 3.75,3.75 1.83,-1.83z"/>
</vector>

0 comments on commit be57a9f

Please sign in to comment.