2017-01-03 00:30:27 +01:00
|
|
|
<resources>
|
|
|
|
|
2018-06-07 22:19:39 +02:00
|
|
|
<style name="TextSizeSmallest">
|
|
|
|
<item name="status_text_small">10sp</item>
|
|
|
|
<item name="status_text_medium">12sp</item>
|
|
|
|
<item name="status_text_large">14sp</item>
|
|
|
|
</style>
|
|
|
|
|
2017-12-01 21:52:10 +01:00
|
|
|
<style name="TextSizeSmall">
|
2018-06-07 22:19:39 +02:00
|
|
|
<item name="status_text_small">12sp</item>
|
|
|
|
<item name="status_text_medium">14sp</item>
|
|
|
|
<item name="status_text_large">16sp</item>
|
2017-12-01 21:52:10 +01:00
|
|
|
</style>
|
2018-06-07 22:19:39 +02:00
|
|
|
|
2017-12-01 21:52:10 +01:00
|
|
|
<style name="TextSizeMedium">
|
2018-06-07 22:19:39 +02:00
|
|
|
<item name="status_text_small">14sp</item>
|
|
|
|
<item name="status_text_medium">16sp</item>
|
|
|
|
<item name="status_text_large">18sp</item>
|
2017-12-01 21:52:10 +01:00
|
|
|
</style>
|
2018-06-07 22:19:39 +02:00
|
|
|
|
2017-12-01 21:52:10 +01:00
|
|
|
<style name="TextSizeLarge">
|
2018-06-07 22:19:39 +02:00
|
|
|
<item name="status_text_small">16sp</item>
|
|
|
|
<item name="status_text_medium">18sp</item>
|
|
|
|
<item name="status_text_large">20sp</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="TextSizeLargest">
|
|
|
|
<item name="status_text_small">18sp</item>
|
|
|
|
<item name="status_text_medium">20sp</item>
|
2018-12-17 15:25:35 +01:00
|
|
|
<item name="status_text_large">22sp</item>
|
2017-02-20 01:27:15 +01:00
|
|
|
</style>
|
|
|
|
|
2017-03-07 08:28:12 +01:00
|
|
|
<style name="AppTheme.Account.AppBarLayout" parent="ThemeOverlay.AppCompat">
|
|
|
|
<item name="android:textColorPrimary">@color/text_color_primary_dark</item>
|
|
|
|
<item name="android:textColorSecondary">@color/text_color_secondary_dark</item>
|
|
|
|
<item name="android:textColorTertiary">@color/text_color_tertiary_dark</item>
|
|
|
|
</style>
|
2018-06-07 22:19:39 +02:00
|
|
|
|
2018-12-17 15:25:35 +01:00
|
|
|
<style name="SplashTheme" parent="Theme.MaterialComponents.Light.NoActionBar">
|
2017-05-10 04:36:05 +02:00
|
|
|
<item name="android:windowBackground">@drawable/background_splash</item>
|
2017-10-26 22:07:48 +02:00
|
|
|
<item name="colorPrimaryDark">@color/color_primary_dark_dark</item>
|
2017-05-10 04:36:05 +02:00
|
|
|
<item name="android:windowNoTitle">true</item>
|
|
|
|
</style>
|
2017-03-29 06:22:14 +02:00
|
|
|
|
2017-02-16 19:52:55 +01:00
|
|
|
<!--Light Application Theme Styles-->
|
2018-06-07 22:19:39 +02:00
|
|
|
<style name="TuskyTheme" parent="TuskyBaseTheme" />
|
|
|
|
|
2018-05-16 19:14:53 +02:00
|
|
|
<style name="TuskyDialogActivityTheme" parent="@style/TuskyTheme" />
|
2018-06-07 22:19:39 +02:00
|
|
|
|
2018-12-17 15:25:35 +01:00
|
|
|
<style name="TuskyBaseTheme" parent="Theme.MaterialComponents.Light.NoActionBar">
|
|
|
|
<item name="colorPrimary">@color/tusky_blue</item>
|
|
|
|
<item name="colorOnPrimary">@color/white</item>
|
|
|
|
|
|
|
|
<item name="colorSecondary">@color/tusky_blue</item>
|
|
|
|
<item name="colorOnSecondary">@color/white</item>
|
|
|
|
|
|
|
|
<item name="colorSurface">@color/color_background_light</item>
|
|
|
|
|
2017-02-16 19:52:55 +01:00
|
|
|
<item name="colorPrimaryDark">@color/color_primary_dark_light</item>
|
|
|
|
|
|
|
|
<item name="android:colorBackground">@color/color_background_light</item>
|
2018-12-17 15:25:35 +01:00
|
|
|
<item name="recents_background_color">@color/color_primary_light</item>
|
2017-02-16 19:52:55 +01:00
|
|
|
<item name="android:windowBackground">@color/window_background_light</item>
|
|
|
|
<item name="android:textColorPrimary">@color/text_color_primary_light</item>
|
|
|
|
<item name="android:textColorSecondary">@color/text_color_secondary_light</item>
|
|
|
|
<item name="android:textColorTertiary">@color/text_color_tertiary_light</item>
|
2018-06-18 13:26:18 +02:00
|
|
|
|
2017-03-07 08:28:12 +01:00
|
|
|
<item name="android:actionMenuTextColor">@color/text_color_primary_light</item>
|
2017-02-16 19:52:55 +01:00
|
|
|
|
2018-12-17 15:25:35 +01:00
|
|
|
<item name="alertDialogTheme">@style/TuskyDialog.Light</item>
|
|
|
|
<item name="snackbarButtonStyle">@style/TuskyButton.TextButton</item>
|
2017-02-16 19:52:55 +01:00
|
|
|
|
2018-01-20 13:39:01 +01:00
|
|
|
<item name="window_background">@color/window_background_light</item>
|
|
|
|
<item name="custom_tab_toolbar">@color/custom_tab_toolbar_light</item>
|
2017-02-16 19:52:55 +01:00
|
|
|
<item name="toolbar_background_color">@color/toolbar_background_light</item>
|
|
|
|
<item name="toolbar_icon_tint">@color/toolbar_icon_light</item>
|
2018-12-17 15:25:35 +01:00
|
|
|
<item name="image_button_style">@style/TuskyImageButton.Light</item>
|
2017-11-30 20:12:09 +01:00
|
|
|
<item name="status_reblog_small_drawable">@drawable/ic_reblog_light_18dp</item>
|
2017-03-08 05:52:17 +01:00
|
|
|
<item name="status_reblog_inactive_drawable">@drawable/reblog_inactive_light</item>
|
2018-05-28 21:29:06 +02:00
|
|
|
<item name="status_reblog_disabled_drawable">@drawable/reblog_private_light</item>
|
2017-07-08 21:44:08 +02:00
|
|
|
<item name="status_reblog_direct_drawable">@drawable/reblog_direct_light</item>
|
2017-03-29 06:22:14 +02:00
|
|
|
<item name="status_favourite_active_drawable">@drawable/favourite_active_light</item>
|
2017-03-08 05:52:17 +01:00
|
|
|
<item name="status_favourite_inactive_drawable">@drawable/favourite_inactive_light</item>
|
2017-02-16 19:52:55 +01:00
|
|
|
<item name="content_warning_button">@drawable/toggle_small_light</item>
|
2018-12-17 15:25:35 +01:00
|
|
|
<item name="sensitive_media_warning_background_color">@color/sensitive_media_warning_background_light</item>
|
2017-02-17 03:11:05 +01:00
|
|
|
<item name="media_preview_unloaded_drawable">@drawable/media_preview_unloaded_light</item>
|
|
|
|
<item name="status_divider_drawable">@drawable/status_divider_light</item>
|
2018-12-17 15:25:35 +01:00
|
|
|
<item name="conversation_thread_line_drawable">@drawable/conversation_thread_line_light</item>
|
|
|
|
<item name="tab_icon_selected_tint">@color/tusky_blue</item>
|
2017-02-17 03:11:05 +01:00
|
|
|
<item name="tab_page_margin_drawable">@drawable/tab_page_margin_light</item>
|
2018-06-18 13:26:18 +02:00
|
|
|
<item name="account_header_background_color">@color/color_primary_dark_light</item>
|
2018-06-07 22:19:39 +02:00
|
|
|
<item name="account_toolbar_icon_tint_uncollapsed">@color/toolbar_icon_dark
|
|
|
|
</item> <!--Default to dark on purpose, because header backgrounds with gradients are always dark.-->
|
2018-12-17 15:25:35 +01:00
|
|
|
<item name="account_toolbar_icon_tint_collapsed">@color/account_toolbar_icon_collapsed_light</item>
|
|
|
|
|
2017-03-29 06:22:14 +02:00
|
|
|
<item name="compose_close_button_tint">@color/toolbar_icon_light</item>
|
2018-12-17 15:25:35 +01:00
|
|
|
<item name="compose_media_button_disabled_tint">@color/compose_media_button_disabled_light</item>
|
2017-02-27 06:21:46 +01:00
|
|
|
<item name="compose_content_warning_bar_background">@drawable/border_background_light</item>
|
2018-12-17 15:25:35 +01:00
|
|
|
<item name="compose_reply_content_background">@color/compose_reply_content_background_light</item>
|
2017-11-01 20:59:29 +01:00
|
|
|
|
2017-02-27 06:21:46 +01:00
|
|
|
<item name="report_status_background_color">@color/report_status_background_light</item>
|
2017-03-01 03:38:47 +01:00
|
|
|
<item name="report_status_divider_drawable">@drawable/report_status_divider_light</item>
|
2017-03-27 04:59:16 +02:00
|
|
|
|
|
|
|
<item name="material_drawer_background">@color/window_background_light</item>
|
|
|
|
<item name="material_drawer_primary_text">@color/text_color_primary_light</item>
|
|
|
|
<item name="material_drawer_primary_icon">@color/toolbar_icon_light</item>
|
|
|
|
<item name="material_drawer_secondary_text">@color/text_color_secondary_light</item>
|
|
|
|
<item name="material_drawer_hint_text">@color/text_color_tertiary_light</item>
|
|
|
|
<item name="material_drawer_divider">@color/color_primary_dark_light</item>
|
|
|
|
<item name="material_drawer_selected">@color/color_primary_light</item>
|
|
|
|
<item name="material_drawer_selected_text">@color/text_color_primary_light</item>
|
2018-06-07 22:19:39 +02:00
|
|
|
<item name="material_drawer_header_selection_text">@color/text_color_primary_dark
|
|
|
|
</item> <!--Intentionally dark so it can be overlayed over the account's header image.-->
|
2018-12-17 15:25:35 +01:00
|
|
|
<item name="material_drawer_header_selection_subtext">@color/text_color_secondary_dark
|
|
|
|
</item> <!--Intentionally dark so it can be overlayed over the account's header image.-->
|
2017-10-27 13:20:17 +02:00
|
|
|
|
|
|
|
<item name="card_background">@drawable/card_frame_light</item>
|
|
|
|
<item name="card_image_background">@color/text_color_tertiary_light</item>
|
|
|
|
|
2017-11-30 20:12:09 +01:00
|
|
|
<item name="play_indicator_drawable">@drawable/ic_play_indicator_light</item>
|
|
|
|
|
2018-04-13 22:37:21 +02:00
|
|
|
<item name="compound_button_color">@color/compound_button_color_light</item>
|
|
|
|
|
2018-11-12 21:09:39 +01:00
|
|
|
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
|
|
|
|
|
2018-12-29 00:02:29 +01:00
|
|
|
<item name="minTouchTargetSize">32dp</item> <!-- this affects RadioButton size -->
|
|
|
|
|
2018-01-20 13:39:01 +01:00
|
|
|
</style>
|
|
|
|
|
2018-12-17 15:25:35 +01:00
|
|
|
<style name="TuskyImageButton.Light" parent="@style/Widget.MaterialComponents.Button.UnelevatedButton">
|
2018-04-13 22:37:21 +02:00
|
|
|
<item name="android:tint">@color/text_color_tertiary_light</item>
|
|
|
|
<item name="android:background">?attr/selectableItemBackgroundBorderless</item>
|
2017-02-16 19:52:55 +01:00
|
|
|
</style>
|
|
|
|
|
2018-12-17 20:47:42 +01:00
|
|
|
<style name="TuskyDialog.Light" parent="@style/ThemeOverlay.MaterialComponents.Dialog.Alert">
|
|
|
|
<item name="android:letterSpacing">0</item>
|
2018-12-17 15:25:35 +01:00
|
|
|
<item name="dialogCornerRadius">8dp</item>
|
2017-01-03 00:30:27 +01:00
|
|
|
</style>
|
|
|
|
|
2018-12-17 15:25:35 +01:00
|
|
|
<style name="TuskyTabAppearance" parent="Widget.MaterialComponents.TabLayout">
|
|
|
|
<item name="android:textSize">?attr/status_text_medium</item>
|
|
|
|
<item name="android:textAllCaps">true</item>
|
|
|
|
<item name="tabIndicatorHeight">3dp</item>
|
|
|
|
<item name="tabIndicatorColor">?attr/tab_icon_selected_tint</item>
|
|
|
|
<item name="tabTextColor">?android:attr/textColorSecondary</item>
|
|
|
|
<item name="tabSelectedTextColor">?attr/tab_icon_selected_tint</item>
|
2017-03-07 08:28:12 +01:00
|
|
|
</style>
|
|
|
|
|
2018-12-17 15:25:35 +01:00
|
|
|
<style name="TuskyFloatingActionButton" parent="Widget.MaterialComponents.FloatingActionButton">
|
|
|
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="TuskyButton" parent="Widget.MaterialComponents.Button">
|
|
|
|
<item name="android:letterSpacing">0</item>
|
2017-12-01 21:52:10 +01:00
|
|
|
</style>
|
|
|
|
|
2018-12-17 15:25:35 +01:00
|
|
|
<style name="TuskyButton.Outlined" parent="Widget.MaterialComponents.Button.OutlinedButton">
|
|
|
|
<item name="android:letterSpacing">0</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="TuskyButton.TextButton" parent="Widget.MaterialComponents.Button.TextButton">
|
|
|
|
<item name="android:letterSpacing">0</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="TuskyTextInput" parent="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense">
|
|
|
|
<item name="boxStrokeColor">@color/text_input_layout_box_stroke_color</item>
|
|
|
|
<item name="android:textColorHint">?android:attr/textColorTertiary</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
2018-07-30 15:31:35 +02:00
|
|
|
<!--Black Application Theme Styles-->
|
|
|
|
<style name="TuskyBlackThemeBase" parent="TuskyBaseTheme">
|
|
|
|
<item name="colorPrimaryDark">@color/color_primary_dark_black</item>
|
2018-12-17 15:25:35 +01:00
|
|
|
|
2018-07-30 15:31:35 +02:00
|
|
|
<item name="android:colorBackground">@color/color_primary_dark_black</item>
|
|
|
|
<item name="android:windowBackground">@color/window_background_black</item>
|
|
|
|
<item name="android:textColorPrimary">@color/text_color_primary_black</item>
|
|
|
|
|
2018-12-17 15:25:35 +01:00
|
|
|
<item name="recents_background_color">@color/toolbar_background_black</item>
|
2018-07-30 15:31:35 +02:00
|
|
|
<item name="window_background">@color/window_background_black</item>
|
|
|
|
<item name="toolbar_background_color">@color/toolbar_background_black</item>
|
|
|
|
<item name="sensitive_media_warning_background_color">@color/color_background_black</item>
|
|
|
|
<item name="account_header_background_color">@color/color_background_black</item>
|
|
|
|
|
|
|
|
<item name="report_status_background_color">@color/color_background_black</item>
|
|
|
|
|
|
|
|
<item name="material_drawer_background">@color/window_background_black</item>
|
|
|
|
<item name="material_drawer_primary_text">@color/text_color_primary_black</item>
|
|
|
|
<item name="material_drawer_divider">@color/color_primary_dark_black</item>
|
|
|
|
<item name="material_drawer_selected">@color/color_primary_black</item>
|
|
|
|
<item name="material_drawer_selected_text">@color/text_color_primary_black</item>
|
|
|
|
<item name="material_drawer_header_selection_text">@color/text_color_primary_black</item>
|
2018-09-04 18:35:17 +02:00
|
|
|
<item name="tab_page_margin_drawable">@drawable/tab_page_margin_black</item>
|
2018-07-30 15:31:35 +02:00
|
|
|
</style>
|
|
|
|
<style name="TuskyBlackTheme" parent="TuskyBlackThemeBase"/>
|
|
|
|
|
2017-01-03 00:30:27 +01:00
|
|
|
</resources>
|