Merge pull request #692 from microsoft/joypal/calendarTheming
Theming fixes for Calendar view
This commit is contained in:
Коммит
cb945c63fa
|
@ -51,14 +51,6 @@
|
|||
<item name="FluentuiButtonOutlinedStrokePressedColor">@color/fluentui_communication_tint_40</item>
|
||||
<item name="FluentuiButtonOutlinedStrokeDisabledColor">@color/fluentui_gray_800</item>
|
||||
|
||||
<!--CalendarView-->
|
||||
<item name="fluentuiCalendarBackgroundColor">?attr/fluentuiBackgroundSecondaryColor</item>
|
||||
<item name="fluentuiCalendarWeekHeadingBackgroundColor">?attr/fluentuiBackgroundSecondaryColor</item>
|
||||
<item name="fluentuiCalendarOtherMonthBackgroundColor">@color/fluentui_gray_700</item>
|
||||
<item name="fluentuiCalendarDayTodayBackgroundColor">?attr/fluentuiBackgroundSecondaryColor</item>
|
||||
<item name="fluentuiCalendarDayTextActiveColor">?attr/fluentuiForegroundColor</item>
|
||||
<item name="fluentuiCalendarWeekHeadingWeekendTextColor">@color/fluentui_gray_600</item>
|
||||
|
||||
<!--ContextualCommandBar-->
|
||||
<item name="fluentuiContextualCommandBarBackgroundColor">@color/fluentui_gray_600</item>
|
||||
<item name="fluentuiContextualCommandBarBackgroundColorPressed">@color/fluentui_gray_900</item>
|
||||
|
|
|
@ -95,18 +95,6 @@
|
|||
<item name="fluentuiCompoundButtonTintDefaultColor">?attr/fluentuiForegroundSecondaryIconColor</item>
|
||||
<item name="fluentuiCompoundButtonTintCheckedColor">?attr/fluentuiForegroundSelectedColor</item>
|
||||
|
||||
<!--CalendarView-->
|
||||
<item name="fluentuiCalendarBackgroundColor">?attr/fluentuiBackgroundColor</item>
|
||||
<item name="fluentuiCalendarWeekHeadingBackgroundColor">?attr/fluentuiBackgroundColor</item>
|
||||
<item name="fluentuiCalendarWeekHeadingWeekDayTextColor">?attr/fluentuiForegroundSecondaryColor</item>
|
||||
<item name="fluentuiCalendarWeekHeadingWeekendTextColor">@color/fluentui_gray_400</item>
|
||||
<item name="fluentuiCalendarMonthOverlayBackgroundColor">?attr/fluentuiBackgroundColor</item>
|
||||
<item name="fluentuiCalendarMonthOverlayTextColor">?attr/fluentuiForegroundColor</item>
|
||||
<item name="fluentuiCalendarOtherMonthBackgroundColor">@color/fluentui_gray_25</item>
|
||||
<item name="fluentuiCalendarSelectedColor">?attr/fluentuiForegroundSelectedColor</item>
|
||||
<item name="fluentuiCalendarDayTodayBackgroundColor">?attr/fluentuiColorPrimaryLighter</item>
|
||||
<item name="fluentuiCalendarDayKeyboardFocusTextColor">@color/fluentui_gray_600</item>
|
||||
|
||||
<!--ContextualCommandBar-->
|
||||
<item name="fluentuiContextualCommandBarBackgroundColor">@color/fluentui_gray_50</item>
|
||||
<item name="fluentuiContextualCommandBarBackgroundColorPressed">@color/fluentui_gray_100</item>
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
~ Licensed under the MIT License.
|
||||
-->
|
||||
<resources>
|
||||
|
||||
<style name="Theme.FluentUI.Calendar" parent="Theme.FluentUI.Calendar.Base">
|
||||
|
||||
<!--CalendarView-->
|
||||
<item name="fluentuiCalendarBackgroundColor">?attr/fluentuiBackgroundSecondaryColor</item>
|
||||
<item name="fluentuiCalendarWeekHeadingBackgroundColor">?attr/fluentuiBackgroundSecondaryColor</item>
|
||||
<item name="fluentuiCalendarWeekHeadingWeekDayTextColor">@color/fluentui_gray_300</item>
|
||||
<item name="fluentuiCalendarWeekHeadingWeekendTextColor">@color/fluentui_gray_400</item>
|
||||
<item name="fluentuiCalendarOtherMonthBackgroundColor">@color/fluentui_gray_700</item>
|
||||
<item name="fluentuiCalendarDayTodayBackgroundColor">?attr/fluentuiBackgroundSecondaryColor</item>
|
||||
<item name="fluentuiCalendarDayTextActiveColor">?attr/fluentuiForegroundColor</item>
|
||||
|
||||
</style>
|
||||
</resources>
|
|
@ -28,6 +28,7 @@
|
|||
<item name="fluentuiCalendarDayTextActiveCheckedColor">?attr/fluentuiForegroundOnPrimaryColor</item>
|
||||
<item name="fluentuiCalendarDayTextInactiveCheckedColor">?attr/fluentuiForegroundOnPrimaryColor</item>
|
||||
<item name="fluentuiCalendarDayTextDefaultColor">?attr/fluentuiForegroundSecondaryColor</item>
|
||||
<item name="fluentuiCalendarDayKeyboardFocusTextColor">@color/fluentui_gray_600</item>
|
||||
|
||||
<!--DateTimePicker-->
|
||||
<item name="fluentuiDateTimePickerToolbarTitleTextColor">?attr/colorPrimary</item>
|
||||
|
|
Загрузка…
Ссылка в новой задаче