Go To _fonts.scss (assets/scss/custom/fonts/_fonts.scss )
if you want to change another font-family Go to the site Google Fonts And Select One font Family and import In to style.css file
And paste Your Selected font-family in _fonts.scss
And add the Your Selected font-family in _bootstrap-styles.scss(assets/scss/bootstrap/_bootstrap-styles.scss)
body {
margin: 0;
font-size: 14px;
font-weight: 400;
line-height: 1.5;
color: #3f3e50;
text-align: left;
background-color: $background;
font-family: 'Roboto', sans-serif;
}
Note : After Changing font you must run gulp command i.e, gulp watch
. Refer gulp page for more gulp commands click here.
Go To "assets/images/brand" folder and replace your logo with Previous Logos within in image size. note: Please don't increase logo sizes. Replace your logo within given image size. otherwise the logo will not fit in particular place it disturbs the template design.
To enable RTL Version you have to open custom.js and admin-custom.js ({assets/js/custom.js}, {assets/js/admin-custom.js}) file and remove comments for rtl
as shown in below
// ---------------Start RTL-----------------//
// $('body').addClass('rtl');
// ---------------End RTL-----------------//
rtl
as shown below
// ---------------Start RTL-----------------//
$('body').addClass('rtl');
// ---------------End RTL-----------------//
To enable Dark Theme you have to open custom.js and admin-custom.js ({assets/js/custom.js}, {assets/js/admin-custom.js}) file and remove comments for dark-mode
as shown in below
// ---------------Start Dark-mode-----------------//
// $('body').addClass('dark-mode');
// ---------------End Dark-mode-----------------//
dark-mode
as shown below
// ---------------Start Dark-mode-----------------//
$('body').addClass('dark-mode');
// ---------------End Dark-mode-----------------//
To enable Light Theme you have to open custom.js and admin-custom.js({assets/js/custom.js}, {assets/js/admin-custom.js}) file and remove comments for light-mode
as shown in below
// ---------------Start Light-mode-----------------//
// $('body').addClass('light-mode');
// ---------------End Light-mode-----------------//
light-mode
as shown below
// ---------------Start Light-mode-----------------//
$('body').addClass('light-mode');
// ---------------End Light-mode-----------------//
To enable Transparent Theme you have to open custom.js and admin-custom.js({assets/js/custom.js}, {assets/js/admin-custom.js}) file and remove comments for Transparent-mode
as shown in below
// ---------------Start Transparent -mode-----------------//
// $('body').addClass('transparent-mode');
// ---------------End Transparent-mode-----------------//
light-mode
as shown below
// ---------------Start Transparent -mode-----------------//
$('body').addClass('transparent-mode');
// ---------------End Transparent-mode-----------------//
By default, the chart color will change based on the theme color.
You can replace the default chart with your own chart, but in order to change the colors of your chart with respect to the theme colors you have to follow the below steps.
Note: This process is only for replace your own chart in index.html page
Go to root path: assets/js/index1.js in that js file you will find a function named as index " function sales(); " inside of that function replace the old chart js data with your new chart js data, in order to change your chart color according to your themecolor then add " myVarVal" (Ex:- myVarVal to that particular color field based on your requirement.
Navigate to root path: assets/js/ and open themeColors.js in that js file you will find a function called "(function names() )" In that function you will find
if(document.querySelector('#sales-status') !== null){
sales();
}
Then change it's id name based on the id that you've used for your particular chart.
Ex: How do I modify the Id in the "themeColors.js" file?
" if(document.querySelector('#sales-status') !== null){
sales();
}"
" if(document.querySelector('# your chart id') !== null){
sales();
}"
Note : This process is only for adding your new chart to other pages.(Skip this process if this is not your requirement)
If you want to change the color of your chart with respect to the themecolor you have to follow the below steps.
If you want to add any chart to any other page then follow the below process.
Open js file of the particular chart that you wanted to add, in that js file (for example in my case: mychart.js), and inside of that js file create a new function with " unique " name (for example in my case: myFunction() ), and then place the chart js content inside of that function.
Note: If there is more than one chart then you need to create different functions for different charts respectively.
Ex-1: myFunction1() {
chart js1 content
}
myFunction2() {
chart js2 content
}
Navigate to root path: assets/js/themeColors.js in that js file you will find a function called "(function names() )" In that function you will find
"if(document.querySelector('#sales-status') !== null){
sales();
}"
Below this condition add a new condition with the "id name and function name" that you've used in your chart js (Ex: mychart.js)
Ex: " if(document.querySelector('# your chart id') !== null){
myFunction(); =>created function for the above id
}"
If you want to change your chart (Ex: mychart.js) color according to your themecolor then follow the below process
Ex : Go to root path: assets/js/mychart.js in that js file you've already created a function (Ex: myFunction() ) inside of that function there are different color values based on the chart. so, if you want to change the color then add " myVarVal " value (Ex:- myVarVal )to that particular color field based on your requirement.
Note:- The switcher-1.html and switcher-2.html pages are displayed in pages in web in dashboard
Open HTML file in Script Section change your custom.js to custom-1.js style link in html ,admin-custom.jsto admin-custom-1.js style link in dashboard . check below Image
To enable the switcher then you must have to place below HTML, CSS, JS in your html page.
Below HTML is in empty.html file