{"id":824150,"date":"2014-03-26T23:08:51","date_gmt":"2014-03-26T23:08:51","guid":{"rendered":"https:\/\/2014.minneapolis.wordcamp.org\/?post_type=wcb_session&#038;p=824150"},"modified":"2014-03-26T23:08:54","modified_gmt":"2014-03-26T23:08:54","slug":"creating-color-palette-options-within-a-theme-using-sass","status":"publish","type":"wcb_session","link":"https:\/\/minneapolis.wordcamp.org\/2014\/session\/creating-color-palette-options-within-a-theme-using-sass\/","title":{"rendered":"Creating Color Palette Options within a Theme using Sass"},"content":{"rendered":"<p>I&#8217;ve found in my theme development the need to have different color palettes available as options to choose from within my themes. Over time, I&#8217;ve developed a process for doing this using Sass and the theme customizer.<\/p>\n<p>We&#8217;ll go over this process to create color palette options within a theme&#8217;s customizer using a combination of Sass lists, Sass&#8217; @each loop, a custom Control class and a filter hook.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve found in my theme development the need to have different color palettes available as options to choose from within my themes. Over time, I&#8217;ve developed a process for doing this using Sass and the theme customizer. We&#8217;ll go over this process to create color palette options within a theme&#8217;s customizer using a combination of [&hellip;]<\/p>\n","protected":false},"author":307839,"featured_media":0,"template":"","meta":{"_wcpt_session_time":0,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[684351],"footnotes":""},"session_track":[278466],"session_category":[],"class_list":["post-824150","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-development-1"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pheVCz-3soK","session_date_time":{"date":"","time":""},"session_speakers":[{"id":"684351","slug":"matthew-meyer","name":"Matthew Meyer","link":"https:\/\/minneapolis.wordcamp.org\/2014\/speaker\/matthew-meyer\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/minneapolis.wordcamp.org\/2014\/wp-json\/wp\/v2\/sessions\/824150","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/minneapolis.wordcamp.org\/2014\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/minneapolis.wordcamp.org\/2014\/wp-json\/wp\/v2\/types\/wcb_session"}],"author":[{"embeddable":true,"href":"https:\/\/minneapolis.wordcamp.org\/2014\/wp-json\/wp\/v2\/users\/307839"}],"version-history":[{"count":1,"href":"https:\/\/minneapolis.wordcamp.org\/2014\/wp-json\/wp\/v2\/sessions\/824150\/revisions"}],"predecessor-version":[{"id":824151,"href":"https:\/\/minneapolis.wordcamp.org\/2014\/wp-json\/wp\/v2\/sessions\/824150\/revisions\/824151"}],"speakers":[{"embeddable":true,"href":"https:\/\/minneapolis.wordcamp.org\/2014\/wp-json\/wp\/v2\/speakers\/684351"}],"wp:attachment":[{"href":"https:\/\/minneapolis.wordcamp.org\/2014\/wp-json\/wp\/v2\/media?parent=824150"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/minneapolis.wordcamp.org\/2014\/wp-json\/wp\/v2\/session_track?post=824150"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/minneapolis.wordcamp.org\/2014\/wp-json\/wp\/v2\/session_category?post=824150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}