Skip to content

About

Design System based on react-aria, emotion & theme-ui.

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

type_logo



ci coverage MIT License version

Open in Visual Studio Code

Marigold

React implementation of the Marigold Design System based on Emotion and theme-ui.

Installation 🔧

# with npm
npm install @marigold/components --save

# with yarn
yarn add @marigold/components

# for development:
git clone https://github.com/marigold-ui/marigold.git
cd marigold
yarn install

If you want to use a marigold theme you have to install them seperatly like:

# with npm
npm install @marigold/theme-unicorn --save

# with yarn
yarn add @marigold/theme-unicorn

Usage 💡

Use the styles for your component from a global theme object. To provide the theme in context, wrap your component into the MarigoldProvider.

// basic usage
import React from 'react'
import { MarigoldProvider, Text } from '@marigold/components'
import unicornTheme from '@marigold/theme-unicorn'

<MarigoldProvider theme={unicornTheme}>
  <Text>Lorem ipsum</Text>
</MarigoldProvider>

For Developers

Setup & Usage

Open a terminal and navigate to a folder of your choice. Clone the project git clone https://github.com/marigold-ui/marigold.git and navigate to the new folder cd marigold. Install the yarn packages using yarn command in the root and use yarn start to start storybook. Open localhost:6005 to see the components in storybook. Navigate to the documentation cd docs and start the development server gatsby develop, which opens the documentation site on localhost:8000. When working on the components, use the following commands for development.

  • Coverage: yarn coverage
  • Linting: yarn lint
  • Test: yarn test (with optional --watch)
  • Type checking: yarn typecheck

For a release on NPM, change the version numbers and use yarn release and check all the packages you want to publish.

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Sebastian Sebald

💻 📖 🚇

viktoria-schwarz

💻 📖 🚇

ti10le

💻 📖 🚇

Toshi

💻 📖 🎨

Julian Thiel

📖

johannaracky

📖

Ikko Ashimine

📖

andres-dediego2

🎨 📖

sarahgm

💻 🎨 📖 🚇

snragund

📖

This project follows the all-contributors specification. Contributions of any kind welcome!

About

Design System based on react-aria, emotion & theme-ui.

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages