feat: optional parent selector

This commit is contained in:
Lucas Larroche 2024-01-25 01:42:54 +07:00
parent 9ea68c42e0
commit ef2100499b
32 changed files with 295 additions and 277 deletions

View file

@ -24,7 +24,7 @@
// Pico
//
#{$semantic-root-element} {
#{$parent-selector} #{$semantic-root-element} {
> header,
> main,
> footer {

View file

@ -7,7 +7,7 @@
*/
// Wrapper to make allow any content to be scrolled horizontally
figure {
#{$parent-selector} figure {
display: block;
margin: 0;
padding: 0;

View file

@ -6,7 +6,7 @@
* Section
*/
section {
#{$parent-selector} section {
margin-bottom: var(#{$css-var-prefix}block-spacing-vertical);
}
}