@ekstra-bladet/designsystem
v8.0.0
Published
## Table Of Content
Downloads
281
Readme
EB Designsystem
Table Of Content
Getting Started
EB Designsystem is running on Svelte, go read teh docs for more info: https://svelte.dev/
Dependencies
- node > 14.12.0
- yarn > 1.22.5
Installing
yarn install
Developing
yarn dev
Deployment
- Create a branch with all your changes
- Submit a Pull Request on github and get it approved by someone else in the frontend team
- Merge your branch into master :rocket:
- run
yarn build && yarn dist
to build your awesome code - run
yarn dist:move
to move code to ekstrabladet project
Snippets
There is two VS Code snippet files outputtet from this project.
- eb-designsystem.code-snippets
- Contains snippets for all css classes, outputs the class to be used on an HTML element
- eb-designsystem-html.code-snippets
- Contains HTML snippets for chosen components, outputs the HTML for correct usage
To generate an updated version of snippets run
yarn build:snippets
Installing snippets
To use generated Visual Studio Code snippets for a project, make sure the Visual Studio Code configuration directory is present (%PROJECTROOT%/.vscode).
If you have this repo checked out on your machine you can run the following
yarn installsnippets [PATH_TO_PROJECTROOT]
To install in ekstrabladet project:
yarn installsnippets:eb
Or run following bash commands in project root:
curl -o .vscode/eb-designsystem.code-snippets https://raw.githubusercontent.com/EkstraBladetUdvikling/eb-designsystem/master/snippets/eb-designsystem.code-snippets
curl -o .vscode/eb-designsystem-html.code-snippets https://raw.githubusercontent.com/EkstraBladetUdvikling/eb-designsystem/master/snippets/eb-designsystem-html.code-snippets