This project was completed as fulfillment of the course Design Systems for Interactive Systems taught by Pablo Deeleman at Harbour.Space University (Barcelona).
Authors: Red Rivera and Samuel D.
The OpenAI Lumina Design System driven by three essential core principles: Consistent, Accessible, and Semantic.
Lumina empowers designers and developers by providing a comprehensive, consistent, and flexible framework that enhances efficiency, collaboration, and innovation.
To install the monorepo dependencies run
pnpm install
The ui folder serves a @lumina/ui
packages which can be consumed within every app in apps/
folder. To setup the design system in a new app do the following:
Add to your project's package.json
the following dependency
"@lumina/ui": "workspace:*",
Install to link your project to the library
pnpm install
Include the base styles into your project
import "@lumina/ui/styles.css";
Then you can use the components like so:
import { Container, Button } from "@lumina/ui";
export function Main() {
return (
<Container>
<Button>Click me</Button>
</Container>
)
}
You can also use the theme variables and tokens
import { theme } from "@lumina/ui/theme";
import { tokens } from "@lumina/ui/tokens";
// theme.lightTheme is the default theme