gantry5 icon indicating copy to clipboard operation
gantry5 copied to clipboard

How to properly connect all your styles to custom?

Open kosh2323 opened this issue 2 years ago • 1 comments

The documentation says how to connect custom.css, and there are no problems with this, but how does the compiler work in gantry? Let's say we want to connect several more files, both scss and just css. Do I need to write the *.css extension when connecting? Or just rename it to *.scss?

Do I need underscores for all files or only for those that we don't want to compile, for example mixins, variables and the like?How is it more correct to get 1 custom file at the output, so that it is compiled later?

kosh2323 avatar Jul 08 '22 08:07 kosh2323

I understand that the questions may be banal and simple, and someone may be annoyed, but I ask you, friends, to answer who knows.

kosh2323 avatar Jul 13 '22 06:07 kosh2323

Hi, all custom css should be .scss. Mostly files with underscores are files which should be imported into main .scss file

PhocaCz avatar Sep 05 '22 11:09 PhocaCz

Hi, all custom css should be .scss. Mostly files with underscores are files which should be imported into main .scss file

Hi Jan, I'm surprised that someone answered, I already understood that, thanks for the answer. I'm closing the topic.

kosh2323 avatar Sep 05 '22 11:09 kosh2323