windy-ux β made their first commit to this issueβs fork.
windy-ux β created an issue.
windy-ux β created an issue.
windy-ux β created an issue.
windy-ux β created an issue.
windy-ux β created an issue.
windy-ux β created an issue.
windy-ux β created an issue.
windy-ux β created an issue.
Right now the solution is not yet complete because all the libraries will be added to the page even though the original libraries (those being extended) are not included.
hook_library_info_alter Can alter the libraries based on condition of original libraries presents(those being extended). However those gets cached and cannot be easily removed on pages containing layout builder.
I tested both possible solutions hook_page_attachments_alter and hook_library_info_alter . However none of those hooks is able to change statically (in *.info.yml) attached libraries.
They would have to be defined in 'libraries' within '*.info.yml' not as 'libraries-extend'.
Because of that I move attaching those extending libraries into '*.theme' hook 'hook_page_attachments_alter()'.
windy-ux β made their first commit to this issueβs fork.
I have change the implementation to append styles instead of overwriting them.
Thank you for mentioning the id. I removed that change so it is only one.
I agree with the theme's CSS.
"Could you also do this style appending method in region attributes?"
Do you mean to change the implementation in the way that the styles are appended there as well, not overwritten?
windy-ux β created an issue.
windy-ux β made their first commit to this issueβs fork.