1.13.0 • Published 3 years ago

chagall v1.13.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

Chagall

🎨 Tiny CSS framework (4kb) to make websites look good.

Chagall is inspired by Simple.css and tailwind.css. It was designed to reduce:

  • The bundle size of any client application.
  • The amount of css that must be written.

Chagall was originally created for the calorie tracker Clean Slate. We find it strikes a good balance between simplicity and power.

To use Chagall, add chagall.scss into your project. This will automatically style elements like h2. You can also use utility classes, like mt10 or fcs.

If you are using CSS-in-JS, like Emotion, you can also import chagall.ts. This file defines the SCSS variables (color and layout) in TypeScript.

Here is one way to that:

import * as chagall from "../node_modules/chagall/src/chagall";

export const { colors, layout } = chagall;
export const { lg, md, sm, xlg, xs, xxlg } = layout;

export type Colors = keyof typeof colors;
1.13.0

3 years ago

1.12.0

3 years ago

1.11.0

3 years ago

1.10.0

3 years ago

1.9.0

3 years ago

1.8.0

3 years ago

1.7.0

3 years ago

1.6.0

3 years ago

1.5.0

3 years ago

1.4.0

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago