Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ekstrabladetudvikling/eb-designsystem
https://github.com/ekstrabladetudvikling/eb-designsystem
Last synced: 18 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ekstrabladetudvikling/eb-designsystem
- Owner: EkstraBladetUdvikling
- Created: 2019-11-15T11:06:05.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-11-19T10:23:47.000Z (about 2 months ago)
- Last Synced: 2024-12-15T13:11:40.353Z (19 days ago)
- Language: Svelte
- Homepage: https://ekstrabladetudvikling.github.io/eb-designsystem/
- Size: 7.4 MB
- Stars: 1
- Watchers: 7
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# EB Designsystem
## Table Of Content
- [Getting Started](#getting-started)
- [Dependencies](#dependencies)
- [Installing](#installing)
- [Developing](#developing)
- [Deployment](#deployment)
- [Snippets](#snippets)## 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
```shell
yarn install
```## Developing
`yarn dev`
## Deployment
1. Create a branch with all your changes
2. Submit a Pull Request on github and get it approved by someone else in the frontend team
3. Merge your branch into master :rocket:
4. run `yarn build && yarn dist` to build your awesome code
5. 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 usageTo generate an updated version of snippets run
```yarn
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
yarn installsnippets [PATH_TO_PROJECTROOT]
```To install in ekstrabladet project:
```yarn
yarn installsnippets:eb
```Or run following bash commands in project root:
```bash
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
```