Bimba.git

ref: f1350174289a4a8e30886432f68347d82728c3ed

app/src/main/res/values/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
63
64
65
66
67
68
69
70
71
72
<resources xmlns:tool="http://schemas.android.com/tools">

	<style name="Theme.Bimba" parent="Theme.Material3.Light.NoActionBar">
		<item name="android:fontFamily">@font/yellowcircle8</item>
		<item name="colorPrimary">@color/md_theme_light_primary</item>
		<item name="colorOnPrimary">@color/md_theme_light_onPrimary</item>
		<item name="colorPrimaryContainer">@color/md_theme_light_primaryContainer</item>
		<item name="colorOnPrimaryContainer">@color/md_theme_light_onPrimaryContainer</item>
		<item name="colorSecondary">@color/md_theme_light_secondary</item>
		<item name="colorOnSecondary">@color/md_theme_light_onSecondary</item>
		<item name="colorSecondaryContainer">@color/md_theme_light_secondaryContainer</item>
		<item name="colorOnSecondaryContainer">@color/md_theme_light_onSecondaryContainer</item>
		<item name="colorTertiary">@color/md_theme_light_tertiary</item>
		<item name="colorOnTertiary">@color/md_theme_light_onTertiary</item>
		<item name="colorTertiaryContainer">@color/md_theme_light_tertiaryContainer</item>
		<item name="colorOnTertiaryContainer">@color/md_theme_light_onTertiaryContainer</item>
		<item name="colorError">@color/md_theme_light_error</item>
		<item name="colorErrorContainer">@color/md_theme_light_errorContainer</item>
		<item name="colorOnError">@color/md_theme_light_onError</item>
		<item name="colorOnErrorContainer">@color/md_theme_light_onErrorContainer</item>
		<item name="android:colorBackground">@color/md_theme_light_background</item>
		<item name="colorOnBackground">@color/md_theme_light_onBackground</item>
		<item name="colorSurface">@color/md_theme_light_surface</item>
		<item name="colorOnSurface">@color/md_theme_light_onSurface</item>
		<item name="colorSurfaceVariant">@color/md_theme_light_surfaceVariant</item>
		<item name="colorOnSurfaceVariant">@color/md_theme_light_onSurfaceVariant</item>
		<item name="colorOutline">@color/md_theme_light_outline</item>
		<item name="colorOnSurfaceInverse">@color/md_theme_light_inverseOnSurface</item>
		<item name="colorSurfaceInverse">@color/md_theme_light_inverseSurface</item>
		<item name="colorPrimaryInverse">@color/md_theme_light_inversePrimary</item>

		<item name="statusBarBackground">@android:color/transparent</item>
		<item name="android:statusBarColor">@android:color/transparent</item>
		<item name="android:enforceStatusBarContrast" tool:targetApi="q">false</item>
		<item name="lightStatusBar">true</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_light_surfaceVariant</item>
		<item name="mt_textColor">@color/md_theme_light_onSurfaceVariant</item>
		<item name="mt_placeholderColor">@color/md_theme_light_onSurfaceVariant
		</item> <!-- todo(ui) grey out -->
		<item name="mt_backIconTint">@color/md_theme_light_onSurfaceVariant</item>
		<item name="mt_navIconTint">@color/md_theme_light_onSurfaceVariant</item>
		<item name="mt_searchIconTint">@color/md_theme_light_onSurfaceVariant</item>
		<item name="mt_menuIconTint">@color/md_theme_light_onSurfaceVariant</item>
		<item name="mt_clearIconTint">@color/md_theme_light_onSurfaceVariant</item>
	</style>

	<style name="Theme.Bimba.SearchResult.Title" parent="Theme.Bimba">
		<item name="android:textColor">@color/md_theme_light_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_light_onSurfaceVariant
		</item> <!-- todo(ui) grey out -->
		<item name="android:textSize">9sp</item>
	</style>

	<style name="Theme.Bimba.Splash" parent="Theme.SplashScreen">
		<item name="windowSplashScreenAnimatedIcon">@drawable/ic_launcher_foreground</item>
		<item name="windowSplashScreenIconBackgroundColor">@color/ic_launcher_background</item>
		<item name="postSplashScreenTheme">@style/Theme.Bimba</item>
	</style>

	<style name="Theme.Bimba.Style" />
</resources>