Skip to content

Commit 0a4e25f

Browse files
committed
updated themes.xml and colors.xml
1 parent a5d293b commit 0a4e25f

File tree

4 files changed

+30
-22
lines changed

4 files changed

+30
-22
lines changed
+13-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
<resources xmlns:tools="http://schemas.android.com/tools">
2-
<!-- Base application theme for dark mode. -->
3-
<style name="Base.Theme.LoginFormSQLiteAndroid.Dark" parent="Theme.Material3.DayNight.NoActionBar">
4-
<!-- Customize your dark theme here. -->
5-
<item name="colorPrimary">@color/colorPrimary</item>
6-
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
7-
<item name="colorAccent">@color/colorLightBlue</item>
2+
<!-- Application theme for dark theme. -->
3+
<style name="Theme.LoginFormSQLiteAndroid" parent="Theme.Material3.DayNight.NoActionBar">
4+
<!-- Primary brand color. -->
5+
<item name="colorPrimary">@color/blue_light</item>
6+
<item name="colorPrimaryVariant">@color/blue</item>
7+
<item name="colorOnPrimary">@color/black</item>
8+
<!-- Secondary brand color. -->
9+
<item name="colorSecondary">@color/blue_light</item>
10+
<item name="colorSecondaryVariant">@color/blue_light</item>
11+
<item name="colorOnSecondary">@color/black</item>
12+
<!-- Status bar color. -->
13+
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
14+
<!-- Customize your theme here. -->
815
</style>
9-
10-
<style name="Theme.LoginFormSQLiteAndroid.Dark" parent="Base.Theme.LoginFormSQLiteAndroid.Dark" />
1116
</resources>

app/src/main/res/values/colors.xml

+4-6
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
<resources>
33
<color name="black">#FF000000</color>
44
<color name="white">#FFFFFFFF</color>
5-
<color name="colorPrimary">#0071c5</color>
6-
<color name="colorPrimaryDark">#003c71</color>
7-
<color name="colorAccent">#5ea6ed</color>
8-
<color name="colorLightBlue">#aed9f5</color>
9-
<color name="colorGrayBlue">#7c98b6</color>
10-
</resources>
5+
<color name="blue">#0288D1</color>
6+
<color name="blue_dark">#005B9F</color>
7+
<color name="blue_light">#81D4FA</color>
8+
</resources>

app/src/main/res/values/strings.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<resources>
2-
<string name="app_name">SimplePhpLoginAndroid</string>
2+
<string name="app_name">Simple Login Android</string>
33
<string name="Login">Iniciar Sesión</string>
44
<string name="contrasena">Contraseña</string>
55
<string name="usuario">Usuario</string>

app/src/main/res/values/themes.xml

+12-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
<resources xmlns:tools="http://schemas.android.com/tools">
22
<!-- Base application theme. -->
3-
<style name="Base.Theme.LoginFormSQLiteAndroid" parent="Theme.Material3.DayNight.NoActionBar">
4-
<!-- Customize your light theme here. -->
5-
<item name="colorPrimary">@color/colorLightBlue</item>
6-
<item name="colorPrimaryDark">@color/colorPrimary</item>
7-
<item name="colorAccent">@color/colorAccent</item>
3+
<style name="Theme.LoginFormSQLiteAndroid" parent="Theme.Material3.DayNight.NoActionBar">
4+
<!-- Primary brand color. -->
5+
<item name="colorPrimary">@color/blue</item>
6+
<item name="colorPrimaryVariant">@color/blue_dark</item>
7+
<item name="colorOnPrimary">@color/white</item>
8+
<!-- Secondary brand color. -->
9+
<item name="colorSecondary">@color/blue_light</item>
10+
<item name="colorSecondaryVariant">@color/blue_light</item>
11+
<item name="colorOnSecondary">@color/black</item>
12+
<!-- Status bar color. -->
13+
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
14+
<!-- Customize your theme here. -->
815
</style>
9-
10-
<style name="Theme.LoginFormSQLiteAndroid" parent="Base.Theme.LoginFormSQLiteAndroid" />
1116
</resources>

0 commit comments

Comments
 (0)