Run pnpm format

This commit is contained in:
venashial
2022-05-20 00:10:45 -07:00
parent 0f6263d82e
commit d37fd6bea0
58 changed files with 653 additions and 687 deletions

View File

@@ -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');
```

View File

@@ -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.

View File

@@ -18,4 +18,4 @@ Import the SVG in the `<script>` of your svelte file, and treat the illustration
</script>
<NoData />
```
```

View File

@@ -12,10 +12,10 @@ TODO
### Parsers
- sanitize
- markdown
- markdownInline
- markdownXSS
- sanitize
- markdown
- markdownInline
- markdownXSS
### Markdown