Skip to content

Repository files navigation

@fast-graphics

Design tokens + MUI theme factory + branded React components for FAST-Computing and Simplifica.

packages/ → fast-graphics core
tokens/ → design tokens (brand colors, fonts)
mui-theme/ → token conversion into MUI themes
components/ → custom components
playground/ → local testing via Vite
stories/ → Storybook docs showcase

Quick Start

Install

npm install @fast/tokens @fast/mui-theme @fast/components \
@mui/material @emotion/react @emotion/styled

Provider

import{FastThemeProvider}from'@fast-computing/fast-graphics/components';exportdefaultfunctionRootLayout({ children }){return(<htmllang="en"><body><FastThemeProviderbrand="fast_core">{children}</FastThemeProvider></body></html>);}

Use a component

import{FastButton}from'@fast-computing/fast-graphics/components';<FastButtonlabel="Click me"color="primary"animated/>

Fallback to MUI

import{Button}from'@mui/material';import{useTheme}from'@mui/material/styles';<Buttonvariant="contained"color="primary">MUI works too</Button>

Brands

BrandName
FAST Computing Corefast_core
FAST Computing Argosfast_argos
FAST Computing Atlasfast_atlas
Simplifica Coresimplifica_core
Simplifica Burlosimplifica_burlo
SmartToursmarttour

Components

Full API documentation on fast-graphics's Storybook.


Development

npm run dev # Vite playground (port 5173)
npm run storybook # Storybook (port 6006)
npm run build # build all packages
npm run build-storybook # static Storybook output

Storybook is auto-deployed to GitHub Pages on push to main.


Versioning

  • Major — core changes (affects all apps)
  • Minor — new tokens or components
  • Fix — localized fixes

Tag & push to publish to GitHub Packages:

git tag v<version>
git push origin v<version>

Tests

Automated tests can be executed locally on Storybook.

About

Static file, CSS, everything for aesthetic stuff

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages