<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright 2022 The Android Open Source Project
  ~
  ~ 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
  ~
  ~     http://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>

    <style name="TextAppearance.MdcThemeTest.Headline1" parent="TextAppearance.MaterialComponents.Headline1">
        <item name="fontFamily">@font/rubik_300</item>
        <item name="android:textSize">97.54sp</item>
        <item name="android:letterSpacing">-0.0015</item>
    </style>

    <style name="TextAppearance.MdcThemeTest.Headline2" parent="TextAppearance.MaterialComponents.Headline2">
        <item name="android:shadowColor">@color/olive_drab</item>
        <item name="android:shadowDx">4.43</item>
        <item name="android:shadowDy">8.19</item>
        <item name="android:shadowRadius">2.13</item>
    </style>

    <style name="TextAppearance.MdcThemeTest.Headline3" parent="TextAppearance.MaterialComponents.Headline3">
        <item name="fontFamily">sans-serif</item>
    </style>

    <style name="TextAppearance.MdcThemeTest.Headline4" parent="TextAppearance.MaterialComponents.Headline4">
        <item name="fontFamily">sans-serif-light</item>
    </style>

    <style name="TextAppearance.MdcThemeTest.Headline5" parent="TextAppearance.MaterialComponents.Headline5">
        <item name="fontFamily">sans-serif-black</item>
    </style>

    <style name="TextAppearance.MdcThemeTest.Headline6" parent="TextAppearance.MaterialComponents.Headline6">
        <item name="fontFamily">serif</item>
    </style>

    <style name="TextAppearance.MdcThemeTest.Body1" parent="TextAppearance.MaterialComponents.Body1">
        <item name="fontFamily">@font/rubik_400</item>
        <item name="android:textSize">16.26sp</item>
        <item name="android:letterSpacing">0.005</item>
    </style>

    <style name="TextAppearance.MdcThemeTest.Body2" parent="TextAppearance.MaterialComponents.Body2">
        <item name="fontFamily">cursive</item>
    </style>

    <!-- Use TextAppearance.AppCompat.Subhead as parent to avoid inheriting letterSpacing -->
    <style name="TextAppearance.MdcThemeTest.Subtitle1" parent="TextAppearance.AppCompat.Subhead">
        <item name="fontFamily">monospace</item>
    </style>

    <style name="TextAppearance.MdcThemeTest.Subtitle2" parent="TextAppearance.MaterialComponents.Subtitle2">
        <item name="fontFamily">sans-serif-condensed</item>
    </style>

    <style name="TextAppearance.MdcThemeTest.Button" parent="TextAppearance.MaterialComponents.Button">
        <item name="fontFamily">@font/rubik_500</item>
    </style>

    <style name="TextAppearance.MdcThemeTest.Caption" parent="TextAppearance.MaterialComponents.Caption">
        <item name="fontFamily">@string/sans_serif_condensed_light</item>
        <item name="android:letterSpacing">0.04</item>
    </style>

    <!-- Having a string resource with a font family causes TypedValue to have a resource ID -->
    <!-- eg. TextAppearance.AppCompat -->
    <string name="sans_serif_condensed_light">sans-serif-condensed-light</string>

    <style name="TextAppearance.MdcThemeTest.Overline" parent="TextAppearance.MaterialComponents.Overline">
        <item name="fontFamily">sans-serif-condensed-medium</item>
    </style>

</resources>