Introduction

Texon - Premium Corporate Business HTML Template

Texon - Premium Corporate Business HTML Template, With these template formats, it's very easy to create a presence and grab someone's attention around the web page Because the template is built using HTML5, CSS3, Bootstrap 5 framework and with Sass. So please before you start working with the template take a quick look on the documentation so that you can easily built your website.

Support and Updates:

When you purchase Texon, you gain access to free future updates to ensure your template remains up-to-date. Plus, our support team is always ready to assist with any questions.

Dependencies for Texon

What Do You Get with the Texon:

Texon provides all necessary HTML, CSS, SCSS, JS files, along with detailed Documentation to help you easily customize and implement the template.

  • All HTML Files
  • CSS Files
  • SCSS Files
  • JS Files
  • Documentation

Texon Compatibility with Popular Browsers:

Texon is fully compatible with major browsers, ensuring a seamless user experience across Chrome, Firefox, Safari, Edge, and Opera.

  • Firefox
  • Safari
  • Opera
  • Chrome
  • Edge

Folder Structure

Horizontal Menu

The following HTML,JS, CSS you should have in your page to implement a Horizontalmenu.

Horizontalmenu content Rootpath: html/partials/header.html You can change the code here.

html

            <div class="sticky">
<!-- Start::app-sidebar -->
<aside class="app-sidebar" id="sidebar">

    <div class="app-toggle-header">
        <a href="index.html" class="brand-main">
            <img src="../assets/images/brand/logo-white.png" alt="img" class="desktop-logo logo-dark">
            <img src="../assets/images/brand/logo-color.png" alt="img" class="desktop-logo logo-color">
        </a>
        <div class="header-element">
            <!-- Start::header-link -->
            <a aria-label="anchor" href="javascript:void(0);" class="sidemenu-toggle header-link" data-bs-toggle="sidebar">
                <span class="close-toggle">
                    <i class="bi bi-x header-link-icon"></i>
                </span>
            </a>
            <!-- End::header-link -->
        </div>
        <!-- End::header-element -->
    </div>

    <!-- Start::main-sidebar -->
    <div class="main-sidebar" id="sidebar-scroll">

        <!-- Start::nav -->
        <nav class="main-menu-container nav nav-pills sub-open align-items-center">

            <!-- Start::main-brand-header -->
            <div class="main-brand-header">
                <div class="container brand-header-container d-none d-lg-flex">
                    <div class="d-flex align-items-center">
                        <!-- Start::header-element -->
                        <div class="header-element me-1">
                            <!-- Start::header-link -->
                            <a aria-label="anchor" href="javascript:void(0);" class="sidemenu-toggle1 header-link" data-bs-toggle="sidebar">
                                <span class="open-toggle">
                                    <i class="bi bi-text-indent-left header-link-icon"></i>
                                </span>
                            </a>
                            <!-- End::header-link -->
                        </div>

                        <!-- End::header-element -->
                        <a href="index.html" class="brand-main">
                            <img src="../assets/images/brand/logo-white.png" alt="img" class="desktop-logo logo-dark">
                            <img src="../assets/images/brand/toggle-dark.png" alt="img" class="mobile-logo mobile-dark mx-3">
                            <img src="../assets/images/brand/logo-color.png" alt="img" class="desktop-logo logo-color">
                            <img src="../assets/images/brand/toggle-color.png" alt="img" class="mobile-logo mobile-color">
                        </a>
                    </div>
                </div>
            </div>
            <!-- End::main-brand-header -->

            <ul class="main-menu">

                <!-- Start::slide -->
                <li class="slide has-sub">
                    <a href="javascript:void(0);" class="side-menu__item">
                        <span class="side-menu__label">Home</span>
                        <i class="fe fe-chevron-down side-menu__angle side-menu__angle1 ms-1"></i>
                    </a>
                    <ul class="slide-menu child1 without-icon">
                        <li class="slide">
                            <a href="index.html" class="side-menu__item">
                                <span>Home 01</span>
                            </a>
                        </li>
                        <li class="slide">
                            <a href="index-1.html" class="side-menu__item">
                                <span>Home 02</span>
                            </a>
                        </li>
                        <li class="slide">
                            <a href="index-2.html" class="side-menu__item">
                                <span>Home 03</span>
                            </a>
                        </li>
                        <li class="slide">
                            <a href="index-3.html" class="side-menu__item">
                                <span>Home 04</span>
                            </a>
                        </li>
                        <li class="slide">
                            <a href="index-4.html" class="side-menu__item">
                                <span>Home 05</span>
                            </a>
                        </li>
                    </ul>
                </li>
                <!-- End::slide -->

                <!-- Start::slide -->
                <li class="slide d-xl-block d-none">
                    <a href="about.html" class="side-menu__item">
                        <span class="side-menu__label">About Us</span>
                    </a>
                </li>
                <!-- End::slide -->

                <!-- Start::slide -->
                <li class="slide has-sub">
                    <a href="javascript:void(0);" class="side-menu__item">
                        <span class="side-menu__label">Portfolio</span>
                        <i class="fe fe-chevron-down side-menu__angle side-menu__angle1 ms-1"></i>
                    </a>
                    <ul class="slide-menu child1 without-icon">
                        <li class="slide">
                            <a href="portfolio.html" class="side-menu__item">
                                <span>Portfolio</span>
                            </a>
                        </li>
                        <li class="slide">
                            <a href="portfolio-details.html" class="side-menu__item">
                                <span>Portfolio Details</span>
                            </a>
                        </li>
                    </ul>
                </li>
                <!-- End::slide -->

                <!-- Start::slide -->
                <li class="slide has-sub">
                    <a href="javascript:void(0);" class="side-menu__item">
                        <span class="side-menu__label">Pages</span>
                        <i class="fe fe-chevron-down side-menu__angle side-menu__angle1 ms-1"></i>
                    </a>
                    <ul class="slide-menu child1 mega-slide-menu mega-slide-menu-onefr container-lg">
                        <li class="mega-menu mega-menu-one row mx-0 p-0 overflow-hidden">
                            <div class="col-xl-4 col-lg-4 col-12 py-lg-4 px-0 border-end">
                                <ul>
                                    <li>
                                        <p class="mb-4 d-flex align-items-center menu-label">
                                            <span class="">Primary Pages </span>
                                        </p>
                                    </li>
                                    <li class="slide">
                                        <a href="team.html" class="side-menu__item">
                                            <div class="d-flex align-items-center">
                                                <span class="menu-service-icon">
                                                    <i class="ri-team-fill"></i>
                                                </span>
                                                <div class="flex-grow-1">
                                                    <div class="d-block mb-0 tx-16">Team</div>
                                                </div>
                                            </div>
                                        </a>
                                    </li>
                                    <li class="slide">
                                        <a href="team-details.html" class="side-menu__item">
                                            <div class="d-flex align-items-center">
                                                <span class="menu-service-icon">
                                                    <i class="ri-group-2-fill"></i>
                                                </span>
                                                <div class="flex-grow-1">
                                                    <div class="d-block mb-0 tx-16">Team Details</div>
                                                </div>
                                            </div>
                                        </a>
                                    </li>
                                    <li class="slide">
                                        <a href="careers.html" class="side-menu__item">
                                            <div class="d-flex align-items-center">
                                                <span class="menu-service-icon">
                                                    <i class="ri-briefcase-2-fill"></i>
                                                </span>
                                                <div class="flex-grow-1">
                                                    <div class="d-block mb-0 tx-16">Careers</div>
                                                </div>
                                            </div>
                                        </a>
                                    </li>
                                    <li class="slide">
                                        <a href="career-details.html" class="side-menu__item">
                                            <div class="d-flex align-items-center">
                                                <span class="menu-service-icon">
                                                    <i class="ri-briefcase-2-fill"></i>
                                                </span>
                                                <div class="flex-grow-1">
                                                    <div class="d-block mb-0 tx-16">Careers Details</div>
                                                </div>
                                            </div>
                                        </a>
                                    </li>
                                    <li class="slide">
                                        <a href="feedback.html" class="side-menu__item">
                                            <div class="d-flex align-items-center">
                                                <span class="menu-service-icon">
                                                    <i class="ri-eye-2-line"></i>
                                                </span>
                                                <div class="flex-grow-1">
                                                    <div class="d-block mb-0 tx-16">Feedbacks</div>
                                                </div>
                                            </div>
                                        </a>
                                    </li>
                                    <li class="slide">
                                        <a href="faq.html" class="side-menu__item">
                                            <div class="d-flex align-items-center">
                                                <span class="menu-service-icon">
                                                    <i class="ri-question-fill"></i>
                                                </span>
                                                <div class="flex-grow-1">
                                                    <div class="d-block mb-0 tx-16">Faq's</div>
                                                </div>
                                            </div>
                                        </a>
                                    </li>
                                    <li class="slide">
                                        <a href="pricing.html" class="side-menu__item">
                                            <div class="d-flex align-items-center">
                                                <span class="menu-service-icon">
                                                    <i class="ri-price-tag-2-fill"></i>
                                                </span>
                                                <div class="flex-grow-1">
                                                    <div class="d-block mb-0 tx-16">Pricing Plan</div>
                                                </div>
                                            </div>
                                        </a>
                                    </li>
                                    <li class="slide">
                                        <a href="partners.html" class="side-menu__item">
                                            <div class="d-flex align-items-center">
                                                <span class="menu-service-icon">
                                                    <i class="ri-award-fill"></i>
                                                </span>
                                                <div class="flex-grow-1">
                                                    <div class="d-block mb-0 tx-16">partners</div>
                                                </div>
                                            </div>
                                        </a>
                                    </li>
                                </ul>
                            </div>
                            <div class="col-xl-4 col-lg-4 col-12 py-lg-4 px-0 border-end">
                                <ul>
                                    <li>
                                        <p class="mb-4 d-flex align-items-center menu-label">
                                            <span class="">Other Pages </span>
                                        </p>
                                    </li>
                                    <li class="slide">
                                        <a href="services.html" class="side-menu__item">
                                            <div class="d-flex align-items-center">
                                                <span class="menu-service-icon">
                                                    <i class="ri-customer-service-fill"></i>
                                                </span>
                                                <div class="flex-grow-1">
                                                    <div class="d-block mb-0 tx-16">Services</div>
                                                </div>
                                            </div>
                                        </a>
                                    </li>
                                    <li class="slide">
                                        <a href="services-details.html" class="side-menu__item">
                                            <div class="d-flex align-items-center">
                                                <span class="menu-service-icon">
                                                    <i class="ri-info-card-fill"></i>
                                                </span>
                                                <div class="flex-grow-1">
                                                    <div class="d-block mb-0 tx-16">Services Details</div>
                                                </div>
                                            </div>
                                        </a>
                                    </li>
                                    <li class="slide">
                                        <a href="error.html" class="side-menu__item">
                                            <div class="d-flex align-items-center">
                                                <span class="menu-service-icon">
                                                    <i class="ri-error-warning-fill"></i>
                                                </span>
                                                <div class="flex-grow-1">
                                                    <div class="d-block mb-0 tx-16">Error 404</div>
                                                </div>
                                            </div>
                                        </a>
                                    </li>
                                    <li class="slide">
                                        <a href="login.html" class="side-menu__item">
                                            <div class="d-flex align-items-center">
                                                <span class="menu-service-icon">
                                                    <i class="ri-login-circle-fill"></i>
                                                </span>
                                                <div class="flex-grow-1">
                                                    <div class="d-block mb-0 tx-16">Login</div>
                                                </div>
                                            </div>
                                        </a>
                                    </li>
                                    <li class="slide">
                                        <a href="register.html" class="side-menu__item">
                                            <div class="d-flex align-items-center">
                                                <span class="menu-service-icon">
                                                    <i class="ri-login-circle-fill"></i>
                                                </span>
                                                <div class="flex-grow-1">
                                                    <div class="d-block mb-0 tx-16">Registration</div>
                                                </div>
                                            </div>
                                        </a>
                                    </li>
                                    <li class="slide">
                                        <a href="under-maintenance.html" class="side-menu__item">
                                            <div class="d-flex align-items-center">
                                                <span class="menu-service-icon">
                                                    <i class="ri-tools-fill"></i>
                                                </span>
                                                <div class="flex-grow-1">
                                                    <div class="d-block mb-0 tx-16">Under Construction</div>
                                                </div>
                                            </div>
                                        </a>
                                    </li>
                                    <li class="slide">
                                        <a href="forgot-password.html" class="side-menu__item">
                                            <div class="d-flex align-items-center">
                                                <span class="menu-service-icon">
                                                    <i class="ri-lock-line"></i>
                                                </span>
                                                <div class="flex-grow-1">
                                                    <div class="d-block mb-0 tx-16">Forgot Password</div>
                                                </div>
                                            </div>
                                        </a>
                                    </li>
                                    <li class="slide">
                                        <a href="terms-of-service.html" class="side-menu__item">
                                            <div class="d-flex align-items-center">
                                                <span class="menu-service-icon">
                                                    <i class="ri-article-fill"></i>
                                                </span>
                                                <div class="flex-grow-1">
                                                    <div class="d-block mb-0 tx-16">Terms & Conditions</div>
                                                </div>
                                            </div>
                                        </a>
                                    </li>
                                </ul>
                            </div> 
                            <div class="col-xl-4 col-lg-4 col-12 py-lg-4 px-0 border-end">
                                <ul>
                                    <li>
                                        <p class="mb-4 d-flex align-items-center menu-label">
                                            <span class="">Ecommerce Pages </span>
                                        </p>
                                    </li>
                                    <li class="slide">
                                        <a href="products.html" class="side-menu__item">
                                            <div class="d-flex align-items-center">
                                                <span class="menu-service-icon">
                                                    <i class="ri-shopping-bag-4-fill"></i>
                                                </span>
                                                <div class="flex-grow-1">
                                                    <div class="d-block mb-0 tx-16">Products</div>
                                                </div>
                                            </div>
                                        </a>
                                    </li>
                                    <li class="slide">
                                        <a href="product-details.html" class="side-menu__item">
                                            <div class="d-flex align-items-center">
                                                <span class="menu-service-icon">
                                                    <i class="ri-shopping-bag-4-fill"></i>
                                                </span>
                                                <div class="flex-grow-1">
                                                    <div class="d-block mb-0 tx-16">Product Details</div>
                                                </div>
                                            </div>
                                        </a>
                                    </li>
                                    <li class="slide">
                                        <a href="cart.html" class="side-menu__item">
                                            <div class="d-flex align-items-center">
                                                <span class="menu-service-icon">
                                                    <i class="ri-shopping-cart-2-fill"></i>
                                                </span>
                                                <div class="flex-grow-1">
                                                    <div class="d-block mb-0 tx-16">Cart</div>
                                                </div>
                                            </div>
                                        </a>
                                    </li>
                                    <li class="slide">
                                        <a href="checkout.html" class="side-menu__item">
                                            <div class="d-flex align-items-center">
                                                <span class="menu-service-icon">
                                                    <i class="ri-shopping-bag-fill"></i>
                                                </span>
                                                <div class="flex-grow-1">
                                                    <div class="d-block mb-0 tx-16">Checkout</div>
                                                </div>
                                            </div>
                                        </a>
                                    </li>
                                    <li class="slide">
                                        <a href="wishlist.html" class="side-menu__item">
                                            <div class="d-flex align-items-center">
                                                <span class="menu-service-icon">
                                                    <i class="ri-shopping-basket-2-fill"></i>
                                                </span>
                                                <div class="flex-grow-1">
                                                    <div class="d-block mb-0 tx-16">Wishlist</div>
                                                </div>
                                            </div>
                                        </a>
                                    </li>
                                </ul>
                            </div>
                            <div class="col-xl-12 px-0">
                                <div class="d-flex align-items-center justify-content-between py-3 px-4 bg-primary-transparent border-0 rounded-1 rounded-top-0 d-lg-flex d-none">
                                    <div class=" my-1 text-start d-lg-flex">
                                        <div class="d-flex align-items-center justify-content-xl-start my-lg-1 mb-2">
                                            <i class="bx bx-chat tx-20 tx-primary"></i>
                                            <div class="ms-2">
                                                <a href="javascript:void(0);" class="h6 tx-15">Chat with us</a>
                                            </div>
                                        </div>
                                        <div class="d-flex align-items-center justify-content-xl-start my-lg-1 mb-2 ps-lg-5">
                                            <i class="bx bx-envelope tx-20 tx-primary"></i>
                                            <div class="ms-2">
                                                <a href="javascript:void(0);" class="h6 tx-15">Email to Us</a>
                                            </div>
                                        </div>
                                        <div class="d-flex align-items-center justify-content-xl-start my-lg-1 mb-2 ps-lg-5">
                                            <i class="bx bx-play-circle tx-20 tx-primary"></i>
                                            <div class="ms-2">
                                                <a href="javascript:void(0);" class="h6 tx-15">Watch Demo</a>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="mb-4 mb-sm-0">
                                        <a href="javascript:void(0);" class="fw-semibold text-decoration-underline">Get Started Now <i class="fe fe-arrow-right tx-14"></i></a>
                                    </div>
                                </div>
                            </div>
                        </li>
                    </ul>
                </li>
                <!-- End::slide -->

                <!-- Start::slide -->
                <li class="slide has-sub">
                    <a href="javascript:void(0);" class="side-menu__item">
                        <span class="side-menu__label">Blog</span>
                        <i class="fe fe-chevron-down side-menu__angle side-menu__angle1 ms-1"></i>
                    </a>
                    <ul class="slide-menu child1 without-icon">
                        <li class="slide">
                            <a href="blog.html" class="side-menu__item">
                                <span>Blog</span>
                            </a>
                        </li>
                        <li class="slide">
                            <a href="blog-grid.html" class="side-menu__item">
                                <span>Blog Grid</span>
                            </a>
                        </li>
                        <li class="slide">
                            <a href="blog-details.html" class="side-menu__item">
                                <span>Blog-details</span>
                            </a>
                        </li>
                    </ul>
                </li>
                <!-- End::slide -->

                <!-- Start::slide -->
                <li class="slide d-xl-block d-none">
                    <a href="contact-us.html" class="side-menu__item">
                        <span class="side-menu__label">Contact Us</span>
                    </a>
                </li>
                <!-- End::slide -->
            </ul>

            <div>
                <ul class="list-unstyled d-flex align-items-center mb-0">
                    <li class="d-xl-block d-none">
                        <div class="main-header-center me-4 form-group">
                                <button type="button" aria-label="button" class="btn btn-search button-arrow-icon" data-bs-toggle="offcanvas" data-bs-target="#search-canvas" aria-controls="search-canvas"><i class="ri-search-line"></i></button>
                        </div>
                    </li>
                    <li class="text-lg-start text-center flex-grow-1">
                        <div class="btn-list me-4">
                            <a href="contact-us.html" class="btn btn-primary-gradient main-custom-button me-0 mb-0">
                                <span class="button-title">
                                    <span>Let’s Connect</span>
                                </span>
                                <span class="buttom-arrow">
                                    <i class="ri-arrow-right-up-long-line"></i>
                                </span>
                            </a>
                        </div>
                    </li>
                    <li class="d-lg-block d-none">
                        <div class="header-menu_bar me-xl-0 me-3"  data-bs-toggle="offcanvas" data-bs-target="#menu-bar-canvas">
                            <span></span>
                            <span></span>
                            <span></span>
                        </div>
                    </li>
                </ul>
            </div>
        </nav>
        <!-- End::nav -->
    </div>
    <!-- End::main-sidebar -->
</aside>
<!-- End::app-sidebar -->
</div>
            
        

JS

                                                <!--  Defaultmenu JS -->
	<script src="../assets/js/defaultmenu.js"></script>
                                                
                                            

FAQ'S

If you don't want to use scss files,you are in no need of Esbuild and other related files & folders so please remove below shown files

  • Html/src folder
  • Html/esbuild.config.js file
  • Html/package-lock.json file
  • Html/package.json file
  • Html/node_modules folder

You can simply use dist folder with only css, or can use by renaming it😊.

Step 1:

Go To style.scss (src/assets/scss/styles.scss )

if you want to change another font-family Go to the site Google Fonts And Select One font Family and import in to styles.scss file

How to Select font Family

Step 2:

And paste Your Selected font-family in style.scss

Step 3:

And add the Your Selected font-family in _customs.scss(src/assets/scss/custom/_customs.scss)

code

body {
        font-size: 1rem;
        font-family: "Manrope", sans-serif;
        font-weight: 400;
        color: #{variables.$color};
        background-color: #{variables.$background};
        line-height: 1.4;
        text-align: start;
        overflow-x: clip;
        padding: 0;
        margin: 0;
      }

By default menu icons are Bootstrap icons if you want to change icons please follow below steps
Step 1 :

To change Menu icons, open header.html page and go through app-sidebar section, in that section you will find Bootstrap icons of menu in i tag, there you can replace previous icon with your icon. Example as shown in below

html

Go To "src/assets/images/brand-logos" 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.

Please follow the below steps to enable RTL Version
Step1:

To enable RTL Version you have to open custom-switcher.js (assets/js/custom-switcher.js) file and remove comments for rtl as shown in below

javascript

//RTL 
    if (!localStorage.getItem("texonrtl")) {
        // html.setAttribute("dir" , "rtl") // for rtl version 
    }
Step2:
Remove the comments to enable rtl as shown below

javascript

//RTL 
    if (!localStorage.getItem("texonrtl")) {
        html.setAttribute("dir" , "rtl") // for rtl version 
    }

Please follow the below steps to enable Boxed Version
Step1:

To enable Boxed Version you have to open custom-switcher.js (assets/js/custom-switcher.js) file and remove comments for Boxed as shown in below

javascript

 //Boxed styles
    if (!localStorage.getItem("texonboxed")) {
        // html.setAttribute("data-width" , "boxed") // for boxed style
    }
Step2:
Remove the comments to enable boxed as shown below

javascript

//Boxed styles
    if (!localStorage.getItem("texonboxed")) {
        html.setAttribute("data-width" , "boxed") // for boxed style
    }
    

Please follow the below steps to enable Dark Theme
Step1:

To enable Dark Theme you have to open custom-switcher.js (assets/js/custom-switcher.js) file and remove comments for dark-mode as shown in below

javascript

//Dark Theme Style
    if (!localStorage.getItem("texondarktheme")) {
        // html.setAttribute("data-theme-mode" , "dark") // for dark theme 
    }
Step2:

Remove the comments to enable dark-modeas shown below

javascript

//Dark Theme Style
    if (!localStorage.getItem("texondarktheme")) {
        html.setAttribute("data-theme-mode" , "dark") // for dark theme 
    }

Step1:

To clear LocalStorage loading functions you need to remove localStorageBackup2() function in custom-switcher.min.js assets/js/custom-switcher.min.js as shown below

javascript

function localStorageBackup() {
    // if there is a value stored, update color picker and background color
    // Used to retrive the data from local storage
    if (localStorage.primaryRGB) {
        if (document.querySelector('.theme-container-primary')) {
            document.querySelector('.theme-container-primary').value = localStorage.primaryRGB;
        }
        document.querySelector('html').style.setProperty('--primary-rgb', localStorage.primaryRGB);
    }
    if (localStorage.bodyBgRGB) {
        if (document.querySelector('.theme-container-background')) {
            document.querySelector('.theme-container-background').value = localStorage.bodyBgRGB;
        }
        document.querySelector('html').style.setProperty('--body-bg-rgb', localStorage.bodyBgRGB);
        let html = document.querySelector('html');
        html.setAttribute('data-theme-mode', 'dark');
        document.querySelector('#switcher-dark-theme').checked = true;
    }
    if (localStorage.Texondarktheme) {
        let html = document.querySelector('html');
        html.setAttribute('data-theme-mode', 'dark');
    }
    if (localStorage.Texonrtl) {
        let html = document.querySelector('html');
        html.setAttribute('dir', 'rtl');
        rtlFn();
    }
    if (localStorage.Texonboxed) {
        let html = document.querySelector('html');
        html.setAttribute('data-width', 'boxed');
    }
    if(localStorage.Texonltr){
        ltrFn()
    }

    if(localStorage.loaderEnable == "true"){
        document.querySelector("#switcher-loader-enable").checked = true
    }
}
Step2:

To remove complete LocalStorage saving you need to remove all localstorage related calling functions like localStorage.setItem, localStorage.removeItem, localStorage.getItem, localStorage.clear in custom-switcher.js assets/js/custom-switcher.min.jsfile.Below are the some examples to find out.

javascript

localStorage.setItem( );
localStorage.removeItem( );
localStorage.getItem( )
localStorage.clear();
localStorageBackup();

Please follow the below steps to change Primary Color
Step 1 :

To change Primary Color you have to open _variables.scss file and replace what color you want as shown in below

Rootpath : _variables.scss (src/assets/scss/_variables.scss )

Please follow the below steps to change Dark body Color
Step 1 :

Make sure the theme is set completely to dark mode by adding the following attributes to the html tag data-theme-mode="dark" data-header-styles="dark" data-menu-styles="dark"

Step 2 :

To change Dark body Color you have to open _variables.scss file and replace what color you want as shown in below

Rootpath : _variables.scss (src/assets/scss/_variables.scss )

Step 3 :

Also Change the following variable colors to the desired theme background accordingly in [data-theme-mode="dark"]

--light-rgb :
--form-control-bg :
--input-border :
--gray-3 :

Html Structure

General HTML structure of the Texon-Business Consulting HTML Template Here is the Folder structure.

html

    <!-- include mainhead.html"-->

    </head>
    
    <body class="main-body light-theme">
    
         <!-- include switcher.html"-->
      
        <!-- include switcher-icon.html"-->
    
       <!-- include loader.html"-->

       <!-- include back-to-top.html"-->
    
        <div class="page">
    
            <!-- include header.html"-->
    
            <div class="main-content app-content pages-sections">
                <div id="scroll-shell">
                    <div id="scroll-stage">
                        <main id="main-area" class="main-area">
                            <div class="section-spacer"></div>
                            <!-- start: section -->
                            
                            <!-- end: section -->
    
                            <!-- include footer.html"-->
    
                        </main>
                    </div>
                </div>
            </div>
    
    
    
        </div>
    
        <!-- include menu_bar.html"-->

        <!-- include headersearch_modal.html"-->

        <!-- include commonjs.html"-->

         <!-- include partials/customjs.html"-->
    
    </body>
    
    </html>
    

enable switcher in any page

To enable the switcher then you must have to place below html, css, js in your html page .

Rootpath for switcher: html/partials/switcher.html

Rootpath for switcher-icon: html/partials/switcher-icon.html

                                            <!-- Start Switcher -->
<div class="offcanvas offcanvas-end" tabindex="-1" id="switcher-canvas" aria-labelledby="offcanvasRightLabel">
    <div class="offcanvas-header justify-content-between border-bottom-0">
        <h5 class="offcanvas-title" id="offcanvasRightLabel">Switcher</h5>
        <a aria-label="anchor" href="javascript:void(0);" class="btn btn-icon" data-bs-dismiss="offcanvas">
            <i class="fe fe-x fs-4 lh-1"></i>
        </a>
    </div>
    <div class="offcanvas-body">
        <div class="">
            <p class="switcher-style-head">Theme Color Mode:</p>
            <div class="row switcher-style">
                <div class="col-5">
                    <div class="form-check switch-select">
                        <label class="form-check-label" for="switcher-light-theme">
                            Light
                        </label>
                        <input class="form-check-input" type="radio" name="theme-style" id="switcher-light-theme" checked>
                    </div>
                </div>
                <div class="col-5">
                    <div class="form-check switch-select">
                        <label class="form-check-label" for="switcher-dark-theme">
                            Dark
                        </label>
                        <input class="form-check-input" type="radio" name="theme-style" id="switcher-dark-theme">
                    </div>
                </div>
            </div>
        </div>
        <div class="">
            <p class="switcher-style-head">Directions:</p>
            <div class="row switcher-style">
                <div class="col-5">
                    <div class="form-check switch-select">
                        <label class="form-check-label" for="switcher-ltr">
                            LTR
                        </label>
                        <input class="form-check-input" type="radio" name="direction" id="switcher-ltr" checked>
                    </div>
                </div>
                <div class="col-5">
                    <div class="form-check switch-select">
                        <label class="form-check-label" for="switcher-rtl">
                            RTL
                        </label>
                        <input class="form-check-input" type="radio" name="direction" id="switcher-rtl">
                    </div>
                </div>
            </div>
        </div>
        <div class="">
            <p class="switcher-style-head">Layout Width Styles:</p>
            <div class="row switcher-style">
                <div class="col-6 col-xl-5">
                    <div class="form-check switch-select">
                        <label class="form-check-label" for="switcher-full-width">
                            Full Width
                        </label>
                        <input class="form-check-input" type="radio" name="layout-width" id="switcher-full-width" checked>
                    </div>
                </div>
                <div class="col-6 col-xl-5">
                    <div class="form-check switch-select">
                        <label class="form-check-label" for="switcher-boxed">
                            Boxed
                        </label>
                        <input class="form-check-input" type="radio" name="layout-width" id="switcher-boxed">
                    </div>
                </div>
            </div>
        </div>
        <div class="theme-colors">
            <p class="switcher-style-head">Theme Primary:</p>
            <div class="d-flex align-items-center switcher-style">
                <div class="form-check switch-select me-3">
                    <input class="form-check-input color-input color-primary-1" type="radio"
                        name="theme-primary" id="switcher-primary">
                </div>
                <div class="form-check switch-select me-3">
                    <input class="form-check-input color-input color-primary-2" type="radio"
                        name="theme-primary" id="switcher-primary1">
                </div>
                <div class="form-check switch-select me-3">
                    <input class="form-check-input color-input color-primary-3" type="radio" 
                        name="theme-primary" id="switcher-primary2">
                </div>
                <div class="form-check switch-select me-3">
                    <input class="form-check-input color-input color-primary-4" type="radio" 
                        name="theme-primary" id="switcher-primary3">
                </div>
                <div class="form-check switch-select me-3">
                    <input class="form-check-input color-input color-primary-5" type="radio" 
                        name="theme-primary" id="switcher-primary4">
                </div>
                <div class="form-check switch-select me-3 ps-0 mt-1 color-primary-light">
                    <div class="theme-container-primary"></div>
                    <div class="pickr-container-primary"></div>
                </div>
            </div>
        </div>
        <div class="theme-colors">
            <p class="switcher-style-head">Theme Background:</p>
            <div class="d-flex align-items-center switcher-style">
                <div class="form-check switch-select me-3">
                    <input class="form-check-input color-input color-bg-1" type="radio"
                        name="theme-background" id="switcher-background" checked>
                </div>
                <div class="form-check switch-select me-3">
                    <input class="form-check-input color-input color-bg-2" type="radio"
                        name="theme-background" id="switcher-background1">
                </div>
                <div class="form-check switch-select me-3">
                    <input class="form-check-input color-input color-bg-3" type="radio" name="theme-background"
                        id="switcher-background2">
                </div>
                <div class="form-check switch-select me-3">
                    <input class="form-check-input color-input color-bg-4" type="radio"
                        name="theme-background" id="switcher-background3">
                </div>
                <div class="form-check switch-select me-3">
                    <input class="form-check-input color-input color-bg-5" type="radio"
                        name="theme-background" id="switcher-background4">
                </div>
                <div class="form-check switch-select me-3 ps-0 mt-1 color-bg-transparent">
                    <div class="theme-container-background"></div>
                    <div class="pickr-container-background"></div>
                </div>
            </div>
        </div>
        <div class="">
            <p class="switcher-style-head">Loader:</p>
            <div class="row switcher-style gx-0"> 
                <div class="col-4"> 
                    <div class="form-check switch-select"> 
                        <label class="form-check-label" for="switcher-loader-enable"> Enable </label> 
                        <input class="form-check-input" type="radio" name="page-loader" id="switcher-loader-enable" checked=""> 
                    </div> 
                </div> 
                <div class="col-4"> 
                    <div class="form-check switch-select"> 
                        <label class="form-check-label" for="switcher-loader-disable"> Disable </label> 
                        <input class="form-check-input" type="radio" name="page-loader" id="switcher-loader-disable" checked=""> 
                    </div> 
                </div> 
            </div>
        </div>
        <div class="d-grid canvas-footer ps-3 pb-4 pe-5">
            <button type="button" id="reset-all" class="btn btn-danger">Reset</button>
        </div>
    </div>
</div>
<!-- End Switcher -->
                                            
                                        
                                            
                                                
        <!--  Switcher scss -->
        assets/scss/custom/_switcher.scss
                                             
                                        
                                            
                                                
        <!--  Custom-switcher js -->
        <script src="../assets/js/custom-switcher.js"> </script>
                                             
                                        

If you want switcher icon in html pages then replace below code in app header section

                                            
                                                
   <!-- Start Switcher-Icon -->
   <a aria-label="anchor" class="switcher-icon" data-bs-toggle="offcanvas" href="#switcher-canvas" aria-controls="switcher-canvas">
    <i class="ri-settings-2-line"></i>
   </a>

                                             
                                        

Texon comes with power of Esbuild

esbuild is a blazing-fast JavaScript bundler and minifier designed for modern web development workflows. It is known for its exceptional speed, minimal configuration, and powerful features. Check here.

Prerequisites:

To install and set up all the prerequisites, follow these steps:

Ensure that Node.js is installed and running on your computer. If Node.js is already installed, you can skip this step. Otherwise, install it on your computer.

If you want to install and use the latest version of Node.js, you can find the necessary instructions on the official website.

To set up esbuild, you need to install it globally on your system. Run one of the following commands in your terminal:

code

 npm install -g esbuild
or

code

 npm install --save-dev esbuild
Installation

Please follow below steps to install and setup all pre requisites:

Make sure to have all above pre requisites installed & running in your computer

Open your terminal, go to your folder and enter below command. This would install all required dependencies in node_modules folder.

code

 npm install
Build Production File

After completing the above steps, run the following command from the project root (Texon/src) in your terminal or command prompt:

code

 npm run dev

Note:-Ensure all required node_modules are installed to run the Esbuild tasks successfully.

The following command performs several tasks to streamline your development workflow below are some of the task it performs :

  1. Generates the dist/ directory
  2. Starts the local development server
  3. Watches for changes in the src/ folder (HTML, JavaScript, SCSS, etc.)
  4. Automatically reflects those changes in the dist/ output for live development

Credit's

Icons Credit
Icons References
Font Awesome https://fontawesome.com/
Bootstrap Icons https://icons.getbootstrap.com/
Boxicons https://boxicons.com/
Remix Icons https://remixicon.com/
Feather Icons https://feathericons.com/
Images Credit
Fonts Credit
Font References
Google Fonts https://fonts.google.com/

Switcher styles

html

<html lang="en" dir="ltr" data-nav-layout="vertical" data-theme-mode="light" data-header-styles="transparent" data-width="fullwidth" data-menu-styles="transparent" data-page-style="flat" data-toggled="close"  data-vertical-style="doublemenu" data-toggled="double-menu-open">

Light:

html

data-theme-mode="light"
Dark:

html

data-theme-mode="dark" 

LTR (Left to Right):

html

dir="ltr"
RTL (Right to Left):

html

dir="rtl"

Default Width:

html

data-width="default"
Full Width:

html

data-width="full-width"
Boxed:

html

data-width="boxed"

Enable:

html

loader="enable"
Disable:

html

loader="disable"

Choices JS :

Choices JS is very simple javascript plugin to style default select..

html

css

js

Swiper JS :

Swiper JS is very modern javascript plugin to replace bootstrap carousel..

html

css

js

noui slider :

noui slider is a modern javascript plugin for alert messages..

html

css

js

<!-- noUiSlider JS -->
<script src="../assets/libs/nouislider/nouislider.min.js"></script>
<script src="../assets/libs/wnumb/wNumb.min.js"></script>

/* default slider */
var slider = document.getElementById('slidermain');
noUiSlider.create(slider, {
    start: [30, 80],
    connect: true,
    range: {
        'min': 0,
        'max': 100
    }
});

Additional Plugins Included :

The following plugins have also been included, apart from the ones already listed in the above sections

Plugin Version URL
Bootstrap v5.3.3 https://www.npmjs.com/package/bootstrap
Animate Css v4.1.1 https://animate.style/
gsap v3.14.2 https://gsap.com/
imagesloaded v5.0.0 https://imagesloaded.desandro.com/
isotope-layout v3.0.6 https://isotope.metafizzy.co/
odometer v0.4.8 https://github.hubspot.com/odometer/docs/welcome/
wow.js v1.2.1 https://wowjs.uk/
Information
Need Help ?
Support Help Desk
Technical issues? Our support team is ready to help.
Pre-Sales
Have questions before purchasing? Contact our pre-sales team.
Pre-Sales Chat
Get immediate answers through our live chat support.