{"id":224,"date":"2019-09-02T06:16:17","date_gmt":"2019-09-02T06:16:17","guid":{"rendered":"https:\/\/docs.theironnetwork.org\/vuely\/?page_id=224"},"modified":"2019-10-19T07:10:24","modified_gmt":"2019-10-19T07:10:24","slug":"themes","status":"publish","type":"page","link":"https:\/\/docs.theironnetwork.org\/vuely\/themes\/","title":{"rendered":"Themes"},"content":{"rendered":"\n<p>Vuely have 6 predefined themes which you can see under the <code>src-&gt;themes<\/code> folder:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">-themes<br> --accentTheme.js            \/\/ Accent theme<br> --dangerTheme.js            \/\/ Danger theme<br> --infoTheme.js              \/\/ Info theme<br> --primaryTheme.js           \/\/ Primary theme<br> --successTheme.js           \/\/ Success theme<br> --warningTheme.js           \/\/ Warning theme<\/pre>\n\n\n\n<p>There is a number assigned to each &amp; every theme in the vuely. You can use this number to update the theme settings of your template. Check about the number assigned to particular theme in the given table:<\/p>\n\n\n\n<table class=\"wp-block-table ironthm-mb-2\"><tbody><tr><td><strong>Theme Name<\/strong><\/td><td><strong>Number Assigned<\/strong><\/td><\/tr><tr><td>Primary Theme<br><\/td><td>0<\/td><\/tr><tr><td>Warning Theme<\/td><td>1<\/td><\/tr><tr><td>Success Theme<\/td><td>2<\/td><\/tr><tr><td>Danger Theme<\/td><td>3<\/td><\/tr><tr><td>Info Theme<br><\/td><td>4<\/td><\/tr><tr><td>Accent Theme<\/td><td>5<\/td><\/tr><\/tbody><\/table>\n\n\n\n<p>Open <code>src-&gt;store-&gt;modules-&gt;settings-&gt;index.js<\/code> file to update the theme settings of your project. Search for the <code>selectedTheme<\/code> key and update the value to <code>theme[Number_Assigned_To_Selected_Theme]<\/code><\/p>\n\n\n\n<p>For Example:index.js<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">const state = {<br>  ...<br>  selectedTheme: themes[3],\/\/ for danger theme, like wise themes[0] for Primary Theme<br>  ...<br>}<\/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=\"224\" 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=\"224\" 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>Vuely have 6 predefined themes which you can see under the src-&gt;themes folder: -themes &#8211;accentTheme.js \/\/ Accent theme &#8211;dangerTheme.js \/\/ Danger theme &#8211;infoTheme.js \/\/ Info theme &#8211;primaryTheme.js \/\/ Primary theme &#8211;successTheme.js \/\/ Success theme &#8211;warningTheme.js \/\/ Warning theme There is a number assigned to each &amp; every theme in the vuely. You can use this [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":10,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/docs.theironnetwork.org\/vuely\/wp-json\/wp\/v2\/pages\/224"}],"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=224"}],"version-history":[{"count":11,"href":"https:\/\/docs.theironnetwork.org\/vuely\/wp-json\/wp\/v2\/pages\/224\/revisions"}],"predecessor-version":[{"id":859,"href":"https:\/\/docs.theironnetwork.org\/vuely\/wp-json\/wp\/v2\/pages\/224\/revisions\/859"}],"wp:attachment":[{"href":"https:\/\/docs.theironnetwork.org\/vuely\/wp-json\/wp\/v2\/media?parent=224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}