Rename some theme to follow naming convention
This commit is contained in:
parent
8fea6c5997
commit
9f96974e67
@ -2,7 +2,7 @@
|
|||||||
<resources>
|
<resources>
|
||||||
|
|
||||||
<!-- BottomSheet theming -->
|
<!-- BottomSheet theming -->
|
||||||
<style name="BottomSheet.Vector.Light" parent="Theme.MaterialComponents.Light.BottomSheetDialog">
|
<style name="Theme.Vector.BottomSheetDialog.Light" parent="Theme.MaterialComponents.Light.BottomSheetDialog">
|
||||||
<item name="colorPrimary">@color/element_accent_light</item>
|
<item name="colorPrimary">@color/element_accent_light</item>
|
||||||
<item name="colorSecondary">@color/palette_element_green</item>
|
<item name="colorSecondary">@color/palette_element_green</item>
|
||||||
<item name="colorSurface">@color/element_background_light</item>
|
<item name="colorSurface">@color/element_background_light</item>
|
||||||
@ -13,7 +13,7 @@
|
|||||||
<item name="android:textColorLink">@color/element_link_light</item>
|
<item name="android:textColorLink">@color/element_link_light</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="BottomSheet.Vector.Dark" parent="Theme.MaterialComponents.BottomSheetDialog">
|
<style name="Theme.Vector.BottomSheetDialog.Dark" parent="Theme.MaterialComponents.BottomSheetDialog">
|
||||||
<item name="colorPrimary">@color/element_accent_dark</item>
|
<item name="colorPrimary">@color/element_accent_dark</item>
|
||||||
<item name="colorSecondary">@color/palette_element_green</item>
|
<item name="colorSecondary">@color/palette_element_green</item>
|
||||||
<item name="colorSurface">@color/element_background_dark</item>
|
<item name="colorSurface">@color/element_background_dark</item>
|
||||||
@ -24,7 +24,7 @@
|
|||||||
<item name="android:textColorLink">@color/element_link_dark</item>
|
<item name="android:textColorLink">@color/element_link_dark</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="BottomSheet.Vector.Black" parent="BottomSheet.Vector.Dark">
|
<style name="Theme.Vector.BottomSheetDialog.Black" parent="Theme.Vector.BottomSheetDialog.Dark">
|
||||||
<item name="colorSurface">@color/element_background_black</item>
|
<item name="colorSurface">@color/element_background_black</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
@ -25,7 +25,8 @@
|
|||||||
<item name="colorSurface">@android:color/black</item>
|
<item name="colorSurface">@android:color/black</item>
|
||||||
<item name="android:colorBackground">@color/element_background_black</item>
|
<item name="android:colorBackground">@color/element_background_black</item>
|
||||||
|
|
||||||
<item name="bottomSheetDialogTheme">@style/BottomSheet.Vector.Black</item>
|
<!-- Default theme -->
|
||||||
|
<item name="bottomSheetDialogTheme">@style/Theme.Vector.BottomSheetDialog.Black</item>
|
||||||
|
|
||||||
<item name="android:statusBarColor">@android:color/black</item>
|
<item name="android:statusBarColor">@android:color/black</item>
|
||||||
<item name="android:navigationBarColor">@android:color/black</item>
|
<item name="android:navigationBarColor">@android:color/black</item>
|
||||||
|
@ -82,12 +82,14 @@
|
|||||||
<item name="textInputStyle">@style/Widget.Vector.TextInputLayout</item>
|
<item name="textInputStyle">@style/Widget.Vector.TextInputLayout</item>
|
||||||
<item name="appBarLayoutStyle">@style/Widget.Vector.AppBarLayout</item>
|
<item name="appBarLayoutStyle">@style/Widget.Vector.AppBarLayout</item>
|
||||||
<item name="popupMenuStyle">@style/Widget.Vector.PopupMenu</item>
|
<item name="popupMenuStyle">@style/Widget.Vector.PopupMenu</item>
|
||||||
<item name="bottomSheetDialogTheme">@style/BottomSheet.Vector.Dark</item>
|
|
||||||
<item name="snackbarStyle">@style/Widget.Vector.SnackBar</item>
|
<item name="snackbarStyle">@style/Widget.Vector.SnackBar</item>
|
||||||
<item name="snackbarButtonStyle">@style/Widget.Vector.SnackBar.Button</item>
|
<item name="snackbarButtonStyle">@style/Widget.Vector.SnackBar.Button</item>
|
||||||
<item name="snackbarTextViewStyle">@style/Widget.Vector.SnackBar.TextView</item>
|
<item name="snackbarTextViewStyle">@style/Widget.Vector.SnackBar.TextView</item>
|
||||||
<item name="actionModeStyle">@style/Widget.Vector.ActionMode</item>
|
<item name="actionModeStyle">@style/Widget.Vector.ActionMode</item>
|
||||||
|
|
||||||
|
<!-- Default theme -->
|
||||||
|
<item name="bottomSheetDialogTheme">@style/Theme.Vector.BottomSheetDialog.Dark</item>
|
||||||
|
|
||||||
<item name="android:textColorLink">@color/element_link_dark</item>
|
<item name="android:textColorLink">@color/element_link_dark</item>
|
||||||
|
|
||||||
<!-- Menu text color -->
|
<!-- Menu text color -->
|
||||||
|
@ -82,12 +82,14 @@
|
|||||||
<item name="textInputStyle">@style/Widget.Vector.TextInputLayout</item>
|
<item name="textInputStyle">@style/Widget.Vector.TextInputLayout</item>
|
||||||
<item name="appBarLayoutStyle">@style/Widget.Vector.AppBarLayout</item>
|
<item name="appBarLayoutStyle">@style/Widget.Vector.AppBarLayout</item>
|
||||||
<item name="popupMenuStyle">@style/Widget.Vector.PopupMenu</item>
|
<item name="popupMenuStyle">@style/Widget.Vector.PopupMenu</item>
|
||||||
<item name="bottomSheetDialogTheme">@style/BottomSheet.Vector.Light</item>
|
|
||||||
<item name="snackbarStyle">@style/Widget.Vector.SnackBar</item>
|
<item name="snackbarStyle">@style/Widget.Vector.SnackBar</item>
|
||||||
<item name="snackbarButtonStyle">@style/Widget.Vector.SnackBar.Button</item>
|
<item name="snackbarButtonStyle">@style/Widget.Vector.SnackBar.Button</item>
|
||||||
<item name="snackbarTextViewStyle">@style/Widget.Vector.SnackBar.TextView</item>
|
<item name="snackbarTextViewStyle">@style/Widget.Vector.SnackBar.TextView</item>
|
||||||
<item name="actionModeStyle">@style/Widget.Vector.ActionMode</item>
|
<item name="actionModeStyle">@style/Widget.Vector.ActionMode</item>
|
||||||
|
|
||||||
|
<!-- Default theme -->
|
||||||
|
<item name="bottomSheetDialogTheme">@style/Theme.Vector.BottomSheetDialog.Light</item>
|
||||||
|
|
||||||
<item name="android:textColorLink">@color/element_link_light</item>
|
<item name="android:textColorLink">@color/element_link_light</item>
|
||||||
|
|
||||||
<!-- Menu text color -->
|
<!-- Menu text color -->
|
||||||
|
Loading…
Reference in New Issue
Block a user