Skip to content
This repository has been archived by the owner on Oct 23, 2019. It is now read-only.

Post(House)Css #5

Merged
merged 30 commits into from Aug 17, 2017
Merged

Post(House)Css #5

merged 30 commits into from Aug 17, 2017

Conversation

durfee
Copy link
Member

@durfee durfee commented Aug 16, 2017

Housecss, now in css!

what the what?

We use npm a lot, so why not make our most favourite stylesheet blob an npm package! And while we're at it, let's switch to a postcss production environment instead of scss, for most premium features and css vars usage.

So what changed?

  • No more scss, which means no more iterative loops. Means things are slightly less DRY, but everything is much more readable.
  • NPM package-ify it, so additional component styles will be in your local project files.
  • Postcss development chain: This lets us automatically use cool things like autoprefixer, custom media queries, and css vars. It's pretty neat.
  • housecss.css file is 31kb, 19kb minified, 5kb gzipped ( !!!! ). And it could be a lot smaller without the responsive spacing styles.
  • And more to come!

require('postcss-discard-comments'),
require('postcss-reporter'),
]
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing semicolon.

@durfee durfee merged commit f16dfaa into master Aug 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants