forked from didirus/AstralRinth
d1babe27ec11525248693dc3325f75c5b288c1a5
Kleos
The Modrinth component library, in Svelte
⚠️ Currently in-progress ⚠️
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 kleos # or pnpm inst...
Import a component:
<script>
import { Button } from "kleos"
</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.
Languages
Rust
45.9%
Vue
37.2%
TypeScript
11.3%
HTML
2.6%
JavaScript
1.5%
Other
1.4%