You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have used the following code (mostly from this README), to generate and apply the color scheme:
// Get the theme from a hex colorconsttheme=themeFromSourceColor(argbFromHex("#FF0000"));// Apply the theme to the body by updating custom properties for material tokensapplyTheme(theme,{target: document.body,dark: true});
And the styles seem to be missing for the panel of the select:
After further investigation, although I'm not 100% certain, I don't think the issue is with this repository. As far as I understand, from skimming though the code, the utilities set tokens starting with --md-sys. Further tokens, seem to be the responsibility of the web components themselves. Such as the container element md-outlined-field. This component doesn't seem to set any tokens regarding menus on it. I suspect, they are missing, since I don't think I have found any other "floating" menus implemented for the web in the documentation: https://m3.material.io/components. In fact, there doesn't even seem to be an entry for the select components. Only menus, which are "Planned". But I found documentation on them, in this repository: https://github.com/material-components/material-web/blob/main/docs/components/select.md.
If the issue is not on my side, I would kindly request this issue to be moved to the correct place, if possible :). Of course, I will gladly copy it to the correct place, if pointed out.
Edit:
I have found the markdown documentation on the menu, and as I suspected, it suffers from the same issue:
I have used the following code (mostly from this README), to generate and apply the color scheme:
And the styles seem to be missing for the panel of the select:
Reproduction: https://stackblitz.com/edit/vitejs-vite-6qdvam?file=src%2FApp.svelte
The text was updated successfully, but these errors were encountered: