Exploration
I delved into the realm of Material Components (MDC) for Web and found myself utilizing CDN for hosted CSS and JavaScript libraries:
https://unpkg.com/material-components-web@latest/dist/material-components-web.min.css
https://unpkg.com/material-components-web@latest/dist/material-components-web.min.js
This information was extracted from their beginner's-guide-page at [1]. Similarly, MDC has a previous version known as Material Design Lite (MDL), which offered easy customization of theme colors through a custom CSS theme builder. This feature can be accessed via the following link: [2]
Nevertheless, as per MDC Web's Theming Guide: [3]
... Currently, MDC Web allows theming with Sass and CSS Custom Property, with potential future support for CDN theming once available.
Unfortunately, adjusting theme colors using the MDC's CDN URL is presently unavailable.
So, in light of this information, my query remains: How does one configure primary and secondary colors in the new MDC for Web using the CDN?
Sources
- Introduction to Material Components for the Web
- Custom CSS theme builder for Material Design Lite
- Theming guidelines for Material Components for the Web