Commit Graph

108 Commits

Author SHA1 Message Date
Ivan Iskandar
9f744bc445
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
2021-05-28 22:36:09 -04:00
Soitora
11a232a2df
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
2021-05-26 18:11:14 -04:00
Soitora
176e984b56
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>
2021-05-24 11:16:32 -04:00
Soitora
fed6f44995
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
2021-05-23 14:29:59 -04:00
Soitora
33dcdc1599
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
2021-05-22 18:08:48 -04:00
Soitora
562dce60ee
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>
2021-05-22 11:55:05 -04:00
Ivan Iskandar
afd59eabbb
Remove material-design-dimens (#5133) 2021-05-22 10:10:41 -04:00
arkon
112e233498 Use Material dialogs for preferences
Partially addresses #2907
2021-03-13 18:00:24 -05:00
arkon
18b1326f3a Tweak dialog corner radius 2021-03-13 17:18:22 -05:00
arkon
ace1db21d1 Rename drawable with more consistent naming 2021-02-13 10:44:35 -05:00
arkon
6662e2002f Rounded bottom sheets 2021-02-01 22:23:29 -05:00
arkon
6bc6e1a1d1 Remove unused dimen values 2021-01-28 09:13:05 -05:00
arkon
eaccfdde59 Replace circular ProgressBars with Material component 2020-12-26 11:24:10 -05:00
arkon
a8e536478c Replace ProgressBars with Material component 2020-12-26 10:40:45 -05:00
arkon
e8627800fe Remove bundled fallback file picker 2020-12-13 12:42:10 -05:00
arkon
d548c690d6 Fix transparent navbar when bottom sheets are opened (fixes #3848) 2020-11-22 15:49:57 -05:00
arkon
538c168641 Use default height for extended FAB (closes #3949) 2020-10-18 10:21:03 -04:00
arkon
832a4fa68e Lower minWidth for extended FAB (fixes #3939) 2020-10-13 17:38:56 -04:00
arkon
6c792d2821 Update dependencies 2020-10-10 16:34:06 -04:00
arkon
0904692f15 Set activated states for manga info favorite/tracker buttons 2020-10-03 12:55:51 -04:00
arkon
7c69b1b649 Tweak navigation view group header style 2020-09-27 13:41:25 -04:00
arkon
972a595c74 Color selected tab with accent color when theme isn't blue 2020-09-26 19:18:58 -04:00
arkon
a3c598a3e1 Remove card backgrounds from browse lists 2020-09-26 19:03:46 -04:00
arkon
a9bed90d02 Move manga info summary more/less button toggle 2020-09-22 22:20:29 -04:00
arkon
791a7d5a01 Start updating manga info view header design 2020-09-14 15:56:27 -04:00
arkon
4929e66ecc Update ActionMode styling 2020-08-22 12:36:29 -04:00
arkon
8ba426350f Fix checked state for manga header buttons 2020-07-17 14:20:36 -04:00
arkon
88ee86b7ef Move edit categories to overflow 2020-07-16 22:22:06 -04:00
arkon
d8f4e6b45f Don't capitalize buttons (closes #3454) 2020-07-12 22:20:37 -04:00
arkon
41f759dafe Make tabs not all caps 2020-07-07 17:29:32 -04:00
arkon
526e029ebb Update some themes 2020-06-13 15:34:55 -04:00
arkon
e9d3b75e2b Tweak history card design 2020-05-23 11:33:23 -04:00
MCAxiaz
46b01c6134
fix regular font family name (#3154) 2020-05-11 08:31:32 -04:00
arkon
d86d861e4b MaterialFastScroll updates 2020-05-07 22:40:23 -04:00
arkon
3b45fcdb21 Use borderless buttons everywhere for consistency 2020-05-07 22:24:30 -04:00
arkon
fe803a4588 Add bottom padding to library for ActionToolbar 2020-04-26 20:04:05 -04:00
arkon
4da760d614 Simplify outlined button style name 2020-04-25 12:02:14 -04:00
arkon
b6f1c516e2 Fix extended fab height, make text bolder (fixes #2900) 2020-04-22 09:07:40 -04:00
arkon
01dd46c5ed Remove unused widget styles and animations 2020-04-19 12:23:37 -04:00
arkon
11e10f6eff Replace some old color attribute usages 2020-04-19 12:02:08 -04:00
arkon
29e453c201 Minor style tweaks 2020-04-18 19:05:19 -04:00
arkon
fd733e819d More consistent card radii 2020-04-18 14:18:51 -04:00
arkon
bcde4337ac Replace colorPrimaryDark with colorPrimaryVariant 2020-04-17 18:32:27 -04:00
arkon
fae763dbb0 Manga info action buttons 2020-04-16 22:16:15 -04:00
arkon
a1e7592bd8 Rename catalogue classes/layouts -> source 2020-04-12 12:21:47 -04:00
arkon
135e55fe27 Fix switch style in reader settings sheet (fixes #2784) 2020-04-11 11:29:55 -04:00
arkon
4f5e52fdd4 Move search filter sheet actions to the top 2020-04-10 15:15:31 -04:00
arkon
df625a998f Use colorSecondary for text field cursor (fixes #2853) 2020-04-10 10:43:39 -04:00
arkon
9c44cae5b8 Tweak dark theme snackbar (closes #2699) 2020-04-05 13:55:42 -04:00
arkon
912629c2dc Replace TagGroup library with Material chips 2020-03-29 14:11:13 -04:00