From 4e83ddb75c128b889a212f1314a7d5b49d360726 Mon Sep 17 00:00:00 2001 From: Taras <tarassmakula@gmail.com> Date: Wed, 16 Feb 2022 10:43:23 +0200 Subject: [PATCH] Setup styles --- app/src/main/res/values/colors.xml | 21 ++++++++++++++++++++ app/src/main/res/values/strings.xml | 11 +++++++++++ app/src/main/res/values/styles.xml | 30 +++++++++++++++++++++++++++++ app/src/main/res/values/themes.xml | 17 ++++++++++++++++ 4 files changed, 79 insertions(+) create mode 100644 app/src/main/res/values/colors.xml create mode 100644 app/src/main/res/values/strings.xml create mode 100644 app/src/main/res/values/styles.xml create mode 100644 app/src/main/res/values/themes.xml diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml new file mode 100644 index 000000000..a6649b036 --- /dev/null +++ b/app/src/main/res/values/colors.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <color name="blue">#0E7AFE</color> + + <color name="purple_500">#FF6200EE</color> + <color name="purple_700">#FF3700B3</color> + <color name="teal_200">#FF03DAC5</color> + <color name="teal_700">#FF018786</color> + + <color name="black">#FF000000</color> + <color name="white">#FFFFFFFF</color> + <color name="status_bar_color">#20111111</color> + + <color name="green">#34C759</color> + <color name="purple">#AF52DE</color> + <color name="yellow">#FFCC00</color> + <color name="orange">#FF9500</color> + <color name="red">#FF3B30</color> + <color name="pink">#FF2D55</color> + +</resources> \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml new file mode 100644 index 000000000..a23991e62 --- /dev/null +++ b/app/src/main/res/values/strings.xml @@ -0,0 +1,11 @@ +<resources> + <string name="kombucha_social">Kombucha.social</string> + <string name="username">Username</string> + <string name="password">Password</string> + <string name="advanced_options">Advanced Options</string> + <string name="hide_advanced_options">Hide Advanced Options</string> + <string name="log_in">Log In</string> + <string name="not_a_member">Not a member?</string> + <string name="sign_up">Sign Up</string> + <string name="encryption_password">Encryption password</string> +</resources> \ No newline at end of file diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml new file mode 100644 index 000000000..79957db10 --- /dev/null +++ b/app/src/main/res/values/styles.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + + <style name="LoginButtonStyle" parent="@style/Widget.MaterialComponents.Button"> + <item name="textAllCaps">false</item> + <item name="cornerRadius">8dp</item> + <item name="android:padding">10dp</item> + <item name="android:textSize">17sp</item> + </style> + + <style name="headline" parent="TextAppearance.MaterialComponents.Headline6"> + <item name="android:textStyle">bold</item> + <item name="android:textSize">17sp</item> + </style> + + <style name="title0" parent="TextAppearance.MaterialComponents.Headline6"> + <item name="android:textStyle">bold</item> + <item name="android:textSize">34sp</item> + </style> + + <style name="body" parent="TextAppearance.MaterialComponents.Headline6"> + <item name="android:textStyle">normal</item> + <item name="android:textSize">17sp</item> + </style> + + <style name="footNote" parent="TextAppearance.MaterialComponents.Headline6"> + <item name="android:textStyle">normal</item> + <item name="android:textSize">13sp</item> + </style> +</resources> \ No newline at end of file diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml new file mode 100644 index 000000000..b21c15d52 --- /dev/null +++ b/app/src/main/res/values/themes.xml @@ -0,0 +1,17 @@ +<resources xmlns:tools="http://schemas.android.com/tools"> + <!-- Base application theme. --> + <style name="Theme.Circles" parent="Theme.MaterialComponents.Light.NoActionBar"> + <!-- Primary brand color. --> + <item name="colorPrimary">@color/blue</item> + <item name="colorPrimaryVariant">@color/purple_700</item> + <item name="colorOnPrimary">@color/white</item> + <!-- Secondary brand color. --> + <item name="colorSecondary">@color/teal_200</item> + <item name="colorSecondaryVariant">@color/teal_700</item> + <item name="colorOnSecondary">@color/black</item> + + <item name="android:statusBarColor">@color/status_bar_color</item> + </style> + + +</resources> \ No newline at end of file -- GitLab