@terrabyte/web-ui
Design system of reusable components and styles for building Terrabyte web projects.
In a downstream Terrabyte project, install the package directly from GitHub:
pnpm install github:terrabyte-tech/terrabyte-web-uiTo install a specific version:
pnpm install github:terrabyte-tech/terrabyte-web-ui#v1.0.8To check what version is currently installed in a project:
pnpm list @terrabyte/web-uiterrabyte-web-ui/
├── css/ # Stylesheets
├── data/ # Data files (JSON)
├── img/ # Images and graphic assets
├── js/ # Site script files
├── layouts/ # Page layout templates
├── macros/ # Reusable components
├── partials/ # Drop-in elements
├── scripts/ # Dev and utility scripts
├── utils/ # Site filters and transforms
├── package.json
└── README.md
Global styles are provided in the css/ directory:
global-tb-styles.css- Base Terrabyte styles; CSS variables for light/dark colorsglobal-tb-ui-styles.css- UI component styles; cross-domain styles and componentsshared-canapi-styles.css- Global styles specific to Canapi brandingshared-pixel-styles.css- Shared pixel styles; typography, imagery, etc.
Install dependencies:
pnpm installThis project follows Semantic Versioning. See CHANGELOG.md for version history.
- Git configured with push access to the repository
- pnpm installed
From the project root, run:
pnpm run release patch # bug fixes (1.0.0 → 1.0.1)
pnpm run release minor # new features (1.0.0 → 1.1.0)
pnpm run release major # breaking changes (1.0.0 → 2.0.0)This will:
- Bump the version in
package.json - Create a git commit and annotated tag
- Push the commit and tag to the repository
pnpm install github:terrabyte-tech/terrabyte-web-ui