Details
I went looking into Material Design for Web and landed to using CDN (hosted CSS and JavaScript libraries):
https://unpkg.com/material-components-web@latest/dist/material-components-web.min.csshttps://unpkg.com/material-components-web@latest/dist/material-components-web.min.js
This is by virtue from their getting started docs page in [1]. Similarly, Material Design has this lighter library which you could easily customize the theme colors. It can be done through a custom CSS theme builder [2].
So again back to my question, how is it possible to set primary and secondary colors in Material Design for Web using the CDN?
References
- Getting started, Material Design for Web - material.io/...
- Custom CSS theme builder, Material Design Lite - getmdl.io/...
Aucun commentaire:
Enregistrer un commentaire