1
0

Add dark theme for app widgets (#509)

This commit is contained in:
Rafał Borcz
2019-09-25 22:44:55 +02:00
committed by Mikołaj Pich
parent d6ece78eff
commit d4b73fb73e
20 changed files with 614 additions and 214 deletions

View File

@ -31,9 +31,10 @@
<color name="grade_vulcan_one">#d65757</color>
<color name="grade_vulcan_default">#3d5f9c</color>
<color name="chip_backgroundColor_inverse">#595959</color>
<color name="chip_labelColor_inverse">#fefefe</color>
<color name="chip_detailed_backgroundColor">#fefefe</color>
<color name="filterable_list_backgroundColor_inverse">#393939</color>
<color name="filterable_list_textColor_inverse">#fefefe</color>
<!--Dark color resource for app widgets-->
<color name="colorWidgetBackground">#121212</color>
<color name="colorWidgetTopBar">#272727</color>
<color name="colorWidgetNavButton">#383838</color>
</resources>

View File

@ -244,6 +244,9 @@
<!--Timetable Widget-->
<string name="widget_timetable_no_items">No lessons</string>
<string name="widget_timetable_theme_title">Choose theme</string>
<string name="widget_timetable_theme_light">Light</string>
<string name="widget_timetable_theme_dark">Dark</string>
<!--Preferences-->

View File

@ -23,6 +23,7 @@
<style name="WulkanowyTheme.WidgetAccountSwitcher" parent="Theme.MaterialComponents.Light.Dialog">
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorSecondary">@color/colorPrimary</item>
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
<item name="android:textColor">?android:textColorPrimary</item>