Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.19 KB

README.md

File metadata and controls

40 lines (27 loc) · 1.19 KB

@flock/black-sun

Black sun is the Design System of Flock. It's name has been derived from the flocking behaviour of birds occurring in the marshlands in Denmark. The Danish call it "sort sol", because the amount of birds are so much that they obliterate the sunset. Read more on Wikipedia.

It exposes the color set defined in the Flock style guide.

Install

npm i --save @flock/black-sun

Usage

Infima

Infima is a modern styling framework used with Docusaurus.

This package exports a custom theme, which overrides the Infima CSS custom properties.

To make use of the custom theme, create a theme in the presets of the docusaurus configuration file docusaurus.config.ts and add the path to the custom.css file.

presets: [
    [
      "classic",
      {
        theme: {
          customCss: './node_modules/@flock/black-sun/build/infima/custom.css',
        },
      } satisfies Preset.Options,
    ],
  ],

Your ready to use the Flock. theme.

Changelog

The changelog can be found on the Releases page.