The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS SASS sharing variables between projects

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #177460

    Hey all!

    For one of my projects I’ve made a _SASSGeneral file which includes all mixins and global variables. I import this file everywhere where needed (page templates and modules).

    No I have a second project and I want to make this file globally available. This is no problem except for the fact that each project will have it’s own $ProjectColor variable (within the new _color.scss file). So now I have to import this file and it’s $ProjectColor variable to this general files.

    Because each project will have it’s own _color.scss I have the need for a regex or some kind which handles the different map names. Can someone give me some tips or alternatives?

    Thanks in advance!

    Greetings Stefan


    Excuse me I mean folder names. Yeah that could be, what about that regex?

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.