Do bass.less files not look for images in their folder?


#1

Was trying to set a background image using an image that is sitting in the folder with the bass.less file. However CSS seems to demand the full path. I’m trying to avoid using external websites and I’d rather just pull the image from the theme folder itself but I can’t figure out how, if its possible.

This doesn’t work background: url('background.jpg'); or anything in between. It wants a website or it wants the entire path and I don’t know why?


#2

Have you tried something like atom://<PACKAGE NAME>/path/to/background.jpg?


#3

That’s works! Many thanks.