Base solution for your next web application
Open Closed

SASS files #6603


User avatar
0
kasem created

Hi,

I just want to make sure you generate themes CSS from metronic SASS files? I currently have a rebuild on any SASS update but without noticing an effect on the CSS files


7 Answer(s)
  • User Avatar
    0
    XugoWebTeam created

    Hey kasem, I asked the same question recently:

    https://support.aspnetzero.com/QA/Questions/6463

    It seems that Metronic files are not compiled (even though they are included).

    Do you also find it confusing, that...when you save a Sass file, it triggers the build process, even though its not compiling. It tricks you into thinking the Sass is compiled. I don't know why they've done that!

  • User Avatar
    0
    kasem created

    Exactly! thanks for commenting @xugowebteam BTW, I use the version Asp.Net Core with Angular

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @kasem

    Are you using Angular or JQuery version ?

  • User Avatar
    0
    kasem created

    Hi @ismcagdas

    I use Angular version

  • User Avatar
    0
    kasem created

    I was able to compile metronic SASS files in the standalone metronic theme.

    The problem I currently have: I noticed there's some discrepancy between the CSS files you included in dist for the different themes, and the ones generated by Metronic. I just made a minor color update, replaced the generated CSS in the project and got a screwed up drop-menu that shows on top right corner.

    Please note that I'm using SASS files exist in the following path of metronic project: /theme/default/tools Is it the correct path? did I miss anything here?

    Other folders I have in /theme folder are: angular, classic

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @kasem

    I noticed there's some discrepancy between the CSS files you included in dist for the different themes, and the ones generated by Metronic

    We use the generated files in Metronic's source code, we didn't generate them as far as I remember. I'm not sure how to help you on this, maybe you are missing some steps at Metronic style generation process.

  • User Avatar
    1
    kasem created

    Actually I generated them just following Metronic instructions. It seems something to figure out on Metronic's side.

    Thanks!