I don't want Grav to include the form-styles.css and the login.css on the frontend assets.
Upon research i found out, that they are included to the frontend assets by the login and form plugins, which can't be disabled.
Is there a way to exclude them from being added to the assets?
First you have enqueue all your CSS assets at the end of the list with
'position': 'after'as option:Now suppose you have three your own CSS assets
Then you can remove all other CSS assets from the
assets.assets_cssarray using|slicefilter:This line you can add after the end of the statement
{% block stylesheets %}and before the statement{% block assets %}.So the whole scheme would be:
If you have two your own CSS, then use
|slice(-2)and so on