Skip to content

Commit

Permalink
1. Остальные цвета перенесены в темы.
Browse files Browse the repository at this point in the history
2. Обновлен серый текст в стилях - через темы, а не через цвета
  • Loading branch information
NikolayRyabcev committed Dec 2, 2023
1 parent b5e7efa commit 73003af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/res/values/style.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

<!--Элемент списка неактивный-->
<style name="list_places_inactive" parent="regular_16">
<item name="android:color">@color/gray</item>
<item name="android:color">?attr/colorOnTertiary</item>
</style>

<!--Заголовок вакансий-->
Expand Down
5 changes: 5 additions & 0 deletions app/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
<item name="colorOnPrimary">@color/black</item>
<!--White[Day]-->
<item name="colorOnSecondary">@color/white</item>
<item name="colorPrimary">@color/blue</item>
<item name="colorAccent">@color/red</item>
<item name="colorOnTertiary">@color/gray</item>
<item name="colorOnContainer">@color/light_gray</item>
<item name="colorOnBackground">@color/background</item>
</style>

<style name="Theme.PracticumAndroidDiploma" parent="Base.Theme.PracticumAndroidDiploma" />
Expand Down

1 comment on commit 73003af

@artwist-polyakov
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@NikolayRyabcev подскажи , ты проверил что цвета из темы корректно пробрасываются в проект и всё равботет?

Please sign in to comment.