No way to override or disable node.css

Created on 19 November 2023, about 1 year ago

In web/themes/contrib/bootstrap_barrio/bootstrap_barrio.libraries.yml you have

node:
version: VERSION
css:
component:
css/components/node.css: { weight: -10 }

This includes css from base theme e.g. node,css

How can I disable this from a child theme?

e.g.

.node--view-mode-teaser h2 a {
  color: #181818;
}

I am not sure why this has been done this way as it makes it difficult to change or override in child theme where global css is loaded from a single file? Currently having to comment out in parent theme.

Feature request
Status

Closed: works as designed

Version

5.5

Component

Code

Created by

🇬🇧United Kingdom 2dareis2do

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024