<?xml version="1.0" encoding="utf-8"?>
<resources>
    <style name="HabiticaAppTheme" parent="Theme.AppCompat">
        <item name="android:windowBackground">@color/watch_black</item>
        <item name="background">@color/watch_black</item>
        <item name="fontFamily">sans-serif</item>
    </style>

    <style name="Theme.App.Starting" parent="Theme.SplashScreen">
        <!-- Set the splash screen background to black -->
        <item name="windowSplashScreenBackground">@android:color/black</item>
        <!-- Use windowSplashScreenAnimatedIcon to add a drawable or an animated
             drawable. -->
        <item name="windowSplashScreenAnimatedIcon">@drawable/splash_screen</item>
        <!-- Set the theme of the Activity that follows your splash screen. -->
        <item name="postSplashScreenTheme">@style/HabiticaAppTheme</item>
    </style>

    <style name="Chip">
        <item name="android:layout_marginVertical">@dimen/row_spacing</item>
        <item name="android:layout_marginHorizontal">@dimen/row_side_spacing</item>
        <item name="android:paddingHorizontal">@dimen/row_padding_horizontal</item>
        <item name="android:paddingVertical">@dimen/row_padding_vertical</item>
        <item name="android:background">@drawable/row_background</item>
        <item name="android:gravity">start|center_vertical</item>
        <item name="android:minHeight">52dp</item>
        <item name="android:foreground">@drawable/touch_feedback</item>
    </style>

    <style name="Chip.NoPadding" parent="Chip">
        <item name="android:layout_marginHorizontal">0dp</item>
    </style>

    <style name="ChipButton">
        <item name="android:paddingHorizontal">@dimen/row_padding_horizontal</item>
        <item name="android:paddingVertical">@dimen/row_padding_vertical</item>
        <item name="android:background">@drawable/row_background</item>
        <item name="android:textSize">16sp</item>
        <item name="android:textColor">@color/watch_white</item>
        <item name="android:fontFamily">sans-serif-medium</item>
        <item name="android:gravity">center</item>
        <item name="android:minHeight">52dp</item>
        <item name="android:textAllCaps">false</item>
        <item name="android:letterSpacing">0.01</item>
        <item name="android:foreground">@drawable/touch_feedback</item>
    </style>

    <style name="ChipButton.Icon" parent="ChipButton">
        <item name="android:gravity">start|center_vertical</item>
        <item name="android:textSize">14sp</item>
        <item name="android:drawablePadding">8dp</item>
    </style>

    <style name="ChipButton.Small" parent="ChipButton">
        <item name="android:textSize">14sp</item>
        <item name="android:minHeight">32dp</item>
    </style>

    <style name="ChipButton.Icon.Purple" parent="ChipButton.Icon">
        <item name="android:backgroundTint">@color/watch_purple_100</item>
        <item name="android:textColor">@color/watch_black</item>
    </style>

    <style name="ChipButton.Purple" parent="ChipButton">
        <item name="android:backgroundTint">@drawable/button_state_color</item>
        <item name="android:textColor">@drawable/button_text_state_color</item>
    </style>

    <style name="ChipButton.Red" parent="ChipButton">
        <item name="android:backgroundTint">@color/watch_red_200</item>
        <item name="android:textColor">@color/watch_black</item>
    </style>

    <style name="ChipButton.Small.Red" parent="ChipButton.Small">
        <item name="android:backgroundTint">@color/watch_red_200</item>
        <item name="android:textColor">@color/watch_black</item>
    </style>

    <style name="ChipButton.Small.Yellow" parent="ChipButton.Small">
        <item name="android:backgroundTint">@color/watch_yellow_200</item>
        <item name="android:textColor">@color/watch_black</item>
    </style>

    <style name="Text" />

    <style name="Text.SubHeader1">
        <item name="android:fontFamily">sans-serif-medium</item>
        <item name="android:textSize">16sp</item>
    </style>

    <style name="Text.Body1">
        <item name="android:fontFamily">sans-serif-medium</item>
        <item name="fontFamily">sans-serif-medium</item>
        <item name="android:textSize">14sp</item>
    </style>
    <style name="Text.Body2">
        <item name="android:textSize">14sp</item>
        <item name="android:fontFamily">sans-serif</item>
    </style>

    <style name="Text.TextActionChipTextView">
        <item name="android:layout_centerVertical">true</item>
        <item name="android:layout_marginStart">37dp</item>
        <item name="android:clickable">false</item>
        <item name="android:duplicateParentState">true</item>
        <item name="android:elevation">2dp</item>
        <item name="android:fontFamily">sans-serif-medium</item>
        <item name="android:letterSpacing">.01</item>
        <item name="android:paddingHorizontal">10dp</item>
        <item name="android:textColor">@color/watch_white</item>
        <item name="android:textSize">16sp</item>
    </style>

    <style name="EditText">
        <item name="android:fontFamily">sans-serif-medium</item>
        <item name="android:textColor">@color/watch_gray_200</item>
        <item name="android:textColorHint">@color/watch_gray_200</item>
    </style>

    <style name="TextAppearanceTime">
        <item name="android:textColor">@android:color/white</item>
        <item name="android:textSize">14sp</item>
        <item name="android:lineSpacingExtra">4sp</item>
    </style>
    <style name="TextTime">
        <item name="android:paddingHorizontal">4dp</item>
    </style>
</resources>
