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

[DataGrid] Add dark mode scrollbar #282

Merged
merged 5 commits into from
Sep 14, 2020
Merged

[DataGrid] Add dark mode scrollbar #282

merged 5 commits into from
Sep 14, 2020

Conversation

dtassone
Copy link
Member

@dtassone dtassone commented Sep 14, 2020

Closes #260

Copy link
Member

@oliviertassinari oliviertassinari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have proposed an improved version, it handles:

  • Add support for Firefox

Capture d’écran 2020-09-14 à 13 26 31

  • Add support for the corner color:

Capture d’écran 2020-09-14 à 13 26 58

Before

before

After

after

@oliviertassinari oliviertassinari changed the title Issue 260 [DataGrid] Add dark mode scrollbar Sep 14, 2020
@oliviertassinari
Copy link
Member

I'm testing on Windows now.

@oliviertassinari
Copy link
Member

oliviertassinari commented Sep 14, 2020

I'm testing on Windows now.

All good on Windows.

For those who wonder, the solution is coming from StackOverflow, not a question, from their source 😄.
What if we applied the customization of the scrollbar to our CssBasline component? Or at least to the documentation styles? cc @mui-org/core-team

Capture d’écran 2020-09-14 à 13 38 45

@eps1lon
Copy link
Member

eps1lon commented Sep 14, 2020

Let's discuss this in a separate issue so that we don't make this PR too noisy.

@oliviertassinari
Copy link
Member

Sure, done: mui/material-ui#22594

Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com>
@oliviertassinari oliviertassinari added the component: data grid This is the name of the generic UI component, not the React module! label Sep 14, 2020
@dtassone dtassone merged commit f079f61 into mui:master Sep 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: data grid This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[DataGrid] Dark mode scrollbar
3 participants