|
|
|
@ -14,29 +14,22 @@
|
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
|
limitations under the License.
|
|
|
|
|
-->
|
|
|
|
|
<resources>
|
|
|
|
|
<resources xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
|
|
|
|
|
|
<!-- Allows us to override night specific attributes in the
|
|
|
|
|
values-night folder. -->
|
|
|
|
|
<style name="NightAdjusted.Theme.Nia" parent="android:Theme.Material.Light.NoActionBar">
|
|
|
|
|
<item name="android:windowLightStatusBar" tools:targetApi="23">true</item>
|
|
|
|
|
<item name="android:windowLightNavigationBar" tools:targetApi="27">true</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- Allows us to override platform level specific attributes in their
|
|
|
|
|
respective values-vXX folder. -->
|
|
|
|
|
<style name="Platform.Theme.Nia" parent="Theme.Material3.DayNight">
|
|
|
|
|
<style name="PlatformAdjusted.Theme.Nia" parent="NightAdjusted.Theme.Nia">
|
|
|
|
|
<item name="android:statusBarColor">@color/black30</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- The actual theme we use. This varies for light theme (here),
|
|
|
|
|
and values-night for dark theme. -->
|
|
|
|
|
<!-- TODO Change colors here and in values-night when implementing M3 theme -->
|
|
|
|
|
<style name="Theme.Nia" parent="Platform.Theme.Nia">
|
|
|
|
|
<item name="colorPrimary">@color/purple_500</item>
|
|
|
|
|
<item name="colorPrimaryDark">@color/purple_700</item>
|
|
|
|
|
<item name="colorAccent">@color/teal_200</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<style name="Theme.Nia.NoActionBar">
|
|
|
|
|
<item name="windowActionBar">false</item>
|
|
|
|
|
<item name="windowNoTitle">true</item>
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<style name="Theme.Nia.AppBarOverlay" parent="ThemeOverlay.MaterialComponents.Dark.ActionBar" />
|
|
|
|
|
<!-- The final theme we use -->
|
|
|
|
|
<style name="Theme.Nia" parent="PlatformAdjusted.Theme.Nia" />
|
|
|
|
|
|
|
|
|
|
<style name="Theme.Nia.PopupOverlay" parent="ThemeOverlay.MaterialComponents.Light" />
|
|
|
|
|
</resources>
|
|
|
|
|