You've already forked AstralRinth
forked from didirus/AstralRinth
Run pnpm format
This commit is contained in:
@@ -4,24 +4,20 @@ title: Configure
|
||||
|
||||
To make use of the built-in icons, styles, and plugins in omorphia, you will need to update your project's config files.
|
||||
|
||||
## SvelteKit
|
||||
## SvelteKit
|
||||
|
||||
Add the following parts to your `svelte.config.js` file:
|
||||
|
||||
```js
|
||||
import { preprocess, plugins } from 'omorphia/config/svelte.config'
|
||||
import { preprocess, plugins } from 'omorphia/config/svelte.config';
|
||||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
const config = {
|
||||
preprocess: [
|
||||
preprocess,
|
||||
],
|
||||
preprocess: [preprocess],
|
||||
|
||||
kit: {
|
||||
vite: {
|
||||
plugins: [
|
||||
...plugins,
|
||||
],
|
||||
plugins: [...plugins],
|
||||
},
|
||||
},
|
||||
};
|
||||
@@ -36,5 +32,5 @@ Create a `postcss.config.cjs` file in the root of your project.
|
||||
Add the following line to that file:
|
||||
|
||||
```js
|
||||
module.exports = require('omorphia/config/postcss.config.cjs')
|
||||
```
|
||||
module.exports = require('omorphia/config/postcss.config.cjs');
|
||||
```
|
||||
|
||||
@@ -4,8 +4,8 @@ title: Writing CSS
|
||||
|
||||
TODO
|
||||
|
||||
Use `px` measurements.
|
||||
Use `px` measurements.
|
||||
|
||||
Use `hsl` for colors.
|
||||
|
||||
Use `margin-inline` (x) and `margin-block` (y). Use `inline` & `block` for `padding` too.
|
||||
Use `margin-inline` (x) and `margin-block` (y). Use `inline` & `block` for `padding` too.
|
||||
|
||||
@@ -18,4 +18,4 @@ Import the SVG in the `<script>` of your svelte file, and treat the illustration
|
||||
</script>
|
||||
|
||||
<NoData />
|
||||
```
|
||||
```
|
||||
|
||||
@@ -12,10 +12,10 @@ TODO
|
||||
|
||||
### Parsers
|
||||
|
||||
- sanitize
|
||||
- markdown
|
||||
- markdownInline
|
||||
- markdownXSS
|
||||
- sanitize
|
||||
- markdown
|
||||
- markdownInline
|
||||
- markdownXSS
|
||||
|
||||
### Markdown
|
||||
|
||||
|
||||
Reference in New Issue
Block a user