@eeacms/volto-design-tokens
v1.0.2
Published
@eeacms/volto-design-tokens: Volto add-on
Downloads
14
Readme
volto-design-tokens
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
Make sure you have a Plone backend up-and-running at http://localhost:8080/Plone
docker compose up backend
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
Install new add-ons and restart Volto:
yarn yarn start
Go to http://localhost:3000
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.