fix: Breadcrumb and colors

This commit is contained in:
J-Jamet committed 2023-07-24 20:32:40 +02:00
1 parent d0a072554e
commit 6001f68cce
5 files changed
+44 -46

No files matched your search

+1 -4
View File
@@ -21,9 +21,9 @@
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/breadcrumb_group"
android:layout_margin="4dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginVertical="@dimen/margin_vertical_breadcrumb"
android:minHeight="@dimen/min_height_breadcrumb"
android:background="?android:attr/selectableItemBackground"
style="@style/KeepassDXStyle.Cardview.Surface.Small">
@@ -33,7 +33,6 @@
android:orientation="horizontal"
android:gravity="center"
android:layout_gravity="center"
android:layout_marginHorizontal="5dp"
android:baselineAligned="false">
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/group_icon"
@@ -67,8 +66,6 @@
android:src="@drawable/ic_arrow_right_white_24dp"
app:tint="?attr/colorOnSurface"
android:importantForAccessibility="no"
android:layout_marginEnd="6dp"
android:layout_marginRight="6dp"
tools:targetApi="jelly_bean" />
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
@@ -23,8 +23,8 @@
android:id="@+id/breadcrumb_group"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="4dp"
android:minHeight="@dimen/min_height_breadcrumb"
android:layout_marginVertical="@dimen/margin_vertical_breadcrumb"
android:background="?android:attr/selectableItemBackground"
style="@style/KeepassDXStyle.Cardview.Surface.Small">
<LinearLayout
@@ -42,7 +42,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="true"
style="@style/KeepassDXStyle.Title.OnSurface"
style="@style/KeepassDXStyle.Text.Large.OnSurface"
android:ellipsize="marquee"/>
<TextView
+40 -40
View File
@@ -127,10 +127,10 @@
<color name="forest_theme_light_onPrimary">@color/white</color>
<color name="forest_theme_light_primaryContainer">@color/green</color>
<color name="forest_theme_light_onPrimaryContainer">@color/white</color>
<color name="forest_theme_light_secondary">@color/orange</color>
<color name="forest_theme_light_onSecondary">@color/green_black_light</color>
<color name="forest_theme_light_secondaryContainer">@color/orange</color>
<color name="forest_theme_light_onSecondaryContainer">@color/green_black_light</color>
<color name="forest_theme_light_secondary">@color/orange_dark</color>
<color name="forest_theme_light_onSecondary">@color/white</color>
<color name="forest_theme_light_secondaryContainer">@color/orange_dark</color>
<color name="forest_theme_light_onSecondaryContainer">@color/white</color>
<color name="forest_theme_light_tertiary">#835500</color>
<color name="forest_theme_light_onTertiary">#FFFFFF</color>
<color name="forest_theme_light_tertiaryContainer">#FFDDB4</color>
@@ -139,15 +139,15 @@
<color name="forest_theme_light_errorContainer">#FFDAD6</color>
<color name="forest_theme_light_onError">#FFFFFF</color>
<color name="forest_theme_light_onErrorContainer">#410002</color>
<color name="forest_theme_light_background">@color/green_white</color>
<color name="forest_theme_light_background">#D4F1D0</color>
<color name="forest_theme_light_onBackground">#1A1C19</color>
<color name="forest_theme_light_surface">@color/green_whitest</color>
<color name="forest_theme_light_surface">#D0ECCC</color>
<color name="forest_theme_light_onSurface">#3C423A</color>
<color name="forest_theme_light_surfaceContainerLowest">@color/green_white_lightest</color>
<color name="forest_theme_light_surfaceContainerLow">@color/green_white_light</color>
<color name="forest_theme_light_surfaceContainer">@color/green_white_dark</color>
<color name="forest_theme_light_surfaceContainerHigh">@color/green_white_darker</color>
<color name="forest_theme_light_surfaceContainerHighest">@color/green_white_darkest</color>
<color name="forest_theme_light_surfaceContainerLowest">#D3EDD0</color>
<color name="forest_theme_light_surfaceContainerLow">#CDEACA</color>
<color name="forest_theme_light_surfaceContainer">#C8E8C5</color>
<color name="forest_theme_light_surfaceContainerHigh">#C2E4BF</color>
<color name="forest_theme_light_surfaceContainerHighest">#BEE1BB</color>
<color name="forest_theme_light_surfaceVariant">#DEE5D8</color>
<color name="forest_theme_light_onSurfaceVariant">#424940</color>
<color name="forest_theme_light_outline">#72796F</color>
@@ -172,7 +172,7 @@
<color name="forest_theme_night_errorContainer">#93000A</color>
<color name="forest_theme_night_onError">#690005</color>
<color name="forest_theme_night_onErrorContainer">#FFDAD6</color>
<color name="forest_theme_night_background">#1A1C19</color>
<color name="forest_theme_night_background">#182219</color>
<color name="forest_theme_night_onBackground">#E2E3DD</color>
<color name="forest_theme_night_surface">#1A251C</color>
<color name="forest_theme_night_onSurface">#E2E3DD</color>
@@ -194,11 +194,11 @@
<color name="classic_theme_light_primaryDark">@color/white_darkest</color>
<color name="classic_theme_light_onPrimary">@color/white</color>
<color name="classic_theme_light_primaryContainer">@color/cyan_lighter</color>
<color name="classic_theme_light_onPrimaryContainer">@color/white_darkest</color>
<color name="classic_theme_light_onPrimaryContainer">@color/white</color>
<color name="classic_theme_light_secondary">@color/cyan</color>
<color name="classic_theme_light_onSecondary">@color/white_grey_light</color>
<color name="classic_theme_light_onSecondary">@color/white</color>
<color name="classic_theme_light_secondaryContainer">@color/cyan</color>
<color name="classic_theme_light_onSecondaryContainer">@color/white_grey_light</color>
<color name="classic_theme_light_onSecondaryContainer">@color/white</color>
<color name="classic_theme_light_tertiary">@color/cyan_dark</color>
<color name="classic_theme_light_onTertiary">@color/white</color>
<color name="classic_theme_light_tertiaryContainer">@color/cyan_dark</color>
@@ -337,8 +337,8 @@
<color name="simple_theme_light_onPrimaryContainer">@color/white_darkest</color>
<color name="simple_theme_light_secondary">@color/blue_deep</color>
<color name="simple_theme_light_onSecondary">@color/white</color>
<color name="simple_theme_light_secondaryContainer">#1959AE</color>
<color name="simple_theme_light_onSecondaryContainer">@color/white</color>
<color name="simple_theme_light_secondaryContainer">#B9DFFF</color>
<color name="simple_theme_light_onSecondaryContainer">#151B2C</color>
<color name="simple_theme_light_tertiary">@color/cyan_dark</color>
<color name="simple_theme_light_onTertiary">@color/white</color>
<color name="simple_theme_light_tertiaryContainer">@color/cyan_dark</color>
@@ -367,11 +367,11 @@
<color name="simple_theme_night_primary">#1A66CC</color>
<color name="simple_theme_night_primaryDark">@color/grey_slight</color>
<color name="simple_theme_night_onPrimary">@color/white</color>
<color name="simple_theme_night_primaryContainer">@color/blue_deep</color>
<color name="simple_theme_night_primaryContainer">#0D58BA</color>
<color name="simple_theme_night_onPrimaryContainer">@color/white</color>
<color name="simple_theme_night_secondary">@color/blue_slight</color>
<color name="simple_theme_night_onSecondary">@color/white</color>
<color name="simple_theme_night_secondaryContainer">#0E61CF</color>
<color name="simple_theme_night_secondaryContainer">#043370</color>
<color name="simple_theme_night_onSecondaryContainer">@color/white_grey_light</color>
<color name="simple_theme_night_tertiary">@color/cyan_dark</color>
<color name="simple_theme_night_onTertiary">@color/white</color>
@@ -381,15 +381,15 @@
<color name="simple_theme_night_errorContainer">#93000A</color>
<color name="simple_theme_night_onError">#690005</color>
<color name="simple_theme_night_onErrorContainer">#FFDAD6</color>
<color name="simple_theme_night_background">@color/grey_slight</color>
<color name="simple_theme_night_background">#191A1B</color>
<color name="simple_theme_night_onBackground">#DDE3E3</color>
<color name="simple_theme_night_surface">@color/grey_slight_dark</color>
<color name="simple_theme_night_surface">#191A1B</color>
<color name="simple_theme_night_onSurface">#F1F2F3</color>
<color name="simple_theme_night_surfaceContainerLowest">#222D30</color>
<color name="simple_theme_night_surfaceContainerLow">#212B2F</color>
<color name="simple_theme_night_surfaceContainer">#1D262C</color>
<color name="simple_theme_night_surfaceContainerHigh">#1B252B</color>
<color name="simple_theme_night_surfaceContainerHighest">#182025</color>
<color name="simple_theme_night_surfaceContainerLowest">#212B2F</color>
<color name="simple_theme_night_surfaceContainerLow">#1D262C</color>
<color name="simple_theme_night_surfaceContainer">#1B252B</color>
<color name="simple_theme_night_surfaceContainerHigh">#182025</color>
<color name="simple_theme_night_surfaceContainerHighest">#141A1E</color>
<color name="simple_theme_night_surfaceVariant">#404649</color>
<color name="simple_theme_night_onSurfaceVariant">#C2C9BD</color>
<color name="simple_theme_night_outline">#888F93</color>
@@ -419,7 +419,7 @@
<color name="moon_theme_light_onErrorContainer">#410002</color>
<color name="moon_theme_light_background">#EBF7FF</color>
<color name="moon_theme_light_onBackground">@color/cyan_dark</color>
<color name="moon_theme_light_surface">@color/blue_white</color>
<color name="moon_theme_light_surface">#D8E7F6</color>
<color name="moon_theme_light_onSurface">@color/cyan_dark</color>
<color name="moon_theme_light_surfaceContainerLowest">#E9F5FF</color>
<color name="moon_theme_light_surfaceContainerLow">#E1F1FF</color>
@@ -489,7 +489,7 @@
<color name="sun_theme_light_onErrorContainer">#410002</color>
<color name="sun_theme_light_background">@color/red_white_light</color>
<color name="sun_theme_light_onBackground">@color/red_black_dark</color>
<color name="sun_theme_light_surface">#FFEBED</color>
<color name="sun_theme_light_surface">#FFEDEF</color>
<color name="sun_theme_light_onSurface">@color/red_black_dark</color>
<color name="sun_theme_light_surfaceContainerLowest">#FBEBEB</color>
<color name="sun_theme_light_surfaceContainerLow">#FAE2E2</color>
@@ -523,7 +523,7 @@
<color name="sun_theme_night_onErrorContainer">#FFDAD6</color>
<color name="sun_theme_night_background">@color/red_black_dark</color>
<color name="sun_theme_night_onBackground">#DDE3E3</color>
<color name="sun_theme_night_surface">#332023</color>
<color name="sun_theme_night_surface">#2E1D20</color>
<color name="sun_theme_night_onSurface">#F1F2F3</color>
<color name="sun_theme_night_surfaceContainerLowest">#4E2B2E</color>
<color name="sun_theme_night_surfaceContainerLow">#432527</color>
@@ -559,7 +559,7 @@
<color name="reply_theme_light_onErrorContainer">#410002</color>
<color name="reply_theme_light_background">#D4DFE4</color>
<color name="reply_theme_light_onBackground">#27343A</color>
<color name="reply_theme_light_surface">#D1DADF</color>
<color name="reply_theme_light_surface">#CCD7DC</color>
<color name="reply_theme_light_onSurface">#27343A</color>
<color name="reply_theme_light_surfaceContainerLowest">#EFF1F3</color>
<color name="reply_theme_light_surfaceContainerLow">#EAEDEF</color>
@@ -612,13 +612,13 @@
<color name="purple_theme_light_primary">@color/red</color>
<color name="purple_theme_light_primaryDark">#F5F3F6</color>
<color name="purple_theme_light_onPrimary">@color/white_purple</color>
<color name="purple_theme_light_onPrimary">@color/white</color>
<color name="purple_theme_light_primaryContainer">@color/red</color>
<color name="purple_theme_light_onPrimaryContainer">@color/white_darkest</color>
<color name="purple_theme_light_onPrimaryContainer">@color/white</color>
<color name="purple_theme_light_secondary">@color/red</color>
<color name="purple_theme_light_onSecondary">@color/purple_lighter</color>
<color name="purple_theme_light_onSecondary">@color/white</color>
<color name="purple_theme_light_secondaryContainer">#8449A8</color>
<color name="purple_theme_light_onSecondaryContainer">@color/white_purple</color>
<color name="purple_theme_light_onSecondaryContainer">@color/white</color>
<color name="purple_theme_light_tertiary">#CD35CA</color>
<color name="purple_theme_light_onTertiary">@color/white</color>
<color name="purple_theme_light_tertiaryContainer">#CD35CA</color>
@@ -627,15 +627,15 @@
<color name="purple_theme_light_errorContainer">#FFDAD6</color>
<color name="purple_theme_light_onError">#FFFFFF</color>
<color name="purple_theme_light_onErrorContainer">#410002</color>
<color name="purple_theme_light_background">#ECCDF9</color>
<color name="purple_theme_light_background">#FEE5FF</color>
<color name="purple_theme_light_onBackground">#2A2033</color>
<color name="purple_theme_light_surface">#F3D6FF</color>
<color name="purple_theme_light_onSurface">@color/red_black_dark</color>
<color name="purple_theme_light_surfaceContainerLowest">#F7E9FF</color>
<color name="purple_theme_light_surfaceContainerLow">#F2E1FB</color>
<color name="purple_theme_light_surfaceContainer">#F4E0FF</color>
<color name="purple_theme_light_surfaceContainerHigh">#F2DAFF</color>
<color name="purple_theme_light_surfaceContainerHighest">#F0D6FD</color>
<color name="purple_theme_light_surfaceContainerLowest">#FAE1FB</color>
<color name="purple_theme_light_surfaceContainerLow">#F9DDFA</color>
<color name="purple_theme_light_surfaceContainer">#FADBFB</color>
<color name="purple_theme_light_surfaceContainerHigh">#F6D3F8</color>
<color name="purple_theme_light_surfaceContainerHighest">#F9D3FB</color>
<color name="purple_theme_light_surfaceVariant">#DFD8E5</color>
<color name="purple_theme_light_onSurfaceVariant">#454049</color>
<color name="purple_theme_light_outline">#756F79</color>
+1
View File
@@ -40,5 +40,6 @@
<dimen name="card_radius">12dp</dimen>
<dimen name="small_card_radius">24dp</dimen>
<dimen name="min_height_breadcrumb">48dp</dimen>
<dimen name="margin_vertical_breadcrumb">8dp</dimen>
<integer name="animation_duration">260</integer>
</resources>