diff --git a/app/src/main/java/pl/szczodrzynski/edziennik/ui/home/cards/HomeTimetableCard.kt b/app/src/main/java/pl/szczodrzynski/edziennik/ui/home/cards/HomeTimetableCard.kt index ab297ef8..a7392be2 100644 --- a/app/src/main/java/pl/szczodrzynski/edziennik/ui/home/cards/HomeTimetableCard.kt +++ b/app/src/main/java/pl/szczodrzynski/edziennik/ui/home/cards/HomeTimetableCard.kt @@ -90,21 +90,21 @@ class HomeTimetableCard( b.settings.setImageDrawable( IconicsDrawable(activity, CommunityMaterial.Icon.cmd_cog_outline).apply { - colorAttr(activity, R.attr.colorIcon) + colorAttr(activity, R.attr.colorOnPrimaryContainer) sizeDp = 24 } ) b.bellSync.setImageDrawable( IconicsDrawable(activity, SzkolnyFont.Icon.szf_alarm_bell_outline).apply { - colorAttr(activity, R.attr.colorIcon) + colorAttr(activity, R.attr.colorOnPrimaryContainer) sizeDp = 24 } ) b.showCounter.setImageDrawable( IconicsDrawable(activity, CommunityMaterial.Icon2.cmd_fullscreen).apply { - colorAttr(activity, R.attr.colorIcon) + colorAttr(activity, R.attr.colorOnPrimaryContainer) sizeDp = 24 } ) diff --git a/app/src/main/res/layout/card_home.xml b/app/src/main/res/layout/card_home.xml index f013726b..123d591d 100644 --- a/app/src/main/res/layout/card_home.xml +++ b/app/src/main/res/layout/card_home.xml @@ -9,4 +9,6 @@ android:layout_marginHorizontal="16dp" android:layout_marginVertical="8dp" android:clickable="true" - android:focusable="true" /> + android:focusable="true" + android:background="?colorSurfaceVariant" + style="?attr/materialCardViewFilledStyle" /> diff --git a/app/src/main/res/layout/fragment_agenda_default.xml b/app/src/main/res/layout/fragment_agenda_default.xml index 8cddf0c7..6bb863a6 100644 --- a/app/src/main/res/layout/fragment_agenda_default.xml +++ b/app/src/main/res/layout/fragment_agenda_default.xml @@ -24,7 +24,7 @@ agendaCalendar:calendarHeaderColor="@color/colorSurface_6dp" agendaCalendar:calendarHeaderTextColor="?colorOnSurface" agendaCalendar:calendarPastDayTextColor="?android:textColorSecondary" - agendaCalendar:fabColor="?colorFab" + agendaCalendar:fabColor="?colorPrimaryContainer" agendaCalendar:layout_constraintBottom_toBottomOf="parent" agendaCalendar:layout_constraintEnd_toEndOf="parent" agendaCalendar:layout_constraintHorizontal_bias="1.0" diff --git a/app/src/main/res/values/attrs.xml b/app/src/main/res/values/attrs.xml index 55e0d3b5..6f783d0b 100644 --- a/app/src/main/res/values/attrs.xml +++ b/app/src/main/res/values/attrs.xml @@ -5,5 +5,5 @@ - + diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 3c17d618..3c8029d7 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -1,5 +1,70 @@ + + + + #2196f3 + #0061A4 + #FFFFFF + #D1E4FF + #001D36 + #535F70 + #FFFFFF + #D7E3F7 + #101C2B + #6B5778 + #FFFFFF + #F2DAFF + #251431 + #BA1A1A + #FFDAD6 + #FFFFFF + #410002 + #FDFCFF + #1A1C1E + #FDFCFF + #1A1C1E + #DFE2EB + #43474E + #73777F + #F1F0F4 + #2F3033 + #9ECAFF + #000000 + #0061A4 + #0061A4 + + + #9ECAFF + #003258 + #00497D + #D1E4FF + #BBC7DB + #253140 + #3B4858 + #D7E3F7 + #D6BEE4 + #3B2948 + #523F5F + #F2DAFF + #FFB4AB + #93000A + #690005 + #FFDAD6 + #1A1C1E + #E2E2E6 + #1A1C1E + #E2E2E6 + #43474E + #C3C7CF + #8D9199 + #1A1C1E + #E2E2E6 + #0061A4 + #000000 + #9ECAFF + #9ECAFF + #2196F3 #1976D2 #6EC6FF diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 4f22fc81..dd709d59 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -98,20 +98,35 @@