-
Notifications
You must be signed in to change notification settings - Fork 153
Open
Labels
@css-blocks/coreIssue with the core CSS Blocks libraryIssue with the core CSS Blocks libraryenhancementunder considerationA decision is pending.A decision is pending.
Description
The state namespace should be something that can be aliased according to dev/team preferences as an authoring convenience.
@namespace s url(http://css-blocks.com/state);
:scope[s|active] { font-weight: bold; }We should also allow states from a block (which are element names in selectors) to have a namespace declared:
@block-reference theme|button from "design-system/button.block.scss";
@namespace s url(http://css-blocks.com/state);
:scope[s|active] { font-weight: bold; font-weight: resolve("theme|button[s|clicked]")}In reference to https://github.com/css-blocks/css-blocks/issues/96, this would allow us to have a way of making a reference to a collection of blocks:
@block-reference theme|* from "design-system/all.block.scss";
Metadata
Metadata
Assignees
Labels
@css-blocks/coreIssue with the core CSS Blocks libraryIssue with the core CSS Blocks libraryenhancementunder considerationA decision is pending.A decision is pending.