This is a template repository for the CAS FEE ADV design system part. It is configured to automatically provide GitHub Actions to build and deploy your design system as a static page and your component library to the GitHub package registry.
After creating your assignment from this template, you'll need to install storybook and the base of your component library by yourself.
This repository is configured to automatically deploy your design system to GitHub Pages and the component library to the GitHub package registry.
Please ensure the following prerequisites are met:
- Storybook
- Your
package.json
contains abuild-storybook
script - The resulting build is located in the
storybook-static
directory
- Your
- Component Library
- Your
package.json
contains abuild
script - When trying with
npm pack
, all your required files are included in the resulting tarball - Your
package.json
file contains the correct scope for your package (@smartive-education
) - The
package.json
file contains the correct registry
- Your
The Mumble Design System provides you with guidelines, components and templates to boost the user experience of your product.
The new Mumble Design System was launched in early 2023 and will be implemented across the organization, strengthening Mumble's brand image through consistent representation.
The purpose of this project is to create a unified toolkit that is used by UX-designers and developers on their projects alike to ensure all Mumble projects are appealing and have a consistent look and feel across the board by following Mumble's design and implementation guidelines.
By unifiying design elements into reusable components, development will simplify and accelerate the development of these digital products. The guide is a living document created to meet the needs of Mumble's front-end developers and designers. If there is a component or pattern you need or you have any other feedback, question or comment please contact us.
Your feedback is highly appreciated! You can create a new Issue here.
npx create-next-app@latest --typescript
Additional information can be found here.
- Create a personal GitHub access token.
- Create a new ~/.npmrc file if one doesn't exist.
- Include the following line, replacing TOKEN with your personal access token.
@smartive-education:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=[TOKEN]
Additional information can be found here.
npm install @smartive-education/design-system-component-library-bytelight@latest
- Install Tailwind CSS
- Make your app use the Tailwind presets of this Design System. Include the following code snippet to the tailwind.config.js.
presets: [
require("@smartive-education/design-system-component-library-bytelight/byteLightTailwind"),
],
- Make this Component Library use the Tailwind CSS of the App. Include the following code snippet to the tailwind.config.js.
content: [
...
"./node_modules/@smartive-education/design-system-component-library-bytelight/dist/**/*.{js,ts,jsx,tsx}"
],
Additional information can be found here.
The Usage of a certain component can be found at the Docs tab of the corresponding story. It's only necessary to add an import-statement for the component.
import {...} from "@smartive-education/design-system-component-library-bytelight";