$ npm install gatsby-interface

yarn storybook
These are some patterns and best practices we use when contributing to gatsby-interface
gatsby-design-tokens for styling constants - https://www.gatsbyjs.org/guidelines/design-tokens/dev branchTONE and VARIANT prop (when appropriate) to determine color styles and version of a component - see Button as an exampleskeletons folder, these contain only the functionality of a component (no styles) and can be used within other componentsGatsby Interface requires the futura PT webfont in several different weights. These files are git-ignored, to prevent the unauthorized release of licensed assets.
Gatsby Inc. employees can download these fonts from Google Drive. Put all those folders in src/assets/futura-pt and you should be good to go!
To run the visual testing tool, run CHROMATIC_APP_CODE=<insert_app_code> yarn chromatic
You can find the app code in the Chromatic dashboard - https://www.chromaticqa.com
© 2010 - cnpmjs.org x YWFE | Home | YWFE