Skip to content
/ design Public

Weglot Design provides a set of classes allowing you to easily reproduce the Weglot dashboard design

Notifications You must be signed in to change notification settings

weglot/design

Repository files navigation

Weglot Design

Weglot Design provides a set of classes allowing you to easily reproduce the Weglot dashboard design.

https://weglot.github.io/design/

Installation

Because this package is hosted on GitHub Registry, you need to generate a Personal Access Token with the write:packages -> read:packages scope. Keep the token, you'll need it.

Next, create a .npmrc file in the root of your project folder and past the following code :

# Authentication to Github packages
//npm.pkg.github.com/:_authToken=YOUR_PERSONAL_TOKEN

# Set the registry for "@weglot" packages
@weglot:registry=https://npm.pkg.github.com

Don't forget to replace YOUR_PERSONAL_TOKEN by your token.

Finally, install the package :

npm install @weglot/design

Usage

With cdn

No need install to use this method, just include dist css file in yout html.

 <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/weglot/design/dist/css/main.css">

// With version
 <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/weglot/design@1.0.27/dist/css/main.css">

With sass

@import "~@weglot/design/scss/main";

Contributing

To locally run Jekkyl in order to try changes or preview Styleguide run the following in the /styleguide directory:

bundle exec jekyll serve

Prerequistes

Be carefull your ruby version must to be ≤ 3.1.2 and >2.7

About

Weglot Design provides a set of classes allowing you to easily reproduce the Weglot dashboard design

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages