This was a prototype built in early 2020. The actual Design System implementation is developed in wmde/wikit repository.
Big Bad Disclaimer: This code is only a prototype and by no means meant to be used in anything.
Prototype for a Design System and UI toolkit for WMDE Wikibase.
The current stable version of the design system may be viewed at: https://wmde.github.io/wikit-css/
https://unpkg.com/@itamar.wmde/wikit-css
https://unpkg.com/@itamar.wmde/wikit-css/build/tokens/variables.css
-
Install the package
npm install @itamar.wmde/wikit-css
-
Import Tokens:
css:
@import url('node_modules/wikit-css/build/tokens/variables.css')
less:
@import 'node_modules/wikit-css/build/tokens/_variables.less'
scss:
@import 'node_modules/wikit-css/build/tokens/_variables.scss'
js (es6+):
import * as tokens from '@itamar.wmde/wikit-css'
-
Clone this repository
git clone git@github.com:wmde/design-system-components.git
-
Install dependencies
cd design-system-components npm install
-
Run Storybook
npm start
-
Develop 🤓 💯
npm run build:tokens
npm run build:styles
npm run build
As mentioned above, this is a prototype. For a summary of the technical learnings gained from this experiment, please see: https://bit.ly/2KpQ941