mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Better themes files organization
This commit is contained in:
@@ -39,62 +39,6 @@
|
||||
<item name="android:timePickerDialogTheme">@style/KeepassDXStyle.Night.DateTime.Dialog</item>
|
||||
<item name="android:datePickerDialogTheme">@style/KeepassDXStyle.Night.DateTime.Dialog</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Purple" parent="KeepassDXStyle.Purple.v21" >
|
||||
<item name="preferenceTheme">@style/KeepassDXStyle.Preference.v21</item>
|
||||
<item name="android:statusBarColor">?attr/colorPrimaryDark</item>
|
||||
<item name="android:navigationBarColor">?attr/colorPrimaryDark</item>
|
||||
<item name="android:timePickerDialogTheme">@style/KeepassDXStyle.Purple.DateTime.Dialog</item>
|
||||
<item name="android:datePickerDialogTheme">@style/KeepassDXStyle.Purple.DateTime.Dialog</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Purple.Dark" parent="KeepassDXStyle.Purple.Dark.v21" >
|
||||
<item name="preferenceTheme">@style/KeepassDXStyle.Preference.v21</item>
|
||||
<item name="android:statusBarColor">?attr/colorPrimaryDark</item>
|
||||
<item name="android:navigationBarColor">?android:attr/windowBackground</item>
|
||||
<item name="android:timePickerDialogTheme">@style/KeepassDXStyle.Purple.Dark.DateTime.Dialog</item>
|
||||
<item name="android:datePickerDialogTheme">@style/KeepassDXStyle.Purple.Dark.DateTime.Dialog</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Clear" parent="KeepassDXStyle.Clear.v21" >
|
||||
<item name="preferenceTheme">@style/KeepassDXStyle.Preference.v21</item>
|
||||
<item name="android:statusBarColor">?attr/colorPrimaryDark</item>
|
||||
<item name="android:navigationBarColor">?attr/colorPrimaryDark</item>
|
||||
<item name="android:timePickerDialogTheme">@style/KeepassDXStyle.Clear.DateTime.Dialog</item>
|
||||
<item name="android:datePickerDialogTheme">@style/KeepassDXStyle.Clear.DateTime.Dialog</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Dark" parent="KeepassDXStyle.Dark.v21" >
|
||||
<item name="preferenceTheme">@style/KeepassDXStyle.Preference.v21</item>
|
||||
<item name="android:statusBarColor">?attr/colorPrimaryDark</item>
|
||||
<item name="android:navigationBarColor">?android:attr/windowBackground</item>
|
||||
<item name="android:timePickerDialogTheme">@style/KeepassDXStyle.Dark.DateTime.Dialog</item>
|
||||
<item name="android:datePickerDialogTheme">@style/KeepassDXStyle.Dark.DateTime.Dialog</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Blue" parent="KeepassDXStyle.Blue.v21" >
|
||||
<item name="preferenceTheme">@style/KeepassDXStyle.Preference.v21</item>
|
||||
<item name="android:statusBarColor">?attr/colorPrimaryDark</item>
|
||||
<item name="android:navigationBarColor">?attr/colorPrimaryDark</item>
|
||||
<item name="android:timePickerDialogTheme">@style/KeepassDXStyle.Blue.DateTime.Dialog</item>
|
||||
<item name="android:datePickerDialogTheme">@style/KeepassDXStyle.Blue.DateTime.Dialog</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Blue.Night" parent="KeepassDXStyle.Blue.Night.v21" >
|
||||
<item name="preferenceTheme">@style/KeepassDXStyle.Preference.v21</item>
|
||||
<item name="android:statusBarColor">?attr/colorPrimaryDark</item>
|
||||
<item name="android:navigationBarColor">?android:attr/windowBackground</item>
|
||||
<item name="android:timePickerDialogTheme">@style/KeepassDXStyle.Blue.Night.DateTime.Dialog</item>
|
||||
<item name="android:datePickerDialogTheme">@style/KeepassDXStyle.Blue.Night.DateTime.Dialog</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Red" parent="KeepassDXStyle.Red.v21" >
|
||||
<item name="preferenceTheme">@style/KeepassDXStyle.Preference.v21</item>
|
||||
<item name="android:statusBarColor">?attr/colorPrimaryDark</item>
|
||||
<item name="android:navigationBarColor">?attr/colorPrimaryDark</item>
|
||||
<item name="android:timePickerDialogTheme">@style/KeepassDXStyle.Red.DateTime.Dialog</item>
|
||||
<item name="android:datePickerDialogTheme">@style/KeepassDXStyle.Red.DateTime.Dialog</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Red.Night" parent="KeepassDXStyle.Red.Night.v21" >
|
||||
<item name="preferenceTheme">@style/KeepassDXStyle.Preference.v21</item>
|
||||
<item name="android:statusBarColor">?attr/colorPrimaryDark</item>
|
||||
<item name="android:navigationBarColor">?android:attr/windowBackground</item>
|
||||
<item name="android:timePickerDialogTheme">@style/KeepassDXStyle.Red.Night.DateTime.Dialog</item>
|
||||
<item name="android:datePickerDialogTheme">@style/KeepassDXStyle.Red.Night.DateTime.Dialog</item>
|
||||
</style>
|
||||
|
||||
<!-- Preference Theme -->
|
||||
<style name="KeepassDXStyle.Preference.v21" parent="@style/PreferenceThemeOverlay.v14.Material">
|
||||
@@ -120,4 +64,4 @@
|
||||
<style name="KeepassDXStyle.v21.FabMenu" parent="KeepassDXStyle.TextAppearance.Default.TextOnPrimary">
|
||||
<item name="android:elevation">4dp</item>
|
||||
</style>
|
||||
</resources>
|
||||
</resources>
|
||||
|
||||
35
app/src/main/res/values-v21/styles_classic.xml
Normal file
35
app/src/main/res/values-v21/styles_classic.xml
Normal file
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright 2021 Jeremy Jamet / Kunzisoft.
|
||||
|
||||
This file is part of KeePassDX.
|
||||
|
||||
KeePassDX is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
KeePassDX is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with KeePassDX. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<resources>
|
||||
<style name="KeepassDXStyle.Clear" parent="KeepassDXStyle.Clear.v21" >
|
||||
<item name="preferenceTheme">@style/KeepassDXStyle.Preference.v21</item>
|
||||
<item name="android:statusBarColor">?attr/colorPrimaryDark</item>
|
||||
<item name="android:navigationBarColor">?attr/colorPrimaryDark</item>
|
||||
<item name="android:timePickerDialogTheme">@style/KeepassDXStyle.Clear.DateTime.Dialog</item>
|
||||
<item name="android:datePickerDialogTheme">@style/KeepassDXStyle.Clear.DateTime.Dialog</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Dark" parent="KeepassDXStyle.Dark.v21" >
|
||||
<item name="preferenceTheme">@style/KeepassDXStyle.Preference.v21</item>
|
||||
<item name="android:statusBarColor">?attr/colorPrimaryDark</item>
|
||||
<item name="android:navigationBarColor">?android:attr/windowBackground</item>
|
||||
<item name="android:timePickerDialogTheme">@style/KeepassDXStyle.Dark.DateTime.Dialog</item>
|
||||
<item name="android:datePickerDialogTheme">@style/KeepassDXStyle.Dark.DateTime.Dialog</item>
|
||||
</style>
|
||||
</resources>
|
||||
35
app/src/main/res/values-v21/styles_kunzite.xml
Normal file
35
app/src/main/res/values-v21/styles_kunzite.xml
Normal file
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright 2021 Jeremy Jamet / Kunzisoft.
|
||||
|
||||
This file is part of KeePassDX.
|
||||
|
||||
KeePassDX is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
KeePassDX is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with KeePassDX. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<resources>
|
||||
<style name="KeepassDXStyle.Purple" parent="KeepassDXStyle.Purple.v21" >
|
||||
<item name="preferenceTheme">@style/KeepassDXStyle.Preference.v21</item>
|
||||
<item name="android:statusBarColor">?attr/colorPrimaryDark</item>
|
||||
<item name="android:navigationBarColor">?attr/colorPrimaryDark</item>
|
||||
<item name="android:timePickerDialogTheme">@style/KeepassDXStyle.Purple.DateTime.Dialog</item>
|
||||
<item name="android:datePickerDialogTheme">@style/KeepassDXStyle.Purple.DateTime.Dialog</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Purple.Dark" parent="KeepassDXStyle.Purple.Dark.v21" >
|
||||
<item name="preferenceTheme">@style/KeepassDXStyle.Preference.v21</item>
|
||||
<item name="android:statusBarColor">?attr/colorPrimaryDark</item>
|
||||
<item name="android:navigationBarColor">?android:attr/windowBackground</item>
|
||||
<item name="android:timePickerDialogTheme">@style/KeepassDXStyle.Purple.Dark.DateTime.Dialog</item>
|
||||
<item name="android:datePickerDialogTheme">@style/KeepassDXStyle.Purple.Dark.DateTime.Dialog</item>
|
||||
</style>
|
||||
</resources>
|
||||
35
app/src/main/res/values-v21/styles_moon.xml
Normal file
35
app/src/main/res/values-v21/styles_moon.xml
Normal file
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright 2021 Jeremy Jamet / Kunzisoft.
|
||||
|
||||
This file is part of KeePassDX.
|
||||
|
||||
KeePassDX is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
KeePassDX is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with KeePassDX. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<resources>
|
||||
<style name="KeepassDXStyle.Blue" parent="KeepassDXStyle.Blue.v21" >
|
||||
<item name="preferenceTheme">@style/KeepassDXStyle.Preference.v21</item>
|
||||
<item name="android:statusBarColor">?attr/colorPrimaryDark</item>
|
||||
<item name="android:navigationBarColor">?attr/colorPrimaryDark</item>
|
||||
<item name="android:timePickerDialogTheme">@style/KeepassDXStyle.Blue.DateTime.Dialog</item>
|
||||
<item name="android:datePickerDialogTheme">@style/KeepassDXStyle.Blue.DateTime.Dialog</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Blue.Night" parent="KeepassDXStyle.Blue.Night.v21" >
|
||||
<item name="preferenceTheme">@style/KeepassDXStyle.Preference.v21</item>
|
||||
<item name="android:statusBarColor">?attr/colorPrimaryDark</item>
|
||||
<item name="android:navigationBarColor">?android:attr/windowBackground</item>
|
||||
<item name="android:timePickerDialogTheme">@style/KeepassDXStyle.Blue.Night.DateTime.Dialog</item>
|
||||
<item name="android:datePickerDialogTheme">@style/KeepassDXStyle.Blue.Night.DateTime.Dialog</item>
|
||||
</style>
|
||||
</resources>
|
||||
35
app/src/main/res/values-v21/styles_sun.xml
Normal file
35
app/src/main/res/values-v21/styles_sun.xml
Normal file
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright 2021 Jeremy Jamet / Kunzisoft.
|
||||
|
||||
This file is part of KeePassDX.
|
||||
|
||||
KeePassDX is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
KeePassDX is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with KeePassDX. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<resources>
|
||||
<style name="KeepassDXStyle.Red" parent="KeepassDXStyle.Red.v21" >
|
||||
<item name="preferenceTheme">@style/KeepassDXStyle.Preference.v21</item>
|
||||
<item name="android:statusBarColor">?attr/colorPrimaryDark</item>
|
||||
<item name="android:navigationBarColor">?attr/colorPrimaryDark</item>
|
||||
<item name="android:timePickerDialogTheme">@style/KeepassDXStyle.Red.DateTime.Dialog</item>
|
||||
<item name="android:datePickerDialogTheme">@style/KeepassDXStyle.Red.DateTime.Dialog</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Red.Night" parent="KeepassDXStyle.Red.Night.v21" >
|
||||
<item name="preferenceTheme">@style/KeepassDXStyle.Preference.v21</item>
|
||||
<item name="android:statusBarColor">?attr/colorPrimaryDark</item>
|
||||
<item name="android:navigationBarColor">?android:attr/windowBackground</item>
|
||||
<item name="android:timePickerDialogTheme">@style/KeepassDXStyle.Red.Night.DateTime.Dialog</item>
|
||||
<item name="android:datePickerDialogTheme">@style/KeepassDXStyle.Red.Night.DateTime.Dialog</item>
|
||||
</style>
|
||||
</resources>
|
||||
@@ -1,86 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright 2020 Jeremy Jamet / Kunzisoft.
|
||||
|
||||
This file is part of KeePassDX.
|
||||
|
||||
KeePassDX is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
KeePassDX is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with KeePassDX. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<resources>
|
||||
<!-- Black Style -->
|
||||
<style name="KeepassDXStyle.Black" parent="KeepassDXStyle.Night" >
|
||||
<item name="colorPrimary">@color/black_light</item>
|
||||
<item name="colorPrimaryDark">@color/black</item>
|
||||
<item name="colorAccent">@color/orange_dark</item>
|
||||
<item name="colorAccentLight">@color/orange</item>
|
||||
<item name="colorControlNormal">@color/grey_light</item>
|
||||
<item name="colorControlActivated">@color/green_darker</item>
|
||||
<item name="android:textColorPrimary">@color/green</item>
|
||||
<item name="android:textColorHintInverse">@color/green_light</item>
|
||||
<item name="android:windowBackground">@color/black</item>
|
||||
<item name="toolbarAppearance">@style/KeepassDXStyle.Toolbar.Black</item>
|
||||
<item name="toolbarHomeAppearance">@style/KeepassDXStyle.Toolbar.Home.Black</item>
|
||||
<item name="toolbarSpecialAppearance">@style/KeepassDXStyle.Toolbar.Special.Black</item>
|
||||
<item name="toolbarActionAppearance">@style/KeepassDXStyle.Toolbar.Action.Black</item>
|
||||
<item name="popupTheme">@style/KeepassDXStyle.Toolbar.Popup.Black</item>
|
||||
<item name="android:alertDialogTheme">@style/KeepassDXStyle.Black.Dialog</item>
|
||||
<item name="alertDialogTheme">@style/KeepassDXStyle.Black.Dialog</item>
|
||||
<item name="cardViewStyle">@style/KeepassDXStyle.Cardview.Black</item>
|
||||
<item name="cardBackgroundTransparentColor">@color/black_light_transparent</item>
|
||||
<item name="educationCircleColor">@color/orange_dark</item>
|
||||
<item name="educationTextColor">@color/white</item>
|
||||
</style>
|
||||
<!-- Toolbar Style Black -->
|
||||
<style name="KeepassDXStyle.Toolbar.Black" parent="KeepassDXStyle.Black">
|
||||
<item name="colorControlNormal">@color/white</item>
|
||||
<item name="android:textColorPrimary">@color/white</item>
|
||||
<item name="android:textColorSecondary">@color/grey_lighter</item>
|
||||
<item name="android:editTextColor">@color/white</item>
|
||||
<item name="android:textColorHint">@color/green_lighter</item>
|
||||
<item name="android:tint">@color/white</item>
|
||||
</style>
|
||||
<!-- Toolbar Popup menu -->
|
||||
<style name="KeepassDXStyle.Toolbar.Popup.Black" parent="KeepassDXStyle.Toolbar.Black">
|
||||
<item name="android:colorBackground">@color/black_lighter</item>
|
||||
</style>
|
||||
<!-- Toolbar Home Black -->
|
||||
<style name="KeepassDXStyle.Toolbar.Home.Black" parent="KeepassDXStyle.Toolbar.Black">
|
||||
<item name="toolbarNavigationButtonStyle">@style/KeepassDXStyle.Toolbar.Navigation.Tinted</item>
|
||||
</style>
|
||||
<!-- Special Toolbar Black -->
|
||||
<style name="KeepassDXStyle.Toolbar.Special.Black" parent="KeepassDXStyle.Toolbar.Black">
|
||||
<item name="toolbarStyle">@style/KeepassDXStyle.Toolbar.Widget.Special.Black</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Toolbar.Widget.Special.Black" parent="KeepassDXStyle.Toolbar.Widget.Special">
|
||||
<item name="android:background">@color/black</item>
|
||||
</style>
|
||||
<!-- Action Toolbar Black -->
|
||||
<style name="KeepassDXStyle.Toolbar.Action.Black" parent="KeepassDXStyle.Toolbar.Black">
|
||||
<item name="toolbarStyle">@style/KeepassDXStyle.Toolbar.Widget.Action.Black</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Toolbar.Widget.Action.Black" parent="Widget.AppCompat.Toolbar">
|
||||
<item name="android:background">@color/black_light</item>
|
||||
</style>
|
||||
<!-- Dialog -->
|
||||
<style name="KeepassDXStyle.Black.Dialog" parent="KeepassDXStyle.Night.Dialog">
|
||||
<item name="colorAccent">@color/orange_dark</item>
|
||||
<item name="android:textColorPrimary">@color/green_dark</item>
|
||||
<item name="android:background">@color/black_lighter</item>
|
||||
<item name="background">@color/black_lighter</item>
|
||||
</style>
|
||||
<!-- CardView -->
|
||||
<style name="KeepassDXStyle.Cardview.Black" parent="CardView">
|
||||
<item name="cardBackgroundColor">@color/black_light</item>
|
||||
</style>
|
||||
</resources>
|
||||
@@ -1,79 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright 2018 Jeremy Jamet / Kunzisoft.
|
||||
|
||||
This file is part of KeePassDX.
|
||||
|
||||
KeePassDX is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
KeePassDX is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with KeePassDX. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<resources>
|
||||
<!-- Blue Style -->
|
||||
<style name="KeepassDXStyle.Blue" parent="KeepassDXStyle.Blue.v21" />
|
||||
<style name="KeepassDXStyle.Blue.v21" parent="KeepassDXStyle.Light" >
|
||||
<item name="colorPrimary">@color/blue</item>
|
||||
<item name="colorPrimaryDark">@color/blue_dark</item>
|
||||
<item name="colorAccent">@color/blue_white</item>
|
||||
<item name="colorAccentLight">@color/blue_lighter</item>
|
||||
<item name="colorControlActivated">@color/blue_white</item>
|
||||
<item name="android:textColorPrimary">@color/blue_light</item>
|
||||
<item name="android:textColorHintInverse">@color/blue_lighter</item>
|
||||
<item name="android:windowBackground">@color/white_dark</item>
|
||||
<item name="toolbarAppearance">@style/KeepassDXStyle.Toolbar.Blue</item>
|
||||
<item name="toolbarHomeAppearance">@style/KeepassDXStyle.Toolbar.Home.Blue</item>
|
||||
<item name="toolbarSpecialAppearance">@style/KeepassDXStyle.Toolbar.Special.Blue</item>
|
||||
<item name="toolbarActionAppearance">@style/KeepassDXStyle.Toolbar.Action.Blue</item>
|
||||
<item name="android:alertDialogTheme">@style/KeepassDXStyle.Blue.Dialog</item>
|
||||
<item name="alertDialogTheme">@style/KeepassDXStyle.Blue.Dialog</item>
|
||||
<item name="educationCircleColor">@color/blue_dark</item>
|
||||
<item name="educationTextColor">@color/white</item>
|
||||
</style>
|
||||
<!-- Toolbar Style Blue -->
|
||||
<style name="KeepassDXStyle.Toolbar.Blue" parent="KeepassDXStyle.Blue">
|
||||
<item name="colorControlActivated">@color/blue_lighter</item>
|
||||
<item name="colorControlNormal">@color/white</item>
|
||||
<item name="android:textColorPrimary">@color/white</item>
|
||||
<item name="android:textColorSecondary">@color/white</item>
|
||||
<item name="android:editTextColor">@color/white</item>
|
||||
<item name="android:textColorHint">@color/blue_lighter</item>
|
||||
<item name="android:tint">@color/white</item>
|
||||
</style>
|
||||
<!-- Toolbar Home Blue -->
|
||||
<style name="KeepassDXStyle.Toolbar.Home.Blue" parent="KeepassDXStyle.Toolbar.Blue">
|
||||
<item name="toolbarNavigationButtonStyle">@style/KeepassDXStyle.Toolbar.Navigation.Tinted</item>
|
||||
</style>
|
||||
<!-- Special Toolbar Blue -->
|
||||
<style name="KeepassDXStyle.Toolbar.Special.Blue" parent="KeepassDXStyle.Toolbar.Blue">
|
||||
<item name="toolbarStyle">@style/KeepassDXStyle.Toolbar.Widget.Special.Blue</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Toolbar.Widget.Special.Blue" parent="KeepassDXStyle.Toolbar.Widget.Special">
|
||||
<item name="android:background">@color/blue_dark</item>
|
||||
</style>
|
||||
<!-- Action Toolbar Blue -->
|
||||
<style name="KeepassDXStyle.Toolbar.Action.Blue" parent="KeepassDXStyle.Toolbar.Blue">
|
||||
<item name="toolbarStyle">@style/KeepassDXStyle.Toolbar.Widget.Action.Blue</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Toolbar.Widget.Action.Blue" parent="Widget.AppCompat.Toolbar">
|
||||
<item name="android:background">@color/blue</item>
|
||||
</style>
|
||||
<!-- Dialog -->
|
||||
<style name="KeepassDXStyle.Blue.Dialog" parent="KeepassDXStyle.Light.Dialog">
|
||||
<item name="colorAccent">@color/blue_lighter</item>
|
||||
<item name="android:textColorPrimary">@color/blue</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Blue.DateTime.Dialog" parent="Theme.AppCompat.Light.Dialog">
|
||||
<item name="colorAccent">@color/blue</item>
|
||||
<item name="android:textColorPrimary">@color/blue</item>
|
||||
<item name="android:windowBackground">@color/white_dark</item>
|
||||
</style>
|
||||
</resources>
|
||||
@@ -18,7 +18,7 @@
|
||||
along with KeePassDX. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<resources>
|
||||
<!-- Clear Style -->
|
||||
<!-- Classic Clear Style -->
|
||||
<style name="KeepassDXStyle.Clear" parent="KeepassDXStyle.Clear.v21" />
|
||||
<style name="KeepassDXStyle.Clear.v21" parent="KeepassDXStyle.Light.WhiteBar.v23" >
|
||||
<item name="colorPrimary">@color/white_grey_lighter</item>
|
||||
@@ -94,4 +94,68 @@
|
||||
<style name="KeepassDXStyle.Cardview.Clear" parent="CardView">
|
||||
<item name="cardBackgroundColor">@color/white_grey_lighter</item>
|
||||
</style>
|
||||
|
||||
<!-- Classic Dark Style -->
|
||||
<style name="KeepassDXStyle.Dark" parent="KeepassDXStyle.Dark.v21" />
|
||||
<style name="KeepassDXStyle.Dark.v21" parent="KeepassDXStyle.Night" >
|
||||
<item name="colorPrimary">@color/grey_darker</item>
|
||||
<item name="colorPrimaryDark">@color/black_light</item>
|
||||
<item name="colorAccent">@color/cyan</item>
|
||||
<item name="colorAccentLight">@color/cyan_lightest</item>
|
||||
<item name="colorControlActivated">@color/cyan_lightest</item>
|
||||
<item name="android:textColorPrimary">@color/cyan_lightest</item>
|
||||
<item name="android:textColorHintInverse">@color/cyan_lightest</item>
|
||||
<item name="android:windowBackground">@color/black</item>
|
||||
<item name="toolbarAppearance">@style/KeepassDXStyle.Toolbar.Dark</item>
|
||||
<item name="toolbarHomeAppearance">@style/KeepassDXStyle.Toolbar.Home.Dark</item>
|
||||
<item name="toolbarSpecialAppearance">@style/KeepassDXStyle.Toolbar.Special.Dark</item>
|
||||
<item name="toolbarActionAppearance">@style/KeepassDXStyle.Toolbar.Action.Dark</item>
|
||||
<item name="android:alertDialogTheme">@style/KeepassDXStyle.Dark.Dialog</item>
|
||||
<item name="alertDialogTheme">@style/KeepassDXStyle.Dark.Dialog</item>
|
||||
<item name="cardViewStyle">@style/KeepassDXStyle.Cardview.Dark</item>
|
||||
<item name="cardBackgroundTransparentColor">@color/black_light_transparent</item>
|
||||
<item name="educationCircleColor">@color/cyan</item>
|
||||
<item name="educationTextColor">@color/white</item>
|
||||
</style>
|
||||
<!-- Toolbar Style Dark -->
|
||||
<style name="KeepassDXStyle.Toolbar.Dark" parent="KeepassDXStyle.Dark">
|
||||
<item name="colorControlNormal">@color/white</item>
|
||||
<item name="android:textColorPrimary">@color/white</item>
|
||||
<item name="android:textColorSecondary">@color/grey_lighter</item>
|
||||
<item name="android:tint">@color/white</item>
|
||||
</style>
|
||||
<!-- Toolbar Home Dark -->
|
||||
<style name="KeepassDXStyle.Toolbar.Home.Dark" parent="KeepassDXStyle.Toolbar.Dark">
|
||||
<item name="toolbarNavigationButtonStyle">@style/KeepassDXStyle.Toolbar.Navigation.Tinted</item>
|
||||
</style>
|
||||
<!-- Special Toolbar Dark -->
|
||||
<style name="KeepassDXStyle.Toolbar.Special.Dark" parent="KeepassDXStyle.Toolbar.Dark">
|
||||
<item name="toolbarStyle">@style/KeepassDXStyle.Toolbar.Widget.Special.Dark</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Toolbar.Widget.Special.Dark" parent="KeepassDXStyle.Toolbar.Widget.Special">
|
||||
<item name="android:background">@color/black_light</item>
|
||||
</style>
|
||||
<!-- Action Toolbar Dark -->
|
||||
<style name="KeepassDXStyle.Toolbar.Action.Dark" parent="KeepassDXStyle.Toolbar.Dark">
|
||||
<item name="toolbarStyle">@style/KeepassDXStyle.Toolbar.Widget.Action.Dark</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Toolbar.Widget.Action.Dark" parent="Widget.AppCompat.Toolbar">
|
||||
<item name="android:background">@color/grey_darker</item>
|
||||
</style>
|
||||
<!-- Dialog -->
|
||||
<style name="KeepassDXStyle.Dark.Dialog" parent="KeepassDXStyle.Night.Dialog">
|
||||
<item name="colorAccent">@color/cyan_lighter</item>
|
||||
<item name="android:textColorPrimary">@color/cyan_lightest</item>
|
||||
<item name="android:background">@color/black_lighter</item>
|
||||
<item name="background">@color/black_lighter</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Dark.DateTime.Dialog" parent="Theme.AppCompat.DayNight.Dialog">
|
||||
<item name="colorAccent">@color/cyan_lighter</item>
|
||||
<item name="android:textColorPrimary">@color/cyan_lightest</item>
|
||||
<item name="android:windowBackground">@color/black_lighter</item>
|
||||
</style>
|
||||
<!-- CardView -->
|
||||
<style name="KeepassDXStyle.Cardview.Dark" parent="CardView">
|
||||
<item name="cardBackgroundColor">@color/black_light</item>
|
||||
</style>
|
||||
</resources>
|
||||
@@ -1,84 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright 2018 Jeremy Jamet / Kunzisoft.
|
||||
|
||||
This file is part of KeePassDX.
|
||||
|
||||
KeePassDX is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
KeePassDX is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with KeePassDX. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<resources>
|
||||
<!-- Dark Style -->
|
||||
<style name="KeepassDXStyle.Dark" parent="KeepassDXStyle.Dark.v21" />
|
||||
<style name="KeepassDXStyle.Dark.v21" parent="KeepassDXStyle.Night" >
|
||||
<item name="colorPrimary">@color/grey_darker</item>
|
||||
<item name="colorPrimaryDark">@color/black_light</item>
|
||||
<item name="colorAccent">@color/cyan</item>
|
||||
<item name="colorAccentLight">@color/cyan_lightest</item>
|
||||
<item name="colorControlActivated">@color/cyan_lightest</item>
|
||||
<item name="android:textColorPrimary">@color/cyan_lightest</item>
|
||||
<item name="android:textColorHintInverse">@color/cyan_lightest</item>
|
||||
<item name="android:windowBackground">@color/black</item>
|
||||
<item name="toolbarAppearance">@style/KeepassDXStyle.Toolbar.Dark</item>
|
||||
<item name="toolbarHomeAppearance">@style/KeepassDXStyle.Toolbar.Home.Dark</item>
|
||||
<item name="toolbarSpecialAppearance">@style/KeepassDXStyle.Toolbar.Special.Dark</item>
|
||||
<item name="toolbarActionAppearance">@style/KeepassDXStyle.Toolbar.Action.Dark</item>
|
||||
<item name="android:alertDialogTheme">@style/KeepassDXStyle.Dark.Dialog</item>
|
||||
<item name="alertDialogTheme">@style/KeepassDXStyle.Dark.Dialog</item>
|
||||
<item name="cardViewStyle">@style/KeepassDXStyle.Cardview.Dark</item>
|
||||
<item name="cardBackgroundTransparentColor">@color/black_light_transparent</item>
|
||||
<item name="educationCircleColor">@color/cyan</item>
|
||||
<item name="educationTextColor">@color/white</item>
|
||||
</style>
|
||||
<!-- Toolbar Style Dark -->
|
||||
<style name="KeepassDXStyle.Toolbar.Dark" parent="KeepassDXStyle.Dark">
|
||||
<item name="colorControlNormal">@color/white</item>
|
||||
<item name="android:textColorPrimary">@color/white</item>
|
||||
<item name="android:textColorSecondary">@color/grey_lighter</item>
|
||||
<item name="android:tint">@color/white</item>
|
||||
</style>
|
||||
<!-- Toolbar Home Dark -->
|
||||
<style name="KeepassDXStyle.Toolbar.Home.Dark" parent="KeepassDXStyle.Toolbar.Dark">
|
||||
<item name="toolbarNavigationButtonStyle">@style/KeepassDXStyle.Toolbar.Navigation.Tinted</item>
|
||||
</style>
|
||||
<!-- Special Toolbar Dark -->
|
||||
<style name="KeepassDXStyle.Toolbar.Special.Dark" parent="KeepassDXStyle.Toolbar.Dark">
|
||||
<item name="toolbarStyle">@style/KeepassDXStyle.Toolbar.Widget.Special.Dark</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Toolbar.Widget.Special.Dark" parent="KeepassDXStyle.Toolbar.Widget.Special">
|
||||
<item name="android:background">@color/black_light</item>
|
||||
</style>
|
||||
<!-- Action Toolbar Dark -->
|
||||
<style name="KeepassDXStyle.Toolbar.Action.Dark" parent="KeepassDXStyle.Toolbar.Dark">
|
||||
<item name="toolbarStyle">@style/KeepassDXStyle.Toolbar.Widget.Action.Dark</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Toolbar.Widget.Action.Dark" parent="Widget.AppCompat.Toolbar">
|
||||
<item name="android:background">@color/grey_darker</item>
|
||||
</style>
|
||||
<!-- Dialog -->
|
||||
<style name="KeepassDXStyle.Dark.Dialog" parent="KeepassDXStyle.Night.Dialog">
|
||||
<item name="colorAccent">@color/cyan_lighter</item>
|
||||
<item name="android:textColorPrimary">@color/cyan_lightest</item>
|
||||
<item name="android:background">@color/black_lighter</item>
|
||||
<item name="background">@color/black_lighter</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Dark.DateTime.Dialog" parent="Theme.AppCompat.DayNight.Dialog">
|
||||
<item name="colorAccent">@color/cyan_lighter</item>
|
||||
<item name="android:textColorPrimary">@color/cyan_lightest</item>
|
||||
<item name="android:windowBackground">@color/black_lighter</item>
|
||||
</style>
|
||||
<!-- CardView -->
|
||||
<style name="KeepassDXStyle.Cardview.Dark" parent="CardView">
|
||||
<item name="cardBackgroundColor">@color/black_light</item>
|
||||
</style>
|
||||
</resources>
|
||||
@@ -92,4 +92,70 @@
|
||||
<style name="KeepassDXStyle.Cardview.White" parent="CardView">
|
||||
<item name="cardBackgroundColor">@color/white</item>
|
||||
</style>
|
||||
|
||||
<!-- Black Style -->
|
||||
<style name="KeepassDXStyle.Black" parent="KeepassDXStyle.Night" >
|
||||
<item name="colorPrimary">@color/black_light</item>
|
||||
<item name="colorPrimaryDark">@color/black</item>
|
||||
<item name="colorAccent">@color/orange_dark</item>
|
||||
<item name="colorAccentLight">@color/orange</item>
|
||||
<item name="colorControlNormal">@color/grey_light</item>
|
||||
<item name="colorControlActivated">@color/green_darker</item>
|
||||
<item name="android:textColorPrimary">@color/green</item>
|
||||
<item name="android:textColorHintInverse">@color/green_light</item>
|
||||
<item name="android:windowBackground">@color/black</item>
|
||||
<item name="toolbarAppearance">@style/KeepassDXStyle.Toolbar.Black</item>
|
||||
<item name="toolbarHomeAppearance">@style/KeepassDXStyle.Toolbar.Home.Black</item>
|
||||
<item name="toolbarSpecialAppearance">@style/KeepassDXStyle.Toolbar.Special.Black</item>
|
||||
<item name="toolbarActionAppearance">@style/KeepassDXStyle.Toolbar.Action.Black</item>
|
||||
<item name="popupTheme">@style/KeepassDXStyle.Toolbar.Popup.Black</item>
|
||||
<item name="android:alertDialogTheme">@style/KeepassDXStyle.Black.Dialog</item>
|
||||
<item name="alertDialogTheme">@style/KeepassDXStyle.Black.Dialog</item>
|
||||
<item name="cardViewStyle">@style/KeepassDXStyle.Cardview.Black</item>
|
||||
<item name="cardBackgroundTransparentColor">@color/black_light_transparent</item>
|
||||
<item name="educationCircleColor">@color/orange_dark</item>
|
||||
<item name="educationTextColor">@color/white</item>
|
||||
</style>
|
||||
<!-- Toolbar Style Black -->
|
||||
<style name="KeepassDXStyle.Toolbar.Black" parent="KeepassDXStyle.Black">
|
||||
<item name="colorControlNormal">@color/white</item>
|
||||
<item name="android:textColorPrimary">@color/white</item>
|
||||
<item name="android:textColorSecondary">@color/grey_lighter</item>
|
||||
<item name="android:editTextColor">@color/white</item>
|
||||
<item name="android:textColorHint">@color/green_lighter</item>
|
||||
<item name="android:tint">@color/white</item>
|
||||
</style>
|
||||
<!-- Toolbar Popup menu -->
|
||||
<style name="KeepassDXStyle.Toolbar.Popup.Black" parent="KeepassDXStyle.Toolbar.Black">
|
||||
<item name="android:colorBackground">@color/black_lighter</item>
|
||||
</style>
|
||||
<!-- Toolbar Home Black -->
|
||||
<style name="KeepassDXStyle.Toolbar.Home.Black" parent="KeepassDXStyle.Toolbar.Black">
|
||||
<item name="toolbarNavigationButtonStyle">@style/KeepassDXStyle.Toolbar.Navigation.Tinted</item>
|
||||
</style>
|
||||
<!-- Special Toolbar Black -->
|
||||
<style name="KeepassDXStyle.Toolbar.Special.Black" parent="KeepassDXStyle.Toolbar.Black">
|
||||
<item name="toolbarStyle">@style/KeepassDXStyle.Toolbar.Widget.Special.Black</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Toolbar.Widget.Special.Black" parent="KeepassDXStyle.Toolbar.Widget.Special">
|
||||
<item name="android:background">@color/black</item>
|
||||
</style>
|
||||
<!-- Action Toolbar Black -->
|
||||
<style name="KeepassDXStyle.Toolbar.Action.Black" parent="KeepassDXStyle.Toolbar.Black">
|
||||
<item name="toolbarStyle">@style/KeepassDXStyle.Toolbar.Widget.Action.Black</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Toolbar.Widget.Action.Black" parent="Widget.AppCompat.Toolbar">
|
||||
<item name="android:background">@color/black_light</item>
|
||||
</style>
|
||||
<!-- Dialog -->
|
||||
<style name="KeepassDXStyle.Black.Dialog" parent="KeepassDXStyle.Night.Dialog">
|
||||
<item name="colorAccent">@color/orange_dark</item>
|
||||
<item name="android:textColorPrimary">@color/green_dark</item>
|
||||
<item name="android:background">@color/black_lighter</item>
|
||||
<item name="background">@color/black_lighter</item>
|
||||
</style>
|
||||
<!-- CardView -->
|
||||
<style name="KeepassDXStyle.Cardview.Black" parent="CardView">
|
||||
<item name="cardBackgroundColor">@color/black_light</item>
|
||||
</style>
|
||||
</resources>
|
||||
@@ -18,7 +18,79 @@
|
||||
along with KeePassDX. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<resources>
|
||||
<!-- Purple Style -->
|
||||
<!-- Light Purple Style -->
|
||||
<style name="KeepassDXStyle.Purple" parent="KeepassDXStyle.Purple.v21" />
|
||||
<style name="KeepassDXStyle.Purple.v21" parent="KeepassDXStyle.Light.v21" >
|
||||
<item name="colorPrimary">@color/purple</item>
|
||||
<item name="colorPrimaryDark">@color/purple_dark</item>
|
||||
<item name="colorAccent">@color/red</item>
|
||||
<item name="colorAccentLight">@color/red_light</item>
|
||||
<item name="colorControlActivated">@color/red_light</item>
|
||||
<item name="android:textColorPrimary">@color/purple_light</item>
|
||||
<item name="android:textColorHintInverse">@color/purple_lighter</item>
|
||||
<item name="android:windowBackground">@color/white_purple</item>
|
||||
<item name="toolbarAppearance">@style/KeepassDXStyle.Toolbar.Purple</item>
|
||||
<item name="toolbarHomeAppearance">@style/KeepassDXStyle.Toolbar.Home.Purple</item>
|
||||
<item name="toolbarSpecialAppearance">@style/KeepassDXStyle.Toolbar.Special.Purple</item>
|
||||
<item name="toolbarActionAppearance">@style/KeepassDXStyle.Toolbar.Action.Purple</item>
|
||||
<item name="popupTheme">@style/KeepassDXStyle.Toolbar.Popup.Purple</item>
|
||||
<item name="android:alertDialogTheme">@style/KeepassDXStyle.Purple.Dialog</item>
|
||||
<item name="alertDialogTheme">@style/KeepassDXStyle.Purple.Dialog</item>
|
||||
<item name="cardViewStyle">@style/KeepassDXStyle.Cardview.Purple</item>
|
||||
<item name="cardBackgroundTransparentColor">@color/white_purple_light_transparent</item>
|
||||
<item name="educationCircleColor">@color/purple_dark</item>
|
||||
<item name="educationTextColor">@color/white</item>
|
||||
</style>
|
||||
<!-- Toolbar Style Purple -->
|
||||
<style name="KeepassDXStyle.Toolbar.Purple" parent="KeepassDXStyle.Purple">
|
||||
<item name="colorControlActivated">@color/purple_lighter</item>
|
||||
<item name="colorControlNormal">@color/white</item>
|
||||
<item name="android:textColorPrimary">@color/white</item>
|
||||
<item name="android:textColorSecondary">@color/white</item>
|
||||
<item name="android:editTextColor">@color/white</item>
|
||||
<item name="android:textColorHint">@color/purple_lighter</item>
|
||||
<item name="android:tint">@color/white</item>
|
||||
</style>
|
||||
<!-- Toolbar Popup menu -->
|
||||
<style name="KeepassDXStyle.Toolbar.Popup.Purple" parent="KeepassDXStyle.Toolbar.Purple">
|
||||
<item name="android:colorBackground">@color/white_purple</item>
|
||||
</style>
|
||||
<!-- Toolbar Home Purple -->
|
||||
<style name="KeepassDXStyle.Toolbar.Home.Purple" parent="KeepassDXStyle.Toolbar.Purple">
|
||||
<item name="toolbarNavigationButtonStyle">@style/KeepassDXStyle.Toolbar.Navigation.Tinted</item>
|
||||
</style>
|
||||
<!-- Special Toolbar Purple -->
|
||||
<style name="KeepassDXStyle.Toolbar.Special.Purple" parent="KeepassDXStyle.Toolbar.Purple">
|
||||
<item name="toolbarStyle">@style/KeepassDXStyle.Toolbar.Widget.Special.Purple</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Toolbar.Widget.Special.Purple" parent="KeepassDXStyle.Toolbar.Widget.Special">
|
||||
<item name="android:background">@color/purple_dark</item>
|
||||
</style>
|
||||
<!-- Action Toolbar Purple -->
|
||||
<style name="KeepassDXStyle.Toolbar.Action.Purple" parent="KeepassDXStyle.Toolbar.Purple">
|
||||
<item name="toolbarStyle">@style/KeepassDXStyle.Toolbar.Widget.Action.Purple</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Toolbar.Widget.Action.Purple" parent="Widget.AppCompat.Toolbar">
|
||||
<item name="android:background">@color/purple</item>
|
||||
</style>
|
||||
<!-- Dialog -->
|
||||
<style name="KeepassDXStyle.Purple.Dialog" parent="KeepassDXStyle.Light.Dialog">
|
||||
<item name="colorAccent">@color/red</item>
|
||||
<item name="android:textColorPrimary">@color/purple_light</item>
|
||||
<item name="android:background">@color/white_purple</item>
|
||||
<item name="background">@color/white_purple</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Purple.DateTime.Dialog" parent="Theme.AppCompat.Light.Dialog">
|
||||
<item name="colorAccent">@color/red</item>
|
||||
<item name="android:textColorPrimary">@color/purple_light</item>
|
||||
<item name="android:windowBackground">@color/white_purple</item>
|
||||
</style>
|
||||
<!-- CardView -->
|
||||
<style name="KeepassDXStyle.Cardview.Purple" parent="CardView">
|
||||
<item name="cardBackgroundColor">@color/white_purple_light</item>
|
||||
</style>
|
||||
|
||||
<!-- Dark Purple Style -->
|
||||
<style name="KeepassDXStyle.Purple.Dark" parent="KeepassDXStyle.Purple.Dark.v21" />
|
||||
<style name="KeepassDXStyle.Purple.Dark.v21" parent="KeepassDXStyle.Night.v21" >
|
||||
<item name="colorPrimary">@color/purple_darker</item>
|
||||
@@ -18,7 +18,67 @@
|
||||
along with KeePassDX. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<resources>
|
||||
<!-- Blue Style -->
|
||||
<!-- Light Blue Style -->
|
||||
<style name="KeepassDXStyle.Blue" parent="KeepassDXStyle.Blue.v21" />
|
||||
<style name="KeepassDXStyle.Blue.v21" parent="KeepassDXStyle.Light" >
|
||||
<item name="colorPrimary">@color/blue</item>
|
||||
<item name="colorPrimaryDark">@color/blue_dark</item>
|
||||
<item name="colorAccent">@color/blue_white</item>
|
||||
<item name="colorAccentLight">@color/blue_lighter</item>
|
||||
<item name="colorControlActivated">@color/blue_white</item>
|
||||
<item name="android:textColorPrimary">@color/blue_light</item>
|
||||
<item name="android:textColorHintInverse">@color/blue_lighter</item>
|
||||
<item name="android:windowBackground">@color/white_dark</item>
|
||||
<item name="toolbarAppearance">@style/KeepassDXStyle.Toolbar.Blue</item>
|
||||
<item name="toolbarHomeAppearance">@style/KeepassDXStyle.Toolbar.Home.Blue</item>
|
||||
<item name="toolbarSpecialAppearance">@style/KeepassDXStyle.Toolbar.Special.Blue</item>
|
||||
<item name="toolbarActionAppearance">@style/KeepassDXStyle.Toolbar.Action.Blue</item>
|
||||
<item name="android:alertDialogTheme">@style/KeepassDXStyle.Blue.Dialog</item>
|
||||
<item name="alertDialogTheme">@style/KeepassDXStyle.Blue.Dialog</item>
|
||||
<item name="educationCircleColor">@color/blue_dark</item>
|
||||
<item name="educationTextColor">@color/white</item>
|
||||
</style>
|
||||
<!-- Toolbar Style Blue -->
|
||||
<style name="KeepassDXStyle.Toolbar.Blue" parent="KeepassDXStyle.Blue">
|
||||
<item name="colorControlActivated">@color/blue_lighter</item>
|
||||
<item name="colorControlNormal">@color/white</item>
|
||||
<item name="android:textColorPrimary">@color/white</item>
|
||||
<item name="android:textColorSecondary">@color/white</item>
|
||||
<item name="android:editTextColor">@color/white</item>
|
||||
<item name="android:textColorHint">@color/blue_lighter</item>
|
||||
<item name="android:tint">@color/white</item>
|
||||
</style>
|
||||
<!-- Toolbar Home Blue -->
|
||||
<style name="KeepassDXStyle.Toolbar.Home.Blue" parent="KeepassDXStyle.Toolbar.Blue">
|
||||
<item name="toolbarNavigationButtonStyle">@style/KeepassDXStyle.Toolbar.Navigation.Tinted</item>
|
||||
</style>
|
||||
<!-- Special Toolbar Blue -->
|
||||
<style name="KeepassDXStyle.Toolbar.Special.Blue" parent="KeepassDXStyle.Toolbar.Blue">
|
||||
<item name="toolbarStyle">@style/KeepassDXStyle.Toolbar.Widget.Special.Blue</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Toolbar.Widget.Special.Blue" parent="KeepassDXStyle.Toolbar.Widget.Special">
|
||||
<item name="android:background">@color/blue_dark</item>
|
||||
</style>
|
||||
<!-- Action Toolbar Blue -->
|
||||
<style name="KeepassDXStyle.Toolbar.Action.Blue" parent="KeepassDXStyle.Toolbar.Blue">
|
||||
<item name="toolbarStyle">@style/KeepassDXStyle.Toolbar.Widget.Action.Blue</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Toolbar.Widget.Action.Blue" parent="Widget.AppCompat.Toolbar">
|
||||
<item name="android:background">@color/blue</item>
|
||||
</style>
|
||||
<!-- Dialog -->
|
||||
<style name="KeepassDXStyle.Blue.Dialog" parent="KeepassDXStyle.Light.Dialog">
|
||||
<item name="colorAccent">@color/blue_lighter</item>
|
||||
<item name="android:textColorPrimary">@color/blue</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Blue.DateTime.Dialog" parent="Theme.AppCompat.Light.Dialog">
|
||||
<item name="colorAccent">@color/blue</item>
|
||||
<item name="android:textColorPrimary">@color/blue</item>
|
||||
<item name="android:windowBackground">@color/white_dark</item>
|
||||
</style>
|
||||
|
||||
|
||||
<!-- Dark Blue Style -->
|
||||
<style name="KeepassDXStyle.Blue.Night" parent="KeepassDXStyle.Blue.Night.v21" />
|
||||
<style name="KeepassDXStyle.Blue.Night.v21" parent="KeepassDXStyle.Night" >
|
||||
<item name="colorPrimary">@color/blue</item>
|
||||
@@ -1,93 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright 2018 Jeremy Jamet / Kunzisoft.
|
||||
|
||||
This file is part of KeePassDX.
|
||||
|
||||
KeePassDX is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
KeePassDX is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with KeePassDX. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<resources>
|
||||
<!-- Purple Style -->
|
||||
<style name="KeepassDXStyle.Purple" parent="KeepassDXStyle.Purple.v21" />
|
||||
<style name="KeepassDXStyle.Purple.v21" parent="KeepassDXStyle.Light.v21" >
|
||||
<item name="colorPrimary">@color/purple</item>
|
||||
<item name="colorPrimaryDark">@color/purple_dark</item>
|
||||
<item name="colorAccent">@color/red</item>
|
||||
<item name="colorAccentLight">@color/red_light</item>
|
||||
<item name="colorControlActivated">@color/red_light</item>
|
||||
<item name="android:textColorPrimary">@color/purple_light</item>
|
||||
<item name="android:textColorHintInverse">@color/purple_lighter</item>
|
||||
<item name="android:windowBackground">@color/white_purple</item>
|
||||
<item name="toolbarAppearance">@style/KeepassDXStyle.Toolbar.Purple</item>
|
||||
<item name="toolbarHomeAppearance">@style/KeepassDXStyle.Toolbar.Home.Purple</item>
|
||||
<item name="toolbarSpecialAppearance">@style/KeepassDXStyle.Toolbar.Special.Purple</item>
|
||||
<item name="toolbarActionAppearance">@style/KeepassDXStyle.Toolbar.Action.Purple</item>
|
||||
<item name="popupTheme">@style/KeepassDXStyle.Toolbar.Popup.Purple</item>
|
||||
<item name="android:alertDialogTheme">@style/KeepassDXStyle.Purple.Dialog</item>
|
||||
<item name="alertDialogTheme">@style/KeepassDXStyle.Purple.Dialog</item>
|
||||
<item name="cardViewStyle">@style/KeepassDXStyle.Cardview.Purple</item>
|
||||
<item name="cardBackgroundTransparentColor">@color/white_purple_light_transparent</item>
|
||||
<item name="educationCircleColor">@color/purple_dark</item>
|
||||
<item name="educationTextColor">@color/white</item>
|
||||
</style>
|
||||
<!-- Toolbar Style Purple -->
|
||||
<style name="KeepassDXStyle.Toolbar.Purple" parent="KeepassDXStyle.Purple">
|
||||
<item name="colorControlActivated">@color/purple_lighter</item>
|
||||
<item name="colorControlNormal">@color/white</item>
|
||||
<item name="android:textColorPrimary">@color/white</item>
|
||||
<item name="android:textColorSecondary">@color/white</item>
|
||||
<item name="android:editTextColor">@color/white</item>
|
||||
<item name="android:textColorHint">@color/purple_lighter</item>
|
||||
<item name="android:tint">@color/white</item>
|
||||
</style>
|
||||
<!-- Toolbar Popup menu -->
|
||||
<style name="KeepassDXStyle.Toolbar.Popup.Purple" parent="KeepassDXStyle.Toolbar.Purple">
|
||||
<item name="android:colorBackground">@color/white_purple</item>
|
||||
</style>
|
||||
<!-- Toolbar Home Purple -->
|
||||
<style name="KeepassDXStyle.Toolbar.Home.Purple" parent="KeepassDXStyle.Toolbar.Purple">
|
||||
<item name="toolbarNavigationButtonStyle">@style/KeepassDXStyle.Toolbar.Navigation.Tinted</item>
|
||||
</style>
|
||||
<!-- Special Toolbar Purple -->
|
||||
<style name="KeepassDXStyle.Toolbar.Special.Purple" parent="KeepassDXStyle.Toolbar.Purple">
|
||||
<item name="toolbarStyle">@style/KeepassDXStyle.Toolbar.Widget.Special.Purple</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Toolbar.Widget.Special.Purple" parent="KeepassDXStyle.Toolbar.Widget.Special">
|
||||
<item name="android:background">@color/purple_dark</item>
|
||||
</style>
|
||||
<!-- Action Toolbar Purple -->
|
||||
<style name="KeepassDXStyle.Toolbar.Action.Purple" parent="KeepassDXStyle.Toolbar.Purple">
|
||||
<item name="toolbarStyle">@style/KeepassDXStyle.Toolbar.Widget.Action.Purple</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Toolbar.Widget.Action.Purple" parent="Widget.AppCompat.Toolbar">
|
||||
<item name="android:background">@color/purple</item>
|
||||
</style>
|
||||
|
||||
<!-- Dialog -->
|
||||
<style name="KeepassDXStyle.Purple.Dialog" parent="KeepassDXStyle.Light.Dialog">
|
||||
<item name="colorAccent">@color/red</item>
|
||||
<item name="android:textColorPrimary">@color/purple_light</item>
|
||||
<item name="android:background">@color/white_purple</item>
|
||||
<item name="background">@color/white_purple</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Purple.DateTime.Dialog" parent="Theme.AppCompat.Light.Dialog">
|
||||
<item name="colorAccent">@color/red</item>
|
||||
<item name="android:textColorPrimary">@color/purple_light</item>
|
||||
<item name="android:windowBackground">@color/white_purple</item>
|
||||
</style>
|
||||
<!-- CardView -->
|
||||
<style name="KeepassDXStyle.Cardview.Purple" parent="CardView">
|
||||
<item name="cardBackgroundColor">@color/white_purple_light</item>
|
||||
</style>
|
||||
</resources>
|
||||
@@ -1,79 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright 2018 Jeremy Jamet / Kunzisoft.
|
||||
|
||||
This file is part of KeePassDX.
|
||||
|
||||
KeePassDX is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
KeePassDX is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with KeePassDX. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<resources>
|
||||
<!-- Red Style -->
|
||||
<style name="KeepassDXStyle.Red" parent="KeepassDXStyle.Red.v21" />
|
||||
<style name="KeepassDXStyle.Red.v21" parent="KeepassDXStyle.Light" >
|
||||
<item name="colorPrimary">@color/red</item>
|
||||
<item name="colorPrimaryDark">@color/red_dark</item>
|
||||
<item name="colorAccent">@color/orange</item>
|
||||
<item name="colorAccentLight">@color/orange_light</item>
|
||||
<item name="colorControlActivated">@color/orange</item>
|
||||
<item name="android:textColorPrimary">@color/red</item>
|
||||
<item name="android:textColorHintInverse">@color/red_lighter</item>
|
||||
<item name="android:windowBackground">@color/white_dark</item>
|
||||
<item name="toolbarAppearance">@style/KeepassDXStyle.Toolbar.Red</item>
|
||||
<item name="toolbarHomeAppearance">@style/KeepassDXStyle.Toolbar.Home.Red</item>
|
||||
<item name="toolbarSpecialAppearance">@style/KeepassDXStyle.Toolbar.Special.Red</item>
|
||||
<item name="toolbarActionAppearance">@style/KeepassDXStyle.Toolbar.Action.Red</item>
|
||||
<item name="android:alertDialogTheme">@style/KeepassDXStyle.Red.Dialog</item>
|
||||
<item name="alertDialogTheme">@style/KeepassDXStyle.Red.Dialog</item>
|
||||
<item name="educationCircleColor">@color/red_dark</item>
|
||||
<item name="educationTextColor">@color/white</item>
|
||||
</style>
|
||||
<!-- Toolbar Style Red -->
|
||||
<style name="KeepassDXStyle.Toolbar.Red" parent="KeepassDXStyle.Red">
|
||||
<item name="colorControlActivated">@color/red_lighter</item>
|
||||
<item name="colorControlNormal">@color/white</item>
|
||||
<item name="android:textColorPrimary">@color/white</item>
|
||||
<item name="android:textColorSecondary">@color/white</item>
|
||||
<item name="android:editTextColor">@color/white</item>
|
||||
<item name="android:textColorHint">@color/red_lighter</item>
|
||||
<item name="android:tint">@color/white</item>
|
||||
</style>
|
||||
<!-- Toolbar Home Red -->
|
||||
<style name="KeepassDXStyle.Toolbar.Home.Red" parent="KeepassDXStyle.Toolbar.Red">
|
||||
<item name="toolbarNavigationButtonStyle">@style/KeepassDXStyle.Toolbar.Navigation.Tinted</item>
|
||||
</style>
|
||||
<!-- Special Toolbar Red -->
|
||||
<style name="KeepassDXStyle.Toolbar.Special.Red" parent="KeepassDXStyle.Toolbar.Red">
|
||||
<item name="toolbarStyle">@style/KeepassDXStyle.Toolbar.Widget.Special.Red</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Toolbar.Widget.Special.Red" parent="KeepassDXStyle.Toolbar.Widget.Special">
|
||||
<item name="android:background">@color/red_dark</item>
|
||||
</style>
|
||||
<!-- Action Toolbar Red -->
|
||||
<style name="KeepassDXStyle.Toolbar.Action.Red" parent="KeepassDXStyle.Toolbar.Red">
|
||||
<item name="toolbarStyle">@style/KeepassDXStyle.Toolbar.Widget.Action.Red</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Toolbar.Widget.Action.Red" parent="Widget.AppCompat.Toolbar">
|
||||
<item name="android:background">@color/red</item>
|
||||
</style>
|
||||
<!-- Dialog -->
|
||||
<style name="KeepassDXStyle.Red.Dialog" parent="KeepassDXStyle.Light.Dialog">
|
||||
<item name="colorAccent">@color/red</item>
|
||||
<item name="android:textColorPrimary">@color/orange</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Red.DateTime.Dialog" parent="Theme.AppCompat.Light.Dialog">
|
||||
<item name="colorAccent">@color/red</item>
|
||||
<item name="android:textColorPrimary">@color/orange</item>
|
||||
<item name="android:windowBackground">@color/white_dark</item>
|
||||
</style>
|
||||
</resources>
|
||||
@@ -18,7 +18,66 @@
|
||||
along with KeePassDX. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<resources>
|
||||
<!-- Red Style -->
|
||||
<!-- Light Red Style -->
|
||||
<style name="KeepassDXStyle.Red" parent="KeepassDXStyle.Red.v21" />
|
||||
<style name="KeepassDXStyle.Red.v21" parent="KeepassDXStyle.Light" >
|
||||
<item name="colorPrimary">@color/red</item>
|
||||
<item name="colorPrimaryDark">@color/red_dark</item>
|
||||
<item name="colorAccent">@color/orange</item>
|
||||
<item name="colorAccentLight">@color/orange_light</item>
|
||||
<item name="colorControlActivated">@color/orange</item>
|
||||
<item name="android:textColorPrimary">@color/red</item>
|
||||
<item name="android:textColorHintInverse">@color/red_lighter</item>
|
||||
<item name="android:windowBackground">@color/white_dark</item>
|
||||
<item name="toolbarAppearance">@style/KeepassDXStyle.Toolbar.Red</item>
|
||||
<item name="toolbarHomeAppearance">@style/KeepassDXStyle.Toolbar.Home.Red</item>
|
||||
<item name="toolbarSpecialAppearance">@style/KeepassDXStyle.Toolbar.Special.Red</item>
|
||||
<item name="toolbarActionAppearance">@style/KeepassDXStyle.Toolbar.Action.Red</item>
|
||||
<item name="android:alertDialogTheme">@style/KeepassDXStyle.Red.Dialog</item>
|
||||
<item name="alertDialogTheme">@style/KeepassDXStyle.Red.Dialog</item>
|
||||
<item name="educationCircleColor">@color/red_dark</item>
|
||||
<item name="educationTextColor">@color/white</item>
|
||||
</style>
|
||||
<!-- Toolbar Style Red -->
|
||||
<style name="KeepassDXStyle.Toolbar.Red" parent="KeepassDXStyle.Red">
|
||||
<item name="colorControlActivated">@color/red_lighter</item>
|
||||
<item name="colorControlNormal">@color/white</item>
|
||||
<item name="android:textColorPrimary">@color/white</item>
|
||||
<item name="android:textColorSecondary">@color/white</item>
|
||||
<item name="android:editTextColor">@color/white</item>
|
||||
<item name="android:textColorHint">@color/red_lighter</item>
|
||||
<item name="android:tint">@color/white</item>
|
||||
</style>
|
||||
<!-- Toolbar Home Red -->
|
||||
<style name="KeepassDXStyle.Toolbar.Home.Red" parent="KeepassDXStyle.Toolbar.Red">
|
||||
<item name="toolbarNavigationButtonStyle">@style/KeepassDXStyle.Toolbar.Navigation.Tinted</item>
|
||||
</style>
|
||||
<!-- Special Toolbar Red -->
|
||||
<style name="KeepassDXStyle.Toolbar.Special.Red" parent="KeepassDXStyle.Toolbar.Red">
|
||||
<item name="toolbarStyle">@style/KeepassDXStyle.Toolbar.Widget.Special.Red</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Toolbar.Widget.Special.Red" parent="KeepassDXStyle.Toolbar.Widget.Special">
|
||||
<item name="android:background">@color/red_dark</item>
|
||||
</style>
|
||||
<!-- Action Toolbar Red -->
|
||||
<style name="KeepassDXStyle.Toolbar.Action.Red" parent="KeepassDXStyle.Toolbar.Red">
|
||||
<item name="toolbarStyle">@style/KeepassDXStyle.Toolbar.Widget.Action.Red</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Toolbar.Widget.Action.Red" parent="Widget.AppCompat.Toolbar">
|
||||
<item name="android:background">@color/red</item>
|
||||
</style>
|
||||
<!-- Dialog -->
|
||||
<style name="KeepassDXStyle.Red.Dialog" parent="KeepassDXStyle.Light.Dialog">
|
||||
<item name="colorAccent">@color/red</item>
|
||||
<item name="android:textColorPrimary">@color/orange</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Red.DateTime.Dialog" parent="Theme.AppCompat.Light.Dialog">
|
||||
<item name="colorAccent">@color/red</item>
|
||||
<item name="android:textColorPrimary">@color/orange</item>
|
||||
<item name="android:windowBackground">@color/white_dark</item>
|
||||
</style>
|
||||
|
||||
<!-- Night Red Style -->
|
||||
<style name="KeepassDXStyle.Red.Night" parent="KeepassDXStyle.Red.Night.v21" />
|
||||
<style name="KeepassDXStyle.Red.Night.v21" parent="KeepassDXStyle.Night" >
|
||||
<item name="colorPrimary">@color/red</item>
|
||||
Reference in New Issue
Block a user