Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now
Home / Learn / Tutorials / Metronic Tutorials / Metronic Bootstrap Admin Theme SASS Overview

Metronic Bootstrap Admin Theme SASS Overview

By Shane L on 5 years ago

In this tutorial, we will be discussing on our default HTML version SASS structure. Our default version consists of multiple demo folders; however, each demo is considered independent from each other. Therefore, each demo will have its own SASS folder where you can customize or extend.

Our SASS folder is located in /theme/html/<demo>/src/sass/

There are 5 main key points within our SASS structure:

  • Variable configurations
  • Layouts
  • Components
  • Pages
  • Vendors

We have created a very flexible and efficient file structure framework to enable all our users to be customize and extend Metronic’s styling to fit any project requirements.

All of Metronic’s SASS initialization is located within our _init.scss and style.scss files. If your project needs additional custom scss files to be imported, you can just add your scss path in either of these 2 files. However, we recommend that you add it at the bottom of the style.scss file.

You can add your own scss file by first creating the file somewhere within your project and then adding this line of code at the bottom each section of our style.scss file.

@import “<your scss file path>”;

When viewing some of our sass files, you may come across some custom scss functions. You will most likely see our get() function the most. Here’s an example of a get() function:

get($aside-config, base, width);

How this read is, the function will get the value set within a variable called $aside-config with a node or parameter called base -> width.

Hence, the value our get() function is calling is located within the _variables.scss file of our layout that’s pointing to the value of 265px:

// Aside
$aside-config: (
    // Aside
    base: (
        width: 265px, <-- value returned
        minimized-width: 70px,
        zindex: 98,
        scrollbar-width: 4px
    ),
    // Offcanvas Mobile
    offcanvas-mobile: (
        width: 275px,
        zindex: 1001,
        bg-color: #ffffff,
        shadow: 0px 1px 9px -3px rgba(0,0,0,0.75),
        overlay-bg-color: rgba(#000000, 0.1)
    )
) !default;

You can locate all variable files within each main scss folder such as, “components”, “layout”, “pages, or “vendors”. Our variable files will usually be named as _variables.

Variable configurations

Most of Metronic’s general styling can be found within our variable files. These variable files consist of key variables such as font sizes, font weights, colors, padding or margins sizes and many more.

These key variables are primarily used for global stylings. So, if your project needs to customize a certain style globally, your first point to look for will be within one of our variable files.

Layouts

Our layout sass folder is located at /themes/html/<demo>/src/sass/layout

Within this folder, we have all the necessary sass files that controls the layout of your project, or in this case, the selected demo.

In essence, if you need to modify the aside menu with demo 1, then you’ll be looking at _aside.scss or if you need to modify the header, then _header.scss and so on.

Components

Components are shared element across all pages within Metronic such as, accordions, buttons, cards, forms, etc. You can locate our components sass within /themes/html/<demo>/src/sass/components

In our components folder, we have 3 variable files:

_variable.bootstrap.scss
_variable.custom.scss
_variable.demo.scss

Bootstrap variables

In our Bootstrap variables file, we define and override Bootstrap’s default variables to fit the look and feel of each of our demo. We recommend that you use this file as a reference only and not to modify any of the variables defined here.

Custom variables

Our Custom variables file consists of all the values used by our custom components that were created. Values such as, heights and widths, icon sizes, SVG sizes, checkbox configurations, etc. Similar with our Bootstrap variables, we do not recommend modifying anything within this file.

Demo variables

All variables defined within our Demo variables file will be used to override any of our defined values within the Bootstrap and Custom variable files. Therefore, if you want to customize a certain color, we recommend that you copy the variable name from _variables.bootstrap.scss into _variables.demo.scss and then replace the value with the value your project requires.

For example, if you want to change the $success color variable. First, locate the color within _variables.bootstrap.scss, copy the variable and paste it in _variable.demo.scss, and replace it the color values and it should look something like this:

// Success colors
$success:                                           #1BC5BD; // Bootstrap variable
$success-hover:                                     #0BB7AF; // Custom variable
$success-light:                                     #C9F7F5; // Custom variable
$success-inverse:                                   #FFFFFF; // Custom variable

Please remember to remove the !default flag with the Demo variables file.

Pages

Pages sass files are custom stylings for specific standalone pages within Metronic that does not quite fit within a component or have components within itself. Such as our error or login pages.

Our pages do not have a variables file since each scss file is considered an independent styling file. If you need to modify any of these, you can do so directly within the corresponding file. For example, if you need to modify the font size within our Error 3 page, you can modify our error-3.scss file directly.

Vendors

All Metronic 3rd party plugins that were customized to fit the look and feel of each demo is placed within our vendors folder.

Whilst we have a _variables.scss file within this folder, you may choose to ignore it when customizing your newly included plugins.

Closing Notes

When creating new scss files, please remember to import your new scss files within our styles.scss. We have segmented our imports by components, plugins, and layouts for you to include your files at the bottom of corresponding section. For example, if you are adding a new component scss file, add the file path at the bottom of our components import code.

For a video tutorial on this, please have a look here: https://keenthemes.com/tutorials/sass-customization-overview

Shane L
Shane L | Keenthemes Team

Comments (36)

Aiza
2 hours ago

The Metronic Bootstrap Admin Theme SASS Overview provides a clear and useful explanation for developers who want to customize their admin dashboards more efficiently. I like how SASS helps organize styles in a cleaner and more flexible way, making theme customization faster and easier to manage. This overview is especially helpful for beginners who are learning modern web development and responsive design techniques. Exploring detailed tech guides like this can be just as interesting as checking the KFC Menu Pakistan to discover something new and useful.

Saim
1 day ago

This tutorial provides a clear explanation of how the default HTML version SASS structure is organized. Keeping each demo independent with its own SASS folder is a smart approach because it allows developers to customize styles without affecting other demos. It also makes maintenance and scalability much easier for larger projects. Beginners can quickly understand how to extend or modify designs efficiently. I experienced a similar organized setup while exploring tlauncher android customization and configuration options recently.

James
1 week ago

This is a very clear and well-structured explanation of the Metronic SASS overview. The breakdown of variables, layouts, components, and vendors makes it much easier to understand how customization works in large projects. Especially the way SASS variables are organized for flexibility is really useful for developers working on scalable applications. Also, for anyone looking for useful online resources and guides, you can Tnreginet — it provides helpful and simple information on different topics. Overall, this tutorial is very informative and valuable for both beginners and experienced developers.

Screenrepair
1 week ago

A clear and detailed breakdown of the Metronic SASS structure that effectively explains how customization, variables, and components are organized across the theme. It’s especially helpful for developers looking to understand or extend the framework. pool screen repair

Screenrepair
1 week ago

A clear and detailed breakdown of the Metronic SASS structure that effectively explains how customization, variables, and components are organized across the theme. It’s especially helpful for developers looking to understand or extend the framework. pool screen repair

Seo
1 week ago

Excelente guia sobre a estrutura SASS do Metronic! A modularidade das variáveis facilitam muito a personalização de grandes projetos. No desenvolvimento moderno, essa eficiência se une à inovação da inteligência artificial; por exemplo, para gerar placeholders realistas em protótipos de UI, o https://www.thispersondoesnotexist.cc/pt é uma ferramenta indispensável. Integrar automação no CSS e na geração de ativos digitais é o futuro do workflow frontend.

Screenrepair
2 weeks ago

A clear and well-structured overview of Metronic SASS setup. It highlights flexibility, especially with variables and overrides, and gives good guidance on where to customize safely. Slightly detailed for beginners, but overall very useful. lanai screen repair

Dennis
2 weeks ago

This type of gaming utility is often chosen by users who want to experiment with additional in-game features. It allows more flexibility in how games are experienced and customized. The system is designed to be lightweight and responsive, ensuring smooth operation. https://deltaexecutores.com/

Dennis
2 weeks ago

This type of gaming utility is often chosen by users who want to experiment with additional in-game features. It allows more flexibility in how games are experienced and customized. The system is designed to be lightweight and responsive, ensuring smooth operation. https://deltaexecutores.com/

topten
2 weeks ago

Metronic’s SASS structure shows how powerful organization and reusable variables can make large-scale design customization efficient and scalable, especially when everything is centralized through configuration files. This kind of structured flexibility mirrors how Spotify premium apk manages its user experience behind a simple interface lies a highly organized system that personalizes playlists, themes, and recommendations. Just as SASS variables control global styling, Spotify’s algorithms and settings shape the overall experience, proving that strong underlying structure is key to delivering smooth, adaptable, and user-friendly results.

G
Guest
2 weeks ago

Community forums like this are great for sharing different ideas, experiences, and useful resources with others. Whether it's discussions about technology, daily topics, or general interests, these platforms help people stay connected and discover something new. During free time, many users also look for simple ways to relax and enjoy themselves. If you're interested in exploring online entertainment, you can check out y888 app, which provides a smooth and engaging gaming experience for users.

G
Guest
2 weeks ago

Community forums like this are great for sharing different ideas, experiences, and useful resources with others. Whether it's discussions about technology, daily topics, or general interests, these platforms help people stay connected and discover something new. During free time, many users also look for simple ways to relax and enjoy themselves. If you're interested in exploring online entertainment, you can check out y888 download, which provides a smooth and engaging gaming experience for users. https://y888games.pk/

Cozy
1 month ago

This tutorial on the default HTML version SASS structure is very helpful. Having separate SASS folders for each demo ensures full customization without affecting others. It’s ideal for developers who want modular design control. You can easily extend styles or make changes demo by demo, which keeps projects organized and scalable. For further resources and examples, you can visit https://buscadordeestatus.mx/ . This site provides additional guidance and tips for managing SASS structures efficiently across multiple independent demos.

OMAR7STAR
1 month ago

And his eyes have all the seeming of a demon’s that is dreaming, And the lamp-light o’er him streaming throws his shadow on the floor; And my soul from out that shadow that lies floating on the floor arabic-poems.com/2026/01/the-raven-poem.html

roslande
1 month ago

The Aurora Legacy Paints – UEE Distinguished Service is a special cosmetic item in Star Citizen that represents honor and recognition. It is inspired by the prestigious United Empire of Earth and reflects a legacy of dedicated service. This paint is applied to the RSI Aurora, giving it a refined and distinguished appearance. It stands as a symbol of loyalty, achievement, and long-term commitment within the game. Visit Websiteoften introduce quality-of-life improvements, like better controls or interface updates, making the overall experience more enjoyable for players. Players value it not just for its visual appeal but also for the status it represents in the community.

roslande
1 month ago

The Aurora Legacy Paints – UEE Distinguished Service is a special cosmetic item in Star Citizen that represents honor and recognition. It is inspired by the prestigious United Empire of Earth and reflects a legacy of dedicated service. This paint is applied to the RSI Aurora, giving it a refined and distinguished appearance. It stands as a symbol of loyalty, achievement, and long-term commitment within the game. often introduce quality-of-life improvements, like better controls or interface updates, making the overall experience more enjoyable for players.Players value it not just for its visual appeal but also for the status it represents in the community.

Graeme
1 month ago

This explanation makes the Metronic SASS structure much easier to understand, especially how the variable layers interact across Bootstrap, custom, and demo files. Clear guidance like copying settings into _variables.demo.scss instead of modifying core files is extremely helpful for maintaining updates. Good structure always improves workflow and design consistency. It reminds me of how users search for guides like jak włączyć shadery w minecraft to improve their overall experience and customization options.

Alex
2 months ago

Metronic’s Bootstrap Admin Theme with SASS truly simplifies dashboard development with its modular and responsive design. Tools like saper pro can further enhance productivity by streamlining customization and workflow management. Just like well-designed Outdoor Drinking fountains, a clear structure and accessibility make digital interfaces more efficient, practical, and user-friendly.

David
2 months ago

This is such a clear and helpful breakdown of the Metronic SASS structure! I've been working with this theme for a while, and it's refreshing to see everything explained so simply—especially how the variable files work together across Bootstrap, custom, and demo layers. That's always been a bit confusing for me, but now it makes way more sense. Really appreciate the tip about copying variables into _variables.demo.scss instead of editing the core files directly. Oh, and the Dazzcam logo reference totally fits here too—clean design and smart structuring go hand in hand!

Backlinking
2 months ago

Great overview Metronic’s SASS structure looks really flexible and easy to customize! patio screen repair

Backlinking
2 months ago

Great overview! The Metronic SASS structure seems very well-organized and flexible, making customization and project-specific styling much easier. artificial grass company

Michael
3 months ago

"Metronic’s Bootstrap Admin Theme with SASS makes building responsive and customizable dashboards much easier. Its flexible structure reminds me of designing layouts for practical setups like Outdoor Drinking fountains, where organization and accessibility are key.

Anika
3 months ago

Very helpful and easy-to-understand overview of the Metronic SASS structure. It clearly explains how variables, layouts, and components are organized, making customization simple and efficient. Also, KfcMenuAustralia breakfast menu is a great value keyword to keep in mind

ahmed
4 months ago

nice. arabic poems. Enjoy reading and listening to the best Arabic poems with explanation! Discover the most famous Arab poets and the beauty of the Arabic language through poetry. poetry

ahmed
4 months ago

nice. arabic poems. Enjoy reading and listening to the best Arabic poems with explanation! Discover the most famous Arab poets and the beauty of the Arabic language through poetry. poetry

ahmed
4 months ago

nice. arabic poems. Enjoy reading and listening to the best Arabic poems with explanation! Discover the most famous Arab poets and the beauty of the Arabic language through poetry. poetry

ahmed
4 months ago

This website provides visitors with some of the best Arabic poems https://arabic-poems.com/ with English translations and audio, written by famous Arabic poets. https://arabic-poems.com/

ahmed
4 months ago

This website provides visitors with some of the best Arabic poems with English translations and audio, written by famous Arabic poets. https://arabic-poems.com

ahmed
4 months ago

This website provides visitors with some of the best Arabic poems with English translations and audio, written by famous Arabic poets. https://www.arabic-poems.com

ahmed
4 months ago

This website provides visitors with some of the best Arabic poems with English translations and audio, written by famous Arabic poets. http://www.arabic-poems.com

G
Guest
1 year ago

Hey! Metronic Bootstrap Admin Theme with SASS is a fantastic choice for building responsive and customizable dashboards. The combination of pre-built components and SASS makes styling much more efficient, especially for projects requiring dynamic UI elements. Plus, its performance across devices is smooth, ensuring a great user experience. Speaking of performance and security, these factors are also crucial for online platforms like MelBet. Sites like http://disablessl3.com/ highlight essential security measures such as SSL encryption, ensuring safe transactions—something that’s vital for online casinos, where fast payments, data protection, and smooth gaming are top priorities.

Bhanukumar
1 year ago

Certvalue is the top HACCP Consultants in Columbia for providing HACCP Certification in Columbia,Bogota, Medellin, Shenzhen, Bucaramanga, Manizales and other major cities in Colombia with the services of implementation. https://www.certvalue.com/haccp-certification-in-colombia/

TERIANUS
3 years ago

Salum selamat siang

G
Guest
1 month ago

When working with modern frameworks and design systems, having a clear structure for customization is very important. Tools like SASS make it easier to manage styles, layouts, and components efficiently. Developers often rely on different utilities to improve flexibility and control in their workflow. In similar contexts, tools like executordelta are also explored by advanced users who want better control over interactive environments. Using the right set of tools can significantly enhance both development and user experience.

Text format options
Here's a how to add some HTML formatting to your comment:
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li> or <ol><li> to make lists
  • <h3> or <h4> to make headings
  • <pre></pre> for code blocks
  • <code></code> for a few words of code
  • <a></a> for links
  • <img> to paste in an image (it'll need to be hosted somewhere else though)
  • <blockquote></blockquote> to quote somebody
  • happy :)
  • shocked :|
  • sad :(
Text format options
Here's a how to add some HTML formatting to your comment:
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li> or <ol><li> to make lists
  • <h3> or <h4> to make headings
  • <pre></pre> for code blocks
  • <code></code> for a few words of code
  • <a></a> for links
  • <img> to paste in an image (it'll need to be hosted somewhere else though)
  • <blockquote></blockquote> to quote somebody
  • happy :)
  • shocked :|
  • sad :(

Popular Blog Posts

Metronic 8 is Live!

Keenthemes team elevates the most advanced and multifunctional admin dashboard theme to a new lev...

5 reasons to use Bootstrap admin template

It’s no doubt that when a development takes longer to complete, additional costs to integra...

Getting Started with Datatables

Datatables are basically HTML tables that consists of large quantities of data within each row...