116 Commits

Author SHA1 Message Date
Soitora
4fdb19d002 Add better library item selectors (#5240)
* Add better library item selectors

Inspired by the J2K method of library item selection.

* Tweak theme selection colors

It was missing for Hot Pink and Midnight Dusk.

The selector color is 75% alpha of the color accent, this looked fitting for all themes.

(cherry picked from commit 88d9ffe92e41ab8a4d24655a32aa87a20ee8bd01)
2021-06-01 21:09:18 -04:00
Soitora
a93129c4f2 Allow themes to style more objects (#5197)
* Add Tertiary color and use it for Badges

* Define ripple color for Material Dialog

Although it doesn't do anything, but it should

* Add tertiary colors for Green Apple theme

* Use the correct theme accent in AlertDialog

* Declare a global colorControlHighlight

Fixes some of the ripples listed on #5154.

* Change md_ripple_color to primary ripple color

(cherry picked from commit 11a232a2dfd42094ebabba1a1c02997931fcdd10)
2021-05-28 14:36:51 -04:00
Soitora
ab14ce0d75 Set grey setting sheet for Grey background option (#5193)
(cherry picked from commit 9be8f675acbf0fec283180fa129e643cd5b167fe)
2021-05-28 14:36:49 -04:00
Soitora
ae073f9207 Added "Green Apple" theme (#5184)
* Added "Green Apple" theme

Totally not stolen from other forks.

Although to cover all my bases I co-author all people who adapted the theme in any form.

Neko, J2K and Tako

Co-Authored-By: Carlos <2092019+CarlosEsco@users.noreply.github.com>
Co-Authored-By: Jays2Kings <jays@outlook.com>
Co-Authored-By: CrepeTF <70870719+CrepeTF@users.noreply.github.com>

* Add black as the OnSecondary color

Co-authored-by: Carlos <2092019+CarlosEsco@users.noreply.github.com>
Co-authored-by: Jays2Kings <jays@outlook.com>
Co-authored-by: CrepeTF <70870719+CrepeTF@users.noreply.github.com>
(cherry picked from commit 4af13e3536493db7de3ff5e24ae5794c1efe3661)
2021-05-28 14:36:47 -04:00
Soitora
2acc364960 Added "Strawberry Daiquiri" theme (#5176)
(cherry picked from commit 0fb9ca3e8b1e779206c9e4a9f7ac3259bed3911a)
2021-05-28 14:36:42 -04:00
Soitora
606101dc8b Add "Midnight Dusk" and "Hot Pink" themes (#5161)
* Organize and clarify themes file

Increases clarification with better commenting, should make it easier to add or modify current themes.

* Make AMOLED its own theme category

* Tweak ripples for AMOLED

* Add "Midnight Dusk" theme

Ports it from jobobby04/TachiyomiSY.

Co-Authored-By: CrepeTF <70870719+CrepeTF@users.noreply.github.com>

* Add "Hot Pink" theme

Ports it from jobobby04/TachiyomiSY.

Co-Authored-By: OncePunchedMan <64155117+OncePunchedMan@users.noreply.github.com>

* Make AMOLED a base theme

* Final tweaks

Rename "Toolbar.Light" to "Custom.PopupTheme"
Changes placing of backgroundDusk

Removes HotPink and MidnightDusk custom Toolbars, I believe they are unnecessary.

* Rename a Midnight Dusk color

* Make AMOLED independent from Dark as a theme

Co-authored-by: CrepeTF <70870719+CrepeTF@users.noreply.github.com>
Co-authored-by: OncePunchedMan <64155117+OncePunchedMan@users.noreply.github.com>
(cherry picked from commit 176e984b56d66d1e47bd367d7dde03e4a024152c)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferenceValues.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/base/activity/BaseThemedActivity.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt
#	app/src/main/res/values/styles.xml
#	app/src/main/res/values/themes.xml
2021-05-28 14:36:40 -04:00
Soitora
38fef11287
Fix SY themes after custom ripple changes (#332)
* Fix SY Themes and Ripples

* Slightly increase ripple brightness in AMOLED

* Override AMOLED highlight for the failure that is Hot Pink
2021-05-23 18:23:22 -04:00
Soitora
e5131e1985 Create a toolbar variable for ripples (#5159)
* Rename rippleNavColor to rippleSecondaryColor

It's not just for the navigation anymore

* Add a rippleToolbarColor for toolbar ripples

Fixes so you can use specialized colors in case of using a theme such as Dark Blue or Light Blue

* Add so text buttons are also themed secondary color

Apparently this is also a common Google app thing

* Changes variable name for Navigation Rail

(cherry picked from commit fed6f44995b7931816d86f599734e81e3c764a80)

# Conflicts:
#	app/src/main/res/values/styles.xml
#	app/src/main/res/values/themes.xml
2021-05-23 15:35:59 -04:00
Soitora
9b4aac7ce5 Ripples patch (#5144)
* Combine ripple_dark and ripple_light

Fixes AMOLED theme and doesn't require two seperate items.

* Fix ripple for the new About icons

* Fixes nav/tab ripple in Dark Blue and Light Blue themes

* Theme some ripples using their Style instead

(cherry picked from commit 33dcdc159949e76933f07130fd43d0537c7ea46f)

# Conflicts:
#	app/src/main/res/values/themes.xml
2021-05-22 18:28:04 -04:00
Soitora
2f9069765e Ripple overhaul (#5109)
* Create drawables for the ripples

Temporary colors in them to aid in unifying the ripples.

The 'ripple_circular' and 'ripple_normal' are probably going to be merge as one in the end.

* Change selectableItems to drawables

Changes 'selectableItemBackgroundBorderless' to 'ripple_circular' drawable.

Changes 'selectableItemBackground' to 'selectable_item_background' drawable.

* Add temporary colors to aid in finding unstyled ripples

* Fix button sizes to not make oval ripples

* Make the chip selectable follow ripple color

* Style using the built in rippleColor when possible

* Ripple away 💸

* Set ripple color for tabs

Main activity tabs as well as sheet tabs

* Set ripple color in seekbar buttons

* Fix ripple color for the toolbar

* Round off and start to finish the ripples

* Set custom colorful ripple for bottom navigation

Makes the app a little more fun than just black and white. Took inspiration from a ton of updated Google apps.

* Revert two layout changes

These were not necessary for the ripple as it is designed now, but it was before.

Co-authored-by: Andreas E <andreas.everos@gmail.com>
(cherry picked from commit 562dce60ee144be75434957d64ec7ab916dcce6a)

# Conflicts:
#	app/src/main/res/layout/main_activity.xml
#	app/src/main/res/layout/manga_info_header.xml
#	app/src/main/res/values/styles.xml
2021-05-22 17:40:53 -04:00
arkon
b4a226157c Drop support for Android 5.x
(cherry picked from commit 89619b7836145130b4bf5d92ebc0f6fe70de7233)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt
2021-05-04 14:13:14 -04:00
Ivan Iskandar
e43777bba7 Themes cleanup (#4894)
(cherry picked from commit ad57fde1c55984f3235ce86a7505e3675039b1dc)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/base/activity/BaseThemedActivity.kt
#	app/src/main/res/values/themes.xml
2021-04-19 14:35:28 -04:00
Ivan Iskandar
885c251fb4 Add navigation bar scrim (#4845)
* Revert "Add navigation bar scrim (closes #4836)"

This reverts commit 2a69d1b0

* Add navigation bar scrim

(cherry picked from commit 1f729f1cb33e4d9df6471016417eac0fd1782735)
2021-04-19 13:58:32 -04:00
arkon
d3d937fe17 Use accent color for edge effect
(cherry picked from commit a4e5e3ece5a5d7c8a5b6b67a130b8458d4956d71)
2021-04-14 18:17:48 -04:00
arkon
b0a2d8908f Disallow forced dark mode, such as MIUI's
(cherry picked from commit f4f1efe5faca0184607332fc3ebab1eaa4ab7b30)
2021-04-13 18:49:45 -04:00
Ivan Iskandar
9e40625c08 Draw edge-to-edge (#4802)
(cherry picked from commit f3660d88ddf21d92a80cc5e73bfa012ddf506e75)

# Conflicts:
#	app/build.gradle.kts
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryCategoryView.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
2021-04-11 18:43:19 -04:00
arkon
df950219f5 Use Material dialogs for preferences
Partially addresses #2907

(cherry picked from commit 112e233498f45462679ba98daee9d69ce8f790f4)
2021-03-18 15:11:13 -04:00
arkon
23e4b661bc Tweak dialog corner radius
(cherry picked from commit 18b1326f3aad5174d3f3efd65826f553e7231b8c)
2021-03-18 15:11:02 -04:00
arkon
b235521dd1 Rounded bottom sheets
(cherry picked from commit 6662e2002f63b303079a515e24ce9e092f07d24e)
2021-02-04 17:07:39 -05:00
CrepeTF
4b3d92a050
Added "Midnight Dusk" theme (#183)
* Added Midnight Dusk theme + tweaks

* Added Midnight Dusk theme + tweaks

* Colouring mistakes

* Space error
2020-12-26 19:25:34 -05:00
arkon
54736ea410 Replace circular ProgressBars with Material component
(cherry picked from commit eaccfdde599e025c0481497902b89a616c24d587)
2020-12-26 16:42:07 -05:00
arkon
897f5f1732 Replace ProgressBars with Material component
(cherry picked from commit a8e536478cbc452b5d70797a3057d897383be358)
2020-12-26 16:41:58 -05:00
Jobobby04
4a1e832bf5 Revert "Cool gray theme (#169)"
This reverts commit ac31f1213867a6546b6a69b3d9921ca21abb91ee.
2020-11-29 17:19:29 -05:00
CrepeTF
ac31f12138
Cool gray theme (#169)
* Added "Cool gray" (Google gray)

* Added "Cool gray" (Google gray) theme
2020-11-27 13:14:31 -05:00
arkon
d0293fef0a Fix transparent navbar when bottom sheets are opened (fixes #3848)
(cherry picked from commit d548c690d65e6e1de211e1f5b985d6c95b7b1cc7)
2020-11-25 14:59:44 -05:00
arkon
be6f9d4a9f Fix non-transparent navigation bar
(cherry picked from commit 2695bdddf8566b69b4db5f390e5a92b11f22336c)
2020-11-21 16:28:23 -05:00
Jobobby04
406b5a89c8 Fix smart background for real this time, fix issues with theme not changing 2020-10-29 00:37:07 -04:00
Jobobby04
96989bfa53 Likely fix smart background 2020-10-21 14:59:39 -04:00
arkon
3b5a869fd0 Color selected tab with accent color when theme isn't blue
(cherry picked from commit 972a595c74f27751ee24bea4a430513428a37142)
2020-09-29 12:24:47 -04:00
Jobobby04
dcca19e6b8 Undo Reds manga title changes 2020-09-12 19:21:54 -04:00
AbdullahM0hamed
8dce9a674b
Fix title on light theme (#101) 2020-09-12 13:51:19 -04:00
AbdullahM0hamed
c23edd5b72
Remove navigationBarColor from Black-Red theme 2020-09-10 23:42:14 +01:00
AbdullahM0hamed
c8a4ec37e0
Add Black-Red theme (#95)
* Appveyor

* stuff

* resolve conflict

* Let's try this again

* try again

* More fixing

* remove appveyor

* revert build.gradle

* Revert "revert build.gradle"

This reverts commit feaaa78157ffe8d6d6af7d6d63a74bc14b92f584.

* Undo line change

* Update build.gradle

* Update MainActivity.kt

Co-authored-by: AbdullahM0hamed<AbdullahM0hamed@users.noreply.github.com>
2020-09-10 17:06:49 -04:00
arkon
6e4a0ca1ea Update ActionMode styling
(cherry picked from commit 4929e66eccbd53c35fc62a755015d03179163927)
2020-08-22 18:17:29 -04:00
Jobobby04
e48f274072 Updates and cleanup build.gradle 2020-08-15 23:01:16 -04:00
arkon
5ffc21fc9e Don't capitalize buttons (closes #3454)
(cherry picked from commit d8f4e6b45f1e1a7daec8bb368e745501fae62d62)
2020-07-13 13:38:40 -04:00
arkon
6105dbcb9e Update some themes
(cherry picked from commit 526e029ebb140bf3d3804b04f60e97c8951111ff)
2020-06-14 16:26:12 -04:00
arkon
b78ab397c3 Update SwipeRefreshLayout
(cherry picked from commit f5a44245e9026df3c2dfd0cf512031fe4f388131)
2020-06-11 17:26:08 -04:00
arkon
d0929c1dc5 Slightly simplify AMOLED theme definition
(cherry picked from commit c4ca3606ad86b0c1aa1c7d639e3dfbe62e6018c8)
2020-05-22 17:50:07 -04:00
arkon
4aeaee65c3 Use borderless buttons everywhere for consistency
(cherry picked from commit 3b45fcdb216cb29ba4f4fc35dc4649efe4d6f2d7)
2020-05-09 11:32:48 -04:00
Jobobby04
bef0a44447 It Builds! 2020-05-03 18:34:46 -04:00
Rani Sargees
1be0171398 fix fingerprint icon in dark themes 2020-05-03 02:08:33 -04:00
Rani Sargees
4d8f44ddae merge double upstream 2020-05-02 23:39:46 -04:00
arkon
1ab07d169d Add gray reader background option (closes #3019) 2020-05-01 21:40:36 -04:00
arkon
4da760d614 Simplify outlined button style name 2020-04-25 12:02:14 -04:00
arkon
ab97de2763 Set default textInputStyle (fixes #2926) 2020-04-22 21:24:43 -04:00
arkon
932a47a8a7 Update Material Dialogs 2020-04-21 23:33:01 -04:00
arkon
01dd46c5ed Remove unused widget styles and animations 2020-04-19 12:23:37 -04:00
arkon
bcde4337ac Replace colorPrimaryDark with colorPrimaryVariant 2020-04-17 18:32:27 -04:00
arkon
135e55fe27 Fix switch style in reader settings sheet (fixes #2784) 2020-04-11 11:29:55 -04:00