Skip to content

Commit ff75673

Browse files
chore:remove the hardcoded colors
1 parent ca6d1f2 commit ff75673

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/src/main/res/drawable/minikeyboard_background.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
33
<item android:id="@+id/button_background_shape">
44
<shape android:shape="rectangle">
5-
<solid android:color="#3F3F46" />
5+
<solid android:color="@color/mini_keyboard_color" />
66
<corners android:radius="@dimen/small_margin" />
77
</shape>
88
</item>
@@ -12,7 +12,7 @@
1212
<stroke
1313
android:width="1dp"
1414
android:color="@color/divider_grey" />
15-
<solid android:color="#3F3F46" />
15+
<solid android:color="@color/mini_keyboard_color" />
1616
<corners android:radius="@dimen/small_margin" />
1717
</shape>
1818
</item>

app/src/main/res/values/colors.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<color name="special_key_light">#aeb3be</color>
2020
<color name="special_key_dark">#202020</color>
2121
<color name="command_bar_color_dark">#2E2E2E</color>
22+
<color name="mini_keyboard_color">#3F3F46</color>
2223

2324
<color name="nav_bar_selected_color_light">@color/dark_scribe_color</color>
2425
<color name="nav_bar_selected_color_dark">@color/light_scribe_color</color>

0 commit comments

Comments
 (0)