Skip to main content
added a tag
Link
niqueco
  • 2.4k
  • 20
  • 41
Source Link
niqueco
  • 2.4k
  • 20
  • 41

Material3 replacement for PrimarySurface

I've started to replace styles with the new Material3 ones (Material You) which are present in the latest Material Design Components library. However, I don't see a replacement for Widget.MaterialComponents.Toolbar.PrimarySurface (a style that handles dark mode better by not using the primary color, which looks to bright). There's Widget.Material3.Toolbar, Widget.Material3.Toolbar.Surface and Widget.Material3.Toolbar.OnSurface but I don't think any of them is a replacement.

Am I missing something here?