This article is a mirror article of machine translation, please click here to jump to the original article.

View: 14009|Reply: 0

[Angular] Angular + Material modifies the component CSS style

[Copy link]
Posted on 3/7/2020 5:58:39 PM | | | |
Add in the global CSS file

There is no need to refill the original attributes, after the new attributes are added, the page will automatically generate different attributes with the same name

About Angular Material's color profile:

The hyperlink login is visible.

In Material Design's System Color guide, it is recommended that the color scheme be chosen as two primary colors (primary color) and secondary color (secondary color) to distinguish the main functional color and emphasize the selectable screen, and also add error message colors to form-related components in Angular The three colors are named primary, accent, and warn respectively.

In most of the components provided by Angular Materials, we can switch between these three colors by color, taking MatIcon as an example



Reference links:https://www.jianshu.com/p/4e5755f38065




Previous:Clock on the hour on the desktop
Next:Linux compresses all files under the current folder
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com