forked from didirus/AstralRinth
425c8cd1d3c6f445f2c2ffc85981f6f74ec61593
Omorphia
The Modrinth component library, in Svelte
⚠️ Currently in-progress: Not accepting contributions currently.
When creating a component, start with GitHub's Primer styles for that component, and go from there. Global variables and colors are incomplete and currently identical to Primers'.
Components
- Button
- Select menu
- Checkboxes
- Text input
- Pagination
- Link
- Blankslate
- Breadcrumbs
- Markdown
- Textarea
- Select
...and others
Using
Install the package:
npm install omorphia # or pnpm inst...
Import a component:
<script>
import { Button } from "omorphia"
</script>
<Button> Click me! </Button>
Developing
The library lives in the src/lib folder, and the documentation lives in the src/routes folder.
pnpm install # Install dependencies
pnpm dev # Run dev server
Packaging
pnpm package
Building
To build the documentation site, run:
pnpm build
Description
RocketMC is a safe, open-source Minecraft launcher designed with offline users in mind, built on the proven and trusted astralrinth codebase
Languages
Rust
46.8%
Vue
36.8%
TypeScript
10.7%
HTML
2.7%
JavaScript
1.4%
Other
1.5%