admin管理员组文章数量:1415684
When I am using the command to generate a theme (ng generate @angular/material:theme-color
), then I get a palette, but the primary color (default key 50
) is far off from the color I inputted. The most similar color is key 80
.
How can I make it so the color I input is at least closest to the default key 50
?
I used color #a9c93b
, and I got this palette.
0: #000000,
10: #171e00,
20: #293500,
25: #334000,
30: #3d4d00,
35: #475900,
40: #526600,
50: #678000,
60: #7e9c02,
70: #98b729,
80: #b3d344,
90: #cef05e,
95: #dcff6b,
98: #f4ffc9,
99: #fbffe1,
100: #ffffff,
本文标签: angularGenerate material 3 paletteStack Overflow
版权声明:本文标题:angular - Generate material 3 palette - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745214018a2648055.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论