Skip to content
/ yoga Public

Yoga design-system: a scientific system of practices made to help each one of us achieve our highest potential and experience.

License

Notifications You must be signed in to change notification settings

gympass/yoga

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

All Contributors

Github Actions

Design system at Wellhub, our main intent is to support our projects. We have open-sourced our project for those who are interested in checkout how we do things and organize our code and documentation here.

What does it mean?

Yoga is a scientific system of practices made to help each one of us achieve our highest potential and experience.

Documentation

Yoga is documented at http://gympass.github.io/yoga.

Installing

In order to install our design-system just run:

$ yarn add @gympass/yoga

Usage

An important point is that your whole application must be wrapped in our ThemeProvider component:

import { ThemeProvider, Button } from '@gympass/yoga';

const App = () => (
  <ThemeProvider>
    <Button>Find an activity</Button>
  </ThemeProvider>
);

Architecture

The Yoga Design System codebase is structured as a monorepo, containing individually versioned libraries. Below is an overview of the main packages:

Package Version Size Description
@gympass/yoga npm version Bundle size Main package that brings together and exports all components
@gympass/yoga-tokens npm version Bundle size Contains the design tokens used to maintain visual consistency
@gympass/yoga-common npm version Bundle size Contains some helper variables used in all packages
@gympass/yoga-icons npm version Bundle size Library of icons used in components
@gympass/yoga-illustrations npm version Bundle size Library of illustrations used in components
@gympass/yoga-helpers npm version Bundle size Helper functions to make yoga components easier to use
@gympass/yoga-system npm version Bundle size Tools to apply themes and styles based on design tokens

Support

Browser: We support the 3 latest and stable releases of all major browsers and platforms

Browser Version
Chrome >= 125
Chrome (Android) >= 125
Safari (macOS) >= 15
Safari (iOS) >= 15
Edge >= 125
Firefox >= 125

Operational System: Yoga provides support for iOS 14 and higher and Android 7 and higher.

OS Version Viewport Size
Android >= 7 Android Large: 360 x 800 (Samsung S20)
iOS >= 14 iPhone SE: 320 x 568

React: Build user interfaces out of individual pieces called components written in JavaScript. Yoga supports versions >=16.

React Native: Brings the React programming paradigm to platforms like Android and iOS. Yoga supports version 0.72.3.

Picker: A Picker component for React Native which emulates the native interfaces for iOS and Android. Yoga supports versions ^2.4.9.

Styled Componentes: This lets you write actual CSS in your JavaScript.Yoga supports versions ^4.4.0.

License

Yoga is an open-source collaborative project, in other words, its distribution grants the right to study, use, change and distribute it to anyone (MIT license).

Report an issue

Check if there is already an issue open in our repository. If not, you can create a new one. Also, check the discussion topics. Our team will analyze and prioritize within our initiatives. If you are interested and available, let us know and we will address you ASAP. Wellhub developers should refer to the Internal Guidelines.

Request a feature

If you believe it is necessary to develop a new feature, for example a new component, please contact our team. You can open a new discussion topic, explaining the need. Our team will analyze and prioritize within our initiatives, taking into account design and engineering principles, such as reusability. If you are interested and available, let us know and we will address you ASAP. Wellhub developers should refer to the Internal Guidelines.

This repository should and will grow, its contents will be used for many people in our current and future projects. As such, we follow some practices to keep a common architecture in our changes. Read our Contributing Guide to learn about our code of conduct, environments setups and development process. Wellhub developers should also consult the Internal Guidelines.

Contributors โœจ

Thanks goes to these wonderful people (emoji key):

Gabriel Daltoso
Gabriel Daltoso

๐Ÿ’ป ๐Ÿค” ๐Ÿ“– ๐Ÿ‘€
Allysson dos Santos
Allysson dos Santos

๐Ÿ’ป ๐Ÿค” ๐Ÿ“– ๐Ÿ‘€
Victor Caetano
Victor Caetano

๐Ÿ’ป ๐Ÿค” ๐Ÿ“– ๐Ÿ‘€
Alan Oliveira
Alan Oliveira

๐Ÿ’ป ๐Ÿค” ๐Ÿ“– ๐Ÿ‘€
Kaic Bastidas
Kaic Bastidas

๐Ÿ’ป ๐Ÿค” ๐Ÿ“–
Luis Pires
Luis Pires

๐Ÿ’ป
invilliaanajacobsen
invilliaanajacobsen

๐Ÿ›
Caio Alexandre
Caio Alexandre

๐Ÿ“– ๐Ÿ’ป ๐Ÿค”
Thaylla Christine
Thaylla Christine

๐Ÿ’ป
Esthรฉfanie Vila Maior
Esthรฉfanie Vila Maior

๐Ÿ“– ๐Ÿ’ป
Geovana Silva
Geovana Silva

๐Ÿ›
Lucas Coelho
Lucas Coelho

๐Ÿ’ป ๐Ÿค” ๐Ÿ“– ๐Ÿ‘€
Andrรฉ Rocha
Andrรฉ Rocha

๐Ÿ“– ๐Ÿ’ป
Katharine Padilha
Katharine Padilha

๐Ÿ’ป ๐Ÿค”
Thiago Amรขncio
Thiago Amรขncio

๐Ÿ’ป ๐ŸŽจ ๐Ÿ›
Alyce Cristine
Alyce Cristine

๐Ÿ’ป ๐Ÿ“– ๐Ÿ›
Nathรกlia Pacheco
Nathรกlia Pacheco

๐Ÿ’ป ๐Ÿ“–
Matheus Henrique
Matheus Henrique

๐Ÿ“– ๐Ÿ’ป
Dรกrio Felipe
Dรกrio Felipe

๐Ÿ“–
Joรฃo Victor
Joรฃo Victor

๐Ÿ“–
Wendler Eis
Wendler Eis

๐Ÿ› ๐Ÿ’ป
Deborah Miranda
Deborah Miranda

๐Ÿ›
Matheus Martins
Matheus Martins

๐Ÿ’ป ๐Ÿค” ๐Ÿ“– ๐Ÿ‘€
Leticia Soares
Leticia Soares

๐Ÿ’ป ๐Ÿ“–
Marcos Ricardo
Marcos Ricardo

๐Ÿ“– ๐Ÿ’ป
Jonatas Falkaniere
Jonatas Falkaniere

๐Ÿ’ป ๐Ÿค”
Davi Marins Dantas
Davi Marins Dantas

๐Ÿ“–
Natalia Braz
Natalia Braz

๐Ÿ›
Eric Cerqueira Leรฃo
Eric Cerqueira Leรฃo

๐Ÿ’ป ๐Ÿ“–
Aline Rigoni
Aline Rigoni

๐Ÿ’ป
Lucas Fernandes Souza
Lucas Fernandes Souza

๐Ÿ’ป
Henrique Sugiyama
Henrique Sugiyama

๐Ÿ’ป
Giovanna Freitas
Giovanna Freitas

๐Ÿ’ป ๐Ÿ“–
Salomรฃo Luiz de Araรบjo Neto
Salomรฃo Luiz de Araรบjo Neto

๐Ÿ’ป
Caio Tracera
Caio Tracera

๐Ÿ› ๐Ÿ’ป
Leonardo Gomes
Leonardo Gomes

๐Ÿ’ป
Rafael Pizzaia Coleta
Rafael Pizzaia Coleta

๐Ÿ’ป
Diego Marcuz
Diego Marcuz

๐Ÿ›
Luis Guilherme Cardoso Rosa
Luis Guilherme Cardoso Rosa

๐Ÿ’ป
Ruan Ramalho
Ruan Ramalho

๐Ÿ›
Caio Augusto
Caio Augusto

๐Ÿ›
Jรบlia Ohara
Jรบlia Ohara

๐Ÿ› ๐Ÿ“–
Micael Rodrigues
Micael Rodrigues

๐Ÿ› ๐Ÿ“–
Marina Souza
Marina Souza

๐Ÿ’ป
Luan Lorenzo
Luan Lorenzo

๐Ÿ’ป ๐Ÿ“–
Tomรกs Keong
Tomรกs Keong

๐Ÿ’ป
Leonardo Luiz
Leonardo Luiz

๐Ÿ’ป ๐Ÿ“–
Marcos Creuz Filho
Marcos Creuz Filho

๐Ÿ’ป
Jonas
Jonas

๐Ÿ“– ๐Ÿ’ป

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