Themes fixes

This commit is contained in:
M M Arif
2022-08-12 08:15:35 +05:00
parent f34a8bd096
commit d0646ff08b
6 changed files with 6 additions and 3 deletions

View File

@@ -121,12 +121,14 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/CustomMaterCardViewStyle"
app:cardBackgroundColor="?attr/primaryBackgroundColor"
app:strokeWidth="@dimen/dimen0dp"
app:strokeColor="?attr/colorPrimary">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/primaryBackgroundColor"
android:orientation="vertical">
<com.google.android.material.card.MaterialCardView

View File

@@ -88,6 +88,7 @@
android:layout_height="match_parent"
android:layout_marginTop="@dimen/dimen200dp"
style="@style/CustomMaterCardViewStyle"
app:cardBackgroundColor="?attr/primaryBackgroundColor"
app:strokeWidth="@dimen/dimen0dp"
android:elevation="@dimen/dimen0dp"
app:strokeColor="?attr/colorPrimary">

View File

@@ -7,6 +7,7 @@
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/primaryBackgroundColor"
android:padding="@dimen/dimen8dp">
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout

View File

@@ -11,7 +11,6 @@
android:id="@+id/card"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:cardBackgroundColor="?attr/primaryBackgroundColor"
style="?attr/materialCardViewFilledStyle">
<LinearLayout

View File

@@ -63,7 +63,7 @@
<color name="pitchBlackThemeTextColor">#d2d2d2</color>
<color name="pitchBlackThemeDividerColor">#0E0E0E</color>
<color name="pitchBlackThemeGeneralBackgroundColor">#151515</color>
<color name="pitchBlackThemeColorSecondary">#050505</color>
<color name="pitchBlackThemeColorSecondary">#1e2221</color>
<color name="pitchBlackThemeCardBackground">#0C0C0C</color>
<!-- code editor colors -->

View File

@@ -149,7 +149,7 @@
<item name="colorPrimary">@color/darkGreen</item>
<item name="colorSecondary">@color/pitchBlackThemeTextColor</item>
<item name="colorOnSurfaceVariant">@color/pitchBlackThemeTextColor</item>
<item name="colorSecondaryContainer">@color/colorSecondaryContainer</item>
<item name="colorSecondaryContainer">@color/pitchBlackThemeColorSecondary</item>
<item name="materialCardBackgroundColor">@color/pitchBlackThemeCardBackground</item>
<item name="diffAddedColor">@color/diffAddedColor</item>