<commit_before><?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools">

    <!--============-->
    <!-- Base Theme -->
    <!--============-->

    <!--== Theme base ==-->
    <style name="Base.Theme.Tachiyomi" parent="Theme.MaterialComponents.DayNight.NoActionBar">
        <!-- Disallow "Force dark theme" -->
        <item name="android:forceDarkAllowed" tools:targetApi="Q">false</item>

        <!-- Theme colors -->
        <item name="colorPrimary">@color/accent_default</item>
        <item name="colorPrimaryVariant">?attr/colorPrimary</item>
        <item name="colorOnPrimary">@color/md_white_1000</item>
        <item name="colorSecondary">?attr/colorPrimary</item>
        <item name="colorSecondaryVariant">?attr/colorPrimaryVariant</item>
        <item name="colorOnSecondary">?attr/colorOnPrimary</item>
        <item name="colorTertiary">@color/green</item>
        <item name="colorOnTertiary">@color/md_white_1000</item>
        <item name="colorToolbar">?attr/colorSurface</item>
        <item name="colorOnToolbar">?attr/colorOnSurface</item>
        <item name="colorSurface">@color/surface_default</item>
        <item name="android:colorBackground">@color/background_default</item>
        <item name="android:divider">@color/divider_default</item>
        <item name="android:listDivider">@drawable/line_divider</item>

        <!-- Ripples -->
        <item name="colorControlHighlight">@color/ripple_colored_default</item>
        <item name="rippleColorToolbar">?attr/colorControlHighlight</item>

        <!-- Handles RTL text -->
        <item name="android:textAlignment">gravity</item>
        <item name="android:textDirection">locale</item>

        <!-- Themes -->
        <item name="android:windowLightStatusBar">@bool/lightStatusBar</item>
        <item name="android:statusBarColor">?attr/colorSurface</item>
        <item name="android:navigationBarColor">@color/surface_amoled</item>
        <item name="android:navigationBarDividerColor" tools:targetApi="o_mr1">@null</item>
        <item name="android:enforceNavigationBarContrast" tools:targetApi="Q">false</item>
        <item name="android:enforceStatusBarContrast" tools:targetApi="Q">false</item>
        <item name="android:itemTextAppearance">@style/TextAppearance.Widget.Menu</item>
        <item name="textAppearanceButton">@style/TextAppearance.Widget.Button</item>
        <item name="android:backgroundDimAmount">0.32</item>
        <item name="windowActionModeOverlay">true</item>
        <item name="actionModeStyle">@style/Widget.Tachiyomi.ActionMode</item>
        <item name="actionOverflowButtonStyle">@style/Theme.Tachiyomi.ActionButton.Overflow</item>
        <item name="actionModeCloseButtonStyle">@style/Theme.Tachiyomi.ActionMode.CloseButton</item>
        <item name="actionModeCloseDrawable">@drawable/ic_close_24dp</item>
        <item name="actionBarTheme">@style/ThemeOverlay.Tachiyomi.ActionBar</item>
        <item name="toolbarNavigationButtonStyle">@style/Widget.Tachiyomi.Toolbar.Button.Navigation</item>
        <item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
        <item name="bottomSheetDialogTheme">@style/ThemeOverlay.Tachiyomi.BottomSheetDialog</item>
        <item name="chipStyle">@style/Widget.Tachiyomi.Chip.Action</item>
        <item name="chipTextColor">?android:attr/textColorPrimary</item>
        <item name="chipBackgroundColor">?attr/colorControlHighlight</item>
        <item name="snackbarStyle">@style/Widget.Tachiyomi.Snackbar</item>
        <item name="snackbarTextViewStyle">@style/Widget.Tachiyomi.Snackbar.TextView</item>
        <item name="textInputStyle">@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox</item>
        <item name="appBarLayoutStyle">@style/Widget.MaterialComponents.AppBarLayout.Surface</item>
        <item name="toolbarStyle">@style/Widget.MaterialComponents.Toolbar.Surface</item>
        <item name="tabStyle">@style/Widget.Tachiyomi.TabLayout</item>
        <item name="bottomNavigationStyle">@style/Widget.Tachiyomi.BottomNavigationView</item>
        <item name="navigationRailStyle">@style/Widget.Tachiyomi.NavigationRailView</item>
        <item name="elevationOverlayEnabled">false</item>
        <item name="lightSystemBarsOnPrimary">false</item>

        <!-- Material Dialogs -->
        <item name="md_background_color">?attr/colorSurface</item>
        <item name="md_color_title">?attr/colorOnSurface</item>
        <item name="md_color_content">?attr/colorOnSurface</item>
        <item name="md_color_button_text">?attr/colorPrimary</item>
        <item name="md_button_casing">literal</item>
        <item name="md_corner_radius">@dimen/dialog_radius</item>

        <!-- Custom Attributes-->
        <item name="colorFilterActive">@color/filter_light</item>
    </style>

    <style name="Theme.Tachiyomi" parent="Base.Theme.Tachiyomi" />

    <style name="Theme.Tachiyomi.Blue">
        <!-- Theme colors -->
        <item name="colorPrimary">@color/accent_blue</item>
        <item name="colorControlHighlight">@color/ripple_colored_blue</item>
    </style>

    <!--== Strawberry Daiquiri theme ==-->
    <style name="Theme.Tachiyomi.StrawberryDaiquiri">
        <!-- Theme colors -->
        <item name="colorPrimary">@color/accent_strawberry</item>
        <item name="colorTertiary">@color/md_blue_A400</item>
        <item name="colorControlHighlight">@color/ripple_colored_strawberry</item>
    </style>

    <!--== Yotsuba theme ==-->
    <style name="Theme.Tachiyomi.Yotsuba">
        <!-- Theme colors -->
        <item name="colorPrimary">@color/accent_yotsuba</item>
        <item name="colorTertiary">@color/md_blue_A400</item>
        <item name="colorControlHighlight">@color/ripple_colored_yotsuba</item>
    </style>

    <!--== Green Apple theme ==-->
    <style name="Theme.Tachiyomi.GreenApple">
        <!-- Theme colors -->
        <item name="colorPrimary">@color/accent_greenapple</item>
        <item name="colorOnPrimary">@color/color_on_primary_greenapple</item>
        <item name="colorTertiary">@color/md_blue_A400</item>
        <item name="colorControlHighlight">@color/ripple_colored_greenapple</item>
        <item name="lightSystemBarsOnPrimary">true</item>
    </style>

    <!--== Yin Yang theme ==-->
    <style name="Theme.Tachiyomi.YinYang">
        <!-- Theme colors -->
        <item name="colorPrimary">@color/accent_yinyang</item>
        <item name="colorOnSecondary">@color/color_on_secondary_yinyang</item>
        <item name="colorTertiary">@color/color_on_secondary_yinyang</item>
        <item name="colorOnTertiary">@color/accent_yinyang</item>
        <item name="colorControlHighlight">@color/ripple_colored_yinyang</item>
<commit_msg>fix yin & yang theme (#5535)<commit_after><?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools">

    <!--============-->
    <!-- Base Theme -->
    <!--============-->

    <!--== Theme base ==-->
    <style name="Base.Theme.Tachiyomi" parent="Theme.MaterialComponents.DayNight.NoActionBar">
        <!-- Disallow "Force dark theme" -->
        <item name="android:forceDarkAllowed" tools:targetApi="Q">false</item>

        <!-- Theme colors -->
        <item name="colorPrimary">@color/accent_default</item>
        <item name="colorPrimaryVariant">?attr/colorPrimary</item>
        <item name="colorOnPrimary">@color/md_white_1000</item>
        <item name="colorSecondary">?attr/colorPrimary</item>
        <item name="colorSecondaryVariant">?attr/colorPrimaryVariant</item>
        <item name="colorOnSecondary">?attr/colorOnPrimary</item>
        <item name="colorTertiary">@color/green</item>
        <item name="colorOnTertiary">@color/md_white_1000</item>
        <item name="colorToolbar">?attr/colorSurface</item>
        <item name="colorOnToolbar">?attr/colorOnSurface</item>
        <item name="colorSurface">@color/surface_default</item>
        <item name="android:colorBackground">@color/background_default</item>
        <item name="android:divider">@color/divider_default</item>
        <item name="android:listDivider">@drawable/line_divider</item>

        <!-- Ripples -->
        <item name="colorControlHighlight">@color/ripple_colored_default</item>
        <item name="rippleColorToolbar">?attr/colorControlHighlight</item>

        <!-- Handles RTL text -->
        <item name="android:textAlignment">gravity</item>
        <item name="android:textDirection">locale</item>

        <!-- Themes -->
        <item name="android:windowLightStatusBar">@bool/lightStatusBar</item>
        <item name="android:statusBarColor">?attr/colorSurface</item>
        <item name="android:navigationBarColor">@color/surface_amoled</item>
        <item name="android:navigationBarDividerColor" tools:targetApi="o_mr1">@null</item>
        <item name="android:enforceNavigationBarContrast" tools:targetApi="Q">false</item>
        <item name="android:enforceStatusBarContrast" tools:targetApi="Q">false</item>
        <item name="android:itemTextAppearance">@style/TextAppearance.Widget.Menu</item>
        <item name="textAppearanceButton">@style/TextAppearance.Widget.Button</item>
        <item name="android:backgroundDimAmount">0.32</item>
        <item name="windowActionModeOverlay">true</item>
        <item name="actionModeStyle">@style/Widget.Tachiyomi.ActionMode</item>
        <item name="actionOverflowButtonStyle">@style/Theme.Tachiyomi.ActionButton.Overflow</item>
        <item name="actionModeCloseButtonStyle">@style/Theme.Tachiyomi.ActionMode.CloseButton</item>
        <item name="actionModeCloseDrawable">@drawable/ic_close_24dp</item>
        <item name="actionBarTheme">@style/ThemeOverlay.Tachiyomi.ActionBar</item>
        <item name="toolbarNavigationButtonStyle">@style/Widget.Tachiyomi.Toolbar.Button.Navigation</item>
        <item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
        <item name="bottomSheetDialogTheme">@style/ThemeOverlay.Tachiyomi.BottomSheetDialog</item>
        <item name="chipStyle">@style/Widget.Tachiyomi.Chip.Action</item>
        <item name="chipTextColor">?android:attr/textColorPrimary</item>
        <item name="chipBackgroundColor">?attr/colorControlHighlight</item>
        <item name="snackbarStyle">@style/Widget.Tachiyomi.Snackbar</item>
        <item name="snackbarTextViewStyle">@style/Widget.Tachiyomi.Snackbar.TextView</item>
        <item name="textInputStyle">@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox</item>
        <item name="appBarLayoutStyle">@style/Widget.MaterialComponents.AppBarLayout.Surface</item>
        <item name="toolbarStyle">@style/Widget.MaterialComponents.Toolbar.Surface</item>
        <item name="tabStyle">@style/Widget.Tachiyomi.TabLayout</item>
        <item name="bottomNavigationStyle">@style/Widget.Tachiyomi.BottomNavigationView</item>
        <item name="navigationRailStyle">@style/Widget.Tachiyomi.NavigationRailView</item>
        <item name="elevationOverlayEnabled">false</item>
        <item name="lightSystemBarsOnPrimary">false</item>

        <!-- Material Dialogs -->
        <item name="md_background_color">?attr/colorSurface</item>
        <item name="md_color_title">?attr/colorOnSurface</item>
        <item name="md_color_content">?attr/colorOnSurface</item>
        <item name="md_color_button_text">?attr/colorPrimary</item>
        <item name="md_button_casing">literal</item>
        <item name="md_corner_radius">@dimen/dialog_radius</item>

        <!-- Custom Attributes-->
        <item name="colorFilterActive">@color/filter_light</item>
    </style>

    <style name="Theme.Tachiyomi" parent="Base.Theme.Tachiyomi" />

    <style name="Theme.Tachiyomi.Blue">
        <!-- Theme colors -->
        <item name="colorPrimary">@color/accent_blue</item>
        <item name="colorControlHighlight">@color/ripple_colored_blue</item>
    </style>

    <!--== Strawberry Daiquiri theme ==-->
    <style name="Theme.Tachiyomi.StrawberryDaiquiri">
        <!-- Theme colors -->
        <item name="colorPrimary">@color/accent_strawberry</item>
        <item name="colorTertiary">@color/md_blue_A400</item>
        <item name="colorControlHighlight">@color/ripple_colored_strawberry</item>
    </style>

    <!--== Yotsuba theme ==-->
    <style name="Theme.Tachiyomi.Yotsuba">
        <!-- Theme colors -->
        <item name="colorPrimary">@color/accent_yotsuba</item>
        <item name="colorTertiary">@color/md_blue_A400</item>
        <item name="colorControlHighlight">@color/ripple_colored_yotsuba</item>
    </style>

    <!--== Green Apple theme ==-->
    <style name="Theme.Tachiyomi.GreenApple">
        <!-- Theme colors -->
        <item name="colorPrimary">@color/accent_greenapple</item>
        <item name="colorOnPrimary">@color/color_on_primary_greenapple</item>
        <item name="colorTertiary">@color/md_blue_A400</item>
        <item name="colorControlHighlight">@color/ripple_colored_greenapple</item>
        <item name="lightSystemBarsOnPrimary">true</item>
    </style>

    <!--== Yin Yang theme ==-->
    <style name="Theme.Tachiyomi.YinYang">
        <!-- Theme colors -->
        <item name="colorPrimary">@color/accent_yinyang</item>
        <item name="colorOnPrimary">@color/color_on_secondary_yinyang</item>
        <item name="colorOnSecondary">@color/color_on_secondary_yinyang</item>
        <item name="colorTertiary">@color/color_on_secondary_yinyang</item>
        <item name="colorOnTertiary">@color/accent_yinyang</item>
        <item name="colorControlHighlight">@color/ripple_colored_yinyang</item>

{'fraction_non_alphanumeric': 0.16125238865206526, 'fraction_numerical': 0.004115831250918712, 'mean_word_length': 4.03962962962963, 'pattern_counts': {'":': 0, '<': 373, '<?xml version=': 2, '>': 373, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5696167', 'n_tokens_mistral': 4195, 'n_tokens_neox': 4081, 'n_words': 446}