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

[MDCDrawer] Missing Theming Property #6466

Closed
aress31 opened this issue Sep 11, 2020 · 1 comment · Fixed by #6470
Closed

[MDCDrawer] Missing Theming Property #6466

aress31 opened this issue Sep 11, 2020 · 1 comment · Fixed by #6470
Assignees

Comments

@aress31
Copy link

aress31 commented Sep 11, 2020

Bug report

The mdc-drawer does not export the --mdc-theme-surface property to allow styling the background for different theme, right now my application got a dark/light mode, but the drawer remains always white.

Steps to reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Actual behavior

  • Dark mode:
    image

-Light mode:
image

Expected behavior

I would expect to explicitly set the background colour for the mdc-drawer so that I can adapt it to my different themes.

Screenshots

Your Environment:

Software Version(s)
MDC Web
Browser: Google Chrome: Version 85.0.4183.102 (Official Build) (64-bit)
Operating System: Windows 10 Pro - latest build

Additional context

Possible solution

@aress31 aress31 added the bug label Sep 11, 2020
@asyncLiz
Copy link
Contributor

asyncLiz commented Sep 11, 2020

prop-value() needs to be removed from the following areas to expose the --mdc-theme-surface custom property:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants