Delta between css and scss

Created on 24 August 2023, 10 months ago
Updated 23 September 2023, 9 months ago

I bootstrap barrio we have the following css that is inherited from the base theme in web/themes/contrib/bootstrap_barrio/css/components/node.css:

.node--view-mode-teaser h2 {
  margin-top: 0;
  padding-top: 0.5em;
}

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

However in web/themes/contrib/bootstrap_barrio/scss/components/node.scss I can see no reference to where this has been created.

the closest I can see is.

.node--view-mode-teaser h2 {
    margin-top: 0;
    padding-top: 0.5em;
}

Are we missing some scss here?

Also why are we not using variables for colour in any overrides?

e.g.

.node--view-mode-teaser h2 a {
  color: $primary-shade;
}
πŸ’¬ Support request
Status

Closed: outdated

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.69.0 2024