2022-03-09 22:18:22 -08:00
2022-03-09 22:18:22 -08:00
2022-03-09 22:18:22 -08:00
2022-03-07 21:55:31 -08:00
2022-03-07 21:55:31 -08:00
2022-03-07 21:55:31 -08:00
2022-03-07 21:55:31 -08:00
2022-03-09 21:27:53 -08:00
2022-03-09 22:18:22 -08:00
2022-03-09 22:18:22 -08:00
2022-03-09 22:18:22 -08:00
2022-03-09 21:27:53 -08:00
2022-03-09 21:27:53 -08:00
2022-03-09 22:18:22 -08:00
2022-03-07 21:55:31 -08:00

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 convenient and modern launcher for Minecraft with support for offline and online (MSA) authorization.
Readme 98 MiB
Languages
Rust 44.8%
Vue 38.9%
TypeScript 7.9%
HTML 5%
JavaScript 1.9%
Other 1.3%