0.1.10 • Published 2 years ago

quinoa-design-library v0.1.10

Weekly downloads
1
License
ISC
Repository
-
Last release
2 years ago

Quinoa design library (WIP)

This repository exposes the design library used in quinoa projects. A design library/system is a centralized and general set of rules and operational elements (design files, stylesheets, components) to use within a family of user interfaces.

Usage

For developers

yarn add quinoa-design-library
# or
npm install --save quinoa-design-library

Then :

// importing a component
import Button from 'quinoa-design-library/components/Buttons';

// importing style from one of the themes
import style from 'quinoa-design-library/themes/millet/style.css';

// import icon assets from one of the themes
import icons from 'quinoa-design-library/themes/millet/icons';

Development

git clone https://github.com/medialab/quinoa-design-library
cd quinoa-design-library
yarn

Development scripts :

# run storybook to review components and mock views
yarn run storybook

# take screenshots of components and mock views (for design purposes or visual regression testing)
yarn screenshots

# lint code (autofix enabled)
yarn lint

# transpile babel code to plain js and package themes styles and assets
yarn build

For designers (WIP)

The system relies on story2sketch tool.

Use this design library in sketch :

  1. copy from this repostory to your drive the content the asketch file representing this library
  2. install the asketch2sketch.sketch plugin
  3. in sketch, go to Plugins > From *Almost* Sketch to Sketch in Sketch menu bar. and select the file copied from step 1. You should have added to your file a library of symbols taken from the library

Image of the sketch

0.1.10

2 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.28

5 years ago

0.0.27

5 years ago

0.0.26

5 years ago

0.0.25

6 years ago

0.0.24

6 years ago

0.0.23

6 years ago

0.0.21

6 years ago

0.0.20

6 years ago

0.0.19

6 years ago

0.0.18

6 years ago

0.0.17

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago