Add new theme attribute and style to configure specific layouts for the night mode
This commit is contained in:
parent
994d85947f
commit
5b3db3342a
3 changed files with 15 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
|||
<item name="lightestFontColor">@color/white</item>
|
||||
<item name="standardVectorGraphic">@color/white</item>
|
||||
<item name="winScreenPedestalColor">@color/middleblue</item>
|
||||
<item name="winScreenFontColor">@color/black</item>
|
||||
<item name="backgroundSurroundingDialog">@color/transparent</item>
|
||||
<item name="actionBarTheme">@style/ToolbarStyle</item>
|
||||
<item name="rankingStarSelected">@color/lightblue</item>
|
||||
|
@ -35,6 +36,12 @@
|
|||
<item name="windowNoTitle">true</item>
|
||||
</style>
|
||||
|
||||
<style name="AppTheme.Dialog" parent="Theme.AppCompat.Light.Dialog.Alert">
|
||||
<item name="colorAccent">@color/colorAccent</item>
|
||||
<item name="android:textColorPrimary">@color/white</item>
|
||||
<item name="android:background">@color/darkgrey</item>
|
||||
</style>
|
||||
|
||||
<style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
|
||||
|
||||
<style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<attr name="lightestFontColor" format="color"/>
|
||||
<attr name="standardVectorGraphic" format="color"/>
|
||||
<attr name="winScreenPedestalColor" format="color"/>
|
||||
<attr name="winScreenFontColor" format="color"/>
|
||||
<attr name="backgroundSurroundingDialog" format="color"/>
|
||||
<attr name="rankingStarSelected" format="color"/>
|
||||
<attr name="rankingStarNotSelected" format="color"/>
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
<item name="lightestFontColor">@color/white</item>
|
||||
<item name="standardVectorGraphic">@color/black</item>
|
||||
<item name="winScreenPedestalColor">@color/middleblue</item>
|
||||
<item name="winScreenFontColor">@color/white</item>
|
||||
<item name="backgroundSurroundingDialog">@color/transparent</item>
|
||||
<item name="rankingStarSelected">@color/lightblue</item>
|
||||
<item name="rankingStarNotSelected">@color/middlegrey</item>
|
||||
|
@ -29,6 +30,12 @@
|
|||
<item name="windowNoTitle">true</item>
|
||||
</style>
|
||||
|
||||
<style name="AppTheme.Dialog" parent="Theme.AppCompat.Light.Dialog.Alert">
|
||||
<item name="colorAccent">@color/colorPrimaryDark</item>
|
||||
<item name="android:textColorPrimary">@color/black</item>
|
||||
<item name="android:background">@color/white</item>
|
||||
</style>
|
||||
|
||||
<style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
|
||||
|
||||
<style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
|
||||
|
|
Loading…
Reference in a new issue