Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS 14 / UIKit Design/Theme switch inside theme.tsx #21911

Closed
1 task done
PeerRich opened this issue Jul 24, 2020 · 12 comments
Closed
1 task done

iOS 14 / UIKit Design/Theme switch inside theme.tsx #21911

PeerRich opened this issue Jul 24, 2020 · 12 comments
Labels
customization: theme Centered around the theming features design This is about UI or UX design, please involve a designer

Comments

@PeerRich
Copy link

PeerRich commented Jul 24, 2020

  • I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡

In my current app I use Material-UI for the amazing collection of components, however I've adopted some iOS design guidelines, such as the stained glass "Paper":

to achieve this, I've overwritten some styles in theme.tsx:

const theme = createMuiTheme({
  overrides: {   
    MuiPaper: {
      rounded: {
        backgroundColor: "rgba(33,33,33,.6)",
        backdropFilter: "blur(10px)",
      },
    },
  }
});

Examples 🌈

some videos by me: https://twitter.com/Peer_Rich/status/1285667031069741056, https://twitter.com/Peer_Rich/status/1285683687598755840

SwiftUI transparency demo: https://twitter.com/MengTo/status/1279889859558195200

or framework7:

I think it could be done inside palette by:

palette: {
    type: 'dark',
    style: 'iOS',
  },

Motivation 🔦

This got me thinking: It would be amazing to have an option in theme.tsx that would apply some (or all) iOS guidelines on top of Material-UI.

I think it would be a huge relief if engineers could switch between "Google" Material UI and iOS Design. (like framework7, but with Material-UI Syntax, components etc.)

If this will not make it to Material-UI Core since it's not Material Desgin (which I understand, I mean it's in the name) I'm happy to collaborate and build a custom theme with plenty of overrides as an Addon or Material-UI Lab. Hit me up on Github or [email protected]

Benchmarks

@PeerRich PeerRich added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Jul 24, 2020
@oliviertassinari
Copy link
Member

oliviertassinari commented Jul 24, 2020

We are experimenting with this on https://github.com/mbrookes/material-uios

@mbrookes What blockers did you identify?

@oliviertassinari oliviertassinari added design This is about UI or UX design, please involve a designer and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Jul 24, 2020
@PeerRich

This comment was marked as resolved.

@oliviertassinari

This comment was marked as resolved.

@PeerRich
Copy link
Author

PeerRich commented Jul 24, 2020

Would love to collaborate. Btw. Sick response time Olivier!

@mbrookes
Copy link
Member

mbrookes commented Jul 24, 2020

What blockers did you identify?

  • The need for custom variants in order to move as much styling as possible to the theme
  • The need for a specific component structure in order to achieve a layout that matches iOS (not just style and go)

Where I got stuck and set this aside was in the title-bar transition for nested pages.

@PeerRich I'll see what the state of the repo is vs my local copy and invite you. It was only ever intended as an experiment, but if you have some ideas to share, I'd be glad to hear them.

@mbrookes
Copy link
Member

@PeerRich I've updated the repo with local commits and invited you. I have some uncommitted local changes changes, mostly from experimenting with the title-bar transition, but not worth sharing.

@mbrookes
Copy link
Member

@PeerRich
Copy link
Author

PeerRich commented Jul 24, 2020

Thank you for the invite. Will take a look at it and see if I can come up with some new ideas

Edit: Wow this looks really good! I didn't expect such an advanced repo when you first told me

@MrBirb
Copy link

MrBirb commented May 2, 2021

Oh man this looks sick!

@mbrookes
Copy link
Member

https://github.com/mbrookes/material-uios It's out of date (using v4), but might still be useful to someone.

@oliviertassinari oliviertassinari added the customization: theme Centered around the theming features label Jan 24, 2023
@siriwatknp
Copy link
Member

siriwatknp commented Dec 12, 2024

I am closing this issue as it's not planned based on the direction of v8.

Copy link

This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue.
Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.

Note

@PeerRich How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customization: theme Centered around the theming features design This is about UI or UX design, please involve a designer
Projects
None yet
Development

No branches or pull requests

5 participants