1.0.2 • Published 9 months ago

@eeacms/volto-design-tokens v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

volto-design-tokens

Releases

Pipeline Lines of Code Coverage Bugs Duplicated Lines (%)

Pipeline Lines of Code Coverage Bugs Duplicated Lines (%)

Volto add-on

Features

Provides the following EEA design system tokens:

  • borders
  • colors
  • fonts
  • shadows
  • shapes
  • sizes
  • z-index

Getting started

Try volto-design-tokens with Docker

  git clone https://github.com/eea/volto-design-tokens.git
  cd volto-design-tokens
  make
  make start

Go to http://localhost:3000

Add volto-design-tokens to your Volto project

  1. Make sure you have a Plone backend up-and-running at http://localhost:8080/Plone

    docker compose up backend
  2. Start Volto frontend

  • If you already have a volto project, just update package.json:

    "addons": [
        "@eeacms/volto-design-tokens"
    ],
    
    "dependencies": {
        "@eeacms/volto-design-tokens": "*"
    }
  • If not, create one:

    npm install -g yo @plone/generator-volto
    yo @plone/volto my-volto-project --canary --addon @eeacms/volto-design-tokens
    cd my-volto-project
  1. Install new add-ons and restart Volto:

    yarn
    yarn start
  2. Go to http://localhost:3000

  3. Happy editing!

Release

See RELEASE.md.

How to contribute

See DEVELOP.md.

Copyright and license

The Initial Owner of the Original Code is European Environment Agency (EEA). All Rights Reserved.

See LICENSE.md for details.

Funding

European Environment Agency (EU)

1.0.2

9 months ago

1.0.1

10 months ago

0.1.1

10 months ago

0.1.0

10 months ago