Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Hexo/Jekyll theme using hack.css #16

Open
2 of 3 tasks
egoist opened this issue Jul 19, 2016 · 19 comments
Open
2 of 3 tasks

Hexo/Jekyll theme using hack.css #16

egoist opened this issue Jul 19, 2016 · 19 comments

Comments

@egoist
Copy link
Owner

egoist commented Jul 19, 2016

It would be cool if I can use this as my blog theme

@ghost
Copy link

ghost commented Jul 19, 2016

@egoist
Copy link
Owner Author

egoist commented Jul 19, 2016

@dyzajash Awesome, can't wait to use it.

@sobolevn
Copy link
Contributor

I totally love this project! Started to work on Jekyll theme: https://github.com/wemake-services/jekyll-theme-hackcss

@sobolevn
Copy link
Contributor

sobolevn commented Aug 5, 2016

@egoist I am almost done, but I am experiencing a strange issue on iOS (with flexbox I guess), I would really appreciate any help: wemake-services/jekyll-theme-hackcss#1

@egoist
Copy link
Owner Author

egoist commented Aug 5, 2016

@sobolevn it should be fixed by this commit 90d8407

@sobolevn
Copy link
Contributor

@egoist I guess I'm done: https://github.com/wemake-services/jekyll-theme-hackcss

I would really appreciate your feedback.

@egoist
Copy link
Owner Author

egoist commented Aug 13, 2016

@sobolevn

  • for blog maybe single column is enough
  • maybe you can set markdown as the default theme mode

I also think hack.css needs something like bootstrap navigation

@sobolevn
Copy link
Contributor

sobolevn commented Aug 13, 2016

Yeap, markdown mode is better to be the default one.

Despite the fact I like 2-columns layout, I would really like to see something like this (rather than bootstrap navigation) as a core functionality.

@namiwang
Copy link

@ghost
Copy link

ghost commented Sep 16, 2016

I'm just about finished creating a fresh Hugo theme using Hack I'm calling After Dark, replete with flying toasters. Just a little more polish and I'll be submitting it to the Hugo theme gallery. Feel free to grab it early but beware I'm force pushing to master until I hit 1.0.0.

screen shot 2016-09-15 at 7 38 12 pm

@egoist
Copy link
Owner Author

egoist commented Sep 16, 2016

@JHabdas it's exactly how I would use hack.css, nice done!

@ghost
Copy link

ghost commented Sep 16, 2016

@egoist thinking of writing a small script to swap themes and allow theme updates from NPM. Any ideas of a minimal approach? I was thinking of using sed but from what I was reading on SO sed is pretty unforgiving in terms of clobbering files.

@egoist
Copy link
Owner Author

egoist commented Sep 16, 2016

@ghost
Copy link

ghost commented Sep 16, 2016

Great question! I touch on inlining a little on my post explaining how to hit PageSpeed 100 with Jekyll and S3. Michael Rose also has some related reading, with additional links as to the why.

That said the best approach really depends on the number of repeat visitors to a site, the amount of CSS, the number of pages visited per user, caching rules and user agent(s) targeted. For good UX and page speed rankings, and to avoid a flash of unstyled content (FOUC) when pages load - especially perceptible between page turns with a dark theme - inlining critical CSS ensures base styles are ready to display immediately upon page load.

@ghost
Copy link

ghost commented Sep 17, 2016

Submitted After Dark to the Hugo gallery just a short while ago. README added at above link, with feature list to drool on. Initial benchmarks have the site building in milliseconds (whereas Jekyll is hundreds of times slower). PageSpeed reports 100 from Ngrok for desktop and mobile. And the entire page (including favicon) is served up in a single http request, for a 100-200ms page load.

@egoist
Copy link
Owner Author

egoist commented Sep 18, 2016

Thanks to the work by @sobolevn & @JHabdas , already added to README 😊

@ghost
Copy link

ghost commented Sep 18, 2016

Oh wonderful! Thank you!! This surpurb library makes vaporwave look out of style. 😎

@egoist
Copy link
Owner Author

egoist commented Sep 20, 2016

@JHabdas glad to hear that 😄

@t94xr
Copy link

t94xr commented Jan 14, 2019

https://github.com/t94xr/phileThemeHackCSS

I did one for PhileCMS. About to do one for Statamic.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants