postcss / sugarss

Indent-based CSS syntax for PostCSS
MIT License
707 stars 39 forks source link

mix with css #20

Closed talgautb closed 8 years ago

talgautb commented 8 years ago

Can we have check out code for css support (like stylus), example: input:

/* CSS with SugarSS */
html
  height: 100%

.page
  font-family: 'Open Sans', Arial, serif;
  background-color: #ff0

// css
.copyPasteStyles {
  background-color: #FFF;
}

output:

/* CSS with SugarSS */
html {
  height: 100%
}

.page {
  font-family: 'Open Sans', Arial, serif;;
  background-color: #ff0
}

/* css */
.copyPasteStyles { {
  background-color: #FFF;
}
} {}
ai commented 8 years ago

Sorry, but this syntax flexibility made Stylus parser unmaintable.

We are trying to avoid this project mistake.