{"id":238,"date":"2019-09-02T06:50:04","date_gmt":"2019-09-02T06:50:04","guid":{"rendered":"https:\/\/docs.theironnetwork.org\/vuely\/?page_id=238"},"modified":"2019-10-19T07:16:38","modified_gmt":"2019-10-19T07:16:38","slug":"style-customization","status":"publish","type":"page","link":"https:\/\/docs.theironnetwork.org\/vuely\/style-customization\/","title":{"rendered":"Style Customization"},"content":{"rendered":"\n<h5>Changing the Default Theme<\/h5>\n\n\n\n<p>We have already covered this topic in the <a href=\"https:\/\/docs.theironnetwork.org\/vuely\/themes\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Themes (opens in a new tab)\">Themes<\/a> section in the side menu. Please visit that section to get detail information about changing the default theme&#8217;s.<\/p>\n\n\n\n<h5>Theme Customization<\/h5>\n\n\n\n<p> When you open the <code>src -&gt; themes<\/code> folder, you will see, different theme files there. Choose from them the file in which you want to make the desired changes. When you open one of the theme file you will find different color values defined like below: <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">export default {<br>   primary: '#5D92F4',<br>   secondary: '#424242',<br>   accent: '#82B1FF',<br>   error: '#FF3739',<br>   info: '#00D0BD',<br>   success: '#00D014',<br>   warning: '#FFB70F'<br>} <br><\/pre>\n\n\n\n<p>You can make the changes in the color code given above as per your requirements. After all the changes, save the file and open the browser, you will see the new colors in the template.<\/p>\n\n\n\n<p>For more info, check out the following link.<\/p>\n\n\n\n<div class=\"custom-sec-wrap mb-4\">\n\t<a href=\"https:\/\/vuetifyjs.com\/en\/framework\/theme\" class=\"link-wrap\">\n\t\t<div class=\"content-wrap\">\n\t\t\t<h6>Application theming \u2014 Vuetify.js<\/h6>\n\t\t\t<p>Setup your application&#8217;s theme and supplemental colors in a flash.<\/p>\n\t\t\t<small>vuetifyjs.com<\/small>\n\t\t<\/div>\n\t\t<div style=\"background-image:url('https:\/\/cdn.vuetifyjs.com\/images\/logos\/vuetify-logo-300.png');\" class=\"ironthm-img-item\"><\/div>\n\t<\/a>\n<\/div>\n\n\n\n<blockquote class=\"wp-block-quote\"><p> <strong>You can find all the style variables(that are used in the given examples) inside the  <\/strong><code>src -&gt; assets -&gt; scss -&gt; _app.variables.scss<\/code><strong>file.<\/strong> <\/p><\/blockquote>\n\n\n\n<h5>Changing the Font Family<\/h5>\n\n\n\n<p>We are using Google Fonts in the template as it is free to use and is easily available. For more info, please visit:<\/p>\n\n\n\n<div class=\"custom-sec-wrap mb-4\">\n\t<a href=\"https:\/\/fonts.google.com\/\" class=\"link-wrap\">\n\t\t<div class=\"content-wrap\">\n\t\t\t<h6>Google Fonts<\/h6>\n\t\t\t<p>Making the web more beautiful, fast, and open through great typography<\/p>\n\t\t\t<small>fonts.google.com<\/small>\n\t\t<\/div>\n\t\t<div style=\"background-image:url('https:\/\/www.gstatic.com\/images\/icons\/material\/apps\/fonts\/1x\/opengraph_color_1200dp.png');\" class=\"ironthm-img-item\"><\/div>\n\t<\/a>\n<\/div>\n\n\n\n<p><strong>Step 1:<\/strong> To change the font family in the template, please visit the above link and select the font you wish to apply to your template and copy the embed code &amp; font family. Example:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/docs.theironnetwork.org\/vuely\/wp-content\/uploads\/sites\/2\/2019\/09\/changefont.png\"><img loading=\"lazy\" width=\"605\" height=\"603\" src=\"https:\/\/docs.theironnetwork.org\/vuely\/wp-content\/uploads\/sites\/2\/2019\/09\/changefont.png\" alt=\"\" class=\"wp-image-239\" srcset=\"https:\/\/docs.theironnetwork.org\/vuely\/wp-content\/uploads\/sites\/2\/2019\/09\/changefont.png 605w, https:\/\/docs.theironnetwork.org\/vuely\/wp-content\/uploads\/sites\/2\/2019\/09\/changefont-150x150.png 150w, https:\/\/docs.theironnetwork.org\/vuely\/wp-content\/uploads\/sites\/2\/2019\/09\/changefont-300x300.png 300w\" sizes=\"(max-width: 605px) 100vw, 605px\" \/><\/a><figcaption><strong>Embed Code &amp; Font Family<\/strong><\/figcaption><\/figure><\/div>\n\n\n\n<p>Paste the embed code in <code>index.html<\/code> file under the public folder.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote blockquote-warning\"><p>Make sure to copy the embed code in the head tag of the index.html file.<\/p><\/blockquote>\n\n\n\n<p><strong>Step 2: <\/strong>Now go to the <code>src-&gt;assets-&gt;scss<\/code> and open the <code>_app.variables.scss<\/code> file and paste the font family in the variable <code>$font-family-base<\/code> like:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$font-family-base: 'Open Sans Condensed', sans-serif;<\/pre>\n\n\n\n<h5>Sidebar Customization<\/h5>\n\n\n\n<p>You can easily change the width, background color, text color etc of the sidebar easily. Open the <code>src-&gt;components-&gt;Header-&gt;Header.vue<\/code> file. For modifications in the width. change the value of the width parameter in the given code:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;v-navigation-drawer<br>     ...<br>     :width=\"250\"<br>     ...<br>&gt;<\/pre>\n\n\n\n<p>You can change all other properties of the sidebar from the given variables. You can find these variables inside this <code>src-&gt;assets-&gt;scss-&gt;_app.variables.scss<\/code> file:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/\/ Sidebar Variable<br>$sidebar-bg:                   #2E3344;<br>$sidebar-width:                250px;<br>$sidebar-nav-color:            #1D2433;<br>$sidebar-nav-text-size:        14px;<br>$sidebar-nav-active-color:     $light;<br>$sidebar-nav-font-weight:      500;<br>$sidebar-box-shadow:           0 0 10px 0 rgba(0,0,0,0.5);<br>$sidebar-subnav-font-size:     $sidebar-nav-text-size;<br>$sidebar-subnav-font-color:    $sidebar-nav-color; <br><\/pre>\n\n\n\n<h5>Change Text Colors<\/h5>\n\n\n\n<p>You can change the text colors using the given style variables.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/\/ App Text Scale<br> <br>$gray-dark:                 #273142 !default;<br>$gray:                      #354052 !default;<br>$gray-light:                #9799A8 !default;<br>$gray-lighter:              #DDE6F3 !default;<\/pre>\n\n\n\n<h5>Gradient Colors<\/h5>\n\n\n\n<p>If you want to use gradient colors then use these variables with basic values.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/\/ Gradient Theme Color<br> <br>$light-primary:         linear-gradient(0deg, #6A11CB 0%, #2575FC 100%); \/\/ Primary<br>$light-success:         linear-gradient(180deg, #00ECBC 0%, #007ADF 100%); \/\/ success<br>$light-pink:            linear-gradient(0deg, #002849 0%, rgba(231,2,94,1) 100%); \/\/ Pink<br>$light-warning:         linear-gradient(180deg, #FF9944 0%, #FC6076 100%); \/\/ warning<br>$light-purple:          linear-gradient(180deg, #3023AE 0%, #C86DD7 100%);\/\/ purple<\/pre>\n\n\n\n<h5>Content Block<\/h5>\n\n\n\n<p>Customise your main block settings with help of the following variables.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/\/ App Custom Card<br> <br>$card-bg:                         #FDFDFD;<br>$card-border-radius:              5px;<br>$card-border:                     1px solid #DDE6F3;<br>$card-spacing:                    1.25rem 1.25rem;\/\/20px 20px<br>$card-margin-bottom:              1.25rem; \/\/20px<br>$card-shadow:                     0 8px 13px 0 rgba(0,0,0,0.12);<br>$card-hover-shadow:               none;<br> <br>\/\/ Card Title<br> <br>$card-title-color:                #354052;<br>$card-title-font-size:            1.375rem; \/\/22px<br>$card-title-transform:            capitalize;<br>$card-title-weight:               600;<br>$card-title-spacing:              1.25rem 1.25rem;\/\/20px 20px<br> <br>\/\/ Card Contextual link<br> <br>$contextual-link-size:            1.25rem;\/\/20px<br>$contextual-link-color:           #D8D8D8; <\/pre>\n\n\n\n<h5>Change Header Styling<\/h5>\n\n\n\n<p>You can also modify the header using the variable defined below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/\/ App Header Varibale<br> <br>$navbar-bg:                     $purple;<\/pre>\n\n\n\n<h5>Main Container<\/h5>\n\n\n\n<p>To change app background color, go to <code>_app.variables.scss<\/code> file and change the following values.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/\/ Settings for the  &lt;body&gt;  element.<br> <br>$body-bg:                       $light;<br>$body-color:                    $gray;<br>$font-family-base:              'Source Sans Pro', sans-serif;<br>$border-color:                  darken($navbar-bg, 5%);<\/pre>\n\n\n\n<h5>Heading<\/h5>\n\n\n\n<p>With help of following variables you can easily change font sizes for all the headings ( h1 to h6 ).<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/\/ Setting For Heading Element<br><br> $h1-font-size:                1.75rem !default;      \/\/ 28px<br> $h2-font-size:                1.5rem !default;       \/\/ 24px<br> $h3-font-size:                1.375rem !default;     \/\/ 22px<br> $h4-font-size:                1.125rem !default;     \/\/ 20px<br> $h5-font-size:                1rem !default;         \/\/ 16px<br> $h6-font-size:                0.875rem !default;     \/\/ 14px<\/pre>\n\n\n\n<h5>Dark Theme Variable<\/h5>\n\n\n\n<p>Change the dark theme variables as per your requirement.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/\/ Dark theme<br><br> $dark-bg:                      #424242;<br> $dark-bg-color:                #fff;<br> $dark-bg-container:            #303030;<br> $dark-border-color:            rgba(0, 0, 0, 0.1);<\/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=\"238\" 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\">    <\/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=\"238\" 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>Changing the Default Theme We have already covered this topic in the Themes section in the side menu. Please visit that section to get detail information about changing the default theme&#8217;s. Theme Customization When you open the src -&gt; themes folder, you will see, different theme files there. Choose from them the file in which [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":11,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/docs.theironnetwork.org\/vuely\/wp-json\/wp\/v2\/pages\/238"}],"collection":[{"href":"https:\/\/docs.theironnetwork.org\/vuely\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.theironnetwork.org\/vuely\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.theironnetwork.org\/vuely\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.theironnetwork.org\/vuely\/wp-json\/wp\/v2\/comments?post=238"}],"version-history":[{"count":18,"href":"https:\/\/docs.theironnetwork.org\/vuely\/wp-json\/wp\/v2\/pages\/238\/revisions"}],"predecessor-version":[{"id":766,"href":"https:\/\/docs.theironnetwork.org\/vuely\/wp-json\/wp\/v2\/pages\/238\/revisions\/766"}],"wp:attachment":[{"href":"https:\/\/docs.theironnetwork.org\/vuely\/wp-json\/wp\/v2\/media?parent=238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}