{"id":201,"date":"2018-06-02T16:05:04","date_gmt":"2018-06-02T16:05:04","guid":{"rendered":"http:\/\/www.bullcrane.com\/angular\/?p=201"},"modified":"2018-06-02T16:05:04","modified_gmt":"2018-06-02T16:05:04","slug":"look-of-mat-raised-button-verses-mat-card","status":"publish","type":"post","link":"http:\/\/www.bullcrane.com\/angular\/2018\/06\/02\/look-of-mat-raised-button-verses-mat-card\/","title":{"rendered":"Look of mat-raised-button verses mat-card"},"content":{"rendered":"<p>I choose <a href=\"https:\/\/material.angular.io\/components\/button\/examples\"><em>raised<\/em><\/a> for my <em>upload to Spotify <\/em>button because I wanted to convey its significance over the other buttons on the page.\u00a0 The upload button commits the user&#8217;s changes.\u00a0 Everything else is &#8220;just playing around&#8221; and easily discarded until the user clicks this button.\u00a0 It&#8217;s the &#8220;serious&#8221; button.<\/p>\n<p>One morning, looking at my interface with a fresh mind, I realized this creates an inconsistent UI when also using mat-card.\u00a0 They both have the same raised style:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-203\" src=\"http:\/\/www.bullcrane.com\/angular\/wp-content\/uploads\/2018\/06\/material_card_vs_button.png\" alt=\"\" width=\"383\" height=\"305\" srcset=\"http:\/\/www.bullcrane.com\/angular\/wp-content\/uploads\/2018\/06\/material_card_vs_button.png 383w, http:\/\/www.bullcrane.com\/angular\/wp-content\/uploads\/2018\/06\/material_card_vs_button-300x239.png 300w\" sizes=\"(max-width: 383px) 100vw, 383px\" \/><\/p>\n<p>A user might think &#8220;the session minutes remaining button doesn&#8217;t do anything when I click it.&#8221;\u00a0 It&#8217;s not a button but it looks like the button that is sitting right next to it, the most serious button of all.<\/p>\n<p>I could have changed the upload button to a flat button, so it would be consistent with all of the other buttons on the page, but I still wanted to set it apart somehow.\u00a0 So I decided to make it green.\u00a0 My picklist for downloading a playlist is also green.\u00a0 With this change, I am consistently using the color green to indicate where the user initiates playlist data transfer with Spotify, download and upload.\u00a0 I like the tie to Spotify&#8217;s branding color, which is a similar shade of green.<\/p>\n<p>This still leaves the upload button and the card with the same raised style, but I am satisfied.\u00a0 When I make Shufflizer available to users, I will get some feedback about this.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-204\" src=\"http:\/\/www.bullcrane.com\/angular\/wp-content\/uploads\/2018\/06\/material_button_green.png\" alt=\"\" width=\"404\" height=\"305\" srcset=\"http:\/\/www.bullcrane.com\/angular\/wp-content\/uploads\/2018\/06\/material_button_green.png 404w, http:\/\/www.bullcrane.com\/angular\/wp-content\/uploads\/2018\/06\/material_button_green-300x226.png 300w\" sizes=\"(max-width: 404px) 100vw, 404px\" \/><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-205\" src=\"http:\/\/www.bullcrane.com\/angular\/wp-content\/uploads\/2018\/06\/material_playlist_download_green.png\" alt=\"\" width=\"299\" height=\"353\" srcset=\"http:\/\/www.bullcrane.com\/angular\/wp-content\/uploads\/2018\/06\/material_playlist_download_green.png 299w, http:\/\/www.bullcrane.com\/angular\/wp-content\/uploads\/2018\/06\/material_playlist_download_green-254x300.png 254w\" sizes=\"(max-width: 299px) 100vw, 299px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I choose raised for my upload to Spotify button because I wanted to convey its significance over the other buttons on the page.\u00a0 The upload button commits the user&#8217;s changes.\u00a0 Everything else is &#8220;just playing around&#8221; and easily discarded until the user clicks this button.\u00a0 It&#8217;s the &#8220;serious&#8221; button. One morning, looking at my interface &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/www.bullcrane.com\/angular\/2018\/06\/02\/look-of-mat-raised-button-verses-mat-card\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Look of mat-raised-button verses mat-card&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"_links":{"self":[{"href":"http:\/\/www.bullcrane.com\/angular\/wp-json\/wp\/v2\/posts\/201"}],"collection":[{"href":"http:\/\/www.bullcrane.com\/angular\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.bullcrane.com\/angular\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.bullcrane.com\/angular\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.bullcrane.com\/angular\/wp-json\/wp\/v2\/comments?post=201"}],"version-history":[{"count":3,"href":"http:\/\/www.bullcrane.com\/angular\/wp-json\/wp\/v2\/posts\/201\/revisions"}],"predecessor-version":[{"id":207,"href":"http:\/\/www.bullcrane.com\/angular\/wp-json\/wp\/v2\/posts\/201\/revisions\/207"}],"wp:attachment":[{"href":"http:\/\/www.bullcrane.com\/angular\/wp-json\/wp\/v2\/media?parent=201"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.bullcrane.com\/angular\/wp-json\/wp\/v2\/categories?post=201"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.bullcrane.com\/angular\/wp-json\/wp\/v2\/tags?post=201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}