{"id":49,"date":"2019-10-07T10:23:23","date_gmt":"2019-10-07T10:23:23","guid":{"rendered":"https:\/\/docs.theironnetwork.org\/embryo\/?page_id=49"},"modified":"2019-10-10T09:17:07","modified_gmt":"2019-10-10T09:17:07","slug":"style-customization","status":"publish","type":"page","link":"https:\/\/docs.theironnetwork.org\/embryo\/style-customization\/","title":{"rendered":"Style Customization"},"content":{"rendered":"\n<p><strong>Design style customization<\/strong>\u200c<\/p>\n\n\n\n<p>Embryo is made in material design so its easy to customize the color and other style related points.\u200c<\/p>\n\n\n\n<h6 id=\"theme-customization-by-changing-primary-vars-as-per-google-color-palette\">Theme Customization ( <strong>By Changing Primary Vars as per Google Color P<\/strong>alette)<a href=\"#theme-customization-by-changing-primary-vars-as-per-google-color-palette\"><\/a><\/h6>\n\n\n\n<p> If you wish to change the primary colors then you can do the following:\u200c<\/p>\n\n\n\n<p> Open <strong>assets&gt;scss&gt;material.theme<\/strong> file\u200c<\/p>\n\n\n\n<p> Go to <a href=\"https:\/\/material.io\/guidelines\/style\/color.html#color-color-palette\" target=\"_blank\" rel=\"noreferrer noopener\">Google Color palette<\/a><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/\/ Define the default theme (same as the example above).<br>$my-theme-primary: mat-palette($mat-indigo,800);<br>$my-theme-accent:  mat-palette($mat-deep-orange, 500);<br>$my-light-theme:   mat-light-theme($my-theme-primary, $my-theme-accent);<\/pre>\n\n\n\n<p>By default gene gives the following color set, you can change as per your requirement<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" width=\"419\" height=\"596\" src=\"https:\/\/docs.theironnetwork.org\/embryo\/wp-content\/uploads\/sites\/7\/2019\/10\/scss-color.png\" alt=\"\" class=\"wp-image-52\" srcset=\"https:\/\/docs.theironnetwork.org\/embryo\/wp-content\/uploads\/sites\/7\/2019\/10\/scss-color.png 419w, https:\/\/docs.theironnetwork.org\/embryo\/wp-content\/uploads\/sites\/7\/2019\/10\/scss-color-211x300.png 211w\" sizes=\"(max-width: 419px) 100vw, 419px\" \/><\/figure><\/div>\n\n\n\n<p>Simply choose the color you want from the pallete and replace that in the file for e.g. if you wish to change the primary color with Purple &#8211; 400 simply choose its hex value (#ab47bc) and replace in the file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$my-theme-primary: mat-palette($mat-purple,400);<\/pre>\n\n\n\n<p>For more information please go to <a href=\"https:\/\/material.angular.io\/guide\/theming\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/material.angular.io\/guide\/theming<\/a>\u200c<\/p>\n\n\n\n<h6 id=\"custom-variables\">Custom Variables<a href=\"#custom-variables\"><\/a><\/h6>\n\n\n\n<p>If you want to change variable of typography , page title and footer then go to the variables.scss file and change the values.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/\/Main body <br>$body-bg:#f3f3f4;<br>$grey-bg:#f3f3f4;<br> <br>\/\/Body color<br>$font-color: #3A405B;<br> <br>\/\/$border<br>$theme-border-color:#d5d5d5;<br> <br>$html-font-size: 16px;<br>$mat-font-family: 'Roboto', sans-serif;<br>$font-size-base: 0.875rem !default;<br>$font-weight-base: 400 !default;<br>$font-weight-medium: 500 !default;<br>$font-weight-bold: 600 !default;<br> <br>\/\/Heading Font Size <br>$font-size-h1: 3.25rem !default;\/\/52px<br>$font-size-h2: 2.813rem !default;\/\/45px<br>$font-size-h3: 2.125rem !default;\/\/34px<br>$font-size-h4: 1.5rem !default;\/\/24px<br>$font-size-h5: 1.25rem !default;\/\/20px<br>$font-size-h6: 1rem !default;\/\/16px<br> <br>\/\/Heading Font color<br>$h1-font-color:rgba(0,0,0,0.87);<br>$h2-font-color:rgba(0,0,0,0.87);<br>$h3-font-color:rgba(0,0,0,0.87);<br>$h4-font-color:rgba(0,0,0,0.87);<br>$h5-font-color:rgba(0,0,0,0.87);<br>$h6-font-color:rgba(0,0,0,0.87);<br> <br>$headings-margin-bottom: (1rem \/ 2) !default;<br>$headings-font-family:   inherit !default;<br>$headings-font-weight:   500 !default;<br>$headings-line-height:   1.1 !default;<br>$headings-color:         inherit !default;<br> <br>\/\/Page Title<br>$page-title-bg-image:url(\"..\/..\/assets\/images\/page-title-bar.jpg\");<br>$page-title-padding:7rem 0;<br>$page-title-align:center;<br>$page-title-color:#fff;<br> <br>\/\/Header<br>$main-nav-color:#fff;<br> <br>\/\/Sub-menu<br>$sub-menu-bg:#fff;<br>$sub-menu-color:$font-color;<br> <br>\/\/Responsive Sidebar<br>$responsive-menu-color:#fff;<br>$responsive-sidebar-bg:url(\"..\/..\/assets\/images\/bg-sidebar.jpg\");<br> <br>\/\/Slider images<br>$slider-1-img:url('..\/..\/assets\/images\/slider-1.jpg');<br>$slider-2-img:url('..\/..\/assets\/images\/slider-2.jpg');<br>$slider-3-img:url('..\/..\/assets\/images\/slider-3.jpg');<br> <br>\/\/Pre Loader<br>$loader-bg:#fff;<br>$loader-color:#283593;<br> <br>\/\/Footer<br>$footer-bg:#000000;<br>$footer-color:#ffffff;<br> <br>\/\/rating<br>$rating-selected-color:#EDB867;<br>$rating-unselected-color:#d2d2d2;<br> <br>\/\/card Shadow<br> <br>$card-shadow:0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);<\/pre>\n<div class=\"pld-like-dislike-wrap pld-template-1\">\n    <div class=\"pld-like-wrap  pld-common-wrap\">\n    <a href=\"javascript:void(0);\" class=\"pld-like-trigger pld-like-dislike-trigger \" title=\"\" data-post-id=\"49\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-ip-check=\"0\" data-user-check=\"1\">\n                        <i class=\"fas fa-thumbs-up\"><\/i>\n                    <\/a>\n    <span class=\"pld-like-count-wrap pld-count-wrap\">1    <\/span>\n<\/div><div class=\"pld-dislike-wrap  pld-common-wrap\">\n    <a href=\"javascript:void(0);\" class=\"pld-dislike-trigger pld-like-dislike-trigger \" title=\"\" data-post-id=\"49\" data-trigger-type=\"dislike\" data-ip-check=\"0\" data-restriction=\"cookie\" data-user-check=\"1\">\n                        <i class=\"fas fa-thumbs-down\"><\/i>\n                    <\/a>\n    <span class=\"pld-dislike-count-wrap pld-count-wrap\"><\/span>\n<\/div><\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>Design style customization\u200c Embryo is made in material design so its easy to customize the color and other style related points.\u200c Theme Customization ( By Changing Primary Vars as per Google Color Palette) If you wish to change the primary colors then you can do the following:\u200c Open assets&gt;scss&gt;material.theme file\u200c Go to Google Color palette [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":8,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/docs.theironnetwork.org\/embryo\/wp-json\/wp\/v2\/pages\/49"}],"collection":[{"href":"https:\/\/docs.theironnetwork.org\/embryo\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.theironnetwork.org\/embryo\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.theironnetwork.org\/embryo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.theironnetwork.org\/embryo\/wp-json\/wp\/v2\/comments?post=49"}],"version-history":[{"count":4,"href":"https:\/\/docs.theironnetwork.org\/embryo\/wp-json\/wp\/v2\/pages\/49\/revisions"}],"predecessor-version":[{"id":138,"href":"https:\/\/docs.theironnetwork.org\/embryo\/wp-json\/wp\/v2\/pages\/49\/revisions\/138"}],"wp:attachment":[{"href":"https:\/\/docs.theironnetwork.org\/embryo\/wp-json\/wp\/v2\/media?parent=49"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}