There is a currently unused override of minicolors (administrator/templates/atum/scss/vendor/minicolors/minicolors.scss
). The file should be called jquery.minicolors
, not minicolors
. But if we make it usable, the styling breaks because of missing image file used by imported vendor's CSS file.
The build script would need to either copy the images to override directory or update the path.
Or we manually make CSS rule overrides but that's not a good long term solution, considering other vendor files could have the same issue.
Labels |
Added:
?
|
remove the import from the override
This is wrong, it destroys any caching advantages, eg the code will be always invalidated per template scss updates even if it didn't change. That's not how assets should be treated.
The build script would need to either copy the images to override directory or update the path.
There are 2 options:
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-03-25 17:42:50 |
Closed_By | ⇒ | SharkyKZ |
To make it work is much easier than that
remove the import from the override
@import "../../../../../../node_modules/@claviska/jquery-minicolors/jquery.minicolors";
add the override to the template.scss
@import "vendor/minicolors/minicolors";