{"id":1450,"date":"2023-09-14T05:00:00","date_gmt":"2023-09-14T12:00:00","guid":{"rendered":"https:\/\/www.angulartraining.com\/daily-newsletter\/?p=1450"},"modified":"2023-09-11T14:30:46","modified_gmt":"2023-09-11T21:30:46","slug":"angular-material-theme-generator","status":"publish","type":"post","link":"https:\/\/www.angulartraining.com\/daily-newsletter\/angular-material-theme-generator\/","title":{"rendered":"Angular Material Theme Generator"},"content":{"rendered":"\n<p>As we started covering <a href=\"https:\/\/www.angulartraining.com\/daily-newsletter\/getting-started-with-angular-material\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Angular Material<\/a> with a few different posts, today, I want to address one of the common objections to Angular Material: Sometimes, people don&#8217;t like the look and feel of the library and fear that it won&#8217;t match their business requirements. <\/p>\n\n\n\n<p>While it is true that the default themes picked by the Material team aren&#8217;t for everyone, with a lot of bright pink, purple or flashy green, I have seen several companies customize Material to make it their own with great success.<\/p>\n\n\n\n<p>Here are a few examples: <\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/usdigital.bmo.com\/www\/#\/login\" target=\"_blank\" rel=\"noopener\" title=\"\">Bank of Montreal (BMO)<\/a><\/h3>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"791\" src=\"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-content\/uploads\/2023\/09\/image-14-1024x791.png\" alt=\"\" class=\"wp-image-1451\" srcset=\"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-content\/uploads\/2023\/09\/image-14-1024x791.png 1024w, https:\/\/www.angulartraining.com\/daily-newsletter\/wp-content\/uploads\/2023\/09\/image-14-300x232.png 300w, https:\/\/www.angulartraining.com\/daily-newsletter\/wp-content\/uploads\/2023\/09\/image-14-768x593.png 768w, https:\/\/www.angulartraining.com\/daily-newsletter\/wp-content\/uploads\/2023\/09\/image-14.png 1072w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/wwws.airfrance.us\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Air France<\/a><\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"752\" src=\"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-content\/uploads\/2023\/09\/image-15-1024x752.png\" alt=\"\" class=\"wp-image-1452\" srcset=\"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-content\/uploads\/2023\/09\/image-15-1024x752.png 1024w, https:\/\/www.angulartraining.com\/daily-newsletter\/wp-content\/uploads\/2023\/09\/image-15-300x220.png 300w, https:\/\/www.angulartraining.com\/daily-newsletter\/wp-content\/uploads\/2023\/09\/image-15-768x564.png 768w, https:\/\/www.angulartraining.com\/daily-newsletter\/wp-content\/uploads\/2023\/09\/image-15.png 1091w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>You can see that in some cases, it&#8217;s actually hard to recognize Material components in those apps. On the Air France website, the <a href=\"https:\/\/material.angular.io\/components\/tabs\/overview\" target=\"_blank\" rel=\"noopener\" title=\"\">tabs<\/a> and <a href=\"https:\/\/material.angular.io\/components\/slide-toggle\/overview\" target=\"_blank\" rel=\"noopener\" title=\"\">slide toggle<\/a> are the most recognizable components.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How to generate my own custom theme?<\/h3>\n\n\n\n<p>One of the easiest way to see what&#8217;s possible is to use the (unofficial &#8211; though it comes from a team at Google) <a href=\"http:\/\/material-theme-generator.glitch.me\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Material Theme Generator<\/a>:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"708\" src=\"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-content\/uploads\/2023\/09\/image-16-1024x708.png\" alt=\"\" class=\"wp-image-1454\" srcset=\"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-content\/uploads\/2023\/09\/image-16-1024x708.png 1024w, https:\/\/www.angulartraining.com\/daily-newsletter\/wp-content\/uploads\/2023\/09\/image-16-300x208.png 300w, https:\/\/www.angulartraining.com\/daily-newsletter\/wp-content\/uploads\/2023\/09\/image-16-768x531.png 768w, https:\/\/www.angulartraining.com\/daily-newsletter\/wp-content\/uploads\/2023\/09\/image-16.png 1032w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>With the theme generator, you can:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Generate a theme from an image (such as a company logo!) and the tool will pick the colors and do the rest<\/li>\n\n\n\n<li>Tweak all possible variables using color pickers and see the result on every component on the right-hand side.<\/li>\n\n\n\n<li>Then export your customization as a CSS file using th &#8220;Download CSS&#8221; button.<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<p>Here I tried uploading a picture of mine from the Canyonlands of Utah last winter, and the resulting auto-generated theme is impressive &#8211;  I didn&#8217;t touch any of the settings:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1007\" height=\"717\" src=\"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-content\/uploads\/2023\/09\/image-17.png\" alt=\"\" class=\"wp-image-1455\" srcset=\"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-content\/uploads\/2023\/09\/image-17.png 1007w, https:\/\/www.angulartraining.com\/daily-newsletter\/wp-content\/uploads\/2023\/09\/image-17-300x214.png 300w, https:\/\/www.angulartraining.com\/daily-newsletter\/wp-content\/uploads\/2023\/09\/image-17-768x547.png 768w\" sizes=\"auto, (max-width: 1007px) 100vw, 1007px\" \/><\/figure>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>As we started covering Angular Material with a few different posts, today, I want to address one of the common objections to Angular Material: Sometimes, people don&#8217;t like the look and feel of the library and fear that it won&#8217;t match their business requirements. While it is true that the default themes picked by the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,35],"tags":[],"class_list":["post-1450","post","type-post","status-publish","format-standard","hentry","category-angular","category-material"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/posts\/1450","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/comments?post=1450"}],"version-history":[{"count":3,"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/posts\/1450\/revisions"}],"predecessor-version":[{"id":1457,"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/posts\/1450\/revisions\/1457"}],"wp:attachment":[{"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/media?parent=1450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/categories?post=1450"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/tags?post=1450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}