Added fonts, styles

This commit is contained in:
Juja2025 2025-02-18 20:18:43 +03:00
parent 28fb8285df
commit 516f4475c4
10 changed files with 31 additions and 13 deletions

View File

@ -15,7 +15,7 @@
android:label="@string/app_name" android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round" android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true" android:supportsRtl="true"
android:theme="@style/Theme.Default" android:theme="@style/Theme.UiTemplate"
tools:targetApi="31"> tools:targetApi="31">
<activity <activity
android:name=".ui.RootActivity" android:name=".ui.RootActivity"

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -30,6 +30,7 @@
android:id="@+id/login" android:id="@+id/login"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
style="@style/Theme.UiTemplate.Button"
android:text="@string/login_button" /> android:text="@string/login_button" />
<ProgressBar <ProgressBar

View File

@ -7,4 +7,13 @@
<color name="teal_700">#FF018786</color> <color name="teal_700">#FF018786</color>
<color name="black">#FF000000</color> <color name="black">#FF000000</color>
<color name="white">#FFFFFFFF</color> <color name="white">#FFFFFFFF</color>
<color name="AccentBlue">#2B56F6</color>
<color name="BackgroundGray">#F6F6F6</color>
<color name="TextBlack">#252525</color>
<color name="ErrorRed">#EB5757</color>
<color name="Gray2">#F0F0F0</color>
<color name="Gray5">#979797</color>
<color name="Gray6">#4F4F4F</color>
<color name="Black2">#272727</color>
<color name="Black3">#130F26</color>
</resources> </resources>

View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Theme.UiTemplate.Button" parent="Widget.Material3.Button">
<item name="android:colorBackground">@color/AccentBlue</item>
<item name="cornerRadius">50dp</item>
<item name="android:height">59dp</item>
<item name="android:layout_width">match_parent</item>
<item name="android:textSize">16sp</item>
<item name="android:textColor">@color/white</item>
<item name="android:fontFamily">@font/gilroysemibold</item>
<item name="iconGravity">textEnd</item>
<item name="iconPadding">10dp</item>
</style>
</resources>

View File

@ -1,16 +1,10 @@
<resources xmlns:tools="http://schemas.android.com/tools"> <resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. --> <!-- Base application theme. -->
<style name="Theme.Default" parent="Theme.MaterialComponents.DayNight.NoActionBar"> <style name="Base.Theme.UiTemplate" parent="Theme.MaterialComponents.DayNight.NoActionBar">
<!-- Primary brand color. --> <!-- Customize your light theme here. -->
<item name="colorPrimary">@color/purple_500</item> <item name="colorPrimary">@color/AccentBlue</item>
<item name="colorPrimaryVariant">@color/purple_700</item> <item name="android:colorBackground">@color/white</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>
<!-- Status bar color. -->
<item name="android:statusBarColor">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
</style> </style>
<style name="Theme.UiTemplate" parent="Base.Theme.UiTemplate" />
</resources> </resources>