Skip to content

Supporting global sections #16

Description

@joepie91

Right now, if we have a bunch of global classes, that are interpreted in a locals-by-default context, we need to do this:

:global .classOne {
	background-color: black;
}

:global .classTwo {
	color: yellow;
}

/* This one is local */
.classThree {
	border: 1px solid yellow;
}

It would be nice if we could do something like this instead:

:global {
	.classOne {
		background-color: black;
	}

	.classTwo {
		color: yellow;
	}
}

/* This one is local */
.classThree {
	border: 1px solid yellow;
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions