126 Commits

Author SHA1 Message Date
Soitora
d34147803c Tweak chip contrast (#5526)
* Set better contrast for chips

* Set custom chip colors for Yin Yang

(cherry picked from commit 13d39fc942c9f32027597b75b09a019d46229fca)
2021-07-18 13:07:43 -04:00
Ivan Iskandar
ad2bbd0e3c Merge light and dark themes (#5470)
* Merge AMOLED and regular dark themes

This allows all variants of dark themes to use black backgrounds as a
separate preference.

* Merge light and dark themes

* Fix ReaderSeekBar color on Dark Blue theme

* Color fixes

* Fix Dark Blue bars ripple

* Simplify night mode check

(cherry picked from commit 0eadc028b6f9daf38cae083cfdc2ff44a1836623)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferenceValues.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferencesHelper.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/base/activity/BaseThemedActivity.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt
2021-07-03 18:55:12 -04:00
Ivan Iskandar
b7b1175207 Tracking sheet and search adjustments (#5427)
* Tracking sheet and search visual adjustments

* Remove track item divider

* Add start margin to "add tracking" button

* Fix track search dialog crash when no item chosen

* Show "remove" action only when track item is previously set

* Remove placeholder for total chapters

* Cleanups

* Add track search error/empty result message

* Make track search dialog fullscreen

* Use AutofitRecyclerView for track search dialog

* Fix text input overlapping

* Run track search from IME action instead

* Remove deprecated method

* Reformat

* Set track search error message on the placeholder

* Use payload to notify track search item change

* Fix track search action icon tint color

(cherry picked from commit cb71d44024816780ba7e0110099a766bdc47f74a)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackSearchAdapter.kt
#	app/src/main/res/values/styles.xml
2021-06-28 14:38:36 -04:00
Ivan Iskandar
32e7750b7d Match ReaderActivity theme with the rest of the app (#5450)
* Match ReaderActivity theme with the rest of the app

* Fix viewer inset when fullscreen reader is off

* Fix incorrect toolbar color after recreate

* Remove animated inset

* Move isDarkMode to PreferencesHelper

(cherry picked from commit 64c95305b9831762cc0be72f7ab47b006da07fa8)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferencesHelper.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/base/activity/BaseThemedActivity.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt
#	app/src/main/res/layout/reader_activity.xml
2021-06-26 22:38:56 -04:00
Ivan Iskandar
f61bbfa77a More themes cleanup (#5410), remove AMOLED Blue
* More themes cleanup

* Tweak some things

* Fix 'Clear History' icon

* Split out ripple colored to its own drawable

* Tidy up things

* Unify background dim amount

* Use primaryColor for Account login button

* More colored ripples

* use colorOnPrimary for selected comfortable library item title

Co-authored-by: Soitora <simon.mattila@protonmail.com>
(cherry picked from commit 932c92412c29fe4a8d1410d29a6e77557ad48707)

# Conflicts:
#	app/src/main/res/layout-sw720dp/manga_info_header.xml
#	app/src/main/res/layout/manga_info_header.xml
#	app/src/main/res/layout/reader_activity.xml
#	app/src/main/res/menu/library_selection.xml
#	app/src/main/res/menu/reader.xml
#	app/src/main/res/values/colors.xml
#	app/src/main/res/values/dimens.xml
2021-06-26 22:38:53 -04:00
Zakhar Timoshenko
56fa39387f Added "Yotsuba" theme (#5290)
(cherry picked from commit 9b967177c51a93c5db3fe2079cc6581e5b065970)
2021-06-13 14:35:40 -04:00
Ivan Iskandar
9a97a97aa7 More bottom sheet improvements (#5183)
* Edge-to-edge bottom sheet when possible

* ReaderSettingsSheet: Animate background dim changes

* Adjust modal bottom sheet in-out animation

* Use public method to get bottom sheet behavior

* Set bottom sheet peek size to 50% screen height

The current auto peek height gives too low value on landscape orientation

* Set bottom sheet navigation bar scrim when needed

(cherry picked from commit 9f744bc44589a3e44fb8b655615c2184d1748c0a)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
2021-05-29 17:58:17 -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
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
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
Ivan Iskandar
b3ddc1dfa3 Remove material-design-dimens (#5133)
(cherry picked from commit afd59eabbb5071b358f8dc04752788d73e4cc553)
2021-05-22 17:29:16 -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
OncePunchedMan
f7d52e0372
Added "Hot Pink" theme (#238)
* first test

* added hot pink theme

* moved string to correct place
2021-03-10 19:28:07 -05:00
arkon
f1f993bf38 Rename drawable with more consistent naming
(cherry picked from commit ace1db21d19077d3b69e04243b8854d80dc4da05)
2021-02-24 16:44:46 -05:00
arkon
b235521dd1 Rounded bottom sheets
(cherry picked from commit 6662e2002f63b303079a515e24ce9e092f07d24e)
2021-02-04 17:07:39 -05:00
arkon
675d6e95d3 Remove unused dimen values
(cherry picked from commit 6bc6e1a1d18d920bdf0346bd956c45b980bdf75e)
2021-01-31 18:30:25 -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
arkon
17731f3904 Remove bundled fallback file picker
(cherry picked from commit e8627800fef6525bc4ed3324c03178d7ac8850cd)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/util/system/ContextExtensions.kt
#	app/src/main/res/layout/common_listitem_dir.xml
#	app/src/main/res/values/styles.xml
2020-12-21 14:21:34 -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
295fe37a9d Use default height for extended FAB (closes #3949)
(cherry picked from commit 538c1686416959390b33913eb2140119b41cf116)
2020-10-24 13:41:04 -04:00
arkon
3ff2321a95 Lower minWidth for extended FAB (fixes #3939)
(cherry picked from commit 832a4fa68e137de96a6b13842858256501406a73)
2020-10-24 13:40:54 -04:00
arkon
6d235e23ff Update dependencies
(cherry picked from commit 6c792d2821336894f37a758b80134186bd40580b)
2020-10-11 15:34:34 -04:00
arkon
8404b1c0c2 Set activated states for manga info favorite/tracker buttons
(cherry picked from commit 0904692f15179e420ea9140e2e31e556faa5164f)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt
#	app/src/main/res/layout/manga_info_header.xml
2020-10-03 13:01:25 -04:00
arkon
59020deb6f Tweak navigation view group header style
(cherry picked from commit 7c69b1b64928cf678f9dece4301d72ad857d931e)
2020-09-29 12:25:33 -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
arkon
815ac9d55b Remove card backgrounds from browse lists
(cherry picked from commit a3c598a3e1758c00d00ad3a804d8dbb7e24ab2ac)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/manga/MigrationMangaController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/sources/MigrationSourcesController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/SourceHolder.kt
2020-09-29 12:24:33 -04:00
arkon
89eea4ab91 Move manga info summary more/less button toggle
(cherry picked from commit a9bed90d028bc93bfae49edd10e7ede71decd6a7)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt
#	app/src/main/res/layout/manga_info_header.xml
2020-09-24 08:41:48 -04:00
arkon
4e8c30b7fe Start updating manga info view header design (SY edition)
(cherry picked from commit 791a7d5a01e25b13634291fc1af5970ea35f7692)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt
#	app/src/main/res/layout/manga_info_header.xml
2020-09-15 14:08:14 -04: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
arkon
fa580aa3c9 Fix checked state for manga header buttons
(cherry picked from commit 8ba426350f3510e24875292283f3b6719859650a)
2020-07-19 18:32:57 -04:00
arkon
7530a7bd4e Move edit categories to overflow
(cherry picked from commit 88ee86b7ef9c4bf8170d111f1ae2ab56871d7688)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
#	app/src/main/res/menu/chapters.xml
2020-07-19 18:24:55 -04:00
arkon
5ffc21fc9e Don't capitalize buttons (closes #3454)
(cherry picked from commit d8f4e6b45f1e1a7daec8bb368e745501fae62d62)
2020-07-13 13:38:40 -04:00
arkon
d754ac06a7 Make tabs not all caps
(cherry picked from commit 41f759dafe4a0f53194ce00ef4abf282f4e2a15c)
2020-07-09 16:06:01 -04:00
arkon
6105dbcb9e Update some themes
(cherry picked from commit 526e029ebb140bf3d3804b04f60e97c8951111ff)
2020-06-14 16:26:12 -04:00
arkon
26776f8430 Tweak history card design
(cherry picked from commit e9d3b75e2b9f32268659d92384972535882edf91)
2020-05-23 16:04:58 -04:00
MCAxiaz
7f02a533fa fix regular font family name (#3154)
(cherry picked from commit 46b01c61348e9bdff313bbba33e33dbed4eb9e2d)
2020-05-11 16:28:28 -04:00
arkon
976cd41a87 MaterialFastScroll updates
(cherry picked from commit d86d861e4b55ecd2407adb656809d7f24bdbd87f)
2020-05-09 11:34:24 -04:00
arkon
4aeaee65c3 Use borderless buttons everywhere for consistency
(cherry picked from commit 3b45fcdb216cb29ba4f4fc35dc4649efe4d6f2d7)
2020-05-09 11:32:48 -04:00
Jobobby04
e46dd808e7 Remove unused widget styles and animations
(cherry picked from commit 01dd46c5ed6897784373d9c2cdf42bf67473f4bc)
2020-05-03 14:16:06 -04:00
jobobby04
a6f0e7f9b9 Part 2 of Auto-Migration Done
(cherry picked from commit c4321e3adfff1bdfdcd8ba209dd20549348be217)
2020-05-03 13:18:02 -04:00
Rani Sargees
4d8f44ddae merge double upstream 2020-05-02 23:39:46 -04:00
arkon
fe803a4588 Add bottom padding to library for ActionToolbar 2020-04-26 20:04:05 -04:00