Add classes: Actions + Divider + Illustration + InfoTable + Stat, Add utilities (needs docs)

This commit is contained in:
venashial
2022-04-02 16:17:58 -07:00
parent 6b54c342aa
commit 85b7147927
82 changed files with 1189 additions and 235 deletions

View File

@@ -4,46 +4,13 @@
---
### ⚠️ Currently in-progress: Not accepting contributions currently.
### ⚠️ In-progress: Not accepting contributions currently.
When creating a component, start with [GitHub's Primer styles](https://github.com/primer/css/tree/main/src) 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:
```bash
npm install omorphia # or pnpm inst...
```
Import a component:
```svelte
<script>
import { Button } from "omorphia"
</script>
<Button> Click me! </Button>
```
Learn more at [omorphia.modrinth.com.](https://omorphia.modrinth.com)
## Developing
The library lives in the `src/lib` folder, and the documentation lives in the `src/routes` folder.
The library lives in the `src/package` folder, and the documentation lives in the `src/routes` folder.
```bash
pnpm install # Install dependencies