egoist / hack

⛷ Dead simple CSS framework.
https://hackcss.egoist.dev
MIT License
2.6k stars 140 forks source link



npm version npm downloads Gitter

Table of Contents - [Install](#install) - [Related projects](#related-projects) - [Development](#development) - [License](#license)

Install

$ npm install --save hack

Option #1: Use any pre-processor

import 'hack'

Option #2: hot-link the css files:

<link rel="stylesheet" href="https://github.com/egoist/hack/blob/master/path/to/hack.css">

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

<!-- standard theme -->
<link rel="stylesheet" href="https://github.com/egoist/hack/blob/master/path/to/standard.css">
<body class="standard"></body>

<!-- dark theme -->
<link rel="stylesheet" href="https://github.com/egoist/hack/blob/master/path/to/dark.css">
<body class="hack dark"></body>

<!-- dark-grey theme -->
<link rel="stylesheet" href="https://github.com/egoist/hack/blob/master/path/to/dark-grey.css">
<body class="hack dark-grey"></body>

<!-- solarized-dark theme -->
<link rel="stylesheet" href="https://github.com/egoist/hack/blob/master/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.