Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add compiling method that groups styles by Selector #12

Open
RussellBishop opened this issue Mar 23, 2018 · 0 comments
Open

Add compiling method that groups styles by Selector #12

RussellBishop opened this issue Mar 23, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@RussellBishop
Copy link
Contributor

RussellBishop commented Mar 23, 2018

Currently we get our compiled CSS to group by property: value.

.c-component {
  property-1: A;
  property-2: B;
}

We can try using a postCSS plugin that will do this for us (hopefully).

First run:
https://github.com/Cheppers/postcss-expand-selectors

Then:
https://www.npmjs.com/package/postcss-combine-duplicated-selectors

@RussellBishop RussellBishop added the enhancement New feature or request label Mar 23, 2018
@RussellBishop RussellBishop added this to the Version 3 milestone Mar 23, 2018
@burntcustard burntcustard removed this from the Version 3 milestone Mar 4, 2019
@RussellBishop RussellBishop changed the title Allow a $debug mode that swaps placeholders for property: value Add compiling method that groups styles by Selector Mar 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants