mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-2125 Relations | Design | Date picker fixes (#975)
This commit is contained in:
parent
a466a38bf9
commit
818f937259
4 changed files with 6 additions and 3 deletions
|
@ -274,7 +274,7 @@ fun Icon(icon: ObjectIcon?) {
|
|||
factory = { ctx ->
|
||||
ObjectIconWidget(ctx)
|
||||
},
|
||||
modifier = Modifier.size(24.dp),
|
||||
modifier = Modifier.size(20.dp),
|
||||
update = {
|
||||
it.setIcon(icon)
|
||||
}
|
||||
|
|
|
@ -95,10 +95,10 @@ fun DatePickerContent(
|
|||
weekdayContentColor = colorResource(id = R.color.text_tertiary),
|
||||
todayContentColor = todayContentColor,
|
||||
todayDateBorderColor = Color.Transparent,
|
||||
selectedDayContainerColor = colorResource(id = R.color.palette_very_light_orange),
|
||||
selectedDayContainerColor = colorResource(id = R.color.date_selected_container_color),
|
||||
selectedDayContentColor = colorResource(id = R.color.glyph_accent),
|
||||
disabledDayContentColor = colorResource(id = R.color.text_primary),
|
||||
disabledSelectedDayContentColor = colorResource(id = R.color.glyph_inactive),
|
||||
disabledSelectedDayContentColor = colorResource(id = R.color.text_primary),
|
||||
disabledSelectedDayContainerColor = colorResource(id = R.color.date_selected_inactive_color),
|
||||
navigationContentColor = navigationContentColor
|
||||
)
|
||||
|
|
|
@ -101,4 +101,6 @@
|
|||
|
||||
<color name="context_menu_background">#302F2B</color>
|
||||
|
||||
<color name="date_selected_container_color">#483308</color>
|
||||
|
||||
</resources>
|
||||
|
|
|
@ -219,6 +219,7 @@
|
|||
|
||||
<color name="context_menu_background">#FFFFFF</color>
|
||||
<color name="date_selected_inactive_color">#30DCDCDC</color>
|
||||
<color name="date_selected_container_color">@color/palette_very_light_orange</color>
|
||||
<color name="widget_edit_view_stroke_color_active">@color/palette_system_amber_50</color>
|
||||
<color name="widget_edit_view_stroke_color_inactive">@color/shape_primary</color>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue