mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-12-23 22:00:42 +03:00
194 lines
6.8 KiB
XML
194 lines
6.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<resources>
|
|
|
|
<!--========-->
|
|
<!--Toolbars-->
|
|
<!--========-->
|
|
<style name="Theme.ActionBar" parent="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
|
|
<item name="popupTheme">@style/ThemeOverlay.AppCompat.Light</item>
|
|
</style>
|
|
|
|
<!--====-->
|
|
<!--Tabs-->
|
|
<!--====-->
|
|
<style name="Theme.ActionBar.Tab" parent="ThemeOverlay.AppCompat.Dark.ActionBar">
|
|
<item name="tabIndicatorColor">@android:color/white</item>
|
|
</style>
|
|
|
|
<style name="Theme.ActionBar.Tab.Filled">
|
|
<item name="tabGravity">fill</item>
|
|
</style>
|
|
|
|
<!--==============-->
|
|
<!--NavigationView-->
|
|
<!--==============-->
|
|
<style name="Theme.Widget.NavigationView"/>
|
|
|
|
<style name="Theme.Widget.NavigationView.Dark">
|
|
<item name="colorControlHighlight">@color/md_grey_900</item>
|
|
</style>
|
|
|
|
<!--===============-->
|
|
<!--Text Appearance-->
|
|
<!--===============-->
|
|
<style name="TextAppearance" parent="@android:style/TextAppearance">
|
|
<item name="android:textColor">?android:attr/textColorPrimary</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.Regular">
|
|
<item name="android:fontFamily">@string/font_roboto_regular</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.Regular.Body1">
|
|
<item name="android:textSize">14sp</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.Regular.Body1.Bold">
|
|
<item name="android:textStyle">bold</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.Regular.Body1.Light">
|
|
<item name="android:textColor">@color/textColorPrimaryDark</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.Regular.Body1.Secondary">
|
|
<item name="android:textColor">?android:attr/textColorSecondary</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.Regular.Caption">
|
|
<item name="android:textSize">12sp</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.Regular.Caption.Light">
|
|
<item name="android:textColor">@color/textColorPrimaryDark</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.Regular.Caption.Hint">
|
|
<item name="android:textColor">?android:attr/textColorHint</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.Regular.SubHeading">
|
|
<item name="android:textSize">16sp</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.Regular.SubHeading.Light">
|
|
<item name="android:textColor">@color/textColorPrimaryDark</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.Regular.SubHeading.Light.Bold">
|
|
<item name="android:textStyle">bold</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.Medium">
|
|
<item name="android:fontFamily">@string/font_roboto_medium</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.Medium.Title">
|
|
<item name="android:textSize">20sp</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.Medium.Body2">
|
|
<item name="android:textSize">14sp</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.Medium.Body2.Hint">
|
|
<item name="android:textColor">?android:attr/textColorHint</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.Medium.Button">
|
|
<item name="android:textSize">14sp</item>
|
|
<item name="android:textAllCaps">true</item>
|
|
<item name="android:textColor">?attr/colorAccent</item>
|
|
</style>
|
|
|
|
<!--=======-->
|
|
<!--Widgets-->
|
|
<!--=======-->
|
|
<style name="Theme.Widget"/>
|
|
|
|
<style name="Theme.Widget.FAB">
|
|
<item name="android:layout_height">@dimen/fab_size</item>
|
|
<item name="android:layout_width">@dimen/fab_size</item>
|
|
<item name="android:layout_gravity">bottom|end</item>
|
|
<item name="android:layout_margin">@dimen/fab_margin</item>
|
|
<item name="android:scaleType">fitCenter</item>
|
|
<item name="layout_anchorGravity">bottom|right|end</item>
|
|
<item name="android:tint">@color/md_white_1000</item>
|
|
<item name="layout_behavior">eu.kanade.tachiyomi.ui.base.fab.FABAnimationUpDown</item>
|
|
</style>
|
|
|
|
<style name="Theme.Widget.GridView">
|
|
<item name="android:padding">5dp</item>
|
|
<item name="android:clipToPadding">false</item>
|
|
<item name="android:gravity">top|left</item>
|
|
<item name="android:smoothScrollbar">true</item>
|
|
<item name="android:cacheColorHint">?android:attr/textColorHint</item>
|
|
<item name="android:fastScrollEnabled">true</item>
|
|
<item name="android:horizontalSpacing">0dp</item>
|
|
<item name="android:verticalSpacing">0dp</item>
|
|
<item name="android:numColumns">auto_fit</item>
|
|
<item name="android:stretchMode">columnWidth</item>
|
|
<item name="android:scrollbarStyle">outsideOverlay</item>
|
|
</style>
|
|
|
|
|
|
<style name="Theme.Widget.CheckBox"/>
|
|
|
|
<style name="Theme.Widget.CheckBox.Light" parent="TextAppearance.Regular.Body1.Light">
|
|
<item name="buttonTint">@color/md_white_1000</item>
|
|
</style>
|
|
|
|
<!--===-->
|
|
<!--OLD-->
|
|
<!--===-->
|
|
<style name="AlertDialogStyle" parent="Theme.AppCompat.Light.Dialog.Alert">
|
|
<item name="android:windowTitleStyle">@style/DialogTitleText</item>
|
|
<item name="colorAccent">?attr/colorPrimary</item>
|
|
</style>
|
|
|
|
<style name="DialogTitleText">
|
|
<item name="android:textColor">?android:attr/textColorPrimary</item>
|
|
<item name="android:textAppearance">@style/TextAppearance.AppCompat.Title</item>
|
|
</style>
|
|
|
|
|
|
|
|
<!--<style name="ActionBarSpinner" parent="@style/Widget.AppCompat.TextView.SpinnerItem">-->
|
|
<!--<item name="android:textColor">@color/white</item>-->
|
|
<!--<item name="android:textColorHint">@color/hint_foreground_material_dark</item>-->
|
|
<!--</style>-->
|
|
|
|
<!--<style name="ActionBarSpinnerItem" parent="@style/Widget.AppCompat.DropDownItem.Spinner">-->
|
|
<!--<item name="android:background">@color/background_material_light</item>-->
|
|
<!--</style>-->
|
|
|
|
|
|
|
|
<style name="FilePickerTheme" parent="NNF_BaseTheme.Light">
|
|
<item name="colorPrimary">?attr/colorPrimary</item>
|
|
<item name="colorPrimaryDark">?attr/colorPrimaryDark</item>
|
|
<item name="colorAccent">?attr/colorAccent</item>
|
|
<item name="colorButtonNormal">?attr/colorPrimary</item>
|
|
<item name="android:textSize">14sp</item>
|
|
|
|
<item name="alertDialogTheme">@style/FilePickerAlertDialogTheme</item>
|
|
|
|
<item name="nnf_toolbarTheme">?attr/actionBarTheme</item>
|
|
</style>
|
|
|
|
<style name="FilePickerAlertDialogTheme" parent="Theme.AppCompat.Light.Dialog.Alert">
|
|
</style>
|
|
|
|
<style name="reader_settings_popup_animation">
|
|
<item name="android:windowEnterAnimation">@anim/enter_from_right</item>
|
|
<item name="android:windowExitAnimation">@anim/exit_to_right</item>
|
|
</style>
|
|
|
|
<style name="reader_brightness_popup_animation">
|
|
<item name="android:windowEnterAnimation">@anim/enter_from_left</item>
|
|
<item name="android:windowExitAnimation">@anim/exit_to_left</item>
|
|
</style>
|
|
|
|
|
|
|
|
</resources>
|