This repository has been archived by the owner on Jan 5, 2023. It is now read-only.
/
themes.xml
92 lines (76 loc) · 4.31 KB
/
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2019 Google LLC
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ https://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Base.AppTheme" parent="Theme.MaterialComponents.DayNight.NoActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/color_primary</item>
<item name="colorPrimaryDark">@color/color_primary_dark</item>
<item name="colorSecondary">?attr/colorPrimary</item>
<item name="colorOnSecondary">@color/color_on_secondary</item>
<item name="colorControlLight">@color/color_control_light</item>
<!-- Window decor -->
<item name="android:windowLightStatusBar" tools:targetApi="m">@bool/use_light_status</item>
<item name="android:statusBarColor">@color/transparent</item>
<item name="android:windowLightNavigationBar" tools:targetApi="o_mr1">@bool/use_light_navigation</item>
<item name="android:navigationBarColor">@color/nav_bar_scrim</item>
<!-- Widget styles -->
<item name="toolbarStyle">@style/Widget.IOSched.Toolbar</item>
<item name="tabStyle">@style/Widget.IOSched.Tabs</item>
<item name="navigationViewStyle">@style/Widget.IOSched.NavigationView</item>
<item name="eventFilterViewStyle">@style/Widget.IOSched.EventFilters</item>
<!-- Text appearances -->
<item name="textAppearanceBody2">@style/TextAppearance.IOSched.Body2</item>
<item name="textAppearanceButton">@style/TextAppearance.IOSched.Button</item>
<item name="textAppearanceListItem">@style/TextAppearance.IOSched.ListPrimary</item>
<!-- Dialogs -->
<item name="materialAlertDialogTheme">@style/AlertDialog.Theme</item>
<!-- Custom theme attrs -->
<item name="ioschedNavigationBarDividerColor">?attr/colorControlLight</item>
<item name="sessionListKeyline">@dimen/session_keyline</item>
<item name="eventCardHeaderBackground">@color/event_card_header_background</item>
</style>
<style name="ThemeOverlay.IOSched.Light" parent="ThemeOverlay.MaterialComponents.Light">
<item name="colorPrimary">@color/deep_sky_blue</item>
<item name="colorPrimaryDark">@color/warm_blue</item>
</style>
<style name="ThemeOverlay.IOSched.Dark" parent="ThemeOverlay.MaterialComponents.Dark">
<item name="colorPrimary">@color/carolina_blue</item>
<item name="colorPrimaryDark">@color/cornflower_blue</item>
</style>
<style name="AppTheme" parent="Base.AppTheme" />
<style name="AppTheme.Launcher">
<item name="android:windowBackground">@drawable/preview_window</item>
</style>
<style name="AppTheme.Onboarding">
<item name="android:windowEnterAnimation">@android:anim/fade_in</item>
<item name="android:windowExitAnimation">@android:anim/fade_out</item>
</style>
<!-- Non-top-level screens should inflate with this theme to replace the keyline. -->
<style name="AppTheme.Detail">
<item name="sessionListKeyline">@dimen/margin_normal</item>
</style>
<style name="AppTheme.PopupTheme" parent="ThemeOverlay.IOSched.Light" />
<style name="AlertDialog.Theme" parent="ThemeOverlay.MaterialComponents.MaterialAlertDialog">
<item name="buttonBarStyle">@style/AlertDialog.ButtonBar</item>
<item name="dialogCornerRadius">@dimen/dialog_corner_radius</item>
<item name="dialogPreferredPadding">@dimen/dialogPreferredPadding</item>
<item name="materialAlertDialogTitleTextStyle">@style/AlertDialog.TitleText</item>
<item name="materialAlertDialogTitlePanelStyle">@style/AlertDialog.TitlePanel</item>
<item name="materialAlertDialogBodyTextStyle">@style/AlertDialog.BodyText</item>
</style>
</resources>