- Issue created by @poker10
Hello.
I have that problem and solved it.
In my .scss file I add this variable(path to my barrio)
$barrio_path_images: "../../../contrib/bootstrap_barrio/images/" !default;
Currently, after
π
File icon paths are broken
Fixed
, the paths to multiple icons are hardcoded to be on /themes/contrib/bootstrap_barrio/images/icons/
path. The theme can be installed even outside of the contrib folder (which is possible if installer-paths
in composer.json
are changed.
Can we make the paths to icons relative to the theme installation path?
Install bootstrap_barrio in /themes/bootstrap_barrio/ and see that for example file icons (themes/bootstrap_barrio/css/components/file.css) are not working. Here are the definitions causing issues:
https://git.drupalcode.org/project/bootstrap_barrio/-/blob/5.x/css/compo...
https://git.drupalcode.org/project/bootstrap_barrio/-/blob/5.5.x/css/com...
https://git.drupalcode.org/project/bootstrap_barrio/-/blob/5.5.x/css/com...
https://git.drupalcode.org/project/bootstrap_barrio/-/blob/5.5.x/css/com...
https://git.drupalcode.org/project/bootstrap_barrio/-/blob/5.5.x/scss/co...
Make the paths to icons relative to the theme installation path.
Active
5.5
Code
Hello.
I have that problem and solved it.
In my .scss file I add this variable(path to my barrio)
$barrio_path_images: "../../../contrib/bootstrap_barrio/images/" !default;