← Back

@scope - Problem

Problem

Dark-theme section

This is within the dark-theme parent

Light-theme section within a dark-theme section

This is within the dark-theme parent

Dark-theme section within a light-theme section

This is within the light-theme parent

Problem

Because the css for .light-theme comes last any nested dark-theme will be overruled by the light-theme style.