<resources xmlns:tools="http://schemas.android.com/tools">

    <style name="WulkanowyTheme" parent="@style/Theme.Material3.DynamicColors.Dark">
        <item name="android:forceDarkAllowed" tools:targetApi="Q">false</item>

        <item name="colorPrimary">@color/material_dynamic_primary80</item>
        <item name="colorOnPrimary">@color/material_dynamic_primary20</item>
        <item name="colorPrimaryContainer">@color/material_dynamic_primary30</item>
        <item name="colorOnPrimaryContainer">@color/material_dynamic_primary90</item>

        <item name="colorSecondary">@color/material_dynamic_primary80</item>
        <item name="colorOnSecondary">@color/material_dynamic_primary20</item>
        <item name="colorSecondaryContainer">@color/material_dynamic_secondary30</item>
        <item name="colorOnSecondaryContainer">@color/material_dynamic_secondary80</item>

        <item name="colorTertiary">@color/material_dynamic_tertiary80</item>
        <item name="colorOnTertiary">@color/material_dynamic_tertiary20</item>
        <item name="colorTertiaryContainer">@color/material_dynamic_tertiary30</item>
        <item name="colorOnTertiaryContainer">@color/material_dynamic_tertiary90</item>

        <item name="android:colorBackground">@color/material_dynamic_neutral10</item>
        <item name="colorOnBackground">@color/material_dynamic_neutral90</item>

        <item name="colorSurface">@color/material_dynamic_neutral10</item>
        <item name="colorOnSurface">@color/material_dynamic_neutral90</item>
        <item name="colorSurfaceVariant">@color/material_dynamic_neutral_variant30</item>
        <item name="colorOnSurfaceVariant">@color/material_dynamic_neutral_variant80</item>

        <item name="colorOutline">@color/material_dynamic_neutral_variant60</item>
        <item name="colorSurfaceInverse">@color/material_dynamic_neutral99</item>
        <item name="colorOnSurfaceInverse">@color/material_dynamic_neutral10</item>
        <item name="colorPrimaryInverse">@color/material_dynamic_primary40</item>
        <item name="colorTimetableCanceled">@color/timetable_canceled_dark</item>
        <item name="colorTimetableChange">@color/timetable_change_dark</item>
        <item name="colorAttendanceAbsence">@color/attendance_absence_dark</item>
        <item name="colorAttendanceLateness">@color/attendance_lateness_dark</item>

        <item name="colorError">@color/colorErrorLight</item>
        <item name="colorDivider">@color/colorDividerInverse</item>
        <item name="colorSwipeRefresh">@color/material_dynamic_secondary20</item>
        <item name="colorMessageMedium">@color/dashboard_message_medium_dark</item>
        <item name="colorMessageHigh">@color/dashboard_message_high_dark</item>
        <item name="colorOnMessageHigh">@android:color/black</item>
        <item name="android:windowBackground">?colorSurface</item>
        <item name="android:textColor">@color/material_dynamic_neutral90</item>
        <item name="android:navigationBarColor">@android:color/transparent</item>
        <item name="android:statusBarColor">@android:color/transparent</item>
        <item name="android:windowLightNavigationBar" tools:targetApi="o_mr1">false</item>
        <item name="android:windowLightStatusBar" tools:targetApi="m">false</item>
        <item name="materialCardViewStyle">@style/Widget.Material3.CardView.Elevated</item>
        <item name="switchPreferenceCompatStyle">
            @style/Preference.Wulkanowy.SwitchPreferenceCompat
        </item>
        <item name="alertDialogTheme">@style/WulkanowyTheme.PreferenceAlertDialog</item>
    </style>

    <style name="WulkanowyTheme.Black" parent="WulkanowyTheme.NoActionBar">
        <item name="colorSurface">@android:color/black</item>
        <item name="android:navigationBarColor">@android:color/transparent</item>
        <item name="android:statusBarColor">@android:color/transparent</item>
        <item name="android:windowLightStatusBar" tools:targetApi="m">false</item>
    </style>

    <style name="Wulkanowy.Widget.Theme" parent="WulkanowyTheme">
        <item name="colorSurface">@color/material_dynamic_secondary20</item>
        <item name="colorPrimaryContainer">?attr/colorPrimary</item>
        <item name="colorOnPrimaryContainer">?attr/colorSurface</item>
        <item name="backgroundColor">@color/material_dynamic_neutral10</item>
    </style>
</resources>
