Skip to content
Dead simple CSS framework.
Branch: master
Clone or download
Josh Habdas
Josh Habdas add mirror
Latest commit b2b7c5f Jan 24, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
media add logo Sep 16, 2016
src align ol gt 10 (#59) Dec 15, 2017
.editorconfig
.gitignore init Jul 16, 2016
.npmignore init Jul 16, 2016
LICENSE add mit license, fix #15 Jul 18, 2016
README.md add mirror Jan 24, 2019
gulpfile.js Add solarized dark theme and move themes to folder. (#30) Aug 14, 2016
package.json v0.8.1 Feb 24, 2018
yarn.lock align ol gt 10 (#59) Dec 15, 2017

README.md



npm version npm downloads Gitter

Table of Contents

Install

$ npm install --save hack

Option #1: Use any pre-processor

import 'hack'

Option #2: hot-link the css files:

<link rel="stylesheet" href="/path/to/hack.css">

<!-- markdown theme -->
<body class="hack"></body>

<!-- standard theme -->
<link rel="stylesheet" href="/path/to/standard.css">
<body class="standard"></body>

<!-- dark theme -->
<link rel="stylesheet" href="/path/to/dark.css">
<body class="hack dark"></body>

<!-- dark-grey theme -->
<link rel="stylesheet" href="/path/to/dark-grey.css">
<body class="hack dark-grey"></body>

<!-- solarized-dark theme -->
<link rel="stylesheet" href="/path/to/solarized-dark.css">
<body class="hack solarized-dark"></body>

It's also available on CDNJS, jsDelivr and UNPKG.

For more usages and style guideline head to the website 🎉

Showcase

A list of projects that use hack.

Related projects

Mirrors

Development

$ npm run dev

$ npm run build

License

MIT © EGOIST

Logo was generated with slogan.

You can’t perform that action at this time.