2022-03-13 23:59:51 -07:00
2022-03-13 23:40:17 -07:00
2022-03-07 21:55:31 -08:00
2022-03-13 23:10:58 -07:00
2022-03-07 21:55:31 -08:00
2022-03-09 21:27:53 -08:00
2022-03-09 23:17:28 -08:00
2022-03-13 23:40:17 -07:00

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
A modern launcher based on Modrinth. No built-in/external advertising or telemetry. Fully compatible with the original Modrinth without broken mechanics.
Readme 123 MiB
Languages
Rust 44.4%
Vue 37.3%
TypeScript 13.2%
HTML 2.4%
JavaScript 1.2%
Other 1.4%