Bimba.git

ref: 7ad0ef262309552fdf48ef7596a8fe46a520fcf7

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


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<resources xmlns:tools="http://schemas.android.com/tools">

	<style name="Theme.Bimba" parent="Theme.Material3.Dark.NoActionBar">
		<item name="android:fontFamily">@font/railway</item>
		<item name="colorPrimary">@color/md_theme_dark_primary</item>
		<item name="colorOnPrimary">@color/md_theme_dark_onPrimary</item>
		<item name="colorPrimaryContainer">@color/md_theme_dark_primaryContainer</item>
		<item name="colorOnPrimaryContainer">@color/md_theme_dark_onPrimaryContainer</item>
		<item name="colorSecondary">@color/md_theme_dark_secondary</item>
		<item name="colorOnSecondary">@color/md_theme_dark_onSecondary</item>
		<item name="colorSecondaryContainer">@color/md_theme_dark_secondaryContainer</item>
		<item name="colorOnSecondaryContainer">@color/md_theme_dark_onSecondaryContainer</item>
		<item name="colorTertiary">@color/md_theme_dark_tertiary</item>
		<item name="colorOnTertiary">@color/md_theme_dark_onTertiary</item>
		<item name="colorTertiaryContainer">@color/md_theme_dark_tertiaryContainer</item>
		<item name="colorOnTertiaryContainer">@color/md_theme_dark_onTertiaryContainer</item>
		<item name="colorError">@color/md_theme_dark_error</item>
		<item name="colorErrorContainer">@color/md_theme_dark_errorContainer</item>
		<item name="colorOnError">@color/md_theme_dark_onError</item>
		<item name="colorOnErrorContainer">@color/md_theme_dark_onErrorContainer</item>
		<item name="android:colorBackground">@color/md_theme_dark_background</item>
		<item name="colorOnBackground">@color/md_theme_dark_onBackground</item>
		<item name="colorSurface">@color/md_theme_dark_surface</item>
		<item name="colorOnSurface">@color/md_theme_dark_onSurface</item>
		<item name="colorSurfaceVariant">@color/md_theme_dark_surfaceVariant</item>
		<item name="colorOnSurfaceVariant">@color/md_theme_dark_onSurfaceVariant</item>
		<item name="colorOutline">@color/md_theme_dark_outline</item>
		<item name="colorOnSurfaceInverse">@color/md_theme_dark_inverseOnSurface</item>
		<item name="colorSurfaceInverse">@color/md_theme_dark_inverseSurface</item>
		<item name="colorPrimaryInverse">@color/md_theme_dark_inversePrimary</item>

		<item name="statusBarBackground">@android:color/transparent</item>
		<item name="android:statusBarColor">@android:color/transparent</item>
		<item name="android:enforceStatusBarContrast" tools:targetApi="q">false</item>
		<item name="lightStatusBar">false</item>
	</style>

	<declare-styleable name="Theme.Bimba">
		<attr name="lightStatusBar" format="boolean" />
	</declare-styleable>

	<style name="Theme.Bimba.SearchBar" parent="MaterialSearchBarLight">
		<item name="mt_searchBarColor">@color/md_theme_dark_surfaceVariant</item>
		<item name="mt_textColor">@color/md_theme_dark_onSurfaceVariant</item>
		<item name="mt_placeholderColor">@color/md_theme_dark_onSurfaceVariant</item> <!-- todo(ui) grey out -->
		<item name="mt_backIconTint">@color/md_theme_dark_onSurfaceVariant</item>
		<item name="mt_navIconTint">@color/md_theme_dark_onSurfaceVariant</item>
		<item name="mt_searchIconTint">@color/md_theme_dark_onSurfaceVariant</item>
		<item name="mt_menuIconTint">@color/md_theme_dark_onSurfaceVariant</item>
		<item name="mt_clearIconTint">@color/md_theme_dark_onSurfaceVariant</item>
	</style>

	<style name="Theme.Bimba.SearchResult.Title" parent="Theme.Bimba">
		<item name="android:textColor">@color/md_theme_dark_onSurfaceVariant</item>
		<item name="android:textSize">16sp</item>
	</style>

	<style name="Theme.Bimba.SearchResult.Description" parent="Theme.Bimba">
		<item name="android:textColor">@color/md_theme_dark_onSurfaceVariant</item> <!-- todo(ui) grey out -->
		<item name="android:textSize">9sp</item>
	</style>
</resources>